主权项 |
1. A method for providing an interface on a computing device for interacting with multi-dimensional data stored in a data repository, the method including:
receiving, over an input port of the computing device, input including information identifying two or more attributes of data elements stored in the data repository; and information indicating an order for the identified attributes, in which the two or more attributes include a first attribute and a second attribute, each of the first and second attributes has two or more attribute values; storing on the computing device a hierarchical data structure, the hierarchical data structure including a hierarchy having a plurality of hierarchy levels that each corresponds to one of the identified attributes, with an order of the hierarchy levels corresponding to the indicated order for the identified attributes, and the first attribute is associated with a hierarchy level higher than the hierarchy level associated with the second attribute; processing data in the data repository to store information in the hierarchical data structure used to present the interface on the computing device, the processing including
determining multiple attribute values that appear within the data elements, for the identified attributes,assigning, to each of a plurality of nodes of a first hierarchy level of the hierarchical data structure corresponding to the first attribute, at least one of the determined attribute values of the first attribute, in which a first node is assigned a first attribute value of the first attribute and a second node is assigned a second attribute value of the first attribute, andassigning, to each of a plurality of nodes of a second hierarchy level of the hierarchical data structure corresponding to the second attribute, at least one of the determined attribute values of the second attribute, each of the plurality of nodes of the second hierarchy level also being assigned respective ones of the determined attribute values assigned to one or more nodes of preceding hierarchy levels, according to the order of the hierarchy levels, for the corresponding attributes, in which a third node is assigned the first attribute value of the first attribute and a first attribute value of the second attribute, a fourth node is assigned the first attribute value of the first attribute and a second attribute value of the second attribute, a fifth node is assigned the second attribute value of the first attribute and a first attribute value of the second attribute, and a sixth node is assigned the second attribute value of the first attribute and the second attribute value of the second attribute; and displaying the interface on the computing device, including displaying graphical interface elements associated with each of the nodes according to the hierarchy. |