Next Article in Journal
Machine Learning and IoT Applied to Cardiovascular Diseases Identification through Heart Sounds: A Literature Review
Previous Article in Journal
Revising the Classic Computing Paradigm and Its Technological Implementations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

COVID-19 Contact Tracing and Detection-Based on Blockchain Technology

1
Department of Computer Science, Higher Institute of Computer Science and Information Systems—Culture & Science City, Cairo 11765, Egypt
2
College of Computing and Information Technology (CCIT)-Arab Academy for Science, Technology, and Maritime Transport (AASTMT), Giza 12611, Egypt
3
Computer Science, VSB-Technical University of Ostrava, 70032 Ostrava, Czech Republic
4
Faculty of Computers and Artificial Intelligence, Cairo University, Giza 12613, Egypt
*
Authors to whom correspondence should be addressed.
Scientific Research Group in Egypt (SRGE).
Informatics 2021, 8(4), 72; https://doi.org/10.3390/informatics8040072
Submission received: 15 September 2021 / Revised: 18 October 2021 / Accepted: 20 October 2021 / Published: 28 October 2021

Abstract

:
The fight against the COVID-19 pandemic still involves many struggles and challenges. The greatest challenge that most governments are currently facing is the lack of a precise, accurate, and automated mechanism for detecting and tracking new COVID-19 cases. In response to this challenge, this study proposes the first blockchain-based system, called the COVID-19 contact tracing system (CCTS), to verify, track, and detect new cases of COVID-19. The proposed system consists of four integrated components: an infection verifier subsystem, a mass surveillance subsystem, a P2P mobile application, and a blockchain platform for managing all transactions between the three subsystem models. To investigate the performance of the proposed system, CCTS has been simulated and tested against a created dataset consisting of 300 confirmed cases and 2539 contacts. Based on the metrics of the confusion matrix (i.e., recall, precision, accuracy, and F1 Score), the detection evaluation results proved that the proposed blockchain-based system achieved an average of accuracy of 75.79% and a false discovery rate (FDR) of 0.004 in recognizing persons in contact with COVID-19 patients within two different areas of infection covered by GPS. Moreover, the simulation results also demonstrated the success of the proposed system in performing self-estimation of infection probabilities and sending and receiving infection alerts in P2P communications in crowds of people by users. The infection probability results have been calculated using the binomial distribution function technique. This result can be considered unique compared with other similar systems in the literature. The new system could support governments, health authorities, and citizens in making critical decisions regarding infection detection, prediction, tracking, and avoiding the COVID-19 outbreak. Moreover, the functionality of the proposed CCTS can be adapted to work against any other similar pandemics in the future.

1. Introduction

The world is currently witnessing a dangerous transformation of the COVID-19 pandemic, rapidly threatening peoples’ lives and the global economy amid fears of sequential waves and genetic mutations of this pandemic. According to the last update of the World Health Organization (WHO), there have been 224,372,380 confirmed cases of COVID-19, including 4,625,006 deaths [1]. There is widespread agreement among economists that this pandemic will have substantial negative impacts on the global economy that extend to 2022. According to Statista, the global economy lost at least 2.4% of its gross domestic product (GDP) in 2020. For more clarification, in 2019, the global GDP was estimated at approximately 86.6 trillion US dollars, meaning that just a 6% drop in economic growth amounts to almost 3.5 trillion US dollars in lost economic output [2].
Despite the small increase in optimism with the decrease in the number of infected people in some countries and the approach of vaccine production, a resurgence of COVID-19 in 2021 could leave economies suffering in subsequent years and negate all efforts made to fight against its spread.
Much medical and preventive effort is still being made by health authorities and governments to fight the ongoing COVID-19 pandemic. Moreover, a variety of digital technologies are being used and are playing significant roles in controlling the spread of this pandemic and detecting the virus [3,4,5].
Artificial intelligence (AI) has many critical applications for fighting against the COVID-19 pandemic [6], including tracking, screening, and predicting current and future infected cases [7], early detection and diagnosis of infection [8], drug and vaccine development [9], and reducing the workload of healthcare workers [10,11].
The spread of COVID-19 can also be addressed as a data science issue [12]. Manipulating COVID-19 infection dynamics requires non-traditional techniques for processing COVID-19 data such as data collection and interpretation, modeling, prediction [13,14], and data visualization and communication.
The internet of things (IoT) is another technology that can be utilized for managing information transmission and monitoring healthcare systems during the COVID-19 epidemic [15,16]. The IoT is a helpful technology for customizing smart applications to monitor patients in quarantine with real-time information processing; this technology is called the cognitive internet of medical things (CIoMT) [17]. In addition to remote health monitoring, the CIoMT can help with diagnosis and dynamic tracking to control the disease growth. It can also assist in contact tracing, clustering, and mitigating the workload of the medical industry.
Blockchain is not neglected in this fight, as it now plays a pivotal role in assisting health authorities [18] and governments around the world to address many challenges of COVID-19 [19,20]. In the COVID-19 epidemic, it is necessary to think of non-traditional solutions for controlling the spread of COVID-19 using blockchain as a critical emerging technology. The unique features of blockchain, such as P2P communication, time stamping, data transparency, trusted and secure transactions, and real-time processing, make it a superior technology for many healthcare system services, especially with the recent COVID-19 pandemic. Blockchain can provide several services compared to traditional and similar techniques, such as databases or cloud computing. For instance, health data security and privacy in patient monitoring provide a single source of truth about the infected cases in real-time, infection data screening and tracking, and significant recommendations for the decision support systems (DSSs) of governments and health authorities.
The greatest challenge that most governments are currently facing is the lack of a precise and automated mechanism for detecting infected cases and identifying the related contact cases of COVID-19. Moreover, people lack a system that can provide P2P alerts about nearby infected persons or public places that infected persons have accessed. The large population increase and the spread of overcrowding in countries make it an urgent need for such a proposed system. Moreover, most hospitals and health authorities in most countries lack a digital system that can monitor the spread of infection in real-time and obtain real statistics regarding the number of infected people. This problem is called COVID-19 contact tracing [19]. These limitations make the proposed system in this study an important solution to fight against COVID-19 growth.
Little research effort has been made, and immature and incomplete systems have been used to solve this problem. All current methods introduced for solving this problem depend on developing mobile applications based on Bluetooth technology. The purpose of these apps is to notify persons when they may have come in contact with an infected person or allow the local health authority to give persons timely care and guidance to protect them and those around them when they are in close contact with others in the same area [21,22,23,24]. However, there are some critical limitations of Bluetooth technology used in the recent COVID-19 Apps. Most of these limits are related to security and communication bandwidth, which means that the Bluetooth apps are not the most optimal ones to solve the COVID-19 contact-tracing problem.
In response to the problem, and due to the detected limitations of recent COVID-19 mobile applications, this study aims to introduce the first blockchain system that can be used through a novel P2P mobile application to solve this problem. The proposed system is called the COVID-19 contact tracing system (CCTS). The proposed system consists of four integrated components:
(1)
Blockchain platform: used to digitally store the confirmed COVID-19 cases in a sequence of secured blocks in real-time.
(2)
Mass surveillance subsystem: used to track all citizens’ behavior and motion patterns in crowded regions.
(3)
Infection verifier subsystem: used to verify COVID-19 infection instances
(4)
P2P mobile application: used by users to estimate infection probability, and for detecting unknown infected cases in crowded regions.
The back end of CCTS includes a blockchain platform, the infection verification system, and the mass surveillance system. The front end involves the P2P mobile application. These components work together in a coherent and automated fashion to achieve the following objectives:
(1)
Self-estimation of the COVID-19 infection probability by end users.
(2)
Detection of new COVID-19 cases.
(3)
Sending and receiving infection alerts in P2P communications within crowds.
The rest of this paper is organized as follows. Section 2 presents a literature review. Section 3 discusses the proposed blockchain system, the COVID-19 contact tracing system (CCTS). Section 4 presents the design and implementation features. Section 5 presents the evaluation and experimental results. Section 6 discusses the obtained results and clarifies the proposed system’s strengths and weaknesses compared with other systems in the literature. Section 7 presents the conclusion of this study.

