Table of Contents Previous Chapter 2 Introduction to SDT

2 Introduction to SDT

This chapter contains a brief introduction to the SDT tool and its functionality. After reading this chapter, you may want to familiarize yourself with SDT: starting the SDT tools, proceeding with a small example, and reading about what is new in SDT in comparison to earlier versions.

Telelogic and SDT

Telelogic

SDT is developed and marketed by Telelogic. Our company has been a firm supporter of SDL for a long time, and cooperates with ITU in the ongoing work of improving the language and with ETSI in defining international standards in the field of communication protocols.

We initiate and participate in international research programs on how to use the language in different application areas (such as the European Community programs RACE, ESPRIT and EUREKA, as well as the Swedish national IT program).

Our experience and know-how in these areas is put to practice when we develop software engineering tools that support the languages.

SDT

A tool for a specification language must be able to create, maintain, and verify a specification with respect to the language syntax and semantics. It is also fundamental that the tool can simulate, validate and generate application code to other high level languages.

The tool should be able to export and import information from other SDL tools. Major documentation standards or de-facto standards should be supported.

The tool should provide an intuitive, consistent, object-oriented graphical user interface which reduces learning time and makes it easy to work with the tool. Besides the graphical user interface, a batch facility should allow to process a large amount of information without user interaction.

A powerful, context-sensitive Help facility should be provided, freeing the user from time-consuming browsing through user documentation in search for the topic of interest.

SDT can do all of this, and much more.

Figure\x11 6 : Overview of SDT.Figure legend: Click on a symbol for more 
		information.
-----
(fig)  
       
       
-----

Overview of SDT

Architecture

SDT consists of a number of separate tools that process the information. The tools are integrated using a selective broadcast integration mechanism, making it possible to design a highly integrated system from separate tools. This approach also makes it possible to add new tools without creating any conflicts with the existing tools. In addition, the integration between two separate tools can be easily enhanced, and tools can communicate with each other over a network.

The interface that ties the tools in SDT is called The SDT PostMaster. The parts of the Postmaster interface that are of interest for the users of SDT are documented so that you can integrate your own tools with SDT.

Batch Facilities

The SDT Batch Facilities are commands that you type from the OS prompt. These facilities take advantage of the Postmaster and pass messages to the SDT Tools, ordering the individual tools to process information as required. The batch facilities support the following operations:

Licensing Mechanism

The Software License Server controls the licensing of the tools included in SDT. This is performed through a floating license mechanism based on a third party software, FlexLM\xaa (1). The current license numbers along with a key are stored on a text file, which is distributed at installation of the software. This provides a flexible way of upgrading licences and adding new license agreements, as well as allowing you to keep track of the actual usage of the tools you have purchased.

FlexLM supports multiple tools (even from different tool manufacturers) share the same license server, so SDT should not cause any problems when installing it into your computer environment.

The SDT Base Tools

The following build up the SDT Base tools:

Additional Tools Options

The additional tools available in SDT consist of the following:

Information Management

In order to properly use SDT, you need to understand the basics for how the information is organized.

SDL Diagrams

SDT primarily handles SDL information in the graphical representation, SDL-GR. The major advantage that follows this approach is that you are free to apply any graphical styleguide to your diagrams since SDT lets you position symbols and shape lines the way you like.

Each SDL diagram consists of a number of diagram pages. An SDL diagram page may contain references to other SDL diagrams. This allows you to build a hierarchical structure which adheres to the SDL syntax rules. See Figure 7.

Figure\x11 7 : Organization of SDL information. 
-----
(fig)  
       
-----
Each diagram (SDL and MSC) is stored on its own individual file. An SDL structure is built up from a number of these SDL files. These files are logically tied together by SDT, using a System File, in order to constitute a coherent SDL structure. This process is managed by the tool.

You may also include SDL-PR files into an SDL-GR structure.

Of course, transformation of SDL-GR to SDL-PR and vice versa is supported.

MSC Diagrams

Message Sequence Charts are mainly handled in the graphical representation, MSC-GR.

In contrast to SDL diagrams, MSCs are not paginated.

MSC diagrams may be managed as entities of their own. SDT also supports including MSCs in an SDL structure using the Associated Documents concept.

SDT allows reading and writing of MSCs expressed in the textual form, MSC-PR. Both the instance-oriented and event-oriented forms are supported, according to the recommendation.

More on SDT and SDL-PR, MSC-PR

SDT has the ability to read and write SDL and MSC textual files, SDL-PR and MSC-PR. The primary purpose is to enable importing and exporting of SDL and MSC information, rather than to provide an alternative storage format, since the layout and exact appearance of a diagram is lost when storing it in PR format and reading it back again.

