Keywords

1 Introduction

Blockchain technology is a very efficient system commonly used to simplify complex processes in transportation-related systems such as mobility as a service (MaaS), data control and transfer, and supply chain management. In the last few years, various transport-related companies have started integrating Blockchain technology to their operation, control and management processes for data tracking and transfer systems [1]. In a Blockchain system, digital ledger records transactions in a series of blocks, and knowledge and data exist in multiple copies spread over multiple users. Thus, Blockchain technology offers accurate tracking of all system records [2]. All these properties of the Blockchain technology make it one of the most promising and popular technologies worldwide [3]. This popularity enables it to support different applications in multiple areas and to propose tracking and transfer systems solutions.

Blockchain technology was originally developed for the cryptography exchange and digital transactions. It has been used in various areas like crypto money, healthcare, financial systems, cybersecurity, smart grid, energy management and intelligent transportation systems [4]. It can distribute a database which is shared among the Blockchain nodes over related partner organisations. In the previous developments, Blockchain technology was effectively used in the finance sector. However, its capacity and current possibilities have proved that Blockchain is a great technology to use in many other areas because of its ability to store data in a distributed database after verification steps [5]. In fact, Blockchain is a reliable technology to record transaction information among trusted partners’ data, and it can be used in many legal processes. Therefore, digital assets for the chosen study area can be presented as digital proofs due to the Blockchain’s secure, transparent and immutable property [6]. An encountered problem in Blockchain applications is related to the size and safety of storage and transfer of the existing data. It is often not feasible for the data to have a higher number of dimensions and size when transmitting to other parties. Thus, many researchers conduct studies to find solutions to address these data related problems [7,8,9,10,11].

With the rapid increase in accidents, longer travel times and colossal waiting times on roads in the last three decades, and despite notable developments in road infrastructure, the existing transportation solutions that have been developed and applied previously have become insufficient to solve today’s traffic problems. Thus, Intelligent Transportation Systems (ITS) have started to find solutions to traffic problems in roads over many cities worldwide [8]. The technological developments and the effectiveness of ITS to reduce traffic chaos, enhance traffic efficiency, and make a positive contribution to the development of smart cities and roads made the utilisation of these systems more popular. IT systems supply valuable information regarding many traffic conditions and systems. Current results on ITS applications have shown that these systems are very effective tools for finding chaos solutions and can supply safety and comfort in urban and rural traffic problems [12]. Thus, ITS can have a significant effect on every aspect of our life with smarter transport facilities and vehicles, as well as safer and more convenient trans- port services. On the other hand, ITS have shown high social complexity instead of the expected intelligence, leaving many long-standing issues unsolved or even worsened.

Blockchain technology supplies rapid development and has the full potential to revolutionise the increasingly centralised ITS in applications using effective andefficacious mechanisms to save and keep data as digital proof [5]. ITS also have some critical security problems with data storage and transfer requiring integration with technologies such as Internet-of-Things (IoT) and computing via Artificial Intelligence (IT) for enhanced security. The second issue in ITS systems is the safety of data transfer from these systems to the main server or from operator to third parties. This study aims to contribute with a real-site application case-study on how ITS data storage, control and transmission can be achieved using Blockchain in a real ITS application for Samsun City in Turkey.

The following is the rest of the paper: Sect. 2 includes a number of relevant case studies related to the study's field. Section 3 includes briefing information for Samsun ITS project, while Sect. 4 provides the methodology of the paper. Section 5 presents the implementation procedures and a platform for Blockchain-based data record in ITS systems. The conclusion and future work are provided in Sect. 6.

2 Literature Review

When moved from their original destination to their focus destination, the goods and services in transportation take a product, a carrier, and a middleman who might be irrelevant and disappear. So, Blockchain technology supplies a relevant feature to the transportation system without any involvement of a third party. The current traditional transport systems use electronic data and some developed application program interfaces to provide and record transportation data manually or digitally [13]. This obtained data can be changed, modified and manipulated by a third-party authorised person, which can have critical consequences on the global transportation system.

2.1 Blockchain and Transportation Relation

