Model-Driven Engineering in Support of Development, Test and Maintenance of Communication Middleware a Preliminary Industrial Case-Study

Model-Driven Engineering in Support of Development, Test and Maintenance of Communication Middleware a Preliminary Industrial Case-Study

Model-driven Engineering in Support of Development, Test and Maintenance of Communication Middleware A Preliminary Industrial Case-Study Deniz Akdur1,2 and Vahid Garousi3 1ASELSAN Inc., Ankara, Turkey 2Department of Information Systems, METU, Ankara, Turkey 3System and Software Quality Engineering Research Group (SySoQual), Department of Software Engineering, Atilim University, Ankara, Turkey 1 INTRODUCTION observed in several industrial contexts that when hardware, software modules and related Embedded real-time software and systems (ERTS2) communication interfaces evolve in those systems, are widespread and can be found in many devices in synchronization of source code with other artifacts our everyday life (Ebert, 2009), e.g., in cars (e.g., documentation) becomes a major challenge. (Schäuffele and Zurawka, 2005), TVs (Paulin et al., In a specific industrial context, ASELSAN Inc., 1997), aviation (Rushby, 2011), etc. Development one of Turkey's leading defense companies and testing of embedded software is usually more (ASELSAN, 2014), all the above challenges were challenging (Graaf et al., 2003; Broy, 2006) regularly faced and thus, to address them, we design, compared to regular software systems. Many ERTS2 implement and evaluate a toolset in the context of are also distributed systems in which collections of Radar & Electronic Warfare Systems (REWS) independent computers interoperate. It is crucial to division. In this paper, we report our progress in this systematically design, develop and test such ongoing R&D project. The solution approach is distributed real-time and embedded (DRE) systems. based on the Model-Driven Engineering (MDE) The scale and complexity of DRE systems which is in support of development, test and makes it infeasible to deploy them in disconnected, maintenance of communication middleware. The standalone configurations (Gokhale et al., 2008). toolset has been developed using the Eclipse Therefore, communication is the heart of all Modeling Framework (EMF) and is titled: Model- distributed systems. The latest modern DRE systems ComM, standing for Model-driven Communication have numerous components in which interfaces and Middleware, which automatically generates code, middleware communication layer play crucial roles. document and test driver for communication A communication middleware provides an interfaces of each component depending on the type environment that enables two applications to set up a of protocol and the architecture of the system. This conversation and exchange data (Krafzig et al., tool is currently in use by many teams in the 2004). Defects in those components could lead to company, as we report in this paper. minor issues or even life-threatening system failures. The approach and the case study reported in this For example, message-communication-related faults paper is only one component of the PhD dissertation such as wrong message sizes exchanged between the of the first author. The thesis' overall plan is to focus interfaces might be left uncovered during testing on a comprehensive investigation of industrial and activities. Delays in integration can create huge costs empirical evidence of using MDE, which has a and extra effort might be needed to verify all internal multidisciplinary research methodology. Firstly, the business logic and interfaces. Furthermore, late thesis plans to investigate recent modeling usage and defect correction in live systems after deployment its adoption with describing and understanding the for these types of software systems costs much more industrial experience, which is based on survey and compared to regular software systems due to the exploratory & improving case study strategies with close hardware interactions. Thus, it is very crucial interviews. Secondly, to show the positive impact of to verify communication interfaces between MDE by addressing the lack of empirical results in different hardware and software modules earlier to the industry (Frankel, 2002; Hutchinson et al., ensure proper interoperability. Moreover, it has been 2014), this study uses an industrial evidence to ensure the cost effectiveness and benefit of MDE by 11 Akdur D. and Garousi V.. Model-driven Engineering in Support of Development, Test and Maintenance of Communication Middleware - A Preliminary Industrial Case-Study. Copyright c 2015 SCITEPRESS (Science and Technology Publications, Lda.) MODELSWARD2015-DoctoralConsortium realizing technology transfer (Gorschek et al., 2006) (CDU), Transceiver Compatibility Unit (TCU) or via Model-ComM, which is based on Action Remote Display Unit (RDU). In this scenario, the Research (AR) (Santos and Travassos, 2009). radar controller software usually has a large number The remainder of this paper is organized as of both internal and external interfaces with different follows. Section 2 discusses the motivations and units via different communication protocols such as problem statement. Section 3 presents the related RS232, RS422, vxWork Message Queue (Vx work and need for the proposed approach. In Section MsgQ), TCP, UDP, Peripheral Component 4, the solution is presented. Section 5 examines the Interconnect Express (PCIe) to enable the system to preliminary evaluation of the approach, in which the have close communication with other embedded applicability and usefulness of the approach by systems as shown in Figure 1. applying it to prototype radar control software are To highlight the need for our approach to help shown. Finally, Section 6 presents conclusions and development of these systems, a possible message- our ongoing/ future directions. communication-related fault which could lead to system failures is discussed next. A possible scenario might occur in PCIe-based communication 2 MOTIVATIONS AND PROBLEM protocol with FPGA, which provide support for high sampling rate and low power consumption required STATEMENT by sophisticated radars (Skolnik, 2001). However this kind of protocol should be carefully used since it 2.1 Context and Problem Domain is directly related with memory in embedded systems (Bittner, 2012). If during message parsing, The industrial context in which our project is carried any parameter is wrongly read, it can easily lead to out focuses on developing radar software. The abnormalities and even a system crash, (Barry and REWS division has approximately about 40 active Crowley, 2012), which might cause even a life- projects as of 2014 and the expectation is to double threatening situation when the radar is operating. this number within five years. In addition to this, developing hybrid systems, which are "systems of systems", will become another major challenge by combining various radars and electronic warfare systems in a single product. All of these will result in a major increase in complexity of software for new products and will highlight for importance of more systematic software engineering practices. As a DRE system, a radar system is an object detection system which uses electromagnetic waves to determine the range, altitude, direction or speed of objects such as aircrafts, ships and guided missiles (Stimson, 1998) by requiring several basic components, which are yet other embedded systems Figure 1: Architecture of the DRE system under study. (Skolnik, 2001). A radar controller software receives inputs from a variety of sensors, such as The above example clearly show that temperature, rotation and radiation; and sends them verification and validation of the message interface to various display units. is important as well as fast implementation of these In a typical ASELSAN radar system, the communication modules for the sake of proper electromagnetic sub-system operate by radiating interoperability. Therefore, it is obviously essential energy into space and detecting the echoed signal to guarantee that these interfaces should be reflected from an object with the help of hardware compatible with each other and it is better to get all units such as the Receiver Transmitter Unit (RTU), these data from one central source. Moreover, it has Digital Signal Processing (DSP)-based Field been observed that keeping source code and Programmable Gate Array (FPGA) and antenna. documentation synchronized becomes a major During this process, DSP algorithms are applied to challenge. In other words, according to several determine objects’ attributes and then the controller sources, e.g., (Lindvall, 2003), software maintenance software sends the location of a potential target to for DRE systems is challenging in general. the various displays like Control Display Unit In summary, the real-world problem domain that our ongoing project and this paper intend to address 12 Model-drivenEngineeringinSupportofDevelopment,TestandMaintenanceofCommunicationMiddleware-A PreliminaryIndustrialCase-Study is: the need for more systematic approaches in update was not synchronously done with the development, test and maintenance of implementation, they were often different. communication middleware, as a subarea of DRE - Challenge area 3. Insufficient unit testing of system, in the projects under study. communication interfaces before integration: Because of the lack of simulator and test drivers, 2.2 Challenges and Needs interfaces were insufficiently tested before system integration. There has been a need for a simulator, in We discuss in this section the industry challenges which protocols and messages can be tested under and needs, in further detail, that have triggered the various scenarios. Frequent stand-alone testing

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us