Method and device for executing verification rules
A technology for implementing methods and rules, applied in the computer field, can solve problems such as low timeliness, and achieve the effect of reducing response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] As mentioned above, there will be various call relationships between different systems or various services of the same system, and these call relationships can be realized in the form of nodes, and nodes can be calls for remote calling methods and data access interfaces methods, messages, etc. In order to verify the reliability of the system, it is usually necessary to write rules according to the call relationship of nodes and execute the above rules to verify some data or other parameters of the system.
[0026] In the prior art, when performing rule verification, firstly, a call tree structure topology diagram is obtained by analyzing all call relationships between systems, and then based on such a tree model structure, rules are written, and all rules on the tree model are waited for when the rules are executed. After the nodes arrive, the rules are executed for verification. However, when the rules are executed, it is necessary to wait for all the node data on a t...
Embodiment 2
[0048] Embodiment 1 describes the inventive concept of the present application in detail. In order to facilitate a better understanding of the technical features, means and effects of the present application, a specific implementation example is used below to illustrate the rule execution method of the present application, thus forming the present application. Yet another embodiment of the application. The specific application scenario of embodiment 2 can be as follows image 3 shown. In the business system of this embodiment, it is mainly applied to several nodes such as A, B, C, and D. First, rules have been written for the verification relationship between nodes in the node set, and the corresponding relationship between the node set and the rules can be stored in image 3 In the RuleStore in , the specific corresponding relationship can be shown in the following table. The lowercase letters in the rule set can be the attribute value, input parameter and output parameter c...
Embodiment 3
[0074] In the step (3) of embodiment 2, it is necessary to judge whether the node data in the node combination has arrived. In order to reduce the number of times that the data in the node combination is found every time the node data is received, and to simplify the judgment of whether the rule has been executed, implement The code-based search algorithm can be used in the rule execution method provided in Example 3 to reduce the number of queries.
[0075] In practical applications, after receiving the node data of the node, the node data can usually be stored in a cache system such as tair, memorycache or a database, namely Figure 4 In the DateStore shown, when the amount of node data is relatively large, the sum of the coded values of the nodes in the node set is ANDed with the preset value DataCount, and it is judged whether the operation result is equal to the sum of the coded values of the nodes in the node set, according to The judgment result determines whether t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


