You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Flexible and efficient reuse of multi-mode components for building multi-mode systems

Research group:

Publication Type:

Conference/Workshop Paper


The 14th International Conference on Software Reuse


Component-Based Software Engineering (CBSE) is by the reuse of software components an effective approach to managing the growing software complexity of embedded systems. Another technique for reducing software complexity is to partition the system behavior into different operational modes, with each mode being associated with a unique behavior. Such a multi-mode system can change behavior by switching between modes under certain circumstances. Integrating CBSE and the multi-mode approach, we have developed the Mode Switch Logic (MSL), a framework dedicated to the development of multi-mode systems composed by reusable multi-mode components, i.e. components which can run in different modes. The mode switch handling of MSL is based on a fully distributed architecture in the sense that a system mode switch is achieved by the joint mode switches of different independently developed components. Algorithms that by inter-component communication guarantee the correctness of the mode switch have been developed. In this paper, we propose a mode transformation technique as a supplement to MSL for converting the distributed mode switch handling of MSL to a centralized mode switch handling. The goal is to enhance the run-time mode switch efficiency when components are deployed on a single hardware platform and global mode information is available. We demonstrate this technique by an example and reveal its potential industrial value.


author = {Hang Yin and Hans Hansson},
title = {Flexible and efficient reuse of multi-mode components for building multi-mode systems},
volume = {LNCS 8919},
pages = {237--252},
month = {January},
year = {2015},
booktitle = {The 14th International Conference on Software Reuse},
url = {}