Secure and Fast Emergency Road Healthcare Service Based on Blockchain Technology for Smart Cities

1. Introduction
According to the World Health Organization (WHO), 1.3 million people die because of car crashes annually. In Tunisia, 616 people lost their lives, and 4873 others were injured in road accidents during the first 8 months of 2022, according to data from the National Observatory of Road Safety under the Ministry of the Interior.
The United Nations General Assembly has set an ambitious target for road safety to halve the total number of road traffic deaths and injuries by 2030 (A/RES/74/299). Several factors can contribute to reducing this number. Among them are the timely arrival of ambulances at the scene of the accident and the recognition of the medical data of the injured in advance by the medical staff. However, the questions here are how to determine the nearest available emergency vehicle and how to inform the emergency services of patient information. Therefore, two strategies are possible responses to these two questions. The first is the use of connected ambulances and the second is the sending of vital signals of injured people to the appropriate service in real time. In this case, emergent technology such as the Internet of Things is seen as a prominent solution to manipulate the components mentioned above.
The fusion between IoV and IoMT gives a fantastic opportunity to reduce the number of people losing their lives due to road accidents. However, the data managed in such cases are highly sensitive. They need a dependable, decentralized, and secure system. To ensure these properties, BC technology is highly recommended. The integration of blockchain technology, l’IoV, and IoMT is a crucial solution to these issues with decentralized, efficiency, privacy, and partner trust management. In the form of a distributed and secure register that enables emergency medical personnel in addition to have admission to harmed vital signs but also to change them, blockchain technology offers just such a solution. Hence, we guarantee the compatibility of the platform used by the various actors of the proposed system using Blockchain technology. To cut maintenance costs and get rid of legacy threats from centralized systems, this approach removes the central authority (CA). The fundamental goal is to build autonomous interaction without human involvement through smart contracts, ensuring security and trust amongst the agents in the system. To guarantee the security of patient data, the following criteria must be taken into consideration: authentication and access control.
Based on smart contracts, we propose a system for the treatment of road accidents. This system is composed of two subsystems. The first one includes an IoV part that takes care of the search for the nearest available ambulance and the nearest emergency service. On the other side, the second sub-system deals with the transfer of the vital signs of injured people to the appropriate emergency service staff.
The following are the most significant contributions of this manuscript:
- (1)
-
Designing a system for road safety emergencies.
- (2)
-
Proposing a subsystem to search for available rescue vehicles and the nearest emergency service, using IoV.
- (3)
-
Suggesting a sub-system to transfer the patient’s health data to the appropriate service.
- (4)
-
To ensure the security and confidentiality of the exchanged information, smart contracts are provided in each part of the total system.
4. Proposed Framework
The proposed system is composed of three main stakeholders: connected vehicles, emergency vehicles and hospital emergency services.
4.1. V2V Communication Sub-System
In the case of vehicular communication, each smart vehicle can transfer information either to neighboring vehicles or to the nearest emergency services. The distributed information must be decentralized. Indeed, the list of services and the vehicles are registered on the BC. In case of an accident, a request is automatically launched to search for a nearby medical center, which in turn informs the ambulance to travel to the scene of the accident. As a result of these requests, data about the parties involved are automatically recorded via a smart contract.
-
Automatically generate an itinerary by indicating its position and destination.
-
Use GPS to locate the other vehicles on the route.
-
Send a message to the located vehicles to give way.
The Blockchain network allows the management of communication between cars. Vehicles access a public blockchain network to send the data collected on the location of an accident. This whole process runs automatically via smart contracts. The smart contract has two main roles: sending messages or publishing a new message on the blockchain network, and reading messages, which allows the device connected to the blockchain network to read the existing data.
4.2. Emergency Vehicles and Healthcare Communication Sub-System
4.3. Remote Healthcare Sub-System
This part consists of tracking the patient by different stakeholders, namely the doctor, the analysis laboratory and the pharmacist. For the management of EMR of the patient, each stakeholder must authenticate with his identifier and his role. The manipulated information is gathered and saved on the BC. A smart contract is responsible for their update.
4.4. System Requirements
The data manipulated in our system are sensitive and requires confidentiality and security during transmission. So, we need two types of BC: public and consortium.
-
Public BC: Everyone with Internet connectivity can connect to a BC platform to become an authorized node, making the public BC open and unconstrained. This person has access to both recent and old data, and they can also do mining operations—complex calculations necessary to confirm transactions and add them to the ledger. On the network, no valid entries or transactions can be altered. This kind of BC is used to hold information about vehicles and other emergency services.
-
A consortium BC: this type of BC operates in a restrictive environment as a closed network. The members of this network collaborate on a decentralized network. However, access is limited to a particular group. The controlling organization defines permission levels, security, permissions, and accessibility. We need to identify all the medical staff so that it can manage the data of the injured person in full confidentiality and security, so we resort to the use of this type of BC.
In this article, we are just interested in the simulation of the part of the proposed system that involves the processing of data manipulated via BC technology. The study of sensors used as well as the communication protocols in IoMT network architecture are the subject of another paper.
5. System Implementation and Results
5.1. Fundamental Framework and Software Required
All simulations are executed on an Intel Core i5, CPU 2.60 GHz, 8 GB RAM, and Windows 10 to verify our framework. Ethereum BC is based on BC technology. It aims to create a platform based on smart contracts. This technology is also distributed via a P2P network. The smart contracts in Ethereum are written by the programming language Solidity; via this language, one manipulates transactions. An Ethereum transaction consists of several elements, such as the sender and the receiver as well as a fee that the sender must pay. Both the sender and the receiver have an account or an Ethereum address which consists of twenty bytes. We utilize the web3.js framework to access this account over an HTTP connection in JSON RPC style. To compile and move smart contracts to the neighborhood BC Ganache, one must use the Truffle development environment.
Table 4.
Used concepts.
Concept | Description |
---|---|
Smart contract | Because they perform basic functions, smart contracts are among the most critical features of any BC schema. The implementation of various smart contracts, whether for the system, interested parties’ enrolment, or for access control to manipulate and monitor exchanged data, is the first step in designing our conceptual model. |
Access control | A method of restricting user access to resources. It specifies the actions that each user must take and prevents unauthorized access to information. The access control model is built on authentication, identification, and authorization. Based on role-based access control (RBAC) and attribute-based access control (ABAC), each user is assigned a role that defines their access to a resource. |
Authentication | User authentication mostly through Ethereum addresses is required for each agent’s entry into the system. Following authentication, medical personnel can consult and communicate with one another. |
5.2. Smart Contracts Deployment
5.3. Smart Contracts Cost
The Ethereum BC assesses presented systems according to the costs incurred by smart contracts. These are the fundamental units for the execution of transactions and smart contract operations. Alternatively, both the transaction and execution costs would be incurred. The price of migrating the smart contract script to the Ethereum BC is referred to as the transaction cost. The size of the smart contract is a constraint. The underlying transactions that a smart contract performs determine its size. The data needed to store global variables and smart contract approach calls is their execution cost. The arithmetic activities performed during execution also have an impact on it.
It should be taken into consideration that these energy values are only test values as we use the test Ethereum network and PoW consensus. For a real system, there are consensuses that consume much less computing power, such as PoS or DPoS.
5.4. Comparative Analysis of the Proposed System and Related Work
In the proposed system, very important and sensitive data are handled. For this, our system satisfies security requirements that include data security and communication security.
-
Confidentiality: The remote healthcare sub-system contains patient vital signs. To ensure the confidentiality of these data, unauthorized manipulation by third parties must be avoided. The use of smart contracts, by rejecting access to the system by any untrusted third party, ensures patient privacy, trust, and accuracy. The information saved in the system is immutable and cannot be modified by third parties thanks to the use of blockchain technology. This guarantees the confidentiality of the data handled.
-
Integrity is a further basic feature of systems that exchange sensitive data among users. As a result, the data integrity property of the proposed software solution must be evaluated. Data integrity is the accuracy and dependability of data throughout their entire life cycle. It is crucially related to the concept of data security and remains constant in its entirety. It is critical for data security to maintain consistency throughout its life cycle. In our system, Merkle Trees and cryptographic Hashing are responsible for maintaining the data integrity on public and private Blockchains.
-
Security: The security of our suggested framework is guaranteed by the usage of the RBAC and ABAC techniques. Hence, no outsider is permitted to use the system. Do not forget that protocols and methods are used to secure the blockchain. As a result, agent data can be handled securely and privately. This information is only accessible to reliable individuals. Any untrusted outsider trying to access the system is denied access by the system.
-
Availability means that a system is online and ready to be accessed at any time. The availability is ensured by the decentralized notion of the blockchain which fights against different attacks as well as the single point of failure.
6. Conclusions
This paper proposes a BC-based system allowing emergency vehicles to arrive as soon as possible at the scene of an accident. They first receive the location of the injured person. Then, with vehicular communication, they obtain road priority. In a second step and through the IoMT concept, our system allows us to collect the vital signs of the patient and transmit it to the emergency center, that, in turn prepares their treatment in advance. To achieve our goal, several smart contracts are deployed in Ethereum BC. To ensure safety, security, and trust surrounding the manipulated data, two types of access control were used, namely RBAC and ABAC.
BC technology, IoV and IoMT help to speed up the intervention in emergency cases. However, in such cases a large amount of data is manipulated. Since the data are stored in blocks, there is a problem of data storage. We will evaluate this attempt to promote the mixed hosting of blocks in the cloud and through distributed storage systems as future studies.
Comments are closed.