Architectural design is defined as "the process of defining a collection of hardware and software components and their interfaces to establish the framework for the development of a computer system." More specifically, architecture is defined as "the fundamental organization of a system, embodied in its components, their relationships to each other and the environment, and the principles governing its design and evolution." The architecture process, after defining the structural elements, then defines the interactions between these structural elements. It is these interactions that provide the desired system behavior. Design rules are necessary for the enforcement of the architectural patterns for current and future software development (i.e., for open architecture systems).
The software architecture is drafted during the early life cycle phases of a project and baselined during PDR (Preliminary Design Review) (see SWE-019 and Topic 7.8 - Maturity of Life Cycle Products at Milestone Reviews ). The drafting begins when the top-level (systems) requirements are collected and organized. The project's operational concepts document is prepared based on these top-level requirements. From this point the project development team develops, decomposes, and sub-allocates these requirements to multiple and more narrowly focused activities. (Tarullo describes a model for creating software architectures by using the de-facto standard software modeling tool, UML (Unified Modeling Language) (v2.0) . His approach fosters decomposition, which is a major practice used to control complexity in large (and small) software systems.) The evaluation and sub-allocation of these requirements result in a hierarchical ordering of the complete set of requirements, which forms the basis and and initial structuring of the software architecture. Often this activity is accomplished by performing a functional or physical decomposition of the systems components and performance functions. As these allocated requirements are further matured and organized, a new set of statements evolves in the form of derived requirements. These derived requirements are nominally logical extensions of the original specified requirements. See SWE-049, SWE-050, and SWE-051 for more discussion on derived requirements.
NASA/SP-2007-6105, NASA Systems Engineering Handbook, and the Defense Acquisition University's Systems Engineering Fundamentals Guidebook both provide more detailed discussions of requirements decomposition. The latter document includes several example templates for conducting the decomposition activities. Some key concepts from these two references include: "Logical decomposition is the process for creating the detailed functional requirements that enable NASA programs and projects to meet stakeholders' needs." "The allocation process is accomplished by "arranging functions in logical sequences, decomposing higher-level functions into lower level functions, and allocating performance from higher to lower level functions." "The process is "recursive" (repeated application of processes to design next lower layer system products or to realize next upper layer end products within the system structure) and "iterative"(application of a process to the same product or set of products to correct a discovered discrepancy or other variation from requirements) and continues until all desired levels of the system architecture have been analyzed, defined, and baselined.
As the software development team starts its effort, it organizes the activities based on these allocated and derived requirements. The key step is to transform these requirements into a logical and cohesive software architecture that supports the overall systems architecture for the NASA project. The team develops a software architecture to serve as guidance for the development of the components and systems level software work products through a process known as architectural design.
Software architecture is commonly organized using the concepts of "views" and "patterns." A view is a representation of a set of system components and the relationships among them. Views are used to describe the system from the viewpoint of different stakeholders, such as end-users, developers or project managers. Views are analogous to the different types of blueprints that are produced to describe a commercial building's architecture. Patterns in architectural design refer to the use of common or standard designs. "A pattern system provides, on one level, a pool of proven solutions to many recurring design problems. On another (level)it shows how to combine individual patterns into heterogeneous structures and as such it can be used to facilitate a constructive development of software systems."
The resulting software architecture also allows for the following: The verification of the software components, the integration of work products into systems, and the integration of the software systems into the rest of the project's systems.
SWE-057 calls for the software architecture to be documented. The required content for the Software Design Description document (see SWE-111) includes the CSCI architectural design. The actual format for recording and describing the architectural concept is left to the software project team (all projects are different!). As a minimum, include the following:
- An assessment of architectural alternatives.
- A description of the chosen architecture.
- Adequate description of the subsystem decomposition.
- Definition of the dependencies between the decomposed subsystems.
- Methods to measure and verify architectural conformance.
- Characterization of risks inherent to the chosen architecture.
- Documented rationale for architectural changes(if made).
- Evaluation and impact of proposed changes.
See Topic 7.7 - Software Architecture Description for additional information on the recommended kinds of content that usually appear in software architecture descriptions and for examples from a number of sources of outlines for documenting software architecture descriptions.)
In situations where the software architecture does need to be changed, dependency models now offer the potential for maintaining the architecture over successive revisions during the software life cycle by specifying rules explicitly that define the acceptable and unacceptable dependencies between subsystems. The dependency structure model is an example of a compact representation that lists all constituent subsystems/activities and the corresponding information exchange and dependency patterns.
The Software Architecture Review Board, a software engineering sub-community of practice, is a good resource of software design information including sample documents, reference documents, and expert contacts.
Additional guidance related to the software architecture development and documentation may be found in the following related requirements in this handbook: