Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rule creating method and system

A technology of rules and templates, applied in the field of rule creation methods and systems, can solve problems such as low work efficiency, and achieve the effect of improving work efficiency and speed

Inactive Publication Date: 2014-05-14
YGSOFT INC
View PDF6 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present application provides a method and system for creating rules, which are used to solve the problem of low work efficiency in the prior art when the rules need to be modified and the code can only be modified on site by developers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rule creating method and system
  • Rule creating method and system
  • Rule creating method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] see figure 1 , figure 1 It is a flow chart of a rule creation method disclosed in the embodiment of this application.

[0055] Such as figure 1 As shown, the method includes:

[0056] Step 101: Develop multiple general rule templates according to various businesses;

[0057] Specifically, a template is an abstract rule based on the same or similar business. Template development can be developed by the platform or developers according to the scope of application or business scenarios. More general rule templates can be found in figure 2 , figure 2 It is a schematic diagram of various rule templates disclosed in the embodiment of this application, such as figure 2 As shown, the developed general rule templates may include multiple general templates such as: multiple items cannot be empty, items are less than a certain value, cancel page item read-only, interface element display, and so on.

[0058] Step 102: Presetting the rule template into the enterprise manage...

Embodiment 2

[0068] see image 3 , image 3 It is a flow chart of a rule template development method disclosed in the embodiment of this application.

[0069] Such as image 3 As shown, the method includes:

[0070] Step 301: Establish rule types and rule variables on the ECP platform;

[0071] Step 302: Establish rule conditions and corresponding trigger conditions;

[0072] Step 303: Establish rule behavior;

[0073] Specifically, the rule behavior is the action corresponding to the application scenario. The behavior needs to be configured when it is applied, and then bound to the process, so that the verification of this rule is automatically triggered when the form data is transferred.

[0074] Step 304: Create a rule template.

[0075] Specifically, a rule template is created according to the rule type, the rule variable, the rule condition, the trigger condition, and the rule behavior.

Embodiment 3

[0077] This embodiment introduces in detail the process of configuring a rule according to a rule template on the ECP platform.

[0078] Any rule requires a player business model. According to the attributes of the business model, call the corresponding rule template, configure the basic information and related parameters of the rule template, and define related rules. Some business models may correspond to multiple rule templates at the same time. At this time, multiple rule templates are called and combined to form a complete rule condition.

[0079] When configuring, we use the form of interface, and the visual rule configuration can describe the business logic more clearly.

[0080] When configuring rules, you can create rules based on models or interface elements based on common entities (including forms, objects, custom services, etc.). Specifically, first select the form that needs to be logically controlled, configure the form items, then configure the rules according...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a rule creating method. The method includes: developing multiple universal rule templates according to various different services, and presetting the rule templates into an enterprise management cloud platform ECP; configuring rules on the ECP according to the rule templates; and storing the configured rules into a rule base. By the rule creating method, since the various universal rule templates are developed in advance, rule configuration is performed on the rule templates on the ECP in the rule creating process, developers need not to write codes in the process, and implementation personnel can complete the process; moreover, if the rulers need to be revised, the rule templates are reconfigured through the implementation personnel, so that rule creating speed is increased greatly in field application, and working efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of enterprise information management systems, and more specifically, relates to a rule creation method and system. Background technique [0002] In the traditional enterprise service application development mode, the business logic is directly solidified in the application code, which makes the maintenance of the application complex and expensive. Changing business rules and business processes always cause frequent modification of the application, and even design To solve this problem requires a new development model. [0003] An open-source rule engine is introduced in the prior art to separate business rules from application program codes, reducing the degree of coupling between program codes. The open source rule engine is a component nested in the application, which separates the business rules from the application code. It uses a specific syntax to write business rules, accepts data input, in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 韩军
Owner YGSOFT INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products