The tools included in SDT also use the PR formats as temporary storage formats when processing information.

The System File

Once SDT is up and running, you may work on individual diagrams, regarding them as individual objects of their own. However, this requires that you keep track of each individual file.

When the amount of diagram increases, this process tends to become rather complicated, in particular when introducing inheritance and specialization between diagrams.

To cope with this problem and as a means to ensure the consistency of an SDL structure managed by SDT, the system file is introduced.

Diagram Structure

The system file holds the information about the SDL structure and also keeps track of the file bindings, i.e. what file a particular diagram is stored on. When working on your SDL diagrams, SDT keeps track of the changes you apply and updates the system file accordingly.

SDT uses a graphical approach in order to display the contents of the system file in an easy to understand way. An SDL-like notation is adopted as long as feasible.

Figure\x11 8 : The Graphical Presentation of a System File. 
-----
(fig)  
       
-----

Associated Documents

Note that, in addition to using the system diagram as root diagram (as in Figure 8), it is also possible to define any diagram as root diagrams.

You may also add objects to the system file that are not part of your SDL diagram structure, but that may be related in some way or that you would like to keep track of. These objects are added as associated documents.

Figure\x11 9 : Associated Documents. 
-----
(fig)  
       
-----

Options

In addition to the properties mentioned above, the system file may store information about what options you have set up for the structure that is managed by the system file. Typically, analysis and code generation options would be stored in the system file.

Source Management

Since SDT operates on files, you may use any revision handling system for checking out work copies of your SDL diagram files to your work directory (this task needs to be performed outside SDT).

SDT may also be configurated to manage multiple versions of your source SDL-GR and MSC-GR diagrams, by binding a diagram to any suitable file in your file system. This file binding mechanism may either designate a particular file or may use a search list.

A search list is basically an arbitrary number of directories that SDT will scan through on demand in order to search for a file which contents match the diagram type and name. Once a file has been located, the diagram-file binding is established until you order a new binding.

Figure\x11 10 : A Search List, Specifying Four Directories. 
-----
(fig)  
       
-----
SDT provides mechanisms for an easy rebinding of diagrams. These file binding mechanisms allow you to keep track of multiple versions of your source diagrams with a minimum of efforts.

Target Management

Virtually all of the output information that is produced with SDT consists of files, most of them are use a text-based format (for instance SDL-PR files and C files).

You may specify default locations for files that are generated with SDT. Also, you may specify the level of granularity, allowing you to generate multiple files or one file only.

Furthermore, SDT features an SDL-Make mechanism that minimizes the turnaround time, by computing the passes the tool must run in response to a modification of a source diagram.

PCs and Workstations

User Interface

On workstations, the SDT tool set is implemented as X Window applications, using the Motif widget set.

The tools included in the SDT Base Tools are available on PCs as a set of Microsoft Windows applications. In addition, The MSC Editor is also available on PCs.

Since SDT is supported on different systems, there may be slight differences in the appearance of each tool between environments. However, the functionality is identical as long as the underlying system and the OS allow it.

All SDT graphical applications follow the same style guide, The SDT Graphical User Interface.

Supported UNIX Systems

Full compatibility between SDT on PCs and SDT on workstations ensures that a future upgrading of your computers towards workstations is possible, and allows heterogenous network solutions with, for instance, PCs connected to a UNIX\xaa based file server.

On workstation environments, the following architectures and operating systems are supported:

For more information about the supported platforms, see chapter 2, System Prerequisites, in the volume SDT 3.02 Installation Guide.

SDT Compatibility with ITU SDL

The main divergencies between SDT and the ITU recommendations (see references [1] and [2] in chapter 1, Introduction to SDL, MSC, TTCN and ASN.1) are:

SDT Compatibility with ITU MSC

The SDT Message Sequence Chart Editor fully supports basic MSCs as defined in the Z.120 recommendation (see reference [3] in chapter 1, Introduction to SDL, MSC, TTCN and ASN.1).


Footnotes

(1)
FlexLM stands for Flexible License Manager.
(2)
The SDL term type corresponds to the term class, used in many OO notations
(3)
NCSA Mosaic is an Internet information browser and World Wide Web client. NCSA Mosaic was developed at the National Center for Supercomputing Applications at the University of Illinois, Urbana-Champaign.
(4)
TTCN stands for Tree and Tabular Combined Notation. It is an ISO standard that is used to describe a test specification.
(5)
Including Solaris.
 
Table of Contents Next Chapter