ascom Technical White Paper Series Framework for Automatic Fare Collection Systems



Similar documents
4D v11 SQL Release 6 (11.6) ADDENDUM

Lecture 26 Enterprise Internet Computing 1. Enterprise computing 2. Enterprise Internet computing 3. Natures of enterprise computing 4.

IBM Client Security Solutions. Client Security User's Guide

Gautrain s s Approach for an Integrated Ticketing System

MICR Check Printing. Quick Start Guide

HP ProtectTools Embedded Security Guide

Distributed Systems Architectures

Middleware Lou Somers

Microsoft File and Print Service Failover Using Microsoft Cluster Server

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

PART 10 COMPUTER SYSTEMS

Monitoring Nginx Server

KEPServerEX Client Connectivity Guide

An Oracle White Paper May Oracle Tuxedo: An Enterprise Platform for Dynamic Languages

Microsoft Internet Information Server 3.0 Service Failover Using Microsoft Cluster Server

System types. Distributed systems

CHAPTER 1: OPERATING SYSTEM FUNDAMENTALS

Cautions When Using BitLocker Drive Encryption on PRIMERGY

Parallels Plesk Panel

Cisco Active Network Abstraction Gateway High Availability Solution

FioranoMQ 9. High Availability Guide

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

IBM Crypto Server Management General Information Manual

Your Go! to intelligent operational management

Volume I, Section 4 Table of Contents

Vijeo Citect Architecture and Redundancy Study Guide

Manuals for This Product

Microsoft Dynamics NAV Connector. User Guide

PREPARED BY: AUDIT PROGRAM Author: Lance M. Turcato. APPROVED BY: Logical Security Operating Systems - Generic. Audit Date:

Application Note. Running Applications Using Dialogic Global Call Software as Windows Services

Yosemite Server Backup Installation Guide

! encor e networks TM

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

IT Operations Operator and Fault Logs

MailMarshal Exchange in a Windows Server Active/Passive Cluster

PERFORMANCE COMPARISON OF COMMON OBJECT REQUEST BROKER ARCHITECTURE(CORBA) VS JAVA MESSAGING SERVICE(JMS) BY TEAM SCALABLE

NEC Express5800 Series NEC ESMPRO AlertManager User's Guide

GFI White Paper: GFI FaxMaker and HIPAA compliance

Installation Guide for Workstations

System Integration Software

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

CA Spectrum. Microsoft MOM and SCOM Integration Guide. Release 9.4

VERITAS Backup Exec TM 10.0 for Windows Servers

CHAPTER 11 COMPUTER SYSTEMS INFORMATION TECHNOLOGY SERVICES CONTROLS

Function Description Ascom IP-DECT System

Introduction. What is an Operating System?

RSM Web Gateway RSM Web Client INSTALLATION AND ADMINISTRATION GUIDE

CHAPTER 2 MODELLING FOR DISTRIBUTED NETWORK SYSTEMS: THE CLIENT- SERVER MODEL

FD40 User Guide. Version 16.0 June 2015

VThis A PP NOTE INTRODUCTION TO FACTORYARRAY

SATA RAID SIL 3112 CONTROLLER USER S MANUAL

Expedite for Windows Software Development Kit Programming Guide

COMSPHERE 6700 SERIES NETWORK MANAGEMENT SYSTEM

Credit Card Encryption 9.0

Software License Registration Guide

IBM Endpoint Manager for OS Deployment Windows Server OS provisioning using a Server Automation Plan

Legal Notes. Regarding Trademarks. Model supported by the KX printer driver KYOCERA MITA Corporation

A Systems Approach to HVAC Contractor Security

4690 IP Conference Telephone. Release 2.0 User s Guide

integrated lights-out in the ProLiant BL p-class system

Problem 1: Grocery Cooperative Domain Model, OCL invariants and functions (40%)

HP Business Service Management

Service Schedule for MANAGED SERVICES

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Chapter 6. CORBA-based Architecture. 6.1 Introduction to CORBA 6.2 CORBA-IDL 6.3 Designing CORBA Systems 6.4 Implementing CORBA Applications

HP 3PAR Software Installation and Startup Service

Chapter 16: Distributed Operating Systems

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

Cyberoam IPSec VPN Client Configuration Guide Version 4

SupportPac CB12. General Insurance Application (GENAPP) for IBM CICS Transaction Server

Recording Server Monitoring Tool

Oracle Insurance Policy Administration System Quality Assurance Testing Methodology. An Oracle White Paper August 2008

ECM (ELO-KIT-ECMG2-AND)

FriendlyNet PC Card for PowerBook computers

Pro-Watch Software Suite Installation Guide Honeywell Release 4.1