Blockchain technology excludes the involvement of a third-party authorised personmitigating the risk with failure of the systems. Blockchain is used for data authentication where the whole network can contribute and validate data to make the system tamper-proof and transparent and to save and transmit the saved data securely. Blockchain technology in transportation systems has many benefits, such as breaking down silos, better traceability, faster payments, easier audits, easier identification of attempted frauds, greater consumer trust, real-time consumer feedback, and better scalability [2]. Blockchain technology can help with improving transportation control, operation and management with benefits such as better accountability, need for more back-office, and access to more information about the transportation system. Integrating Blockchain technology and transportation systems can lead to improvements including transparency, traceability, immutability, trust, distributed gover- nance and cost-saving. All these attributes can be used in the ITS sector effectively, as they have a great potential to improve the operation and maintenance in ITS.

In the last decade, many companies in the world have started using new technologies such as Blockchain, the Internet of Things, and artificial intelligence to develop cyber-physical systems that can help with their competitive environment [14]. The features provided by Blockchain technology make the utilisation of this technology more prominent and efficient. For example, related studies [15] investigated the strategic importance of the transport sector in creating economic, environmental and social values. They found that Blockchain technology can be a reliable support for supply chain operations. In a different study [16], authors studied the risk of attacker threats to intelligent devices of transportation systems. They explored an example of IoV and proposed a security mechanism for the infrastructure of services of connected autonomous vehicles using Blockchain technology. Blockchain technology allows confidentiality and transparency among customers and taxi drivers by tracking and recording each action of objects relative to vehicles or IoT devices in Blockchain. A Blockchain security study explored how Blockchain can be used as an effective technology for distributed and secured storage of big data obtained by ITS networks. According to the analysis, they reported that Blockchain technology could potentially be a good application for data distribution and secure storage.

In the last years, there is also high interest in electric vehicles. Many researchers have focused on using Blockchain in charging infrastructure. Related studies [17] presented a new and safer e-vehicle charging system based on Blockchain. This new charging system provides some features such as key security, safe mutual authentication, anonymity and direct secrecy for efficient charging. For the testing process of the new system, they compared the proposed system with an old one and demonstrated that the pro- posed system works more effectively than the existing one. Another study [19] proposed an intelligent contract using Blockchain for the e-vehicles’ safe charging to maximise the battery performance. To achieve this aim, researchers integrated the Blockchain system between the EV and the vehicle’s charging system and obtained optimised battery capacities for e-vehicles. In a similar study [20], authors examined the Blockchain system’s contribution to calculating the sale and purchase of electricity in the charger. They found that Blockchain can allow partial or full decentralisation of the process and full automation without involving the intermediate device. It was also observed that Blockchain systems are very effective in modelling the electricity metering system during the charging process.

2.2 Internet of Things (IoT) Combination with Blockchain

The Internet of Things (IoT) is one of the most significant technological developments. It is a logical progression for the Internet (of computers) to evolve into integrated and cyber-physical systems, “things” that, although not computers, contain computers. With a network of inexpensive sensors and networked objects, it is possible to gather information about our planet and environment at a finer resolution. Indeed, such in-depth information will increase efficiency and enable the delivery of sophisticated services across various application fields, including ubiquitous healthcare and smart city services. Nonetheless, the more invisible, dense, and widespread collecting, processing, and distribution of data in the middle of the private lives of individuals give rise to major security and privacy issues [21].

On the one hand, this data may be utilised to deliver various sophisticated and individualised user-beneficial services. In contrast, this data contains information that may be utilised to algorithmically generate a virtual history of our activities, exposing private behaviour and lifestyle trends. The absence of essential security measures in many IoT gadgets of the first generation exacerbates the privacy threats associated with the Internet of Things. Several security flaws have been discovered in interconnected devices, from smart locks [22] to vehicles [23]. Several inherent characteristics of the Internet of Things exacerbate its security and privacy concerns, including a lack of central management, heterogeneity in device resources, various attack surfaces, situational and context-aware hazards, and scalability.