2. Literature Review

The literature on detecting and tracking cases of the COVID has highlighted various techniques that depend on different digital technologies. However, a relatively small body of literature focuses on automatically detecting and tracking cases of COVID-19 using blockchain technology [25]. The literature has introduced some AI algorithms for detecting infected cases based only on deep learning algorithms and lung-X-ray image processing [26,27,28]. Many studies have used deep convolutional neural networks to detect COVID-19 from chest X-ray images [27,29].
Other studies have used capsule networks and hierarchal learning to develop new artificial neural network algorithms for detecting the COVID-19 virus from chest X-ray images [30,31]. Although these studies achieved promising results regarding the detection accuracy, sensitivity, and specificity, the dependence on lung X-ray images for detecting the COVID-19 virus means that these studies are not useful in the early detection of COVID-19 before it infects the lungs of the patient. Moreover, these studies are not adequate for precisely tracking the actual spread and infection dynamics. Therefore, early detection of infected cases and contacts needs other technologies instead of depending on X-ray chest image processing techniques to detect COVID-19 patients.
An exciting solution for this challenge is to develop smartphone apps or portable medical apps to detect and monitor infected patients in the early stages of infection. Imran et al. [32] developed an AI application called AI4COVID-19 for preliminary diagnosis of COVID-19 from cough samples. The authors addressed this challenge by studying the differences in pathomorphological alterations in the respiratory system created by COVID-19 infection compared to other respiratory infections. This provided a screening and testing tool that is deployable anytime, anywhere, and by anyone. It can also be used as a clinical decision assistance tool. However, this app is not sufficiently mature due to some limitations regarding the quantity and quality of the training and testing data and the difficulty of extracting cough samples’ valid features. This issue can cause some overlaps and invalid diagnoses of COVID-19
Other smartphone applications have been developed for early detection and tracking of infected persons based on smartphone communications between the individuals and other citizens [33,34], as well as monitoring the effects of human mobility restrictions on the infection dynamics of COVID-19 [35]. Most of the mobile apps developed for detecting and tracking infected persons depend on using Bluetooth technology to notify users when they have contacted an infected person. Google and Apple cooperated in deploying a new service that would let users know when they have come into contact with someone who has COVID-19 based on smartphone communications [36]. This new technology would depend on the “exposure notification” tool and Bluetooth radios within smartphones to notify the public when they contact an infected person. If a confirmed case tests positive for COVID-19, public health authorities could be alerted through the new mobile service. Public health apps would notify anyone whose smartphones had come close to the infected person’s phone in the previous 14 days.
The Singapore Trace Together app [22] is another Bluetooth-based contact tracing application that has been launched by the Singapore government [37]. This application notifies a person quickly if they have been exposed to COVID-19 through close contact with other Trace Together users by exchanging short-distance Bluetooth signals between phones. A similar Bluetooth-based application in the UK, UK NHS Contact Tracing was planned to be used in England after initial trials on the Isle of Wight [38]. Unfortunately, this App has not yet been completed since it has many major technical flaws that mean it does not work correctly. However, the government has said it would pivot to using Apple and Google’s code to rebuild it [39].
Although these applications have tried to utilize the advantages of Bluetooth technology to perform contact tracing of COVID-19, some Bluetooth technology limitations mean that it is not the optimal solution for solving this problem. These limitations can be categorized as follows:
  • Bluetooth allows mobile phones to lose connection in certain conditions.
  • Bluetooth has a lower bandwidth than WiFi.
  • Bluetooth allows only short-range communication between devices.
  • Security of Bluetooth is a key challenge, and Bluetooth connections can be hacked.
Quick response (QR) code-based applications are another technology that has been used in China. The idea behind this app is to determine whether citizens should be quarantined or allowed into subways, malls, and other public spaces based on relational cross-matching by scanning the QR code [40]. However, the QR code may become distorted, which can lead to improper reading by devices. Additionally, inappropriate designs and formatting can make QR codes un-scannable.
Some studies have started to use blockchain to develop new applications for addressing the contact-tracing problem for the COVID-19 pandemic. BeepTrace [41] is an initial blockchain scheme proposed for addressing the critical privacy-preserving challenge in digital contact tracing for the COVID-19 epidemic. BeepTrace also depends on Bluetooth technology, GPS, and WiFi for better tracing performance, maximizing privacy preservation [42], and making an efficient network for contact tracing. However, this scheme focuses only on solving the privacy-preservation problem in previous contact tracing apps by integrating blockchain with those applications. Moreover, it is still in its early stages of development and has not yet been peer-reviewed.

3. The Proposed COVID-19-Contact Tracing System (CCTS)

As a response to the limitations stated previously in developed mobile apps for addressing the COVID-19 contact tracing problem [36,37,39,40,41], this study introduces the first blockchain system for solving this problem, the COVID-19 Contact Tracing System (CCTS). The proposed system can be developed based on four subsystem models as we proposed in our initial work [25]:
  • Blockchain platform: used to digitally store the confirmed COVID-19 cases in a sequence of secured blocks in real-time.
  • Mass surveillance subsystem: used to track all citizens’ behavior and motion patterns in crowded regions to detect the contacts in the last 14 days.
  • Infection verifier subsystem: used to verify the infection instances (i.e., contact persons) to confirm the infection transferee from a confirmed COVID-19 case to a contact person.
  • P2P mobile application: used by citizens to perform two tasks: (1) self-estimation of infection probability, and (2) detection of unknown infected cases in crowd regions.
The four subsystems work together in an integrated, coherent, and automated fashion. The general architectural model of the proposed system, CCTS, is described in Figure 1. The back end of CCTS includes a blockchain platform, a mass surveillance subsystem, and an infection verifier. The front end includes a P2P mobile application.

3.1. The Blockchain Platform

A blockchain platform can operate as a decentralized warehouse to digitally store confirmed COVID-19-cases in a sequence of blocks in real-time. The time stamping, P2P design, and real-time tracking properties of blockchain make it an effective technique for digitally saving and monitoring confirmed COVID-19 cases. These important features of blockchain make it a better solution for detecting and tracking infected cases of COVID-19 than the traditional techniques such as database and cloud computing that depend on a centralized design and low transactions. In the proposed CCTS model, blockchain works as a key player that manages, stores, monitors, secures, and authenticates all transactions in real-time between the blockchain and the mass surveillance subsystem, infection verifier subsystem, and P2P mobile app. To store confirmed cases of COVID-19 in blockchain, we propose digitally representing the confirmed cases (i.e., the infection sources) using regular expressions. Each case is associated with an ID called an infection pattern. In addition, the contact persons and the infected places (e.g., markets, stations, shops, schools, etc.) accessed by a confirmed case can be digitally represented as infection instances. The basic advantage of using a regular expression for specifying the infection patterns is the possibility of deriving a wide range of instances for each pattern. Hence, this feature is an excellent motivation to specify the unknown COVID-19 cases (i.e., contacts). For instance, in Figure 2, the regular expression P | B a b * + c can be used to specify the infection pattern of a confirmed case of COVID-19. This pattern can yield many infection instances that digitally represent the infected persons and infected places in the form “Pabc”, “Pabbc”, “Pabbbc”, “Pabbbbc”, …, “Babc”, “Babbc”, “Babbbc”, “Babbbbc”, … etc. The infection instances that start with ‘P ‘represent infected persons, while those that begin with ‘B’ represent infected places.
The confirmed cases of COVID-19 can be stored in the blockchain as a sequence of secured blocks. These blocks can be created according to the following steps:
Step 0: The initial block, Block 0 (called a genesis block), is created by default to store the first confirmed COVID-19 cases that have been recognized in the pandemic. Each case is stored using a unique infection pattern (see Figure 2). The blockchain then asks the mass surveillance system to return the contacts, and infected places related to the detected confirmed cases within the last 14 days. The returned data is represented in a set of infection instances for each infection pattern stored in the genesis block.
Step 1: The set of detected contacts and infected places (i.e., infection instances) are then encapsulated to store them in a new block. This block must be verified firstly by the blockchain administrator staff (called miners). The miners execute some verification trials according to the blockchain algorithm to obtain the valid block-hash code (BHC) as formulated in Equation (1):
BHC = Hash ( MR + P + IS   Code )
where BHC is the block hash code, MR is the Merkle root value (i.e., a unique fingerprint for all inserted data into the block in the form of Merkle root code), P is the previous block’s hash code, and IS Code is a random value representing an arbitrary value of an infection code (the infection code is a random value generated by the blockchain system to notify the contacts with the infection details by sending SMS messages to their P2P mobile apps contain the infection codes).
Step 2: The IS Code (i.e., infection code) is then tested many times (one test for each code) by the miners to obtain the valid hash code of that block (i.e., BHC). The Miners repeat this process by trying new infection codes—many times until they obtain the IS Code that meets the target block hash code BHC.
Step 3: Once a specific miner has succeeded in obtaining the valid block’s hash code (i.e., BHC), he broadcasts this block and its hash code (BHC value) to the rest of the miners to verify its validity by performing a reverse hashing calculation as in Equation (2). If the remaining miners confirm the new block’s validity, all peers will be notified that a new block has been added to the blockchain. Then, the blockchain state is updated with the added block at all nodes in the network.
IS   Code = Hash 1 ( MR + P + BHC )
Figure 3 depicts how blockchain is constructed as a sequence of new hash blocks. Each block includes a new set of detected confirmed cases of COVID-19. Each block is specified using the Merkle root (MR), previous block hash code (P), IS-Code, and the block hash code (BHC).

3.2. Mass Surveillance System

The second component in the proposed CCTS is the mass surveillance subsystem. This subsystem can be used to track all citizens’ behavior and motion patterns by installing many nodes of the mass surveillance system in all cities, streets, and public places, as depicted in Figure 4. It can be utilized to detect, track, and monitor whether contacts are responding to the blockchain instructions. This can be achieved by performing two essential functions:
(1)
Detecting and tracking function: This function can be invoked by the mass surveillance subsystem to track the behaviors of the confirmed COVID-19 cases stored in the blockchain during the last 14 days. Therefore, this function can monitor and detect the nearby contacts and the set of infected places that COVID-19 patients accessed.
(2)
Blockchain feedback function: The mass surveillance system invokes sending the detected set of contacts and infected places to the blockchain (i.e., tracking results). Then, the blockchain engine digitizes the received set in the form of infection instances encapsulated as a new block after verifying its validity by the set of miners.
Figure 5 depicts how the mass surveillance subsystem operates based on the two functions for recognizing the contacts and infected places based on an oriented blockchain request. Blockchain instructs the mass surveillance subsystem to find the contacts and infected places of a specific confirmed COVID-19 case. The mass surveillance subsystem translates this input data into a tracking order forwarded to the detecting and tracking function to process it. After finding the contact persons and infected places within the last 14 days, the tracking results are sent to the blockchain feedback function that translates it as a set of detected infection instances (i.e., contacts and infected places) and forwards them to store them in the blockchain as new probable cases of COVID-19.

3.3. Infection Verifier Subsystem

Verifying the infection instances to confirm infection transfer from a confirmed COVID-19 case to a contact is an important requirement of the proposed system, CCTS. This requirement can be implemented by a finite automaton model, the best recognition verification technique for recognizing patterns. A unique finite automata model is responsible for verifying all infection instances derived from the corresponding infection pattern (i.e., confirmed COVID-19 case) stored in the blockchain. When new contacts are recognized as new COVID-19 cases, the blockchain engine sends a notification message (i.e., SMS). This message contains an infection code that a person can input to the infection verifier subsystem to verify his infection. If the infection verifier accepts the infection code entered by a person, this person has a high infection probability with COVID-19. Figure 6 shows how the infection verifier recognizes the infected instances (i.e., unknown infected contacts and places) that correspond to the infection pattern, (0*| 1*) 0 (1*| 0) 1 using a finite automata model.
Two advantages of verifying the COVID-19 infections based on the infection code are:
(1)
A specific person can verify his infection by themselves using an infection verification model implemented in the system’s back end.
(2)
The infection codes used in P2P communications among all citizens using the P2P-mobile application subsystem are used to identify the probably infected persons and estimate the infection probabilities of others.

3.4. P2P Mobile Application

The P2P mobile application is utilized in the proposed CCTS to work as the front end of this system. The novel design of the P2P-mobile app can provide the citizens with two significant services:
(1)
Self-estimation of infection probability: This service enables persons to evaluate their COVID-19 infection probability by themselves digitally. This objective can be achieved by built-in communication between P2P mobile applications, the blockchain platform, the mass surveillance subsystem, and the infection verifier subsystem. The process of how a person can digitally evaluate the infection probability is depicted in Figure 7. When a newly confirmed COVID-19 case is registered as a new infection pattern in the blockchain, the mass-surveillance subsystem detects all the corresponding infection instances (i.e., contacts), and the blockchain platform sends streams of infection codes (in the form of SMS messages) to all detected persons (i.e., contacts). Using the P2P mobile application, each person may receive many infection codes in his inbox from the blockchain. The person can verify these codes by the automated connection with the infection verifier subsystem. If it accepts the infection code, this means that the person has a high infection probability, and the Infection verifier returns detailed information about the infection (i.e., date and time, location, source of infection, etc.) to the user. This scenario is executed through the hidden communication between the mass surveillance and the infection verifier subsystem. Using the P2P-Mobile App, each person may receive many infection codes in their inbox from the blockchain. The more infection codes they receive, the more COVID-19 cases they have contracted with. For example, if they receive 10 infection codes in their inbox, this means that 10 confirmed COVID-19 cases have probably infected them. Using this feature of the P2P mobile application, the infection probability of each user can be estimated automatically using the binomial distribution function. This technique specifies the number of times (x) that an event occurs in independent trials, where p is the probability of occurring in a single trial. Hence, the binomial distribution function is an appropriate technique that can be used to estimate the infection probability as formulated in Equation (3):
P ( X ) = N ! X ! × ( N X ) ! × P X × Q N X
where, P ( X ) is the infection probability function, and N is the total number of infection codes in the inbox of each user. X is the number of infections that occur, where X = 0 , 1 , 2 , 3 , N . P X is the probability of successful infection occurrences, and Q N X is the probability of unsuccessful infection occurrences.
(2)
Detection of newly infected cases within a crowd: The peer-to-peer communication of the P2P mobile app with the back-end subsystems can also enable persons to detect and predict newly infected cases within crowded regions. This goal can be achieved by exchanging the infection probability rates between persons using the P2P mobile app. In other words, when a user enters a crowded area of people, or a specific person is close to him, his P2P mobile App will automatically receive a set of warning messages from the set of all nearby person(s). The received warning messages contain the infection probability percentages of all nearby persons in the same domain. In this way, a person can check all received warning messages (i.e., infection probability rates) and use his P2P mobile app to arrange them according to the highest infection probability rate automatically. Hence, the person can take the required precautions against highly probable infected cases detected in the same domain. This scenario is depicted in Figure 8 that explains how users can detect probable infected cases within a crowded area of people using his P2P mobile application through hidden communication established with the blockchain system.

