Rule logic operating method and apparatus
By pre-merging and pre-compiling the rule logic code and result acquisition code at the start of the rule engine, the problem of low compilation efficiency of the rule engine at runtime in the prior art is solved, and more efficient rule logic operation is achieved.
Patent Information
- Application Number
- PCT/CN2024/091173
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-08
- Filing Date
- 2024-05-06
- Publication Date
- 2024-11-14
AI Technical Summary
The existing rule engine needs to compile code when running rule logic, which leads to reduced efficiency in complex logic and needs to be carried out simultaneously while running and compiling, which increases the burden.
When the rule engine starts, the rule logic code and result acquisition code are pre-read and merged, and pre-compiled through the specified interface, and the compiled object code is generated and run, avoiding the additional compilation process at runtime.
It improves the running efficiency of rule logic, reduces the compilation time at startup, and improves the performance of the system.
Smart Images

Figure CN2024091173_14112024_PF_FP_ABST
Abstract
Description
A method and device for operating rule logic
[0001] This disclosure claims priority to Chinese patent application 202310512691.2 filed on May 8, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present disclosure relates to the field of data processing technology, and in particular to a method and device for running rule logic. Background Art
[0003] Currently, rule logic is used across all industries to process their business. Typically, business personnel first define the rule logic expressions and hand them over to developers to develop the corresponding code. This code is then deployed to the server. Once deployed, the rule engine responsible for running the rule logic can be started to execute the rule logic code on the server.
[0004] However, currently, rule engines only compile rule logic code when they need to run the rule logic. In this way, when the rule logic is complex, it is equivalent to compiling the complex rule logic while running the complex logic, which will greatly reduce the efficiency of the rule logic operation.
[0005] Summary of the Invention
[0006] In view of the above problems, the present disclosure provides a method and apparatus for running rule logic, the main purpose of which is to improve the efficiency of rule logic running.
[0007] To solve the above technical problems, the present disclosure proposes the following solutions:
[0008] In a first aspect, the present disclosure provides a method for running rule logic, the method comprising:
[0009] When the rule engine is started, the preset rule logic code and the preset result acquisition code are read, wherein the preset result acquisition code is used to obtain the processing result of the preset rule logic code on the input parameters;
[0010] Merging the preset rule logic code with the preset result acquisition code to obtain a merged specified code;
[0011] The specified code is precompiled using a specified interface to obtain a compiled target code, and the target code is run.
[0012] In a second aspect, the present disclosure provides a rule logic execution device, the device comprising:
[0013] A reading unit, configured to read a preset rule logic code and a preset result acquisition code when the rule engine is started, wherein the preset result acquisition code is configured to obtain a processing result of the preset rule logic code on an input parameter;
[0014] a merging unit, configured to merge the preset rule logic code read by the reading unit with the preset result acquisition code to obtain a merged designated code;
[0015] The compiling unit is used to precompile the specified code obtained by the merging unit using a specified interface to obtain a compiled target code and run the target code.
[0016] In order to achieve the above-mentioned purpose, according to the third aspect of the present disclosure, a storage medium is provided, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the operation method of the rule logic of the above-mentioned first aspect.
[0017] In order to achieve the above-mentioned objective, according to a fourth aspect of the present disclosure, a processor is provided, wherein the processor is used to run a program, wherein the program executes the method for running the rule logic of the first aspect when running.
[0018] By means of the above technical solution, the present disclosure provides a method and device for running rule logic, which has pre-developed rule logic code and result acquisition code. The rule logic code is responsible for processing input parameters, and the result acquisition code is used to obtain the processing results of the rule logic code on the input parameters. After the preset logic code and result acquisition code are developed, the rule engine can be started. At the same time as the startup, the preset rule logic code and the preset result acquisition code can be read in the server, and then the preset rule logic code and the preset result acquisition code are merged to obtain the merged specified code. After the merger, the specified code can be pre-compiled according to the specified interface to obtain the compiled target code, and then the target code can be directly run. In other words, the present disclosure pre-compiles the specified code at the same time as the service is started, which does not take up extra time, and the compiled target code can be directly executed later. In this way, the efficiency of running the rule logic can be improved to a certain extent.
[0019] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present disclosure. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0021] FIG1 shows a flow chart of a rule logic operation method provided by an embodiment of the present disclosure;
[0022] FIG2 shows a flow chart of another rule logic operation method provided by an embodiment of the present disclosure;
[0023] FIG3 shows a block diagram of a rule logic operation device provided by an embodiment of the present disclosure;
[0024] FIG4 shows a block diagram of another apparatus for running rule logic provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0026] At present, rule logic is involved in all walks of life in order to use rule logic to handle their own business. Usually, business personnel first determine the rule logic expression and hand it over to developers to develop the code corresponding to the rule logic, and then deploy the rule logic code to the server. After deployment, the rule engine responsible for running the rule logic can be started first, so as to run the rule logic code in the server later. However, the current rule engine only compiles the rule logic code when it needs to run the rule logic. In this way, when the rule logic is complex, it is equivalent to executing the compilation work of the complex rule logic while running the complex logic, which will greatly reduce the efficiency of the rule logic operation. To this end, the present disclosure provides a rule logic operation method that can improve the efficiency of running the rule logic. The specific execution steps are shown in Figure 1, including:
[0027] 101. When the rule engine starts, the preset rule logic code and the preset result acquisition code are read.
[0028] In the present disclosure, business personnel can determine the rule logic in advance based on their own pending business, and then hand over the rule logic to R&D personnel to develop the rule logic code (preset rule logic code). At the same time, when developing the rule logic code, R&D personnel can also add a result acquisition code (preset result acquisition code) to obtain the processing results of the rule logic on the input parameters.
[0029] After developing the code corresponding to the rule logic and the result acquisition code, the preset rule logic code and the preset result acquisition code can be deployed to the server. The rule engine can then be started. After startup, the rule engine can read the preset rule logic code and the preset result acquisition code from the server. In other words, the execution subject of this disclosure is the rule engine.
[0030] 102. Merge the preset rule logic code and the preset result acquisition code to obtain a merged designated code.
[0031] 103. Precompile the specified code using the specified interface to obtain the compiled target code, and run the target code.
[0032] In step 102, after reading the preset rule logic code and the preset result acquisition code, the rule engine can first merge the preset rule logic code and the preset result acquisition code to form a merged specified code. Then, in step 103, the rule engine can use its own calling interface to pre-compile the specified code to obtain the compiled target code, so that the target code can be directly run later.
[0033] Specifically, when running the target code, the rule engine may first detect whether the upstream system of the engine has input parameters, where the input parameters correspond to the preset rule logic code. For example, if one of the preset rule logics in the preset rule logic code is A+B+C=D, then the input parameters may be A=3, B=2, and C=5.
[0034] If there are input parameters passed in from the upstream system of the engine, the rule engine can first use its own designated interface to obtain the input parameters passed by the upstream system. After obtaining them, the input parameters can be processed using the preset rule logic code in the target code. It can also be understood as bringing the input parameters into the preset rule logic to obtain the processing results. In this disclosure, the rule engine can run the preset result acquisition code in the target code to obtain the processing results.
[0035] Based on the implementation method of Figure 1 above, it can be seen that the present disclosure provides a method for running rule logic, which has pre-developed rule logic code and result acquisition code. The rule logic code is responsible for processing input parameters, and the result acquisition code is used to obtain the processing results of the rule logic code on the input parameters. After the preset logic code and result acquisition code are developed, the rule engine can be started. At the same time as the startup, the preset rule logic code and the preset result acquisition code can be read in the server, and then the preset rule logic code and the preset result acquisition code are merged to obtain the merged specified code. After the merger, the specified code can be pre-compiled according to the specified interface to obtain the compiled target code, and then the target code can be directly run. That is to say, the present disclosure pre-compiles the specified code at the same time as the service is started, without taking up extra time, and the compiled target code can be directly executed later. In this way, the efficiency of running the rule logic can be improved to a certain extent.
[0036] Furthermore, as a refinement and extension of the embodiment shown in FIG1 , the embodiment of the present disclosure also provides another rule logic operation method, as shown in FIG2 , and the specific steps are as follows:
[0037] 201. When the rule engine starts, the preset rule logic code and the preset result acquisition code are read.
[0038] The implementation of step 201 is the same as that of step 101, and can achieve the same technical effect and solve the same technical problem.
[0039] 202. Check whether there are any error parameter items in the preset rule logic code and the preset result acquisition code.
[0040] In this step, since the R&D personnel may make mistakes due to negligence when writing the code, in this step, it is possible to first detect whether the preset rule logic code and the preset result acquisition code read are correct. The specific detection method can be to determine the random parameters and then run the two codes according to the random parameters; or it can be directly other detection methods. If an incorrect parameter item is detected, a code error prompt can be sent to the display terminal. In this way, the staff can correct the preset rule logic code and the preset result acquisition code according to the code error prompt. After the correction, step 203 can be executed; if it is detected that there are no incorrect items in the preset rule logic code and the preset result code, step 203 can be executed directly.
[0041] 203. Merge the preset rule logic code and the preset result acquisition code to obtain a merged designated code.
[0042] The implementation of step 203 is the same as that of step 102, and can achieve the same technical effect and solve the same technical problem.
[0043] 204. Precompile the specified code using the specified interface to obtain compiled target code, and run the target code.
[0044] Step 204 proposes a more preferred implementation method that is different from step 103 .
[0045] In step 204, a specific execution method is proposed for processing the input parameters using the preset rule logic code in the target code:
[0046] Since multiple preset logic rules are stored in a preset rule logic code, and each preset logic rule may have different business types, after using the specified interface to obtain the input parameters passed in by the upstream system of the engine, the business type of the input parameters can be determined first, and then the target preset rule logic that matches the business type of the input parameters can be determined from the multiple preset rule logics in the preset rule logic code, and then the input parameters can be processed using the target preset rule logic.
[0047] In addition, after obtaining the compiled target code, the preset rule logic code name in the target code can be determined as the code identifier of the target code, and then the target code can be stored in the server memory. In this way, when the target code is needed later, it can be searched in the memory according to the code identifier.
[0048] Furthermore, if it is detected that there are new input parameters passed in, the target code corresponding to the code identifier can be retrieved from the server memory according to the code identifier, and then the target code can be used to process the new input parameters. In this way, there is no need for development, and the existing code can be directly called to process the input parameters, which can greatly improve the efficiency of running the rule logic.
[0049] It should be noted that when precompiling the specified code using the specified interface, it is necessary to determine whether to compile globally or locally. In this disclosure, it is compiled globally. You can first create an activation object, that is, a global object (GO), and then search for variable declarations (the first specified parameter) in the global object, that is, in all the specified codes. Then, the variable declarations are used as attributes of the global object, and then the attributes are assigned values. For example:
[0050] GO{
[0051] b:undefined;
[0052] }
[0053] Furthermore, the function declaration (the second specified parameter) can be found in the global (specified code) as a property of the global object and assigned a value. After that, the specified code can be executed line by line to obtain the compiled target code.
[0054] Furthermore, as an implementation of the method shown in FIG1 above, the embodiment of the present disclosure also provides a rule logic operation device for implementing the method shown in FIG1 above. This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can implement all the contents of the aforementioned method embodiment. As shown in FIG3, the device includes:
[0055] The reading unit 301 is used to read the preset rule logic code and the preset result acquisition code when the rule engine is started. The preset result acquisition code is used to obtain the processing result of the preset rule logic code on the input parameters;
[0056] A merging unit 302 is configured to merge the preset rule logic code read by the reading unit 301 with the preset result acquisition code to obtain a merged designated code;
[0057] The compiling unit 303 is configured to precompile the designated code obtained by the merging unit 302 using a designated interface to obtain compiled target code and run the target code.
[0058] Furthermore, as an implementation of the method shown in FIG. 2 above, the present disclosure also provides another rule logic operation device for implementing the method shown in FIG. 2 above. This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will no longer describe the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can implement all the contents of the aforementioned method embodiment. As shown in FIG. 4 , the device includes:
[0059] The reading unit 301 is used to read the preset rule logic code and the preset result acquisition code when the rule engine is started. The preset result acquisition code is used to obtain the processing result of the preset rule logic code on the input parameters;
[0060] A merging unit 302 is configured to merge the preset rule logic code read by the reading unit 301 with the preset result acquisition code to obtain a merged designated code;
[0061] The compiling unit 303 is configured to precompile the designated code obtained by the merging unit 302 using a designated interface to obtain compiled target code and run the target code.
[0062] In an optional implementation, the compiling unit 303 includes:
[0063] Parameter detection module 3031, used to detect whether the engine upstream system has passed in input parameters;
[0064] The parameter acquisition module 3032 is configured to acquire the input parameters using the designated interface if the parameter detection module 3031 detects yes;
[0065] The parameter processing module 3033 is used to process the input parameters obtained by the parameter acquisition module 3032 using the preset rule logic code in the target code, so as to obtain the processing results after processing using the preset result acquisition code in the target code, and the preset rule logic code includes multiple preset rule logics.
[0066] In an optional implementation manner, the parameter processing module 3033 is specifically configured to:
[0067] Determining the business type of the input parameter;
[0068] Determining a target preset rule logic that matches the business type among a plurality of preset rule logics in the preset rule logic code;
[0069] The input parameters are processed using the target preset rule logic.
[0070] In an optional embodiment, after the compiling unit 303 obtains the compiled target code, the apparatus further includes a code storage unit 304, and the code storage unit 304 includes:
[0071] A name determination module 3041 is used to determine the code name of the preset rule logic code;
[0072] The identifier determination module 3042 is used to determine the code name determined by the name determination module 3041 as the code identifier of the target code, and store the target code in the server memory based on the code identifier.
[0073] In an optional embodiment, after the code storage unit 304 stores the target code in the server memory, the device further includes a code retrieval unit 305, and the code retrieval unit 305 includes:
[0074] A new parameter detection module 3051 is added to detect whether the engine's upstream system has passed in new input parameters;
[0075] A code retrieval module 3052 is configured to retrieve the target code from the server memory based on the code identifier if the newly added parameter detection module 3051 detects the existence of the target code;
[0076] The newly added parameter processing module 3053 is used to process the newly added input parameters using the target code retrieved by the code retrieval module 3052 .
[0077] In an optional implementation, before the merging unit 302 merges the preset rule logic code with the preset result acquisition code, the apparatus further includes a code detection unit 306, and the code detection unit 306 includes:
[0078] A code detection module 3061 is used to detect whether there are error parameter items in the preset rule logic code and the preset result acquisition code;
[0079] The prompt sending module 3062 is used to send a code error prompt to the display terminal if the code detection module 3061 detects yes, so that the staff can correct the preset rule logic code and the preset result acquisition code based on the code error prompt.
[0080] In another optional implementation, the compiling unit 303 includes:
[0081] The object creation module 3034 is used to create an activation object in the specified code;
[0082] A first parameter search module 3035 is configured to search for a first designated parameter in the designated code and determine the first designated parameter as a property of the activation object created by the object creation module 3034;
[0083] A second parameter search module 3036 is configured to search for a second specified parameter in the specified code and determine the second specified parameter as a property of the activation object created by the object creation module 3034;
[0084] The code execution module 3037 is used to execute the specified code to obtain the compiled target code after the first parameter search module 3035 and the second parameter search module 3036 determine the properties of the activated object.
[0085] Furthermore, an embodiment of the present disclosure also provides a storage medium for storing a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the operation method of the rule logic described in Figures 1-2 above.
[0086] Furthermore, an embodiment of the present disclosure also provides a processor, which is used to run a program, wherein the program executes the method for running the rule logic described in Figures 1-2 above when running.
[0087] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0088] It is understood that the relevant features of the above methods and devices can be referenced to each other. In addition, the terms "first" and "second" in the above embodiments are used to distinguish between the embodiments, and do not represent the advantages and disadvantages of the embodiments.
[0089] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0090] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems may also be used together with the teachings herein. Based on the above description, it is apparent that the structure required for constructing such systems is suitable. In addition, the present disclosure is not directed to any specific programming language. It should be understood that various programming languages may be utilized to implement the present disclosure described herein, and the description of specific languages above is provided for the purpose of disclosing the best mode of implementation of the present disclosure.
[0091] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0092] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0093] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0094] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0096] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0098] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules 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 disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0100] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Thus, the present disclosure may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0101] The above are merely examples of the present disclosure and are not intended to limit the present disclosure. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure are intended to be included within the scope of the claims of the present disclosure.
Claims
1. A method for operating rule logic, characterized in that: The method comprises: When the rule engine is started, the preset rule logic code and the preset result acquisition code are read, and the preset result acquisition code is used to obtain the processing result of the preset rule logic code on the input parameter; Merging the preset rule logic code with the preset result acquisition code to obtain a merged specified code; The specified code is precompiled using a specified interface to obtain a compiled target code, and the target code is run.
2. The method according to claim 1, characterized in that Running the target code includes: Check whether the engine's upstream system has passed in input parameters; If yes, then using the specified interface to obtain the input parameters; The input parameters are processed using the preset rule logic code in the target code, so that after processing, the processing results are obtained using the preset result acquisition code in the target code, and the preset rule logic code includes multiple preset rule logics.
3. The method according to claim 2, characterized in that Processing the input parameters using the preset rule logic code in the target code includes: Determining the business type of the input parameter; Determining a target preset rule logic matching the business type among a plurality of preset rule logics in the preset rule logic code; The input parameters are processed using the target preset rule logic.
4. The method according to claim 1, characterized in that: After obtaining the compiled target code, the method further includes: Determine the code name of the preset rule logic code; The code name is determined as the code identifier of the target code, and based on the code identifier The target code is stored in the server memory.
5. The method according to claim 4, characterized in that After storing the target code in the server memory, the method further includes: Check whether new input parameters are passed into the upstream system of the engine; If it exists, then calling the target code in the server memory based on the code identifier; The newly added input parameter is processed using the target code.
6. The method according to claim 1, characterized in that Before merging the preset rule logic code with the preset result acquisition code, the method further includes: Detecting whether there are error parameter items in the preset rule logic code and the preset result acquisition code; If so, a code error prompt is sent to the display terminal so that the staff can correct the preset rule logic code and the preset result acquisition code based on the code error prompt.
7. The method according to claim 1, characterized in that Precompiling the specified code using a specified interface includes: Creating an activation object in the specified code; Searching for a first designated parameter in the designated code, and determining the first designated parameter as a property of the activated object; searching for a second designated parameter in the designated code, and determining the second designated parameter as a property of the activated object; After determining the properties of the activated object, the specified code is executed to obtain a compiled target code.
8. A rule logic operation device, characterized in that: The device comprises: A reading unit, used to read a preset rule logic code and a preset result acquisition code when the rule engine is started, wherein the preset result acquisition code is used to obtain a processing result of the preset rule logic code on an input parameter; A merging unit, used to merge the preset rule logic code read by the reading unit with the preset result acquisition code to obtain a merged designated code; A compilation unit is used to preprocess the specified code obtained by the merging unit using a specified interface. Compile to obtain compiled target code, and run the target code.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for operating the rule logic as described in any one of claims 1 to 7.
10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the rule logic running method as described in any one of claims 1 to claim 7.
Citation Information
Patent Citations
AOP (Aspect Oriented Programming) implementation method of EJB 3 (Enterprise Java Beans 3) containers based on dynamic stack
CN102508668A
Method and system for executing service request command based on service rule configuration
CN113703740A
Business rule execution method and device, equipment and storage medium
CN115358835A
Running method and device of rule logic
CN116737125A
Automatic selection of precompiled or code-generated operator variants
US20200311084A1
