CN112395268A - Visual configuration method and device for complex condition rules - Google Patents

Visual configuration method and device for complex condition rules Download PDF

Info

Publication number
CN112395268A
CN112395268A CN202011262896.2A CN202011262896A CN112395268A CN 112395268 A CN112395268 A CN 112395268A CN 202011262896 A CN202011262896 A CN 202011262896A CN 112395268 A CN112395268 A CN 112395268A
Authority
CN
China
Prior art keywords
condition
level
expression
configuration
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011262896.2A
Other languages
Chinese (zh)
Inventor
刘鹍
肖敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Life Insurance Co Ltd China
Original Assignee
China Life Insurance Co Ltd China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Life Insurance Co Ltd China filed Critical China Life Insurance Co Ltd China
Priority to CN202011262896.2A priority Critical patent/CN112395268A/en
Publication of CN112395268A publication Critical patent/CN112395268A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a visual configuration method and a visual configuration device for complex condition rules, wherein the method comprises the following steps: configuring a conditional expression in a visual and multi-level mode through a conditional configuration module; and visually configuring the action executed after the conditional expression is satisfied through an action configuration module. The invention can configure the complex condition rules in a visual mode, can complete the configuration of the complex condition rules of the multilevel conditions without business personnel compiling related codes, and improves the response speed of the requirement of new rules.

Description

