Service Interface for Real Time Information

From HandWiki
Revision as of 16:07, 6 February 2024 by WikiEd2 (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: XML protocol for exchanging real-time public transport information


The Standard Interface for Real-time Information or SIRI is an XML protocol to allow distributed computers to exchange real-time information about public transport services and vehicles.

The protocol is a CEN norm, developed originally as a technical standard with initial participation by France, Germany (Verband Deutscher Verkehrsunternehmen), Scandinavia, and the UK (RTIG)

SIRI is based on the CEN Transmodel abstract model for public transport information, and comprises a general purpose model, and an XML schema for public transport information.

A SIRI White Paper is available for further information on the protocol.[1]

Scope

CEN SIRI allows pairs of server computers to exchange structured real-time information about schedules, vehicles, and connections, together with informational messages related to the operation of the services. The information can be used for many different purposes, for example:

  • To provide real-time departure from stop information for display on stops, internet and mobile delivery systems;
  • To provide real-time progress information about individual vehicles;
  • To manage the movement of buses roaming between areas covered by different servers;
  • To manage the synchronisation of guaranteed connections between fetcher and feeder services;
  • To exchange planned and real-time timetable updates;
  • To distribute status messages about the operation of the services;
  • To provide performance information to operational history and other management systems.

CEN SIRI includes a number of optional capabilities. Different countries may specify a country profile of the subset of SIRI capabilities that they wish to adopt.

Architecture

The CEN SIRI standard has two distinct components:

  1. SIRI Common Protocol Framework. The Framework provides a uniform architecture for defining data messages either as request/response pairs or as publish/subscribe services. The payload content model is separated from the messaging aspects so that the same payload content can be used in both request and subscription services and the same common messaging components can be used for all the different functional services. Common functions for subscription management, service monitoring, content level authentication, etc are provided.
  2. SIRI Functional Services. The SIRI specification specifies a number of distinct functional services, each designed for the exchange of a specific type of public transport data, all using the same protocol framework and basing their payload content on the Transmodel conceptual model. Additional functional services may be added that use the same framework but different payload content models to cover additional services.

CEN SIRI Functional Services

SIRI V1.0 defined eight functional services;

  • SIRI-PT: Planned Timetable service: Allows the exchange of the planned timetable for a public transport service along a route.
  • SIRI-ET: Estimated Timetable service: Allows the exchange of the real-time timetable for a public transport service along a route.
  • SIRI-ST: Stop Timetable service: Allows the exchange of the planned arrivals and departures at a stop of public transport services.
  • SIRI-SM: Stop Monitoring service: Allows the exchange of the real-time arrivals and departures at a stop of public transport services.
  • SIRI-VM: Vehicle Monitoring service: Allows the exchange of the real-time positions of public transport vehicles.
  • SIRI-CT: Connection Timetable service: Allows the exchange of the planned connections of public transport services at a stop.
  • SIRI-CM: Connection Monitoring service: Allows the exchange of the real-time connections of public transport services at a stop, taking into account delays.
  • SIRI-GM: General Messaging service: Allows the exchange of the simple messages relating to public transport services.

Two further functional services have been added as part of the CEN SIRI specification;

  • SIRI-FM: Facility Monitoring service: Allows the exchange of the real-time status of facilities at a stop such as lifts, escalators, etc.
  • SIRI-SX: Situation Exchange service: Allows the exchange of the structured messages relating to public transport services and networks.

Other CEN Standards that use the SIRI Common Protocol Framework

The CEN SIRI Common Protocol Framework can be used by other standards to define their own Functional Services. Two CEN standards that do this are;

  • The CEN NeTEx specification for Public Transport reference data uses the CEN SIRI Common Protocol Framework to define a SIRI based exchange service to exchange any type of NeTEx data element within a frame.
  • The CEN Open API for distributed journey planning uses the CEN SIRI Common Protocol Framework to define a protocol for journey planning.

Current version & Documentation

Version 2.0 of SIRI [1], representing the CEN documents as published, is currently available as a set of XSD files packaged as a zip file [2].

  • CEN TS 15531-1:2015 - Part 1: Context and framework.
  • CEN TS 15531-2:2015 - Part 2: Communications infrastructure.
  • CEN TS 15531-3:2015 - Part 3: Functional service interfaces (covering the SIRI-PT, SIRI-ET, SIRI-ST, SIRI-SM, SIRI-CT, SIRI-CM, and SIRI-GM functional services).
  • CEN/TS 15531-4:2011 - Part 4: Functional service interfaces - Facility Monitoring.
  • CEN/TS 15531-5:2016 - Part 5: Functional service interfaces - Situation Exchange.

SIRI is maintained under a maintenance regime, with version control managed by a working group of the CEN TC/278 Working Group 3 . Later versions of the schema are available at the same site, together with change notes.

History

The CEN SIRI standard was developed from European national standards for real-time data exchange, in particular the German VDV 453 standard, between 2000 and 2005, and included eight functional services. V1.0 became a CEN Technical Standard in 2006 and a full CEN standard in 2009.

Two additional functional services were added later Situation Exchange (SX) (Technical Standard 2009, Standard 2016) and Facility Monitoring (FM) (2011).

A number of small enhancements were subsequently added as informal changes creating interim releases v1.1, v1.2, etc.

Two other CEN standards were developed that made use of the 'SIRI Common Protocol Framework' to define their own functional services; NeTEx (v1.0 published in 2014) and Open API for distributed journey planning (v 1.0 published in 2017).

Version 2.0 of CEN-SIRI was developed between adopted in 2015. This is backwards compatible with V1.0 and both formalises the adoption of the interim enhancements and adds a number of additional features. An important new addition in SIRI v2.0 was the description of a uniform transform for rendering CEN-SIRI messages into a flat format that can be used in simple http requests without an XML rendering.

Example of sites using SIRI

Different SIRI implementations are used in a number of sites globally

Europe

North America

Asia

Australia

See also

References

External links