Encoding of data formatted in human readable text according to schema into binary
AssigneeHewlett Packard Enterprise Development LP
InventorsWilliam Scherer, III, Michael Garrett, Jeffrey Hilland
Life of this patent
Estimating the term…
Abstract
Data is organized in a hierarchical data tree having nodes, and is formatted in human-readable data according to a schema. The data is canonically ordered in correspondence with a canonical ordering of a schema dictionary generated from the schema. The canonically ordered data is encoded into binary, including for each node, removing a label of the node, and adding a sequence number of the node corresponding to the canonical ordering, in binary.
Claims16
A non-transitory, computer-readable medium storing instructions that, when executed by a processor, cause a managed device to:
- receive a command from a managing device requesting a current configuration of the managed device;
- identify a configuration information schema dictionary stored on the managed device;
- select a set of configuration data points present in the configuration information schema dictionary from a configuration tree of the managed device;
- binary encode each of the configuration data points consistent with the configuration information schema dictionary;
- construct a binary data object consistent with the configuration information schema dictionary that includes the binary encoded set of configuration data points;
- and
- transmit the binary data object to the managing device;
- receive, from the managing device, a second command including a binary encoded pointer and a desired action;
- determine, based on the binary encoded pointer, an indicated node of the configuration tree of the managed device;
- and
- perform the desired action on the indicated node,
- wherein the configuration information schema dictionary is a schema dictionary generated by the managing device and deployed on the managed device, and
- wherein the configuration information schema dictionary includes information to format configuration information into a binary data object as well as information to format configuration information into a human readable configuration object.
A method executed by a processor of a managed device, the method comprising:
- receiving a command from a managing device requesting a current configuration of the managed device;
- identifying a configuration information schema dictionary stored on the managed device;
- selecting a set of configuration data points present in the configuration information schema dictionary from a configuration tree of the managed device;
- binary encoding each of the configuration data points consistent with the configuration information schema dictionary;
- constructing a binary data object consistent with the configuration information schema dictionary that includes the binary encoded set of configuration data points;
- and
- transmitting the binary data object to the managing device;
- receiving, from the managing device, a second command including a binary encoded pointer and a desired action;
- determining, based on the binary encoded pointer, an indicated node of the configuration tree of the managed device;
- and
- performing the desired action on the indicated node,
- wherein the configuration information schema dictionary is a schema dictionary generated by the managing device and deployed on the managed device, and
- wherein the configuration information schema dictionary includes information to format configuration information into a binary data object as well as information to format configuration information into a human readable configuration object.
A system, comprising:
- a managing device comprising a processor and a memory including instructions, the instructions executed by the processor to cause the managing device to:
- transmit, to a managed device, a first command requesting configuration information;
- receive, from the managed device, a binary data object including formatted binary encoded configuration data points;
- format the binary data object into a human readable format, based in part on a configuration information schema dictionary;
- display the human readable formatted data object to an administrator;
- and
- transmit, to the managed device, a second command including a binary encoded pointer and a desired action;
- and
- the managed device comprising a processor and a memory including instructions, the instructions executed by the processor to cause the managed device to:
- receive the first command from the managing device requesting a current configuration of the managed device;
- identify a configuration information schema dictionary stored on the managed device;
- select a set of configuration data points present in the configuration information schema dictionary from a configuration tree of the managed device;
- binary encode each of the configuration data points consistent with the configuration information schema dictionary;
- construct a binary data object consistent with the configuration information schema dictionary that includes the binary encoded set of configuration data points;
- transmit the binary data object to the managing device;
- receive, from the managing device, the second command including the binary encoded pointer and the desired action;
- determine, based on the binary encoded pointer, an indicated node of the configuration tree of the managed device;
- and
- perform the desired action on the indicated node.
Dependencies are inferred from the claim text.