The invention relates to computer software, and more particularly, managing reusable software assets.
Over the past several years, software development efforts within enterprises have grown tremendously, resulting in large volumes of software code, documentation, models, and other related artifacts. A large enterprise, for example, may have a significant number of ongoing software development projects at any one time ranging in size from small projects involving a handful of programmers to massive endeavors involving hundreds of programmers.
In the past few years, there has been a tremendous amount of work in the area of software engineering and, in particular, the reuse of software across development projects. Reusing software can have significant advantages in, for example, reducing the resources, expense, and development time for a software project. Identifying artifacts for reuse from the various repositories of a given enterprise, however, can be a complex task. In addition to the problems involved in identifying a potentially massive number of artifacts, the artifacts are typically stored within repositories dispersed throughout the enterprise, and maintained by specialized development or operational environments.
In general, the invention is directed to techniques that facilitate the reuse of software assets within an enterprise. A software asset, as used herein, refers to a set of one or more related artifacts that have been created or harvested for the purpose of applying that asset repeatedly in subsequent development environments. Source code and binary code are examples of artifacts for software assets. Other examples of artifacts include related documentation, such as requirement specifications, design documents, operation manuals, and the like. Additional examples of artifacts include models, such as a process model, structural model, resource model, implementation model, and the like, that may include use cases, object models, collaboration diagrams, deployment models, and the like.
In one embodiment, a system comprises a repository to store artifacts, and an asset source to generate a software asset based on the artifacts. The system further comprises an asset management system to receive the software asset from the asset source and to store the software asset within an asset library.
In another embodiment, a system comprises a plurality of repositories to store artifacts, and asset templates that define schemas for reusable software assets in accordance with a data description language. The system further comprises a plurality of asset sources to monitor the repositories and generate software assets having metadata that reference the artifacts in accordance with schemas of the asset templates, and an asset management system to receive the software assets from the asset sources and store the software assets within an asset library.
In another embodiment, a system comprises a plurality of repositories to store artifacts, and a multi-level hierarchy of asset sources to generate software assets having metadata that reference the artifacts. The higher-level asset sources of the hierarchy receive software assets from low-level asset sources of the hierarchy and form aggregate software assets. The system further comprises an asset management system to receive the aggregate software assets from the hierarchy of asset sources and store the aggregate software assets within an asset library.
In another embodiment, a system comprises a model having one or more elements, and a database to store reusable software assets. The system further comprises an asset retrieval module to receive input from a user selecting an element of the model, and to selectively retrieve a subset of the software assets from the database based on the input.
In another embodiment, a method comprises retrieving artifacts from repositories, and generating software assets based on the artifacts in a form that conforms to a data description language. The method further comprises publishing the software assets for storage within an asset library.
In another embodiment, a method comprises receiving input from a user selecting one or more elements of a model, and retrieving software assets from an asset library based on the selected elements.
In another embodiment, a computer-readable medium comprises instructions to cause a processor to receive input from a user selecting one or more elements of a model, and retrieve software assets from an asset library based on the selected elements.
In another embodiment, a computer-readable medium comprises data structures that store software models having elements, and software assets having metadata that maps the software asset to the elements of the software models.
The techniques described herein may offer one or more advantages. For example, an enterprise may make use of distributed asset sources to provide generalized interfaces to diverse repositories, and to generate software assets in a normalized form that complies with a data description language. The software assets may be generated, for example, in accordance with one or more asset templates that define schemas for the assets. A user, such as a library administrator, may readily modify the asset templates to easily control the content and structure of the reusable software assets. This level of abstraction can be leveraged to automate or semi-automate the process of capturing artifacts from the repositories. In this manner, the asset management system provides users with a centralized asset library that offers a consistent, normalized view of the artifacts maintained over the many diverse repositories. In addition, an enterprise can make use of the system for bulk entry of assets, thereby simplifying and accelerating the process of capturing legacy software assets within the enterprise.
The asset management system can be configured to provide a full range of asset capture activities, ranging from fully-automated asset capture to semi-automated or manual approaches that require at least some manual intervention during the capture process. Accordingly, the asset management system can be configured to automatically capture assets from the repositories and produce normalized assets, or to automatically require the augmentation of the assets with artifacts not present within the repositories.
Among many other possible advantages, the asset management system provides for the association of software assets captured from diverse repositories with elements of software models, such as a process model, a structural model, a resource model, an implementation model, and the like. Accordingly, users can develop specifications for software projects, for example, and easily identify reusable software assets within the asset library that may be leveraged for the project.
The invention includes a targeted asset capture system that maps software resources to a domain model, and search and management tools for retrieving asset information and controlling asset acquisition. The domain model may include a process-centered organization and/or a structural organization of model tasks, functions, and data types. Capture includes mapping to the model functions and data types, and preferably also includes capturing other information about the asset and about the quality of mapping. The domain model may be used to build a search specification for searching for available assets that meet some or all of a set of functional (and/or nonfunctional) requirements. The search specification may also be published in part or in whole as a development specification.
In one aspect, the invention comprises an asset capture software utility. The utility includes a database for cataloguing software resource information, and means for mapping functions and data types to a predetermined domain model. The domain model may be a two-part model comprising a process model and a structural model, which may be linked to one another. There may be multiple process models for a single structural model. The utility may use synonyms to suggest mappings to the domain model. The mapping means may include means for adding user comments, such as comments on the character or quality of the mapping or on the usage or purpose of certain functions and data types.
In another aspect, the invention comprises a database of resource information, where the resource information includes functionality information mapped to a predetermined domain model. The database may include a search engine, for example an engine that can score resources according to how well they match functional or nonfunctional requirements. The search engine may include means for creating a persistent search specification that can be used by multiple users. Individual resources may be attached to the search specification for consideration. The search specification may be publishable, in whole or in part, as a requirements specification for software development. The search engine may notify one or more users of additions to the database that match a persistent search specification. Functionality information may be mapped over multiple domain models. The database may include means for viewing the domain model (e.g., graphically) in order to specify a search. The means may include means of navigating between process-side and structural-side of a domain model. The database may also include resource usage information, which may be linked to projects and may include information such as licensing data, resource acquisition tools, and usage reporting tools.
In a further aspect, the invention includes methods of classifying resources against a domain model, by mapping resource data types to model data types and resource functions to model functions, and storing the results in a searchable database. The domain model may include a process model and a structural model, which may be linked together. Multiple process models may also be linked to a single structural model. The method may include using synonyms to search model function and data type descriptions. Comments may be added to the database, for example on the quality of the mapping or on individual function or data type usage or purposes. The method may also include forwarding asset acquisition requests to an acquirer and storing acquisition information such as license keys. The method may also include generating usage reports or acquisition request reports.
In still another aspect, the invention includes methods of managing resources within an enterprise, by maintaining a searchable database of resource information including location information and functionality information, the functionality information being mapped to a domain model. The methods may include searching the database for resources that match functional or nonfunctional requirements, for example by creating a persistent search specification. A persistent search specification may be shared between users and/or published as a requirements document. Assets may be attached to the persistent search specification, and the method may include publishing the portions of the specification that are not matched by the attached assets. One or more users may also be notified when resources are added to the database that match the persistent search specification. The method may further include forwarding requests for resource acquisition to an acquirer, and storing acquisition information such as license keys. The method may also include generating reports on acquisition requests and/or resource usage.
In yet another aspect, the invention includes methods of mapping software resources to a domain reference model, including determining functions and data types to be mapped, sorting them into an order from most simple to most complex, and presenting them to a user in the determined order for mapping. As the user is presented with individual functions and data types, previously created mappings are used to refine further mapping suggestions. The determined order may include, for example, viewing all data types before viewing functions. The user may elect to map functions and data types in a different order.
Repositories 4A-4N (herein repositories 4) represent any data source within an enterprise that stores information (herein artifacts) relevant to the management of reusable assets. Repository 4A may store, for example, reusable software components. These components are typically independently deployable code elements that often conform to a standardized component model, such as Enterprise JavaBeans (EJB) and the Component Object Model (COM). These components typically have well-defined interfaces that provide access to the encapsulated services or functions. An example of this type of repository includes a source code development environment that often stores the source code and the executable code within a repository to provide version control and to facilitate collaborative development.
As another example, repository 4B may store code elements that present functional interfaces to web services (web svcs) for remote access by client software via networking protocols, such as HTTP, HTTPS, FTP, SOAP, XML messaging, and the like. The enterprise may make use of these assets for quickly assembling web-based applications. One example of this type of software asset includes a server-side code element for providing web-based financial transactions.
As another example, repository 4C may store schemas that conform to a data description language, such as XML, that can be used to assemble metadata for data transfer within the enterprise. Repository 4D may store modeling information (models) that provides formal representations of various software components. The modeling information may include use cases, object models, collaboration diagrams, deployment models, and the like. The modeling information may conform to the Unified Modeling Language (UML), for example. Repository 4N may store documentation related to the software components, including requirements specifications, design documents, and the like.
In addition, the artifacts stored by repositories 4 are not limited to those artifacts generated during the development of the software components, but can encompass artifacts related to the deployment of the asset, such as particular instances of the software components. Accordingly, system 2 can be used to aggregate artifacts generated through the lifecycle of the asset, including artifacts generated during the development of the asset through the deployment of various instances of the asset, and artifacts generated through ongoing tracking of that asset within the operational environment. Examples of operational artifacts deployed within operational environments of the enterprise include component instances deployed within an application server.
Repositories 4 may also comprise “active” repositories that manage data related to an asset in arbitrary form, and present “views” of that assemble the data into a consumable form. For example, a defect tracking system may manage any number of defects that can be organized into views related to specific assets, e.g., views that show only those defects pertinent to particular versions of assets under development.
Generally, these artifacts are likely developed and maintained within repositories 4 using specialized development tools. Accordingly, repositories 4 may comprise a variety of storage facilities having very diverse interfaces. System 2 makes use of one or more asset sources 12A-12N (herein asset sources 12) that provide a generalized, abstract interface to the underlying repositories 4. Asset sources 12 interact with repositories 4 to extract the artifacts, and assemble related artifacts to provide composite, normalized views of the reusable software assets. In particular, asset sources 12 generate asset descriptions that describe the related artifacts for each asset in a normalized form.
Asset sources 12 output the software assets in a normalized form that complies with a data description language. In other words, the software assets include or reference artifact data from repository 4A, as well as metadata that conforms to the data description language. The data description language describes the format, organization and structure of the asset. Accordingly, the normalized assets produced by asset sources 12 may take the form of electronic documents, files, scripts, data streams, software objects, and the like, that contain the metadata conforming to the data description language. Other example languages include Extensible Style Language (XSL), Extensible Linking Language (XLL), Standardized Multimedia Authoring Language (SMIL), as well as variations of the Standard Generalized Markup Language (SGML).
As described in detail below, users 8A can readily tailor each of asset sources 12 to the particular requirements of the corresponding one of repositories 4. As described in detail below, users 8 may use asset definition templates to generically describe the normalized assets produced by asset sources 12.
Asset management system 6 provides a centralized resource for collecting the asset descriptions from asset sources 12, and for publishing the asset descriptions to make the descriptions available to users 8A-8P (herein users 8) within the enterprise. More specifically, asset management system 6 provides a comprehensive, searchable view of the software assets and related artifacts stored within the various repositories 4. By interacting with asset management system 6, users 8 can identify and make use of the assets.
System 2 may provide one or more advantageous features for capturing and managing reusable software assets. The use of asset sources 12 to provide a generalized interface to diverse repositories 4 can be leveraged to automate or semi-automate the process of capturing artifact information from repositories 4. Accordingly, an enterprise can make use of system 2 for bulk entry of assets, thereby simplifying and accelerating the process of capturing legacy software assets within the enterprise. In addition, asset management 6 and asset source 12 provide users 8 with a consistent, normalized view of the artifacts maintained over the many diverse repositories 4. Furthermore, asset management system 6 and asset sources 12 may interact so as to provide a current view of repositories 4, even though repositories 4 may change over time.
Furthermore, asset management system 6 and asset sources 12 can be configured to provide a full range of asset capture activities, ranging from fully-automated asset capture to semi-automated or manual approaches that requires at least some manual intervention of users 8 during the capture process. Accordingly, asset management system 6 and asset sources 12 automatically make available to users 8 assets that are automatically generated from repositories 4. In addition, asset management system 6 and asset sources 12 can be configured to allow users 8 to augment the assets with artifacts not present within repositories 12 during the capture process.
For example, asset management system 6 may include publishing module 24 and asset capture module 26 that interact with asset sources 12 to collect and aggregate artifacts from repositories 4 (
In general, asset capture module 26 can augment the information extracted from repository 4A, and provides for resolution of conflicts between the extracted information and information required for publication of the asset by asset source 12A. Upon receiving notification 28 from asset source 12A indicating the availability of a new or updated asset, asset capture module 26 issues one or more messages 30 to asset source 12A to retrieve the asset. Messages 30 may comprise, for example, Simple Object Access Protocol (SOAP) messages, Remote Method Invocation (RMI) calls, or any other mechanism for communication between modules. In addition, asset capture module 26 may access asset library 36 to retrieve a current instance of the asset being produced by asset source 12A. Asset capture module 26 may present the current instance of the asset as well as the asset produced by asset 12A to user 39 for reconciliation.
Asset source 12A and asset capture module 26 make use of asset templates 47 to validate the asset information. In one embodiment, asset source 12A, or a schema generation module, generates a virtual schema in accordance by applying asset templates 47 to a base schema for an asset. Asset templates conform to a data description language, such as the extensible markup language (XML), and may include definition templates and constraint templates. The base schema conforms to a schema definition language, and defines a class of elements that conform to the data description language. In this manner, the base schema may remain static and need not be modified to support new classes of assets.
To define classes of permissible assets, a user, such as one of users 8 or library administrator 49, may create definition templates, constraint templates, or both. More specifically, the user may create one or more definition templates that define sub-classes for the elements defined by base schema. In this manner, the user can extend the element definitions of base schema without modifying base schema.
In addition, the user may create one or more constraint templates that define requirements for instances of the elements. Constraint templates may define requirements for instances of elements belonging to the classes defined by base schema, instances of elements belonging to the sub-classes defined by definition templates, or both. For example, constraint templates may define a required cardinality for the instances of the elements, a required minimum or maximum number of the instances, a range for a required number of the instances of the elements, a required attribute for the instances, a required parameter value for the instances of the elements, specific required instances of the elements, and the like.
Asset source 12A generates the schema information of virtual, schema by first generating a data structure representing the classes of elements defined by base schema. Asset source 12A then applies definition templates to base schema to extend the schema information to include the sub-classes of elements defined within definition templates. Finally, Asset source 12A applies constraint templates to update the schema information to include the restrictions defined by constraint templates.
Definition templates and constraint templates conform to the data description language to which the elements of base schema comply, e.g., XML. Accordingly, the user can easily create and modify definition templates and constraint templates, and need only modify base schema in order to support new classes of assets.
Asset source 12A and asset capture module 26 may use asset templates 47 to drive the asset capture process. Based on the content and structure described by the asset schemas, which may be dynamically generated from asset templates 47, asset source 12A and asset capture module 26 identify any incomplete artifact data that needs to be added to the capture asset, either manually or in automated fashion. In this manner, asset source 12A can produce assets in a normalized form that complies with the schema information. The assets are normalized in the sense that the assets are described in a data description language, such as XML, and the elements and attributes are substantially similar.
The following pseudocode illustrates an exemplary base schema, definition template and constraint template that may be used for capturing information related to reusable software assets. In particular, the following exemplary base schema defines a parent class of elements named ASSET, and two child classes of elements named KEYWORD and RELATION.
The following exemplary definition template illustrates the definition of sub-classes for the classes of elements KEYWORD and RELATION, thereby extending the definitions provided by the above-listed exemplary base schema.
The above-illustrated exemplary definition template makes use of elements DEFINE-KEYWORD and DEFINE-RELATION to define specific sub-classes for these respective classes of elements defined by the exemplary base schema. More specifically, for class KEYWORD, the exemplary definition template defines a sub-class CATEGORY having two possible values: FINANCE and BANKING. The exemplary definition template defines two additional sub-classes for the class KEYWORD including PRICE and ALIAS. For the class RELATION, the definition template defines two sub-classes of USES and PREDECESSOR.
The following exemplary constraint template provides requirements for the use of, and constraints for, the instances of the elements.
The above-illustrated exemplary constraint template makes use of elements USE-KEYWORD and USE-RELATION to define specific requirements for instances for the sub-classes of elements defined by the definition template. More specifically, the exemplary constraint template 10 allows at least one instance of an element belonging to the sub-class CATEGORY. The exemplary constraint template further allows at most one instance of an element belonging to the sub-class PRICE. Similarly, the exemplary constraint template allows at least one instance of an element belonging to the sub-class PREDECESSOR, and requires at least one instance of an element belonging to the sub-class USES.
The following pseudocode illustrates an exemplary document that describes a reusable software asset, and which complies with the exemplary base schema, definition template, and constraint template listed above.
The form of asset capture module 26 may vary depending on whether asset management system 6 is configured for manual, semi-automated, or automated asset capture. Asset capture module 26 may comprise, for example, editing tools by which a user 39 can manually supply information to complete or augment the information captured from repository 4A. In addition, the user may interact with the editing tools to resolve any conflicts between the extracted asset information and the required information. For semi-automated or automated environments, asset capture module 26 may invoke one or more scripts to automate the augmentation of information with the asset information extracted by asset source 20. Asset capture module 26 may be embedded within asset management system 6 as illustrated, or remotely connected to the asset management system 6.
In some fully automated environments, asset source 12A may bypass asset capture module 26 by withholding notification 28, and may issue notification 32 to publishing module 24 indicating that the asset is ready for publishing to asset library 36. In fully automated environments, asset source 12A validates the asset information using asset definition templates 47.
Upon receiving notification 32, publishing module 24 issues messages 34 to asset source 12A to retrieve the normalized asset from asset source 12A. Upon retrieving the normalized asset, publishing module 24 stores the asset within asset library 36.
Asset management system 6 may further include a modeling module 38 that allows users 8 to develop models 37 that represent functionality of interest to the enterprise. For example, user 8 may interact with modeling module 38 to develop models 37 that may include process models, structural models, resource models, implementation models, and the like, for a software development project. Modeling module 38 may comprise an integrated proprietary modeling tool, or any conventional modeling tool capable of producing modeling information, such as Rational Rose™ from the Rational Software Corporation of Cupertino, Calif., or combinations of both such tools.
Asset retrieval module 42 allows users 8 to access and manage asset data within asset library 36. In particular, asset retrieval module 42 allows one or more users 8 to develop model-driven search specifications (search specs) 48. In other words, asset retrieval module 42 allows users 8 to select elements from one or more of models 37 to build search specifications 48. Scoring engine 44 scores each asset published by publishing module 24 against search specifications 48 to aid in identifying the most relevant assets within asset library 36. In this manner, users 8 can selectively retrieve assets from asset library 36 using modeling data from models 37 to guide the search process. Asset library 36 may be implemented as any data source, such as a relational database management system (RDBMS), an object-oriented database, flat files, and the like.
Library administration (admin) module 46 provides an interface by which library administrator 49 can manage asset library 36. For example, library administrator 49 may define rules that control the development of search specifications 48. In addition, library administrator 49 may edit asset templates 47 to define new asset types or update the schemas for existing asset types.
More specifically, EV module 56 generates the assets in a form compliant with a data description language, and may include metadata as well as actual artifact data, or references to artifacts stored within either repository 4A or artifact storage 60. Asset source 12A manages artifact storage 60 to store artifact data retrieved from repository 4A as needed, and provides artifact interface 53 for external access. Accordingly, upon publication to asset library 36 (
Asset source 12A includes a read-only interface 54 for use by publishing module 24 (
In addition, asset source 12A may include a writable interface 52 that allows asset capture module 26 to augment the artifact information of the underlying repository 4A or artifact storage 60. Asset capture module 26 invokes read-only interface 54 to direct EV module 56 to extract one or more asset from staging area 58. Upon receiving the assets from staging area 58 via writable interface 52, asset capture module 26 augments the artifact data via writable-interface 52 using manual, semi-automated, or automated techniques, as described herein.
The following code illustrates exemplary embodiments for interfaces 52, 53, and 54, that may be provided by asset source 50.
When asset sources 12 detect new or updated artifacts within repositories 4 (70), the asset sources 12 extract the information from repositories 4 (72). Asset source 12A, for example, may extract new or updated artifact information stored within repository 4A. For exemplary purposes, the remainder of
After extracting the artifact information, asset source 12A, generates the asset based on the extracted artifact information in a form that complies with a data description language, such as XML, and stores the asset within staging area 58 (74). Asset source 12A selects one or more asset templates 47 that provide an asset schema for controlling the generation. During this process, asset source 12A validates the generated asset to determine whether any additional information is needed to augment or reconcile the artifact information (76).
If, based on the validation, additional information is need to augment or reconcile the artifact information, asset source 12A determines whether the asset is an editable asset, possibly based on configuration information or the asset schema provided by asset templates 47 (78). If so, asset source 12A sets a status of the asset as “editable” (80), and issues notification 28 to asset capture module 26 to indicate that an editable asset is available within staging area 58 (82).
In response, asset capture module 26 provides the required information, possibly in a manual, semi-automated, or fully-automated manner (84). In addition, asset capture module 26 may assist users 8 in reconciling the instance of the asset stored within staging area 58 with a current version of the asset that may be stored within asset library 36. Upon completion of the editing process by asset capture module 26, asset source 12A changes the status of the asset within staging area 58 from “editable” to “publishable” (86). Similarly, if the asset was non-editable, or if additional information was not needed (no branch of 78), asset source 12A bypasses asset capture module 26 and marks the asset as “publishable” (86).
Next, asset source 12A issues notification 32 to publishing module 24 that an asset within staging area 58 is ready for publishing (88). Finally, publishing module 24 retrieves the asset from asset source 12A (90), and publishes the asset to asset library 36, possibly in a manual, semi-automated, or fully-automated manner, thereby making the asset available to users 8 via asset retrieval module 42. Asset source 12A sets the status of the asset within the staging area as “published” (90), and repeats the process for subsequent new or updated asset artifacts.
The update and publication process described above need not be triggered by the detection of new or updated artifact information within a repository. User 8 may, for example, trigger the process by selecting an asset within asset library 36, and initiating an update process (as indicated by dashed line 94). In particular, asset capture module 26 may reconcile the instance of the asset generated by asset module 12A with a current version of the asset stored within asset library 36. User 8 may also initiate the creation of a new asset through this process by selecting one or more template(s) and proceed edit the newly created asset according to the templates.
For example, asset sources 102A-102C are coupled to repositories 104, and form a first layer of asset source hierarchy 100. More specifically, asset source 102A is configured to generate assets based on artifacts stored within repository 104A. Similarly, asset source 102B is configured to generate assets based on artifacts stored within repository 104B. Asset source 102C is configured to generate assets based on artifacts stored within repository 104C and repository 104D. In other words, asset source 102C monitors both repository 104C and repository 104D, and generates assets based on new or updated artifacts.
In the illustrated example hierarchy 100, asset sources 102A-102C comprise read-only asset sources, and publish assets to upper levels of asset source hierarchy 100 without invoking a capture tool. Accordingly, asset sources 102A-102C need not support writeable interfaces.
Asset source 102D receives and aggregates assets from asset sources 102A, 102B. In particular, asset source 102D may receive incomplete assets from asset sources 102A, 102B, and may combine the artifacts, or references thereto, of the received assets to form aggregate assets. Asset source 102D may invoke asset capture tool 106A to augment or reconcile the aggregate assets.
Similarly, asset source 102E receives and aggregates assets from asset sources 102C, 102D, and may invoke asset capture tool 106B to augment or reconcile the aggregate assets. Accordingly, the aggregate assets produced by asset source 102E should be complete, and in a state for publishing to asset library 36. Alternatively, asset sources 102D, 102E, for example, may treat assets from each of sources 102A, 102B, 102C as independent assets for publishing to asset library 36.
During the process, capture logic 112 maps the artifacts of the asset produced by asset source 12A to searchable elements of models 37. In particular, capture logic 112 makes use of rules engine 120 to map the metadata and artifact data of the generated assets to elements of models 37. During the asset generation process, capture logic 112 allows users 8 or a library administrator 48 (
Next, capture logic 112 maps the asset to one or more model elements of models 37 (128). Capture logic 112 may, for example, invoke rules engine 120 to perform the mapping based on mapping rules 118. In addition, capture logic 112 may drive user interface 110 to map the assets to model elements based on input from users 8. In this manner, capture logic 112 builds associations between generated assets and the elements of models 37. Assets may be associated with, for example, interfaces, components, functions, case steps, and other elements that may be described within models 37.
Next, capture logic 112 updates the asset to include additional metadata based on the developed mapping, as well as any additional artifacts and other metadata that may have been provided by users 8 or automated scripts. (130). Finally, capture logic 112 communicates the updated asset to asset source 12A for storage in staging area 58 (132).
Next, asset retrieval module 42 directs scoring engine 44 to search asset library 36 in accordance with the search specification 48 (146). Based on the search specification, scoring engine 44 ranks the assets within asset library 36 using a scoring algorithm that determines, for example, how closely each asset satisfies the criteria of the search specification 48 (148).
Asset retrieval module 42 displays to the user the ranked assets found within asset library 36 by scoring engine 44 (150), and selects one or more of the assets in response to user input (152). Based on user request, asset retrieval module 42 attaches the selected assets to the search specification 48 (154). In this fashion, the user can selectively retain the assets for a software project. In one embodiment, scoring engine adaptively updates the search specification 48 based on the assets attached by the user, thereby dynamically refining scoring algorithm (156).
Domain Reference Model
The asset capture and identification tools of the invention allow resources to be mapped to a domain reference model (DRM). The DRM may be built in commercially available standalone software, such as Rational Rose, available from Rational Software of Lexington, Mass., or may be directly integrated as a part of a standalone tool.
A DRM identifies both atomic and higher-level tasks or process elements. Preferably, these elements are organized in two different models. The first model is the structural model, which is similar in organization to a library of code components. Each reference component in the structural model contains one or more functions applicable to the domain. These functions may be organized in intermediate groupings called interfaces that associate functions according to expect usage patterns or other criteria. However, the components defined in the structural model are not actually implemented as executable code, but simply serve as a reference model of possible functions within the domain.
The second model is generally a business process model, which identifies higher-level areas within the domain and breaks them into processes and subprocesses. At the atomic level, the processes are broken down to “use cases,” which detail the necessary steps of a particular task. These steps are associated with the components, interfaces, and functions in the structural model, and may be repeated in different combinations in the various use cases. The model need not be organized around a business structure, but may comprise any appropriate topical organization (e.g., a technical reference architecture for software component implementation and deployment).
The business-process side of a DRM for the insurance industry is shown in
The set of use cases represent a series of steps making up an algorithm for executing the associated subprocess. For the Cash Surrender without Surrender Charge, a portion of the associated set of use cases is shown in graphical form in
Asset Capture Tool
The asset capture module 26 illustrated in
The asset capture process according to one embodiment of the invention is illustrated in
Initially, the user configures the asset capture tool, setting options for the acquisition process such as the level of detail to be saved in the log, the group of DRMs to be used in the mapping process, and the schema and target repository for storing information.
The user then proceeds to the definition stage. The asset to be added to the library is located, and general information about the asset is entered in the overview section.
Once the classification step has been completed, the user specifies the asset model and component diagram that will be used to catalogue the asset. If an asset model and/or a component diagram do not yet exist, the asset capture tool will preferably give the user the option to create them, as shown in
As part of the asset capture process, a component interface diagram will be created for the asset (unless one already exists). Preferably, the asset capture tool will be able to create or update the component diagram either automatically or manually, and will offer the user a choice of either procedure, as shown in
To automatically generate the component interface diagram, the asset capture tool first identifies functions within the asset, and preferably allows the user to specify which functions are external, as shown in
As shown in
The data on external functions and data types is used to generate an interface diagram, typically using an external tool such as Rational Rose. A generated interface diagram for the currency management asset is shown in
In the final step of the asset definition phase, other descriptive elements of the asset (referred to herein as “artifacts” of the asset) such as its architectural assumptions, examples, warranty, and reviews may be specified, as shown in
After the asset definition phase has been completed, synonyms for the asset may be defined, as shown in
After definition of asset-specific synonyms, the user maps the asset to one or more DRMs contained within the group of models selected during the configuration step. The reference model is selected, as shown in
The user may view synonyms that have been defined for the DRM or on an enterprise-wide basis, as shown in
Once the reference model and synonyms have been selected, the asset can be mapped against the DRM. In preferred embodiments, the mapping begins with data types and proceeds through functions, working from the least to the most complex. By using information from earlier mappings, the quality of automatic suggestions for mapping can be improved.
The mapping process for functions proceeds in the same fashion as the mapping process for custom datatypes. The user has available the same set of descriptors for describing the quality of the mapping between available external functions that were available for mapping datatypes. By mapping datatypes first, the asset capture tool can use datatype equivalencies to select likely candidates for functional equivalencies. For example, a function called Convert( ) that takes CurrencyValue as an argument may be a more likely match in a currency exchange package than one that takes GregorianDate. Functions, like datatypes, may be mapped in a many-to-many relation, and the additional-data, partial-data, and comments fields can be used to annotate the quality and characteristics of the mapping(s).
Once all functions and datatypes have been mapped to the DRM to create the component diagram, the accumulated metadata for the asset can be uploaded to the database for searching. Any of a number of standard file formats may be used for database entries.
Model Based Search Specification
Once assets have been classified in a library database, a search engine should be provided to allow them to be accessed. While standard search engines may be used on the database described above, it is preferable to use a specialized engine designed to take maximum advantage of the unique data stored in the library.
According to one embodiment of the invention, the search engine is designed to allow construction of a search specification using either the process-based side or the structural side of a domain reference model as described above.
A user unfamiliar with software development can nevertheless identify assets useful for creating a tool to solve a particular need, by navigating the business process-based side of the domain reference model shown in
A search specification constructed in this manner is shown in
Keyword searches may also be available through the search engine, as shown in
In either type of search, the user preferably may specify nonfunctional requirements such as operating system, license type, or language. These requirements may preferably be given weights in the same manner that individual functions can be weighted.
A result for the search specification shown in
Before or after the assets have been attached to the search specification, the user can investigate them in more detail, as shown in
One feature of the invention is that a user who is familiar with business processes, but not with construction of formal technical specifications, can build a search specification and attach useful assets to it. The search specification can be used by others who are less familiar with the business process, but who are familiar with software development, to identify assets that can be readily used together. By allowing such collaboration, the invention provides more effective leveraging of software assets within an enterprise.
In the event that a search specification results in no potentially useful assets being found, the user preferably may specify that the specification be published as an initial requirements document for new asset development. If a partial match is found, the user preferably may similarly publish the unmatched portion of the specification as a requirements document. The user may also choose to mark a search specification such that the user will be informed in the event that any asset subsequently published into the library sufficiently conforms to the specification.
Asset Management
In preferred embodiments of the invention, the system also facilitates the software asset acquisition process. An acquisition workflow is shown in
The system first determines whether the asset is associated with the project 304. If it is, the system checks to see if the asset is registered 306. If the asset is both associated with the project and registered, then it is already available for use in development and its status is displayed to the user 308. If the asset is associated with the project and not registered, it may be that it is already under consideration by the Project Manager, or that it has previously been rejected. If the system determines that the asset has not been rejected 310, it displays the asset's “pending” status to the user 308. If the asset has previously been rejected, then the user is required either to give a reason for requesting reconsideration of the rejection 312 or to cancel the request.
If the asset is not already associated with the project, or if the user is requesting reconsideration of a rejection, the asset status is set to “pending project manager approval,” 314 and the Project Manager is notified 316 of the new acquisition request.
A summary of asset acquisition requests according to one embodiment of the invention is shown in
Each pending request is preferably listed by requester 318, project 320, and name 322. Additional information may also be included such as version numbers 324, descriptions 326, and notes 328. By selecting links 330, the manager may view the details of any request.
In some embodiments of the invention, the acquisition screen may allow the user to send a purchase order, a request for internally developed assets, or otherwise formally acquire the asset. Alternatively, the acquisition screen may simply memorialize the acquisition of the resource by other channels, as in the screen shown in
The system preferably also includes means for tracking the usage of individual assets by different projects. In preferred embodiments, this information may either be viewed directly by the library in the form of prebuilt reports or exported for further processing. As an example of a prebuilt report,
This application is a continuation and claims priority from U.S. application Ser. No. 10/109,601, filed Mar. 26, 2002, entitled “Managing Reusable Software Assets,” which is a continuation-in part of U.S. application Ser. No. 09/900,101, filed Jul. 6, 2001, entitled “Targeted Asset Capture, Identification, and Management,” now issued as U.S. Pat. No. 7,080,355, and U.S. application Ser. No. 10/100,749, filed Mar. 18, 2002, entitled “Generating Reusable Software Assets from Distributed Artifacts,” the entire contents of each of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5361355 | Kondo et al. | Nov 1994 | A |
5446575 | Lysakowski, Jr. | Aug 1995 | A |
5642511 | Chow et al. | Jun 1997 | A |
5867707 | Nishida et al. | Feb 1999 | A |
5907704 | Gudmundson et al. | May 1999 | A |
5980096 | Thalhammer-Reyero | Nov 1999 | A |
5991535 | Fowlow et al. | Nov 1999 | A |
6023702 | Leisten et al. | Feb 2000 | A |
6055543 | Christensen et al. | Apr 2000 | A |
6067548 | Cheng | May 2000 | A |
6092075 | Carey et al. | Jul 2000 | A |
6134706 | Carey et al. | Oct 2000 | A |
6202205 | Saboff et al. | Mar 2001 | B1 |
6230315 | Nicholas | May 2001 | B1 |
6349237 | Koren et al. | Feb 2002 | B1 |
6366930 | Parker et al. | Apr 2002 | B1 |
6405179 | Rebane | Jun 2002 | B1 |
6427230 | Goiffon et al. | Jul 2002 | B1 |
6606744 | Mikurak | Aug 2003 | B1 |
6640249 | Bowman-Amuah | Oct 2003 | B1 |
6662357 | Bowman-Amuah | Dec 2003 | B1 |
6678882 | Hurley et al. | Jan 2004 | B1 |
6829604 | Tifft | Dec 2004 | B1 |
7149734 | Carlson et al. | Dec 2006 | B2 |
7322024 | Carlson et al. | Jan 2008 | B2 |
20020073114 | Nicastro et al. | Jun 2002 | A1 |
20020156702 | Kane | Oct 2002 | A1 |
20020158880 | Williams et al. | Oct 2002 | A1 |
20020169658 | Adler | Nov 2002 | A1 |
20030182470 | Carlson et al. | Sep 2003 | A1 |
Number | Date | Country |
---|---|---|
0 667 572 | Aug 1995 | EP |
1 061 430 | Dec 2000 | EP |
WO 0022518 | Apr 2000 | WO |
WO 0241144 | May 2002 | WO |
WO 02061538 | Aug 2002 | WO |
WO 03005243 | Jan 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20070033567 A1 | Feb 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10109601 | Mar 2002 | US |
Child | 11546884 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09900101 | Jul 2001 | US |
Child | 10109601 | US | |
Parent | 10100749 | Mar 2002 | US |
Child | 09900101 | US |