Converting complex structure objects into flattened data
First Claim
1. A computer-implemented method executed by one or more processors, the method comprising:
- analyzing configuration data associated with a first computing device, by the one or more processors associated with a second computing device, the configuration data comprising a set of objects;
on condition of identifying a set of simple structure attributes associated with the set of objects, mapping the set of simple structure attributes into a set of flattened data files; and
on condition of identifying a set of complex structure attributes associated with the set of objects, converting the set of complex structure attributes to flattened attribute data, by a configuration capture component, the set of complex structure attributes comprising a set of nested object attributes and a set of nested array attributes, the converting of the set of complex structure attributes to the flattened attribute data including;
(i) performing, by the configuration capture component, a hash type conversion on the set of nested object attributes by at least converting one or more nested object sub-attributes of each nested object attribute into a plurality of simple object sub-attributes in a same row of simple object sub-attributes; and
(ii) performing, by the configuration capture component, an array type conversion on the set of nested array attributes by at least converting one or more nested array sub-attributes of each nested array attribute into a plurality of simple array sub-attributes in a same row of simple array sub-attributes, the flattened attribute data corresponding to at least the plurality of simple object sub-attributes and the plurality of simple array sub-attributes in the respective same rows;
mapping the flattened attribute data to the set of flattened data files to create a snapshot of a system configuration of the first computing device, the flattened attribute data being configured to allow a reduced network bandwidth for transmission of the set of flattened data files; and
transmitting, at the reduced network bandwidth, the set of flattened data files from the first computing device to the second computing device.
4 Assignments
0 Petitions
Accused Products
Abstract
Examples are generally directed towards converting complex structure attributes into flattened data. A configuration capture component analyzes a set of objects associated with a set of complex structure attributes. A complex structure attribute is an attribute of an object that is an array attribute or a nested object attribute. The configuration capture component performs a hash type conversion to convert nested object attributes into flattened data. The configuration capture component performs an array type conversion to convert nested array attributes into flattened data. The flattened data is stored or imported in a set of flattened data files. An expansion component converts the flattened data files back into the complex structure attributes without losing or corrupting the complex structure data.
21 Citations
20 Claims
-
1. A computer-implemented method executed by one or more processors, the method comprising:
-
analyzing configuration data associated with a first computing device, by the one or more processors associated with a second computing device, the configuration data comprising a set of objects; on condition of identifying a set of simple structure attributes associated with the set of objects, mapping the set of simple structure attributes into a set of flattened data files; and on condition of identifying a set of complex structure attributes associated with the set of objects, converting the set of complex structure attributes to flattened attribute data, by a configuration capture component, the set of complex structure attributes comprising a set of nested object attributes and a set of nested array attributes, the converting of the set of complex structure attributes to the flattened attribute data including; (i) performing, by the configuration capture component, a hash type conversion on the set of nested object attributes by at least converting one or more nested object sub-attributes of each nested object attribute into a plurality of simple object sub-attributes in a same row of simple object sub-attributes; and (ii) performing, by the configuration capture component, an array type conversion on the set of nested array attributes by at least converting one or more nested array sub-attributes of each nested array attribute into a plurality of simple array sub-attributes in a same row of simple array sub-attributes, the flattened attribute data corresponding to at least the plurality of simple object sub-attributes and the plurality of simple array sub-attributes in the respective same rows; mapping the flattened attribute data to the set of flattened data files to create a snapshot of a system configuration of the first computing device, the flattened attribute data being configured to allow a reduced network bandwidth for transmission of the set of flattened data files; and transmitting, at the reduced network bandwidth, the set of flattened data files from the first computing device to the second computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing device comprising:
-
one or more processors; a memory coupled to the one or more processors, the memory storing a configuration capture component; and an application programming interface (API), the API configured to receive data from a client, the data comprising a set of objects including a set of complex structure attributes, the set of complex structure attributes comprising a set of nested object attributes, a nested object attribute in the set of nested object attributes comprising at least one sub-attribute, wherein the one or more processors (i) execute the configuration capture component to perform a hash type conversion on the nested object attribute by at least converting one or more nested object sub-attributes of the nested object attribute into a plurality of simple object sub-attributes in a same row of simple object sub-attributes to generate a flattened data file in a set of flattened data files corresponding to the nested object attribute, the flattened data file being configured to allow a reduced network bandwidth for transmission of the set of flattened data files, and (ii) transmit, at the reduced network bandwidth, the set of flattened data files to a business intelligence analyzer for analysis, wherein the same row of simple object sub-attributes includes one of an attribute name row and an attribute value row, and wherein the flattened data file comprise; the attribute name row comprising a name of the nested object attribute and at least one concatenated sub-attribute name; and the attribute value row of the flattened data file comprising at least one value corresponding to the at least one sub-attribute. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. One or more computer storage media embodying computer executable instructions that, when executed, cause at least one processor to:
-
receive configuration data comprising a set of objects, the configuration data associated with a system configuration of a first computing device; on condition of identifying a nested array attribute associated with the set of objects, perform an array type conversion on the nested array attribute to (i) at least convert one or more nested array sub-attributes of the nested array attribute into a plurality of simple array sub-attributes, the plurality of simple array sub-attributes including an array key, an attribute name of the nested array attribute, and a plurality of values associated with the nested array attribute, (ii) populate the first level flattened data file with the array key and the attribute name of the nested array attribute, and (iii) populate the second level flattened data file with the array key, and the plurality of values associated with the nested array attribute in a same row of values in the second level flattened data file, the first level flattened data file and the second level flattened data file comprising a set of flattened data files, the first level flattened data file and the second level flattened data file being configured to allow a reduced network bandwidth for transmission of the set of flattened data files; and transmit, at the reduced network bandwidth, the set of flattened data files to a configuration recreation component to recreate the system configuration of the first computing device on a second computing device utilizing the set of flattened data files. - View Dependent Claims (17, 18, 19, 20)
-
Specification