US 11,853,733 B2
Graphical user interface and system for defining and maintaining code-based policies
Mikol Graves, San Francisco, CA (US); Peter J. Shepherd, San Jose, CA (US); Magnus Hei-Yu Ma, San Francisco, CA (US); Timothy L. Hinrichs, Los Altos, CA (US); and Teemu Koponen, San Francisco, CA (US)
Assigned to STYRA, INC., Redwood City, CA (US)
Filed by Styra, Inc., Redwood City, CA (US)
Filed on Nov. 27, 2022, as Appl. No. 17/994,358.
Application 17/994,358 is a continuation of application No. 17/239,334, filed on Apr. 23, 2021, granted, now 11,513,778.
Claims priority of provisional application 63/075,036, filed on Sep. 4, 2020.
Claims priority of provisional application 63/066,112, filed on Aug. 14, 2020.
Prior Publication US 2023/0102477 A1, Mar. 30, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/41 (2018.01); G06F 8/73 (2018.01); G06F 8/71 (2018.01); G06F 8/38 (2018.01)
CPC G06F 8/427 (2013.01) [G06F 8/38 (2013.01); G06F 8/71 (2013.01); G06F 8/73 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for defining code-based policies, the method comprising:
generating a policy-builder first view of a policy for display in a graphical user interface (GUI) by processing a syntax tree that is generated from a code second view of the policy;
receiving, through the policy-builder first view, a modification to a portion of the policy;
to reflect the modification, updating a portion of the syntax tree that corresponds to the portion of the policy that is affected by the modification; and
based on the updated syntax tree, updating the code second view by modifying a portion of the code second view that corresponds to the updated portion of the syntax tree, wherein said updating the code second view comprises:
converting the updated syntax tree into a set of human-readable source code;
comparing the set of human-readable source code with a set of source code from the code second view within the affected range in order to identify differences; and
computing a patch comprising the identified differences to be merged with the set of source code in order to update the code second view.