Design of a Communication Middleware for Distributed Real-Time Safety Systems in Java']Java

被引:0
|
作者
Tejera, Daniel [1 ]
Alonso, Alejandro [1 ]
de Miguel, Miguel A. [1 ]
机构
[1] Univ Politecn Madrid, Dept Ingn Sistemas Telemat, E-28040 Madrid, Spain
来源
REVISTA IBEROAMERICANA DE AUTOMATICA E INFORMATICA INDUSTRIAL | 2013年 / 10卷 / 02期
关键词
Safety Systems; Real-Time Systems; Distributed Systems; !text type='Java']Java[!/text;
D O I
10.1016/j.riai.2013.03.016
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Distributed real-time embedded systems are becoming increasingly important to society. More demands will be made on them and greater reliance will be placed on the delivery of their services. A relevant subset of them is high-integrity or hard real-time systems, where failure can cause loss of life, environmental harm, or significant financial loss. Additionally, the evolution of communication networks and paradigms as well as the necessity of demanding processing power and fault tolerance, motivated the interconnection between electronic devices; many of the communications have the possibility of transferring data at a high speed. The concept of distributed systems emerged as systems where different parts are executed on several nodes that interact with each other via a communication network. Java's popularity, facilities and platform independence have made it an interesting language for the real-time and embedded community. This was the motivation for the development of RTSJ (Real-Time Specification for Java), which is a language extension intended to allow the development of real-time systems. The use of Java in the development of high-integrity systems requires strict development and testing techniques. However, neither RTSJ nor its profiles provide facilities to develop distributed real-time applications. This is an important issue, as most of the current and future systems will be distributed. The Distributed RTSJ (DRTSJ) Expert Group was created under the Java community process (JSR-50) in order to define appropriate abstractions to overcome this problem. Currently there is no formal specification. The aim of this work is to describe the design and develop a communication middleware that is suitable for the development of distributed hard real-time systems in Java, based on the integration between the RMI (Remote Method Invocation) model and the HRTJ profile. It has been designed and implemented keeping in mind the main requirements such as the predictability and reliability in the timing behavior and the resource usage. The design starts with the definition of a computational model which identifies among other things: the communication model, most appropriate underlying network protocols, the analysis model, and a subset of Java for hard real-time systems. In the design, the remote references are the basic means for building distributed applications which are associated with all nonfunctional parameters and resources needed to implement synchronous or asynchronous remote invocations with real-time attributes. The proposed middleware separates the resource allocation from the execution itself by defining two phases and a specific threading mechanism that guarantees a suitable timing behavior. It also includes mechanisms to monitor the functional and the timing behavior. It provides independence from network protocol defining a network interface and modules. The JRMP protocol was modified to include two phases, non-functional parameters, and message size optimizations. Although serialization is one of the fundamental operations to ensure proper data transmission, current implementations are not suitable for hard real-time systems and there are no alternatives. This work proposes a predictable serialization that introduces a new compiler to generate optimized code according to the computational model. The proposed solution has the advantage of allowing us to schedule the communications and to adjust the memory usage at compilation time. In order to validate the design and the implementation a demanding validation process was carried out with emphasis in the functional behavior, the memory usage, the processor usage (the end-to-end response time and the response time in each functional block) and the network usage (real consumption according to the calculated consumption).
引用
收藏
页码:228 / 239
页数:12
相关论文
共 50 条
  • [1] The design and performance of real-time Java']Java middleware
    Corsaro, A
    Schmidt, DC
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2003, 14 (11) : 1155 - 1167
  • [2] RTZen: Highly predictable, real-time Java']Java middleware for distributed and embedded systems
    Raman, K
    Zhang, Y
    Panahi, M
    Colmenares, JA
    Klefstad, R
    Harmon, T
    MIDDLEWARE 2005, PROCEEDINGS, 2005, 3790 : 225 - 248
  • [3] Memory utilization analysis of Java']Java middleware for distributed real-time and embedded systems
    Qu, Runtao
    Hirano, Satoshi
    Ohkawa, Takeshi
    PROCEEDINGS OF THE 18TH IASTED INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING AND SYSTEMS, 2006, : 134 - +
  • [4] Java']Java real-time publish-subscribe middleware for distributed embedded systems
    Kim, DY
    Doh, YM
    Lee, YH
    ARCHITECTURE AND DESIGN OF DISTRIBUTED EMBEDDED SYSTEMS, 2001, 61 : 193 - 203
  • [5] Compadres: A lightweight component middleware framework for composing distributed real-time embedded systems with real-time Java']Java
    Hu, Jie
    Gorappa, Shruti
    Colmenares, Juan A.
    Klefstad, Raymond
    MIDDLEWARE 2007, PROCEEDINGS, 2007, 4834 : 41 - +
  • [6] Java real-time publish-subscribe middleware for distributed embedded systems
    University of Florida, Gainesville, FL, United States
    不详
    IFIP Advances in Information and Communication Technology, (193-203):
  • [7] Java']Java framework for distributed real-time embedded systems
    Silva, Elias Teodoro, Jr.
    Freitas, Edison Pignaton
    Wagner, Flavio Rech
    Carvalho, Fabiano Costa
    Pereira, Carlos Eduardo
    NINTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT AND COMPONENT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2006, : 85 - 92
  • [8] Design and Realization of the Real-time Communication System Based on Java']Java
    Lu Xiaohong
    Wu Wenyi
    Han Pengzhuo
    Jia Zhenyuan
    2012 7TH INTERNATIONAL CONFERENCE ON SYSTEM OF SYSTEMS ENGINEERING (SOSE), 2012, : 130 - 132
  • [9] The analysis and evaluation of design patterns for distributed real-time Java']Java software
    Corsaro, Angelo
    Santoro, Corrado
    ETFA 2005: 10th IEEE International Conference on Emerging Technologies and Factory Automation, Vol 1, Pts 1 and 2, Proceedings, 2005, : 849 - 856
  • [10] A Distributed Real-Time Java']Java-Centric Architecture for Industrial Systems
    Basanta-Val, Pablo
    Garcia-Valls, Marisol
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2014, 10 (01) : 27 - 34