Abstract:
Systems and methods for resource identification. Preferably, this can be undertaken via modeling in which primary constraints include requirements and availability and building a resource map that includes alternatives which can help in the realization of the function.

Description:
BACKGROUND 
       [0001]    It is often the case that demands or requirements arise in which there is a need to implement a service on a target platform with resource pre-requisites. A problem often encountered in connection therewith is determining a feasible set of components, software and/or hardware, that are either present or are required to be present on the target platform to implement the requirement. Conventional efforts involve considerable manual effort. The time and effort involved is tremendous and tends to be highly error-prone for complex environments. 
       BRIEF SUMMARY 
       [0002]    Broadly contemplated herein, in accordance with at least one presently preferred embodiment of the present invention, are systems and methods for resource identification. Preferably, this can be undertaken via modeling in which primary constraints include requirements and availability. 
         [0003]    In summary, one aspect of the invention provides a system comprising: a resource identification tool having one or more processors and one or more modules executable by the one or more processors, the one or more modules comprising: computer program code configured to identify resources of a target platform which meet a predetermined functional requirement, via: modeling resource constraints relating to the functional requirement and the target platform; assigning the resource constraints into resource categories; determining additional resource constraints; and developing a resource map of resource alternatives for the functional requirement. 
         [0004]    Another aspect of the invention provides a method comprising: identifying resources of a target platform which meet a predetermined functional requirement; said identifying comprising: modeling resource constraints relating to the functional requirement and the target platform; assigning the resource constraints into resource categories; determining additional resource constraints; and developing a resource map of resource alternatives for the functional requirement. 
         [0005]    A further aspect of the invention provides a computer program product comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising: 
         [0006]    computer program code configured to identify resources of a target platform which meet a predetermined functional requirement, via: 
         [0007]    modeling resource constraints relating to the functional requirement and the target platform; 
         [0008]    assigning the resource constraints into resource categories; 
         [0009]    determining additional resource constraints; and 
         [0010]    developing a resource map of resource alternatives for the functional requirement. 
         [0011]    For a better understanding of exemplary embodiments of the invention, together with other and further features and advantages thereof, reference is made to the following description, taken in conjunction with the accompanying drawings, and the scope of the claimed embodiments of the invention will be pointed out in the appended claims. 
     
    
     
       BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS 
         [0012]      FIG. 1  illustrates a computer system. 
           [0013]      FIG. 2  schematically illustrates a resource identification system. 
       
    
    
     DETAILED DESCRIPTION 
       [0014]    It will be readily understood that the components of the embodiments of the invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations in addition to the described presently preferred embodiments. Thus, the following more detailed description of the embodiments of the invention, as represented in the figures, is not intended to limit the scope of the embodiments of the invention, as claimed, but is merely representative of selected presently preferred embodiments of the invention. 
         [0015]    Reference throughout this specification to “one embodiment” or “an embodiment” (or the like) means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” or the like in various places throughout this specification are not necessarily all referring to the same embodiment. 
         [0016]    Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the various embodiments of the invention can be practiced without one or more of the specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention. 
         [0017]    The illustrated embodiments of the invention will be best understood by reference to the drawings/figures. The following description is intended only by way of example and simply illustrates certain selected presently preferred embodiments of the invention as claimed herein. 
         [0018]    Regarding the figures, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. 
         [0019]    The description now turns to the figures and select, presently preferred embodiments of the invention will be described. The following description of various embodiments of the invention is presented to highlight certain aspects of the invention, and the scope of the claimed embodiments of the invention will be pointed out in the appended claims. 
         [0020]    Referring now to  FIG. 1 , there is depicted a block diagram of an illustrative embodiment of a computer system  100 . The illustrative embodiment depicted in  FIG. 1  may represent a device such as a game console, a set top box, a mobile device, a laptop, or a desktop or workstation computer. As is apparent from the description, however, embodiments of the invention may be implemented in any appropriately configured device or computing system, as described herein. 
         [0021]    As shown in  FIG. 1 , computer system  100  includes at least one system processor  42 , which is coupled to a Read-Only Memory (ROM)  40  and a system memory  46  by a processor bus  44 . System processor  42 , which may comprise one of the AMD line of processors produced by AMD Corporation or a processor produced by INTEL Corporation is a general-purpose processor that executes boot code  41  stored within ROM  40  at power-on and thereafter processes data under the control of an operating system and application software stored in system memory  46 . System processor  42  is coupled via processor bus  44  and host bridge  48  to Peripheral Component Interconnect (PCI) local bus  50 . 
         [0022]    PCI local bus  50  supports the attachment of a number of devices, including adapters and bridges. Among these devices is network adapter  66 , which interfaces computer system  100  to a LAN, and graphics adapter  68 , which interfaces computer system  100  to display  69 . Communication on PCI local bus  50  is governed by local PCI controller  52 , which is in turn coupled to non-volatile random access memory (NVRAM)  56  via memory bus  54 . Local PCI controller  52  can be coupled to additional buses and devices via a second host bridge  60 . 
         [0023]    Computer system  100  further includes Industry Standard Architecture (ISA) bus  62 , which is coupled to PCI local bus  50  by ISA bridge  64 . Coupled to ISA bus  62  is an input/output (I/O) controller  70 , which controls communication between computer system  100  and attached peripheral devices such as a as a keyboard, mouse, serial and parallel ports, etc. A disk controller  72  connects a disk drive  99  with PCI local bus  50 . The USB Bus and USB Controller (not shown) are part of the Local PCI controller ( 52 ). 
         [0024]    Preferably, there are broadly contemplated herein, in accordance with at least one presently preferred embodiment of the present invention, methods and arrangements for identifying a set of components (software and/or hardware) on a target platform which meets a given requirement, preferably subject to constraints on resource prerequisites, availability and alternatives. Such methods and arrangements can be implemented essentially on any suitable computer system, such as the one indicated at  100  in  FIG. 1 . 
         [0025]    By way of an illustrative and non-restrictive example, there may be a requirement to implement a web service wherein the resource requirements might be: webserver (Apache or Tomcat if Java is used; IIS if C++ is used), database (DB2 V9.1 or Oracle 10), XML Parser (xerces), complier and run-time environment (JVM for Java) etc. At the same time, resource availability on the target platform might be: no JVM, Apache available, DB2 V8.1 available, etc. 
         [0026]    It can be appreciated that if an effort is made to manually find a feasible set of components which satisfy a requirement (such as that just specified), a great deal of time and effort could be expended, and also be error-prone for complex environments. Accordingly, there is broadly contemplated herein a systematic approach with automation that reduces such time and effort, while the possibility of performing a feasibility check up-front is also accommodated. 
         [0027]    Turning to  FIG. 2 , which schematically illustrates a system configured in accordance with a presently preferred embodiment of the present invention, a functional requirement  202  intended for a target environment  208  may be input into a functional decomposition module  204 . Preferably, this module  204  decomposes and categorizes (e.g., based on a language or compiler at hand) any required software or hardware modules that would be needed for “high level” functional requirements. (In accordance with at least one embodiment of the present invention, a “high level” functional requirement may be understood as an abstract representation of a function that is required to be performed, with no precise details required for execution of the same.) Preferably, a functional classifier included in module  204  may act to determine, from a user requirements, specific components and their classification. For instance, a web service might require a toolkit for compilation (e.g., “classification:Compiler”), as well as a server that serves the pages (e.g., “classification:web servers”); the functional classifier could thus act to determine and assign such classifications. A database  206  will preferably include information on constraints, categorization and resource maps and will be in communication with the functional decomposition module  204 . 
         [0028]    Constraints filter  214  will preferably act to pick up from database  206  solely those constraints which are applicable to the given target environment  208 . A resource map builder  216 , on the other hand, will preferably act to develop alternatives for a given requirement if not specified in the functional requirement input  202 . (In other words, it is typically the case that there exist choices in terms of resources and/or implementations required for realization of the intended function. Thus, inasmuch as the functional requirement input  202  can typically represent a functional requirement desired by an end user, the resource map builder  216  can determine functional alternatives to that requirement. Sometimes if the end user requires certain resources of choice, such choices can be provided directly as input along with the functional requirement[s]). For example, the actual implementation of a web-service can be in the form of C code or Java code, and resource map builder  216  can preferably act to ascertain those alternatives. 
         [0029]    Preferably, a resource resolution engine  218  will act to apply constraints (from filter  214 ) on the resource map builder  216  as would be applicable for target environment  208 . For instance, if the target environment has “Java Runtime”, this availability can expressed as resource constraint and the resource resolution engine  218  will determine all Java-based resources for execution. 
         [0030]    Finally, output from the resource resolution engine  218  could indicate whether the requirement(s) in question ( 202 ) for the target environment  208  indeed can be met ( 220 ) or will output a set of components  222  that would be needed in order for the target environment  208  to meet the requirement(s)  202 . 
         [0031]    With respect to the target environment  208 , a target resource discovery adapter  210  will preferably act to determine what would be the specific resources that can either represent a subset or whole set of the requirements available on the target machine. The availability and non-availability of resources on the target machines can thusly be modeled as constraints. This will assist a target platform resource analyzer  212  with determining which resources already exist at the target environment  208 , which information can be provided to the resource map builder  216  to carry out its function as discussed above. 
         [0032]    To review and further elaborate upon various aspects of at least one presently preferred embodiment of the present invention, first it will be appreciated that a functional requirement  202  may be gathered from an end user. This may simply be as abstract as specifying an end requirement without details of implementation or of resources required for realization. 
         [0033]    Therefore, a functional decomposition module  204  preferably acts to break the function into requirements in terms of resources or usable implementation platforms. The requirements can thus be a toolkit or platform and therefore a functional classifier inherent in the module  204  preferably is employed to identify the domain or category into which each requirement would fall. For instance, a run time might be required for execution of certain components. 
         [0034]    For a certain resource, there might exist several constraints that would have an impact on deployment issues. For instance, a simple constraint could be as follows “Db2 version 5 cannot co-exist with Web Server 3.2”. This preferably will represent prior knowledge, in the form of constraint information, that is available from and included in the repository (or database)  206 . In similar manner, knowledge of specific categorization (or classification) of resources can be preestablished to assist in determining which resources belongs to which categories. Thus, such information again can be made available in repository  206 . 
         [0035]    Preferably, resource map builder  216  will act to provide or determine information about which resources are available for which functions. On the other hand, the target environment  208  may preferably be scanned for available resources via target resource discovery adapter  210 . For its part, target platform resource analyzer  212  may preferably act to analyze, from resources as indicated and input by adapter  210 , the categories to which different resources belong (analogously to the function of the functional classifier of module  204  as discussed hereinabove). 
         [0036]    As can be seen, target machine resources and information on functional requirements are preferably fed as separate streams of information into a “core” or “hub” that includes constraints filter  214 , resource map builder  216  and resource resolution engine  218 . The resource map builder  216  may build a resource map. The resultant resource map preferably will indicate which (if any) components, falling under which categories, can be used for realizing the implementation of requested functional requirements on the target platform. While the target machine might not have the exact components that would be required by the implementation, the resource resolution engine  218  preferably resolves to apply a best fit of resources on the target environment (or machine)  208  machine that can be employed while taking the resource map into account. The output of this resolution by resource resolution engine  218  preferably will either be an indication that the function can be realized ( 220 ) or an indication of one or more components that the target machine  208  would need to take on for implementation. 
         [0037]    As will be appreciated by one skilled in the art, aspects of the invention may be embodied as a system, method or computer program product. Accordingly, aspects of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon. 
         [0038]    Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. 
         [0039]    A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. 
         [0040]    Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. 
         [0041]    Computer program code for carrying out operations for aspects of the invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user&#39;s computer (device), partly on the user&#39;s computer, as a stand-alone software package, partly on the user&#39;s computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user&#39;s computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). 
         [0042]    Aspects of the invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. 
         [0043]    These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks. 
         [0044]    The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. 
         [0045]    This disclosure has been presented for purposes of illustration and description but is not intended to be exhaustive or limiting. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen and described in order to explain principles and practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated. 
         [0046]    Although illustrative embodiments of the invention have been described herein with reference to the accompanying drawings, it is to be understood that the embodiments of the invention are not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the disclosure.