4. CCTS Implementation

To implement the proposed CCTS subsystems, we use various software tools:
(1)
Ethereum is used for developing the blockchain subsystem in the proposed CCTS. Ethereum is an open-source, globally decentralized blockchain computing platform that can implement and execute programs in smart contracts. It uses blockchain to store and synchronize the system’s state changes (i.e., blocks), along with a cryptocurrency called ether. The main advantages of Ethereum are that it enables developers to build powerful blockchain applications with high availability, suitability, neutrality, transparency, and security.
(2)
Java and Firebase were used to develop the P2P mobile App and store and sync COVID-19 data between different users in real-time. Firebase is Google’s mobile platform that helps developers quickly develop high-quality apps and grow their business. The main advantages of using the Firebase tool are its ability to implement server-side apps, save/read files to/from the cloud, secure data, build big databases, and send notifications and alerts in real-time communication.
(3)
Python and Mongo DB were used for simulating COVID-19 data and analyzing GPS data.
Figure 9 shows three screens of the main interface of the developed P2P mobile app. The Home screen in Figure 9b prompts the user with real-time COVID-19 spread status statistics. The Inbox screen in Figure 9c prompts the user to list all received infection codes used to estimate the infection probability. The Alerts screen in Figure 9e alerts the user with infection probability values of the nearby persons in the same area where the user is found. This screen prompts the user with four types of information, the identity of the nearby infected persons in the same area (e.g., national ID, personal photo, address, phone number, etc.), their infection probability, and a GPS map of the place of infection with dots representing the infected persons in the same area. The Infection Detail screen in Figure 9f prompts the user with all the information and details of infection, such as the source of infection, date, and place of infection on a GPS map.

5. Evaluation and Experimental Results

To evaluate the efficiency of the proposed system, CTSS, we simulated its functionality on a created dataset consisting of 300 cases labeled as confirmed COVID-19 cases and 300 cases labeled as contacts (without consideration of contact duplication). Each confirmed case has a different set of contacts who were met in the last 14 days. Therefore, the total number of contacts is 2539 (with consideration of contact duplication). We had to use created data because we could not find a benchmark dataset suitable for the functionality of the proposed system. The created dataset involves 300 confirmed cases of COVID-19, which have been organized into 10 Excel sheets. Each sheet involves 30 cases. The rows represent the number of contacts for each confirmed case of COVID-19, and the column represents the set of confirmed cases for each contact person. Cell values represent a specific person’s infection day within the last 14 days (all values are between 1 to 14). For example, Case ij = 10 means that the confirmed case i has met the contact person j on the 10th day within the last 14 days. Also, there is a location history for each person to track infection among all users. The set of contacts and their location history data are presented in two excel files: dataset and location history.
The performance of the proposed system was evaluated against a set of metrics that measure the efficiency of the proposed CCTS in recognizing the unknown infected COVID-19 cases and estimating persons’ infection probabilities. The selected metrics depend on a set of variables, true positive (TP), true negative (TN), false positive (FP), and false-negative (FN). According to the results obtained for these variables, the evaluation metrics of CCTS can be calculated as depicted in Equations (4)–(12). These metrics evaluate the recall (or sensitivity), precision, specificity, negative predictive value (NPV), false-negative rate (FNR), false-positive rate (FPR), false discovery rate (FDR), accuracy, and F1-score, respectively.
Recall   ( TPR ) = TP TP + FN
Precision = TP TP + FP
Specificity   ( TNR ) = TN TN + FP
NPV = TN TN + FN
FNR = FN FN + TP
FPR = FP FP + TN
FDR = FP FP + TP
Accuracy = TP + TN TP + TN + FP + FN
F 1 Score = 2 TP 2 TP + FP + FN

5.1. Results of Detecting Contacts within a 2 m2 Area of Infection by GPS

After simulating the proposed CCTS’s functionality on 2539 contacts distributed evenly across each confirmed COVID-19-case, each confirmed case has n contact persons within a 2 m2 area covered by the GPS. Table 1 presents the evaluation results of calculating the metrics formulated in Equations (4)–(12). These results are calculated for the first 150 contacts portioned into five groups of confirmed cases (i.e., from Case 1 to Case 150). Table 2 presents the simulation results of the second 150 contacts distributed across another five groups of confirmed cases (i.e., from Case 151 to Case 300). Table 3 summarizes the averages of the obtained results of simulating the proposed CCTS on all contacts.

5.2. Results of Detecting Contacts within a 5 m2 Area of Infection by GPS

To improve the detection of the set of contacts for each confirmed COVID-19 case, we updated the GPS settings in the proposed CCTS to cover a 5 m2 area of search instead of only 2 m2. Then the simulation process is repeated with the same dataset. The goal of this update is to increase the TP and decrease the FN of the proposed system. This will lead to more efficiency and accuracy in detecting the set of contacts within a contagion region of COVID-19. Table 4 presents the simulation results of the second round of the experiment for detecting the first 150 contacts (i.e., Cases 1–150) within a 5 m2 area by GPS. Similarly, Table 5 shows the simulation results of detecting the second 150 contacts (i.e., Cases 151–300). Table 6 summarizes the averages of the obtained results of simulating the proposed CCTS on the total contacts in the dataset within a 5 m2 area by GPS. Figure 10 compares the recall, precision, F1-score, and accuracy of the proposed CCTS when simulated within a 2 m2 area and a 5 m2 area of infection by GPS.

5.3. Infection Probability Evaluation of Contacts

One of the interesting features of the proposed CCTS is its ability to automatically evaluate the infection probability of a contact covered by the GPS in an infected area. Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20 depict the average infection probability of 300 contacts according to the detected number of confirmed cases of COVID-19 existing around each person within the last 14 days. The 300 contacts are divided into ten groups, and each group has 30 persons in the dataset.

6. Discussion