Microsoft Dynamics GP. Intercompany Processing

An Expert Auditing System for Airline Passenger Tickets

Senior/T.A.P. User Guide. Get a new ID card and a new level of service.

TIBCO Rendezvous Network Server Glossary

Moxa Device Manager 2.0 User s Guide

Oracle Enterprise Manager. 1 Introduction to SAP Monitoring with Oracle Enterprise Manager Grid Control. 1.1 Overview

Intelligent Monitoring Configuration Tool

KEPServerEX Client Connectivity Guide

SOS Suite Installation Guide

Python for Series 60 Platform

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

SAP Business Intelligence Suite Patch 10.x Update Guide

Chapter 14: Distributed Operating Systems

PRACTICAL VIDEO SOLUTIONS. ipulse Manager Software. Installation Guide. Software Version 1.0

Oracle Net Services for Oracle10g. An Oracle White Paper May 2005

Draft Information Technology Policy

Exeba -ATS. User Guide. Escan Technologies Corporation

Jetico Central Manager. Administrator Guide

ETM System SIP Trunk Support Technical Discussion

CentreWare Internet Services Setup and User Guide. Version 2.0

Dialogic Global Call API

DIGIPASS Authentication for Windows Logon Product Guide 1.1

Transcription:

ascom Technical White Paper Series Framework for Automatic Fare Collection Systems

Framework for Automatic Fare Collection Systems Ascom White Paper Series Issue No. 112/1999 Copyright 1999 by Ascom Autelca AG All rights reserved. The information contained herein is for the personal use of the reader. Authors ISBN M. Flühmann, K. Daube (external) 3-9631195-xx-z All inquiries and requests for titles of other White Papers in the Fare Collection series should be addresses to the publisher: ASCOM Autelca AG Worbstrasse 201 CH-3073 Gümligen - Bern Phone Fax Email +41 31 999 61 11 +41 31 999 63 48 afc@ascom.ch Limits of Liability and Disclaimer of Warranty The author and publisher of this White Paper have used their best efforts in preparing the material presented and make no warranty with regard to its contents. Price: CHF xxx.xx Edition: March 1999 Printed in Switzerland

Contents Introduction... 5 Functions in a Fare Collection System on the user level... 7 Steps in the process... 7 Select... 8 Pay... 9 Produce... 9 Deliver... 10 Check... 10 Accounting... 10 Service... 11 Common elements on the system level... 12 Presentation... 12 Communication... 12 Data handling... 13 Processes... 13 Ticket Vending Framework... 15 Layers... 15 System architecture... 17 Conventions in the ACFW... 17 System design... 19 Services... 19 Basic abstractions... 20 ACFW components... 21 Generic Control Process... 23 General definitions... 23 Special features... 24 Output command... 24 Layout concept... 26 Aims of the layout concept... 26 Engineering a layout... 27 Output to printer or display... 28 Layout management... 29 Process structure... 30 Device handling... 31 Structure of layout description... 32 3

Structure of media description... 34 Device Communication Framework... 37 VendoBus... 37 ascan ASIC... 38 VendoBus protocol... 38 EasyPlug... 39 Glossary... 41 Standards... 45 4

Introduction Enhancing the efficiency of fare collection is a permanent challenge of public transport authorities and operators. In the good old days the fare collection system gave work to a number of different persons performing individual tasks: the salesman, the cashier, the ticket inspector on the train etc. Gradually these tasks were handled by fewer people and eventually the handling of standard tickets became completely automatic. Automatic Fare Collection Systems (AFCS) started with ticket vending machines with a fixed repertoire of pre-printed tickets. Further steps introduced printing on the fly based on the user selection, enlarging the repertoire ticket types with paper selection etc. Modern ticket vending machines comprise for example flexible product selection, various payment methods or different media. They were, however, individually designed and manufactured for a particular operator. Although the tasks to be performed by the machines are the same in principle, mechanical and electrical components could not be designed flexible enough to serve the demands of various operators with a single design. Further development moved from mechanical and electrical systems to software driven systems, which provide great flexibility in the set-up and a rich set of functions to serve the operator needs. These systems, however, are still very demanding in the engineering phase. The systems for each operator are developed individually and the operator can not modify or expand the systems. The framework described in this White Paper gives both the manufacturer and the operator of the Automatic Fare Collection System full flexibility in design and manufacturing as well as capability for expansion and modification to cope with the necessary changes in services to the user. 5

6

