Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-06-16
ADVANCED NEW TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the data of a node on the tree structure is called but not received, the rules based on the tree structure cannot be executed, so the timeliness of rule execution is low

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
  • Method and device for executing verification rules
  • Method and device for executing verification rules
  • Method and device for executing verification rules

Examples

Experimental program
Comparison scheme
Effect test

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...

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 checking rule execution method, which is used for improving the timelines of checking rule execution. The method comprises the steps of receiving node data of a node; searching for a node set containing the node, wherein the node set comprises at least one node, and when the node set comprises two or more nodes, the nodes in the node set have a checking relationship; judging whether the node data corresponding to each node in the node set arrives or not; and if yes, executing a checking rule corresponding to the node set, wherein the checking rule corresponding to the node set is a rule written according to the checking relationship between the nodes in the node set. The invention furthermore discloses a checking rule execution apparatus.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for executing a verification rule. Background technique [0002] There are 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. Nodes can be remote call methods, call methods of data access interfaces, news etc. In order to verify the reliability of the system, it is usually necessary to write verification rules (hereinafter referred to as rules) according to the calling relationship of nodes and execute the above rules to verify some data or other parameters of the system. [0003] In the prior art, when executing rules, it is first necessary to obtain a call tree topology diagram by analyzing all call relationships between systems. Each call tree can be specifically named according to the business meaning, such as figure 1 as shown, figur...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/2455
CPCG06F16/24564
Inventor 周鹏举常二鹏
Owner ADVANCED NEW TECH CO LTD