Design for future: managed software evolution
- 3.5k Downloads
Innovative software engineering methodologies, concepts and tools which focus on supporting the ongoing evolution of complex software, in particular regarding its continuous adaptation to changing functional and quality requirements as well as platforms over a long period are required. Supporting such a co-evolution of software systems along with their environment represents a very challenging undertaking, as it requires a combination or even integration of approaches and insights from different software engineering disciplines. To meet these challenges, the Priority Programme 1593 Design for Future—Managed Software Evolution has been established, funded by the German Research Foundation, to develop fundamental methodologies and a focused approach for long-living software systems, maintaining high quality and supporting evolution during the whole life cycle. The goal of the priority programme is integrated and focused research in software engineering to develop methods for the continuous evolution of software and software/hardware systems for making systems adaptable to changing requirements and environments. For evaluation, we focus on two specific application domains: information systems and production systems in automation engineering. In particular two joint case studies from these application domains promote close collaborations among the individual projects of the priority programme. We consider several research topics that are of common interest, for instance co-evolution of models and implementation code, of models and tests, and among various types of models. Another research topic of common interest are run-time models to automatically synchronise software systems with their abstract models through continuous system monitoring. Both concepts, co-evolution and run-time models contribute to our vision to which we refer to as knowledge carrying software. We consider this as a major need for a long life of such software systems.
KeywordsSoftware life cycle Design, maintenance and operation Legacy systems Co-evolution Knowledge carrying software
1 Introduction: today’s challenges of the software industry
Software has become an enabling factor in many ground breaking developments across the board. In this role software is considered to provide a degree of flexibility which is breathtaking—especially for software developers. Amazon, for instance, releases a new version, release etc. of their services and products every eleven seconds on average . If this phenomenon is an indicator of the general direction software development will look like in the future it shows good processes for this particular systems of this company. However, it is and will be a major challenge to sustain such a pace in general software development, even if change is less frequent.
This role of software makes it necessary to address the fast pace new emerging opportunities, changing customer needs, environmental changes just to name a few. The question is what are the challenges and how to address them. The effect of such a fast pace is usually that a software system shows quickly signs of ageing. Thus, software quality often decreases during the lifetime of long-living software systems in various aspects, e.g., conformance to user and system requirements, functionality, performance, reliability, and maintainability. This is ageing not by wear and tear but by accommodating the required changes quickly in order not be become obsolete by being too slow. As a result such changes to the software system are done in a hurry without considering the quality control and management, which was in place in the original development. Since decades, software engineering experts have been well aware of this phenomenon, called software deterioration [11, 14]. Furthermore, the requirements software has to meet and the underlying hardware and infrastructure (e.g., execution platform) constantly change. If software does not continuously adapt, it will age relative to its environment. In the field of business information systems, we are very familiar with these problems, referred to by the term legacy systems. Software industry still has to cope with large-scale business applications based on opaque and monolithic FORTRAN or COBOL systems, which cannot be substituted due to their enormous complexity and—even worse—lack of knowledge on how they work. The same problem arises in the embedded software systems sector where software engineering has to deal with the problem of providing complex software for potentially long-living technical devices and systems.
A lack of understanding of the mutual dependencies between functional and quality requirements, of the internal structure of software systems, and dependencies on other hardware and software system components prevents the efficient and effective evolution of software systems. This causes major shortcomings in the productivity of the users of a software system and finally leads to acceptance problems.
There are various methods and techniques for specific aspects of software evolution available. However, a consistent and comprehensive methodology which covers development, operation, and quality assurance at the same time does not exist. This, of course, includes and addresses model based approaches in particular.
The complexity and timing of the development of applications on the one hand and the development of platforms and technologies on the other hand, frequently interfere each other and prevent a focused and continuous development.
Section 2 introduces the evolutionary life cycle of software systems that includes both design and construction phases as well as operation phases and involves different disciplines, before Sect. 3 presents our vision of managed software evolution. The joint case studies are essential to promote close collaborations among the individual projects, see Sect. 4. The priority programme projects, their collaboration and a clustering are presented in Sect. 5, before Sect. 6 concludes the paper.
2 Evolutionary software life cycle
The evolutionary life cycle of the system includes both design and construction phases as well as operation phases and involves various disciplines. The life cycle starts with the original design and construction of infrastructure and software. Before operation starts, a commissioning of the entire system (i.e., a consolidation of all disciplines) is necessary. During operation mechanical construction phases take considerably more time than designing the platform and software, especially in area of production automation systems. Often technical systems or platforms are running for many years, resulting in a smaller change frequency than in software engineering. As changes, adaptations and updates may affect necessary parts of the system, the system may have to be shut down in order to commission the entire re-engineered system. In automation of production systems, it is usually an important requirement to keep these downtime phases extremely short. In Fig. 1 the various areas (software, platform and technical system) are depicted in different grey scales and the height of each curve indicates the amount of effort required in these areas. As one can see each of these areas have their own dynamics and the challenge is to manage the effort in such a way that the entire system will develop and operate in a meaningful manner.
In fact, we need a tight integration of construction/design, deployment and operation phases. As sketched in Fig. 1 this means we need for new compositional software life cycle management approaches, which reflect the complex technology stack of modern service-oriented systems, production automation systems etc. In addition, further integration of design-time and run-time information about the software is required. For instance, during system operation and evolution a great deal of design-time information about the operated software is missing. On the one hand, development artefacts are not kept up-to-date after the design phases and, on the other hand, relations between run-time management information and design-time artefacts are barely considered. As a consequence, development processes should take the operation and evolution of the software systems explicitly into account .
3 Managed software evolution
In the Priority Programme 1593 the continuous co-evolution of software and software/hardware systems is addressed by making systems adaptable to changing requirements and environments. Several fields in the discipline of software engineering contribute to this vision and may be focused and integrated to reach the goal of a new development methodology for long-living software systems, maintaining high quality and supporting evolution during the life cycle. However, these approaches need to be further developed and integrated with a special focus on long-living software systems. For this, we propose the new paradigm where (1) development, adaptation and evolution of software and their platforms as well as (2) operation, monitoring and maintenance are no longer separated but integrated. The goal is to define meta-models for preserving and accessing the knowledge provided and gained during the system development process. Furthermore, methods and process models, as well as suitable infrastructures, will be provided to comprehensively support the integration of software development and evolution.
Three guiding themes have been proposed as research structure for the priority programme and its projects:
Guiding Theme I: Knowledge Carrying Software. The knowledge contained in software or underlying its design needs to be integrated and made accessible in the resulting artefacts, both for functional and for quality requirements. Appropriate meta-models with specific support for continuous evolution of software and software/hardware systems need to be developed, in particular—but not necessarily exclusively—for advancing model-based and model-driven software engineering.
Guiding Theme II: Methods and Processes. Design and evolution of software need to be supported by methods ensuring that knowledge is preserved and integrated. A new model for the life cycle of software or software/hardware systems needs to be developed, allowing and considering differing evolution cycles on different levels of the software/platform/hardware stacks.
Guiding Theme III: Platforms and Environments for Evolution. Infrastructure for the evolution of software or software/hardware systems in terms of suitable middleware and robust run-time environments, for monitoring and changing during operation, needs to be provided. Design- and run-time information needs to be made accessible wherever needed during the operation of systems.
4 Case studies
Several of the projects in the priority programme develop methods and approaches tailored to the domain of production systems in automation engineering. They evaluate their results using the Pick & Place Unit , a lab-size demonstrator at the Institute of Automation and Information Systems1 at the Technische Universität München. Another group of projects concentrates on information systems and embedded systems. For those projects, we provide a joint case study based on CoCoME  in terms of a cash desk with an associated stock management for supermarkets, supervised by the Chair for Software Design and Quality2 at the Karlsruher Institute for Technology. This case study has already been deployed as an international benchmark for component-based modelling approaches, but is now adapted to the goals of the priority programme.
4.1 Pick and place unit
The engineering of automation software for manufacturing systems differs from traditional software design for embedded systems. Run-time environments, implementable in the programming languages standardised in IEC 61131-33 (e.g., Sequential Function Charts), abstract from several technical details of the platform. However, a dependency between automation software and physical hardware, i.e., context and platform, still exists. The complexity of manufacturing systems with typically thousands of input and output signals of sensors and actuators used within one plant is nonetheless high. Furthermore, reuse is handicapped by several aspects: Nearly each plant is customised individually to technical requirements, local standards, local qualification of maintenance personnel and requested components.
In this context, model-driven development of automation software for manufacturing systems grows in importance. First tool prototypes are available using object-oriented mechanisms and integrating the UML into traditional IEC 61131-3 environments  being the programming and development standard for manufacturing systems since years. Furthermore, service-oriented approaches are well applied in manufacturing systems on the level of sensor and actuator integration, the so-called device description languages [2, 3] as well as on the level of dynamic adaptation during run-time using agent-based approaches to replace sensors by a soft sensor  or adjust control behaviour  in case of failures. Nevertheless, a major drawback still exists: unstructured legacy code from existing plants and mechatronic libraries is frequently reused. Therefore an approach is required to analyse legacy code and develop migration concepts to model-driven development or service-orientation applicable for new plants. Evolution of automation software of manufacturing systems is not always applicable in a model-driven way as a planned change. At plant site, in case of downtime phases, software code is frequently adapted unplanned under high time pressure with limited access to all engineering data and limited knowledge. Both of these challenges are addressed by projects of the priority programme using the manufacturing automation demonstrator. Product line approaches and delta engineering seem to be promising ways to support evolution of manufacturing system software, but requires changes to the standardised and established programming languages as well as adaptations in engineering and run-time platforms.
As an interface to the projects, a full documentation for each of the scenarios in SysML is available as well as corresponding IEC 61131-3 programs. For evaluation purposes, a MATLAB/Simulink model of all evolution steps is provided which offers the opportunity to run the program code on a PC-based logic controller (PLC) in loop with the simulation. Furthermore, the customised control software of the project can be evaluated in loop with the simulation as well as connected to the PPU via OPC , a standardised interface in automation engineering.
4.2 Common component modelling example
The case study Common Component Modelling Example (CoCoME) describes a fictitious business information management system, originally developed and internationally used as a benchmark system for several component-based modelling approaches . CoCoME is an open source system with a comprehensive documentation including a detailed requirement specification, architectural models in several modelling languages and two runnable implementation versions: a component-based implementation.4 and a SOA-based variant.5
It consists of cash desks, store and enterprise. A cash desk has several devices connected to it, such as a bar code scanner or a receipt printer. Multiple cash desks are connected to the CoCoME store server. These devices belong to the store environment. Moreover, store servers are connected to the enterprise server via store clients, comprising the enterprise CoCoME environment. Cash desk applications, store server applications, store clients, enterprise applications and enterprise clients can be installed on independent nodes and also can be replicated. The communication runs via RMI in the traditional implementation of CoCoME, and via WS calls in the SOA-based variant. The SOA-based implementation is also deployable in the cloud.
The usage scenario of the CoCoME system reflects customers buying goods in a supermarket. Items the customer wants to buy are scanned at the cash desk and can be paid either by cash or with a credit card. At the end of a transaction, the customer receives a receipt. If the supply of certain goods is coming to an end, the inquiry about resupply is sent via the store client to the enterprise server. There it is processed, and items are shipped to the supermarket.
Exchange of the AMPL  optimisation library
Error-resistance and performance adaptation
Introduction of an event channel into the system
Exchange of communication protocol
Home delivery service, payback and discount service offers
Implementation of a web shop support
CoCoMe as a product line
Platform or infrastructure change
Migration to cloud infrastructures
Model-driven development of CoCoME
5 Projects of the priority programme
The priority programme comprises thirteen scientific projects with 25 principal investigators from software and automation engineering. We present the individual project goals, project collaborations and project clustering in the following Sects. 5.1, 5.2 and 5.3.
5.1 Individual project goals
ADVERT 6 addresses the challenge of capturing and evolving design decisions to keep development artefacts synchronised (requirements, documentation, architecture specification, and code). A vetical tool prototype for synchronisation of architectural design and implementation artefacts is available. For evaluation, an empirical study on CoCoME and some real-world case studies from former industry and research projects are planned.
DAPS 7 develops new high-level models for performance specification and modelling of variability and evolution. The work is motivated by the increasing complexity of software in long-living systems, and the resulting number of variants over time. New techniques for efficient performance analysis both at design-time and at run-time are engineered, and evaluated on the PPU case study.
ENSURE 8 investigates the co-evolution of quality of service (QoS) models and architectural models. Particularly, the certification of QoS properties of evolving systems, including run-time certification, is introduced and evaluated via model-based safety and reliability evaluations of the evolving PPU (consistent models, model transformations, co-evolution study). The model-based performance evaluation of CoCoME is envisioned.
EvoLine 9 supports consistency checking between variability models and artefacts during evolution. Employing the Linux kernel and kconfig files as case studies, EvoLine identifies modifications in a product line that lead to problems in single products.
FYPA2C 10 develops methods and processes for realising knowledge carrying software for evolving production systems, especially in the context of undocumented changes. This includes the automatic generation and scenario-based evaluation of knowledge models and test cases for the PPU case study on the basis of occurring low-level signal traces within an active component architecture. A semi-automated requirements verification process based on anomaly detection of changes as well as test cases and common usage scenarios has already been developed. Besides the PPU case study, a local laboratory manufacturing plant evolution scenario is under construction and a simulated benchmark plant is planned.
IMoTEP 11 investigates the co-evolution of software product line (SPL) models and test artefacts, particularly the propagation of changes in SPL models into updates of model-based SPL test artifacts. Via a case study of its associated partner Eckelmann AG and the PPU case study, IMoTEP evaluates quality assurance for (re-)configuration at run-time based on dynamic SPL testing strategies as well as for unforeseen evolution based on regression testing.
IMPROVE 12 leverages advances in deductive program verification for regression verification (formally proving that software behaviour is sustained through its evolution). IMPROVE develops powerful regression verification methods and tools for regression verification for Java and intends to evaluate these on a collection of micro-benchmarks from literature and on the CoCoMe case study.
iObserve 13 investigates model-based observation, prediction, forecasting and analysis of performance and privacy in dynamic cloud contexts. In particular, new methods and techniques for model-driven instrumentation, creation and update of run-time models for verification of geo-location-constraints are addressed. The techniques are evaluated on the CoCoMe case study, particularly with the scenario of moving a database from one cloud provider to another while complying with data policy requirements.
MOCA 14 develops a methodology and tools for specifying and recognising changes in versions of models. The key idea is to integrate model-driven key technologies for model transformation and model versioning and to evaluate this with managing and planing the evolution of SysML models of the PPU case study.
MoDEMAS 15 investigates evolution challenges in automation engineering in practice. The MoDEMAS project employs simulation and model checking to support evolution of automation systems. The approach is evaluated via simulation of typical evolution scenarios on the PPU case study. The goal is to identify and combine those viewpoints, which are required to model an automation system holistically.
Pythia 16 utilises various sources of information obtained via product line analysis to improve the predictive power of state-of-the-art prediction models for product line engineering. A product line dashboard that aggregates, integrates, and visualises organisational, architectural, and implementation-related information is developed to support decisions such as whether to add a feature, remove a feature, or alter the organisation, architecture, or implementation (refactoring). Pythia is evaluated based on several open-source software systems, several case studies from partners at Fraunhofer IESE, Keba, and Siemens, as well as the source code of the PPU case study.
SecVolution 17 addresses the systematic co-evolution of knowledge and software for security. Hereby, SecVolution develops techniques, tools, and processes that support security requirements and design analysis techniques for evolving, long-living systems in order to ensure lifelong compliance to security requirements. The evaluation is planned both on the CoCoME case study with the evolution scenario of migrating the shop to the cloud and the PPU case study for investigating relevant security vulnerabilities.
URES 18 has the goal to support the documentation and usage of decision knowledge during software evolution. URES investigates the structures to represent decisions, the resulting effort for developers and how to exploit decision knowledge in order to support the system evolution. End user behaviour is reflected in evolution decisions to identify software improvements through mismatches between expected and observed user behaviour. These techniques are evaluated on the UNICASE tool and both the CoCoME and the PPU case studies.
5.2 Project collaboration
In order to achieve the intended integration between partners of different fields of software engineering, and hence to reach a focused approach towards a coherent methodology, considerable efforts are necessary. Frequent information exchange and discussion of research results in early stages are absolutely essential. This is achieved on the one hand by organising frequent meetings in suitable forms, not only for information exchange within the priority programme but also with national and international experts. On the other hand, we build networks between related projects, both guided by the joint case studies and by establishing working groups for related research interests.
ADVERT and iObserve collaborate on the development of CoCoME evolution scenarios, the integration of a monitoring probe definition language into synchronised development artefacts to gather and represent run-time deployment information. ADVERT and SecVolution collaborate on capturing relevant security knowledge from architectures and synchronising that knowledge between model and code. DAPS collaborates with FYPA2C on measurements of the PPU. ENSURE collaborates with MOCA on the PPU system architecture and fault tree models, with FYPA2C on probabilistic QoS models, and with iObserve on learning performance attributes based on the CoCoME implementation for model update via dynamic analysis. FYPA2C collaborates with MoDEMAS on run-time verification of production systems on basis of PLC signal traces, with DAPS on the PPU regarding performance verification is planned and with ENSURE on probabilistic models. IMoTEP collaborates with Pythia on SPL test case generation based on symbolic model checking, with MoDEMAS on feature modelling in the automation engineering domain, with MOCA on consistency-preserving evolution of SPL test artefacts by model differencing, and with DAPS on variability modelling in SPL engineering. iObserve collaborates with ADVERT on run-time and data modelling and with ENSURE, SecVolution, URES, and MOCA on model-driven code generation for the CoCoME case study. MOCA collaborates with MoDeMAS on the comparison of SysML models of the PPU, with IMoTEP on the comparison of feature models, with SecVolution on the change recognition of changes in security maintenance models, and with ENSURE on the comparison of system architectures and fault tree models. Pythia collaborates with DAPS on variability-aware performance analysis, with IMoTEP on variability-aware test-case generation and execution and with MOCA on structural differencing and merging to compare tools. URES collaborates with SecVolution on integrating heuristic analyses for requirements with the decision editor in UNICASE as well as with iObserve, ADVERT, and SecVolution on the development of CoCoME evolution scenarios.
Co-evolution of models and implementation code, of models and tests, and among various types of models.
Run-time models to automatically synchronise software systems with their abstract models through continuous system monitoring.
5.3 Project clustering
One of the goals in the first funding period of the priority programme was to evenly cover our guiding themes I and II as well as our application domains. The assignment of projects is depicted in Fig. 6. We find that four projects concentrate solely on information systems, five projects solely on automation engineering. Four projects are working in both domains. The width of each block in the figure illustrates the intensity (one-, two- or three-thirds) of the assignment to a guiding theme. In accordance with the focus in the first funding period, the majority of the projects contribute to guiding theme I and II.
In the projects concerned with Software Product Lines (SPLs), performance and testability of variant-rich software systems are examined. The projects in Verification & Validation develop sophisticated software approaches for quality assurance in practical application. Also formal methods are part of this field. Meta Modelling covers approaches with strong orientation to model-based/model-driven development and analysis of systems on high level of abstraction. Change Analysis is strongly related to the preservation of knowledge in maintenance phases. Close to that, Monitoring concepts support the integration of human and environmental aspects into the development process. Highly flexible system and software structures are investigated in the field of Architectures. Finally, the field Non-functional Properties focuses on system properties on the level of qualitative ratings beyond functional requirements.
In the Priority Programme 1593, we have the ambitious goal to provide methods and tools for developing “forever-young software”. This leads to software whose expenses in maintenance are considerably lower than the maintenance costs of current legacy systems and which will even improve in quality over its life cycle. Thus, improvements regarding all software development phases and software artefacts on the various levels of abstraction in an evolutionary software life cycle are required. Several research fields in software engineering need to be combined for the development of integrated approaches to reach our goals.
We proposed a research structure of three guiding themes to integrate all activities in development, operation, monitoring and maintenance. Two of these guiding themes reflect that gathering, preservation and usage of knowledge during development and operation, and the integration into methods and processes, are key issues. In our third guiding theme, adequate infrastructures for evolutionary platforms as well as process models are investigated. Furthermore, several fields from current research in software engineering contribute to our goals. We have shown that we have an excellent representation of these fields in the priority programme, as well as a good coverage of our guiding themes.
In order to stay close to application, we have identified two particular important application domains: production systems in automation engineering and information systems. For this purpose, two joint case studies for these domains are broadly accepted in the priority programme, and promising scenarios for evolution were already determined.
If this coordinated effort of software engineering research will help to save only a fraction of the huge expenses spent nowadays on the maintenance of long-living software systems, the situation might be considerably improved. However, we expect much more. We intend to provide the methods, processes and infrastructures to not only preserve, but even to improve the quality of long-living software systems over their whole life cycle.
This work was partially supported by the DFG (German Research Foundation) under the DFG Priority Programme 1593: Design For Future—Managed Software Evolution (SPP1593).
This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.
- 1.Bencomo N, Blair G, France R, Muñoz F, Jeanneret C (2009) Proceedings of the 3rd international workshop on Models@run.time. In: Models in software engineering. Springer, Berlin, pp 90–96Google Scholar
- 2.Diedrich C (2006) Integrating technologies of field devices in distributed control and engineering systems. In: Integration technologies for industrial automated systems, chap. 11. CRC Press, Boca RatonGoogle Scholar
- 3.Evertz L, Epple U (2013) Laying a basis for service systems in process control. In: Proceedings of the 18th international conference on emerging technologies & factory automationGoogle Scholar
- 4.Feldmann S, Loskyll M, Rösch S, Schlick J, Zühlke D, Vogel-Heuser B (2013) Increasing agility in engineering and runtime of automated manufacturing systems. In: Proceedings of 14th international conference on industrial technologyGoogle Scholar
- 5.Fourer R, Gay D, Kernighan B (2002) AMPL: a modeling language for mathematical programming. Duxbury, USAGoogle Scholar
- 6.GI-Dagstuhl Research Seminar: Modelling Contest: Common Component Modelling Example (CoCoME). http://www.cocome.org
- 7.Information Week Magazine: Amazon’s Vogels Challenges IT: Rethink App Dev (Interview). http://www.informationweek.com/d/d-id/1107599
- 8.Institute for Automation and Information Systems: The pick and place unit-demonstrator for evolution in industrial plant automation (2014). http://www.ppu-demonstrator.org/
- 9.Ladiges J, Haubeck C, Wior I, Arroyo E, Fay A, Lamersdorf W (2013) Evolution of production facilities and its impact on non-functional requirements. In: Proceedings of the 11th international conference on industrial informaticsGoogle Scholar
- 10.Legat C, Folmer J, Vogel-Heuser B (2013) Evolution in industrial plant automation: a case study. In: Proceedings of the 39th international conference of the IEEE Industrial Electronics SocietyGoogle Scholar
- 12.Li F, Bayrak G, Kernschmidt K, Vogel-Heuser B (2012) Specification of the requirements to support information technology-cycles in the machine and plant manufacturing industry. In: Proceedings of the 14th IFAC symposium on information control problems in manufacturing, vol 14, pp 1077–1082Google Scholar
- 13.OPC Foundation: OPC Data Access Custom Interface Standard Version 3.00 (2003). https://opcfoundation.org/developer-tools/specifications-classic/data-access/
- 14.Parnas DL (1994) Software aging. In: Proceedings of the 16th international conference on software engineering. IEEE Computer Society Press, New York , pp 279–287Google Scholar
- 15.Rausch A, Reussner R, Mirandola R, Plasil F (eds) (2008) The common component modeling example: comparing software component models [result from the Dagstuhl research seminar for CoCoME, August 1–3, 2007]. Lecture Notes in Computer Science, vol 5153. Springer, BerlinGoogle Scholar
- 16.Schütz D, Wannagat A, Legat C, Vogel-Heuser B (2013) Development of PLC-based software for increasing the dependability of production automation systems. IEEE Trans Ind Inform 9(4):2397–2406. doi: 10.1109/TII.2012.2229285
- 17.Witsch D, Vogel-Heuser B (2011) PLC-Statecharts: an approach to integrate UML-Statecharts in open-loop control engineering—aspects on behavioral semantics and model-checking. In: Proceedings of the 18th IFAC World CongressGoogle Scholar
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0), which permits use, duplication, adaptation, distribution, and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.