Functions in a Fare Collection System on the user level Steps in the process To understand the solutions provided by the framework for an Automatic Fare Collection System the tasks to be performed must be known. This section provides detailed information about the needed functions in an Automatic Fare Collection System. Both the sales shop system and a modern completely automatic fare collection system must provide the same functions to the user of the transport system and hence comprise the same steps in the complete process (see figure 1): Idle The Fare Collection System waits for a user interaction. Select The user selects a product from the offer of the transport authority. Pay The user pays with money or other means. Produce The permission to consume the product is produced. Deliver The permission is handed out to the user. Check In a closed transport system the use of the permission is checked. Consume The user consumes the permission to be transported. Select Idle Pay Service Accounting + Statistics Produce Figure 1: AFCW Overview Consume Check Deliver 7

Select Each of these steps in the fare collection process is ruled by various means and restricted by more or less dynamic conditions, such as availability of products or method of payment. In the complete system additional roles are defined, such as Accounting The implied financial transaction is handled together with information about the product. Service Maintenance of the hardware- and software in the system, updating of the data needed to perform the tasks. A systems management must also be present which defines the various roles and functions in the system. Before the user can select from the offers, these offers must be defined. Under normal circumstances the offer is constant for a long period of time. Short time restrictions may come from further steps of the process or from general rules. Examples of these dynamic restrictions are: A special kind of ticket can not be produced any more, because the necessary paper is run out. The money collection process is disturbed and allows only to cope with a certain price range. A specific destination can not be reached and there is no provision for advanced booking. It is not advisable to bother the user with a full range of offers, which in further steps of the process can not be held. Of course the user must be informed about the reasons for such restrictions. The selection must be supported by adequate means which depend not only on the number of the offers, but also on the various methods users prefer in making selections. In a particular implementation, however, the selection mechanism is fixed to avoid excessive cost of the system. 8

New product offers Pay Produce While it is naturally to think of the restrictions to be handled by an Automatic Fare Collection System, it is less obvious to think of expansions on the fly. For example a dynamic system could be loaded on the fly with additional offers, such as a special ticket of the day. An Automatic Fare Collection System must be able to accept various methods of payment. Although coin based payment still is desired, other methods must be possible: Bank notes (especially for higher prices) Debit card ( cash card ) Credit card Personal identification with periodic billing (compare with the phone bill). The system must be able to handle restrictions, for example, accept credit cards only for prices above a defined limit. It must be possible to set up these restrictions in a flexible manner, that is, not coded in hardware. It is also necessary to handle dynamic restrictions, such as unavailability of change coins or the (temporary) refusal of a specific coin. This may lead to restrictions to be handled in the selection step. The production process must be able to produce various forms of tickets. These forms may depend on the products. For closed fare systems which check the access to the carrier, the tickets must bare information for the checks. An Automatic Fare Collection System must be open to the forms which are evolving: Common printed ticket, just human readable Ticket with machine readable information only (e.g. with magnetic stripe) Ticket with both human and machine readable information 9

Deliver Check Accounting Change of information on the personal badge of the user In the transport system it is assumed that a user taking a ticket will consume the service entitled by the ticket. Only in a closed system this assumption is proofed. The delivery must work properly both on stationary ticket vending machines as well as machines on board. It is also clear that the actual delivery must not take place before the other steps of the sales process are completed. For example, the ticket must not be issued, before the credit card had been verified. In closed transport systems with controlled access to the carriers the consummation of the product is checked. The ticket is validated at the entry to the transport system and checked at the exit. In case of misuse of the transport permission an alarm is created to request human intervention. For train systems very often half-open systems are used: the permission is validated at entry to the transport system, but checks are applied only randomly and there is no exit-check with the destruction of the permit. An Automatic Fare Collection System must enable various forms of checks. The following functions are desirable: Evaluate the various forms of permission (ticket with magnetic stripe, personal badge with chip etc.) Networking with other ticket vending machines and the central management system Interconnection with control gates and ticket vending machines to control the traffic flow. Accounting becomes more and more important, especially for new forms of the ticket. The Automatic Fare Collection System must deliver a set of accounting records for various purposes. This set must be 10

Service extensible based on all available data. With the accounting data the transport authority will, for example, be able to get information about the popularity of products; get information about usage of the transport system (closed systems only); get detailed information for revenue allocation (for example, in a transport association). For easy collection of this data the Automatic Fare Collection System must be able to communicate with a central station of the management system. A key feature for modern fare collection systems must be easy, centralised servicing and upgrading. Centralized collection of working logs allows planned services rather than on-the-shot repairs. It must also be possible to exchange mechanical and electrical modules on-site. Upgrade in the field would be of great benefit to the operator. 11

