Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM AND METHOD FOR IDENTIFYING APPLICATION RESOURCES
Document Type and Number:
WIPO Patent Application WO/2006/138706
Kind Code:
A3
Abstract:
A system and method for simplifying resource management is provided. Resources are represented by resource objects in a resource object model. Each resource object represents a single resource and contains one or more resource attributes to describe the resource. At least one of the resource attributes for each resource object is a string identifier formed within the constraints of a query grammar. The string identifier is a text-based identifier that is based upon a unique property of the represented resource. A characteristic of the resources is selected as the basis for the relationship between resource objects in the resource object model. In one embodiment, an application identifies resources by generating a search query using the same query grammar used to create the string identifier. In another embodiment, a user manually enters the search query into a command line interpreter.

Inventors:
PAVAL EUGEN (US)
Application Number:
PCT/US2006/023757
Publication Date:
May 24, 2007
Filing Date:
June 19, 2006
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
COMPUTER ASS THINK INC (US)
International Classes:
G06F15/173
Foreign References:
US20040267749A12004-12-30
US20050086343A12005-04-21
Attorney, Agent or Firm:
TOERING, Rick, A. et al. (P.O. Box 10500 McLean, VA, US)
Download PDF:
Claims:

CLAIMS

What is claimed is:

1. A method for managing resources, the method comprising: generating a resource object model including one or more resource objects, wherein each resource object represents a resource, and wherein a characteristic of the resources is selected as the basis for the relationship between resource objects; and describing each resource object with one or more resource attributes, wherein each resource is described by at least one resource attribute that is a string identifier formed within the constraints of a query grammar.

2. The method of claim 1 , wherein generating the resource object model includes identifying application resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

3. The method of claim 1 , wherein generating the resource object model includes identifying system resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

4. The method of claim 1 , wherein the basis for the relationship between resource objects is a containment relationship.

5. The method of claim 1 , wherein each string identifier is based on a unique property of the represented resource.

6. The method of claim 1 , further comprising: locating a resource by executing a search query against said resource object model, wherein the search query is a string formed within the constraints of said query grammar.

7. The method of claim 5, wherein executing the search query comprises: parsing the resource object model; comparing string identifiers of resource objects in the resource object model to the string making up the search query; identifying the resource objects in the resource object model that satisfy the search query; and returning the identified resource objects.

8. The method of claim 6, wherein the search query is a user input to a command line interpreter.

9. The method of claim 6, wherein the search query is generated by an application.

10. The method of claim 1, wherein the resource objects and the resource object model are assimilated into an XML document.

11. The method of claim 1 , wherein the query grammar is XPath.

12. The method of claim 1 , wherein the resource object model is a hierarchical search tree and resource objects are nodes in the hierarchical search tree.

13. A system for managing resources, the system comprising one or more processing devices collectively configured to: generate a resource object model including one or more resource objects, wherein each resource object represents a resource, and wherein a characteristic of the resources is selected as the basis for the relationship between resource objects; and describe each resource object with one or more resource attributes, wherein each resource is described by at least one resource attribute that is a string identifier formed within the constraints of a query grammar.

14. The system of claim 13, wherein building the resource object model includes identifying application resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

15. The system of claim 13, wherein building the resource object model includes identifying system resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

16. The system of claim 13, wherein the basis for the relationship between resource objects is a containment relationship.

2006/023757

17. The system of claim 13, wherein each string identifier is based on a unique property of the represented resource.

18. The system of claim 13, wherein the one or more processing devices are further configured to: locate a resource by executing a search query against said resource object model, wherein the search query is a string formed within the constraints of said query grammar.

19. The system of claim 18, wherein executing the search query comprises: parsing the resource object model; comparing string identifiers of resource objects in the resource object model to the string making up the search query; identifying the resource objects in the resource object model that satisfy the search query; and returning the identified resource objects.

20. The system of claim 18, wherein the search query is a user input to a command line interpreter.

21. The system of claim 18, wherein the search query is generated by an application.

22. The system of claim 13, wherein the resource objects and the resource object model are assimilated into an XML document.

US2006/023757

23. The system of claim 13, wherein the query grammar is XPath.

24. The system of claim 14, wherein the resource object model is a hierarchical search tree and resource objects are nodes in the hierarchical search tree.

