Embedded System Design Based On Webservices
Embedded System Design Based On Webservices
Achim Rettberg
University Paderborn / C-LAB, 33095 Paderborn, Germany
Tel: +49 5251 606110, Fax: +49 5251 606065
Email: [email protected]
and
Wolfgang Thronicke
Siemens SBS / C-LAB, 33095 Paderborn, Germany
Tel: +49 5251 606174, Fax: +49 5251 606065
Email: [email protected]
Proceedings of the 2002 Design, Automation and Test in Europe Conference and Exhibition (DATE’02)
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on August 14,2023 at 10:16:55 UTC from IEEE Xplore. Restrictions apply.
1530-1591/02 $17.00 © 2002 IEEE
integrate such a service into their work environment. address of the service and can locally integrate the web-
Usually integration focuses on the principle of coupling service interface. Using this two-step approach of
existing applications or components tightly together to dynamically integration has different advantages:
ensure smooth and reliable operation. The resulting (and
available) integration environments therefore use • The provider can move the implementation of the
proprietary integration mechanisms on top of existing webservice to another server, which will be
base-technologies like CORBA [18], JAVA [19], and reflected in the directory. So the client process
JAVABEANS [20] or similar middleware components. In automatically adjusts to the new location
fact, CORBA-Services for instance constitute (address).
conceptually the same idea as webservices with WSDL: • For reliable services the provider can supply
To enable their use through a common interface by different instances of the webservice at different
different applications. The important difference of this sites, so that the others will compensate the failure
approach is that webservices are build on top of a of one server.
foundation that is centered on the Internet platform. • Different providers may offer the same service at
Which means the common denominator for running such different costs. So the client can select the most
services is standard webserver technology, TCP/IP cost-effective one dynamically.
networks and the HTTP protocol accompanied by the
flexible XML metaformat. Thus integration technology There are certain advantages that apply during the
will change and hopefully become as transparent as design phase of an application: The designer of a new
accessing other content in the Internet [17]. The usage of client process can search for needed services conveniently
this technology for embedded system design is of high in the directory and create highly distributed scenarios
interest, because it offers on one side more freedom for without actually configuring network structures or
the user of such systems and on the other side for the tool determining concrete hosts. Since WSDL is standardized,
vendor new business concepts or licensing models. effective user-friendly integration assistants will simplify
This paper is organized as follows. First we describe the whole integration process on the implementation side
the web-based integration scenario. Than, we present a so that more weight can be laid on conceptual issues. The
collaborative design environment for embedded system XML-based webservice technology is well supported
design, called PARADISE [2]. After that, we describe the from major IT-providers with sets of tools, so it can be
combination of the web-based integration scenario with assumed that this standard will have a lasting life cycle in
the existing PARADISE environment. We conclude with the fast changing world of applications, and technology
a discussion of the presented approach. trends.
Proceedings of the 2002 Design, Automation and Test in Europe Conference and Exhibition (DATE’02)
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on August 14,2023 at 10:16:55 UTC from IEEE Xplore. Restrictions apply.
1530-1591/02 $17.00 © 2002 IEEE
or remote locations can incorporate existing design data in
However, the ordinary integration technologies still the design flow. Therefore, system designs can then be
have their merits. Because webservices represent a weak carried out with the aid of the bottom-up or top-down
coupling and require more dynamic processing for the method. Besides the integration of tools in a workflow,
protocols a certain overhead is generated which slows ASTAI(R) supports the distribution and generation of a
down the interaction. Especially “popular” webservices design data. Also the update of design data is well
may have long latencies that reflect the same behavior as supported. Tools within a workflow for which input data
visiting a heavy-loaded webservers. In the intranet the does not exists or is invalid yet are automatically blocked
common integration techniques are to be preferred until the data is available and valid. Newly generated data
because the location of tools and applications is known is initially classified as local data until developers release
and under direct administration. Additionally this it explicitly. Releasing the data causes all levels within the
technique of integration allows an efficient adaption to hierarchical design flow to be notified without delay.
the clients requirements, whereas changing a webservice Developers on these other levels can then accept or reject
depends on the cooperation of the service provider. this data. This protocol is managed by ASTAI(R) by using
Usually there are different clients with contradicting the Internet. Therefore, the location at which a design
requirements which are not easy to meet by the provider. data, tool or design flow is stored or installed is irrelevant.
A complete overview of the installed tools within
3 The PARADISE Approach PARADISE can be found in [2], [5] and [6].
To show the practicability of the PARADISE design
The PARADISE design environment is implemented environment two design scenarios are shortly described.
with the ASTAI(R) tool [11] that has been developed at The first example is the design of a traffic light controller
C-LAB [2], [3], [4]. This design environment focuses on and the second one is the extension of mobile robot.
the design of embedded hardware/software systems. The The traffic light controller is specified on a very high
design complexity of embedded systems combined with a level of abstraction using Predicate/Transition-Nets (Pr/T-
very tight time-to-market window has revolutionized Nets). This formalism is supported within the PARADISE
today’s embedded system design process. Several design environment by the ‘System Engineering and
interacting design dimensions to implement parallelism, Animation’ tool SEA. The tool provides a homogeneous
distribution over different locations, hard real-time model based on Pr/T-Nets. To analyze the worst-case
requirements [1] and the collaboration have to be execution time (WCET) of a single task, we use the C-
addressed by a design environment. Furthermore the LAB Hard Real-Time System (CHaRy) [1]. This is a
usage of IP components is important for embedded system software synthesis system for distributed (parallel)
designs [10]. periodic hard real-time applications. The application is
Consequently, the modern, structured design process described on a high level (e.g. using SEA), whereas the
has to deal with heterogeneous requirements and implementation is left to CHaRy. CHaRy analyzed the
restrictions. Therefore, the collaborative work is very WCET for each task of the task-graph. The annotated
important for efficient embedded system design. That task-graph is read into the tool SSEA which was
mean, hardware and software designers and system developed jointly at the ETH Zurich and the University of
architects must synchronize their work progress to Paderborn for the purpose of solving the generalized
optimize and debug a system in joint effort. The hardware/software-partitioning problem including the
PARADISE environment distinguishes between these design space exploration of multi-objective cost functions,
different design domains (see Figure 2). Each design hence for the system-level synthesis of embedded
domain reflects a core competency in the design of an systems. For a detailed description of the traffic light
embedded system. Each design domain is structured by controller design see [3]. This design scenario shows the
levels and views. For example the HW-Synthesis design modeling of an embedded system on a high-abstraction
domain corresponds to the structuring of Gajski Y-Chart level by using PrT/Nets and how to analyze the model
[7], [8]. PARADISE integrates this databased design with the respect of mapping model tasks to functional
methodology with a variety of tools that are suitable for units of a given target architecture.
certain design steps. For the first time, distribution of The second design scenario is the extension of a small
tools, data and developers over different network domains mobile robot called Pathfinder. This mobile robot is an
is possible. This means that any developer at any location experimental platform and is as simple as possible in
can launch a tool from another location. The ASTAI(R) order to keep the focus on the methodological issues and
software ensures consistency and the protection of private not on the vehicle itself. The Pathfinder until now is fully
data. All design steps can be monitored and controlled by operational, see [21]. The software has been manually
means of a design flow. Developers with access to local coded and implemented on the Pathfinder. The
Proceedings of the 2002 Design, Automation and Test in Europe Conference and Exhibition (DATE’02)
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on August 14,2023 at 10:16:55 UTC from IEEE Xplore. Restrictions apply.
1530-1591/02 $17.00 © 2002 IEEE
architecture is component aware, i.e. is prepared to approaches like webservices. Therefore, the extension of
integrate new modules that add functionality. For PARADISE with webservices is a solution to integrate
demonstration of our IP-based design approach we extend this new trend in the electronic system design area.
our example in order to establish an advanced interaction Clearly, it is not necessary to use webservices for in-house
facility of the vehicle with it’s environment, especially realization of a design environment, because ASTAIR(R)
persons being around there. Thus we would like to offers all necessary services for integration and workflow
communicate with people around the Pathfinder, i.e. the implementation for in-house solutions. Additionally
robot is equipped with a microphone and speakers. Any ASTAI(R) takes full advantage of the Intranet
solution that will fit the needs has to be aware of the infrastructure leading to a very efficient integration of
existing system architecture and it’s real-time tools. Webservices are only necessary for collaborative
characteristics. The time-critical parts of this new work between different departments on different
functionality are speech compression and decompression locations.
tasks. Therefore, the tools of the PARADISE design In our approach we interpreted a tool as a webservice.
environment are used to develop or integrate existing Consequently in the area of embedded system design,
solutions in the Pathfinder architecture. For the extension especially for our PARADISE scenario, each tool from an
of the architecture we use the modeling tool SEA. CHaRy EDA vendor could be registered in the webservice
analyzed the WCET for the different software tasks. directory (see Figure 1). Through this directory any client
Within PARADISE we use a generalized approach to can transparently select and access the tools required for a
HW/SW-partitioning problem which has been certain design-task. Furthermore, the design or workflows
implemented by the previously mentioned tool SSEA. The can also be interpreted as webservices and be registered in
tool TEReCS decides which of the developed or existing the webservice directory. This mechanism has the
solutions really can be combined, i.e. whether their following advantages for the user of such a system:
interfaces are compatible. For a detailed description of the
scenario see [10]. • Webservices are in fact a standardized integration
At this time four partners participate in the approach. They are not limited to one
PARADISE design environment. These are namely the C- environment, but can be integrated into every
LAB, the University of Paderborn with two different software-system that is webservice-aware.
departments and the University of California at Irvine. • Webservices can be built from other webservices.
The main server is located in C-LAB. All other partners This means the integration of tools as webservices
run clients and small servers to distribute the appropriated into complex design flows can be republished as a
tool in the environment over the Internet. new high-level webservice. A client could easily
access a complete design methodology through
SW-Synthesis this approach.
Specification Operating
-System • The directory can act like a marketplace enabling
a client to choose from different solutions the one
most suitable for his design problems.
Modelling HW-
Synthesis Consequently, the combination of PARADISE by the
webservice scenario, described in section 2 offers a really
new design method for embedded systems.
Currently ASTAI(R) is expanded by a webservice
integration module. This module will provide the
Verification Rapid following functionality:
Prototyping
Analysis
• Any “regular” tool can be encapsulated by the
Figure 2. PARADISE design domains server-side module and thus becomes accessible
as a webservice. Therefore a standard set of tool-
control functions is provided by the tool-
4 System Design with Webservices webservice module. Using this part conceptually
any web service-aware program or tool could use
Surely, the presented realization of the PARADISE the integrated tool. On the tool site, there is not
design environment is a good structuring of today’s necessary to install any ASTAI(R) specific
embedded system design but it lacks by using new software components.
Proceedings of the 2002 Design, Automation and Test in Europe Conference and Exhibition (DATE’02)
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on August 14,2023 at 10:16:55 UTC from IEEE Xplore. Restrictions apply.
1530-1591/02 $17.00 © 2002 IEEE
• The integration module on the ASTAI(R) side is Systems", Ninth Annual International HDL Conference and
embedded into ASTAI(R)´s tool encapsulation Exhibition, San Jose (USA), March 2000
specification and therefore virtually [4] A. Rettberg, F. Rammig, A. Gerstlauer, D.D. Gajski, W.
Hardt, B. Kleinjohann. "The Specification Language SpecC
undistinguishable from other tools from the
within the PARADISE Design Environment", in
ASTAI(R) point of view. Proceedings of the Distributed and Parallel Embedded
• The actual configuration for a tool is stored in a Systems Workshop (DIPES 2000), Paderborn, October
tool description file using XML. This definition 2000
serves two purposes: First is is used by the tool- [5] A. Rettberg, W. Thronicke. “ "Collaborative Design for
webservice module to configure the actual calling Embedded Hardware/Software Components with the
parameters of the webservice. Additionally a Distributed PARADISE Environment", Proceedings of the
query of theses tool properties is possible through 5th World Multi-Conference on Systemics, Cybernetics
the webservice. Second the tool description is and Informatics (SCI 2001), Orlando, FL (USA), July 2001
[6] A. Rettberg, W. Thronicke, "The Distributed PARADISE
used to create an appropriate webservice stub for Environment for Collaborative Design of Embedded
ASTAI(R) in order to make the tools properties Hardware Components", Proceedings of the 8th European
visible in workflows, especially in the workflow Concurrent Engineering Conference (ECEC 2001),
editor. Valencia (Spain), April 2001
[7] Franz J. Rammig. “Systematischer Entwurf digitaler
On the client side within the PARADISE environment Systeme”. B. G. Teubner, Stuttgart, 1989
it is not necessary to deploy ASTAI(R) itself. Only the [8] D.D. Gajski, “Silicon Compilation”, Addison Wesley
integration module for ASTAI(R) have to be installed Publishing Company, 1988
which can be interpreted as a webservice adapter. [9] R. Ernst, “Codesign of Embedded Systems: Status and
Trends”, Journal of IEEE Design & Test of Computers, pp.
45-54, April-June 1998
5 Conclusion and Outlook [10] W. Hardt, F. J. Rammig, C. Böke, C. Ditze, J. Stroop, B.
Kleinjohann, A. Rettberg, and J. Teich, “IP-based System
The notion of “webservices” has introduced a very Design with the PARADISE Design Environment”,
promising new integration approach, fully based on open accepted for Journal of Systems Architecture, The
Internet standards. In combination with already proven Euromicro Journal
environments, this technology can leverage the power of [11] http://www.c-lab.de/astair
[12] Ivar Jacobson, Grady Booch, James Rumbaugh. The
distributed scenarios in combination with a standardized Unified Software Development Process. Addison Wesley.
integration approach. More important “providing a 1998. ISBN 0-201-57169-2
service” may offer a greater market-potential than [13] Sinan Si Alhir. UML in a Nutshell. O’Reilly. 1998.
“supplying a tool” in highly cooperative design ISBN 1-56592-448-7
environments. [14] Technical Report: SOAP Version 1.2 Working Draft.
This paper introduces webservices as a means to http://www.w3.org/TR/soap12
integrate remote tools in a workflow-driven design [15] Technical Report: Web Services Description Language
process for embedded systems. Thus alleviating certain (WSDL) 1.1. http://www.w3.org/TR/wsdl
aspects of tool access and extending the area of [16] Universal Description, Discovery and Integration.
integration beyond a single environment. http://www.uddi.org
[17] Heinz-Josef Eikerling, Wolfgang Thronicke, Siegfried
However, the implementation and toolkit support of
Bublitz. Provision and Integration of EDA Web-Services
webservices is yet (Oct 2001) still under development and using WSDL-based Markup. FDL 2001. Lyon.
is estimated to become commercially usable in 2002. Our [18] Robert Orfali, Dan Harkey, Jeri Edwards, Robert Crfali.
solutions will provide us with a head start using this Instant CORBA. John Wiley & Sons. 1997. ISBN
technology in the design domain. 0471183334.
[19] Java 2 Platform Enterprise Edition. http://java.sun.com/j2ee
References [20] Mark Wutka. Special Edition Using Java 2: Enterprise
Edition (J2EE). Que. May 2001. ISBN 0789725037.
[21] http://www.c-lab.de/~pathfinder
[1] Peter Altenbernd: “Timing Analysis, Scheduling, and
Allocation of Periodic Hard Real-Time Tasks” Dissertation,
Paderborn, 1996
[2] W. Hardt, A. Rettberg, B. Kleinjohann. “The PARADISE
design environment”, 1st Embedded System Conference, This work has been partially funded unter grant number
Auckland (New Zealand), 1999 01 M 3048 E (German BMBF project “IP-Qualifikation
[3] A. Rettberg, W. Hardt, J. Teich, M. Bednara. "Automated für effizientes Systemdesign (IPQ)”).
Design Space Exploration on System Level for Embedded
Proceedings of the 2002 Design, Automation and Test in Europe Conference and Exhibition (DATE’02)
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on August 14,2023 at 10:16:55 UTC from IEEE Xplore. Restrictions apply.
1530-1591/02 $17.00 © 2002 IEEE