Visual configuration method and device for complex condition rules
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a visual configuration method and device for complex condition rules.
Background
In the insurance industry, according to the difference of insurance sales situations of various regions, various sales rules, such as the limit of insurance together with dangerous species and the limit of minimum premium, can be set by various branch companies in insurance sales, and aiming at the configuration of the existing sales rules, the existing scheme in the industry is generally implemented by using the schemes of database configuration, background code modification and the like. For example, when rule configuration and execution are performed by using a database insertion method, a piece of Structured Query Language (SQL) is configured for the rule, and during execution, the SQL is executed according to the existing parameters, and if the result is that the SQL does not pass, the current parameters are controlled not to be saved and continue to operate.
However, in practical applications, the inventor of the present invention finds that the existing method for configuring the relevant rules by inserting SQL into the database has the following problems:
1. no visual interface exists, and the entrance requirement is too high;
2. the expression pattern is unclear: the expression of multi-level conditions, joint conditions and nested conditions is unclear and logic is disordered. The nested rules expressing complex rules cannot be visualized well.
3. The error rate is high: reflecting the writing of business logic, a large number of if-else statements need to be written in the code for judgment, the nesting of conditions is huge and complex, and the business writer is difficult to review after writing. Especially for the maintainer later on, the method is difficult and difficult to get out. The response speed to the new demand is particularly slow.
Generally, the sales rules of the insurance industry change very frequently, so that the current newly added and modified sales rules cannot be completed timely and effectively based on the problems, and the response speed to new requirements is very slow.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for visually configuring a complex condition rule, which can configure the complex condition rule in a visual manner, and can complete the configuration of the complex condition rule of a multi-stage condition without requiring a service person to write a relevant code, thereby increasing a response speed to a new rule requirement.
Based on the above purpose, the present invention provides a visual configuration method for complex condition rules, which includes:
configuring a conditional expression in a visual and multi-level mode through a conditional configuration module;
and visually configuring the action executed after the conditional expression is satisfied through an action configuration module.
The configuring, by the conditional configuration module, the conditional expression in a visualized and multi-level manner specifically includes:
the condition configuration module calls a single condition configuration component, receives a single condition expression of the 1 st level from a display interface, and displays a click key of a next-level condition expression of the 1 st level on the display interface;
after receiving the click event of the click button of the next-level conditional expression of the 1 st level, the single condition configuration component calls the joint condition component to receive the single conditional expression of the 2 nd level and combine the single conditional expression into a two-level joint condition expression:
the joint condition component displays a logical operator selection box, calls the single condition configuration component to receive a single condition expression of the 2 nd level input from a display interface, and displays a click key of a next-level condition expression of the 2 nd level on the display interface;
and after the joint condition component acquires the logical operator input from the logical operator selection box and the single condition expression of the 2 nd level input by the single condition configuration component, connecting the currently received single condition expression of the 2 nd level to the previously received single condition expression of the 1 st level by the logical operator to form the expression of the two-level joint condition.
The single condition configuration component receives a single condition expression input from a display interface, and specifically comprises:
the single condition configuration component displays a first selection frame, an operator selection frame and a second selection frame on a display interface by calling the selection frame component and the operator component, receives parameters/values input from the first selection frame, compares operators input from the operator selection frame and values/parameters input from the second selection frame to form a single condition expression.
Further, the configuring, by the conditional configuration module, the conditional expression in a visualized, multi-level manner further includes:
after the single condition configuration component displays the click key of the next-stage conditional expression of the nth stage on the display interface, if the single condition configuration component receives the click event of the click key of the next-stage conditional expression of the nth stage, the single condition configuration component displays the click key of the next-stage conditional expression of the nth stage on the display interface
Calling a joint condition component to receive the single condition expressions of the (n + 1) th level and combine the single condition expressions into an expression of an n + 1-level joint condition;
wherein n is a natural number of 2 or more.
Further, the method further comprises:
when the single condition configuration component receives a single condition expression input from a display interface, a unique index number is generated for the single condition expression.
Further, after generating the unique index number for the single conditional expression, the method further includes:
recording the parent index number of the single conditional expression corresponding to the index number of the single conditional expression; wherein, the parent level index number is the index number of the single condition expression at the upper level of the single condition expression.
The configuring, by the action configuration module, the action executed after the conditional expression is satisfied in a visualized manner specifically includes:
the action configuration module calls the action configuration component;
the action configuration component supports configuration management of multiple checkbox components, receiving execution methods input from the checkboxes.
Further, the method further comprises:
visually configuring, by an action configuration module, actions performed without satisfying the conditional expression:
the action configuration module calls an else action configuration component;
the else action configuration component supports configuration management of a plurality of selection box components, and receives an execution method input from the selection box.
The invention also provides a visual configuration device of the complex condition rule, which comprises the following components:
the conditional configuration module is used for configuring the conditional expression in a visual and multi-level mode;
and the action configuration module is used for configuring the action executed after the condition expression is satisfied in a visual mode.
The invention also provides an electronic device comprising a central processing unit, a signal processing and storage unit, and a computer program stored on the signal processing and storage unit and executable on the central processing unit, wherein the central processing unit executes a method for visual configuration of complex condition rules as described above.
In the technical scheme of the invention, the conditional expression is configured in a visual and multi-level mode through a conditional configuration module; and visually configuring the action executed after the conditional expression is satisfied through an action configuration module. Specifically, the condition configuration module calls a single condition configuration component, receives a single condition expression of the 1 st level from a display interface, and displays a click key of a next-level condition expression of the 1 st level on the display interface; after receiving the click event of the click button of the next-level conditional expression of the 1 st level, the single condition configuration component calls the joint condition component to receive the single conditional expression of the 2 nd level and combine the single conditional expression into a two-level joint condition expression: the joint condition component displays a logical operator selection box, calls the single condition configuration component to receive a single condition expression of the 2 nd level input from a display interface, and displays a click key of a next-level condition expression of the 2 nd level on the display interface; and after the joint condition component acquires the logical operator input from the logical operator selection box and the single condition expression of the 2 nd level input by the single condition configuration component, connecting the currently received single condition expression of the 2 nd level to the previously received single condition expression of the 1 st level by the logical operator to form the expression of the two-level joint condition.
Therefore, the related rules can be conveniently configured through the visual interface; moreover, the nesting rules of complex rules can be visually expressed well, a large number of if-else statements are not needed to be compiled for judgment, the rules of new requirements can be timely and effectively completed, and the response speed of the new requirements is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of an internal structure of a visualization configuration apparatus for complex condition rules according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for visually configuring a complex condition rule according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for configuring a conditional expression in a visualized and multi-level manner by a conditional configuration module according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a display interface of a visualization configuration of a complex condition rule according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a call relationship between components according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It is to be noted that technical terms or scientific terms used in the embodiments of the present invention should have the ordinary meanings as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
The technical solution of the embodiments of the present invention is described in detail below with reference to the accompanying drawings.
The visualization configuration device for complex condition rules provided by the embodiment of the present invention has an internal structure block diagram as shown in fig. 1, and includes: a condition configuration module 101 and an action configuration module 102;
in addition, the visualization configuration device for the complex condition rule may further include various components called by the module, including: a single condition configuration (ifItem) component, a join condition (ifWrap) component, a checkbox (comCascader) component, an operator (operator) component, a then action configuration (ThenItem) component, and an else action configuration (ElseItem) component.
The conditional configuration module 101 may configure the conditional expression in a manner of invoking the related components to implement visualization and multi-hierarchy.
The action configuration module 102 may configure the action executed after the conditional expression is satisfied in a manner of calling the related components to realize visualization;
further, the action configuration module 102 may also configure visually the actions performed without satisfying the conditional expression.
Based on the above visualization configuration device for complex condition rules, a visualization configuration method for complex condition rules provided in an embodiment of the present invention has a specific flow as shown in fig. 2, and includes the following steps:
step S201: conditional expressions are configured in a visual, multi-hierarchical manner by the conditional configuration module 101.
In this step, the specific method flow of configuring the conditional expression in a visualized and multi-level manner through the conditional configuration module 101, as shown in fig. 3, may include the following sub-steps:
substep S301: the condition configuration module calls a single condition configuration component, receives the single condition expression of the 1 st level from the display interface, and displays a click key of the next-level condition expression of the 1 st level on the display interface.
Specifically, as shown in fig. 4, the condition configuration module calls a single condition configuration component, and the single condition configuration component displays a first selection frame, an operator selection frame and a second selection frame on a display interface by calling a selection frame component and an operator component, receives a parameter/value input from the first selection frame, a comparison operator input from the operator selection frame, and a value/parameter input from the second selection frame, and constructs a single condition expression.
The single condition configuration component may also display click keys of the next level conditional expression of level 1 on the display interface as shown in fig. 4.
Further, as shown in fig. 4, when the single condition configuration component receives a single condition expression input from the display interface, a unique index number is generated for the single condition expression and displayed.
Substep S302: and after receiving the click event of the click button of the next-stage conditional expression of the 1 st stage, the single-condition configuration component calls the joint condition component to receive the single-condition expression of the 2 nd stage and combine the single-condition expression into the expression of the two-stage joint condition.
Specifically, the single condition configuration component calls the joint condition component after receiving a click event of a click button of a next-level conditional expression of level 1; the joint condition component displays a logical operator selection box, calls a single condition configuration component to receive a single condition expression of the 2 nd level input from a display interface, and displays a click key of a next-level condition expression of the 2 nd level on the display interface;
and after the joint condition component acquires the logical operator input from the logical operator selection box and the single condition expression of the 2 nd level input by the single condition configuration component, connecting the currently received single condition expression of the 2 nd level to the previously received single condition expression of the 1 st level by the logical operator to form the expression of the two-level joint condition.
The calling relationship among the components can be as shown in fig. 5, and the input of the multi-level joint conditional expression can be realized through the recursive calling of the components; for example, single-piece expressions at stages 3, 4 … … may also be entered and combined into expressions that are conditional in series 3, 4 … …, thereby enabling entry of multi-stage, nested conditional expressions.
For example, after the single condition configuration component displays the click key of the next-level conditional expression of the nth level on the display interface, if the single condition configuration component receives the click event of the click key of the next-level conditional expression of the nth level, the joint condition component is called to receive the single condition expressions of the (n + 1) th level and combine the single condition expressions into an expression of the n + 1-level cascade combination condition; wherein n is a natural number of 2 or more.
Further, as shown in fig. 4, when the single condition configuration component receives a single conditional expression input from the display interface, after generating a unique index number for the single conditional expression, the index number of the single conditional expression may also be recorded in correspondence with the index number of the single conditional expression; wherein, the parent level index number is the index number of the single condition expression at the upper level of the single condition expression.
Further, as shown in FIG. 4, the single condition configuration component can also generate a hierarchical index for the single condition expression indicating the hierarchy at which the single condition expression resides in the expression of the join condition. By adopting a hierarchical index mode, all conditional hierarchical index relations are unique, and the method has critical and decisive effects on data playback, transmission, addition and deletion.
The aforementioned checkbox assembly may specifically be a composite cascaded checkbox assembly. A composite cascade selection box component supporting four types of pull-down configurations, wherein the supported composite option types include: supporting special operations of the type of method, properties, console printing, text input, etc. Configurable operation and combination granularity is supported. The comCascader component may store all the data structures of the four cascading drop-down options, pulled multiple times at a time.
Step S202: the action executed after the conditional expression is satisfied is configured in a visual manner by the action configuration module 102.
Specifically, the action configuration module 102 may invoke the action configuration component; the action configuration component supports configuration management of multiple checkbox components, receiving execution methods input from the checkboxes. That is, if the condition input in step S201 is satisfied, the execution method input from the selection box is executed. The action configuration component supports operations such as multi-action configuration, addition, deletion of lost and changed, and can combine the configuration management of an infinite combscader component.
Step S203: actions performed without satisfying the conditional expression are visually configured by the action configuration module 102.
Specifically, the action configuration module 102 may also invoke a else action configuration component; the else action configuration component supports configuration management of a plurality of selection box components, and receives an execution method input from the selection box. That is, if the condition input in step S201 is not satisfied, the execution method input from the selection box is executed. Otherwise, the action configuration component supports operations of multi-action configuration, addition, deletion, lost and modified and the like, and can combine the configuration management of an infinite combscader component.
Further, as shown in fig. 1, the visualization configuration apparatus for complex condition rules may further include: an execution file generation module 103, and a rule header (rulesfeader) component.
After the execution file generating module 103 calls a rule header (rulesfeader) component, the rule header (rulesfeader) component can perform visual configuration management on information such as name, effective time, failure time, remark and the like on a rule formed by a condition expression configured by the condition configuration module 101 and an executed action configured by the action configuration module 102, and support configuration calling and data echo transmission; furthermore, the execution file generation module 103 assembles the conditional expressions configured by the conditional configuration module 101 and the executed actions configured by the action configuration module 102 into executable json (JavaScript object notation) files according to the json templates defined earlier, thereby generating execution files; and further saving the generated execution file in a database. For example, the execution file for the sales rule may be saved in a database of the corresponding risky + region.
The configured conditional expressions, execution methods, generated index numbers, execution files and the like can be used as global data vuex (a state management mode) to be stored globally, actions (a set of asynchronous data processing method sets) and events (a set of synchronous data processing method sets) are used for view triggering actions, and the actions trigger the events to update the data model.
Further, as shown in fig. 1, the visualization configuration apparatus for complex condition rules may further include: a rule execution module 104.
The rule execution module 104 is configured to receive a parameter value input from the display interface, and find out an execution file that is already stored, that is, an executable json file, from the database; and then executing the execution file according to the currently received parameter value. In this way, real-time execution of configured rules can be achieved.
Fig. 6 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the visual configuration method for complex condition rules provided in the embodiments of the present specification.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module, and can be connected with a nonlinear receiver to receive information from the nonlinear receiver, so as to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
In the technical scheme of the invention, the conditional expression is configured in a visual and multi-level mode through a conditional configuration module; and visually configuring the action executed after the conditional expression is satisfied through an action configuration module. Specifically, the condition configuration module calls a single condition configuration component, receives a single condition expression of the 1 st level from a display interface, and displays a click key of a next-level condition expression of the 1 st level on the display interface; after receiving the click event of the click button of the next-level conditional expression of the 1 st level, the single condition configuration component calls the joint condition component to receive the single conditional expression of the 2 nd level and combine the single conditional expression into a two-level joint condition expression: the joint condition component displays a logical operator selection box, calls the single condition configuration component to receive a single condition expression of the 2 nd level input from a display interface, and displays a click key of a next-level condition expression of the 2 nd level on the display interface; and after the joint condition component acquires the logical operator input from the logical operator selection box and the single condition expression of the 2 nd level input by the single condition configuration component, connecting the currently received single condition expression of the 2 nd level to the previously received single condition expression of the 1 st level by the logical operator to form the expression of the two-level joint condition.
Therefore, the related rules can be conveniently configured through the visual interface; moreover, the nesting rules of complex rules can be visually expressed well, a large number of if-else statements are not needed to be compiled for judgment, the rules of new requirements can be timely and effectively completed, and the response speed of the new requirements is improved.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A visual configuration method for complex condition rules is characterized by comprising the following steps:
configuring a conditional expression in a visual and multi-level mode through a conditional configuration module;
and visually configuring the action executed after the conditional expression is satisfied through an action configuration module.
2. The method according to claim 1, wherein the configuring, by the conditional configuration module, the conditional expression in a visualized, multi-level manner includes:
the condition configuration module calls a single condition configuration component, receives a single condition expression of the 1 st level from a display interface, and displays a click key of a next-level condition expression of the 1 st level on the display interface;
after receiving the click event of the click button of the next-level conditional expression of the 1 st level, the single condition configuration component calls the joint condition component to receive the single conditional expression of the 2 nd level and combine the single conditional expression into a two-level joint condition expression:
the joint condition component displays a logical operator selection box, calls the single condition configuration component to receive a single condition expression of the 2 nd level input from a display interface, and displays a click key of a next-level condition expression of the 2 nd level on the display interface;
and after the joint condition component acquires the logical operator input from the logical operator selection box and the single condition expression of the 2 nd level input by the single condition configuration component, connecting the currently received single condition expression of the 2 nd level to the previously received single condition expression of the 1 st level by the logical operator to form the expression of the two-level joint condition.
3. The method of claim 2, wherein the single condition configuration component receives a single conditional expression input from a display interface, and in particular comprises:
the single condition configuration component displays a first selection frame, an operator selection frame and a second selection frame on a display interface by calling the selection frame component and the operator component, receives parameters/values input from the first selection frame, compares operators input from the operator selection frame and values/parameters input from the second selection frame to form a single condition expression.
4. The method of claim 2, wherein configuring, by a conditional configuration module, conditional expressions in a visual, multi-level manner further comprises:
after the single condition configuration component displays the click key of the next-stage conditional expression of the nth stage on the display interface, if the single condition configuration component receives the click event of the click key of the next-stage conditional expression of the nth stage, the single condition configuration component displays the click key of the next-stage conditional expression of the nth stage on the display interface
Calling a joint condition component to receive the single condition expressions of the (n + 1) th level and combine the single condition expressions into an expression of an n + 1-level joint condition;
wherein n is a natural number of 2 or more.
5. The method of any of claims 2-4, further comprising:
when the single condition configuration component receives a single condition expression input from a display interface, a unique index number is generated for the single condition expression.
6. The method of claim 5, further comprising, after said generating a unique index number for the single conditional expression:
recording the parent index number of the single conditional expression corresponding to the index number of the single conditional expression; wherein, the parent level index number is the index number of the single condition expression at the upper level of the single condition expression.
7. The method according to claim 1, wherein the visually configuring, by the action configuration module, the action performed after the conditional expression is satisfied includes:
the action configuration module calls the action configuration component;
the action configuration component supports configuration management of multiple checkbox components, receiving execution methods input from the checkboxes.
8. The method of claim 7, further comprising:
visually configuring, by an action configuration module, actions performed without satisfying the conditional expression:
the action configuration module calls an else action configuration component;
the else action configuration component supports configuration management of a plurality of selection box components, and receives an execution method input from the selection box.
9. A visual configuration device for complex condition rules is characterized by comprising:
the conditional configuration module is used for configuring the conditional expression in a visual and multi-level mode;
and the action configuration module is used for configuring the action executed after the condition expression is satisfied in a visual mode.
10. An electronic device comprising a central processing unit, a signal processing and storage unit, and a computer program stored on the signal processing and storage unit and executable on the central processing unit, characterized in that the central processing unit implements the method according to any of claims 1-8 when executing the program.
CN202011262896.2A 2020-11-12 2020-11-12 Visual configuration method and device for complex condition rules Pending CN112395268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011262896.2A CN112395268A (en) 2020-11-12 2020-11-12 Visual configuration method and device for complex condition rules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011262896.2A CN112395268A (en) 2020-11-12 2020-11-12 Visual configuration method and device for complex condition rules

Publications (1)

Publication Number Publication Date
CN112395268A true CN112395268A (en) 2021-02-23

Family

ID=74599908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011262896.2A Pending CN112395268A (en) 2020-11-12 2020-11-12 Visual configuration method and device for complex condition rules

Country Status (1)

Country Link
CN (1) CN112395268A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190231A (en) * 2021-04-09 2021-07-30 大唐微电子技术有限公司 Attribute configuration file generation method and attribute configuration file analysis method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086051A (en) * 2008-09-29 2010-04-15 Nikkei Research Inc Logical expression input device and logical expression visualization device
US20100162210A1 (en) * 2008-12-22 2010-06-24 International Business Machines Corporation Visual Editor for Editing Complex Expressions
US20120254832A1 (en) * 2011-03-31 2012-10-04 Naima Aman Expression editor system
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
US20170147981A1 (en) * 2015-11-24 2017-05-25 Ariba, Inc. In-memory index for evaluating a complex expression
CN106933889A (en) * 2015-12-31 2017-07-07 华为技术有限公司 For regular collocation method, display methods and the client screened
CN109144374A (en) * 2018-09-27 2019-01-04 范若愚 Method for processing business, system and relevant device based on visualization regulation engine
CN110187874A (en) * 2019-05-13 2019-08-30 第四范式(北京)技术有限公司 A kind of regular configuration method executed in computer equipment and device
CN110908640A (en) * 2019-11-26 2020-03-24 京东数字科技控股有限公司 Method for realizing service function and script engine

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086051A (en) * 2008-09-29 2010-04-15 Nikkei Research Inc Logical expression input device and logical expression visualization device
US20100162210A1 (en) * 2008-12-22 2010-06-24 International Business Machines Corporation Visual Editor for Editing Complex Expressions
US20120254832A1 (en) * 2011-03-31 2012-10-04 Naima Aman Expression editor system
CN103577174A (en) * 2012-08-01 2014-02-12 北京奥鹏远程教育中心有限公司 Visualized generation method and system of calculation rule scripts
US20170147981A1 (en) * 2015-11-24 2017-05-25 Ariba, Inc. In-memory index for evaluating a complex expression
CN106933889A (en) * 2015-12-31 2017-07-07 华为技术有限公司 For regular collocation method, display methods and the client screened
CN109144374A (en) * 2018-09-27 2019-01-04 范若愚 Method for processing business, system and relevant device based on visualization regulation engine
CN110187874A (en) * 2019-05-13 2019-08-30 第四范式(北京)技术有限公司 A kind of regular configuration method executed in computer equipment and device
CN110908640A (en) * 2019-11-26 2020-03-24 京东数字科技控股有限公司 Method for realizing service function and script engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190231A (en) * 2021-04-09 2021-07-30 大唐微电子技术有限公司 Attribute configuration file generation method and attribute configuration file analysis method