25. A computer-readable medium containing computer-executable instructions for managing resources, the computer-executable instructions collectively configured to: generate a resource object model including one or more resource objects, wherein each resource object represents a resource, and wherein a characteristic of the resources is selected as the basis for the relationship between resource objects; and describing each resource object with one or more resource attributes, wherein each resource is described by at least one resource attribute that is a string identifier formed within the constraints of a query grammar.

26. The computer-readable medium of claim 25, wherein generating the resource object model includes identifying application resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

27. The computer-readable medium of claim 25, wherein generating the resource object model includes identifying system resources, wherein each identified resource is represented by one or more resource objects in the resource object model.

28. The computer-readable medium of claim 25, wherein the basis for the relationship between resource objects is a containment relationship,

29. The computer-readable medium of claim 25, wherein each string identifier is based on a unique property of the represented resource.

30. The computer-readable medium of claim 25, wherein the computer- executable instructions are further configured to: locate a resource by executing a search query against said resource object model, wherein the search query is a string formed within the constraints of said query grammar.

31. The computer-readable medium of claim 30, wherein executing the search query comprises: parsing the resource object model; comparing string identifiers of resource objects in the resource object model to the string making up the search query; identifying the resource objects in the resource object model that satisfy the search query; and returning the identified resource objects.

32. The computer-readable medium of claim 30, wherein the search query is a user input to a command line interpreter.

33. The computer-readable medium of claim 30, wherein the search query is generated by an application.

34. The computer-readable medium of claim 25, wherein the resource objects and the resource object model are assimilated into an XML document.

35. The computer-readable medium of claim 25, wherein the query grammar is XPath.

36. The computer-readable medium of claim 25, wherein the resource object model is a hierarchical search tree and resource objects are nodes in the hierarchical search tree.

Description:

SYSTEM AND METHOD FOR IDENTIFYING APPLICATION RESOURCES

CROSS REFERENCE TO RELATED APPLICATIONS

[001] This application claims the benefit of provisional U.S. Patent Application Serial No. 60/691 ,602, entitled "System and Method for Identifying Application Resources," filed June 17, 2005, and which is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

[002] The invention relates generally to resource management, and in particular, to providing a uniform method of naming resources. The invention is particularly well- suited for software management applications, enterprises where applications interact with a large number of resources, or where third parties or human operators must specifically identify resources.

BACKGROUND OF THE INVENTION

[003] Currently, there is no well defined, formalized and standardized process for naming the resources with which a system or application interacts. Instead, each application usually chooses its own method of naming resources. Moreover, naming resources and finding resources are considered still two different processes. Sometimes an application will use the name of a resource as a key to search for the resource against a pre-built resource index. This method works for that application only because other applications may not be aware of naming techniques used by other applications and there is no formal relationship between the key and the resource in question.

[004] Another problem with resource naming is the difficulty for human operators to identify and locate resources. Some environments may assist an operator through a graphical user interface (GUI), which may hide the complexity of unique identification. However, this is not possible in environments that implement a command line interface (CLI), in which a user has to key in a resource name manually. Since applications often ensure uniqueness in resource naming by following algorithms based on statistics and random number generators, a resource key is often completely unrelated to the characteristics of the resource and impossible for a human operator to memorize or reconstruct based on resource characteristics.

[005] Therefore, there is a need for a method of naming resources that makes resources easily identifiable across applications at runtime. In addition, there is a need for a method of naming resources which allows a human user and/or operator to identify and locate resources based on predictable characteristics.

SUMMARY OF THE INVENTION

[006] The invention solves the aforementioned problems by providing a system and method that simplifies resource management. According to the invention, this system and method provides a uniform naming mechanism. In some embodiments, a method for managing resources includes building a resource object model, wherein the resource object model includes one or more resource objects. Each resource object represents a single resource, wherein the resource object may be characterized by one or more resource attributes. The particular attributes may depend on the type and/or characteristics of the particular resource. In some embodiments, the set of attributes may include at least a string identifier formed

within the constraints of a query grammar. A naming module creates the string identifier based on a unique property of the represented resource. A characteristic of the resources may be selected as the basis for the relationship between resource objects. For example, the chosen characteristic may be a containment relationship. [007] In some embodiments, the resource object model may take the form of a hierarchical search tree, in which the resource objects are nodes in the search tree, and where the resource characteristic forming the basis for the relationship between research objects guides the placement of nodes in the search tree. Each system or application resource may be identified and represented by at least one resource object in the search tree, with the string identifiers being formed within the constraints of the XPath query grammar. In some embodiments, after the search tree is built, it may be assimilated into an XML document. Resource formats other than XML and query grammars other than XPath may be used without departing from the scope and spirit of the invention. Those skilled in the art will recognize that resources may be identified and represented using different techniques without departing from the scope and spirit of the invention. Whatever format and/or query grammar is chosen, criteria may be expressed in a well defined and formalized query language with a known grammar which enables both the programmatic creation of the name as well as the parsing of the name.