Prior work has studied the importance of detecting and tracking the infected COVID-19 pandemic cases based on developing mobile application systems. However, these studies did not introduce a complete and mature solution to solve this problem effectively and completely [33,34,35,36,37,38,41].
Moreover, those studies investigated the possibility of using Bluetooth technology to develop mobile applications able to detect and track COVID-19 cases. However, Bluetooth technology has many weaknesses regarding communication efficiency and security, as mentioned previously in the introduction. Moreover, very little was found in the literature on the question of utilizing blockchain technology to develop new mobile applications able to solve the COVID-19 contact tracing problem better than Bluetooth-based applications [41]. The present study was designed to investigate the feasibility of utilizing blockchain technology to develop a blockchain-based system called COVID-19 Contact Tracing System (CCTS) to detect and track cases of COVID-19 and their contacts. The CCTS consists of four subsystems, a blockchain platform, a mass surveillance subsystem, an infection verifier subsystem, and a P2P mobile application. The four subsystems work together in a coherent and automated way to detect and track cases of the COVID-19 pandemic within an infection region covered by GPS. The major contributions of the proposed CCTS can be categorized as follows:
(1)
Enabling self-estimation of COVID-19 infection probability by end-users using a mobile app
(2)
Detecting and tracking the unknown cases of COVID-19
(3)
Sending and receiving infection alerts among users in P2P communications within crowds for avoiding infection occurrences.
At the decision support level, the proposed system can assist governments and health authorities in making critical decisions based on transparent data provided by the blockchain, such as infection dynamics, infection statistics, and infection growth. The communication between the blockchain and mass surveillance systems results in new infection data of new unknown cases of COVID-19, which are then registered in the blockchain. Moreover, P2P communication established between the blockchain and P2P mobile apps will enable citizens to send and receive messages in the form of infection alerts using their mobile apps. In addition, users can automatically calculate and estimate their infection probability through P2P communication conducted between the P2P mobile apps and the infection verifier system.
The current study found that the proposed CCTS achieved satisfying results when simulating its functionality within a 2 m2 area of infection covered by GPS, and achieved optimal results when simulated within a 5 m2 area of infection covered by the GPS, as depicted in Figure 10. This result means that the proposed CCTS achieved greater accuracy, sensitivity, and precision in recognizing the contacts of a COVID-19 case within a 5 m2 area of infection covered by GPS than a 2 m2 area.
This also demonstrates that the detection and tracking functions of the proposed CCTS work better within wide areas than they do in narrow ones, based on GPS coverage. However, in general, the proposed CCTS achieved an accuracy of 75.7% in recognizing contacts who are predicted to be infected with COVID-19.
It is also important to demonstrate that, in the two simulation rounds we executed, we observed a clear difference in detecting contacts of COVID-19 within two GPS areas. The results proved that the wider the GPS area is, the more accurate CCTS is in detecting contacts of COVID-19. Therefore, the CCTS achieved good results in detecting contacts of COVID-19 within a 5 m2 area a 2 m2 area of infection covered by GPS. This suggests that the proposed CCTS needs more investigation with additional simulation experiments within more areas of infections covered by GPS. This will lead to more data about the system’s accuracy in recognizing contacts of COVID-19 in different situations.
Another interesting finding is the effectiveness of the proposed CCTS in enabling the individuals to automatically make a self-estimation of the infection probability based on the number of infection codes received in the inbox of their P2P mobile app. Moreover, it can exchange infection alerts between persons close to each other within a GPS area. Therefore, the results presented in Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18, Figure 19 and Figure 20 show the calculation of the average of infection probability P ( X ) (see Equation (3)) of the 300 cases of contacts based on the number of infection codes received in their mobile app’s inbox. For example, in Figure 20, contact #300 has an average infection probability of 10%. This result is calculated based on nine infection codes received in his/her mobile app’s inbox. Hence, the CCTS automatically applies the infection probability formula in Equation (3) and then calculates the average of infection probability based on the number of infection codes, N , as in Equation (13). This means that the CCTS calculates the average value of P ( 0 ) ,   P ( 1 ) ,   P ( 2 ) t o   P ( 9 ) that equates to 10%. Similarly, the average infection probability of the other contacts in the dataset has been calculated as in Equation (13):
A V G ( P ( x ) ) = x = 0 x = N   P ( x i ) N
These findings broadly support the work of other studies [33,34,35,36,37,38] in developing mobile applications that can assist governments and health authorities in detecting and tracking cases of the COVID-19 pandemic. On the other hand, this study may be considered the first work that depends on blockchain technology for solving this problem in a complete and mature scheme. Table 7 compares the proposed CCTS and other competitive applications in the literature.
According to these findings, we can infer that the proposed CCTS is a promising blockchain-based system to fight against the COVID-19 pandemic and other coming outbreaks.
On the other hand, we have to clarify that the proposed system, CCTS has been simulated in-house and has not been certified and deployed to be available with all citizens and decision-makers. Therefore, these findings must be interpreted with caution because they depend on the blockchain network configuration, Wi-Fi communications, mass surveillance systems configuration, and the accuracy of GPS coverage to specific areas of crowds of people. Moreover, it is important to bear in mind the privacy preservation challenge as the motion of citizens is hypothesized to be monitored by a surveillance system and this requires configuring the mass surveillance systems with security and encryption constraints [43].
Despite the mentioned limitations, we can say that the proposed system is expected to be a promising technique to assist governments, health authorities, and citizens to make critical decisions regarding infection detection, prediction, tracking, and avoidance of COVID-19 outbreaks. Moreover, the system can be enhanced to serve additional participants and medical stakeholders if it is augmented with additional technologies such as artificial intelligence and the internet of things (IoT). In addition, since the proposed system is intended to serve the governments and health authorities, it is necessary to admit that it requires more improvements at the level of P2P communications and more dependence on, and utilization of, blockchain technology. However, with the entrance of industry 6-technologies, most countries recently sought to create more smart cities and hospitals that depend on emergent technologies such as AI, IoT, and blockchain technology. This will enhance the benefit opportunities of using the proposed CCTS at all levels.

7. Conclusions

The purpose of the current study was to investigate the effectiveness of utilizing blockchain technology to develop a new system able to fight against the spread of the COVID-19 pandemic. The study proposed a new system called the COVID-19 Contact Tracing System (CCTS) to address the COVID-19 contact tracing problem. The proposed CCTS can detect and track COVID-19 cases based on integrating four subsystems: a blockchain platform, a mass surveillance subsystem, an infection verifier subsystem, and a P2P mobile application, which work together in a coherent and automated way. The most prominent finding to emerge from this study is the ability of CCTS to recognize unknown cases of COVID-19 (i.e., contacts) with an accuracy of 75.79%, and a false discovery rate (FDR) of 0.004, which represent unique results compared to other systems in the literature.
The second interesting finding of this study is the success of the proposed CCTS in enabling individuals to perform self-estimation of infection probability and sending and receiving infection alerts through P2P communications within crowds of people to avoid the infection risk. The evidence from this study suggests that more blockchain-based applications can be developed to suppress the spread of epidemic diseases and early detection of unknown infected cases through a P2P mobile app.
Several questions remain to be answered regarding the proposed system. The system’s functionality requires more simulation in different data patterns for achieving more accuracy in detecting contacts of COVID-19 within different GPS areas. Moreover, preserving people’s privacy against mass surveillance subsystem cameras is a significant challenge. In addition, enhancing the CCTS’s intelligence using deep learning techniques may increase the efficiency and accuracy in recognizing COVID-19-contacts. These issues will be investigated to produce the next version of this promising blockchain-based system in the future.

Author Contributions

Conceptualization, M.T.; data curation, M.T. and E.G.; formal analysis, M.T.; investigation, M.T.; methodology, M.T.; senior administration, A.E.H.; software, E.G.; supervision, A.E.H.; validation, M.T. and A.E.H.; visualization, M.T.; writing—original draft, M.T.; writing—review & editing, V.S. All authors have read and agreed to the published version of the manuscript.

Funding