Various end devices transfer large amounts of data in IoT networks. This means that attacks against the IoT might potentially target either data or devices. Whether it's from a medical IoT system [24] or a national application such as the IoT-based smart grid [25], the sensory data in an IoT system might be private or sensitive [26]. Data privacy and security are indeed important. Security, data integrity, and dependability issues in IoT networks may be solved through Blockchain [27]. In addition to its use in the cryptocurrency industry, Blockchain has attracted significant interest in a wide range of Internet of Things (IoT) applications (including management of supply chains [28] and smart cities [29]). Risks to both sensory input and end devices may be mitigated by using Blockchain technology.

Several major characteristics of Blockchain make it a viable solution for addressing security and privacy issues on the Internet of Things: Security, Anonymity, and Decentralization. This paper proposes a Blockchain-based architecture for the Intelligent Transportation System (ITS) with IoT that delivers lightweight and decentralised security and privacy. The design preserves the advantages of Blockchain while solving the obstacles of integrating Blockchain into IoT (for example, mining blocks is time-consuming, and IoT applications require low latency). An ITS data record example is used to demonstrate the use of these technologies in the field of transportation and smart cities.

Existing literature clearly shows that Blockchain technologies and related systems are developing very fast in various fields of activity. All these systems, such as transport systems, logistics and electric or autonomous vehicles technology, are based on big data processing. Thus, Blockchain utilisation greatly increases many big data and intelligent systems-related sectors. All the previous study results clearly show that Blockchain technology has great potential for safely storing, controlling and transmitting important data to third parties.

3 Smart City Traffic Safety-ITS Project of Samsun City

The increase in the population and the number of vehicles in traffic results in vehicle densities, delays, long vehicle queues, and many traffic accidents on urban and rural roads all over the world. Unfortunately, this chaos in traffic results in an increase in the emission of more CO2, NOx, PM2.5, etc. harmful gases to nature from fossil fuel-consuming vehicles and this issue impacts climate change. This uncontrolled increase in traffic may also lead to traffic accidents, aggressive driver behaviours, disobedience to rules, etc., and adversely affecting human health in traffic. To develop a solution to the problem, which is among the top priorities in the United Nations (UN) Action Plan, many cities worldwide are trying to control and manage existing urban and rural roads with innovative IT systems. In addition to using these intelligent and environmentally friendly systems, many cities also aim to initiate and expand the use of e-vehicles, micro-mobility or mobility as a service (MaaS) systems instead of fossil fuel vehicles in their public transportation systems, commonly. For this purpose, Samsun Metropolitan Municipality of Turkey has started to implement the “Smart City Traffic Safety” project throughout the city in June 2021 with the biggest technology and defence company “ASELSAN” in Turkey and got the best ITS City project awards in Turkey in 2022.

In the scope of the project, a total of 78 “Intelligent Intersection Systems” have started to install at signalised intersections, “Average Speed Detection System” in main corridors, “Parking Violation Detection System” in roadside parking areas, “Red Light Violation Detection System” in sections with signalised lights, and total 20 e-Buses are started to use for the public transport system of the city. Therefore, this ITS project has become one of the biggest projects in Turkey. After the contract was signed, Smart City Traffic Safety-ITS started to be implemented in July 2021 and will be completed in 2023. In the project, firstly, the geometric and technologic infrastructure transformation of a total of 78 intelligent intersections has started, and then many intelligent intersection systems and violation detection systems will be implemented to manage traffic and air pollution throughout Samsun city. For public transport, new e-buses developed by ASELSAN, a partner in the “Smart City Traffic Safety” project, are used in Samsun city instead of fossil fuel buses (Fig. 1).

Fig. 1.
figure 1

New fully electric and supercharged e-Buses in Samsun City [30].

4 Determination of Methodology Steps

Blockchain is a cutting-edge technology that combines various fields, including encryption, IT, economics, and politics. Therefore, there are few application examples and case studies in most industries, including construction and transportation.

A literature review of academic articles, conference proceedings, textbooks, technical documents and reliable online resources was conducted to better understand emerging technologies. In this context, the scope, features and use of Blockchain and other technologies in various industries were determined by analyzing online resources as well as case studies, whitepapers and other published materials. Critical analysis of the literature and comments by public experts allowed us to identify the most common problems in transportation. Within the scope of the identified problems, a methodology framework was prepared comprehensively on a solution with Blockchain technology for the examined IT systems. For the usability and validation of this framework, smart contracts were prepared and integrated into a frontend web platform. The obtained ITS data was successfully recorded into Blockchain via a frontend web platform. The proposed steps for the study are presented in Fig. 2.

Fig. 2.
figure 2

Methodology diagram of the proposed study.

5 Evaluation of Dealing with Big Data Records of ITS

The evaluation was conducted with datasets from the Smart City Traffic Safety-ITS project of Samsun City, which involves collaborative efforts utilising ITS systems for Blockchain technology integration. The provided structure was used throughout the ITS systems based on smart contracts in Blockchain. The following processes initiated by ITS systems such as an Intelligent Signalized Intersection System, Park Violation Detection System, Red-Light Violation Detection System, Speed Corridor System and e-Bus system, were recorded in the Blockchain for reporting samples of information. Data from ITS systems are stored on the digital platform when the smart contract was implemented. The user may then register using Blockchain to track if any modifications are made to these initial set of details. Due to the structure provided by the Blockchain, none of the prior records created can be altered or tampered with.

In collaborative work with users, the security and dependability of information are crucial. Inter-disciplinary collaboration, trust, and cooperation are the most significant aspects impacting the design process. The reason for changes or disagreements and any difficulties that arise often result in extra delays and expenses; however, with smart contracts, this process becomes more autonomous. Users can monitor and have confidence in any changes. Consequently, the growth of the process, its roles and duties, as well as inter-disciplinary cooperation can be used more feasible in the digital environment.

Once the data has been coordinated in the first phase, the Blockchain-based solution generates its own documentation, which is then made available to all users. This enables a transparent, automatic process since everyone knows their fundamental duties and remedial methodology, as well as the significance of capturing all actions as trustworthy data records in the Blockchain database. Since each dataset has its own identity, every issue may be identified and linked to the appropriate individual including the author using metadata assigned to the file, reports, and user levels. This develops a complicated filtering mechanism inside the models to discover coordination issues in multiple disciplines and make them visible to the public in order to improve efficiency (Fig. 3). When a user signs into the system, a timestamp is appended to each activity that is logged on the distributed ledger as evidence of registration.

Fig. 3.
figure 3

Working scheme of the system.

Large enterprises and organisations’ use of sophisticated analytical tools for storing, visualising, and analysing data has contributed to the exponential growth of big data technology. However, big data safety has become a major concern due to the massive data consumption and transportation. Despite significant security issues, cloud technology has been broadly used for applications involving vast volumes of data. When suitable security procedures are not used, third-party apps and intruders might readily engage in destructive actions such as stealing sensitive data and crashing the server. Big data has several challenges, including data collection, sharing, storage, and processing. This chapter evaluates the strategies and applications based on Blockchain technology for big data in the transportation domain. Figure 4 illustrates an overview of Blockchain in a transportation environment, including data collection, storage, analytics, and privacy and security.

Reports, images and other data from sensors, cameras and other devices are available to many participants. Many participants share and record the data in an open environment, such as municipalities, control centres and academia. Although the data can be in many forms, all fields are recorded in the system for each vehicle.

Fig. 4.
figure 4

Overview of Blockchain in a transportation environment, including all process steps.

5.1 Creating Smart Contracts and a Web-Based Platform

The Remix platform is used to compile and deploy smart contracts. Remix is an Ethereum Solidity (ES) development environment that facilitates the development and execution of smart con- tracts. In the data structure to be used in the creation of the smart contract to be recorded, file name, provider, violation (red light, park etc.), location, date and time and timestamp of the data are used as seen in Fig. 5 (i), smart contract structure was designed in Solidity as - struct ITSDataRecord {address sensorID; string violation; string location; uint32 reportID; uint32 timestamp;}

Thus, when project data was recorded, metadata about where and how data was recorded can be stored as unalterable evidence. Secondly, digital data can be generated by creating a new smart contract for each vehicle. In this contract, information specific to the vehicle that com- mits violence is registered to the Blockchain by identifying the vehicle’s Blockchain ID. In this way, each vehicle-specific data record can be created digitally through the Blockchain as demonstrated in Fig. 5 (ii), smart contract structure for the Vehicle Data Record was designed as – struct ITSVehicleRecord {address vehicleID; string violation; string location; address senderID; uint32 reportID; uint32 timestamp;}.