Common elements on the system level Presentation Communication When analysing the functions needed on the user level a set of common functions and principles can be found on the system level: presentation, data handling and communication. All steps in the process require or may require user-interaction. Hence these processes use common functions to present information to the user. It is also necessary that data delivered to the communication sub systems be formatted in a useful way. These presentation services must be very flexible, to avoid dependencies from hardware, which has a much smaller lifetime than the AFCS; handle a varying amount of data. Future offers may need more data to be displayed; display data in the richest possible form (e.g. icon, full character set, ideogram). The presentation services must operate on an abstract, device independent level. Layout definitions must use logical entities, not physical entities. The system must be open to operator modifications, because very often the time scale for such modifications does not allow handling by the manufacturer. Various levels of communication must exist: between ticket vending machines and the central management system between the modules of the ticket vending machine The communication system must assume n to n relationship for senders and receivers and allow for additional senders and receivers without modifying the general topography of the system. The system must also be able to handle both regular (time based) messages and sporadic (event based) messages. 12

Data handling Processes All data must be identified by content-type (e.g. time, date, destination, type of service) to be independent of presentation.they must be stored in the richest possible way (e.g. full character set with accents) without any regard how they will be presented. Most of the data will be tabular. Hence the adequate storage mechanism will be a data base. This will allow to define data manipulations on a high level. Processes are the programs which actually do the work and control the hardware components. Pinning down the details in the various processes shows that they are very similar and can be represented by a generic process, which is individualized by input parameters. A generic control process greatly improves the quality of the software, as the number of different software modules is significantly decreased. 13

14

Ticket Vending Framework Layers Users of the ascom Component Framework (ACFW) are developers who implement application components. Therefore the ACFW contains no support of general purpose functions usually found in class libraries (for example, container classes or string handling functions). The framework follows well established design principles. It comprises a minimal set of abstractions and mechanisms to ensure a smooth learning curve for the developer. In addition, it does not provide flexibility on stock. New abstractions and mechanisms are introduced only at the time they are really required. The ACFW builds the foundation for a component based architecture. Applications built on top of the ACFW follow the component paradigm: an application is divided into a set of components. Each component is implemented as an independent executable program. Components offer a powerful approach for reusing both architecture and code. An application built with the ACFW comprises several layers, which are illustrated in figure 2. Application 1 Application 2 Application 3 ASCOM Component FrameWork SW bus layer (Orbix) Operating system layer Figure 2: ACFW Layers Hardware layer Hardware layer Each layer is divided into several parts with clearly defined tasks: The structure of the hardware layer depends on the specific project. 15

Operating system layer Software bus layer ACFW layer The operating system layer provides the basic software infrastructure for the application. The standard OS is Windows NT 4.0 from Microsoft. The software bus layer provides the basic communication infrastructure based on the Common Object Request Broker Architecture (CORBA). This is a key element in the software architecture of the ACFW since all the inter-process communication between components is based on this standard. This layer consists of two elements, the implementation of CORBA and the implementation of the CORBA naming service. The implementation of CORBA allows transparent communication between components and provides a compiler for the Interface Definition Language (IDL) to generate the skeleton code for the implementation of client stubs and server skeletons. The implementation of the CORBA naming services provides the ability to bind a name to an object. Components may connect to others by a resolve operation using the naming service. To resolve a name is to determine the object associated with the name. The ascom Component Framework layer is the foundation for applications. This layer contains two essential services: the AlarmHandler and the ProcessManager The AlarmHandler collects all alarm reports generated from other software components. It notifies interested components (e.g. fault management) about the arrival of new alarms or departure of existing alarms The ProcessManager activates and monitors the application, that is all components in the application layer. The process manager starts these components, monitors running components and shuts down an application. In case of system failure, single components or the complete application are restarted. 16

Application layer This layer consists of application specific components. Also generic components with application neutral functions can be found in this layer (such as a SoundServer to play a sound file). The application layer is not considered to be part of the ACFW. To clearly separate the generic from the application (operator) specific components the application layer is layered in itself. System architecture Figure 3 displays the active components for a simple application. The arrows illustrate the control flow of the typical start-up sequence for the two application specific components (X and Y): 1 Uvw Xyz... Component list Process Manager 2 Component X SW bus Naming Service Alarm Handler 3 Component Y Control flow SW bus service Figure 3: ACFW Overview Alarm log ACFW component Application component 1 The ProcessManager reads the component list, which contains the components to be activated and monitored during processing time of the application 2,3Components X and Y are activated according to its position in the component list. The message flow is not shown in the figure. Conventions in the ACFW Developers for the ACFW must follow specified conventions which in turn guarantee smooth implementation of independent modules: 17

Naming Availability Naming service, Alarm Handler and Process Manager are always available to the clients. Process Manager and Alarm Handler are bound to naming service of the software bus For the implementation of an application component a set of rules concerning robustness, component behaviour, naming, interfaces etc. is defined. 18