CN110941419B - Operation configuration implementation method and system based on rule engine - Google Patents
Operation configuration implementation method and system based on rule engine Download PDFInfo
- Publication number
- CN110941419B CN110941419B CN201911198964.0A CN201911198964A CN110941419B CN 110941419 B CN110941419 B CN 110941419B CN 201911198964 A CN201911198964 A CN 201911198964A CN 110941419 B CN110941419 B CN 110941419B
- Authority
- CN
- China
- Prior art keywords
- rule
- service
- rule engine
- engine
- content
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides an operation configuration implementation method and system based on a rule engine. The method comprises the following steps: the rule processing interface of the rule engine receives the service data sent by the client, acquires the corresponding rule content according to the rule name of the service data, and loads the rule content into the current memory; the method comprises the steps of initiating a request to other service modules through service personnel key information corresponding to service data to acquire other associated information of a user; the rule processing interface recombines the rule content and other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result; pushing the execution result to the message queue, and returning the execution result to the client. According to the embodiment of the invention, the rule engine is integrated in enterprise-level application development, the business judgment is converted into the rule condition, and the traditional fixed code judgment is converted into the dynamic rule loading mode, so that the development efficiency is improved, and the operation and maintenance cost is reduced.
Description
Technical Field
The invention relates to the technical field of web application development, and in particular, to a method and system for implementing rule engine-based operation configuration.
Background
In the current enterprise-level development process, most project groups adopt agile development models to manage the product process, and compared with non-agile development, close collaboration and face-to-face communication between programmers and business specialists are emphasized more effectively and frequently compared with written documents, new software versions, compact and self-organizing team, code writing and team organization methods capable of adapting to requirement changes well are considered to be more effective, and the role of people in software development is also emphasized more.
The product manager can adjust the functions of the product according to the actual situation and the requirements of market operation, most of the functions are changed into some business combination rules, the code development stage becomes to develop repeated codes, the development efficiency is very low, the system is difficult to optimize fundamentally, and the maintenance cost is high.
Therefore, a new rule configuration-based method is needed to be proposed, which can simplify the development process.
Disclosure of Invention
The embodiment of the invention provides an operation configuration implementation method and system based on a rule engine, which are used for solving the problem that the efficiency is low due to repeated development workload when the requirement is changed or the function is adjusted when code development is performed in the prior art.
In a first aspect, an embodiment of the present invention provides a rule engine-based operation configuration implementation method, including:
a rule processing interface of a rule engine receives service data sent by a client, acquires corresponding rule content according to a rule name of the service data, and loads the rule content into a current memory;
the service personnel key information corresponding to the service data is used for initiating a request to other service modules to acquire other associated information of the user;
the rule processing interface recombines the rule content and the other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result;
pushing the execution result to a message queue, and returning the execution result to the client.
Preferably, the service processing object has a code format of a Java Bean standard, and the service processing object is subjected to serialization processing.
Preferably, the rule contents include conditions and execution; wherein:
the conditions comprise judging the attribute of the business processing object;
the executing comprises executing a service interface provided by a back end;
the rule content is stored in a disk as an entity file or in a database as a character stream field.
Preferably, the rule content further includes:
and the back end converts the rule content into a preset format for the rule engine to execute.
Preferably, the rule engine further comprises a request and a response, and both the request and the response adopt JSON format to transmit the business processing object and the rule content; the request employs a POST method.
Preferably, the response comprises a response message node, and the response message node comprises a response code, response information and response data;
correspondingly, the success or failure of the rule engine execution has a unified preset response code.
Preferably, the rule processing interface of the rule engine receives service data sent by the client, and specifically includes:
a rule processing interface for executing the rule engine by adopting concurrent calling rules receives service data sent by a client;
the concurrent calling rule is realized in a multithreading mode, and the multithreading adopts multiplexing and a thread pool mechanism;
correspondingly, the obtaining the corresponding rule content according to the rule name of the service data, and loading the rule content into the current memory includes:
and a plurality of threads in the multithreading acquire the existing rule, and the threads are mutually independent.
In a second aspect, an embodiment of the present invention provides a rule engine-based operation configuration implementation system, including:
the first acquisition module is used for receiving service data sent by a client by a rule processing interface of the rule engine, acquiring corresponding rule content according to a rule name of the service data, and loading the rule content into a current memory;
the second acquisition module is used for initiating a request to other service modules through the service personnel key information corresponding to the service data to acquire other associated information of the user;
the construction module is used for recombining the rule content and the other associated information by the rule processing interface, constructing a service processing object, and pushing the service processing object to the rule engine for rule matching to obtain an execution result;
and the pushing return module is used for pushing the execution result to a message queue and returning the execution result to the client.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the rule engine based operation configuration implementation methods when the program is executed.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the rule engine based operation configuration implementation methods.
According to the operation configuration implementation method and system based on the rule engine, the rule engine is integrated in enterprise-level application development, business judgment is converted into rule conditions, business data is used as data input, and the conventional fixed code judgment is converted into a dynamic rule loading mode, so that development efficiency is improved, and operation and maintenance cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a prior art enterprise application development;
FIG. 2 is a schematic diagram of a rule engine according to an embodiment of the present invention;
FIG. 3 is a flowchart of an implementation method of rule engine-based operation configuration according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an implementation of rule engine-based operation configuration according to an embodiment of the present invention;
FIG. 5 is a block diagram of an operation configuration implementation system based on a rule engine according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the existing development of most enterprise-level applications, as shown in fig. 1, the existing development is generally divided into three layers: a presentation layer, a logical layer, and a persistence layer. The logic layer is responsible for converting the page of the presentation layer and the data structure of the persistence layer, and meanwhile, adds some business related logic processing, and finally, a complete business process is formed. Aiming at the service requirement, a developer carries out a specific service processing method required by code implementation operation on a logic layer.
The rule engine is an inference engine, and is derived from a rule-based expert system, and the rule-based inference mode is to judge the possible occurrence condition as a condition, and perform post-processing according to the judgment result. The rule engine can separate the business decision and the application program realization code, and can load or change the business rule in a business configuration loading mode before inputting business data, so that a dynamic business decision is made, and the execution process is shown in fig. 2. The embodiment of the invention provides an operation configuration implementation method based on a rule engine, which is a mode of fusing the rule engine into a logic layer of enterprise-level application development, converting service judgment into rule conditions, inputting service data as data and converting the conventional fixed code judgment into dynamic rule loading.
Fig. 3 is a flowchart of an operation configuration implementation method based on a rule engine according to an embodiment of the present invention, where, as shown in fig. 3, the method includes:
s1, a rule processing interface of a rule engine receives service data sent by a client, acquires corresponding rule content according to a rule name of the service data, and loads the rule content into a current memory;
s2, initiating a request to other service modules through service personnel key information corresponding to the service data to acquire other associated information of the user;
s3, the rule processing interface recombines the rule content and the other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result;
s4, pushing the execution result to a message queue, and returning the execution result to the client.
Specifically, in step S1, when a client initiates a service processing request, a rule processing interface obtains a connection in an HTTP connection pool through an application server, receives key service data transmitted from the client, and then obtains rule contents in a rule instance pool according to a rule name of the service data and loads the rule contents into a current memory;
in step S2, a request is initiated to other service modules in the system through key information of service personnel of the service data, and other associated information of the user is obtained;
in step S3, the rule processing interface recombines the information acquired by the multiple parties, and after the business data object is constructed, the data is pushed to the rule engine for rule matching, so as to obtain an execution result;
in step S4, the execution result is pushed to the message queue, and the execution result is returned to the client.
According to the embodiment of the invention, the rule engine is integrated in enterprise-level application development, the business judgment is converted into the rule condition, the business data is used as data input, and the conventional fixed code judgment is converted into the dynamic rule loading mode, so that the development efficiency is improved, and the operation and maintenance cost is reduced.
Based on the above embodiment, the service processing object has a code format of Java Bean standard, and the service processing object is subjected to serialization processing.
Specifically, the business process objects executed by the rule engine are in the code format of the Java Bean standard, and then the business process objects can be serialized.
Based on any of the above embodiments, the rule content includes conditions and execution; wherein:
the conditions comprise judging the attribute of the business processing object;
the executing comprises executing a service interface provided by a back end;
the rule content is stored in a disk as an entity file or in a database as a character stream field.
Specifically, the rule executed may be divided into a condition and an execution, the condition part may determine the attribute of the service processing object, and the execution part may execute the service interface provided by the back end, where the rule is stored in the database as an entity file in a disk or character stream field.
According to the embodiment of the invention, the rules are split into the conditions and the execution, so that the respective business functions are realized, the judging and executing function attributes are effectively distinguished, and the development efficiency is improved conveniently.
Based on any of the above embodiments, the rule content further includes:
and the back end converts the rule content into a preset format for the rule engine to execute.
Specifically, the backend converts the business rules into the content format required by the rules engine according to the actual requirements.
According to the embodiment of the invention, the service rules are adapted to the rule engine through the rear end according to the actual service requirements, so that the service rules can be better identified and executed in the rule engine.
Based on any of the above embodiments, the rule engine further includes a request and a response, both of which use JSON format to transmit the business process object and the rule content; the request employs a POST method.
Specifically, the rule engine contains a request and a response, the request and the response adopt a data format transmission service processing object in a JSON format, the JSON format is also adopted for rule transmission, the request adopts a POST method, and the POST transmits data to a server, so that the security is high.
The embodiment of the invention adopts the universal format and the transmission method to request and respond the rules, thereby improving the universality of service data processing.
Based on any one of the above embodiments, the response includes a response message node, where the response message node includes a response code, response information, and response data;
correspondingly, the success or failure of the rule engine execution has a unified preset response code.
Specifically, the main nodes of the response message in the response comprise response codes, response information msg and response data, and meanwhile, whether the rule execution is successful or not has uniform response codes for the client to identify.
Based on any one of the above embodiments, the rule processing interface of the rule engine receives service data sent by the client, and specifically includes:
a rule processing interface for executing the rule engine by adopting concurrent calling rules receives service data sent by a client;
the concurrent calling rule is realized in a multithreading mode, and the multithreading adopts multiplexing and a thread pool mechanism;
correspondingly, the obtaining the corresponding rule content according to the rule name of the service data, and loading the rule content into the current memory includes:
and a plurality of threads in the multithreading acquire the existing rule, and the threads are mutually independent.
Specifically, the concurrent calling rule uses a multithreading mode, wherein threads can be multiplexed, a thread pool mechanism is adopted, when the rule is started, the threads are loaded into a memory, and different threads can acquire the existing rule without interfering with each other.
The embodiment of the invention effectively improves the thread processing efficiency and accelerates the rule processing response speed by adopting the concurrent processing mechanism.
The embodiment of the invention provides a front-end operation configuration mode. The front end builds rule information in JSON format according to service requirement. After the back end receives the parameters, the data is converted into a data format corresponding to the rule engine, and then the data is stored in a database, and the corresponding data time is updated. Secondly, when the rule execution engine provided by the embodiment of the invention is started, all available business rules are directly loaded into the memory. The rule engine acquires HTTP connection through the application container, the rule processing method firstly acquires service data, then acquires associated complete service data through other interfaces, and performs rule matching according to the subscribed rules after integration. After the matching is completed, pushing the obtained service condition to a message queue for other service links to continue processing.
The following describes the technical solution in the embodiment of the present invention by taking a specific member subscription activity scenario as an example, as shown in fig. 4:
when a client initiates a service processing request, a rule processing interface acquires connection in an HTTP connection pool through an application server, receives key service data transmitted by the client, acquires rule contents in a rule instance pool according to rule names of the service data and loads the rule contents into a current memory, and then initiates requests to other service modules in a system through key information of service personnel of the service data to acquire other associated information of a user. The rule processing interface recombines the information acquired by the multiple parties, pushes the data to the rule engine for rule matching after constructing the business data object, pushes the obtained result content to the message queue, and returns the execution result information to the client.
The business rules stored by the method are as follows:
rule 'gold card member monthly rewarding rule'
The rule processing object initialization code is as follows:
the execution code is as follows:
the embodiment of the invention realizes that the product manager can directly carry out service combination configuration according to the change of own service without intervening development links, and the developer and the service manager can concentrate on the related parts, thereby improving the working efficiency and reducing the maintenance cost.
Fig. 5 is a structural diagram of an operation configuration implementation system based on a rule engine according to an embodiment of the present invention, as shown in fig. 5, including: a first acquisition module 51, a second acquisition module 52, a construction module 53 and a push return module 54; wherein:
the first obtaining module 51 is configured to receive service data sent by a client through a rule processing interface of a rule engine, obtain corresponding rule content according to a rule name of the service data, and load the rule content into a current memory; the second obtaining module 52 is configured to initiate a request to other service modules through service personnel key information corresponding to the service data, and obtain other associated information of the user; the construction module 53 is configured to recombine the rule content and the other associated information by using the rule processing interface, construct a service processing object, and push the service processing object to the rule engine for rule matching, so as to obtain an execution result; the push return module 54 is configured to push the execution result to a message queue, and return the execution result to the client.
According to the embodiment of the invention, the rule engine is integrated in enterprise-level application development, the business judgment is converted into the rule condition, the business data is used as data input, and the conventional fixed code judgment is converted into the dynamic rule loading mode, so that the development efficiency is improved, and the operation and maintenance cost is reduced.
Based on any one of the above embodiments, the service processing object has a code format of Java Bean standard, and the service processing object is serialized.
Based on any of the above embodiments, the rule content includes conditions and execution; wherein:
the conditions comprise judging the attribute of the business processing object;
the executing comprises executing a service interface provided by a back end;
the rule content is stored in a disk as an entity file or in a database as a character stream field.
According to the embodiment of the invention, the rules are split into the conditions and the execution, so that the respective business functions are realized, the judging and executing function attributes are effectively distinguished, and the development efficiency is improved conveniently.
Based on any of the above embodiments, the rule content further includes:
and the back end converts the rule content into a preset format for the rule engine to execute.
According to the embodiment of the invention, the service rules are adapted to the rule engine through the rear end according to the actual service requirements, so that the service rules can be better identified and executed in the rule engine.
Based on any of the above embodiments, the rule engine further includes a request and a response, both of which use JSON format to transmit the business process object and the rule content; the request employs a POST method.
The embodiment of the invention adopts the universal format and the transmission method to request and respond the rules, thereby improving the universality of service data processing.
Based on any one of the above embodiments, the response includes a response message node, where the response message node includes a response code, response information, and response data;
correspondingly, the success or failure of the rule engine execution has a unified preset response code.
Based on any one of the above embodiments, the rule processing interface of the rule engine receives service data sent by the client, and specifically includes:
a rule processing interface for executing the rule engine by adopting concurrent calling rules receives service data sent by a client;
the concurrent calling rule is realized in a multithreading mode, and the multithreading adopts multiplexing and a thread pool mechanism;
correspondingly, the obtaining the corresponding rule content according to the rule name of the service data, and loading the rule content into the current memory includes:
and a plurality of threads in the multithreading acquire the existing rule, and the threads are mutually independent.
The embodiment of the invention effectively improves the thread processing efficiency and accelerates the rule processing response speed by adopting the concurrent processing mechanism.
Fig. 6 illustrates a physical schematic diagram of an electronic device, as shown in fig. 6, which may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may call logic instructions in the memory 630 to perform the following methods: a rule processing interface of a rule engine receives service data sent by a client, acquires corresponding rule content according to a rule name of the service data, and loads the rule content into a current memory; the service personnel key information corresponding to the service data is used for initiating a request to other service modules to acquire other associated information of the user; the rule processing interface recombines the rule content and the other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result; pushing the execution result to a message queue, and returning the execution result to the client.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present invention further provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the transmission method provided in the above embodiments, for example, including: a rule processing interface of a rule engine receives service data sent by a client, acquires corresponding rule content according to a rule name of the service data, and loads the rule content into a current memory; the service personnel key information corresponding to the service data is used for initiating a request to other service modules to acquire other associated information of the user; the rule processing interface recombines the rule content and the other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result; pushing the execution result to a message queue, and returning the execution result to the client.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. An operation configuration implementation method based on a rule engine is characterized by comprising the following steps:
a rule processing interface of a rule engine receives service data sent by a client, acquires corresponding rule content according to a rule name of the service data, and loads the rule content into a current memory;
the service personnel key information corresponding to the service data is used for initiating a request to other service modules to acquire other associated information of the user;
the rule processing interface recombines the rule content and the other associated information to construct a service processing object, and the service processing object is pushed to the rule engine for rule matching to obtain an execution result;
pushing the execution result to a message queue, and returning the execution result to the client;
the rule content includes conditions and execution; wherein:
the conditions comprise judging the attribute of the business processing object;
the executing includes executing a service interface provided by the back-end.
2. The rule engine-based operation configuration implementation method according to claim 1, wherein the service processing object has a code format of Java Bean standard, and the service processing object is subjected to serialization processing.
3. A method of implementing rule engine based operation configuration according to claim 1 or 2, wherein the rule content is stored in a disk as an entity file or in a database as a character stream field.
4. The rule engine-based operation configuration implementation method according to claim 3, wherein the rule content further comprises:
and the back end converts the rule content into a preset format for the rule engine to execute.
5. The rule engine-based operation configuration implementation method according to claim 1, wherein the rule engine further comprises a request and a response, both of which transmit the service processing object and the rule content in JSON format; the request employs a POST method.
6. The rule engine-based operation configuration implementation method according to claim 5, wherein the response includes a response message node, the response message node including a response code, response information, and response data;
correspondingly, the success or failure of the rule engine execution has a unified preset response code.
7. The method for implementing operation configuration based on a rule engine according to claim 1, wherein the rule processing interface of the rule engine receives service data sent by a client, specifically comprising:
a rule processing interface for executing the rule engine by adopting concurrent calling rules receives service data sent by a client;
the concurrent calling rule is realized in a multithreading mode, and the multithreading adopts multiplexing and a thread pool mechanism;
correspondingly, the obtaining the corresponding rule content according to the rule name of the service data, and loading the rule content into the current memory includes:
and a plurality of threads in the multithreading acquire the existing rule, and the threads are mutually independent.
8. An operation configuration implementation system based on a rule engine, comprising:
the first acquisition module is used for receiving service data sent by a client by a rule processing interface of the rule engine, acquiring corresponding rule content according to a rule name of the service data, and loading the rule content into a current memory;
the second acquisition module is used for initiating a request to other service modules through the service personnel key information corresponding to the service data to acquire other associated information of the user;
the construction module is used for recombining the rule content and the other associated information by the rule processing interface, constructing a service processing object, and pushing the service processing object to the rule engine for rule matching to obtain an execution result;
the pushing return module is used for pushing the execution result to a message queue and returning the execution result to the client;
the rule content includes conditions and execution; wherein:
the conditions comprise judging the attribute of the business processing object;
the executing includes executing a service interface provided by the back-end.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the rule engine based operation configuration implementation method according to any of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the rule engine based operation configuration implementation method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911198964.0A CN110941419B (en) | 2019-11-27 | 2019-11-27 | Operation configuration implementation method and system based on rule engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911198964.0A CN110941419B (en) | 2019-11-27 | 2019-11-27 | Operation configuration implementation method and system based on rule engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110941419A CN110941419A (en) | 2020-03-31 |
CN110941419B true CN110941419B (en) | 2023-06-23 |
Family
ID=69909467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911198964.0A Active CN110941419B (en) | 2019-11-27 | 2019-11-27 | Operation configuration implementation method and system based on rule engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110941419B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475169A (en) * | 2020-04-13 | 2020-07-31 | 上海鸿翼软件技术股份有限公司 | Business execution method, device, equipment and medium based on business rules |
CN111639101B (en) * | 2020-04-27 | 2022-12-06 | 浙江时空道宇科技有限公司 | Method, device and system for correlating rule engine system of internet of things and storage medium |
CN111782262B (en) * | 2020-06-30 | 2024-05-14 | 深圳赛安特技术服务有限公司 | Data dynamic publishing method, device, system, equipment and storage medium |
CN112464620A (en) * | 2020-09-23 | 2021-03-09 | 航天信息股份有限公司企业服务分公司 | Implementation method and implementation system of financial rule engine |
CN112632046A (en) * | 2020-12-01 | 2021-04-09 | 天翼物联科技有限公司 | Cloud rule engine implementation method, system, device and medium |
CN112929335B (en) * | 2021-01-20 | 2022-09-06 | 号百信息服务有限公司 | Flexible configuration-based baseband signaling filtering system and method |
CN112860742A (en) * | 2021-01-25 | 2021-05-28 | 广州华多网络科技有限公司 | Centralized rule engine service calling and controlling method, device, equipment and medium |
CN112988814B (en) * | 2021-03-16 | 2022-02-08 | 北京时代凌宇信息技术有限公司 | System and method for realizing rule engine of flood control internet of things sensing equipment |
CN113076502A (en) * | 2021-04-23 | 2021-07-06 | 南京始云网络科技有限公司 | Parameter control method and system based on request identification |
CN113537925A (en) * | 2021-06-25 | 2021-10-22 | 杭州群核信息技术有限公司 | Information processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7984513B1 (en) * | 2005-02-09 | 2011-07-19 | Liquid Machines, Inc. | Method and system for using a rules engine for enforcing access and usage policies in rights-aware applications |
CN103927174A (en) * | 2014-04-17 | 2014-07-16 | 北京视博数字电视科技有限公司 | Service processing method and device |
WO2019179056A1 (en) * | 2018-03-18 | 2019-09-26 | 平安科技(深圳)有限公司 | Configurable system and method based on rule engine, device, and storage medium |
-
2019
- 2019-11-27 CN CN201911198964.0A patent/CN110941419B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7984513B1 (en) * | 2005-02-09 | 2011-07-19 | Liquid Machines, Inc. | Method and system for using a rules engine for enforcing access and usage policies in rights-aware applications |
CN103927174A (en) * | 2014-04-17 | 2014-07-16 | 北京视博数字电视科技有限公司 | Service processing method and device |
WO2019179056A1 (en) * | 2018-03-18 | 2019-09-26 | 平安科技(深圳)有限公司 | Configurable system and method based on rule engine, device, and storage medium |
Non-Patent Citations (1)
Title |
---|
陶晓俊 ; 朱敏 ; .基于规则引擎的企业服务开发模式.计算机技术与发展.2008,(02),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110941419A (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110941419B (en) | Operation configuration implementation method and system based on rule engine | |
CN112118565B (en) | Multi-tenant service gray level publishing method, device, computer equipment and storage medium | |
KR102268989B1 (en) | Data structure pooling of voice activated data packets | |
KR102121159B1 (en) | Event-driven blockchain workflow processing | |
US9077717B2 (en) | Propagation and adoption of extensions across applications in networked solutions | |
US7984443B2 (en) | System and method for normalizing job properties | |
CN107656783A (en) | A kind of flow path processing method and system based on event | |
US10417248B2 (en) | Field extension in database system | |
CN109104336A (en) | Service request processing method, device, computer equipment and storage medium | |
US20120016999A1 (en) | Context for Sharing Data Objects | |
CN103038788A (en) | Provisioning multiple network resources | |
US8418074B2 (en) | Shared user interface services framework | |
US10102239B2 (en) | Application event bridge | |
US11689626B2 (en) | Transport channel via web socket for ODATA | |
CN107682658A (en) | A kind of video pays a return visit method, equipment and storage medium | |
US10108473B2 (en) | System and method for automatic error classification in integration systems | |
US20210256533A1 (en) | Predicting modeling and analytics integration platform | |
FR3069350B1 (en) | SECURE PRINTING SERVICE VIA A COMMUNICATION NETWORK ON ANY PRINTING EQUIPMENT BELONGING TO A GROUP OF INDEPENDENT PRINTING EQUIPMENTS | |
US11797271B2 (en) | Dynamic web-based integrated development environment | |
US8719335B2 (en) | Framework for development of integration adapters that surface non-static, type-safe service contracts to LOB systems | |
US20220129332A1 (en) | Handling of Metadata for Microservices Processing | |
EP3813329A2 (en) | Methods, apparatuses and systems for integrating and managing automated dataflow systems | |
CN110740151A (en) | micro-service adjusting method, device, server and computer storage medium | |
US20240184914A1 (en) | Multiple synonymous identifiers in data privacy integration protocols | |
US9946737B2 (en) | System and method for simplifying data access between tiers in a multi-tier system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |