Professional Documents
Culture Documents
Ticketing services in public transport have always tried to follow the evolution of new technologies,
developing new approaches that can be adapted to user needs. The methods of acquiring a ticket to
start a journey in public transport have evolved, not only the different ways of storing a ticket (e.g. in a
paper, smartcards), but also the fare calculation methods (e.g. by travel, distance). The public transport
operators also began to develop automated ways of checking the validity of tickets carried by the users
inside a vehicle. In order to make the ticket validation more natural from the user side, new technologies
and approaches have been used, to abstract the user of this time-consuming task, but ensuring that
the system always detects an invalid ticket. Communication is crucial for the automatized systems, and
the ways of exchanging information between ticketing system components have also improved with new
technologies. The different approaches of the described features in ticketing systems are addressed
below, such as the pros and cons of each one. Lastly, previous projects relevant for this case are
presented, such as their architectures and protocols, to provide an overview of a typical global system.
In the conventional payment system for public transport, when the user intends to travel in a specific
public transport, he needs to buy a paper ticket in a store manually. In early systems, the user enters
in a ticket store, where an assistant is selling a paper (ticket) with the source, destination and hour of
the travel printed. It is also possible to buy a ticket inside the vehicle (on-board) [11], which is still being
used in some systems, like Carris in Lisbon, Portugal. Later, automatic vending machines were introduced,
doing the repetitive task performed by the salesmen. In this case, the user selects the source
and destination, requiring a tariff knowledge of the service. Companies need information about routes
occupation, bus traffic, and users validations, to track the utilisation of the services and improve specific
sectors, such as bus commodities, scheduling or prices. This need led us to the information era, where
every task is registered on a log held on a computer, also helping to prove that a user has bought the
ticket, even if he lost the printed paper [11].
With the idea of reusing the same ticket in various travels, in order to reduce the time-consuming task
of buying several tickets with the same characteristics and avoiding the disposable tickets (and physical
resources), the companies started to develop smartcards with the capacity of storing tickets. The user
can buy one of this cards in a vending store or machine, load it with several tickets and use this card to
make different trips. These smartcards typically use RFID to communicate with a set of readers [12, 13].
Finally, the evolution of electronic fare management conducts to mobile ticketing, making possible for
the user to obtain the ticket using a mobile handset, like a smartphone [2, 12, 14, 15]. In this last case,
the user uses its smartphone in order to obtain and/or validate the ticket. It can be made through short
text message, or even using an application Near Field Communication (NFC) or BLE-based to establish
communication between devices and readers.
The conventional payment system in ticketing for occasional users consists of paying the correspondent
fare for each journey. It is still possible for regular users to pay an amount for a day, week or month
and have free access to the public transport, avoiding the time-consuming task of buying a ticket every
time the user wants to make a journey. Usually, this periodic pass is cheaper than purchasing a ticket for
each trip, to make the pass more attractive for users. It also allows public transport companies to have
a fidelity from the user side. Another possibility is to have a smartcard with a modality that functions as
a purse, where the user can load it with an amount of money, and each time a journey is made, the fare
is deducted from the purse (pay-as-you-go) [11].
With the release of products like Apple Pay, Google Wallet or even PayPal, it became usual to have
a credit card associated with a smartphone application [12]. Using an NFC-enabled smartphone is
possible to have a specific application to pay for a journey using the smartphone within the near field
of a ticket reader or a payment station. Then smartphone application uses payment interface to charge
the journey correspondent money from the bank account. Another possibility is to have a smartphone
application with the feature that works like a wallet, and using NFC or other communication protocol to
interact with the reader and deduct the money.
2.4.6 Be-in/Be-out
Be-in/Be-Out (BIBO) is a hands-free scheme that detects and registers the presence of a device
inside a public transport automatically [5, 15]. The vehicle detects the presence of the ticket carried by
the user through the communication between the ticket and the readers installed inside the vehicle and
considers that a journey has started. When the readers stop to detect the ticket, the end of the journey
is assumed. This ticket should be able to communicate with the readers, which can be a smartcard or
a smartphone. A BIBO system needs a communication technology capable of detecting the ticket at
a distance, installed in the vehicles or at stops and stations, and a back-office to process the journey
data [1, 5, 14, 15]. The first BIBO concept was introduced by Ericsson Consulting in 2001. The first
projects implementing BIBO approach was ”Esprit” by Scheidt & Bachmann in Germany (2005-2006)
and ”ALLFA” in Dresden, Germany (2005). This two projects will be addressed in 2.7.
2.5 Ticket inspection
It is critical for the public transport companies to ensure their income by verifying if the fare was paid.
In systems where physical fences are installed, the user should only be inside the vehicle if the ticket
was successfully validated when entering. Nevertheless, it is still necessary to confirm that there are no
intruders. However, in open environments (without fences), it is always necessary to track the validation
of all the tickets. In early systems, using a paper ticket or even a simple smartcard (without continuous
communication with a remote server), the inspection is made by an inspector that eventually enters in
the vehicle and checks the tickets of each occupant [14]. If the user carries a paper ticket, the inspector
has to check each field of the ticket and validates the information. However, if a smartcard is being
used by the user, the inspector should have a device with the capability of reading the smartcard stored
information, such as the hour of last validation, to check if it is correct for that journey.
Recent papers debate the advantages of using BLE or NFC. BLE is used by [2, 12, 15] in implicit
ticketing for public transportation, and by [4] in a occupancy detection system, when a one-to-many
interaction is necessary due to large number of occupants and the signal strength can be used to
calculate an approximate distance. NFC is used by systems that search for a one-to-one interaction, like
a near check-in, because the device is only detected when very closer to the reader (4-10cm) [6].
2.6.1 Wi-Fi
This technology is widely used due to its high data transfer data rates. This technology is a possible
candidate to the communication protocol since several public transport companies already have Wi-Fi
infrastructures deployed in their vehicles. Although providing data transfers than BLE, its power overhead
is too high for continuous operation, and that is not affordable for current smartphone batteries [16].
2.6.2 Near Field Communication
NFC is a short-distance wireless technology, which comes embedded in some smartphones. This
technology allows the smartphone to read an NFC tag or other NFC devices. An NFC tag contains a
passive NFC chip that can be read by an active NFC device, called the reader. Although the NFC tag
has a very low price, it is necessary to tap the phone on the intended tag to read its information, so it
is used in touch-to-pay approaches and not implicit interaction. Also, it has the disadvantage of being a
technology that is not available in every smartphone. [16]
The small sizes and low energy required by BLE beacons make them easy to deploy in various
locations. It can be powered by little power sources, such as USB power supplies or small coin cell
batteries, still providing a long lifetime. The theoretical battery life of a BLE beacon can range from 2
days to 14 years, depending on the interval between connections (tested beacons equipped with Texas
Instruments CC2540 Bluetooth chip, and powered by a coin cell battery with approximately 230mAh)
[19].
Concerning security, BLE provides authentication and confidentiality based on AES-128 in Counter
with CBC-MAC (CCM) mode [14].
BLE beacons roles
Communication between BLE beacons and other devices can either be connection-based, where
it is established a communication between the intervenient devices; or one-directional where there are
devices responsible for sending data and other devices capable of receiving that information. Depending
on the role, devices have different behaviours [18]. In one-directional communication we have two roles:
_ Broadcaster - non-connectable device that simply broadcasts data packets, called advertisements.
_ Observer - device that scans for advertisements without initiating connections.
Considering the connection-based communication, we have other two different roles:
_ Peripheral device - it works as an advertiser in the manner of a broadcaster but is connectable
as a slave in connection with a central device.
_ Central device - device that scans for advertisers, operating as a master in one or more connections
with peripheral devices.
BLE beacons’s take place as a broadcaster and peripheral devices in the communication process,
while devices such as smartphones and computers, act as observers and central devices.