US20070234202A1
2007-10-04
11/788,385
2007-04-19
Hierarchies are navigated easily through a user interface that is continuous in its presentation of node information and may be implemented using a small display space.
Get notified when new applications in this technology area are published.
G06F3/0482 » CPC main
Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements; Input arrangements or combined input and output arrangements for interaction between user and computer; Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance Interaction with lists of selectable items, e.g. menus
G06F16/168 » CPC further
Information retrieval; Database structures therefor; File system structures therefor; File systems; File servers; File or folder operations, e.g. details of user interfaces specifically adapted to file systems Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
G06F16/9027 » CPC further
Information retrieval; Database structures therefor; File system structures therefor; Details of database functions independent of the retrieved data types; Indexing; Data structures therefor; Storage structures Trees
G06F16/904 » CPC further
Information retrieval; Database structures therefor; File system structures therefor; Details of database functions independent of the retrieved data types Browsing; Visualisation therefor
G06F17/00 IPC
Digital computing or data processing equipment or methods, specially adapted for specific functions
G06F15/173 IPC
Digital computers in general ; Data processing equipment in general; Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs; Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
This invention relates to a user interface for navigating a set of information arranged hierarchically, even a very large set.
In a typical hierarchy or âtreeâ of nodes, each ânodeâ is connected to zero or more âchildâ nodes and to one âparentâ node, except for one ârootâ node, which has no parent.
Hierarchies are common in data processing. Often a hierarchy provides a clear way to organize a large amount of information so that a user can find a particular piece of information. Generally, a user ânavigatesâ a tree by iteratively viewing descriptions of a selected node's neighboring nodes and selecting one of the neighbors until the sought information is found.
A user navigates the Windows file system hierarchy, for example, by iteratively viewing a directoryâthe file names and subdirectory names are these neighbors' âdescriptionsââthen selecting a neighboring directory to view, until the sought file is found. Windows offers multiple user interfaces for the viewing/selection process: a file-selection dialog in applications; successive directory views starting with âMy Computerâ; a âtree viewâ in Windows Explorer; and even a command line shell which permits displaying and changing the âcurrentâ directory.
Other, richer user interfaces for presenting and navigating hierarchies have been proposed. Some, such as âcone treesâ, attempt to represent much of a hierarchy using 3D effects to convey relationships on a crowded display. Several use âfocus+contextâ techniques; that is, the portion of the hierarchy upon which the user is currently focused, such as a current directory, is presented in full, and portions further from this focus are presented with progressively less detail. This can be achieved by wrapping a 2D representation of the tree about a curved surface and shading parts of the view away from the focus (these two techniques create a âfish-eye lensâ effect), by fractal techniques, or by nesting boxes so that rectangles representing child nodes fill the rectangle representing the parent. (âtree-mapsâ). Some techniques depict the nodes as objects in a 3D landscape, with more distant nodes appearing smaller.
As for navigation, a theme which is common from âtree viewâ to âtree-mapsâ is to detect user input selecting a node (as by a mouse click âonâ the node) and redraw the view of the hierarchy with the selected node as the new âfocusâ. A few user interfaces portray the change in views with an animated sequence of intermediate views to suggest an object-like persistence. Some user interfaces, e.g. the 3D landscapes, allow a mode of navigation where the hierarchy view changes continuously, suggesting flight over the landscape.
Hierarchically organized information is ubiquitous. Computer file systems, dictionaries, indexes, tables of contents, and XML documents are hierarchical. The functions available in some applications are organized hierarchically in menus. On the web, many portals and retail sites are organized hierarchically. Web sites are not constrained to be hierarchical, but, again, hierarchy is a clear way to organize large amounts of information.
SUMMARYIn general, in one aspect, the invention features identifying a hierarchy position in a space defined by a hierarchy of nodes. The space has at least two dimensions. Each node is uniquely identifiable within the space by values in the respective dimensions, including a node level identifying the node's hierarchy level and a node-in-level identifying the node uniquely among nodes in that level. The hierarchy position is identified by position values in the same dimensions. Position values need not correspond to actual node level or node-in-level values.
Implementations of the invention may include one or more of the following features.
The position values may include depth value and position-within-level values both in the form of non-integral numbers. The position-within-level value may include a node-in-value value identifying one node plus a floating-point number representing an offset of the position from that node. The hierarchy position may be used to identify a focus of a user's view of the hierarchy.
In general, in another aspect, the invention features displaying representations of nodes of a hierarchy in a space on a display, each node representation fully occupying a subspace within the space, and allocating the space entirely to the subspaces.
Implementations of the invention may include one or more of the following features. The nodes are organized in levels in the hierarchy and the space is allocated among the levels so that one level is fully represented in a dimension of the display that corresponds to changing levels. The levels of the hierarchy above and below the one level are at least partially represented. Each of the levels is represented as a band in the space. Nodes represented in one band have a parent-child relationship with nodes represented in an adjacent band. Within a band, space is allocated so that the subspace of a parent has the same dimension along the band as the sum of the dimensions of its children along the adjacent band.
In general, in another aspect, the invention features rendering a container associated with the node and a representation of information associated with the node. The container has dimensions that change with an amount of space dynamically allocated to the node based on a changing focus in the hierarchy. The representation has unchanging dimensions. The container and the representation are drawn on a display. When the focus changes, the container is re-rendered with updated dimensions and drawn on the display. Without re-rendering, the rendered representation is recopied to a new location.
In implementations of the invention, the drawn container indicates the node's position in the hierarchy and its relationship to nearby nodes, and the representation includes graphics or text or both.
In general, in another aspect, information is received indicating a displacement of a user input device within a two-dimensional frame of reference. Displacement in at least one of the dimensions is translated to a rate of change of a hierarchy position used to identify a focus of a user's view of the hierarchy.
In general, in another aspect, the invention features displaying a representation of a portion of a hierarchy of nodes to a user. Each node may have associated an action to be performed by an application, the action being other than navigation of the hierarchy. A user navigates in the displayed representation of the portion of the hierarchy by using a first type of action. The user triggers the action associated with a displayed node of the hierarchy by invoking the node using a second type of action.
In implementations of the invention, the first type of action may be dragging and the second type of action may be clicking.
In general, in another aspect of the invention an emulation of a return-to-center input device enables a user to navigate the hierarchy. The user manipulates a non-return-to-center input device to indicate an intended manipulation of the emulation for purposes of navigating the hierarchy. The user's manipulation is treated as a manipulation of the return-to-center input device.
Implementations of the invention may include one or more of the following features. The non-return-to-center input device is a computer mouse, trackball, or pad. The return-to-center input device is a joystick. The emulation includes rendering the device on a display. The response to the user manipulation is to change a focus position in the hierarchy. The focus position is changed by periodically adding a focus increment vector to a focus position, the focus increment vector being a function of the vector by which the emulated controller is displaced from its center or rest position. The user manipulates the non-return-to-center controller in a single dragging action to view an arbitrarily large hierarchy of nodes. The function is nonlinear to permit the user to vary navigation velocity over a wide two-dimensional range.
In another aspect, the invention features displaying information at a client about a portion of a hierarchy of nodes including a node at the top of a sub-hierarchy of the hierarchy. As a user's navigation causes sub-hierarchies to approach view in the displayed information, information about the sub-hierarchy that is approaching view is fetched from a server.
In another aspect, a request is received at a server from a client for a hierarchy definition. In response, the client is provided a portion but not all of the hierarchy definition, the portion referencing other portions of the hierarchy.
In implementations of the invention, the size of the portion to be provided to the client may be determined adaptively based on parameters for optimizing communication between the server and the client. The server may automatically build a hierarchy definition portion that is as near as possible in size to a given minimum portion size. The server may generate references to sub-hierarchies and include them with definitions of nodes of the portion provided.
In another aspect, a web page includes an area that provides a navigational interface to permit continuous navigation of a hierarchy of nodes of, e.g., links to other web pages.
In another aspect, a user interface includes a device that permits continuous navigation for selecting from a hierarchy.
In implementations, the hierarchy may include a function menu, a file system, an XML document, an index constructed from a document, list, or table, an encoded hierarchy, the Dewey Decimal System, categorized products, postal addresses or other location by geographic region, a character set to be selected for text entry, or a corpus which is not hierarchical in its native form and upon which hierarchy has been imposed using a similarity-seeking technology.
Among the advantages of the invention may be one or more of the following.
An indefinitely large hierarchy may be navigated. The interface permits fast navigation of the hierarchy.
The interface reduces the cognitive load to the user in at least the following ways.
The user is offered a simple metaphor of the hierarchy as a continuous plane, the view of which can only change smoothly as the user navigates. The user is spared abrupt, jarring (to novices, frightening) changes in view by allowing direct control over rate of change of focus, so that the view of the hierarchy changes smoothly over time. Any effects of such discontinuities in the view as are necessary are minimized by being split into smaller discontinuities distributed over time. The nodes in a level do not appear full blown all at once, but appear first as small outlines, with detail arriving at different times for different nodes.
The user is not burdened with separate controls for scrolling, for rotation, or for zoomingâall navigation is done with one intuitive control with a simple physical metaphor. The single control functionally replaces, for instance, the four scroll buttons, two sliders, and numerous buttons labeled â+â or âââ in Windows âTreeViewâ. The interface in this way reduces repetitive hand and eye movements as well as cognitive demands.
The relationship between parent and child nodes is made apparent to first-time users by depicting parent nodes as containing the children instead of by drawing ambiguous connecting lines.
The interface is frugal with respect to available computer display âreal estateâ. Space is allocated extremely efficiently, freeing most of a typical computer display for other tasks.
The interface requires only a small implementation size. The algorithms for hierarchy rendering can be realized in compact code for low memory use and fast delivery over a network.
The interface is frugal with respect to hierarchy-loading bandwidth. Hierarchy information âwhich can be of indefinite sizeâis transferred in small portions on demand as the user âapproachesâ them. A user can navigate all levels of a huge hierarchy, acquiring a sense of its size, having caused only a small fraction of the hierarchy information to be loaded.
The interface is especially useful in âWorld-Wide Webâ applications. Novice users distracted by advertisements have a lower capacity for new metaphors and surprising changes of view. The interface accommodates the user's expectation that web navigation is to be effected with a small ânavigation frameâ on the left. The code implementing the user-interface for the web is compact enough to be downloaded with a page (as an applet) which accommodates the user's resistance to installing âplug-insâ. The web surfer need not wait for the information describing a huge hierarchy to be loaded over a slow network.
Each node can have a distinct text and/or graphical representation. Associated with each node can be an apparent way to execute a distinct action apart from navigation when the node is selected.
The hierarchical structure, text and/or graphical representation of each node, and action associated with each node, are defined in human readable formats. This hierarchy definition may be requested and delivered incrementally and on demand. The delivery is a special case of âstreamingâ data in which the data are dispersed in two dimensions and the order in which the data are required cannot be predicted with confidence.
Other advantages and features will become apparent from the following description and from the claims.
DESCRIPTIONFIG. 1 illustrates relationships in a simple hierarchy.
FIG. 2 illustrates an allocation of display area to a portion of the sample hierarchy, arranged in the horizontal direction.
FIG. 3 illustrates an allocation of display area to a portion of the sample hierarchy, arranged in the vertical direction.
FIG. 4 shows a hierarchy view-and-control loop including the user and the invention in a computer network context.
FIG. 5 is an overall flow diagram.
FIG. 6 illustrates concepts involved in allocating one dimension of the display area to hierarchy levels.
FIG. 7 shows logic involved in reallocating that dimension.
FIG. 8 illustrates concepts involved in allocating a level's display allocation to nodes within that level.
FIG. 9 shows logic involved in that allocation.
FIG. 10 and FIG. 11 illustrate a process of rendering a portion of the hierarchy.
FIG. 12 illustrates a subroutine used to draw a node at one level and its children.
FIG. 13 illustrates a subroutine used to draw a node at another level.
FIG. 14 illustrates logic used to load hierarchy information from a server.
FIG. 15 illustrates how a âcontrol stickâ can be emulated and shows alternate appearances of emulated controllers.
FIG. 16 shows a sample sequence of views presented to a user navigating a hierarchy by nudging the control stick at the bottom of the view, where the implementation is configured horizontally with the top of the hierarchy at the top of the view.
FIG. 17 shows a sample sequence of two views presented to a user navigating a dictionary, where the implementation is configured vertically with the top of the hierarchy at the left side of the view.
FIG. 18 shows a hypothetical deployment at a single web site to allow rapid seamless navigation of that site.
DESCRIPTION OF THE PREFERRED EMBODIMENTSFIG. 1 illustrates relationships that can exist among nodes comprising a hierarchy 18 and introduces some naming conventions. Each node has zero or more âchildâ nodes, and each node has exactly one âparentâ node except for the ârootâ node 20 which has no parent node. For instance, node 26 is the child of node 24, which is the parent of two nodes 26, 27. It will be useful later to number children from left to right; node 26 thus has a âchild indexâ of 0 and node 27 has a child index of 1. A node with no child nodes, like node 22, is called a âleafâ node.
Nodes can grouped by their hierarchy âlevelâ, which we define as the number of steps of descent by which they can be reached starting from the root node. There are four levels 30 in the hierarchy of FIG. 1.
Implementations of the invention present in a limited display area a view of the hierarchy that can be changed under user control. At any one time the view is âfocusedâ or centered either at one node or between nodes, and contains all nodes surrounding this center of view or âFocusâ. A user may see one of these surrounding nodes and manipulate the Focus toward that node so that all nodes surrounding that node are now in view. By continued navigation of this sort, and exploiting the fact that any node in the hierarchy can be reached from any other node by a series of steps through intermediate nodes, the user may view any point in the entire hierarchy. Methods discussed below make this navigation experience âsmoothââthe Focus changes gradually, and the resulting changes in the view are âanimatedâ or rendered in many small steps.
FIGS. 2 and 3 show two examples of limited display areas. FIG. 2 shows a horizontally aligned display area 31, which is efficiently apportioned to nodes about a Focus near Node 24. The Focus is an imaginary point in the hierarchy that corresponds to the point at the exact center of the display area. In this âhorizontalâ layout, the nodes of each of the levels 30 are arrayed horizontally. Because of the small size of this sample hierarchy, some of the display area (33, shaded) is unallocated for this particular Focus.
FIG. 3 shows a vertically aligned limited display area as might be particularly useful in web applications. Here nodes in each of the levels are arranged vertically, with the top of the hierarchy to the left of the display area.
For convenience, the rest of this description refers only to the horizontal layout depicted in FIG. 2.
Referring to FIG. 4, in some implementations based on software resident on a computer 59, a software routine 50 updates both an on-screen representation 52 of an emulated return-to-center controller such as a âjoystickâ and data representing the emulated controller's displacement from its center or rest position. This update is in response to a physical computer pointing device 66 such as a mouse. A focus update routine 54 causes continual updates of internal data representing the user's focus in the hierarchy. When the focus is updated, a hierarchy draw routine 56 is invoked to render on-screen a representation 58 of a portion of the hierarchy surrounding the focus. (More detailed views of the emulated control and the rendered hierarchy are shown and discussed below.) Through the user's eye 60 the user's brain 62 continuously monitors the evolving hierarchy representation 58 as well as the current âjoystickâ position 52 over which the user has the feeling of direct control, the brain directing the hand 64 to move the physical pointing device 66 with its button depressed to effect further change in the focus and therefore in the portion of the hierarchy visible to the user. In this manner:
In a network environment, a software component 70 of the invention is able to load hierarchy information from a remote hierarchy server 72 by way of a network of computers 74 onto the computer 59, which may represent a client of the hierarchy server. Typically a server will serve many clients concurrently. Hierarchy information loading 70 is described in more detail below with respect to FIG. 14.
Referring to FIG. 5, starting at step 100, a software implementation initially performs some gathering 102 of configurable parameters which may include the display area dimensions and a network source for the hierarchy information. This is followed by initialization 104 of other variables. In step 104, a dummy root node is created and the hierarchy information source is associated with it. Step 104 also initializes the user âFocusââthe center of that portion of the hierarchy drawn on the screenâto a point near this dummy root node, which is all that exists of the local hierarchy data at this time. Next, the hierarchy loader 70 is launched to asynchronously load hierarchy is information using standard network protocols from the configured source. The flow of hierarchy loading is described in more detail below with respect to FIG. 14. For now we note that: the source may exist on a remote server 72; the information may arrive following userâperceptible delay; and as information about a node arrives, it is added to the local hierarchy data.
The software next initializes 108 the emulated joystick and its on-screen representation. Next routines 120-126 are launched to asynchronously monitor the physical pointing device, while on a a parallel path the main loop is launched. This loop begins with drawing 140 the hierarchy on the screen.
Step 120 monitors the user input device to detect a change in the physical user-input device's âstateââposition and button state. A change may require an update 122 of the emulated joystick position 130. If a change in the emulated joystick position is detected at 124, the emulated joystick is redrawn at 126. This is illustrated below with respect to FIG. 15.
Returning to the main loop (the right side of the drawing), the emulated joystick is monitored at 142 for any displacement from its center position. When the displacement is non-zero in any dimension, the displacement is mapped by 144 to an incremental change in hierarchy âFocusâ. âFocusâ means where in the hierarchy the user's current view of the hierarchy is centered. Focus is defined as a two-element vector, {Depth,Position-in-Level}. Hierarchy âDepthâ is like hierarchy level, but is permitted to take floating-point values between the integers to which âlevelâ is confined. âPosition-in-Levelâ is a position among the nodes in a level, the leftmost having Position-in-Level 0.0, like an index, but permitted to take floating-point values between integral indices. For instance, a Focus of {1.1,1.5} in the sample hierarchy of FIG. 1 means that the user view is centered between levels 1 and 2 but closer to level 1, and horizontally midway between nodes 24 and 28.
As will be seen in FIG. 8, an alternate method of specifying position within a level has two parts:
The exact mapping 144 of emulated joystick displacement to a change in Focus {dDepth,dFract} depends upon the configuration of the embodiment, but for a configuration in which hierarchy levels are arranged horizontally and hierarchy descent/ascent are shown vertically, the mapping may be as simple as
One implementation uses a dDepth proportional to the square of emulated controller displacement in one direction, for instance. This allows for a navigation speed âdynamic rangeââratio of fastest to slowest non-0 speedâof 12Ă12 in the case where emulated controller displacement in one dimension varies from â12 to 12 pixels.
After adding the incremental change dDepth to Depth in 146, step 148 updates the âverticalâ parameters using the logic shown in FIG. 7, discussed below. âVerticalâ here means âin the direction of hierarchy descent or ascentâ, which may be visually either horizontal or vertical depending upon the configuration.
After adding the incremental change dFract to horiFract in 150, âhorizontalâ (âin the direction from a node to its siblingâ) parameters are updated in step 152 using the logic shown in FIG. 9, discussed below.
Step 154 tests if either Depth or horiFract has changed by more than a predefined threshhold since its last use in drawing the hierarchy. If so, the hierarchy is redrawn in step 140 using the logic shown in FIGS. 10 and 11. The purpose of the threshholds is to reduce demands on computer power by not launching expensive redrawing operations for visual differences small enough to approach imperceptibility.
In either case, the main operation loop continues with the monitoring 142 of the emulated controller's position. This loop is performed at nearly constant time intervals. As the logic of 144 maps a given two-dimensional emulated controller displacement to a two-dimensional Focus change per loop iteration, periodic iteration further maps it to a two-dimensional Focus velocity.
FIG. 6 shows how the display area 402 is to be allocated among some number of hierarchy levels by the logic in FIG. 7. 406 shows one possible allocation to three adjacent levels we call âhiLevelâ, âloLevelâ, and âbe loLevelâ, where the parent of a loLevel node is in hiLevel and its children if any are in beloLevel. The allocated bands may lie partially outside (as with hiLevel) or completely outside (as with hiLevel-1) the actual display area 402. The thickness of allocated bands decreases geometrically with increasing level. For instance, if the ratio of thicknesses Rth of adjoining bands is 2.0, as in the example shown, each level is allocated half the space allocated to its parent level. Note that as the user descends the hierarchy, a level of nodes is very small at its first appearance and gains visual weight as it approaches the focus; this seemingly gradual appearance of each node permits a visually smooth navigation experience.
The geometric relationship among band thicknesses is accomplished by arranging the lines delimiting the bands âexponentiallyâ. More rigorously, define a âVirtual Display Areaâ 404 of which the actual display area 402 is but a fraction HADA/HVDA between 0.5 and 1.0. Then the distance to the line at the top of level N from the bottom of the Virtual Display Area is:
Virtual Display Area height*Rth(DepthâN)
(remembering âDepthâ is one component of Focus), or for our example,
Virtual Display Area height*2.0(DepthâN)
These level-delimiting lines will fall outside (above) the display area for N much less than Depth, and for increasing N, the lines approach the bottom of the Virtual Display Area, falling below the actual display area. The implementation illustrated chooses HADA/HVDA32 ž so that exactly two complete levels are shown. If Depth were a multiple of 1.0, hiLevel and loLevel would then be assigned the top ½ and next Ÿ of the Virtual Display Area, totalling all of the actual display area. In the case illustrated, all of loLevel and parts of hiLevel and beloLevel fall in the actual display area. For any choice of HADA/HVDA<=ž, only the two lines 408 and 410 delimiting loLevel need be calculated for the purpose of drawing, as all others fall outside the actual display area. Drawing is sped up by the fact that at most 3 levels of nodes are involved. For implementations having access to greater resources, HADA/HVDA may be chosen closer to 1.0, so that more of the delimiting lines 412 fall within the actual display area, and more levels and many more nodes need to be represented.
Turning to FIG. 7, we see the logic 148 which accomplishes the vertical allocation illustrated in FIG. 6 in the case Rth=2.0, HADA/HVDA<=ž. This logic is invoked from the main operation flow of FIG. 5 when Depth has changed by a small fraction of 1 or â1, and serves to precalculate some drawing parameters. At step 418, Focus Depth is first forced to be greater than some minimum which is configurable but is typically near 1.0 and to be less than a maximum which is tied to the greatest level of any node loaded. Step 420 then determines which levels will be represented in the display area, or in other words what integers correspond to âhiLevelâ, âloLevelâ, and âbeloLevelâ. The remainder from this rounding operation âvertFractâ will be saved to determine the placement of the delimiting lines in step 428 and for later drawing calculations. A check 422 is made to see whether hiLevel has changed; that is if Depth has crossed an integer boundary. In most cases it has not. If hiLevel has decreased, horizontal parameters are changed in step 424: FocalNode's parent node becomes FocalNode, and horiFract is loaded with what fraction the former FocalNode's child index, augmented by the former horiFract, is of the parent's children. If hiLevel has increased, horizontal parameters, are changed in step 426: the FocalNode child with a child index of horiFract times the number of children, rounded, becomes FocalNode, and the remainder from the rounding becomes horiFract.
Step 428 now calculates the placement of the delimiting lines. This was stated above to be
Virtual Display Area height*2.0(DepthâN)
from the bottom of the Virtual Display Area. The formulae in 428 calculate the more useful distances from the top of the display area, hence the â1ââ. These distances âhiLevelBotâ and âloLevelBotâ are shown as 408 and 410 on FIG. 6. For HADA/HVDA=ž this need only be calculated for the two integral levels N for which Depth-N is between 0 and B2.
FIG. 8 illustrates what âhorizontalâ allocation must do. The display area 520 having been âverticallyâ allocated into bands for the hierarchy levels hiLevel 522, loLevel 524, and beloLevel 526, each band must be further allocated to specific nodes. âFocusâ can be thought of as an imaginary point in the hierarchy that corresponds to the center of the display area 532. âFocalNodeâ is that node which will be drawn to include this center; the shaded box 534 is its allocation. âhoriFractâ is the ratio of FocalNode appearing to the left of the center, 0.0<=horiFract<=1.0. That is, horiFract is the ratio of the solid black line 536 to the width of FocalNode's rectangular allocation 534. âHorizontalâ allocation occurs mostly during drawing using the logic illustrated in FIGS. 10 through 13. FIG. 9 shows some precalculation which is performed after an incremental change to horiFract: If at 552 horiFract has spilled over and is no longer>=0, step 556 replaces FocalNode with the node to its âleftâ in the hierarchy and 1.0 is added to horiFract, unless there is no left node in which case step 558 clips horiFract to 0.0. If at 562 horiFract has spilled over and is no longer<=1, step 566 replaces FocalNode with the node to its ârightâ in the hierarchy and 1.0 is subtracted from horiFract, unless there is no right node in which case step 568 clips horiFract to 1.0.
Horizontal allocation is driven by determining the widths of nodes in level loLevel as they are drawn, first for FocalNode, then iterating through nodes to its left until the display area is used, then iterating through nodes to its right. The display area width required for a node depends on the width required to render it and the sum of rendering widths of its children. The geometric weight given to each of these two factors varies with the fractional component of Depth. As illustrated, a loLevel node is narrower than another having more children (in beloLevel) but its children are wider than those of the other node. From loLevel width allocations:
For implementations which can show more than three levels of nodes at a time (HADA/HVDA>ž), proration continues beyond beloLevel. For instance, if a loLevel node has width W and 3 children each with 3 children, each child has width W/3 and each grandchild has width W/9 allocated.
Before turning to the drawing logic in FIGS. 10 and 11 which accomplishes this, note the horizontal-parameter terminology that will be used: âleftâ and âriteâ are the left and right boundaries of a node's display allocation, marked by 544 and 546 for FocalNode on FIG. 8.
The drawing logic of FIGS. 10 and 11 can be roughly divided into areas drawing FocalNode, drawing nodes to its left, then drawing nodes to its right. The software routine âloDraw(node, horizontal position, fraction to left)â which will be described in reference to FIG. 12 is invoked for each loLevel node (steps 612, 618, 652) not only to draw it but to calculate and return its âleftâ and âriteâ boundary locations, and to draw its children. After each loLevel node is drawn, its width is added to that of an accumulating parent node âhiNodeâ, either a new one (steps 614, 630, 660) or an existing one (steps 622, 656). A new âhiNodeâ is needed when the loLevel node just drawn has a parent which is not hiNode, as checked at 620 and 654. At this time, and at the end of the routine, the existing hiNode is drawn using the software routine âhiDraw(node)â (steps 626, 642, 658, 662).
FIG. 12 illustrates the logic of software routine âloDraw(node, horizontal position, fraction to left)â. Step 714 outlines the node and step 718 draws the node-specific representation concentric with the outline. For each child, step 720 outlines the node and step 724 renders it in the case where the outlined area is large enough to hold the rendering. How many outlined nodes are fully rendered for any given Focus depends upon the space demands of rendering each, upon the display area dimensions, and upon how quickly the hierarchy fans out. However, for typical applications, nodes on three levels are always outlined and are fully rendered about half the time, and nodes on only two levels are fully rendered the other time.
Prior to the outlining and drawing, loDraw( ) must first (step 710) calculate the node's allocated display width âWideâ given the fractional component of Depth âvertFractâ, the number of child nodes, and a target rendering width using the formula
target render width*childcountvertFract
It must then (step 712) convert âWideâ and the incoming parameters âhorizLocâ and âfractionLeftâ to âleftâ and âriteâ, its left and right edges. âhorizLocâ is a horizontal location; it specifies the left edge if âfractionLeftâ is 0, right edge if âfractionLeftâ is 1, and some point in between for 0<fractionLeft<1.
To âdraw node-specific renderingâ may mean invoking primitive code to render text and/or graphics. However for performance reasons in some implementations this means copying a prerendered image to the outline center, so that the time spent in rendering each node need only be incurred once.
FIG. 13 illustrates the much simpler logic of drawing a hiLevel node: outline the node, then draw its node-specific rendering.
If calculations of level-delimiting lines and node widths would place some of a node outside the actual display area, node outlines are made to respect the boundaries of the actual display area. Centering node-specific rendering in this reduced area minimizes the number of cases in which node-specific rendering overflows the actual display area. Such cases can be completely eliminated or can be permitted by choices in defining âtarget render widthâ and âmin render widthâ used in steps 710 and 716.
It is not a part of drawing, but associated with outlining any node in step 802 on FIG. 13 and steps 714 and 720 on FIG. 12, the node is checked for an unread input source. If it has one, software routine âhierarchyLoadâ is launched to asynchronously populate the hierarchy beneath this node from hierarchy information read from the source. The hierarchy information loaded by the first invocation of hierarchyLoad, which populated the hierarchy under the dummy root node, may not be the complete hierarchy for this application. The hierarchy server may deliver only a portion of the hierarchy information, with references to additional portions. This can allow a user to widely navigate an immense hierarchy while triggering the transfer of only a small fraction of the hierarchy information from the hierarchy server to the client. The portions are loaded on demand but before they are actually needed for rendering by calling for them when their parent nodes are first outlined.
Division of the total hierarchy into smaller portions can be accomplished by human or automated extraction of the information into separate files resident on the hierarchy server. Alternatively, the hierarchy server can automatically divide the hierarchy into portions, each with a magnitude appropriate to the network bandwidth, and automatically generate references to information âfilesâ describing sub-hierarchies of the total hierarchy. That is, the âfilesâ sent over the network may never exist in the file format.
We call the delivery of a hierarchy in portions and on demand âhierarchy streamingâ, whether division into portions is prior to or a part of server operation. âHierarchy streamingâ is comparable to âstreamingâ as the term is generally applied to the transmission of data incrementally over a network concurrent with use of the (already-received) data by the client, as for instance when sound information is played by a client computer as additional sound information is still being transmitted. However, hierarchy streaming differs in that the information delivered is of more than one âdimensionâ and there is a strong likelihood that not all of the information will be needed at the client. Therefore two-way communications are useful in hierarchy streaming. Not only must the server deliver information, but the client must request different portions of the hierarchy as they are needed. A hierarchy-streaming performance enhancement is to maintain exactly two connections (one for each direction) between the client and the server, rather than opening and closing a connection for each portion.
The minimize size of streamed portions may be a fixed server parameter. For a performance enhancement, the hierarchy server may adjust the minimum portion size in response to network characteristics as they vary between clients and over time. For instance, a server receiving rapid-fire requests for portions from one client might infer a high-bandwidth connection and deliver larger portions to that client, and it might infer a high error rate from repeated requests for the same portion from another client and deliver smaller portions to that client.
Here is how a hierarchy server might serve a request for hierarchy information while respecting a minimum portion size:
Again, the copied information may contain references.
FIG. 14 shows the hierarchy-loading process from the client point of view. Software routine âhierarchyLoadâ is passed a node that has an associated âunread input sourceâ. This is a string that names a path, such as a âURLâ for internet access or a filename, to a hierarchy definition file. The hierarchy source could also be a database, a data structure, or another program, but here we will describe transfer of a file over the internet. Step 832 âopensâ the source or makes it available for reading. In a client-server context, this âopenâ constitutes a request to the server to provide the hierarchy information. In a loop, step 836 is used to read each line, until failure to read detected at 838 terminates the routine at 840. Each line describes one node, specifically:
At step 848, the new node is placed in the hierarchy data structure as a child of the node added most recently (by this execution instance of hierarchyLoad) at the previous level, and this node is recorded to be the most recently added at this level. This can trigger a redrawing of the hierarchy in cases where the affected parent node is currently being displayed.
FIG. 15 shows a preferred screen layout of an emulated return-to-center controller (a pointing device like a joystick which returns to a resting position when it is released) and a few alternatives.
Referring to the âcontrol stickâ view 920 we describe how a return-to-center controller is emulated when the user has available a non-return-to-center pointing device with a button such as a mouse. Navigation begins when the user guides the mouse to âdragâ display object 922, here an oval representing the top of a control stick, in any direction from its rest position 924 in the center of the region 926 (shown shaded) in which the object may travel. âDragâ means that the user clicks on the object and moves the mouse with its button depressed. While the button is depressed, the emulation moves display object 922 to follow the pointer as limited by the travel region. Specifically, if the âcursorâ 928âan on-screen representation of the position of a user mouse or other pointing device provided by an operating systemâis at the position shown in view 920 when the button is depressed, and the user subsequently causes it to move to its position shown in view 930 with the button still depressed:
The further the object is dragged from the rest position, the greater the emulated controller displacement, and the more rapidly the Focus changes, by the mapping 144 of FIG. 5.
By always rendering the âstickâ part of the control stick with one end at the bottom of the travel region and the other end near the center of display object 922, the image approximates the look of a control stick viewed from above but not directly above, so that in view 930 the stick appears foreshortened.
Each of the following alternative layouts also show a round draggable object at its rest position in a shaded region of allowed travel. Alternate layout 940 is for a vertically displayed hierarchy with the hierarchy root being to the left. It shows a round object which can be dragged left in the direction of hierarchy ascent or in any combination of the opposite and perpendicular directions. Lateral navigation in combination with hierarchy ascent is prohibited. Layout 950 shows a layout that completely restricts travel to one dimension at a time. Layout 960 splits this into two separate scrollers, each of which is âreturn-to-centerâ.
FIG. 16 shows a sample sequence of views presented to a user navigating a hierarchy by nudging control stick 992 away from its rest position in the center of the round area surrounding it. The illustrated implementation is configured horizontally with the top of the hierarchy at the top of the view. The views shown here are only samples from the animated sequence of views the user sees. While viewing view 994, the user nudges control stick 992 downward to descend the hierarchy, then at about the time of view 995, the user moves control stick 992 to the left to swing left as well as downward through the subnodes of the node labeled âComputers and Internetâ. At about the time of view 996, the user is cruising due left to center âBuild Your Visual Studio 6.0 Libraryâ. Then as shown below view 997, control stick 992 is again pushed slightly downward to bring the child nodes into view 997. At this point the user releases control stick 992 and it returns to its home position as shown.
FIG. 17 shows a sequence of six views 972 through 977 presented to a user navigating indexed data (in this case, a dictionary), where the implementation is configured vertically with the hierarchy root at the left side of the view. Again, the views shown here are only a sampling of the animated sequence of views the user sees. In this sequence, the user is drilling directly âdownâ in the hierarchy by pushing the control stick to the right. As the non-leaf nodes are of no interest to the user other than as an aid to navigation, they are not âactiveâ. Only the leaf nodes appearing in view 977 are active and appear as buttons.
FIG. 18 illustrates a hypothetical deployment at a single web site to allow rapid seamless navigation of that site as it would appear in a browser, window. Visually, a page at the site is composed of a main frame 986 and a navigation frame 984. A vertically-oriented view of a hierarchy 980 and an emulated control stick 992 appear in the navigation frame. The hierarchy in this case is the hierarchical organization of a web site. Each node corresponds to a page in the site hierarchy which can be loaded into the main frame, and a node's associated action is interpreted to cause a load of the corresponding page into that frame. We see the site just after the button labeled âMuseum Review 1998â was clicked, causing the corresponding content to be loaded into the main frame.
Other embodiments are within the scope of the following claims.
The invention is easily applicable to a wide range of uses because:
The invention can be applied to navigating a file system. For such purposes a node-specific action might be, for files, to open a file in a file-type-specific way, and for directories, no node-specific action is necessary as navigation itself âopensâ the directory. The invention can be applied to file systems in a network logically combined as if they comprised one large file system.
The invention can be applied to allow easy user navigation of a hierarchically organized set of pages at a large web site, as illustrated in FIG. 18. The small display area demanded by the invention to navigate a hierarchy of any size can be placed in a ânavigation frameâ of a browser window, allowing the user to browse the site and from there control the content of a larger âmain frameâ of the window. More generally, the invention can be likewise be applied to allow easy user navigation of any hierarchically organized set of web pages which may reside in a large number of different sites. For such purposes, a node-specific action places the web page advertised by the selected node in the main frame. The invention can be deployed for such an application by several means, including as a âjava appletâ, as a âplug-inâ, or as a part of the browser itself.
The invention can be applied to navigating a document with an outline. A node-specific action in this case places the user in the associated part of the document. âDocument with an outlineâ includes well-outlined books such as most textbooks, Bible versions which have been divided into book, chapter and verse, and many reference and how-to books.
The invention can be applied to navigating a flat list by âindexingâ the list or file. That is, a hierarchy can be created in which the last level is comprised of leaf nodes associated with the goal of navigation, the elements of the list. (For a dictionary example, leaf nodes are associated with words.) All other nodes are synthesized and labeled to provide reliable signposts for getting to the right leaf nodes. (In the dictionary example, these would identify alphabetic ranges like âAar-Byzâ.) The non-leaf nodes then would have no node-specific action. A leaf node's action for a dictionary might be for the computer to print or to speak a definition or a translation. The action for a contact list leaf node might be to print an address, start an email message, or dial the phone. FIG. 17 illustrates such alphabetic navigation of a word list.
The invention can be applied to navigation of an XML file, either to edit the file or to create a flexible application driven by the XML file.
The invention can be applied to user navigation of an encoded hierarchy such as the Dewey Decimal System. In this case a node-specific action might bring up information about the book.
The invention can be applied to allow easy user entry of postal addresses or other locations by browsing hierarchically arranged geographic regions. For instance, child nodes of a node labeled âNew Englandâ might be labeled with state names.
The invention can be applied to allow rapid user entry of numeric data such as a postal code, where the child nodes of a node labeled â347â would be â3470â, â3471â, â3472â, â3473â, â3474â, â3475â, â3476â, â3477â, â3478â, and â3479â, and a postal-code hierarchy could thus be synthesized.
The invention can be applied to allow easy user selection of categorized products. A recorded song for instance might be categorized at the top level as âmusicâ, then ârock/popâ, then âhip-hopâ, then by recording artist, then by recording, then by track title.
The invention can be applied to entry of text from any set of characters. For a large character set such as âhanziâ used for the Chinese language, characters can be categorized into a hierarchy using conventional indexing methods (Chinese dictionaries are typically categorized by number of strokes), or in some other way, such as categorization by visual similarity. The invention is particularly applicable when a keyboard is unavailable or impractical for text entry.
The invention can be applied to allow easy user navigation of content which is not hierarchical in its native mode (such as a large unorganized site, a corpus of literature, or the entire web) but upon which a hierarchy can be imposed using âself-organizing mapsâ or other similarity-seeking technology.
1-55. (canceled)
56. A method of displaying hierarchically organized information in a two-dimensional space, the method comprising displaying representations of nodes of a hierarchy in a two-dimensional space on a display, each node representation fully occupying a subspace within the space, and allocating the space entirely to the subspaces, the allocation of the display space to the subspaces being dependent on a two-dimensional value representing a focus of a view of the hierarchy displayed to a user, such that a position and dimensions of the portion of the space allocated to each subspace of the display space vary only by an arbitrarily small amount for an arbitrarily small change in the two-dimensional focus value.
57. The method of claim 56 in which the two-dimensional value comprises a floating-point value.
58. The method of claim 56 in which one dimension of the two-dimensional value represents a depth of the hierarchy, and the extent of the display space allocated to a subspace in a dimension that represents the hierarchy depth is a function of the corresponding node's focus-relative depth, the focus-relative depth comprising the difference between the node's depth in the hierarchy and the component of a user-indicated focus in the dimension corresponding to hierarchy depth.
59. The method of claim 56 in which the extent of the display space allocated to a subspace in the dimension that does not represent the hierarchy depth is, for nodes within a central range of focus-relative depth, a function of the node's focus-relative depth and the number of the node's child nodes, and for nodes that are children to nodes within the central range, a function of the extent of the space allocated to the node's parent and the number of the node's siblings and its order with respect to them, and for nodes that are parent to nodes within the central range, a function of the extents of its child nodes.
60. A method comprising receiving at a server a request from a client for information about a hierarchy, in response to the request, providing to the client information about only a portion but not all of the hierarchy, the portion including references to information about other portions of the hierarchy, and determining the size of the portion to be provided to the client adaptively based on parameters for optimizing communication between the server and the client.
61. The method of claim 60 in which each of the portions comprises a sub-hierarchy of the hierarchy.
62. The method of claim 60 in which the server automatically builds a hierarchy definition portion that is as near as possible in size to a given minimum portion size.
63. The method of claim 60 in which the server generates references to sub-hierarchies and includes them with definitions of nodes of the portion provided.