IP Library Granted Patent US 11,381,457
Granted Patent B2
US 11,381,457 · App. 17/161,848 · Granted Jul 5, 2022

Split decision trees on client and server

Inventor: Jiayao Yu (Venice, CA)
Assignee: Snap Inc.
H04L41/0893G06F16/2428H04L41/0636H04L41/0823H04L41/0883H04L41/22H04L67/42
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,381,457
App. No.
17/161,848
Granted
Jul 5, 2022
Kind
B2
Abstract

Systems, devices, media, and methods are presented for splitting decision trees between server and client. The client of the systems and methods sends a configuration query. The server of the system and method receives the configuration query. The server retrieves Config rule(s) according to the configuration query. Each of the Config rule(s) can be represented by decision tree(s). The server evaluates the decision tree(s). If a definitive True or False cannot be derived from the evaluation using server knowledge, the server prunes the decision tree(s) and returns them to client side for further evaluation.

Claims (40)

1. A computer-implemented method for execution by a server, the computer-implemented method comprising:

receiving a configuration query from a client;

retrieving at least one rule configured to determine a response to the configuration query, said at least one rule configured to be represented by a decision tree comprising a plurality of leaf nodes and non-leaf nodes;

retrieving information accessible to the server, said information configured to evaluate at least one leaf node of the decision tree;

determining whether all leaf nodes of the decision tree are evaluated by applying the retrieved information;

when all leaf nodes of the decision tree are evaluated, providing an evaluation result to the configuration query to the client; and

when all leaf nodes of the decision tree are not evaluated, evaluating the leaf nodes of the decision tree that may be evaluated by the retrieved information and providing to the client a revised decision tree comprising all leaf nodes that are not evaluated for evaluation by the client using information accessible to the client.

2. The computer-implemented method of claim 1 , wherein the configuration query is with regard to a run-time service.

3. The computer-implemented method of claim 1 , wherein the at least one rule is stored in another server.

4. The computer-implemented method of claim 1 , wherein the information is stored in at least one other server.

5. The computer-implemented method of claim 1 , wherein the evaluation result is one of TRUE or FALSE when all leaf nodes of the decision tree are evaluated.

6. The computer-implemented method of claim 1 , wherein each of the leaf nodes comprises at least one query configured to be evaluated as TRUE or FALSE.

7. The computer-implemented method of claim 1 , wherein each of the non-leaf nodes comprises a Boolean operator.

8. A non-transitory computer-readable medium with instructions stored thereon, wherein the medium is configured to be incorporated in a computer system of a server, the instructions, when executed by a processor, cause operations comprising:

receiving a configuration query from a client;

retrieving at least one rule configured to determine a response to the configuration query, said at least one rule configured to be represented by a decision tree comprising a plurality of leaf nodes and non-leaf nodes;

retrieving information accessible to the server, said information configured to evaluate at least one leaf node of the decision tree;

determining whether all leaf nodes of the decision tree are evaluated by applying the retrieved information;

when all leaf nodes of the decision tree are evaluated, providing an evaluation result to the configuration query to the client; and

when all leaf nodes of the decision tree are not evaluated, evaluating the leaf nodes of the decision tree that may be evaluated by the retrieved information and providing to the client a revised decision tree comprising all leaf nodes that are not evaluated for evaluation by the client using information accessible to the client.

9. The non-transitory computer-readable medium of claim 8 , wherein the configuration query is with regard to a run-time service.

10. The non-transitory computer-readable medium of claim 8 , wherein the at least one rule is stored in another server.

11. The non-transitory computer-readable medium of claim 8 , wherein the information is stored in at least one other server.

12. The non-transitory computer-readable medium of claim 8 , wherein the evaluation result is one of TRUE or FALSE when all leaf nodes of the decision tree are evaluated.

13. The non-transitory computer-readable medium of claim 8 , wherein each of the leaf nodes comprises at least one query configured to be evaluated as TRUE or FALSE.

14. The non-transitory computer-readable medium of claim 8 , wherein each of the non-leaf nodes comprises a Boolean operator.

15. A computing system, comprising:

One or more processors of a server;

a memory coupled to the one or more processors, the memory including instruction that, when executed by the one or more processors, cause the one or more processors to perform functions including:

receiving a configuration query from a client;

retrieving at least one rule configured to determine a response to the configuration query, said at least one rule configured to be represented by a decision tree comprising a plurality of leaf nodes and non-leaf nodes;

retrieving information accessible to the server, said information configured to evaluate at least one leaf node of the decision tree;

determining whether all leaf nodes of the decision tree are evaluated by applying the retrieved information;

when all leaf nodes of the decision tree are evaluated, providing an evaluation result to the configuration query to the client; and

when all leaf nodes of the decision tree are not evaluated, evaluating the leaf nodes of the decision tree that may be evaluated by the retrieved information and providing to the client a revised decision tree comprising all leaf nodes that are not evaluated for evaluation by the client using information accessible to the client.

16. The computer system of claim 15 , wherein the configuration query is with regard to a run-time service.

17. The computer system of claim 15 , wherein the at least one rule is stored in another server.

18. The computer system of claim 15 , wherein the information is stored in at least one other server.

19. The computer system of claim 15 , wherein the evaluation result is one of TRUE or FALSE when all leaf nodes of the decision tree are evaluated.

20. The computer system of claim 15 , wherein each of the leaf nodes comprises at least one query configured to be evaluated as TRUE or FALSE, and wherein each of the non-leaf nodes comprises a Boolean operator.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 15, 2022
From: YU, JIAYAO
To: SNAP INC.
Reel/Frame 059014/0477 →
Continuity (2)
Continuation 16392902 · Apr 24, 2019
Related Publication 20210152428A1 · May 20, 2021
Cited By (1)
US 12,212,466