[008] In some embodiments, resources may be located or identified within the search tree by resolving one or more search queries against the search tree. In one embodiment, the search query may be generated at run-time by an application that requires a resource. In other embodiments, the search query may be an input to a user interface, such as a command line interpreter. The search query may take the form of a string formed within the constraints of the same query grammar used to

form string identifiers of resource objects in the resource object model. Executing the query includes parsing the resource object model and identifying resources that satisfy the search query. For example, the query string may be compared to the string identifiers used to describe resource objects. Those skilled in the art will recognize that other techniques for solving search queries may be used without departing from the scope and spirit of the invention.

[009] In other embodiments, a system including one or more processing devices may be collectively configured to practice the aforementioned method. In other embodiments, a computer-readable medium includes computer-executable instructions for practicing the aforementioned method. Other objects and advantages of the invention will be apparent to those skilled in the art based on the following detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[010] Fig. 1 is a block diagram of an exemplary architecture for practicing the invention.

[011] Fig. 2 is a logical diagram of an exemplary object model for organizing resources according to the invention.

DETAILED DESCRIPTION

[012] The invention provides a system and method of naming resources that is both predictable and memorable, thereby allowing applications to easily locate required resources at run-time, while also enabling a user to locate and identify resources by keying a resource name into a user interface.

[013] The invention may be practiced in any number of computer systems and/or architectures, and simplifies resource management even for enterprises that may interact with vast numbers of files and/or application instances. Referring to Fig. 1 , an exemplary system for practicing the invention is described. According to some embodiments, system 100 may include a server 110 and one or more clients 160a-n that are interconnected by one or more networks 150. Server 110 includes memory 111 , at least one processor 112, and a data management subsystem 120 operable to receive, transmit, process, store, or otherwise manage data associated with system 100. While Fig. 1 describes a particular architecture in which the invention may be practiced, those skilled in the art will appreciate that other suitable computing architectures may be used. For example, server 110 may be implemented as a blade server, general-purpose personal computer (PC), Macintosh, workstation, Unix-based computer, server pool, or any other suitable device. In other words, the invention contemplates networked environments, general purpose computers, as well as computers without conventional operating systems. Server 110 may be adapted to execute any operating system including Linux, UNIX, Windows Server, or others. According to various embodiments, server 110 may also include or be communicatively coupled with a web server and/or a mail server. [014] Memory 111 may include any memory or database module and may take the form of volatile or non-volatile computer-readable media including, without limitation, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), removable media, or any other suitable local or remote memory component. For example, memory 111 may store backup data, jobs, or disk recovery information that may include any parameters, variables, algorithms, instructions, rules or other data from clients 160a-n. Memory 111 may also include any other appropriate data

such as virtual private network (VPN) applications, firmware logs and policies, firewall policies, a security or access log, print or other reporting files, HTML files or templates, and others.

[015] Processor 112 executes instructions and manipulates data to perform the operations of server 110, and may take the form of a central processing unit (CPU), a blade, an application specific integrated circuit (ASIC), field-programmable gate arrays (FPGA), or other processing architectures that are known to those skilled in the art. Although described as a single processor in server 110, multiple processors may be used according to the particular needs where applicable. In various embodiments, processor 112 may execute a backup engine 122, which may be software operable to perform backup, storage, or other operations to manage data as needed. In some embodiments, backup engine 122 interacts with data management subsystem 120 to perform various data management services. As used herein, "software" includes any combination of hardware, software, or firmware as appropriate. For example, backup engine 122 may be written or described in any appropriate computer language, and the backup engine may be a single multi-tasked module or the features may be performed by multiple modules. Further, while described as internal to the server, one or more processes associated with backup engine 122 may be stored, referenced, or executed remotely. Similarly, one or more devices associated with data management subsystem 120 may be alternatively be located within server 110 or remotely, as appropriate. Additionally, backup engine 122 may be a child or sub-module of another software module without departing from the scope of the invention. In some embodiments, backup engine 122 may be communicatively coupled with a graphical user interface (GUI) 130. In other

