US2019156228A1PendingUtilityA1
Terminal rule operation device and method
Est. expiryJul 22, 2036(~10 yrs left)· nominal 20-yr term from priority
G06N 5/025G06N 5/01H04L 41/16H04L 41/5022G06F 16/9027H04L 41/142G06N 5/046H04L 41/0894
42
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
A rule operation request associated with a service is received by a terminal. A rule corresponding to the rule operation request is obtained from a rule set associated with the service, where the rule set has been previously obtained from the server based on at least one of a device identifier or a user identifier corresponding to the terminal. A rule tree is generated based on the rule. An operation result of the rule is determined based on the rule tree and service data related to the rule.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method, comprising:
receiving, by a terminal, a rule operation request associated with a service; obtaining, by the terminal, a rule corresponding to the rule operation request from a rule set associated with the service, wherein the rule set has been previously obtained from a server based on at least one of a device identifier or a user identifier corresponding to the terminal; generating, by the terminal, a rule tree based on the rule; determining, by the terminal, an operation result of the rule based on the rule tree and service data related to the rule.
2 . The computer-implemented method of claim 1 , wherein generating the rule tree based on the rule includes:
determining at least one of an expression and a logical operator for reflecting the rule based on the obtained rule; and generating the rule tree based on the determined at least one of the expression and the logical operator.
3 . The computer-implemented method of claim 2 , wherein the rule tree includes a leaf node and a non-leaf node, wherein the leaf node is the determined expression, and wherein the non-leaf node is the determined logical operator.
4 . The computer-implemented method of claim 1 , wherein determining the operation result of the rule includes:
performing a post-order traversal process on the rule tree; calculating a value of a root node associated with the rule tree based on the obtained service data; and determining as an operation result, a calculation result of the rule.
5 . The computer-implemented method of claim 4 , wherein calculating the value of the root node includes:
calculating a value of each determined expression based on the obtained service data; and calculating the value of the root node based on the calculated value of each determined expression and the determined logical operator.
6 . The computer-implemented method of claim 4 , further comprising:
recording a tracing path of the calculation result to output corresponding operation information.
7 . The computer-implemented method of claim 1 , further comprising:
obtaining updated data in the rule set from the server based on at least one of the device identifier and the user identifier corresponding to the terminal.
8 . A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving, by a terminal, a rule operation request associated with a service; obtaining, by the terminal, a rule corresponding to the rule operation request from a rule set associated with the service, wherein the rule set has been previously obtained from a server based on at least one of a device identifier or a user identifier corresponding to the terminal; generating, by the terminal, a rule tree based on the rule; determining, by the terminal, an operation result of the rule based on the rule tree and service data related to the rule.
9 . The non-transitory, computer-readable medium of claim 8 , wherein generating the rule tree based on the rule includes:
determining at least one of an expression and a logical operator for reflecting the rule based on the obtained rule; and generating the rule tree based on the determined at least one of the expression and the logical operator.
10 . The non-transitory, computer-readable medium of claim 9 , wherein the rule tree includes a leaf node and a non-leaf node, wherein the leaf node is the determined expression, and wherein the non-leaf node is the determined logical operator.
11 . The non-transitory, computer-readable medium of claim 8 , wherein determining the operation result of the rule includes:
performing a post-order traversal process on the rule tree; calculating a value of a root node associated with the rule tree based on the obtained service data; and determining as an operation result, a calculation result of the rule.
12 . The non-transitory, computer-readable medium of claim 11 , wherein calculating the value of the root node includes:
calculating a value of each determined expression based on the obtained service data; and calculating the value of the root node based on the calculated value of each determined expression and the determined logical operator.
13 . The non-transitory, computer-readable medium of claim 11 , the operations further comprising:
recording a tracing path of the calculation result to output corresponding operation information.
14 . The non-transitory, computer-readable medium of claim 13 , the operations further comprising:
obtaining updated data in the rule set from the server based on at least one of the device identifier and the user identifier corresponding to the terminal.
15 . A computer-implemented system, comprising:
one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
receiving, by a terminal, a rule operation request associated with a service;
obtaining, by the terminal, a rule corresponding to the rule operation request from a rule set associated with the service, wherein the rule set has been previously obtained from a server based on at least one of a device identifier or a user identifier corresponding to the terminal;
generating, by the terminal, a rule tree based on the rule;
determining, by the terminal, an operation result of the rule based on the rule tree and service data related to the rule.
16 . The computer-implemented system of claim 15 , wherein generating the rule tree based on the rule includes:
determining at least one of an expression and a logical operator for reflecting the rule based on the obtained rule; and generating the rule tree based on the determined at least one of the expression and the logical operator.
17 . The computer-implemented system of claim 16 , wherein the rule tree includes a leaf node and a non-leaf node, wherein the leaf node is the determined expression, and wherein the non-leaf node is the determined logical operator.
18 . The computer-implemented system of claim 15 , wherein determining the operation result of the rule includes:
performing a post-order traversal process on the rule tree; calculating a value of a root node associated with the rule tree based on the obtained service data; and determining as an operation result, a calculation result of the rule.
19 . The computer-implemented system of claim 18 , wherein calculating the value of the root node includes:
calculating a value of each determined expression based on the obtained service data; and calculating the value of the root node based on the calculated value of each determined expression and the determined logical operator.
20 . The computer-implemented system of claim 18 , the operations further comprising:
recording a tracing path of the calculation result to output corresponding operation information.Join the waitlist — get patent alerts
Track US2019156228A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.