This publication was realized with the support of the Operational Program Integrated Infrastructure in the frame of the project: Intelligent technologies for the protection of health-care personnel in the front line and operation of medical facilities during spreading of disease COVID-19, code ITMS2014+: 313011ATQ5 and co-financed by the Europe Regional Development Found.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Institutional Review Board.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Exclude this statement since the study is supported by a simulated and created dataset. We have not downloaded it from a specific URL.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. World Health Organization. WHO Coronavirus Disease (COVID-19) Dashboard. Available online: https://covid19.who.int/ (accessed on 14 March 2021).
  2. Statista, Impact of the Coronavirus Pandemic on the Global Economy-Statistics & Facts. Available online: https://www.statista.com/topics/6139/covid-19-impact-on-the-global-economy/ (accessed on 2 August 2020).
  3. Whitelaw, S.; Mamas, M.A.; Topol, E.; Van Spall, H.G. Applications of digital technology in COVID-19 pandemic planning and response. Lancet Digit. Health 2020, 2, e435–e440. [Google Scholar] [CrossRef]
  4. Torous, J.; Myrick, K.J.; Rauseo-Ricupero, N.; Firth, J. Digital mental health and COVID-19: Using technology today to accelerate the curve on access and quality tomorrow. JMIR Ment. Health 2020, 7, e18848. [Google Scholar] [CrossRef]
  5. Kumar, A.; Gupta, P.K.; Srivastava, A. A review of modern technologies for tackling the COVID-19 pandemic. Diabetes & Metabolic Syndrome. Clin. Res. Rev. 2020, 14, 569–573. [Google Scholar]
  6. Lalmuanawma, S.; Hussain, J.; Chhakchhuak, L. Applications of machine learning and artificial intelligence for Covid-19 (SARS-CoV-2) pandemic: A review. Chaos Solitons Fractalsm 2020, 139, 110059. [Google Scholar] [CrossRef]
  7. Saba, A.I.; Elsheikh, A.H. Forecasting the prevalence of COVID-19 outbreak in Egypt using nonlinear autoregressive artificial neural networks. Process Saf. Environ. Prot. 2020, 141, 1–8. [Google Scholar] [CrossRef]
  8. Hassantabar, S.; Ahmadi, M.; Sharifi, A. Diagnosis and Detection of Infected Tissue of COVID-19 Patients Based on Lung X-Ray Image Using Convolutional Neural Network Approaches. Chaos Solitons Fractals 2020, 140, 110170. [Google Scholar] [CrossRef]
  9. Mohanty, S.; Rashid, M.H.; Mridul, M.; Mohanty, C.; Swayamsiddha, S. Application of Artificial Intelligence in COVID-19 drug repurposing. Diabetes Metab. Syndr. Clin. Res. Rev. 2020, 14, 1027–1031. [Google Scholar] [CrossRef]
  10. McCall, B. COVID-19 and artificial intelligence: Protecting healthcare workers and curbing the spread. Lancet Digit. Health 2020, 2, e166–e167. [Google Scholar] [CrossRef]
  11. Vaishya, R.; Javaid, M.; Khan, I.H.; Haleem, A. Artificial Intelligence (A.I.) applications for COVID-19 pandemic. Diabetes Metab. Syndr. Clin. Res. Rev. 2020, 14, 337–339. [Google Scholar] [CrossRef]
  12. Callaghan, S. COVID-19 Is a Data Science Issue. Patterns 2020, 1, 100022. [Google Scholar] [CrossRef]
  13. Kumar, A.; Rani, P.; Kumar, R.; Sharma, V.; Purohit, S.R. Data-driven modeling and prediction of COVID-19 infection in India and correlation analysis of the virus transmission with socio-economic factors. Diabetes Metab. Syndr. Clin. Res. Rev. 2020, 14, 1231–1240. [Google Scholar] [CrossRef] [PubMed]
  14. Liang, K. Mathematical model of infection kinetics and its analysis for COVID-19, SARS, and MERS. Infect. Genet. Evol. 2020, 82, 104306. [Google Scholar] [CrossRef] [PubMed]
  15. Singh, R.P.; Javaid, M.; Haleem, A.; Suman, R. Internet of things (IoT) applications to fight against COVID-19 pandemic. Diabetes Metab. Syndr. Clin. Res. Rev. 2020, 14, 521–524. [Google Scholar] [CrossRef]
  16. Aileni, R.M.; Suciu, G. IoMT: A blockchain perspective. In Decentralised Internet of Things; Khan, M., Quasim, M., Algarni, F., Alharthi, A., Eds.; Springer: Cham, Switzerland, 2020; Volume 71, pp. 199–215. [Google Scholar] [CrossRef]
  17. Swayamsiddha, S.; Mohanty, C. Application of cognitive Internet of Medical Things for COVID-19 pandemic. Diabetes Metab. Syndr. Clin. Res. Rev. 2020, 14, 911–915. [Google Scholar] [CrossRef]
  18. Zhang, P.; Schmidt, D.C.; White, J.; Lenz, G. Blockchain technology use cases in healthcare. Adv. Comput. 2018, 111, 1–41. [Google Scholar]
  19. Idrees, S.M.; Nowostawski, M.; Jameel, R. Blockchain-based digital contact tracing apps for COVID-19 pandemic management: Issues, challenges, solutions, and future directions. JMIR Med. Inform. 2021, 9, e25245. [Google Scholar] [CrossRef] [PubMed]
  20. Nguyen, D.C.; Ding, M.; Pathirana, P.N.; Seneviratne, A. Blockchain and AI-based solutions to combat coronavirus (COVID-19)-like epidemics: A survey. IEEE Access 2021, 9, 95730–99575. [Google Scholar] [CrossRef]
  21. CBS News. Apple and Google are Building a Tracking Tool to Tell People When They May Have Been Exposed to Coronavirus. Available online: https://www.cbsnews.com/news/coronavirus-apple-google-contact-tracing-tool-iphone-android/ (accessed on 6 August 2020).
  22. Koh, D. Singapore to Launch TraceTogether Token Device for COVID-19 Contact Tracing. Available online: https://www.mobihealthnews.com/news/asia-pacific/singapore-launch-tracetogether-token-device-covid-19-contact-tracing (accessed on 6 August 2020).
  23. Ian, L. The Security behind the NHS Contact Tracing App. Available online: https://www.ncsc.gov.uk/blog-post/security-behind-nhs-contact-tracing-app (accessed on 6 August 2020).
  24. Hernández-Orallo, E.; Calafate, C.T.; Cano, J.C.; Manzoni, P. Evaluating the effectiveness of COVID-19 Bluetooth-Based smartphone contact tracing applications. Appl. Sci. 2020, 10, 7113. [Google Scholar] [CrossRef]
  25. Torky, M.; Hassanien, A.E. COVID-19 blockchain framework: An innovative approach. arXiv 2020, arXiv:2004.06081. Available online: https://arxiv.org/abs/2004.06081 (accessed on 13 September 2021).
  26. Dong, D.; Tang, Z.; Wang, S.; Hui, H.; Gong, L.; Lu, Y.; Xue, Z.; Liao, H.; Chen, F.; Yang, F.; et al. The role of imaging in the detection and management of COVID-19: A review. IEEE Rev. Biomed. Eng. 2020, 14, 16–29. [Google Scholar] [CrossRef] [PubMed]
  27. Shibly, K.H.; Dey, S.K.; Islam, M.T.; Rahman, M.M. COVID faster R–CNN: A novel framework to Diagnose Novel Coronavirus Disease (COVID-19) in X-Ray images. Inform. Med. Unlocked 2020, 20, 100405. [Google Scholar] [CrossRef] [PubMed]
  28. Ozturk, T.; Talo, M.; Yildirim, E.A.; Baloglu, U.B.; Yildirim, O.; Acharya, U.R. Automated detection of COVID-19 cases using deep neural networks with X-ray images. Comput. Biol. Med. 2020, 121, 103792. [Google Scholar] [CrossRef]
  29. Khan, A.I.; Shah, J.L.; Bhat, M.M. Coronet: A deep neural network for detection and diagnosis of COVID-19 from chest x-ray images. Comput. Methods Programs BioMed. 2020, 196, 105581. [Google Scholar] [CrossRef] [PubMed]
  30. Toraman, S.; Alakuş, T.B.; Türkoğlu, İ. Convolutional CapsNet: A novel artificial neural network approach to detect COVID-19 disease from X-ray images using capsule net-works. Chaos Solitons Fractals 2020, 140, 110122. [Google Scholar] [CrossRef]
  31. Afshar, P.; Heidarian, S.; Naderkhani, F.; Oikonomou, A.; Plataniotis, K.N.; Mohammadi, A. Covid-caps: A capsule network-based framework for identification of covid-19 cases from x-ray images. Pattern Recognit. Lett. 2020, 138, 638–643. [Google Scholar] [CrossRef]
  32. Imran, A.; Posokhova, I.; Qureshi, H.N.; Masood, U.; Riaz, S.; Ali, K.; John, C.N.; Hussain, I.; Nabeel, M. AI4COVID-19: AI-enabled preliminary diagnosis for COVID-19 from cough samples via an app. Inform. Med. Unlocked 2020, 20, 100378. [Google Scholar] [CrossRef]
  33. Verhagen, L.M.; de Groot, R.; Lawrence, C.A.; Taljaard, J.; Cotton, M.F.; Rabie, H. COVID-19 response in low and middle-income countries: Don’t overlook the role of mobile phone communication. Int. J. Infect. Dis. 2020, 99, 334–337. [Google Scholar] [CrossRef]
  34. Chidambaram, S.; Erridge, S.; Kinross, J.; Purkayastha, S. Observational study of U.K. mobile health apps for COVID-19. Lancet Digit. Health 2020, 2, e388–e390. [Google Scholar] [CrossRef]
  35. Zhou, Y.; Xu, R.; Hu, D.; Yue, Y.; Li, Q.; Xia, J. Effects of human mobility restrictions on the spread of COVID-19 in Shenzhen, China: A modeling study using mobile phone data. Lancet Digit. Health 2020, 2, e417–e424. [Google Scholar] [CrossRef]
  36. Reed, A.; Drew, H. Apple and Google Are Building a Virus-Tracking System. Health Officials Say It Will Be Practically Useless. Available online: https://www.washingtonpost.com/technology/2020/05/15/app-apple-google-virus/ (accessed on 11 August 2020).
  37. Dean, K. The Singapore Government Launches a New App for Contact Tracing to Combat the Spread of COVID-19. Available online: https://www.mobihealthnews.com/news/asia-pacific/singapore-government-launches-new-app-contact-tracing-combat-spread-covid-19 (accessed on 11 August 2020).
  38. BBC News. Coronavirus: NHS Contact-Tracing App in Place by End of the Month, Says the Minister. Available online: https://www.bbc.com/news/uk-52931232 (accessed on 12 August 2020).
  39. Matt, B. Everything You Need to Know about the NHS Test, Track and Trace App. Available online: https://www.wired.co.uk/article/nhs-covid-19-tracking-app-contact-tracing (accessed on 12 August 2020).
  40. Mozur, P.; Zhong, R.; Krolik, A. In Coronavirus Fight, China Gives Citizens a Color Code, With Red Flags. Available online: https://www.nytimes.com/2020/03/01/business/china-coronavirus-surveillance.html (accessed on 11 August 2020).
  41. Xu, H.; Zhang, L.; Onireti, O.; Fang, Y.; Buchanan, W.J.; Imran, M.A. Beeptrace: Blockchain-enabled privacy-preserving contact tracing for covid-19 pandemic and beyond. IEEE Internet Things J. 2020, 8, 3915–3929. [Google Scholar] [CrossRef]
  42. Ikeda, K. Security and privacy of blockchain and quantum computation. Adv. Comput. 2018, 111, 199–228. [Google Scholar]
  43. Axon, L.; Goldsmith, M.; Creese, S. Privacy requirements in cybersecurity applications of blockchain. Adv. Comput. 2018, 111, 229–278. [Google Scholar]