embodiments, GUI 130 may be included within backup engine 122 or an administrative workstation coupled to server 110.

[016] Server 110 may also include a network interface 140 for communicating with other computer systems, such as clients 160a-n, over network 150 in a client-server or distributed environment. Generally, network interface 140 includes logic encoded in software and/or hardware in a suitable combination and may be operable to communicate with network 150. More specifically, network interface 140 may include software supporting one or more communication protocols associated with communications network 150 and/or hardware operable to communicate electrical signals.

[017] Network 150 facilitates wireless or wired communication between server 110 and any other local or remote computers, such as clients 160a-n. Network 150 may be all or part of an enterprise or secured network. In another embodiment, network 150 be a VPN between server 110 and clients 160a-n across a wireless or wired link. While described as a single network, network 150 may be logically divided into subnets or virtual networks without departing from the scope of the invention. Network 150 may communicate using any known network protocol, including Internet Protocol (IP), Frame Relay, Asynchronous Transfer Mode (ATM), as well as many others. Network 150 may include one or more local area networks (LANs), radio access networks (RANs), metropolitan area networks (MANs), wide area networks (WANs), or all or a portion of the Internet. In certain embodiments, network 150 may be a secure network associated with an enterprise and certain local or remote clients. In other embodiments, server 110 may be communicatively coupled with one or more remote resources over network 150 (in addition to local resources). These resources may be intra-enterprise, inter-enterprise, regional, or national applications,

data sources, or repositories associated with the enterprise. Resources may be physically or logically located at any appropriate location.

[018] Clients 160a-n may be any computing device operable to connect or communicate with server 110 or network 150 using a wireless or wired connection. Each client 160a-n includes at least a GUI 161. In other embodiments, clients 160a- n may include an agent 162, and includes an electronic computing device operable to receive, transmit, process, and store any appropriate data associated with the system 100. It will be understood that there may be any number of clients 160a-n communicatively coupled to server 110 via network 150. For example, clients 160a-b may be local clients within the enterprise, or alternatively may be external to the enterprise. Clients 160a-n may include any permutation of personal computers, touch screen terminals, workstations, network computers, kiosks, wireless data ports, smart phones, personal data assistants (PDAs), or any other suitable processing device. For example, client 160a may be a laptop or personal computer that includes an input device, such as a keypad, touch screen, mouse, or other input device, and an output device that conveys information associated with the operation of server 110 or client 160a, including digital data, analog data, or visual information. Both the input device and output device may include fixed or removable storage media such as magnetic computer disks, CD-ROMs, or other suitable media to both receive input from and provide output to users of clients 160a-n through the display, i.e., GUI 161a-n.

[019] GUI 161a-n may include a graphical user interface operable to allow a user, administrator, or other authorized user to interface with at least a portion of system 100 for any suitable purpose. Generally, GUI 161a-n provide the particular user with an efficient and user-friendly presentation of data provided by or communicated

within system 100. GUI 161a-n may include a plurality of customizable frames or views having interactive fields, pull-down lists, and buttons operated by the user. GUI 161a-n may be configured to support a combination of tables and graphs (bar, line, pie, status dials, etc.), and may build real-time dashboards, where tabs are delineated by key characteristics (e.g., site). GUI 161 a-n may also generate or request historical reports. Generally, historical reports provide critical information on what has happened including static or canned reports that require no input from the user and dynamic reports that quickly gather run-time information to generate the report. Therefore, GUI 161 a-n contemplates any graphical user interface, such as a generic web browser, touch screen, or CLI that processes information in system 100 and efficiently presents the results to the user. Server 110 can accept data from clients 160a-n via the web browser (e.g., Microsoft Internet Explorer, Netscape Navigator, or Mozilla Firefox) and return the appropriate HTML or XML responses using network 150. Clients 160a-n also occasionally include, reference, or execute agents, which may be any script, library, object, executable, service, daemon, or other process. Those skilled in the art will appreciate that the system described in Fig. 1 is exemplary only, and that many other architectures are supported and can make use of the invention.

[020] The invention contemplates that the resources in the system of Fig. 1 may be represented by a hierarchical object model in which resources are nodes in a search tree. The term "resource" includes both physical and virtual resources. Physical resources may be the devices and other physical structures connected to a computer system, including but not limited to disks, processors, memories, servers, etc. Virtual resources may include logical resources, including but not limited to files, network connections, memory areas, domains, etc. For example, the system of Fig.