Fig. 5.
figure 5

Smart contract specific data record process of vehicles (ii) or report of systems supplied by ITS.

A platform that enables interaction with smart contracts using front-end websites was created. To generate the interactivity of the front-end website, a front-end JavaScript interface connecting the front-end website to the Blockchain system has been developed. The user interface allows users to engage with contracts, including the deployment of new contracts and contract processes such as recording or retrieving data from Blockchain. Three smart contracts are deployed to implement the outcomes of Blockchain-based ITS systems as evidenced by this research. (i) Smart contract for registering new users/reports/updates: Each contract is identifiable by its unique number, which is stored in the mapping link to the most recent contract address. Using the new user(.) method, the contract is created and updated for each user so that other nodes may see all users’ records (see Fig. 6). (ii) Smart contract for the outputs recording of ITS systems: It is a mechanism for recording outputs and seeing all outputs that have been recorded. When additional nodes are registered to the platform, the newData(.) methods may be used to inspect registered data. (iii) Smart contract updates with users: ITS systems are implemented following the original contract. After registering on the Blockchain network, each action should be recorded in the contract. With the updateUser(.) and updateData(.) methods, the end User/Client is able to see the whole transaction history for all data.

Big data applications, in general, gather data in various types from various sources (unstructured data). As documents cannot be processed in their original format the data must be transformed into a structured format from which different application-domain predictions may be derived. With its capacity to efficiently manage large amounts of data, Blockchain offers organised data for generating predictions. Through consensus algorithms, Blockchain protects data integrity, reducing cybersecurity risks. As such,this research focuses on two sub-areas of Blockchain technologies for big data collection: secure big data collection and secure big network infrastructure.

Fig. 6.
figure 6

Data test platform of the proposed system.

With this recorded platform, it is possible to track and monitor when and by which system data is recorded, as illustrated in Fig. 7(a). If desired, records specific to these devices can be viewed separately, as it is seen in Fig. 7(b).

Fig. 7.
figure 7

a) Recorded data of all system and b) recorded data of a specific system.

6 Conclusion

Data integrity, privacy, database management, and availability can be achieved through implementing ITS systems combined with Blockchain technology. Users and interactions with a transportation system may be tracked, and conflicts between users in terms of tasks and responsibilities can be eliminated by utilising Blockchain technology. Each participant in the system has a unique user ID, roles and responsibilities, resulting in a well-coordinated network of requirements. ITS system data may be shared more effectively because of the immutability and traceability provided by Blockchain. As a trustworthy record of all transactions’ history, the Blockchain can be relied upon to store proof of every execution in chronological order. It is possible to keep track of any changes to the transaction list using blockchains and to the ITS system’s data as a distributed database on a global ledger, including transaction data on the network. To store encrypted data, cryptographic hash techniques incorporate a ledger containing the block header’s root. The timestamp feature of the Blockchain platform is ideal as it automates the process, prevents participants from making unwanted changes and is ideal for secure data recording. An additional benefit of an open and decentralised procedure is the reduced time required for secure file sharing and accessibility. With the use of Blockchain, it is possible to follow the registration processes of ITS systems for any vehicle, from the production of the vehicle until it is completely withdrawn from the traffic.

In the digitalisation process, IT systems and Blockchain integration can also transform the requirements and preferences of performers based on coded services. Blockchain applications can connect real-time data and systems throughout the whole lifecycle of devices and participants involved in the process. In terms of limitations, while Blockchain is a novel technology, it should be taken into consideration that additional advancements might have an impact on the findings and converting IT systems to smart contract codes may also be problematic. Blockchain and the Inter- net of Things (IoT) integration will be further explored in future research to create more complex models based on real-world case studies.

In future work, the primary focus will be on the creation of an advanced data record system that will be based on the Blockchain technology for each vehicle and system entity. By using this system, vehicles and traffic services work in integration in order to achieve improved autonomy and real-time monitoring of all the activities and assets.