CN110045953B - Method and computing device for generating business rule expression - Google Patents

Method and computing device for generating business rule expression Download PDF

Info

Publication number
CN110045953B
CN110045953B CN201910322587.0A CN201910322587A CN110045953B CN 110045953 B CN110045953 B CN 110045953B CN 201910322587 A CN201910322587 A CN 201910322587A CN 110045953 B CN110045953 B CN 110045953B
Authority
CN
China
Prior art keywords
index
rule
user
editing
item
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.)
Active
Application number
CN201910322587.0A
Other languages
Chinese (zh)
Other versions
CN110045953A (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 CN201910322587.0A priority Critical patent/CN110045953B/en
Publication of CN110045953A publication Critical patent/CN110045953A/en
Application granted granted Critical
Publication of CN110045953B publication Critical patent/CN110045953B/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/33Intelligent editors
    • 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

A method and a computing device for generating a business rule expression are provided, wherein the method comprises the following steps: displaying index items and/or rule constitutions capable of forming business rules to users; receiving user selection of the displayed index item and/or rule composition symbol; displaying the index item and/or the rule composition character selected by the user in the rule editing area; and according to the editing operation executed by the user in the rule editing area, editing at least the displayed index item and/or rule composition symbol to obtain the business rule expression. By adopting the method and the computing device for generating the business rule expression according to the exemplary embodiment of the invention, the user with weak code writing capability can also write the desired business rule expression more quickly and accurately, thereby being beneficial to improving the processing efficiency of applying rules to data.

Description

Method and computing device for generating business rule expression
Technical Field
The present invention relates generally to the field of computer technology, and more particularly, to a method and computing device for generating business rule expressions.
Background
At present, a common editor is generally utilized, and a rule editing command is input through a keyboard manually to generate corresponding rules, so that data is processed by utilizing the generated rules. However, the above method of generating rules often requires technicians to grasp the relevant code knowledge and further requires a deeper understanding of the actual data, which results in increased learning costs and reduced work efficiency for applying rules to the data.
Disclosure of Invention
It is an object of exemplary embodiments of the present invention to provide a method and computing device for generating business rule expressions that overcomes at least one of the above-mentioned drawbacks.
According to an aspect of an exemplary embodiment of the present invention, there is provided a method of generating a business rule expression, including: displaying index items and/or rule constitutions capable of forming business rules to users; receiving user selection of the displayed index item and/or rule composition symbol; displaying the index item and/or the rule composition character selected by the user in the rule editing area; and according to the editing operation executed by the user in the rule editing area, editing at least the displayed index item and/or rule composition symbol to obtain the business rule expression.
Further, the index item may include an attribute field of the business data and/or a composite field generated based on the attribute field.
Further, the rule composer may include brackets, logical operators, arithmetic operators, relational operators, and/or function processing names.
Further, the step of receiving user selection of the presented index item and/or rule constituent may comprise: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed index item and/or rule composition by the user.
Further, the index item and/or rule composer may be presented as a button control, and the step of displaying the user selected index item and/or rule composer in the rule edit section may include: displaying text content corresponding to the index item and/or the rule composition character selected by the user in the rule editing area; alternatively, button controls corresponding to the user-selected index items and/or rule constituent symbols are displayed in the rule edit section.
Further, the method may further comprise: and obtaining the business rule expression according to the operation of inputting the text content corresponding to the index item and/or the rule composition character, which is performed by the user in the rule editing area.
Further, the method may further comprise: setting an operation mode of a rule editing area, and performing editing processing at least aiming at a displayed index item and/or a rule composition character according to editing operation performed by a user in the rule editing area under the condition that the operation mode is set to the editing mode so as to obtain a business rule expression; in the case where the operation mode is set as the input mode, the business rule expression is obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition.
Further, the method may further comprise: and linking the business rule expression in the editing mode with the business rule expression in the input mode.
Further, the method may further comprise: based on an input operation performed by the user in the rule edit section, a list of text contents corresponding to candidate index items and/or candidate rule components is provided at a position close to the input operation for the user to select the input text contents therefrom.
Further, the composite field generated based on the attribute field may be generated by: presenting an existing index item and/or an index composition to a user, wherein the existing index item can comprise an attribute field and/or an already generated composite field of business data; receiving user selection of displayed existing index items and/or index composition symbols; displaying the existing index items and/or index constitutions selected by the user in the index editing region; and according to the editing operation executed by the user in the index editing area, editing at least the displayed existing index items and/or index composition symbols to obtain the composite field.
Further, the step of presenting the existing index items and/or index composers to the user may comprise: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent.
Further, the indicator composer may include brackets, arithmetic operators, and/or function process names.
Further, the step of receiving a user selection of a presented existing index item and/or index constituent may comprise: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed existing index item and/or index composition by the user.
Further, the existing index item and/or index composer may be presented as a button control, and the step of displaying the user-selected existing index item and/or index composer in the index editing region may include: displaying text content corresponding to the existing index item and/or index composition symbol selected by the user in the index editing area; or, a button control corresponding to the existing index item and/or index composition character selected by the user is displayed in the index editing area.
Further, the method may further comprise: the compound field is obtained according to an operation performed by the user in the index editing area to input text content corresponding to an existing index item and/or index composition.
Further, the method may further comprise: setting an operation mode of the index editing area, and performing editing processing at least for the displayed existing index items and/or index composition symbols according to editing operations performed by a user in the index editing area under the condition that the operation mode is set as the editing mode so as to obtain a compound field; in the case where the operation mode is set as the input mode, the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to an existing index item and/or index composition.
Further, the method may further comprise: and linking the composite field in the editing mode with the composite field in the input mode.
Further, the method may further comprise: based on an input operation performed by the user in the index editing region, a list of text contents corresponding to candidate existing index items and/or candidate index constituent symbols is provided at a position close to the input operation for the user to select the input text contents therefrom.
According to another aspect of exemplary embodiments of the present invention, there is provided a computing device for generating a business rule expression, comprising a display, an input interface, and a processor, wherein the processor is configured to: the control display displays index items and/or rule composition characters capable of forming business rules to a user; receiving a user selection of the presented index item and/or rule constituent from the input interface; controlling a display to display the index item and/or the rule composition character selected by the user in the rule editing area; and according to the editing operation executed by the user in the rule editing area, editing at least the displayed index item and/or rule composition symbol to obtain the business rule expression.
Further, the index item may include an attribute field of the business data and/or a composite field generated based on the attribute field.
Further, the rule composer may include brackets, logical operators, arithmetic operators, relational operators, and/or function processing names.
Further, the process of receiving user selections of presented index items and/or rule components from the input interface may include: at least one operation of clicking, long pressing, double clicking and dragging the displayed index item and/or rule constituent symbol by a user is received from an input interface.
Further, the index item and/or rule constituent may be presented as a button control, and the process of controlling the display to display the user-selected index item and/or rule constituent in the rule edit section may include: controlling a display to display text content corresponding to the index item and/or the rule composition symbol selected by the user in the rule editing area; alternatively, the control display displays button controls corresponding to the user-selected index items and/or rule constituent symbols in the rule edit section.
Further, the processor is further configured to: and obtaining the business rule expression according to the operation of inputting the text content corresponding to the index item and/or the rule composition character, which is performed by the user in the rule editing area.
Further, the processor may be further configured to: setting an operation mode of a rule editing area, and performing editing processing at least aiming at a displayed index item and/or a rule composition character according to editing operation performed by a user in the rule editing area under the condition that the operation mode is set to the editing mode so as to obtain a business rule expression; in the case where the operation mode is set as the input mode, the business rule expression is obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition.
Further, the processor may be further configured to: and linking the business rule expression in the editing mode with the business rule expression in the input mode.
Further, the processor may be further configured to: based on the input operation performed by the user in the rule edit section, the display is controlled to provide a list of text contents corresponding to the candidate index item and/or the candidate rule composition at a position close to the input operation for the user to select the input text contents therefrom.
Further, the processor may be further configured to generate the composite field generated based on the attribute field by: controlling a display to display an existing index item and/or an index composition character to a user, wherein the existing index item comprises an attribute field and/or a generated composite field of service data; receiving a user selection of the presented index item and/or index constituent from the input interface; controlling the display to display the index item and/or the index composition character selected by the user in the index editing area; and according to the editing operation executed by the user in the index editing area, editing at least the displayed index item and/or index composition symbol to obtain a compound field.
Further, the process of controlling the display to present the existing index items and/or index composers to the user may include: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent.
Further, the indicator composer may include brackets, arithmetic operators, and/or function process names.
Further, the process of receiving user selections of the presented index items and/or index composers from the input interface may include: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed index item and/or index composition by the user.
Further, the index items and/or index composers may be presented as button controls, and the process of controlling the display to display the user-selected index items and/or index composers in the index editing region may include: controlling a display to display text content corresponding to the index item and/or the index composition symbol selected by the user in the index editing area; or, the control display displays a button control corresponding to the index item and/or the index composition character selected by the user in the index editing area.
Further, the processor may be further configured to: the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to the index item and/or the index composition.
Further, the processor may be further configured to: setting an operation mode of the index editing region, and in the case where the operation mode is set to the editing mode, editing at least the displayed index item and/or index composition to obtain a composite field according to an editing operation performed by a user in the index editing region; in the case where the operation mode is set to the input mode, the compound field may be obtained according to an operation performed by the user in the index editing region to input text content corresponding to the index item and/or the index composition.
Further, the processor may be further configured to: and linking the composite field in the editing mode with the composite field in the input mode.
Further, the processor may be further configured to: based on the input operation performed by the user in the index editing region, the display is controlled to provide a list of text contents corresponding to the candidate index items and/or the candidate index constituent symbols at a position close to the input operation for the user to select the input text contents therefrom.
According to another aspect of exemplary embodiments of the present invention, there is provided a system comprising at least one computing device and at least one storage device storing instructions, wherein the instructions, when executed by the at least one computing device, cause the at least one computing device to perform the above-described method of generating business rule expressions.
According to another aspect of exemplary embodiments of the present invention, a computer-readable storage medium storing instructions is provided, wherein the instructions, when executed by at least one computing device, cause the at least one computing device to perform the above-described method of generating business rule expressions.
In the method and the computing device for generating the business rule expression according to the exemplary embodiment of the invention, a user with weak code writing capability can also write the desired business rule expression more quickly and accurately, and the processing efficiency of applying rules to data based on the written business rule expression is improved.
Additional aspects and/or advantages of the present general inventive concept will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the general inventive concept.
Drawings
The foregoing and other objects, features, and advantages of exemplary embodiments of the invention will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings that illustrate exemplary embodiments in which:
FIG. 1 illustrates a flowchart of a method of generating business rule expressions according to an exemplary embodiment of the present invention;
FIG. 2 illustrates an exemplary diagram of an editing interface for business rule expressions according to an exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps for generating a composite field based on attribute fields in accordance with an exemplary embodiment of the present invention;
FIG. 4 illustrates an exemplary diagram of an index management interface according to an exemplary embodiment of the present invention;
FIG. 5 illustrates an exemplary diagram of selecting existing index items and/or index composers by a single click operation in accordance with an exemplary embodiment of the present invention;
FIG. 6 illustrates an exemplary diagram of selecting existing pointer items and/or pointer components through a drag operation in accordance with an exemplary embodiment of the present invention;
FIG. 7 illustrates an exemplary diagram of operations performed in an index editing region according to an exemplary embodiment of the present invention;
8A-8C illustrate exemplary diagrams for adjusting placement locations of existing index items and/or index composers in an index edit section according to an exemplary embodiment of the invention;
FIGS. 9A and 9B illustrate exemplary diagrams of modifying text content corresponding to an existing index item and/or index constituent in an index editing region according to an exemplary embodiment of the present invention;
fig. 10 shows a block diagram of a computing device for generating business rule expressions according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments will be described below in order to explain the present invention by referring to the figures.
Fig. 1 illustrates a flowchart of a method of generating a business rule expression according to an exemplary embodiment of the present invention. Here, the method may be performed by a computer program, or by a dedicated system or computing device for generating business rule expressions, as examples.
Referring to fig. 1, in step S10, index items and/or rule constitutions capable of constituting business rules are presented to a user. In an exemplary embodiment of the present invention, business rules may include index items and/or rule composers. Here, the index item may be used to measure business related aspects, and the rule composer may indicate elements composing the rule in addition to the index item.
As examples, rule composers may include brackets, logical operators, arithmetic operators, relational operators, and/or function process names.
Here, the logical operators may include, but are Not limited to, and, or, xor, not, etc.; the arithmetic operators may include, but are not limited to + (addition), subtractive, multiplicative, divided, complementary, and |! (factorial operation) and the like; the relational operators may include, but are not limited to > (greater than), < (less than), = (equal to),.ltoreq (less than or equal to),. Gtoreq (greater than or equal to),. Noteq (not equal to), and the like.
In one example, the metrics may include attribute fields of the business data, which may also be referred to as base metrics.
That is, the base index may refer to an attribute field in service data (i.e., service data to be processed) acquired through user upload or through other channels.
Here, a plurality of data records may be included in the service data. Each business data may originate from a local database or may originate from a database on the internet cloud. As an example, one data record per row of the business data table, one column of the data record is an attribute field.
The basic index is an attribute field of the data record. For example, after acquiring a service data, an attribute field of the service data may be extracted, and the extracted attribute field may be directly used as a base index. That is, the base index may be directly extracted from the business data without any processing.
In another example, the index item may include a composite field generated based on the attribute field.
Here, the composite field may refer to a new index (which may also be referred to as a custom index) obtained by corresponding processing of one or more base indexes (i.e., attribute fields). For example, taking the basic index as an "identity card number", the customized index "age" can be obtained after the "identity card number" is subjected to the processing method of "age extraction", and the customized index "sex" can be obtained after the "identity card number" is subjected to the processing method of "sex extraction".
Further, the composite field may also refer to a new custom indicator obtained by corresponding processing of one or more base indicators and/or custom indicators that have been generated. That is, the composite field may be generated based on the base index either directly or indirectly (i.e., in this case, directly based on the custom index that has been generated).
The step of generating the composite field based on the attribute field will be described in detail with reference to fig. 3, and the present invention will not be described herein.
In step S20, a user selection of a presented index item and/or rule constituent is received.
Here, the user may effect selection of the index item and/or rule constituent by various technical means. As an example, the step of receiving a user selection of a presented index item and/or rule constituent may include: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed index item and/or rule composition by the user. The invention is not limited thereto but may be selected by a person skilled in the art in other ways.
In step S30, the index item and/or rule composition selected by the user is displayed in the rule edit section.
Here, the index item and/or the rule constitution symbol selected by the user may be displayed in the rule edit section in various manners.
For example, in the case that the selection of the displayed index item and/or rule constituent by the user is a drag operation, the drag operation may refer to that the index item and/or rule constituent is dragged into the rule editing area, so as to realize display in the rule editing area.
In an alternative embodiment, in the course of performing the drag operation, a plurality of drop positions may be displayed in the rule edit section in response to the drag operation for each dragged object (i.e., the dragged index item or the rule composer). In this case, the drag operation may include dragging the dragged object to one of a plurality of drop positions. Here, the plurality of placement positions may be recommended placement positions of the object determined based on the dragged object.
As an example, the index items and/or rule composers may be presented as button controls. Accordingly, the step of displaying the user-selected index item and/or rule constituent in the rule edit section may comprise: text content corresponding to the user-selected index item and/or rule constituent is displayed in the rule edit section. Alternatively, the step of displaying the user-selected index item and/or rule constituent in the rule edit section may comprise: a button control corresponding to the user-selected index item and/or rule constituent is displayed in the rule edit section.
Fig. 2 illustrates an exemplary diagram of an editing interface of a business rule expression according to an exemplary embodiment of the present invention. It should be understood that the presentation of the editing interface shown in fig. 2 is only an example, and the present invention is not limited thereto, and those skilled in the art may present the index item and rule composition and rule editing area in other ways.
For example, the step of providing the editing interface may include: the editing interface is provided when an operation for creating a business rule expression is received or an editing operation for editing an existing business rule expression is received.
As an example, when an editing operation is received for editing an existing business rule expression, it is detected whether the existing business rule expression is being applied to a business decision, and if the existing business rule expression is not currently applied, an editing interface is provided. If the existing business rule expression is currently being applied to a business decision, a message is presented to the user prompting that the existing business rule expression cannot be edited.
Taking the example shown in fig. 2 as an example, the "calculation process editing area" in the editing interface shown in fig. 2 is a rule editing area, and in addition, index items and/or rule composers are displayed in a toolbar of the editing interface, wherein the "method" column in the toolbar displays rule composers, such as logical operators "and", "or", "not", and a function processing name "method 1", etc. The 'index' column in the tool bar shows the index items, and the 'index' column can show the basic index and the custom index, and it is understood that each index item can be derived from different data tables, and the index items corresponding to different data tables can be the same or different.
In addition, the index items and/or rule components can be indirectly displayed by further displaying the established rule in the 'basic rule' column, and accordingly, the index items and/or rule components constituting the basic rule can be selected at one time according to the selection of the basic rule by the user.
The "visualization" option and the "custom code editing" option in the editing interface shown in fig. 2 can be used to switch the operation modes of the rule editing region.
For example, when the "visualization" option is selected, rule editing may be performed according to an operation mode of editing an existing element, where the index item and/or the rule composer may be displayed as a corresponding control, and a user may perform operations such as moving, deleting, and/or adding to the corresponding control to edit, so as to obtain a complete rule expression. Further, when the "custom code editing" option is selected, editing may be performed in the form of input text (e.g., code), where the user may manually input at least a portion of the index items and/or rule components that make up the rule expression, resulting in a complete rule expression.
Here, the editing operation may be performed in any one of the operation modes, and when switching from one operation mode to another operation mode, linkage of the contents of the regular expression is performed. However, it should be understood that the exemplary embodiments of the present invention are not limited to the above two modes, and any other operation modes for generating a regular expression may be employed, for example, the above two operation modes may be fused to obtain another operation mode; alternatively, other modes of operation, such as voice input, may be employed.
Returning to fig. 1, in step S40, according to the editing operation performed by the user in the rule editing area, editing processing is performed at least for the displayed index item and/or rule composition to obtain the business rule expression.
Here, after the index item and/or rule composition selected by the user is displayed in the rule edit section, various operations such as movement, deletion, addition, and the like can be performed thereon to obtain the business rule expression. Here, as an example, all elements constituting the business rule expression may be acquired by a user's selection operation, for example, a user-selected index item and/or a rule composer may be displayed in a rule edit area, and other elements in addition thereto may be obtained by the user through operations such as selection from a drop-down menu, manual entry, and the like.
In addition to the above manner, the business rule expression may be obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition. As an example, in the editing interface shown in fig. 2, when switching to the operation mode of custom code editing, the user may manually input the respective index items and/or rule constitutions of the rule expression. Here, for example, based on an input operation performed by the user in the rule edit section, a list of text contents corresponding to candidate index items and/or candidate rule components may be provided at a position close to the input operation for the user to select the input text contents therefrom.
In an alternative embodiment, the method for generating a business rule expression according to an exemplary embodiment of the present invention may further include: the operation mode of the rule editing area is set to generate business rule expressions in different operation modes set in the rule editing area.
In one example, the operation mode of the rule edit section may be set to an edit mode. In the case where the operation mode is set to the edit mode, according to an edit operation performed by the user in the rule edit section, edit processing is performed at least for the displayed index item and/or rule composition to obtain a business rule expression.
In another example, the operation mode of the rule edit section may be set as the input mode. In the case where the operation mode is set as the input mode, the business rule expression is obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition.
Optionally, the method for generating a business rule expression according to the exemplary embodiment of the present invention may further include: and linking the business rule expression in the editing mode with the business rule expression in the input mode. In this way, results obtained in one mode of operation can be conveniently synchronized under another mode of operation to further facilitate the generation of regular expressions by the user.
Here, taking the editing interface shown in fig. 2 as an example, after setting a rule name, a rule description, a decision result, and a corresponding rule tag, operations may be performed on index items and/or rule constitutions therein in the rule editing area to obtain a business rule expression. When a selection of a "save" button on the editing interface is received, a rule containing the business rule expression may be generated.
Here, it should be understood that after obtaining the business rule including the business rule expression, a decision may be made on the business data based on the obtained business rule. For example, the method may further comprise: and sending the business rule to a business processing platform and/or a business decision node so that the business processing platform and/or the business decision node processes the business to be processed based on the business rule. Therefore, service data corresponding to the target service to be judged can be obtained, the service data is judged through the service rule, and a decision result corresponding to the target service is generated.
Here, if the business rule is a rule for determining whether the user is a loanable user, and the target business to be determined is a request for applying for a loan input by the target user, based on the request, personal information of the target user is acquired from a business system or database as the business data. Matching the personal information of the target user with the business rule; if the matching is successful, judging the target user as a loanable user, and generating a decision result for indicating a loan application through the target user; otherwise, generating a decision result for indicating refusal of the loan application of the target user.
In addition, the business rules described above may be applied in a financial wind-control scenario, such as anti-fraud, to apply business rules to business data, such as transactions, to determine if it is a fraudulent transaction. The present invention is not limited thereto, and the business rule related scheme of the exemplary embodiment of the present invention may be applied to other scenarios for making business decisions.
For the case where the index item includes a composite field generated based on the attribute field, the step of generating the composite field based on the attribute field will be described below with reference to fig. 3.
Fig. 3 shows a flowchart of the steps of generating a composite field based on attribute fields according to an exemplary embodiment of the present invention.
Referring to fig. 3, in step S100, an existing index item and/or index composer is presented to a user.
As an example, an existing index item may include an attribute field of business data and/or a composite field that has been generated. Here, each composite field may be obtained by processing the attribute field and/or the composite field that has been generated. Further, by way of example, the indicator composer may include brackets, arithmetic operators, and/or function process names.
For example, the step of presenting to the user the existing index items and/or index composers may comprise: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent. Here, when generating the composite index, existing index items may be partitioned and presented according to the data table to which they belong or depend, and/or index composers may be categorized based on certain criteria and presented according to categories (e.g., arithmetic operators, functions, etc.).
In step S200, a user selection of a presented existing index item and/or index composer is received.
Here, the user may effect selection of an existing index item and/or index constituent by various technical means. As an example, the step of receiving a user selection of an existing indicator term and/or indicator composition of a presentation may comprise: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed existing index item and/or index composition by the user. The invention is not limited thereto but may be selected by a person skilled in the art in other ways.
In step S300, the existing index item and/or index composition selected by the user is displayed in the index editing area.
Here, the existing index item and/or index constituent selected by the user may be displayed in the index editing region in various ways.
For example, in the case that the selection of the displayed existing index item and/or index composition by the user is a drag operation, the drag operation may refer to that the existing index item and/or index composition is dragged into the index editing area, so as to realize display in the index editing area.
As an example, existing index items and/or index composers are presented as button controls. Accordingly, the step of displaying the user-selected existing index item and/or index constituent in the index editing region may include: displaying text content corresponding to the existing index item and/or index composition symbol selected by the user in the index editing area; or, a button control corresponding to the existing index item and/or index composition character selected by the user is displayed in the index editing area.
In step S400, according to the editing operation performed by the user in the index editing area, editing processing is performed at least on the displayed existing index items and/or index composers to obtain a composite field.
Here, after the existing index item and/or index composer selected by the user is displayed in the index editing region, a compound field may be obtained by performing various operations thereon such as movement, deletion, addition, and the like. Here, as an example, all elements constituting the compound field may be acquired by a user's selection operation, for example, an existing index item and/or index composer selected by the user may be displayed in the index editing region, and other elements in addition thereto may be obtained by the user through operations such as selection from a drop-down menu, manual entry, and the like.
In addition to the above manner, the compound field may be obtained according to an operation performed by the user in the index editing region to input text content corresponding to an existing index item and/or index composition. As an example, when switching to the custom code editing mode of operation, the user may manually enter each of the existing index items and/or index composers that make up the compound field. Here, for example, based on an input operation performed by the user in the index editing region, a list of text contents corresponding to candidate existing index items and/or candidate index constitutions may be provided at a position close to the input operation for the user to select the input text contents therefrom.
In an alternative embodiment, the method for generating a business rule expression according to an exemplary embodiment of the present invention may further include: setting an operation mode of the index editing region.
In one example, the operation mode of the index editing region may be set to an editing mode. In the case where the operation mode is set to the edit mode, according to an edit operation performed by the user in the index edit section, at least editing processing is performed for the displayed existing index item and/or index composition to obtain a composite field.
In another example, the operation mode of the index editing region may be set as the input mode. In the case where the operation mode is set as the input mode, the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to an existing index item and/or index composition.
Optionally, the method for generating a business rule expression according to the exemplary embodiment of the present invention may further include: and linking the composite field in the editing mode with the composite field in the input mode. In this way, results obtained in one mode of operation can be conveniently synchronized under another mode of operation to further facilitate user generation of compound fields.
An example of generating a composite field based on existing pointer items and/or pointer composers will be described below with reference to fig. 4-9B.
Fig. 4 shows an exemplary diagram of an index management interface according to an exemplary embodiment of the present invention. It should be understood that the presentation form of the index management interface shown in fig. 4 is only an example, and the present invention is not limited thereto, and those skilled in the art may also present the existing index items and index composers and the index editing region in other manners.
For example, the step of providing the index management interface may include: the editing interface is provided when an operation for newly creating a composite field is received or an editing operation for editing an existing composite field is received.
In this example, the process of generating a custom indicator based on existing indicator entries and/or indicator composers is described using a composite field as an example of a custom indicator.
The "calculation process editing area" in the index management interface shown in fig. 4 is an index editing area, and an existing index item and/or an index constitutive symbol are displayed in a toolbar of the index management interface, wherein a "method" column in the toolbar displays an index constitutive symbol, such as an arithmetic operator "count", "average", "maximum", "minimum", "sum", and the like. The "index" column in the toolbar shows existing index items.
The "visualization" option and the "custom code editing" option in the index management interface shown in fig. 4 may also be used to switch the operation mode of the index editing region.
FIG. 5 illustrates an exemplary diagram of selecting an existing metric item and/or metric constituent by a single click operation according to an exemplary embodiment of the present invention.
As shown in fig. 5, when a click operation is received on an existing index item and/or index constituent shown in the "toolbar" (e.g., "id number acquisition age"), the selected existing index item and/or index constituent is displayed in the index editing area, for example, the selected "id number acquisition age" may be automatically added to the position of the cursor in the index editing area.
FIG. 6 illustrates an exemplary diagram of selecting an existing pointer item and/or pointer composition by a drag operation according to an exemplary embodiment of the present invention.
Here, the drag operation may refer to dragging an existing index item and/or index composition into the index editing region.
In an alternative embodiment, in the course of performing the drag operation, a plurality of drop positions may be displayed in the index editing area in response to the drag operation for each dragged object (i.e., an existing index item or index composer being dragged). In this case, the drag operation may include dragging the dragged object to one of a plurality of drop positions. Here, the plurality of placement positions may be recommended placement positions of the object determined based on the dragged object.
As shown in fig. 6, the drag operation may refer to dragging an existing index item and/or index constituent (e.g., "id number acquisition age") shown in the "toolbar" into the index editing area.
Fig. 7 illustrates an exemplary diagram of performing an operation in an index editing region according to an exemplary embodiment of the present invention.
For example, a list of candidate existing index items and/or text contents corresponding to candidate index constituent symbols matched with the input text contents can be provided according to the content input by the user at a position close to the input operation (such as a position where a cursor is positioned in an index editing area), so that the user can select the input text contents, and the input efficiency is improved.
In an alternative embodiment, the method for generating a business rule expression according to an exemplary embodiment of the present invention may further include: and modifying the existing index items and/or index composition symbols displayed in the index editing area. As an example, the placement location of the displayed existing index items and/or index constituents may be adjusted. For example, a drag operation on a specified object in a displayed existing index item and/or index composition may be received, and a plurality of cue modification positions may be displayed in an index editing region in response to the drag operation, at which time the drag operation is to drag the specified object to one of the plurality of cue modification positions.
Fig. 8A to 8C illustrate exemplary diagrams for adjusting the placement positions of existing index items and/or index composers in an index editing region according to an exemplary embodiment of the present invention.
For example, when a drag operation is received on a specified object (for example, "id card number acquisition age") in the index editing region, the display style of the mouse may be changed to a grip form, and in the course of the specified object being dragged, two cue modification positions are displayed in the index editing region (as shown in fig. 8B), and the specified object is dragged to one of the two cue modification positions to complete the drag operation (as shown in fig. 8C).
In another example, the editing operation may include modifying text content corresponding to the displayed existing pointer item and/or pointer constituent.
For example, an operation for selecting a specified object in the displayed existing index item and/or index composer may be received, and in response to the operation, an editing state for text content corresponding to the selected specified object is entered, in which the text content corresponding to the specified object is modified according to an input of a user.
Fig. 9A and 9B illustrate exemplary diagrams for modifying text contents corresponding to an existing index item and/or index composer in an index editing region according to an exemplary embodiment of the present invention.
As shown in fig. 9A, when an operation for selecting a specified object in the index editing region is received (for example, a mouse is stopped (river) at a position where the specified object in the index editing region is located, and the specified object is double-clicked), an editing state is entered. Text content entered by the user is received in the edited state (as shown in fig. 9B).
Here, if there is no existing index item and/or index composition corresponding to the input text content, the text content corresponding to the specified object is not changed, i.e., the text content corresponding to the specified object remains unchanged.
Alternatively, at least one candidate content matching the input text content may be provided at a position close to the input operation according to the received text content input by the user, a selection of any one of the provided at least one candidate content by the user is received, and the original text content corresponding to the specified object is replaced with the selected candidate content.
Here, it should be understood that the above-mentioned step of modifying an existing index item and/or index constituent in the index editing area is also applicable to modifying an index item and/or rule constituent displayed in the rule editing area, and the disclosure of this part will not be repeated.
Fig. 10 shows a block diagram of a computing device for generating business rule expressions according to an exemplary embodiment of the present invention.
As shown in fig. 10, a computing device of a computing device for generating a business rule expression according to an exemplary embodiment of the present invention includes: a processor 100, a display 200 and an input interface 300.
By way of example, display 200 may include, but is not limited to, a video display (such as a liquid crystal display), and input interface 300 may include, but is not limited to, a keyboard, a mouse, a touch input device, and the like. All components of the computing device may be connected to each other via buses and/or networks. Here, the method of generating a business rule expression shown in fig. 1 may be performed by the processor 100.
In particular, the processor 100 controls the display 200 to present the user with index items and/or rule components that can constitute business rules.
As an example, the index item may include an attribute field of the business data and/or a composite field generated based on the attribute field. Rule composers may include brackets, logical operators, arithmetic operators, relational operators, and/or function process names.
The processor 100 receives a user selection of a presented index item and/or rule constituent from the input interface 300. As an example, the process of receiving user selections of presented index items and/or rule components from input interface 300 may include: at least one operation of clicking, long pressing, double clicking, and dragging the presented index item and/or rule constituent is received from the input interface 300 by the user.
The processor 100 controls the display 200 to display the user-selected index item and/or rule composition in the rule edit section.
As an example, the index item and/or rule constituent may be presented as a button control and the process by which processor 100 controls display 200 to display the user-selected index item and/or rule constituent in the rule edit section may include: control display 200 to display text content corresponding to the index item and/or rule constituent symbol selected by the user in the rule edit section; alternatively, the control display 200 displays button controls corresponding to the index items and/or rule constitutions selected by the user in the rule edit section.
The processor 100 performs editing processing at least with respect to the displayed index items and/or rule composition symbols according to editing operations performed by the user in the rule editing area to obtain the business rule expression.
Optionally, the processor 100 may be further configured to: and obtaining the business rule expression according to the operation of inputting the text content corresponding to the index item and/or the rule composition character, which is performed by the user in the rule editing area.
For example, the processor 100 may be further configured to: based on the input operation performed by the user in the rule edit section, the display 200 is controlled to provide a list of text contents corresponding to candidate indicators and/or candidate rule components at a position near the input operation for the user to select the input text contents therefrom.
In an alternative embodiment, the processor 100 may be further configured to: the operation mode of the rule editing area is set to generate business rule expressions in different operation modes set in the rule editing area.
In one example, the operation mode of the rule edit section may be set to an edit mode. In the case where the operation mode is set to the edit mode, the processor 100 may perform an edit process at least with respect to the displayed index item and/or rule composition according to an edit operation performed by the user in the rule edit section to obtain a business rule expression.
In another example, the operation mode of the rule edit section may be set as the input mode. In case that the operation mode is set to the input mode, the processor 100 may obtain the business rule expression according to an operation performed by the user in the rule edit section to input text contents corresponding to the index item and/or the rule composition.
Optionally, the processor 100 may be further configured to: and linking the business rule expression in the editing mode with the business rule expression in the input mode.
For the case where the index item includes a composite field generated based on the attribute field, the processor 100 may generate the composite field generated based on the attribute field in the following manner.
Processor 100 controls display 200 to present existing index items and/or index composers to a user, receives user selections of presented existing index items and/or index composers from input interface 300; the control display 200 displays the existing index items and/or index constitutions selected by the user in the index editing region, and performs editing processing at least for the displayed existing index items and/or index constitutions according to the editing operation performed by the user in the index editing region to obtain a composite field.
As an example, an existing indicator term may include an attribute field of business data and/or a composite field that has been generated, and an indicator composer may include brackets, arithmetic operators, and/or function processing names.
For example, the process of controlling the display 200 to present the existing index items and/or index composers to the user may include: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent.
As an example, the process of receiving a user selection of a presented existing index item and/or index constituent from input interface 300 may include: and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed existing index item and/or index composition by the user.
As an example, existing index items and/or index composers may be presented as button controls. Accordingly, the process by which the processor 100 controls the display 200 to display the user-selected existing index items and/or index composers in the index edit area includes: control display 200 to display text content corresponding to the existing index item and/or index composition selected by the user in the index editing area; alternatively, the control display 200 displays a button control corresponding to the existing index item and/or index composition selected by the user in the index editing region.
Optionally, the processor 100 may be further configured to: the compound field is obtained according to an operation performed by the user in the index editing area to input text content corresponding to an existing index item and/or index composition.
For example, the processor 100 may control the display 200 to provide a list of text contents corresponding to candidate existing index items and/or candidate index constituent symbols at a position near the input operation based on the input operation performed by the user in the index editing region, for the user to select the input text contents therefrom.
In an alternative embodiment, the processor 100 may be further configured to set the operation mode of the index edit section.
In one example, the operation mode of the index editing region may be set to an editing mode. In the case where the operation mode is set to the edit mode, the processor 100 may perform editing processing at least for the displayed existing index item and/or index composition according to an editing operation performed by the user in the index editing region to obtain a composite field.
In another example, the operation mode of the index editing region may be set as the input mode. In the case where the operation mode is set to the input mode, the processor 100 may obtain the compound field according to an operation performed by the user in the index editing region to input text contents corresponding to the existing index item and/or index composer.
Alternatively, the processor 100 may link the compound field in the edit mode with the compound field in the input mode.
According to the method and the computing device for generating the business rule expression, provided by the exemplary embodiment of the invention, a plurality of interaction modes for generating the business rule expression are provided, the input diversity is increased, and the efficiency of generating the business rule expression is improved for people with weaker code capability.
A system comprising at least one computing device and at least one storage device storing instructions is also presented in an exemplary embodiment of the present invention.
The computing devices may be deployed in servers or clients, as well as on node devices in a distributed network environment. Further, the computing device may be a PC computer, tablet device, personal digital assistant, smart phone, web application, or other device capable of executing the above-described set of instructions.
Here, the computing device need not be a single computing device, but may be any device or collection of circuits capable of executing the above-described instructions (or instruction set) alone or in combination. The computing device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with locally or remotely (e.g., via wireless transmission).
As an example, in the computing device, a processor may include, but is not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, and the like.
Some of the operations described in the method of generating a business rule expression according to the exemplary embodiment of the present invention may be implemented in software, some of the operations may be implemented in hardware, and furthermore, the operations may be implemented in a combination of software and hardware.
The processor may execute instructions or code stored in one of the storage components, wherein the storage component may also store data. Instructions and data may also be transmitted and received over a network via a network interface device, which may employ any known transmission protocol.
The memory component may be integrated with the processor, for example, RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, the storage component may comprise a stand-alone device, such as an external disk drive, a storage array, or any other storage device usable by a database system. The storage component and the processor may be operatively coupled or may communicate with each other, such as through an I/O port, network connection, etc., such that the processor is able to read files stored in the storage component.
Operations involved in a method of generating business rule expressions according to exemplary embodiments of the present invention may be described as various interconnected or coupled functional blocks or functional diagrams. However, these functional blocks or functional diagrams may be equally integrated into a single logic device or operate at non-exact boundaries.
For example, a system is provided that includes at least one computing device and at least one storage device storing instructions that, when executed by the at least one computing device, cause the at least one computing device to perform the steps of: displaying index items and/or rule constitutions capable of forming business rules to users; receiving user selection of the displayed index item and/or rule composition symbol; displaying the index item and/or the rule composition character selected by the user in the rule editing area; and according to the editing operation executed by the user in the rule editing area, editing at least the displayed index item and/or rule composition symbol to obtain the business rule expression.
That is, the method of generating business rule expressions shown in fig. 1 may be performed by the above-described computing device. Since the method for generating the business rule expression has been described in detail in fig. 1, the contents of this section are not repeated in the present invention.
It should be appreciated that the method of generating business rule expressions according to an exemplary embodiment of the present invention may be implemented by a program recorded on a computer readable medium, for example, according to an exemplary embodiment of the present invention, a computer readable medium storing instructions may be provided, wherein the instructions, when executed by at least one computing device, cause the at least one computing device to perform the method of: displaying index items and/or rule constitutions capable of forming business rules to users; receiving user selection of the displayed index item and/or rule composition symbol; displaying the index item and/or the rule composition character selected by the user in the rule editing area; and according to the editing operation executed by the user in the rule editing area, editing at least the displayed index item and/or rule composition symbol to obtain the business rule expression.
The computer program in the above-described computer readable medium may be run in an environment deployed in a computer device such as a client, a host, a proxy device, a server, etc., and it should be noted that the computer program may also be used to perform additional steps other than the above-described steps or to perform more specific processes when the above-described steps are performed, and the contents of these additional steps and further processes have been described with reference to fig. 1, and will not be repeated here.
It should be noted that the method for generating a business rule expression according to an exemplary embodiment of the present invention may completely rely on the execution of a computer program to implement the corresponding functions, i.e., each device corresponds to each step in the functional architecture of the computer program, so that the entire system is called through a special software package (e.g., lib library) to implement the corresponding functions.
The foregoing description of exemplary embodiments of the invention has been presented only to be understood as illustrative and not exhaustive, and the invention is not limited to the exemplary embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. Therefore, the protection scope of the present invention shall be subject to the scope of the claims.

Claims (34)

1. A method of generating a business rule expression, comprising:
displaying index items and rule composition symbols capable of forming business rules to a user;
receiving user selection of the displayed index item and/or rule composition symbol;
displaying the index item and/or the rule composition character selected by the user in the rule editing area; and
editing at least aiming at the displayed index item and/or rule composition symbol according to the editing operation executed by the user in the rule editing area so as to obtain a business rule expression;
Wherein, the index item includes: attribute fields extracted from a data table of the service data and/or composite fields generated based on the attribute fields;
wherein the composite field generated based on the attribute field is generated by:
presenting an existing index item and an index composer to a user, wherein the existing index item comprises: attribute fields extracted from a data table of the service data and/or composite fields that have been generated;
receiving user selection of displayed existing index items and/or index composition symbols;
displaying the existing index items and/or index constitutions selected by the user in the index editing region; and
according to the editing operation executed by the user in the index editing area, editing processing is carried out at least on the displayed existing index items and/or index composition symbols so as to obtain a composite field.
2. The method of claim 1, wherein the rule composer comprises brackets, logical operators, arithmetic operators, relational operators, and/or function process names.
3. The method of claim 1, wherein the step of receiving user selection of a presented index item and/or rule constituent comprises:
and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed index item and/or rule composition by the user.
4. The method of claim 1, wherein the index items and/or rule composers are presented as button controls and,
the step of displaying the user selected index item and/or rule constituent in the rule edit section comprises: displaying text content corresponding to the index item and/or the rule composition character selected by the user in the rule editing area; alternatively, button controls corresponding to the user-selected index items and/or rule constituent symbols are displayed in the rule edit section.
5. The method of claim 1, further comprising:
and obtaining the business rule expression according to the operation of inputting the text content corresponding to the index item and/or the rule composition character, which is performed by the user in the rule editing area.
6. The method of claim 5, further comprising:
the operation mode of the rule edit section is set, and,
in the case that the operation mode is set to the editing mode, according to the editing operation performed by the user in the rule editing area, editing processing is performed at least on the displayed index item and/or rule composition symbol to obtain a business rule expression; in the case where the operation mode is set as the input mode, the business rule expression is obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition.
7. The method of claim 5, further comprising:
and linking the business rule expression in the editing mode with the business rule expression in the input mode.
8. The method of claim 5, further comprising: based on an input operation performed by the user in the rule edit section, a list of text contents corresponding to candidate index items and/or candidate rule components is provided at a position close to the input operation for the user to select the input text contents therefrom.
9. The method of claim 1, wherein presenting the existing index items and index composers to the user comprises: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent.
10. The method of claim 1, wherein the indicator composer comprises brackets, arithmetic operators, and/or function process names.
11. The method of claim 1, wherein the step of receiving a user selection of a presented existing index item and/or index constituent comprises:
and receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed existing index item and/or index composition by the user.
12. The method of claim 1, wherein the existing index items and/or index composers are presented as button controls and,
the step of displaying the user-selected existing index item and/or index composition in the index editing region comprises: displaying text content corresponding to the existing index item and/or index composition symbol selected by the user in the index editing area; or, a button control corresponding to the existing index item and/or index composition character selected by the user is displayed in the index editing area.
13. The method of claim 12, further comprising:
the compound field is obtained according to an operation performed by the user in the index editing area to input text content corresponding to an existing index item and/or index composition.
14. The method of claim 13, further comprising:
an operation mode of the index edit section is set, and,
in the case where the operation mode is set to the edit mode, according to an edit operation performed by the user in the index edit area, performing an edit process at least for the displayed existing index item and/or index composition to obtain a composite field; in the case where the operation mode is set as the input mode, the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to an existing index item and/or index composition.
15. The method of claim 14, further comprising:
and linking the composite field in the editing mode with the composite field in the input mode.
16. The method of claim 13, further comprising: based on an input operation performed by the user in the index editing region, a list of text contents corresponding to candidate existing index items and/or candidate index constituent symbols is provided at a position close to the input operation for the user to select the input text contents therefrom.
17. A computing device for generating business rule expressions includes a display, an input interface, and a processor,
wherein the processor is configured to:
the control display displays index items and rule composition symbols capable of forming business rules to a user;
receiving a user selection of the presented index item and/or rule constituent from the input interface;
controlling a display to display the index item and/or the rule composition character selected by the user in the rule editing area; and
editing at least aiming at the displayed index item and/or rule composition symbol according to the editing operation executed by the user in the rule editing area so as to obtain a business rule expression;
wherein, the index item includes: attribute fields extracted from a data table of the service data and/or composite fields generated based on the attribute fields;
Wherein the processor is further configured to generate the composite field generated based on the attribute field by:
presenting an existing index item and an index composer to a user, wherein the existing index item comprises: attribute fields extracted from a data table of the service data and/or composite fields that have been generated;
receiving user selection of displayed existing index items and/or index composition symbols;
displaying the existing index items and/or index constitutions selected by the user in the index editing region; and
according to the editing operation executed by the user in the index editing area, editing processing is carried out at least on the displayed existing index items and/or index composition symbols so as to obtain a composite field.
18. The computing device of claim 17, wherein the rule composer comprises brackets, logical operators, arithmetic operators, relational operators, and/or function processing names.
19. The computing device of claim 17, wherein the process of receiving a user selection of a presented index item and/or rule constituent from an input interface comprises:
at least one operation of clicking, long pressing, double clicking and dragging the displayed index item and/or rule constituent symbol by a user is received from an input interface.
20. The computing device of claim 17, wherein the index item and/or rule composer is presented as a button control and,
the process of controlling the display to display the user-selected index item and/or rule constituent in the rule edit section includes: controlling a display to display text content corresponding to the index item and/or the rule composition symbol selected by the user in the rule editing area; alternatively, the control display displays button controls corresponding to the user-selected index items and/or rule constituent symbols in the rule edit section.
21. The computing device of claim 17, wherein the processor is further configured to:
and obtaining the business rule expression according to the operation of inputting the text content corresponding to the index item and/or the rule composition character, which is performed by the user in the rule editing area.
22. The computing device of claim 21, wherein the processor is further configured to:
the operation mode of the rule edit section is set, and,
in the case that the operation mode is set to the editing mode, according to the editing operation performed by the user in the rule editing area, editing processing is performed at least on the displayed index item and/or rule composition symbol to obtain a business rule expression; in the case where the operation mode is set as the input mode, the business rule expression is obtained according to an operation performed by the user in the rule edit section to input text content corresponding to the index item and/or the rule composition.
23. The computing device of claim 21, wherein the processor is further configured to:
and linking the business rule expression in the editing mode with the business rule expression in the input mode.
24. The computing device of claim 21, wherein the processor is further configured to: based on the input operation performed by the user in the rule edit section, the display is controlled to provide a list of text contents corresponding to the candidate index item and/or the candidate rule composition at a position close to the input operation for the user to select the input text contents therefrom.
25. The computing device of claim 17, wherein the process of controlling the display to present the existing indicator term and indicator composition to the user comprises: displaying the existing index item according to a data table of service data related to the existing index item; and/or, the index constituent is presented according to the category of the index constituent.
26. The computing device of claim 17, wherein the indicator composer comprises brackets, arithmetic operators, and/or function processing names.
27. The computing device of claim 17, wherein the process of receiving a user selection of a presented index item and/or index constituent from an input interface comprises:
And receiving at least one operation of clicking, long pressing, double clicking and dragging of the displayed index item and/or index composition by the user.
28. The computing device of claim 17, wherein the index items and/or index composers are presented as button controls and,
the process of controlling the display to display the user-selected index item and/or index constituent in the index editing region includes: controlling a display to display text content corresponding to the index item and/or the index composition symbol selected by the user in the index editing area; or, the control display displays a button control corresponding to the index item and/or the index composition character selected by the user in the index editing area.
29. The computing device of claim 28, wherein the processor is further configured to:
the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to the index item and/or the index composition.
30. The computing device of claim 29, wherein the processor is further configured to:
an operation mode of the index edit section is set, and,
in the case where the operation mode is set to the edit mode, performing editing processing at least for the displayed index item and/or index composition according to an editing operation performed by the user in the index editing area to obtain a composite field; in the case where the operation mode is set to the input mode, the compound field is obtained according to an operation performed by the user in the index editing region to input text content corresponding to the index item and/or the index composer.
31. The computing device of claim 30, wherein the processor is further configured to:
and linking the composite field in the editing mode with the composite field in the input mode.
32. The computing device of claim 29, wherein the processor is further configured to: based on the input operation performed by the user in the index editing region, the display is controlled to provide a list of text contents corresponding to the candidate index items and/or the candidate index constituent symbols at a position close to the input operation for the user to select the input text contents therefrom.
33. A system comprising at least one computing device and at least one storage device storing instructions that, when executed by the at least one computing device, cause the at least one computing device to perform the method of any of claims 1-16.
34. A computer readable storage medium storing instructions which, when executed by at least one computing device, cause the at least one computing device to perform the method of any of claims 1 to 16.
CN201910322587.0A 2019-04-22 2019-04-22 Method and computing device for generating business rule expression Active CN110045953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910322587.0A CN110045953B (en) 2019-04-22 2019-04-22 Method and computing device for generating business rule expression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910322587.0A CN110045953B (en) 2019-04-22 2019-04-22 Method and computing device for generating business rule expression

Publications (2)

Publication Number Publication Date
CN110045953A CN110045953A (en) 2019-07-23
CN110045953B true CN110045953B (en) 2023-12-01

Family

ID=67278300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910322587.0A Active CN110045953B (en) 2019-04-22 2019-04-22 Method and computing device for generating business rule expression

Country Status (1)

Country Link
CN (1) CN110045953B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110826911B (en) * 2019-11-06 2020-08-21 南京星环智能科技有限公司 Big data-based decision method, equipment and medium
CN111078026B (en) * 2019-11-15 2023-10-03 北京乐我无限科技有限责任公司 Input prompting method, device, electronic equipment and readable storage medium
CN110941634A (en) * 2019-11-27 2020-03-31 北京明略软件系统有限公司 Data processing method and device, storage medium and electronic device
CN111191412A (en) * 2019-12-24 2020-05-22 远光软件股份有限公司 Method, device, storage medium and terminal for editing formula
CN111949259A (en) * 2020-08-14 2020-11-17 中国工商银行股份有限公司 Risk decision configuration method, system, electronic equipment and storage medium
CN112036141A (en) * 2020-09-01 2020-12-04 金蝶软件(中国)有限公司 Calculation formula configuration method, data processing device and computer storage medium
CN112230890B (en) * 2020-09-11 2023-09-12 重庆誉存大数据科技有限公司 Rule configuration method and device and result reliability judging method thereof
CN112379872A (en) * 2020-11-05 2021-02-19 上海汇付数据服务有限公司 Rule engine system
CN112394922B (en) * 2020-12-02 2022-02-22 成都新希望金融信息有限公司 Decision configuration method, business decision method and decision engine system
CN113220738B (en) * 2021-05-31 2024-07-16 平安科技(深圳)有限公司 Business rule generation method, device, equipment and storage medium
CN113609283A (en) * 2021-07-28 2021-11-05 浙江惠瀜网络科技有限公司 Data acquisition method and system
CN113988026A (en) * 2021-12-29 2022-01-28 广东粤港澳大湾区硬科技创新研究院 Expert knowledge editing method and device based on fault diagnosis
CN115048156B (en) * 2022-08-12 2022-11-08 北京拓普丰联信息科技股份有限公司 Method and device for determining business decision, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930585A (en) * 2010-09-01 2010-12-29 中国建设银行股份有限公司 Credit business risk monitoring system and method thereof
CN102360291A (en) * 2011-10-07 2012-02-22 云南爱迪科技有限公司 Service-oriented business rule design method based on business rule engine
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
CN105913197A (en) * 2016-05-06 2016-08-31 杭州中房信息科技有限公司 Workflow method executed based on business data rule
CN106452944A (en) * 2016-08-31 2017-02-22 成都科来软件有限公司 Method and device for obtaining business performance analysis data based on multiple dimensions
CN107608889A (en) * 2017-09-15 2018-01-19 杭州销冠网络科技有限公司 A kind of test script automatic generation method and system
CN108257012A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Core protects rule creation method and device
CN108681925A (en) * 2018-05-21 2018-10-19 中国联合网络通信有限公司重庆市分公司 A kind of scenario reduction method based on mobile Internet
CN109190930A (en) * 2018-08-14 2019-01-11 北京九狐时代智能科技有限公司 A kind of index generation method and device
CN109445842A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 Rule generating method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7562340B2 (en) * 2006-03-23 2009-07-14 International Business Machines Corporation Method for graphically building business rule conditions
US20120166238A1 (en) * 2010-12-28 2012-06-28 Accenture Global Services Limited Requirement Generator
US9984345B2 (en) * 2014-09-11 2018-05-29 International Business Machine Corporation Rule adjustment by visualization of physical location data

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930585A (en) * 2010-09-01 2010-12-29 中国建设银行股份有限公司 Credit business risk monitoring system and method thereof
CN102360291A (en) * 2011-10-07 2012-02-22 云南爱迪科技有限公司 Service-oriented business rule design method based on business rule engine
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
CN105913197A (en) * 2016-05-06 2016-08-31 杭州中房信息科技有限公司 Workflow method executed based on business data rule
CN106452944A (en) * 2016-08-31 2017-02-22 成都科来软件有限公司 Method and device for obtaining business performance analysis data based on multiple dimensions
CN108257012A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Core protects rule creation method and device
CN107608889A (en) * 2017-09-15 2018-01-19 杭州销冠网络科技有限公司 A kind of test script automatic generation method and system
CN108681925A (en) * 2018-05-21 2018-10-19 中国联合网络通信有限公司重庆市分公司 A kind of scenario reduction method based on mobile Internet
CN109190930A (en) * 2018-08-14 2019-01-11 北京九狐时代智能科技有限公司 A kind of index generation method and device
CN109445842A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 Rule generating method, device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
An Analysis Pipeline with Statistical and Visualization-Guided Knowledge Discovery for Michigan-Style Learning Classifier Systems;Urbanowicz R J ,et al.;《IEEE Computational Intelligence Magazine》;20121130;第7卷(第4期);全文 *
文物检索的概念设计;滕奇霞, 陈红京;中国博物馆(第03期);全文 *
薛鸿民.网页制作和网站管理软件Dreamweaver.《大学文科计算机应用基础》.上海交通大学出版社,2019,第243-244页. *

Also Published As

Publication number Publication date
CN110045953A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN110045953B (en) Method and computing device for generating business rule expression
CN109697066B (en) Method and system for realizing data sheet splicing and automatically training machine learning model
US10762277B2 (en) Optimization schemes for controlling user interfaces through gesture or touch
CN109739855B (en) Method and system for realizing data sheet splicing and automatically training machine learning model
US20100005409A1 (en) Methods for interacting with and manipulating information and systems thereof
US20130227386A1 (en) Method of gathering data of an event-like nature from electronic forms
US20210064397A1 (en) Operation display apparatus and operation display program
US11856129B2 (en) Systems and methods to manage models for call data
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN112433650B (en) Project management method, device, equipment and storage medium
CN107851089A (en) Distortion document
CN102193960A (en) Content sharing system
CN114201615B (en) Scientific research data change review method and server based on data snapshot
CN106484389A (en) Stream of action sectional management
CN107710190A (en) Carry out presentation content using the presentation resource of uncoupling
KR102327418B1 (en) Text information input method and device
KR101985491B1 (en) Result generating and monitoring apparatus using visualzation of formula with diagram mode
WO2019242167A1 (en) Method for managing requirements and computer device
JP2016181301A (en) Information processing apparatus, control method of information processing apparatus, and program
JP7048891B2 (en) Information processing equipment, information processing systems, control methods, and programs
JP2018036855A (en) Information processing system, control method of information processing system, and program
JPWO2020085379A1 (en) Skill index calculation device, annotation providing device, skill index calculation method, annotation providing method, and program
CN113360225A (en) Graphical user interface for non-hierarchical file systems
JP6786892B2 (en) Server equipment, information processing systems and programs
US10515330B2 (en) Real time visibility of process lifecycle

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