Figure 1. The proposed COVID-19 contact tracing system (CCTS) model.
Figure 1. The proposed COVID-19 contact tracing system (CCTS) model.
Informatics 08 00072 g001
Figure 2. A proposed model representing the infection patterns and the corresponding infection. Instances using the regular expression technique: (a) infected persons and (b) infected buildings.
Figure 2. A proposed model representing the infection patterns and the corresponding infection. Instances using the regular expression technique: (a) infected persons and (b) infected buildings.
Informatics 08 00072 g002
Figure 3. A proposed model of the blockchain as a sequence of blocks. Each block contains an identified number of confirmed COVID-19 cases.
Figure 3. A proposed model of the blockchain as a sequence of blocks. Each block contains an identified number of confirmed COVID-19 cases.
Informatics 08 00072 g003
Figure 4. A proposed model of the mass surveillance system.
Figure 4. A proposed model of the mass surveillance system.
Informatics 08 00072 g004
Figure 5. A proposed model of the mass surveillance subsystem functionality for recognizing the contacts relative to confirmed COVID-19 cases stored in the blockchain.
Figure 5. A proposed model of the mass surveillance subsystem functionality for recognizing the contacts relative to confirmed COVID-19 cases stored in the blockchain.
Informatics 08 00072 g005
Figure 6. Proposed model of the COVID-19 infection verifier subsystem.
Figure 6. Proposed model of the COVID-19 infection verifier subsystem.
Informatics 08 00072 g006
Figure 7. A proposed model depicting the self-infection verification process using a P2P mobile application.
Figure 7. A proposed model depicting the self-infection verification process using a P2P mobile application.
Informatics 08 00072 g007
Figure 8. A proposed model depicting the detection of probable COVID-19 cases within a cluster of people.
Figure 8. A proposed model depicting the detection of probable COVID-19 cases within a cluster of people.
Informatics 08 00072 g008
Figure 9. A COVID-19 contact tracing system (CCTS) app: (a) Open screen, (b) Home screen, (c) Menu screen, (d) Inbox screen, (e) Alerts screen, and (f) Infection Details screen.
Figure 9. A COVID-19 contact tracing system (CCTS) app: (a) Open screen, (b) Home screen, (c) Menu screen, (d) Inbox screen, (e) Alerts screen, and (f) Infection Details screen.
Informatics 08 00072 g009
Figure 10. Comparison result of precision, recall, accuracy, and F1-score of the proposed CCTS in recognizing the contacts of COVID-19 within a 2 m2 area and a 5 m2 area of infection by GPS.
Figure 10. Comparison result of precision, recall, accuracy, and F1-score of the proposed CCTS in recognizing the contacts of COVID-19 within a 2 m2 area and a 5 m2 area of infection by GPS.
Informatics 08 00072 g010
Figure 11. Results of estimating the infection probability of contacts 1–30.
Figure 11. Results of estimating the infection probability of contacts 1–30.
Informatics 08 00072 g011
Figure 12. Results of estimating the infection probability of contacts 31–60.
Figure 12. Results of estimating the infection probability of contacts 31–60.
Informatics 08 00072 g012
Figure 13. Results of estimating the infection probability of contacts 61–90.
Figure 13. Results of estimating the infection probability of contacts 61–90.
Informatics 08 00072 g013
Figure 14. Results of estimating the infection probability of contacts 91–120.
Figure 14. Results of estimating the infection probability of contacts 91–120.
Informatics 08 00072 g014
Figure 15. Results of estimating the infection probability of contacts 121–150.
Figure 15. Results of estimating the infection probability of contacts 121–150.
Informatics 08 00072 g015
Figure 16. Results of estimating the infection probability of contacts 151–180.
Figure 16. Results of estimating the infection probability of contacts 151–180.
Informatics 08 00072 g016
Figure 17. Results of estimating the infection probability of contacts 181–210.
Figure 17. Results of estimating the infection probability of contacts 181–210.
Informatics 08 00072 g017
Figure 18. Results of estimating the infection probability of contacts 211–240.
Figure 18. Results of estimating the infection probability of contacts 211–240.
Informatics 08 00072 g018
Figure 19. Results of estimating the infection probability of contacts 241–270.
Figure 19. Results of estimating the infection probability of contacts 241–270.
Informatics 08 00072 g019
Figure 20. Results of estimating the infection probability of contacts 271–300.
Figure 20. Results of estimating the infection probability of contacts 271–300.
Informatics 08 00072 g020
Table 1. Evaluation results of simulating the CCTS to detect the first 150 contacts within a 2 m2 area of infection by GPS according to five groups of confirmed cases: Cases 1–150.
Table 1. Evaluation results of simulating the CCTS to detect the first 150 contacts within a 2 m2 area of infection by GPS according to five groups of confirmed cases: Cases 1–150.
Cases 1–30Cases 31–60Cases 61–90Cases 91–120Cases 121–150
#Contacts140192228247240
TP83102110124124
FP00000
TN00000
FN5790109123116
Recall (TPR)0.5742195770.537711640.5151370850.5115302290.523119288
Precision0.9333333330.9666666670.96666666711
Specificity (TNR)00000
NPV00000
FNR0.4257804230.462288360.4848629150.4884697710.476880712
FPR00000
FDR00000
F1-Score0.692625060.6780118030.663559980.6661140280.668974179
Accuracy0.5742195770.537711640.5151370850.5115302290.523119288
Table 2. Evaluation results of simulating the CCTS to detect the second 150 contacts within a 2 m2 area of infection by GPS according to five groups of confirmed cases: Cases 151–300.
Table 2. Evaluation results of simulating the CCTS to detect the second 150 contacts within a 2 m2 area of infection by GPS according to five groups of confirmed cases: Cases 151–300.
Cases 151–180Cases 181–210Cases 211–240Cases 241–270Cases 271–300
#Contacts270299299311313
TP140157146155156
FP00000
TN00000
FN130142153156157
Recall (TPR)0.5162686390.5228830430.4915681540.5050679880.501076794
Precision11111
Specificity(TNR)00000
NPV00000
FNR0.4837313610.4771169570.5084318460.4949320120.498923206
FPR00000
FDR00000
F1-Score0.6662925810.666411580.6418157030.6609563880.648153216
Accuracy0.5162686390.5228830430.4915681540.5050679880.501076794
Table 3. Results summary of simulating the proposed CCTS on the used data set within A 2 m2 area of infection by GPS.
Table 3. Results summary of simulating the proposed CCTS on the used data set within A 2 m2 area of infection by GPS.
MetricsCases 1–300
#Contacts2539 (repeated cases are considered)
SUM(TP)1306
SUM (FP)0
SUM (TN)0
SUM (FN)1233
AVG (TPR)0.519858244
AVG(Precision)0.986666667
AVG (TNR)0
AVG (NPV)0
AVG (FNR)0.480141756
AVG (FPR)0
AVG (FDR)0
AVG (F1-Score)0.665291452
AVG(Accuracy)0.519858244
Table 4. Second round of the experiment. Evaluation results of simulating the CCTS to detect the first 150 contacts within a 5 m2 area of infection by GPS according to the five groups of confirmed cases: cases 1–150.
Table 4. Second round of the experiment. Evaluation results of simulating the CCTS to detect the first 150 contacts within a 5 m2 area of infection by GPS according to the five groups of confirmed cases: cases 1–150.
Cases 1–30Cases 31–60Cases 61–90Cases 91–120Cases 121–150
#Contacts140192228247241
TP140192228247241
FP00000
TN00000
FN00000
Recall (TPR)11111
Precision11111
Specificity (TNR)00000
NPV00000
FNR00000
FPR00000
FDR00000
F1-Score11111
Accuracy11111
Table 5. Second round of the experiment. Evaluation results of simulating the CCTS to detect the second 150 contacts within a 5 m2 area of infection by GPS according to the five groups of confirmed cases: cases 151–300.
Table 5. Second round of the experiment. Evaluation results of simulating the CCTS to detect the second 150 contacts within a 5 m2 area of infection by GPS according to the five groups of confirmed cases: cases 151–300.
Cases 151–180Cases 181–210Cases 211–240Cases 241–270Cases 271–300
#Contacts270300299311313
TP270300299311313
FP23301
TN00000
FN00000
Recall (TPR)11111
Precision0.9944444440.9918414920.99202464210.997222222
Specificity(TNR)00000
NPV00000
FNR00000
FPR00000
FDR0.0055555560.0081585080.00797535800.002777778
F1-Score0.9969696970.9956349210.99584479710.998550725
Accuracy0.9944444440.9918414920.99202464210.997222222
Table 6. Results summary of simulating the proposed CCTS on the used dataset within a 5 m2 area of infection by GPS.
Table 6. Results summary of simulating the proposed CCTS on the used dataset within a 5 m2 area of infection by GPS.
MetricsCases 1–300
#Contacts2539 (repeated cases are considered)
SUM(TP)1800
SUM (FP)9
SUM (TN)0
SUM (FN)0
AVG (TPR)1.0
AVG(Precision)0.995952381
AVG (TNR)0
AVG (NPV)0
AVG (FNR)0
AVG (FPR)0
AVG (FDR)0.004047619
AVG (F1-Score)0.997765568
AVG(Accuracy)0.995952381
Table 7. Comparison between the proposed system, CCTS, and other competitive mobile applications.
Table 7. Comparison between the proposed system, CCTS, and other competitive mobile applications.
COVID-19 AppTechnologyFunctionMaturity LevelResults
Singapore TraceTogether [22]Bluetoothcontact tracing using blue trace protocolLaunched appn/a
Google/Apple Contact Tracing [36]Bluetoothcontact tracing using exposure notification technologyDefined and designed appn/a
UK NHS Contact Tracing [39]Bluetoothcontact tracing using self-reporting of symptomsDefined appn/a
China Health Code System [40]GPS/QR-Codescontact tracing using colored QR-codesLaunched appn/a
BeepTrace [41]GPS, Bluetooth, Cellular, and WiFiPrivacy-preserving of contact tracing using blockchain and PK encryptionTheoretical frameworkn/a
CCTS (The proposed system)Blockchain/GPS/WiFicontact tracing using:
Blockchain
Mass surveillance system
Regular expression and finite automata
Defined, designed, imple
mented, and tested App
Precision = 99.13%
Recall = 75.79
F1-Score = 83.15%
FDR = 0.004
Accuracy = 75.79%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Torky, M.; Goda, E.; Snasel, V.; Hassanien, A.E. COVID-19 Contact Tracing and Detection-Based on Blockchain Technology. Informatics 2021, 8, 72. https://doi.org/10.3390/informatics8040072

AMA Style

Torky M, Goda E, Snasel V, Hassanien AE. COVID-19 Contact Tracing and Detection-Based on Blockchain Technology. Informatics. 2021; 8(4):72. https://doi.org/10.3390/informatics8040072

Chicago/Turabian Style

Torky, Mohamed, Essam Goda, Vaclav Snasel, and Aboul Ella Hassanien. 2021. "COVID-19 Contact Tracing and Detection-Based on Blockchain Technology" Informatics 8, no. 4: 72. https://doi.org/10.3390/informatics8040072

APA Style

Torky, M., Goda, E., Snasel, V., & Hassanien, A. E. (2021). COVID-19 Contact Tracing and Detection-Based on Blockchain Technology. Informatics, 8(4), 72. https://doi.org/10.3390/informatics8040072

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop