Patent ID: 11916881
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC G  H

Claim 3:
4. The rule detection method according to claim 2, further comprising performing, after determining the first target node based on the Hasse diagram data structure:
determining an initial packet space size corresponding to the first target node, wherein the initial packet space size is determined based on at least one element quantity corresponding to the first target node, and wherein each element quantity corresponds to one element type;
obtaining, based on the Hasse diagram data structure, a packet space size corresponding to a child node of the first target node, wherein the packet space size corresponding to the child node is determined based on a quantity of non-overlapping elements between the child node and a descendant node of the child node; and
determining, based on the initial packet space size and the packet space size corresponding to the child node, the packet space size corresponding to the first target node, wherein the packet space size corresponding to the first target node is determined based on a quantity of non-overlapping elements between the first target node and the descendant node of the first target node;
wherein the determining whetherthe rule anomaly occurs on the first rule comprises performing at least one of:
determining that the rule anomaly occurs between the first rule and a third rule in response to the first initial priority being different from the first current priority, and further in response to the first target value being zero, wherein a third node corresponding to the third rule is an ancestor node of the first node in the Hasse diagram data structure; or
determining that the rule anomaly occurs between the first rule and a fourth rule in response to the first initial priority being the same as the first current priority, and further in response to the first target value being zero, wherein a fourth node corresponding to the fourth rule is a descendant node of the first node in the Hasse diagram data structure.