System and method for graphically distinguishing levels of a multidimensional database
In accordance with the teachings described herein, systems and methods are provided for graphically distinguishing levels from a multidimensional database. Levels from a multidimensional database are distinguished, such as by associating two or more of database's levels with a plurality of different visual indicators.
Latest Patents:
The technology described in this patent document relates generally to database operations, and more particularly to multidimensional database processing operations.
BACKGROUNDDatabase technology has evolved to where multidimensional data can be stored and retrieved. In a multidimensional database, data is categorized into measures which are numerical in nature and into dimensions (e.g., textual dimensions, time dimensions, etc.) which characterize the measures. The dimensions have hierarchies and have found utility in many fields, including the data warehousing field and the Online Analytical Processing (OLAP) field. Despite the evolution of database technology, data visualization of multidimensional data has remained limited.
SUMMARYIn accordance with the teachings described herein, systems and methods are provided for graphically distinguishing levels of a multidimensional database. As an example, a method can be used with one or more processing devices in order to graphically distinguish levels of a multidimensional database and may include the steps of: receiving a query for retrieving data from the multidimensional database, wherein the multidimensional database contains a first dimension that is hierarchically arranged to categorize data in a plurality of levels; associating two or more of the plurality of levels in the first dimension with a plurality of colors; and generating display information based upon the results obtained through the query upon the multidimensional database. As another example, a system can be configured for graphically distinguishing levels from a multidimensional database and may include a server computer that includes the multidimensional database and a client computer. The client computer may be operable to retrieve data from the multidimensional database, and to execute a program for displaying information retrieved from the multidimensional database. The generated display information may be used to provide a graphical display that shows the query results categorized in at least the first dimension, wherein a plurality of colors are used to graphically distinguish the two or more levels in the first dimension. The colors may include different colors, shades of a single color, or shades of gray-scale.
BRIEF DESCRIPTION OF THE DRAWINGS
The logical expression can be in the form of a plurality of terms connected via a plurality of operators such as logical operators, relational operators, arithmetic operators, etc. The engine 8 then scans the multidimensional database 2 to locate and relate data records 10 that fulfill the logical expression and return the results to the end user 4 or host application 6.
The dimensions 14 of the database's cubes are used for selecting and aggregating data at the desired level of detail. A dimension 16 is organized into a hierarchy composed of multiple levels 18, each representing a level of detail required by the desired analysis. For example, a dimension could contain geography information, time information, customer profile information, or other types of hierarchical data. The dimension could be arranged hierarchically starting from a general designation to a more specific one—e.g., a geography hierarchy could be arranged at a state level which could decompose to a county geographical level which could decompose even further, such as to a city or township geographical level.
A table with nested cells may be used to display data within an OLAP cube 12. The nested cells of the table can be structured such that the presence and absence of division lines represent the hierarchical nature of the data.
As illustrated, the OLAP table 30 may be expanded or collapsed to show or hide the cells in a particular level. For instance, in the illustrated example, the year level “1994” in the time dimension 32 has been expanded (e.g., by selecting a “+” icon) to show the cells at the quarter level 38, and the year level “1993” has been collapsed (e.g., by selecting a “−” icon) to show only the cells at the year level 36. Also, the country level “USA” in the geography dimension 34 has been expanded to show the cells at the region level 44 (East, West and USA Total), and the country levels “Canada” and “Germany” have been collapsed to show only the cells at the country level 42. However, because data may be expanded or collapsed at different levels within the hierarchy of the OLAP table 30, it may often be difficult to ascertain which cells are at the same level. For example, without the geographic knowledge, it may be difficult to determine by looking at the table 30 whether Germany is at the same level as USA or East and West.
In step 56, the data is displayed (e.g., in an OLAP table) using the assigned colors to graphically distinguish between the levels of the dimension. In addition, if the hierarchical structure of the dimension includes more than the pre-selected number (N) of levels, then a constant color may be assigned to the remaining levels at step 58, and displayed at step 60. The method may then be repeated, if necessary, to graphically distinguish the levels of additional dimensions of the data. For instance, two or more of the levels in a first dimension of the data may be graphically distinguished using shades of a first color, and two or more of the levels in a second dimension of the data may be graphically distinguished using shades of a second color.
In order to convey the hierarchical nature of the data, progressively darker shades of the color can be used to distinguish between levels in a dimension based on the depth of the level. Color shading is illustrated in the drawings by the spacing between the lines representing a color, with closer spacing representing a darker shade. For example, in the geography dimension 74 the geographic-all level is the lightest shade of the first color, the region level is the darkest shade of the first color, and the country level is a shade between the darkest and lightest. Similarly, in the time dimension 72 the year level is the lighter shade of the second color and the quarter level is the darker shade of the second color. In this manner, a user can ascertain from the color of the display the depth of the data in the overall OLAP cube structure. For instance, because the illustrated Germany level has the same gradient (i.e., the same color shading) as the USA level, and is one shade lighter than the East and West levels, the user can be certain from the display that Germany is at the same level as USA and not a level above East and West.
If a dimension in the illustrated example 70 included additional levels, then increasingly darker shades of the color may be used to distinguish from higher levels. For example, if the geography dimension 74 included a level beyond region (e.g., state, county, city, etc.), then this additional level may be displayed with a darker shade of the first color than what was used to display the region level. In one example, progressively darker shades of a color may be associated with levels of a dimension up to a pre-determined level, and then all levels beyond the pre-determined level may be displayed using the same (e.g., darkest) shade of the color.
If a dimension in the example 80 of
If the geographic dimension 92 in the example of
If a dimension in the example 100 of
If additional levels were displayed along the horizontal axis of the chart 120, then increasingly lighter or darker shades of the color may be used. In other examples, shades of different colors could be used to distinguish the levels in different dimensions displayed along the horizontal axis of the chart 120. For example, shades of a first color could be used to distinguish the levels of the time dimension 124 and shades of a second color could be used to distinguish the levels of the consumer profile dimension 122.
In other examples, different colors may be used for each of the three dimensions 132, 134, 136 displayed on the table 130, and/or the levels of a dimension 132, 134, 136 may be distinguished using progressively lighter shades of a color, instead of progressively darker shades. Also, if a dimension 132, 134, 136 in the illustrated example 130 included additional levels, then increasingly darker (or lighter) shades of the color may be used to distinguish from higher levels. In addition, progressively darker (or lighter) shades of a color may be associated with levels up to a pre-determined level, and then all levels beyond the pre-determined level may be displayed using the same (e.g., darkest or lightest) shade of the color.
In other examples, different colors may be used for each of the three dimensions 142, 144, 146 displayed on the table 140, and/or the levels of a dimension 142, 144, 146 may be distinguished using progressively lighter shades of a color, instead of progressively darker shades. Also, if a dimension 142, 144, 146 in the illustrated example 140 included additional levels, then increasingly darker (or lighter) shades of the color may be used to distinguish from higher levels. In addition, progressively darker (or lighter) shades of a color may be associated with levels up to a pre-determined level, and then all levels beyond the pre-determined level may be displayed using the same (e.g., darkest or lightest) shade of the color.
The OLAP table 160 illustrated in
In both
This written description uses examples to disclose the invention, including the best mode, and also to enable a person skilled in the art to make and use the invention. The patentable scope of the invention may include other examples that occur to those skilled in the art. For instance, other examples may use a graphical line pattern (e.g., horizontal lines, diagonal lines, vertical lines, cross-hatch, etc.), instead of color or gray-scale, to distinguish levels from a multidimensional database. Levels within a dimension may, for example, be distinguished using increasingly more-dense or less-dense iterations of the line pattern (similar to the way in which color shading is represented in the attached drawing figures).
It is further noted that the systems and methods described herein may be implemented on various types of computer architectures, such as for example on a single general purpose computer or workstation, or on a networked system, or in a client-server configuration, or in an application service provider configuration.
It is further noted that the systems and methods may include data signals conveyed via networks (e.g., local area network, wide area network, internet, etc.), fiber optic medium, carrier waves, wireless networks, etc. for communication with one or more data processing devices. The data signals can carry any or all of the data disclosed herein that is provided to or from a device.
Additionally, the methods and systems described herein may be implemented on many different types of processing devices by program code comprising program instructions that are executable by the device processing subsystem. The software program instructions may include source code, object code, machine code, or any other stored data that is operable to cause a processing system to perform methods described herein. Other implementations may also be used, however, such as firmware or even appropriately designed hardware configured to carry out the methods and systems described herein.
The systems' and methods' data (e.g., associations, mappings, etc.) may be stored and implemented in one or more different types of computer-implemented ways, such as different types of storage devices and programming constructs (e.g., data stores, RAM, ROM, Flash memory, flat files, databases, programming data structures, programming variables, IF-THEN (or similar type) statement constructs, etc.). It is noted that data structures describe formats for use in organizing and storing data in databases, programs, memory, or other computer-readable media for use by a computer program.
The systems and methods may be provided on many different types of computer-readable media including computer storage mechanisms (e.g., CD-ROM, diskette, RAM, flash memory, computer's hard drive, etc.) that contain instructions for use in execution by a processor to perform the methods' operations and implement the systems described herein.
The computer components, software modules, functions, data stores and data structures described herein may be connected directly or indirectly to each other in order to allow the flow of data needed for their operations. It is also noted that a module or processor includes but is not limited to a unit of code that performs a software operation, and can be implemented for example as a subroutine unit of code, or as a software function unit of code, or as an object (as in an object-oriented paradigm), or as an applet, or in a computer script language, or as another type of computer code. The software components and/or functionality may be located on a single computer or distributed across multiple computers depending upon the situation at hand.
Claims
1. A computer-implemented method for displaying data retrieved from a multidimensional database, comprising:
- receiving a query for retrieving data from the multidimensional database;
- wherein the multidimensional database contains a first dimension that is hierarchically arranged to categorize data in a plurality of levels;
- associating two or more of the plurality of levels in the first dimension with a plurality of colors;
- generating display information based upon the results obtained through the query upon the multidimensional database;
- wherein the generated display information is for use in providing a graphical display that shows the query results categorized in at least the first dimension, and wherein the colors are displayed to graphically distinguish the two or more levels in the first dimension.
2. The method of claim 1, wherein the plurality of colors are shades of a single color.
3. The method of claim 2, wherein the two or more levels in the first dimension are distinguished using progressively darker shades of the single color.
4. The method of claim 2, wherein the two or more levels in the first dimension are distinguished using progressively lighter shades of the single color.
5. The method of claim 1, wherein the plurality of colors are shades of a gray-scale.
6. The method of claim 5, wherein the two or more levels in the first dimension are distinguished using progressively darker shades of gray-scale.
7. The method of claim 5, wherein the two or more levels in the first dimension are distinguished using progressively lighter shades of gray-scale.
8. The method of claim 1, wherein the multidimensional database contains a second dimension that is hierarchically arranged to categorize data in a second plurality of levels, further comprising:
- associating two or more of the second plurality of levels in the second dimension with a second plurality of colors;
- wherein the graphical display shows the query results categorized in at least the first dimension and the second dimension, and wherein the plurality of colors are displayed to graphically distinguish the two or more levels in the first dimension and the second plurality of colors are displayed to graphically distinguish the two or more levels in the second dimension.
9. The method of claim 8, wherein the plurality of colors are shades of a first color and the second plurality of colors are shades of a second color.
10. The method of claim 8, wherein the plurality of colors are the same as the second plurality of colors.
11. The method of claim 8, wherein at least one of the plurality of colors and the second plurality of colors are shades of a single color.
12. The method of claim 8, wherein at least one of the plurality of colors and the second plurality of colors are shades of gray-scale.
13. The method of claim 8, wherein the plurality of colors and the second plurality of colors are shades of the same color.
14. The method of claim 9, wherein the two or more levels in the first dimension are distinguished using progressively darker shades of the first color and the two or more levels in the second dimension are distinguished using progressively darker shades of the second color.
15. The method of claim 9, wherein the two or more levels in the first dimension are distinguished using progressively lighter shades of the first color and the two or more levels in the second dimension are distinguished using progressively lighter shades of the second color.
16. The method of claim 3, wherein the progressively darker shades are used to display levels in the first dimension through a pre-selected level, and wherein a darkest of the progressively darker shades is used to display levels in the first dimension deeper than the pre-selected level.
17. The method of claim 3, wherein the progressively lighter shades are used to display levels in the first dimension through a pre-selected level, and wherein a lightest of the progressively lighter shades is used to display levels in the first dimension deeper than the pre-selected level.
18. The method of claim 1, wherein the graphical display includes an online analytical processing (OLAP) table.
19. The method of claim 1, wherein the graphical display includes an online analytical processing (OLAP) chart.
20. The method of clam 18, wherein one or more of the levels in the first dimension are displayed in a breadcrumb, and wherein the colors graphically distinguish the one or more levels displayed in the breadcrumb.
21. A computer program stored on a computer readable medium and executable by a computer, when executed by the computer, the computer program being operable to perform the method steps of claim 1.
22. A system for use with a multidimensional database containing a first dimension that is hierarchically arranged to categorize data in a plurality of levels, comprising:
- data retrieval software instructions configured to retrieve data from the multidimensional database;
- color gradient software instructions configured to associate two or more of the plurality of levels in the first dimension of the retrieved data with a plurality of colors; and
- user interface software instructions configured to generate a graphical display that shows the retrieved data categorized in at least the first dimension, wherein the plurality of colors are displayed to graphically distinguish the two or more levels in the first dimension.
23. The system of claim 22, wherein the plurality of colors are shades of a single color.
24. The system of claim 23, wherein the graphical display distinguishes the two or more levels in the first dimension using progressively darker or progressively lighter shades of the single color.
25. The system of claim 22, wherein the plurality of colors are gray-scale.
26. The system of claim 25, wherein the graphical display distinguishes the two or more levels in the first dimension using progressively darker or progressively lighter shades of gray-scale.
27. The system of claim 22, wherein the multidimensional database contains a second dimension that is hierarchically arranged to categorize data in a second plurality of levels, and wherein the color gradient software instructions are further configured to:
- associate two or more of the second plurality of levels in the second dimension of the retrieved data with a second plurality of colors;
- wherein the graphical display shows the retrieved data categorized in at least the first dimension and the second dimension, and wherein the plurality of colors are displayed to graphically distinguish the two or more levels in the first dimension and the second plurality of colors are displayed to graphically distinguish the two or more levels in the second dimension.
28. The system of claim 27, wherein the plurality of colors are shades of a first color and the second plurality of colors are shades of a second color.
29. The system of claim 28, wherein the graphical display distinguishes the two or more levels in the first dimension using progressively darker or progressively lighter shades of the first color and distinguishes the two or more levels in the second dimension using progressively darker or progressively lighter shades of the second color.
30. The system of claim 27, wherein at least one of the plurality of colors and the second plurality of colors are shades of gray-scale.
31. The system of claim 30, wherein the graphical display distinguishes the two or more levels in at least one of the first dimension and the second dimension using progressively darker or progressively lighter shades of gray-scale.
32. The system of claim 22, wherein the graphical display includes an online analytical processing (OLAP) table.
33. The system of claim 22, wherein the graphical display includes an online analytical processing (OLAP) chart.
34. A computer-implemented system for displaying data retrieved from a multidimensional database, comprising:
- means for receiving a query for retrieving data from the multidimensional database;
- wherein the multidimensional database contains a first dimension that is hierarchically arranged to categorize data in a plurality of levels;
- means for associating two or more of the plurality of levels in the first dimension with gradients representing a depth of the level in the first dimension of the multidimensional database;
- means for generating display information based upon the results obtained through the query upon the multidimensional database;
- wherein the generated display information is for use in providing a graphical display that shows the query results categorized in at least the first dimension, and wherein the gradients distinguish the two or more levels in the first dimension.
35. The method of claim 34, wherein the gradients are graphically represented using shades of a single color, wherein progressively darker or progressively lighter shades of the color are used to distinguish between the two or more levels.
36. The method of claim 34, wherein the gradients are graphically represented using a plurality of different colors.
37. The method of claim 34, wherein the gradients are graphically represented using shaded of gray-scale, wherein progressively darker or progressively lighter shades of gray-scale are used to distinguish between the two or more levels.
38. The method of claim 34, wherein the gradients are graphically represented using a line pattern, wherein progressively more-dense or progressively less-dense iterations of the line pattern are used to distinguish between the two or more levels.
Type: Application
Filed: Feb 22, 2005
Publication Date: Aug 24, 2006
Applicant:
Inventors: Huifang Wang (Cary, NC), Lina Clover (Cary, NC), Walden Crabtree (Raleigh, NC), Douglas Dotson (Pittsboro, NC)
Application Number: 11/063,469
International Classification: G06F 17/30 (20060101);