1 is generally described as a client-server network architecture. In an embodiment where system 100 is configured to provide backup services, routing and organizing data would require identification of the logical domains making up the network, as well as the physical host devices where data is persistently stored. Additionally, the backup services may interact with a large number of files and/or applications to produce numerous archives. A backup task may thus need to uniquely identify servers, folders, files, storage groups, and user mailboxes. Those skilled in the art will recognize that providing backup services is just one of many tasks that system 100 may perform and that the specific resources may vary depending on the particular application. Moreover, other tasks or applications may interact with the same resources required by another application, such that the resources required for any one task may be named in a uniform way so as to make the resource easily identifiable to other applications as well as human operators.

[021] Referring to Fig. 2, a logical diagram of an exemplary hierarchical object model 200 for describing resources is provided. When a resource is registered with a conventional system, a typical approach is for the resource to be assigned a unique identifier based on a statistical model or a random number generator. Thus, domain resource object 201 may be assigned a unique hexadecimal ID "0000111122223333," host resource object 202 may be assigned a unique ID "A672901125BCE8951 ," host resource object 203 may be assigned a unique ID "E372901125BCE8967," and so on for every resource in the system. However, this unique ID would only be known to the application that registers the resource, such that other applications requiring the resource are unable to locate the resource based on the unique key and would therefore be obligated to redundantly register the resource. In addition, the key bears no relation to the resource in question and

therefore would be very difficult or impossible for a human operator to recreate easily, especially in a CLI environment.

[022] The invention solves the aforementioned problem by providing each resource with a memorable set of attributes, such that each resource object includes enough information to uniquely and unequivocally distinguish a resource. In order to provide each resource object with a memorable identifier, a text-based set of properties and/or attributes are created to identify the resource on the system, where the particular attributes may be dictated by the nature of the resource. For example, a domain may be best defined by its name, such that a domain object 201 includes a name attribute identifying its name as "TestDomain." Similarly, a server or host typically is assigned a unique name and IP address identifying its location on the network. Thus, host objects 202 and 203 may have name attributes "AServerMachine" and "AnotherServerMachine," respectively, in addition to IP address attributes "121.202.133.7" and "121.202.135.17," respectively. [023] A host may provide a number of services, such as a data management service that uses a file system. File systems are well known to those skilled in the art and are most often characterized by the manner in which data is organized on a storage device. Thus, FileSystem resource objects 204 and 205 do not require any additional identifying attributes, since they simply point to the storage volumes where data is stored. Nonetheless, FileSystem resource objects 204 and 205 may still be provided with a unique random-number ID. To uniquely identify a storage volume, the relevant properties may include a name of the volume, a data format used for organizing data, as well as a serial number of the device. Thus, in Fig. 2, volume object 206 may be described by a name attribute "c," a file system type "NTFS," and

a serial number "A4FE-0056." Volume objects 207 and 208 are similarly described by attributes that denote the characteristics of the particular volume. [024] In addition to providing memorable text-based attributes, the invention may organize resource objects 201-208 according to a structure that may be easy to follow and memorize. A relationship between resources 201-208 may be chosen to define the basis for organizing resource objects 201 -208 in the resource object model 200. While the invention is not limited to any particular relationship, object model 200 may be implemented using a containment relationship since it is generic enough to accommodate other relationships as well as modeling the layout of most real-world systems. For example, still referring to Fig. 2, a domain 201 contains one or more hosts 202-203, each of which contain one or more services, such as a file system 204-205, each of which contain one or more storage volumes 206-208. The concept of containers and containment is known to those skilled in the art. [025] Those skilled in the art will recognize that there are many possible variants of resource objects 201 -208 and object model 200 described above. For example, a storage volume 206-208 may be formatted to store data using other file system types, including but not limited to FAT, EFS, HFS, NFS, and UDF, among others. Another possible variant is a logical partition on a storage volume 206-208, such that multiple volume objects may share a common serial number attribute and file format attribute, while having distinct name attributes. Moreover, hosts may provide additional services, such as an e-mail service that goes through an exchange. E- mail services are well known to those skilled in the art, and may include storage group objects, database objects, and user mailbox objects. There may be multiple domains, hosts, or other objects as needed to describe the resources in a system. The previous description of Fig. 1 indicates in greater detail the potential variance in