Similar Documents

Publication Publication Date Title
CN109324791B (en) Financial self-service terminal business process development method and device and terminal equipment
WO2015143416A1 (en) Systems and methods for developing and using real-time data applications
CN110502227B (en) Code complement method and device, storage medium and electronic equipment
CN112015739A (en) Data verification and data query method and device
CN111475162A (en) Page generation method, device, server and storage medium
CN112214210A (en) Logistics business rule engine and configuration method, device, equipment and storage medium thereof
CN101416143A (en) User interface morph based on permissions
CN114077430A (en) Interface generation method and device, electronic equipment and storage medium
CN110704394B (en) Report configuration modification method and device
CN112395268A (en) Visual configuration method and device for complex condition rules
CN111078228A (en) Method and device for converting webpage into small program, server and storage medium
CN111338626B (en) Interface rendering method and device, electronic equipment and medium
CN113656533A (en) Tree control processing method and device and electronic equipment
JP2018112919A (en) Test input information retrieval apparatus and method
CN115758004A (en) Webpage table display method and device, computer readable medium and electronic equipment
CN110046237B (en) Conversational interactive processing method and device
CN115098568A (en) Data processing method, apparatus, device, medium, and program product
CN107239270B (en) Code processing method and device
CN112988139B (en) Method and device for developing event processing file
CN111143464B (en) Data acquisition method and device and electronic equipment
CN113703638A (en) Data management page processing method and device, electronic equipment and storage medium
CN112596781A (en) Service execution and service configuration method and device
CN113312025A (en) Component library generation method and device, storage medium and electronic equipment
WO2016011248A1 (en) Systems and methods for generating an interactive user interface from a database
CN111125565A (en) Method and equipment for inputting information in application

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