Decision-theoretic methods for identifying relevant substructures of a hierarchical file structure to enhance the efficiency of document access, browsing, and storage7039642Abstract A system and methodology is provided for improving directory operations within a system providing an electronic hierarchical directory of items. The system includes a component which analyzes probabilities and utilities associated with determining potential target directories for storing and accessing data, and a component for building a subset of the potential target directories that are predicted to be the target directory. The probabilities and/or utilities are functions of expected navigation costs associated with traversing from a displayed directory to at least one of the potential target directories. Methods in accordance with the present invention can be coupled with displays of substructures that format the substructures into a coherent hierarchical view. Claims What is claimed is: Description TECHNICAL FIELD In accordance with another aspect of the present invention, a system is provided for determining a potential target node for directory operations. The system includes: means for assigning probabilities and utilities to a plurality of potential target nodes; means for determining an expected utility from the probabilities and utilities associated with the plurality of target nodes; and means for displaying a candidate list of likely nodes to a user based upon the expected utility. According to yet another aspect of the present invention, a signal adapted to be transmitted between at least two processes is provided. The signal comprises a predicting component for communicating information associated with predicting a target file directory; and an analyzing component which analyzes probabilities and utilities associated with determining potential target directories via the signal for storing and accessing data. The following description and the annexed drawings set forth in detail certain illustrative aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed and the present invention is intended to include all such aspects and their equivalents. Other advantages and novel features of the invention will become apparent from the following detailed description of the invention when considered in conjunction with the drawings. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic block diagram illustrating a directory analysis and display system in accordance with an aspect of the present invention; FIG. 2 is a diagram illustrating an exemplary node analysis and display subset in accordance with an aspect of the present invention; FIG. 3 is a diagram illustrating assigning background probabilities to nodes under consideration in accordance with an aspect of the present invention; FIG. 4 is a diagram illustrating updating node statistical probabilities with recent activity in accordance with an aspect of the present invention; FIG. 5 is a diagram illustrating a decision-theoretic evaluation of nodes in a sub-level and higher-level structure in accordance with an aspect of the present invention; FIG. 6 is a diagram illustrating building a likely candidate list accordance with an aspect of the present invention; FIG. 7 is a diagram illustrating restructuring and re-sorting a candidate subdirectory by expected utility in accordance with an aspect of the present invention; FIG. 8 is a diagram illustrating an exemplary display of a candidate directory structure in accordance with an aspect of the present invention; FIG. 9 is a diagram illustrating an exemplary display of an alternative candidate directory structure in accordance with an aspect of the present invention; FIG. 10 is a flow diagram illustrating a methodology providing improved directory access in accordance with an aspect of the present invention; and FIG. 11 is a schematic block diagram illustrating a suitable computing environment in accordance with an aspect of the present invention. DETAILED DESCRIPTION OF THE INVENTION The present invention is now described with reference to the drawings, wherein like reference numerals are used to refer to like elements throughout. The present invention relates to a system and methodology to facilitate improved directory operations and manipulations within a local or remote computer system. This is achieved by providing a reduced subset of likely candidate directories that are determined based upon a decision-theoretic evaluation of expected utility that a potential target directory is the directory a user desires to access. In this manner, time is saved since users have fewer directories to traverse and smaller lists of nodes/files to peruse when searching for a destination directory. Referring initially to FIG. 1, a system 10 illustrates a computer system with directory analysis and display in accordance with an aspect of the present invention. The system 10 includes a directory operations subsystem 20, and a directory analysis subsystem 24 that evaluates a directory tree structure 30 via interface 40. It is noted that the interface 40 may be a local bus connection within the computer system 10 for communicating with the local directory tree structure 30 and/or may be a remote connection, such as a network connection or wireless connection wherein the directory tree structure 30 resides on a remote computer system (not shown). In accordance with the present invention, a user invokes a directory operation via a user input 44 (e.g., mouse, keyboard) that is directed to the directory operations subsystem 20. The directory operations subsystem 20 may be invoked by substantially any application executing on the computer system 10. These operations may include file access, save, and browsing operations associated with the directory tree structure 30, for example. As an example, a text editing application may invoke a save operation directed to the directory tree structure 30 wherein the current file being edited is to be saved in an alternative directory node. Another example may include a file open operation wherein a subsequent file is to be opened along with the current file being operated upon by the user. Still yet another example of a directory operation may include a remote web access scenario (e.g., browsing) wherein a remote directory tree structure 30 (e.g., web site with associated directory levels). It is to be appreciated that substantially any directory operation that interfaces to the directory tree structure 30 may be employed in conjunction with the present invention. After the user has initiated a directory operation via the directory operations subsystem 20, the directory analysis subsystem 24 evaluates the directory tree structure 30, and provides a reduced subset of selectable candidate nodes at a display output 50. This enables the user to select a directory or subdirectory from a minimal set of candidate nodes that are probabilistically determined to have a high likelihood of being the directory destination for the desired directory operation. For example, the user may be presented with a list of candidate directories 1 through K and associated subdirectories at the display output 50. If the user were to select a file open operation via the directory operations subsystem 20 for example, the user possibly may select subdirectory 1 shown at reference numeral 52 from the presentation of likely candidate directories 1 through K, K being an integer, in order to open a desired file. By selecting from the reduced subset of likely candidate directories 1 through K at display 50, time is saved and efficiency is increased since the user does not have to navigate, peruse and search through a plurality of possible and perhaps irrelevant directories and subdirectories in the directory tree structure 30 during directory operations. As illustrated, the directory tree structure 30 may include a plurality of directories, depicted as directories 1 through N, each directory associated with a plurality of possible levels of subdirectories, depicted as levels L1 through LL, and each subdirectory level including a plurality of possible subdirectories, depicted as subdirectories 1 through M, wherein L, M, and N are integers. The directory analysis subsystem 24 evaluates the plurality of directories, subdirectory levels, and associated subdirectories in the directory tree structure 30 to provide a minimal/optimal set of likely directories and subdirectories in the display output 50 wherein the user selects from a few highly relevant alternatives when initiating directory operations. As will be described in more detail below, the directory analysis subsystem 24 utilizes a decision-theoretic analysis of the directory tree structure 30 in order to provide the reduced subset of candidate directories and subdirectories at the display output 50. The decision-theoretic analysis includes assigning probabilities to all nodes associated with the directory tree structure 30 as potential target nodes. The probabilities may include prior probabilities of node targets for document types saved within a longer term time horizon and more recent evidence of node activity, within a shorter time horizon of document content and activity to update potential target probabilities (e.g., increase the sample size of documents in directory folders). Expected utilities are then evaluated for each node. In the evaluation of each candidate or "target" node, the target itself is considered, and then nodes that are down one and two levels, and nodes that are up one level, and also down one level from the upper level. A list of display candidates is then started beginning with the node with the maximum expected utility and then removing that node from consideration. A re-evaluation of all nodes remaining in the directory tree structure 30 is then conducted, adding the new node, and scanning again to see that the new node is optimal before continuing to build a list of up to N display items. A list of all targets is then created and sorted by expected utility. The list is then displayed in a manner that preserves the overall utility ordering for each level of abstraction. Referring now to FIG. 2, a directory tree structure 80 is illustrated in accordance with the present invention. It is noted that the directory tree structure 80 depicts an exemplary structure and that more or less directory nodes and node levels may be analyzed in accordance with the present invention. The directory tree structure 80 is represented by a plurality of directory nodes 90 through 99. Each node 90 through 99 is evaluated for expected utility wherein each node is assigned a value of being a likely destination or target node. Nodes may then be sorted and presented to the user as a subset of all the nodes under consideration based upon the expected utility determination. As an example, three possible exemplary node subsets are depicted at reference numerals 102, 104 and 106 that represent smaller subsets of the larger directory tree structure 80. By providing the user with a compact view of likely candidate directories such as node subsets 102-106, time is saved and efficiency is increased since the user does not have to peruse, search and navigate through all directory nodes 90-99 during directory operations. The present invention provides a decision-theoretic node evaluation to order all target directories by expected utility to determine the node subsets. Each top-level directory (e.g., C:\, D:\), are followed by listings of more and more detailed targets. The top-level directories are thus ordered by expected utility. Each top-level directory is sorted and populated with the highest levels of the next level of detail by expected utility. The next levels of each subdirectory are then recursively populated, again by expected utility. A set of pruning heuristics may be employed to limit the size of the set of files contained by each top-level directory (e.g., by considering a maximum size as well as a minimum expected utility). In order to determine the node subsets 102-106, a target node (i), 96 may first be evaluated for expected utility. As illustrated, the target (i) 90 has a parent node (k) 91 that has two other associated nodes at level (l), 92 and 93. The target (i) 90 has three sublevel nodes (j) 94-96 wherein one of the (j) levels 96 also has three exemplary sublevel nodes (m) 97-99. For each node 90-99, a probability is assigned that the node is a target node, such that p(Target i|Recent, Long-term Evidence) as will be described in more detail below. For each node under consideration such as the target node (i) 90, an evaluation of the children of that node j1 . . . jn 94-96 and the parent of the node, k and its children one level down, l1 . . . ln may be conducted, for example. It is to be appreciated that other nodes (not shown) may also be included in the determination. The expected utility of a potential target node is the probability that the node is the target node weighted by the utility of that node being the target, then summed together with the probabilities that the target location is in some near proximity to the target, weighted by the utility of making a navigational move to an adjacent node from the target and the cost of reviewing a list associated with the navigation. Referring now to FIGS. 3-5, a more detailed description is provided for the expected utility determination and decision-theoretic evaluation described above. Turning initially to FIG. 3, background probabilities are determined and assigned to each node in the directory tree structure 80. These probabilities may be determined from a plurality of factors that indicate that a potential node is a likely target node. For example, a predetermined file activity horizon may be defined for all files in each node in the directory tree structure 80. For example, each file in each directory node may be checked for file activity within an amount of time (e.g., check file save operations within the last 2 weeks). Directory nodes with more files that have been saved and/or acted upon within the predetermined amount of time are assigned higher probabilities of being the target node. Referring now to FIG. 4, the background probabilities described above may be updated in real-time and based upon more recent file and directory activities associated with a particular application and/or file type. These probabilities may include the frequency that a particular file and/or directory has been accessed by the user. For example, these probabilities may be determined from file similarities associated with an application. If a text file is being saved or opened for example, nodes containing large numbers of text files will have a higher probability of being a target node than nodes containing large numbers of drawings files. Other factors may include determining document or item similarities (e.g., with a cosine similarity metric for text similarity or a classification technology that provides a probability that an item belongs in a category based on its content), and may include a language model analysis of the files within each node, wherein file elements or structures within each file may be compared with the current file being operated upon by the user. Still other factors may include long and short term statistical analysis based upon application type. For example, it may be determined that a particular user generally saves text applications in one high-level directory (e.g., C:/documents) and generally saves spread sheet applications in another high-level directory (e.g., D:/spread sheet). Depending on the directory operation to be performed from a particular application, the probabilities assigned to each node may thus change. It is to be appreciated that a background monitor can be included with the computer system described above to monitor file and directory activities associated with the user actions. In other words, the background monitor can determine how frequently a particular file has been accessed by associating a counter with each file, and updating the counter each time the file and/or directory operation is attempted by the user. Frequency can be determined by dividing the number of counts in the counters over a predetermined time period. Thus, files with a higher frequency of access may be assigned higher probabilities. Turning to FIG. 5, a decision-theoretic evaluation of the tree structure 80 is illustrated in accordance with the present invention. As described above in relation to FIGS. 3 and 4, all nodes in the tree structure 80 are assigned background probabilities and are updated in real time with probabilities that are associated with the type of application being operated upon. After the probabilities have been assigned, a utility factor is assigned to each node. The utility factor assigns a penalty for navigating to an adjacent node to perform a directory operation. For example, when the target (i) node 90 is under evaluation, the utility factor may be set to (l) since there are no assumed penalties associated with staying at the target node (i). If traversing down one level to nodes (j) 94-96, a utility factor may be assigned as 0.6, for example. It is to be appreciated that the utility factor may be assigned by the user at run time, and/or may be encoded as default values for each level of navigation. If traversing down two levels to nodes (m) 97-99, a utility factor may be assigned as 0.1, for example. Similarly, if traversing up one level to node (k) 91 the utility factor may be assigned 0.4 and similarly, up one level and down one level to nodes (l) 92, 93 a utility factor may be assigned as 0.05, for example. It is noted that these utility factors are provided for exemplary purposes and may be assigned or encoded as substantially any factor that provides a penalty for navigating to an adjacent node. A list scan penalty may also be assigned to each node in the directory tree structure 80. The list scan penalty assigns a penalty for displaying a number of items in a list. For example, an exponential function (e.g., Size1/n) may be selected as a penalty function, wherein N is an integer and represents the number of files in the list. In the example tree structure depicted by the tree structure 80, no scan penalty is assigned to node (k) 91, since this node would appear by itself, without any other nodes on the (k) level, in a list of nodes. Nodes (j) 94-96 on the other hand, are each associated with three items at the (j) sublevel. Likewise, nodes (m) 97-99 are each associated with three items at the (j) sublevel and are thus assigned a list scan penalty. After assigning the utility factor and list scan penalties to all nodes in the directory tree 80, an expected utility evaluation for each node can proceed. This involves evaluating each node in the directory tree structure 80 as a potential target node. For example, the target node (i) 90 may be the first node to be considered. For each node in the tree structure 80 a multiplication occurs utilizing the probabilities determined for that node multiplied by the utility factor and list scan penalty to navigate to that node to create an expected utility product for each node. The expected utility for a node, such as the target node (i) 90, is then the sum of all the expected utility products for each node 90-99. The following equation illustrates this computation of the expected utility for the target node (i) 90. ##EQU1## ##EQU2## wherein n, m, and o are integers, and p(Elsewhere) is 1-(the sum of all of the probabilities in consideration for node i). Thus, p(Elsewhere)=1-[p(Target i)+Σj=1 . . . n p(T=j)+p(T=k)+Σ1=1 . . . m p(T=l)]. Equation 1 can be simplified by dropping the last term of Equation 1 by setting the utility of u[Target is elsewhere, Guess is i, f(m)] to zero. Thus, the following Equation may be employed: ##EQU3## ##EQU4## wherein f( ) is the list scan penalty that grows as the number of items that need to be scanned grows. The utility factor can be considered as a list-scan size independent utility that is modified by the multiplicative factor, f(n). Thus, the utilities factors are assigned for navigating from one level to the next from the target node (i) under consideration. For example, if:
As described above, more or less directory sublevels may be similarly analyzed in accordance with the present invention, and that other utility factors assigned based on a user-assigned and/or encoded penalty for navigating from one sublevel to the next. After target node (i) 90 has been evaluated for expected utility, each node in the directory tree structure 80 may be similarly evaluated whereby that node (the node under evaluation) is made a potential target node and analyzed in relation to all other nodes. For example, node (j) 94 may next be analyzed for expected utility, wherein the node (j) 94 is analyzed similarly to target node (i) 90 described above. Similarly, all nodes in the directory tree structure 80 may be analyzed and assigned an expected utility. Referring now to FIG. 6, a candidate list of relevant directory nodes is separated from the directory tree structure 80 after determining expected utility as described above in FIG. 5. A candidate list 120 is illustrated with two nodes 122 and 124 that have been sorted from the directory tree structure 80 based upon the expected utility that candidate nodes 122 and 124 are likely to be the desired destination/target directories for performing directory operations. According to this aspect of the invention, the list of candidates may be built by identifying a "best node", based upon the highest expected utility determined for all nodes in the directory tree structure 80. The node with the highest expected utility is then added to the list of candidates 120, and then removed from consideration. The expected utility evaluation described above is then repeated without the previously added node 122 being considered. The next best node is then determined based upon expected utility, and added to the list of candidates 120. For example, the node 122, may be the first node added to the candidate list 120 and is thus removed from consideration of the next expected utility calculation for the directory tree structure 80. The node 124, which may have the next highest expected utility and is then added to the list 120. The node 122, is then returned as an original node to the directory tree 80 and an expected utility determination is attempted again to determine if a summation of the candidate list 120 is greater than the prior list. If not, a return to the prior candidate list is provided, if so, the determination of the candidate list continues on until another candidate node is determined. This process is continued in this manner, with replacement of nodes from the candidate list 120 back into the directory tree structure 80 until reaching a max number of candidates or exhausting the search of the directory tree structure 80. Referring now to FIG. 7, an exemplary output display of candidate nodes 120 is illustrated in accordance with the present invention. The nodes that where extracted in the expected utility determinations described above may be listed in order of expected utility as illustrated in the list 120. As an alternative, the final list 120 may be displayed by utility of items, wherein a display 130 is sorted with a metaphor defined by a global file system (e.g., dynamically created sub-trees created with indentation, and/or actual tree structure). Referring to FIG. 8, an exemplary output display and candidate list is illustrated in accordance with the present invention. A user, may attempt a file "save as" operation as is well understood. It is to be appreciated that other directory operations such as open or browse may be similarly initiated. An auxiliary display window 140 may be provided in order to list display candidate directories 142 through 148. As described above, the entire directory structure of the local or remote computer may be analyzed to determine the candidate directories based upon expected utilities. As illustrated, a document type file is being saved in an alternative directory. The display 140 provides a sorted list based on expected utility and represents a reduced subset of directories that the user must search though in order to find a destination or target directory to save the document file. In this example, the user has selected the directory at reference 144 as the ultimate destination directory. In a similar example, a presentation file (e.g, Power Point) is saved as illustrated in FIG. 9. In this case, the user selects from the display 140 at reference 150 as the ultimate destination for the save operation. FIG. 10 illustrates a methodology for providing improved directory access in accordance with an aspect of the present invention. While, for purposes of simplicity of explanation, the methodology is shown and described as a series of acts, it is to be understood and appreciated that the present invention is not limited by the order of acts, as some acts may, in accordance with the present invention, occur in different orders and/or concurrently with other acts from that shown and described herein. For example, those skilled in the art will understand and appreciate that a methodology could alternatively be represented as a series of interrelated states or events, such as in a state diagram. Moreover, not all illustrated acts may be required to implement a methodology in accordance with the present invention. Referring to FIG. 10, and proceeding to 160, probabilities are assigned to each node under evaluation in a directory tree structure. As described above, this may be based on recent and/or long-term file activity. At 162, utilities and scan list penalties are assigned to each node under evaluation. Utilities reflect the cost of navigating up or down to another directory from the directory node currently under analysis. Scan list penalties are assigned as a function of the number of items appearing in a list associated with a node under evaluation. At 164, an expected utility product for each node under consideration is formed by multiplying the probabilities, utilities, and scan list penalties described above. At 166, all the expected utility products for all the nodes under evaluation are summed to determine an expected utility for the current node being evaluated as a potential target node. At 168, a candidate node display is constructed from the expected utility determinations performed in 166. The candidate node display enables a user to select from a reduced subset of directories when performing directory operations, and thus improve computer efficiency. In order to provide a context for the various aspects of the invention, FIG. 11 and the following discussion are intended to provide a brief, general description of a suitable computing environment in which the various aspects of the present invention may be implemented. While the invention has been described above in the general context of computer-executable instructions of a computer program that runs on a computer and/or computers, those skilled in the art will recognize that the invention also may be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks and/or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the inventive methods may be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like. The illustrated aspects of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. However, some, if not all aspects of the invention can be practiced on stand-alone computers. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. With reference to FIG. 11, an exemplary system for implementing the various aspects of the invention includes a computer 220, including a processing unit 221, a system memory 222, and a system bus 223 that couples various system components including the system memory to the processing unit 221. The processing unit 221 may be any of various commercially available processors. Dual microprocessors and other multi-processor architectures also may be employed as the processing unit 221. The system bus may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of commercially available bus architectures. The system memory may include read only memory (ROM) 224 and random access memory (RAM) 225. A basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within the computer 220, such as during start-up, is stored in ROM 224. The computer 220 further includes a hard disk drive 227, a magnetic disk drive 228, e.g., to read from or write to a removable disk 229, and an optical disk drive 230, e.g., for reading from or writing to a CD-ROM disk 231 or to read from or write to other optical media. The hard disk drive 227, magnetic disk drive 228, and optical disk drive 230 are connected to the system bus 223 by a hard disk drive interface 232, a magnetic disk drive interface 233, and an optical drive interface 234, respectively. The drives and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, etc. for the computer 220. Although the description of computer-readable media above refers to a hard disk, a removable magnetic disk and a CD, it should be appreciated by those skilled in the art that other types of media which are readable by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, and the like, may also be used in the exemplary operating environment, and further that any such media may contain computer-executable instructions for performing the methods of the present invention. A number of program modules may be stored in the drives and RAM 225, including an operating system 235, one or more application programs 236, other program modules 237, and program data 238. The operating system 235 in the illustrated computer may be any commercially available operating system. A user may enter commands and information into the computer 220 through a keyboard 240 and a pointing device, such as a mouse 242. Other input devices (not shown) may include a microphone, a joystick, a game pad, a satellite dish, a scanner, or the like. These and other input devices are often connected to the processing unit 221 through a serial port interface 246 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, a game port or a universal serial bus (USB). A monitor 247 or other type of display device is also connected to the system bus 223 via an interface, such as a video adapter 248. In addition to the monitor, computers typically include other peripheral output devices (not shown), such as speakers and printers. The computer 220 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 249. The remote computer 249 may be a workstation, a server computer, a router, a peer device or other common network node, and typically includes many or all of the elements described relative to the computer 220, although only a memory storage device 250 is illustrated in FIG. 11. The logical connections depicted in FIG. 11 may include a local area network (LAN) 251 and a wide area network (WAN) 252. Such networking environments are commonplace in offices, enterprise-wide computer networks, Intranets and the Internet. When employed in a LAN networking environment, the computer 220 may be connected to the local network 251 through a network interface or adapter 253. When utilized in a WAN networking environment, the computer 220 generally may include a modem 254, and/or is connected to a communications server on the LAN, and/or has other means for establishing communications over the wide area network 252, such as the Internet. The modem 254, which may be internal or external, may be connected to the system bus 223 via the serial port interface 246. In a networked environment, program modules depicted relative to the computer 220, or portions thereof, may be stored in the remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be employed. In accordance with the practices of persons skilled in the art of computer programming, the present invention has been described with reference to acts and symbolic representations of operations that are performed by a computer, such as the computer 220, unless otherwise indicated. Such acts and operations are sometimes referred to as being computer-executed. It will be appreciated that the acts and symbolically represented operations include the manipulation by the processing unit 221 of electrical signals representing data bits which causes a resulting transformation or reduction of the electrical signal representation, and the maintenance of data bits at memory locations in the memory system (including the system memory 222, hard drive 227, floppy disks 229, and CD-ROM 231) to thereby reconfigure or otherwise alter the computer system's operation, as well as other processing of signals. The memory locations wherein such data bits are maintained are physical locations that have particular electrical, magnetic, or optical properties corresponding to the data bits. What has been described above are various aspects of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art will recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims.
|
Same subclass Same class Consider this |
||||||||||