system and application resources. Thus, those skilled in the art will appreciate that when designing a resource object model analogous to that described in Fig. 2, which attributes are included to describe a resource may consider the nature of the system and resources being represented.

[026] A resource format may be chosen which allows representing the attributes and relationship between resource objects. The resource format may express criteria using a well defined, formalized query language. In addition, the query language may be compatible with a known query grammar in order allow the programmatic creation and parsing of the resource object model. Referring to Table 1 , exemplary source code is provided for implementing the object model of Fig. 2 using extensible Markup Language (XML).

<?xml version="1.0" encoding="utf-8" ?> <as:ResourceSchema version='1.0' xmlns:as="http.7/www.example.com/ResourceSchema"> <as:Domain stronglD="0000111122223333" name="TestDomain">

<as:Host stronglD="A6772901125BCE8951 " name="AServerMachine" ipAddress="121.202.133.7"> <as:FileSystem stronglD="78239001ABCD8BE3"> <as: Volume stronglD="34B405DC9001 AAE3CAB5" type="NTFS" name="c" serialNo="A4FE-00567> <as:Volume stronglD="4A6602B588AA900BC" type="NTFS" name=d" serialNo="FEEE-569B7> </as:FileSystem> </as:Host>

<as:Host stronglD="E372901125BCE8967" name="AnotherServerMachine" ipAddress=:121.202.135.17"> <as:FileSystem stronglD=AB239221ABCD8BE3"> <as:Volume stronglD="50B405DC9001 AAE3CAB5" type="EFS" name="0" serialNo="4409-A5AF'/> </as:FileSystem> </as:Host> </as:Domain> </as:ResourceSchema>

Table 1

[027] The resource object mode! may be represented by XML in the embodiment of Table 1 because it is inherently organized in a tree structure and XML provides the capability of creating special-purpose markup descriptions for describing data. XML also enables similar functionality to that of a relational database, in addition to being easily parsed and searched using well known query grammars, such as XPath. Those skilled in the art will recognize that although the resource tree is shown as being implemented using XML and queried using XPath, other formats, languages, or query grammars may be used to create or search the resource object model without departing from the inventive concepts described herein. [028] Referring to Table 2, exemplary source code is provided for defining a schema for unique resource naming.

<?xml version="1.0" encoding "utf-8" ?> <xs:schema targetNamespace="http://www.example.com/ResourceSchema" xmlns="http://www.example.com/ResourceSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="resource" type="ResourceType"/>

<xs:complexType name="ResourceType"> <xs:attribute name="urn" type="xs:stιϊng" use="optional"/>

<xs:sequence maxθccurs="1"> <xs:element type="ResourceType" minθccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:schema>

Table 2

[029] The source code of Table 2 is provided in XML in order to demonstrate how the resource search tree of Table 1 may incorporate a string identifier resource attribute. To assimilate the string identifier resource attribute into the resource object model in a way that allows querying the object model using known query grammars, the string identifier may be formed within the constraints of a query grammar. Thus,

using the resource schema of Table 2, a resource name would be expected to take the following form: resource URN= 11 STRING FORMED WITHIN CONSTRAINTS OF A QUERY GRAMMAR7>

[030] In the embodiment described, XPath may be chosen as the query grammar based on its compatibility with XML. However, those skilled in the art will recognize that other query grammars may be used. The resource string identifier may be unique to a single resource, and a single resource may be described by multiple string identifiers. For example, referring to Fig. 2 and Table 1 , consider the volume object 206 in Fig. 2, which possesses name attribute "c," serial number attribute "A4FE-0056" located on the host machine with name attribute "AServerMachine" with an IP address attribute of "121.202.133.7." Creating the string identifier attribute may consider the characteristics of the resource and guarantee uniqueness by accounting for the set of most significant resource attributes. For example, using the resource schema of Table 2 and using XPath as the query grammar, a valid resource name for volume object 206 may be:

<resource URN=7/Volume[@name='c']7> [031] However, this resource name may be unlikely to guarantee uniqueness since a volume object on another host may share the same volume name. Instead, including additional characteristics, such as the name or IP address of the host on which the volume resides, may be more likely to produce a resource name that unequivocally identifies the volume. For example, the following resource names formed according to the resource schema of Table 2 would uniquely identify volume object 206 of Fig. 2:

<resource URN=7/Domain[@name=TestDomain']/Host[@name='AServerMachine'] /FileSystem/ Volume[ @name='c']7>

<resource URN=7/Host[@ipAddress=121.202.133.7']/FileSystem/ Volume[@serialNo='A4FE- 0056']"/>

<resource URN=7/Host[@ipAddress=121.202.133.7']/FileSystem/ Volume[@name='c']7> [032] Referring to Table 3, exemplary source code is provided for incorporating a resource name into a hierarchical resource object model.

<?xml version="1.0" encoding="utf-8" ?> <as:ResourceSchema version='1.0' xmlns:as="http://www.example.com/ResourceSchema"> <as:Domain stronglD="0000111122223333" name="TestDomain">

<as:Host stronglD="A6772901125BCE8951 " name="AServerMachine" ipAddress="121.202.133.7"> <as:FileSystem stronglD="78239001ABCD8BE3"> <as: Volume stronglD="34B405DC9001 AAE3CAB5" type="NTFS" name="c" serialNo="A4FE-0056">

<resource URN=7/Domain[@name=TestDomain']/Host[@name= 'AServerMachine']/FileSystem/Vo]ume[@name='c']7> <resource URN=7/Host[@ipAddress=121.202.133.7']/FileSystem/

Volume! @ serialNo]'A4FE-0056']7> <resource URN=7/Host[@ipAddress=121.202.133.7']/FileSystem/

Volume[ @ name='c']7> </as:Volume>

<as:Volume stronglD="4A6602B588AA900BC" type="NTFS" name=d" serialNo="FEEE-569B7> </as:FileSystem> </as:Host>

<as:Host stronglD="E372901125BCE8967" name="AnotherServerMachine" ipAddress=:121.202.135.17"> <as:FileSystem stronglD=AB239221ABCD8BE3"> <as:Volume stronglD="50B405DC9001 AAE3CAB5" type=εFS" name="0" serialNo="4409-A5AF7> </as:FileSystem> </as:Host> </as:Domain> </as:ResourceSchema>

Table 3

[033] The techniques described above may similarly be used to provide a text- based string identifier for any resource, while avoiding the pitfalls existing in resource naming. For example, a valid resource name may be:

<resource URN=7/Server[@name='MyExchangeServer']/Exchange/StorageGroup [@name='First Storage Group']/Database[@name='Mail']/Mailbox[@user='John Anderson']7>

[034] This resource name indicates that John Anderson's mailbox is located in the Mail database in the First Storage Group on the MyExchangeServer server. By identifying resources based on their identifiable characteristics, an application or user may generate a search query based on those characteristics. Thus, there is no need to memorize serial numbers, random number strings, or other arcane conventional identifiers. Rather, an application may identify a resource at run-time or a user may identify a resource through a command line interpreter since the resources are organized and named intuitively, while being compatible with a query grammar. For example, consider volume object 206 in Fig. 2 with the following resource name:

<resource URN=7/Host[@ipAddress=121.202.133.7']/FileSystem/ Volume[@serialNo='A4FE- 0056 J ]7>

[035] When an application requires access to volume object 206 at run-time, such as to store data, or where a user must interact with volume object 206 through a command line interpreter, such as to reconfigure the device, a search query formed within the constraints of the XPath query grammar will locate the resource. Such a search query may take the following form:

//Host[@ipAddress=121.202.133.7']/FileSystem/ Volume[@serialNo='A4FE-0056']

[036] The search query may be resolved against the hierarchical search tree by parsing the search tree using techniques known to those skilled in the art. The search tree may be traversed and resource objects that have string identifiers corresponding to the search query are identified. The results of this comparison are then returned to the originator of the search query.

[037] Those skilled in the art will appreciate that the specific query languages and/or grammars chosen are secondary to the inventive concept of choosing an intuitive resource data structure and naming method that allows searching a tree using a query grammar. Those skilled in the art will be aware of many techniques for implementing and generating the search tree and string identifier(s). Moreover, those skilled in the art will be aware of the techniques required to implement the necessary application programming interfaces (APIs) to enable an application to generate a search query at run-time. Similarly, system administrators and other users of ordinary skill who require identifying resources through command line interpreters will possess the necessary technical knowledge for forming an resolving search queries based on the above disclosure.

[038] Although this disclosure has been described in terms of certain embodiments and associated methods, modifications and permutations of these embodiments and methods will be apparent to those skilled in the art. Accordingly, the above description is meant to be exemplary only, and other changes, substitutions, and alterations may be implemented without departing from the scope and spirit of the invention.