Skip to main content
IEEE - PMC COVID-19 Collection logoLink to IEEE - PMC COVID-19 Collection
. 2019 Jan 25;7:20734–20747. doi: 10.1109/ACCESS.2019.2895075

A Smartphone Magnetometer-Based Diagnostic Test for Automatic Contact Tracing in Infectious Disease Epidemics

Seungyeon Jeong 1, Seungho Kuk 1, Hyogon Kim 1,
PMCID: PMC7309220  PMID: 34192097

Abstract

Smartphone magnetometer readings exhibit high linear correlation when two phones coexist within a short distance. Thus, the detected coexistence can serve as a proxy for close human contact events, and one can conceive using it as a possible automatic tool to modernize the contact tracing in infectious disease epidemics. This paper investigates how good a diagnostic test it would be, by evaluating the discriminative and predictive power of the smartphone magnetometer-based contact detection in multiple measures. Based on the sensitivity, specificity, likelihood ratios, and diagnostic odds ratios, we find that the decision made by the smartphone magnetometer-based test can be accurate in telling contacts from no contacts. Furthermore, through the evaluation process, we determine the appropriate range of compared trace segment sizes and the correlation cutoff values that we should use in such diagnostic tests.

Keywords: Mobile sensing, human contact tracing, smartphone magnetometer, infectious disease epidemic, diagnostic test


A possible diagnostic test by exploiting the magnetometer traces. It can pre-screen if the susceptible person "B" had a (possibly unknown) contact with person "A" who has already been confirmed infected. The disease control authority can release the trace of the infected without revealing his or her identity for the checking use.

graphic file with name access-gagraphic-2895075.jpg

I. Introduction

Witnessing an alarmingly large number of novel pandemics in this century such as SARS, Swine Flue, MERS, Ebola, and Zika, there has been growing concerns on the “next big one” [1]. Many worry that we deal with them using strategies established over a century ago and technology that has been around for decades, with little innovation generated [2]. Consequently, there are calls for technology-based preparedness [3], especially in the areas of infection prevention, case finding, case investigation, and contact tracing [4]. Among others, the information technology (IT) sector should respond to the calls, and continuously expand and finesse the arsenal of technologies in each of these areas. In this paper, we tackle one of the areas that need the technological revamping: contact tracing.

On the brink of an infectious disease epidemic, the most urgent task is to trace those who possibly made contacts with the infected person(s), in order to cut the chain of infection and prevent it from growing into a wider epidemic. But the traditional contact tracing technique has been predominantly analog. Namely, contact graphs are constructed through interviews with confirmed cases, by asking who they met and where they visited. This is a hugely costly and time consuming task. Worse yet, there is the issue of recall [5]. Meanwhile, recent outbreaks have been fundamentally different from those of the past – highly mobile populations [6] and the spread into densely populated cities [2] – which exacerbate the problem with the traditional contact tracing approach.

When there are many potential contacts that an infected person cannot identify or recollect as in our typical urban life, a potent tool we can marshal is the mobile devices such as smartphones. The mobile-based epidemic monitoring is nothing but a logical next step because only the mobile devices that move with people can keep up with the contacts they make. Indeed, there have been increasing number of proposals for smartphone-based contact tracing. The employed technologies range from similar Global Positioning System (GPS) positions [7], similar Wi-Fi fingerprints [8], Bluetooth peer discovery [9], and identical cells in mobile communication [10]. Unfortunately, they either provide position information too coarse to be used for infectious contact detection [11] (GPS, cellular/Wi-Fi fingerprinting), require the infrastructure nearby (cellular/Wi-Fi), cannot be used indoors (GPS), consumes too much power for extended monitoring use (GPS) [12], or could compromise privacy by exposing the identity of the device and eventually its owner (Bluetooth beacons).

However, some recent works including our earlier pilot study [11], [13] present a new possibility by demonstrating that a magnetometer traces-based approach can detect close contacts. They exploit the fact that the magnetic field strength is rich in spatial features (e.g. 1 m−1 to 0.01 m−1) [14] due to various distortions by ferromagnetic materials used in buildings such as reinforced concrete and metal doors. The magnetometer-based approach overcomes most of the aforementioned issues. First, thanks to the omnipresent geomagnetic field, the similarity comparison of the two magnetometer traces works both indoors and outdoors, and does not need any infrastructure support. Second, it offers better privacy protection by not revealing any identity of the device or the location of the trace generation. Third, it detects the coexistence only in close proximity. The low-power smartphone magnetometers can only be affected by ferromagnetic structures within a few meters [15], [16]. Only the co-existing smartphones within this distance can bear sufficient similarity in their magnetometer readings [11], [17]. This last characteristics is especially important as many infectious disease transmissions occur in close distances. Public health policies for tracing close contacts or infection control guidance often use a distance of up to 2 meters or 6 feet [18].

When the disease control authority performs an epidemiological investigation, they can use the smartphone magnetometer traces of the person confirmed infected and of the one suspected of a contact with the infected, in a system depicted in Fig. 1. When people make contacts, they are recorded in their individual phones in the form of similar magnetometer readings. When they want to check if they could have met an infected person, they can ask the system to compare their traces with that of the infected person. Since it is a pairwise comparison, it works for the case many people gather at a location. Each individual pair from the gathering can be checked using the pairwise comparison method depicted in Fig. 1. In this paper, we assume that it is an emergency situation, and people are cooperating with the disease control authority by downloading an application that records the magnetometer readings and submits it through the phone’s cellular connection if necessary. Indeed, there are recent efforts that seek such public participation to prepare for the next pandemic outbreak [19]. In this effort by British Broadcasting Corporation (BBC), people are encouraged to download an app and activate it for helping model the spreading dynamics in future pandemics. The app then meticulously record the trajectory of the smartphone holder, before it reports the trajectory information to a central server. Considering this precedent, our own system model in Fig. 1 is not excessively unrealistic. The rationale behind such cooperation from the public could be the fear from the lack of information [20]. Under the depicted scenario, not only the disease control authority but also each individual user can check herself whether or not there has been close contact with an infected person. Indeed, World Health Organization (WHO) strongly recommends that disease control authorities ensure at-risk populations have the information they need, thereby minimizing social and economic disruption [21].

FIGURE 1.

FIGURE 1.

A possible diagnostic test by exploiting the magnetometer traces. It can pre-screen if the susceptible person “B” had a (possibly unknown) contact with person “A” who has already been confirmed infected. The disease control authority can release the trace of the infected without revealing his or her identity for the checking use.

Although the existing magnetometer-based works have confirmed the feasibility of the idea, they are a far cry from a serious alternative to the traditional contact tracing method. First, many of the operating parameters are still to be determined. In particular, the exiting works [11], [13], [17] consider only two extreme and impractical cases: either continuous contact or no contact during the whole duration of comparison. However, when two people, possibly strangers, make a contact, its duration can be very small compared to the entire span of comparison (which can match the most active transmission period of the disease). In Fig. 2, if the infected person A was confirmed infected at time Inline graphic and the disease transmissible duration is Inline graphic, the similarity measure between the traces Inline graphic and Inline graphic can be computed low if the duration of contact Inline graphic. But this will be generally the condition that we will face in reality. Therefore, we need to define the window of comparison Inline graphic that we slide over the entire trace pair to find any contact (i.e., the similarity measure over a threshold) to make it a valid test method.

FIGURE 2.

FIGURE 2.

The actual contact time Inline graphic where the two smartphones are collocated within the disease transmissible critical distance Inline graphic can be relatively very small compared to Inline graphic, the entire time span of checked length in the magnetometer traces.

Second, when new diagnostic tests are introduced, it is necessary to evaluate the comparative diagnostic accuracy and feasibility of this new test in comparison to the existing tests or the gold standard [22]. This ability and diagnostic accuracy can be quantified by calculating various measures such as sensitivity and specificity, positive and negative likelihood ratios, diagnostic odds ratio, etc. In this paper, we address these issues by defining the desirable length of Inline graphic, the decision threshold Inline graphic, and by evaluating the quality of the contact diagnosis under these parameter values.

As to the nature of the technology we propose in this paper, one can argue that it is only supplementary. In that we believe that the final confirmation about the infection event should be always made by human experts, it is true to a certain degree. It can be used to quickly identify possible contacts with relatively high accuracy, so that the human experts can focus on the most likely ones that have been identified by technology. However, at the same time, the technology covers areas that the traditional method could not. Without the technical support, it may be not only costly and time-consuming but impossible in many contact events. First, The authority may not be able to catch up with the speed of spreading when the epidemic is full-blown. Second, in many urbanized societies of today, we do not even know or remember those who happen to sit next to us in the bus or train or in a restaurant. In large-scale epidemics, the technology can quickly pan out even such contacts that cannot be recovered from the memory of the infected person. In these second sense, the technology will be indispensible.

The rest of this paper is organized as follows. In Section II, we briefly summarize the related work that exploits the geomagnetic field strength to detect location and coexistence. In Section III, we first discuss how we measure the similarity of two traces that signals a possible contact. Then we identify the parameters that determine the performance of the magnetometer-based contact test, and discuss how we will measure it. In Section IV, we evaluate the performance of the test using a set of real-life smartphone magnetometer traces. Finally, we conclude the paper in Section V.

Before delving into the discussion, we list the acronyms used throughout the paper in Table 1.

TABLE 1. Acronyms Used in This Paper.

Acronym Unabbreviated form
AUC Area under curve
BLE Bluetooth Low Energy
CDR Call detail records
DDTW Derivative Dynamic Time Warping
DTW Dynamic Time Warping
DOR Diagnostic Odds Ratio
FN False negative
FP False positive
GPS Global Positioning System
IT Information technology
LR Likelihood ratio
MERS Middle East respiratory syndrome
NTP Network Time Protocol
RSS Received signal strength
RSSI Received signal strength indicator
RFID Radio-frequency identification
PAN Personal area network
PHS Portable hot spot
SARS Severe acute respiratory syndrome
SPDT Same-place-different-time (disease transmission)
SPST Same-place-same-time (disease transmission)
TN True negative
TP True positive
UAV Unmanned areal vehicle
WHO World Health Organization

II. Related Work

There is rich literature on co-presence detection or its use on epidemiology and social studies. In terms of the employed technology, existing works range from sensors to communications to social media. We summarize them below, with brief remarks on their relevance to our problem or the relation to our approach.

A. GPS

Although the disease transmissibility check in contact tracing needs not necessarily absolute but relative coordinates (i.e., relative to the infected person), one may well consider using GPS trajectories to determine the distance of contact. For instance, Qi et al. use GPS to track and visualize space-time activities for a flu transmission study [23]. Unfortunately, GPS is a power-inefficient sensor. As we need to amplify the signal and achieve a high processing gain due to the small received power, a significant reduction in battery time is inevitable. For instance, it can drain a smartphone battery in much less than a typical charge interval even with minimal activity [24], [25]. In attempts to mitigate the problem, we could activate GPS only when user movement exceeds the accuracy bound, or turn it off indoors by detecting the condition through other means such as the received signal strength (RSS) fingerprints of cell towers. Even if the power issue is resolved, however, problems remain. First, the distance estimate between two GPS sensors may include a large error because each can have an average error over 10 meters, when a few meters matter in disease transmissibility check. Second, and more importantly, GPS is incapable of checking for possible infection events indoors.

B. RFID and Sensor Network

Many studies have used radio frequency identification (RFID) or sensor network technologies to understand infection and to prevent it in hospitals [26] and in schools [27]. Isella et al. use active tags to track contacts that take place in a pediatric ward for analyzing the structure of the contact data, it identifies the central groups that need close attention to prevent nosocomial infection prevention. Salathe et al. use TelosB motes carried by students in a school to obtain close proximity interactions data and develop a more effective vaccination strategy. It finds the small world phenomenon, and suggests a vaccination strategy based on the structure that is more effective than random vaccination. It is also used in social studies [28] and for security based on proximity [29].

Shafagh and Hithnawi [29] use ambient radio signals to detect other nodes in close proximity, for authentication between IoT devices before they connect. Bolić et al. use an enhanced RFID tags to mutually detect proximity to track. When attached to people, it can be applied for tracking interactions at social events [28]. But the biggest drawback of these approaches is that today’s smartphones hardly support RFID or personal area network (PAN) technologies other than Bluetooth. Due to the lack of deployment base among general public, they do not serve our purpose of massive mutual contact monitoring between strangers.

C. Social Media and Search Records

Recently, there have been efforts to introduce social media such as Twitter to epidemic monitoring, for early detection, management, and control of epidemic outbreaks [30][33]. In particular, participatory surveillance using social networks to collect symptom reports to detect infectious disease outbreaks has been tried. However, most studies limit their scope to common and seasonally recurring health events such as Influenza due to the noisy nature of Twitter [34]. Moreover, this post-symptomatic reporting can take long time because some diseases go through long incubation period (e.g. 3 weeks in Middle East Respiratory Syndrome (MERS) [35]). Moreover, subjective symptom reports do not provide information specific enough for disease control authorities to construct contact traces and obtain contact contexts. Also, it gives us only collective statistics at coarse granularities, while contact tracing requires information on person-to-person interactions. In the same vein, search-based global disease trend tracking services [36] are not directly helpful to contact tracing in emergency response.

D. WI-FI

For its prevalence, Wi-Fi is extremely popular for indoor localization. For example, there is a recent work that leverages on participatory sensing [37]. Again, as in GPS, we could consider using Wi-Fi assisted location information to determine the distance of contact, although the disease transmissibility check in contact tracing needs not necessarily absolute but relative coordinates. However, there are not many works in co-locating two devices using the technology. Existing works based on Wi-Fi are mostly centered around proximity detection and its applications. But mutual proximity detection is not in the design of Wi-Fi, so it requires significant manipulation such as exploiting portable hot spot (PHS) mode [38]. Carreras et al. [38] use Wi-Fi to mutually discover smartphones in proximity and determine the distance using received signal strength indication (RSSI). In line-of-sight condition, they argue that 0.5 m resolution is achievable using the RSSI of the discovered smartphone and machine learning algorithms. As to the closeness estimation, most previous works rely on RSSI [39][41]. The applications include authentication [39], [40] and epidemic prediction [8]. In particular, Nguyen et al. [8] show that the co-presence in disease transmissible distance can be determined through RSSI signatures from public Wi-Fi access points. A drawback of using Wi-Fi is that access points may be unavailable or prove insufficient to fix positions with a consistent precision. Also, the technology is not stellar in energy efficiency, especially for long and continual monitoring.

E. Bluetooth

For proximity detection, Bluetooth is a popular technology for its relatively high precision in short distances [9]. It has been mostly used for studies on social behavior and interaction such as duration and proximity [42], and those in mass gathering situations [43]. Liu et al. [9] show that Bluetooth can be used to detect face-to-face interaction within 1.5 m by mapping Bluetooth RSSI to distance. In this work, smartphones attempt to detect other Bluetooth smartphones every 30 seconds. Compared with Wi-Fi and cellular location, they show that Bluetooth can provide an order of magnitude more precise proximity detection. Montanari [42] proposes to use Bluetooth Low Energy (BLE) to measure the duration and the proximity of social contact using BLE-enabled wearables. It has been also used to measure, understand, and predict how individuals change their social behavior in response to infectious diseases [7]. Yoneki [7] uses Bluetooth to collect proximity devices data to measure, understand, and predict how individuals change their social behavior in response to infectious disease. Jamil et al. [43] use BLE tags and smartphones to track group dynamics in a massive religious gathering. It investigates the best configurations for the BLE tags and the scan durations for smartphones. Compared with the infection study, the group dynamics study requires detection in farther distances at more than 10 m. Also, the tags unilaterally advertise, and the smartphones unilaterally scan. It also does 10% duty cycling, with 5 minutes of hibernation between 30 seconds scans. Therefore, this does not fit with the continuous monitoring need for infectious contacts that could happen any time. A recent study also points out the inefficiency of the Bluetooth (LE) protocol in connection-based interactions when there are hundreds or even thousands of BLE devices in the communication range of each other [44]. Harris et al. [44] consider the dense BLE deployment scenario where hundreds or even thousands of tags interact with a large number of scanning devices such as smartphones. It raises the message collision and consequent energy waste issues of the BLE active scanning mode, and proposes an optimization scheme to solve them. Although Bluetooth technology has many desirable properties, it relies on the beacon exchange to detect each other. The beacons can reveal the identity of the transmitting device, threatening the privacy of the user.

F. Cellular Network

Communication traces obtained by mobile phones are known to be good proxies for the physical interaction network, and they may provide a valuable tool for contact tracing. For example, calls and messaging activities were used to construct human contact networks [45]. Mobile network data or call detail records (CDRs) have also been used to model population flows, major mobility hubs, and movement typologies, and how they change as the Ebola outbreak unfolds [46]. We could even use two phones attaching to an identical cell as a signal for a possible physical contact. However, the coverage of a single cell tower is at least a few hundred meters in radius, so it would be too coarse to identify infectious physical contact events within a few meters [18].

G. Accelerometer

One important instance of the mix encounters with strangers is public transport such as train or bus, which people can share for long enough time to enable several modes of disease transmission. For example, an infected person openly coughing in the bus can infect fellow riders in case of aerosol or droplet transmission diseases. When there are many potential contacts that a confirmed case cannot identify or recollect as in public transports, a potent tool we can exploit is the mobile devices such as smartphones. These devices can be leveraged to detect co-location, which can be a good proxy for the physical contacts. For instance, two smartphones located in adjacent cars in a train, both close to the doors dividing the cars, will probably exhibit high similarity in all their measures. But on a multi-car vehicle, a more relevant question in the context of epidemic infection is whether two passengers are on the same car or on different cars. So, in this letter, we explore how we can differentiate locations in the same train at car-level granularity. Our study reveals that accelerometer readings during train stop and start events tend to be characteristic of different car positions, so they can be used to generate a strong co-location signature on the car level. Thanks to the movements of the train, it does not require a complex communication infrastructure on the train for classification [41], but an accelerometer.

H. Ambient Sound Sensor

Common ambient sound detection using the microphone sensor [47][49] can be a technology of choice. But using the microphone sensor has its own issues. First, the number of samples at its typically high sampling frequencies (e.g. 44.1 KHz) is too large for continuous and indefinitely long monitoring required for detecting contacts that can happen at any time. Second, privacy can be violated because any conversations are also recorded. Finally, there is the possibility of false detection. For example, two people watching the same TV channel or listening to other broadcast sounds in different places can be classified as coexistent.

I. Magnetometer

The smartphone magnetometer has been extensively used for indoor localization and tracking (but not much for coexistence detection). Researchers found that the indoor magnetic field is rich in spatial features [16], and easy to sense [14]. Moreover, the field is stable over long periods of time [50][52]. The richness and the stability of the magnetic field enables mapping (a.k.a. fingerprinting) and magnetic map-based applications. The first application is indoor location. Chung et al. [15] showed that the geomagnetic anomaly can provide signatures for indoor locations that can be leveraged for sub-meter-level location accuracy. Frassl et al. [14] used magnetic maps with centimeter-level accuracy to localize a human or robot. Li et al. [52] discussed possible issues that can affect the precision and the feasibility of the fingerprinting approach for indoor location. Angermann et al. [50] found that the use of all three field components provides good resolution of ambiguities in a small indoor area. Carrillo et al. [53] used the three components of the measured magnetic field by smartphone magnetometers instead of just the intensity to improve accuracy. The second application is navigation. Brzozowski and Kazmierczak [54] discussed ways of recording, visualizing, and mapping local magnetic field changes in 3D that can be used as a support for indoor navigation systems for unmanned aerial vehicles (UAVs). Riehle et al. [55] considered a leader-follower style navigation application for visually impaired people where there is time gap between traversals, without relying on expensive indoor magnetic fingerprinting. A follower could compare its own magnetometer trace and the leader’s to determine if the follower reached a waypoint and if the follower went off-route. The third application also does not require fingerprinting, and it is of our interest in this paper – coexistence detection. Nguyen et al. [13] used only smartphone magnetometers to detect co-location of passengers in public transport. They exploited the fact that the passengers share the trajectory between at least two consecutive stations, and the magnetometer traces exhibit high similarity, which was measured by the distance in Derivative Dynamic Time Warping (DDTW). Kuk et al. [11] showed that even in outdoors the magnetometer traces can be compared to detect contacts within a few meters where the current GPS can have an order-of-magnitude larger errors. It showed that two closely located smartphones generate highly correlated magnetometer traces, which can be exploited to detect coexistence. Kuk et al. showed that they could lower the frequency to 1 Hz without significantly harming the detection performance, but increasing the battery life significantly.

The smartphone magnetometer overcomes undesirable properties of other technological alternatives. It can detect contacts within very short distances that fit infectious disease transmissions monitoring, and it can work indoors. It is supported by all smartphones, and works without any infrastructure support. It consumes relatively small power compared with other sensors, and has little privacy concerns. In this paper, therefore, we focus on the contact detection on smartphone magnetometers and explore their potential to provide a diagnostic tool for potentially infectious contacts made between smartphone holders.

As to the privacy concern of some of the technologies above, it may not an issue in the event of an epidemic. Authorities may legally have purpose-based access to the phone data of the infected or so suspected person, or rather, users may voluntarily give consent to the authority to use their trajectory data. Indeed, we assume such model in subsequent discussions.

Finally, it is worthwhile to mention that any combination of the magnetometer-based method proposed in this paper with other technologies is possible. For instance, the cost of comparing two traces for checking close contacts could be avoided if their GPS coordinates or cellular attachments show totally different values. Many valuable combinations could be conceived, but in this paper, we focus on the smartphone magnetometer-based method first so that it can be used in such combination in a more intelligent way.

III. A Magnetometer-Based Diagnostic Test

In this section, we discuss how we measure the similarity of two magnetometer traces. Among many similarity measures we can use, we pick the Pearson correlation coefficient. It is a good measure of linear correlation, which fits the linear correlation that two magnetometers in close proximity show in their ambient magnetic field strength readings. Fig. 3 shows real traces generated by two phones held by the people walking side-by-side through a corridor in a university campus building. Here, we let the phones measure the ambient magnetic field strength in Inline graphic at the rate of 10 Hz. In (a), the horizontal axis is the sample number of measured magnetometer values, and the vertical axis is the strength of the magnetic field vector perpendicular to the ground. We observe that these two time series do exhibit similar fluctuations. The fluctuations are the results of the magnetic distortions to the geomagnetic field by ferromagnetic materials such as steel doors, pillars, and rebars among others in the building the smartphone users are passing by. The synchronized fluctuations of the two magnetometer readings have a linear correlation, as shown by (b). Therefore, when each phone records such trace while the user moves around in daily life, we can let the users or the disease control authority later check for possible contacts with an infected person using the strength of the linear correlation. For example, as in Fig. 1, a susceptible user can check if her smartphone has a trace segment that computes a high correlation with an infected person’s trace that can be provided by the disease control authority.

FIGURE 3.

FIGURE 3.

The magnetic field strength traces from two phones carried in proximity shows a linear correlation. (a) Two smartphone magnetometer traces from a co-existing context. (b) Linear correlation.

A. Similarity Measure: Pearson’s R

In order to compute the similarity of two smartphone magnetometer traces, we need to use a similarity measure. There are numerous similarity measures, but some popular ones in the literature are cosine similarity, Dynamic Time Warping (DTW) distance, Euclidean distance, Kullback-Liebler distance, Jaccard similarity, Pearson correlation, among others [56]. In the areas of epidemiology and psychology, however, the measure of association is frequently analyzed by correlation analysis and regression analysis [57]. In this paper, we use the correlation analysis. As for the correlation measures, there are Pearson, Kendall, and Spearman correlation coefficients [58]. Among these, we pick the Pearson correlation coefficient, as it is a good measure for a linear correlation. To start with, Table 2 lists the notations we use in the subsequent discussion on how we compute the Pearson’s correlation coefficient of two magnetometer traces.

TABLE 2. Notations Used in Trace Similarity Comparison.

Notation Meaning (Default) Value
Inline graphic No. of samples in an entire compared trace Inline graphic
Inline graphic No. of samples generated during an actual contact Inline graphic
Inline graphic Time window of interest (e.g. disease transmissible duration; see Fig. 2) Disease-specific
Inline graphic Time length of the comparison window [10, 120] sec.
Inline graphic Actual contact duration (Inline graphic; see Fig. 2)
Inline graphic No. of samples in the comparison window Inline graphic Inline graphic
Inline graphic Magnetometer sampling rate used in trace 10 Hz
Inline graphic Threshold for contact decision [0.1, 0.9]
Inline graphic Inline graphic’th sample in the traces A and B, resp.
Inline graphic Means of samples in the traces A and B in Inline graphic, resp.
Inline graphic Std. dev. of samples in the traces A and B in Inline graphic, resp.
Inline graphic Correlation coefficient of Inline graphic samples from the traces A and B starting from Inline graphic’th sample

Fig. 4 shows the relations between some of the notations. As two synchronized traces from the smartphones carried by two strangers are compared, we do not know whether or when the contact was made. As we discussed in Section I, we need to inspect the traces in a window of time Inline graphic, as we slide the inspection window (blue box in Fig. 4) over the entire span of the traces that we are interested in (Inline graphic). Given Inline graphic and the magnetometer sampling rate Inline graphic, the Pearson correlation coefficient for the samples in the window1 Inline graphic starting from the Inline graphic sample is defined to be:

A.

where Inline graphic and Inline graphic are Inline graphic individual magnetometer readings from phones A and B, respectively. Inline graphic and Inline graphic are the mean and the standard deviation of the measured values in two phone’s compared traces in the inspection window. Recollect that the existing works [11], [13] compute the similarity over the entire span of samples Inline graphic, essentially making Inline graphic. Unfortunately, at an arbitrary length Inline graphic, we cannot control the false detection possibilities at all, whether positive or negative. Therefore, we will use a window Inline graphic to slide over the compared traces to find any interval for which Inline graphic, where Inline graphic is the cutoff threshold for the contact decision.

FIGURE 4.

FIGURE 4.

Notations used in the discussion.

When Inline graphic significantly increases, there are two aspects we need to consider: memory to store a trace (at smartphones) and correlation computation (at contact tracing check server). First, in terms of memory, the smartphones should keep the samples collected during the long transmissible duration. In our implementation, each magnetometer measurement sample is a vector, whose size is 50 bytes. At 10 Hz sampling, we generate data at 500 bytes/second. For an hour of continuous recording, it is approximately 1.8 MB. For one week, it is approximately 300 MB. Modern smartphones typically have a few tens of gigabytes of memory, so it will not be an excessive burden, especially in the emergency situation (i.e., infectious epidemic). In terms of computation, the trace comparison is performed not on the smartphones but on a server to which the traces are submitted by users who want to check if they were in a close distance with the infected person. The correlation computation will take proportionally long to the length of the compared traces. But the computation itself is not extremely heavy. We tested the correlation computation with the sliding inspection window of 10 seconds over two continuous traces of 56,600 samples collected at 10 Hz (or Inline graphic seconds or 94 minutes). It takes approximately 6.7 seconds on a server that has an i7-7700K processor with the clock speed of 4.2 GHz, using only a single core. For week-long traces, it will be slightly over 10 minutes.

Note that the type of contact we aim to detect in this paper is coexistence [23] that will enable the ‘same-place-same-time’ (SPST) disease transmission. This contact type is more common in infectious disease transmissions than the ‘same-place-different-time’ (SPDT) type [59]. Since the smartphone users are assumed to stay/move together in this type of contact, we do not need to align the traces for the time gap and the moving speed differences by using such schemes as Dynamic Time Warping (DTW) [60]. Finally, we focus on the contacts made in the indoor contexts, because urban life is 90% indoors [61], and indoors is where most infection events take place.

B. Parameters for Contact Decision

As the length of the traces Inline graphic over which the search is performed should be defined by the given disease of concern, e.g. by its incubation period [62] or the duration of active transmission, we do not consider this parameter further in this paper. As for the window size Inline graphic, it should be long enough to find the contacts of the critical duration that can enable the transmission. However, it is hard to definitely characterize the duration as it will be disease-specific. So, in this paper, we focus on the technical side. Namely, we investigate the minimum window size that we can effectively use for the comparison, which will be equivalent to defining the granularity of inspection that smartphone magnetometers can offer. Longer contacts than the window size will manifest as a series of consecutive or densely grouped positive decisions, as we slide the window over the entire trace. Finally, we will show that the decision cutoff threshold Inline graphic is related with the window size Inline graphic for a given target detection accuracy.

If the magnetic field strength had a stationary distribution, we could easily draw earlier works on the sample size planning for clinical research [58]. Specifically, the required sample size Inline graphic over which the correlation is computed can be estimated as a function of the targeted cutoff Inline graphic. In particular, Inline graphic decreases as Inline graphic or the confidence interval increases. Unfortunately, the distribution of the magnetic field strength measured by a moving smartphone is not stationary [13]. Without the stationarity of the magnetometer values in our environment, we cannot analytically derive the window size but turn to the measurement-based approach to estimate Inline graphic to meet the given Inline graphic.

C. Performance Measures

In order to see whether we can use the similarity check of the smartphone magnetometer traces as a diagnostic test, we evaluate its discriminative and predictive power. In particular, we need to evaluate it under different choices of Inline graphic and Inline graphic. In clinical studies, numerous metrics are used to evaluate the quality of a diagnostic test. Some of them are: sensitivity, specificity, accuracy, positive and negative likelihood ratio, positive and negative predictive value, odds ratio, relative risk, risk difference, number needed to treat, etc. Among these, we will use the ones that are not affected by the prevalence, which can only be artificial in our setting.

Given the ground truth (contact vs. no contact) and the decision using the smartphone magnetometer traces, there can be four cases among which true positive (TP) and true negative (TN) are desirable, and false positive (FP) and false negative (FN) should be minimized (Table 3). As in any other accuracy assessment of diagnostic tests, we use the Inline graphic table. As to how the false detections (FP and FN) arise in our setting, we can consider two possibilities. Suppose the length of the contact duration represented in the traces is Inline graphic, and the number of samples generated during the duration Inline graphic. Then, let us consider Fig. 5, where two people move indoors with the smartphone magnetometers measuring the ambient field strength at 10 Hz. The two people come from different places (Inline graphic), meet in the middle, and move together in the region labeled “Inline graphic” for Inline graphic seconds, and then part and return to their initial locations (Inline graphic). Fig. 6 shows the correlation coefficients obtained as we slide the inspection window over the entire trace under two different Inline graphic values. The x-axis is the sample number Inline graphic in (1) at which the coefficient is computed, and the y-axis is Inline graphic. The shaded region represents the duration of contact. It is approximately from samples 1,600 through 2,400 in both graphs.

TABLE 3. Classification is a Function of Inline graphic, Under a Given Inline graphic.

Test outcome Ground truth condition subtotal
Contact No contact
Inline graphic TP FP TP+FP
Inline graphic FN TN FN+TN
subtotal TP+FN FP+TN TP+FP+FN+TN

FIGURE 5.

FIGURE 5.

Two people meet and walk together for Inline graphic seconds before they part in an indoor space, making Inline graphic at Inline graphic Hz.

FIGURE 6.

FIGURE 6.

Decision changes with different window sizes (negative values not shown); shared regions represent the actual contact. (a) Inline graphic. (b) Inline graphic.

1). Comparison Window is Narrower Than the Contact Duration (Inline graphic)

There are two subcases in this case. First, if Inline graphic is very small, it can cause many spurious contact detections since coincidental high correlations may not be sufficiently averaged out. For example, with Inline graphic and 1,200, Fig. 6(a) and (b) show their Pearson correlation coefficients, respectively. The circles in Fig. 6(a) show that two spurious detection events are possible for Inline graphic and Inline graphic. Second, even if Inline graphic is large there are still chances for false detections, but only negative. It is because increasing Inline graphic decreases Inline graphic as a consequence of the non-stationarity of the magnetic field strength distribution [13], when the human smartphone holder moves through space. Using our coexistent trace pairs, we indeed confirm that the larger window sizes significantly reduce the correlation coefficient (Fig. 7).

FIGURE 7.

FIGURE 7.

Pearson correlation coefficient Inline graphic with 95% confidence interval, for a large number coexistent trace pairs.

2). Comparison Window is Wider Than the Contact Duration (Inline graphic)

In this case, a possible consequence is that the adjacent measurement samples outside the coexistence duration that happen to be included in the window decreases the cross correlation, possibly leading to a false negative decision depending on Inline graphic. Observe that for high cutoff thresholds such as Inline graphic, Fig. 6(b) will falsely determine that there was no contact, whereas the former will correctly detect the contact.

Either way, these problems can lead to false decisions about the contact, so it is clear that we need to determine the appropriate window size Inline graphic as well as the cutoff threshold Inline graphic.

IV. Evaluation

For our measurement-based study, we use indoor magnetometer traces collected in the Korea University campus in Seoul, Korea. Below, we first discuss how we collect the traces. Then we evaluate the smartphone magnetometer-based contact detection using the measures mentioned in Section III-C.

A. Magnetometer Trace Collection

To collect the magnetometer traces, we developed and installed a magnetometer sensing app for Android smartphones, Samsung Galaxy S5, S6, S8 and LG G3 and G4. We confirmed that our app works correctly on all these platforms. Among the phones, we used two Galaxy S5’s to collect the traces used in this section. We synchronized their sensing activity through the Network Time Protocol (NTP) [63] for later comparison of their magnetometer traces. We collect the magnetometer traces in five different buildings in the campus. We picked three places in each building. At each place, we repeated the trace collection six times along the same walking path. So, in total, there are 90 traces, and each trace is 300 seconds long. There are Inline graphic pairs of traces per place to be judged co-existent. Since there are 15 different places from which the traces were collected, we have Inline graphic co-existent trace pairs in total. On the other hand, there are Inline graphic non-coexistent pairs.

We measured the magnetic field strengths at the default sampling frequency of 10 Hz, a popular magnetometer sensing rate in the literature [17]. The magnetometer readings are obtained in three phone-specific axes: X, Y, and Z. In order to simulate typical indoor walking dynamics, we let the smartphone holders walk approximately at the ‘preferred’ walking speed [64]. It is known that people prefer to walk at approximately 1.4 m/s (or 5.0 km/h) irrespective of cultures, as they find slower or faster speed uncomfortable. Each trace was produced in narrow corridors, and we saw to it that the traces do not deviate from each other more than an ‘arm’s length’ to simulate the typical personal gap [65].

As the smartphones can have arbitrary attitudes when and while the contact is made, the measured magnetic strengths in their X, Y, and Z axes will generally be misaligned. For comparison, therefore, they should be translated to a common coordinate system. For this, we use Android getRotationMatrix() method to translate the phone-specific coordinates to the absolute coordinate (i.e., North, East, etc). A desirable property of the geomagnetism is that it has absolute reference directions such as the East and the North. Smartphones will change attitudes freely, but the translation method lets us readily compare the traces from different phones regardless of their attitudes. As to the robustness of the method against the accumulation of errors over a long duration of continuous operation, it is a research issue of its own [66]. In this paper, we assume that such calibration is being done to maintain the precision of the magnetometers.

Fig. 8 illustrates the alignment operation in our measurement system. Under the misalignment (a), it is not straightforward to choose the axis for the comparison (b). The traces in (b) shows that the X-axis of Phone 1 is aligned with the Y-axis of Phone 2, which is the ground truth as shown in (a). But after the translation, the readings from the two coexistent but misaligned phones are cleanly separated along the three absolute axes (c). We notice that the Z-axis traces from (b) are identical to UP-axis traces in (c), because the phones were held parallel to the ground (a) in the generation of the traces in (b). Finally, the EAST is simply the cross product of the two vectors NORTH and UP, so it is redundant. Thus in our implementation, we choose whichever axis between NORTH and UP that shows the highest correlation in the decision.

FIGURE 8.

FIGURE 8.

Two devices in arbitrarily misaligned attitudes translated by getRotationMatrix method. (a) Freely aligned phone attitudes. (b) Before translation. (c) After translation.

B. Results

Here, we compute the evaluation measures for the combinations of the window size and the decision threshold. In particular, we will compute them for the first Inline graphic samples from each trace pair, i.e., Inline graphic in (1). But first, there is a caveat.

1). On Prevalence and its Dependent Measures

In total, there are 3, 780 and 225 non-coexistent and co-existent trace pairs in our data set, totaling at 4, 005. The Prevalence in our data set is thus 225/4,005 = 5.62 %. However, this is artificial – we could have made it higher or lower by producing more of coexistent or non-coexistent traces, respectively. Naturally, it is meaningless to calculate the measures affected by the prevalence, where the prevalence of disease is artificially controlled [22]. Sensitivity and specificity are not generally related to the prevalence of the disease in the population considered, since these are properties of the diagnostic tool. Unlike sensitivity and specificity, measures such as predictive values, accuracy, relative risk and risk difference are affected by the prevalence. Therefore, we exclude them, and use the measures that are not affected by the prevalence to evaluate the magnetometer-based contact test.

2). Sensitivity and Specificity

Sensitivity is expressed as the proportion of correctly classified as true positives among the total contacts Inline graphic. In other words, it is the ability of the magnetometer-based test to correctly identify the trace pairs with a real contact. A highly sensitive test is useful, when we do not want to miss a contact (with an infected person) in screening the population. The specificity is the ability to identify the no contacts, expressed as Inline graphic. A specific test will rarely misclassify the trace pairs without a contact as having made a contact. The sensitivity and specificity show the discriminative powers of a diagnostic test.

Fig. 9 shows the sensitivity and the specificity of our smartphone magnetometer-based test, as functions of Inline graphic and Inline graphic. We first find that larger Inline graphic does not necessarily mean the higher sensitivity. Although happening at different values of Inline graphic (Inline graphic), the sensitivity begins to decrease beyond a certain Inline graphic at each cutoff threshold. It implies that the correlation decreases when computed for an excessively long trace segment used as the inspection window. This is due to the non-stationary property of the magnetometer measurement value distribution [13]. The specificity, on the other hand, steadily increases as we use larger Inline graphic. The lesson here is that when we use the magnetometer-based diagnostic test, we need to examine the similarity of the two traces using the time window of Inline graphic to achieve the highest sensitivity. Then, the choice of the exact cutoff threshold will depend on the target specificity.

FIGURE 9.

FIGURE 9.

Sensitivity and specificity of the magnetometer-based contact test. (a) Sensitivity. (b) Specificity.

Also, we find in Fig. 9 that the sensitivity is higher with lower cutoff values, whereas the specificity is higher with higher cutoff values. This tension is natural, and can be summarized in the Receiver Operating Characteristic (ROC) curve. Fig. 10 shows the ROC curves for different parameter combinations. Although we cannot show the area under curve (AUC) itself due to the absence of very low specificity data points, it is clear that the AUC’s for various Inline graphic are very high. Namely, the magnetometer-based test is of high diagnostic quality. Among the inspection sample window sizes, very small Inline graphic (50, 70) and very large Inline graphic (1,500) lead to poorer AUC than those in the middle (Inline graphic) as shown in Fig. 10(b). Inline graphic achieves the best overall AUC.

FIGURE 10.

FIGURE 10.

ROC curves obtained by varying Inline graphic for different values of Inline graphic. (a) ROC. (b) ROC.

In order to obtain the cutoff value Inline graphic that achieves the highest AUC for a given Inline graphic, we can compute the shortest distance from (0, 1) to the curves. Table 4 shows the result. This table shows what Inline graphic to use in case a cutoff threshold is given. It is worthwhile to notice that for higher cutoff thresholds, the window size does not have to be large. In particular, Inline graphic can be less than 100 for very high cutoff thresholds. The table can serve as a guideline to choose appropriate values for the parameter pair.

TABLE 4. Inline graphic That Leads to the Shortest Distance From (0,1) to the ROC Curve for Different Inline graphic.
Inline graphic Inline graphic
Lower cutoffs 0.1 1,500
0.2 900
0.3 600
0.4 300
0.5 200
Higher cutoffs 0.6 150
0.7 70
0.8 70
0.9 50

3). Likelihood Ratios

Likelihood ratio (LR) is the mostly widely applied measure of diagnostic accuracy. Also, it can serve as a predictive measure. In our context, LR tells us how many times more likely a decision is in the trace pairs with the contact than in those without contact. When both probabilities are equal (i.e., Inline graphic), such test is of no value. The LR for positive test results (Inline graphic) is defined as Inline graphic. The higher the Inline graphic, the more indicative the test is of the contact. Good diagnostic tests have Inline graphic and their positive result has a significant contribution to the diagnosis [67]. On the other hand, the LR for negative test result (Inline graphic) is defined as Inline graphic, and it represents the ratio of the probability that a negative result will occur in trace pairs with the contact to the probability that the same result will occur in trace pairs without the contact. Good diagnostic tests have Inline graphic [67]. The lower the Inline graphic, the more significant contribution of the test is in ruling-out. LR’s do not depend on prevalence of disease of population, as only sensitivity and specificity values are used to calculate them. As a result the LR’s of one study could be used in another setting with the condition that the definition of contact is not changed.

The likelihood ratios of the smartphone magnetometer-based contact test are shown in Fig. 11. In (a), we observe that it is highly useful for positive identification of contacts. The criterion Inline graphic tells us that the positive likelihoods can be a significant contribution to the diagnosis. We also note that we do not need large Inline graphic to have Inline graphic, especially when we use higher cutoff thresholds of Inline graphic. Less than 100 measurement samples at 10 Hz, or equivalently 10 seconds, is enough to qualify for a good test for positive identification of contacts. On the other hand, Fig. 11(b) shows that the higher cutoff thresholds cannot achieve Inline graphic regardless of Inline graphic. It implies that using the higher cutoffs can produce a high fraction of false negatives. However, this issue may be mitigated if we require that a contact duration be composed of a series of positive decisions as we slide the inspection window. For example, in Fig. 6(a), hundreds of adjacent positive decisions will occur as we slide up Inline graphic in (1). Interspersed false negatives will less affect the final decision then.

FIGURE 11.

FIGURE 11.

Likelihood ratios. (a) Positive likelihood ratio. (b) Negative likelihood ratio.

4). Diagnostic Odds Ratio

Diagnostic odds ratio (DOR) is a relative measure for diagnostic accuracy, used for the estimation of discriminative power of diagnostic procedures [67]. DOR of a test is the ratio of the odds of positivity in traces with the contact relative to the odds in traces without contact. It is calculated according to the formula: Inline graphic. DOR depends significantly on the sensitivity and specificity of a test. A test with high specificity and sensitivity with low rate of false positives and false negatives has high DOR. With the same sensitivity of the test, DOR increases with the increase of the test specificity. For example, a test with sensitivity > 90% and specificity of 99% has a DOR greater than 500. The diagnostic odds ratio ranges from zero to infinity, although for useful tests it is greater than one, and higher diagnostic odds ratios are indicative of better test performance.

Fig. 12 shows that the DOR of the smartphone magnetometer-based contact test is much larger than one for most Inline graphic values. So, this measure also confirms that the magnetometer-based test is useful. If we use Inline graphic as the example criterion, the figure tells us that higher cutoff thresholds qualify with less measurement samples Inline graphic to look at (Inline graphic has Inline graphic at Inline graphic, so it should qualify although we cannot plot it). For these higher cutoffs, less than 300 samples (or equivalently 30 seconds) or less is enough to achieve the high DOR.

FIGURE 12.

FIGURE 12.

Odds ratio for different Inline graphic with 10 Hz sampling.

C. Summary of Results and Recommendations

Above, we evaluated the quality of the smartphone magnetometer traces comparison as a clinical test for potential (infectious) contact. All evaluation metrics that we used for the evaluation, namely sensitivity, specificity, likelihood ratio, and diagnostic odds ratio, point to the fact that the number of magnetometer readings to be compared between two traces (Inline graphic) can be small. These metrics produce slightly different optimal numbers for the required readings, but if we need one good number to apply in real-life cases, it is 100 samples (or equivalently 10 seconds at the 10 Hz sampling frequency). It leads to the best or close-to-the-best performance in all the evaluation measures. Our recommendation is that when two magnetometer traces from two smartphones are compared, one needs to use a window of 100 samples2 for the Pearson correlation computation to achieve the most precise decision as to whether the contact was really made between the smartphone holders. One further recommendation is that the correlation coefficient value used as the decision threshold can be high. Specifically, Inline graphic is a good match for the 100-sample inspection window. Note that these two numbers Inline graphic and Inline graphic to produce the most precise decision are closely related, and other combinations than (100, 0.6) can be inferred from the results in the previous section.

V. Conclusion

When a large-scale epidemic crisis unfolds in the highly urbanized society today, the traditional contact tracing method of medical personnel interviewing the infected persons will become highly costly, slow, and ineffective. In this paper, we discuss how smartphones carried by most people can be harnessed to automatize the contact tracing in such situation. We exploit the fact that smartphone magnetometers show high linear correlation when two phones coexist within a short, disease-contractible distances, such as less than two meters. Then, we use a battery of metrics to evaluate the value of such smartphone magnetometer traces comparison as a clinical test that medical personnel can use in real-life with a high trust level. Our evaluation reveals that the magnetometer-based method qualifies for a valid clinical test, if used with certain parameter values in the correlation computation. Specifically, our finding and recommendations are as follows. First, the size of the sliding window of trace section to be compared is best to be what corresponds to 10 seconds of samples. Second, the decision threshold that matches the comparison window size is 0.6, for the most precise contact decision. These two parameters are inversely related with respect to the precision of the contact detection, and other combinations around the recommended values are also possible. In future, we will further test the reliability of the proposed method with the recommended and other parameter settings in more extensive real-life environments, for instance with different smartphone movement speeds, with obstacles, people or objects between or around the smartphone holders, and with interferences such as power lines close to the smartphones. The artificial traces that we generated in a controlled environment could have biased our experiment results and our conclusion. Therefore, we will need to optimize the proposed method further against the real-life traces in a building or in public places to make it more reliable and actually usable in the real-life epidemic situations.

Biographies

graphic file with name jeong-2895075.gif

Seungyeon Jeong is currently pursuing the B.E. degree in computer science and engineering with Korea University, Seoul, South Korea. Her research interests include digital disease detection and mobile computing.

graphic file with name kuk-2895075.gif

Seungho Kuk received the B.E. degree in computer science and engineering from Korea University, Seoul, South Korea, in 2014, where he is currently pursuing the Ph.D. degree. His research interests include mobile computing, the Internet of Things, and vehicular communication.

graphic file with name kim-2895075.gif

Hyogon Kim received the B.S. and M.S. degrees in computer engineering from Seoul National University, Seoul, South Korea, in 1987 and 1989, respectively, and the Ph.D. degree in computer and information science from the University of Pennsylvania, in 1995. From 1996 to 1999, he was a Research Scientist with Bell Communications Research. He is currently a Professor with Korea University. His research interests include wireless communication, vehicular networking, the Internet of Things, and mobile computing.

Funding Statement

This work was supported by the Mid-Career Researcher Program through NRF grant funded by MSIP under Grant 2015R1A2A1A10052590.

Footnotes

1

Since we use a constant value of Inline graphic Hz throughout the paper, we will use the term “window” to mean Inline graphic (which is equivalent to Inline graphic) in subsequent discussions.

2

At 10 Hz. For other sampling frequencies, it should be adjusted to the number of samples generated in 10 seconds.

References

  • [1].MacKenzie D., “Waiting for the big one: A new flu pandemic is a matter of time,” New Sci., Jan. 2, 2018. [Online]. Available: https://www.newscientist.com/article/2156921-waiting-for-the-big-one-a-new-flu-pandemic-is-a-matter-of-time/
  • [2].Dhillon R. S. and Srikrishna D. (Jul. 16, 2015). What We’ve Learned About Fighting Ebola. Harvard Business Review. [Online]. Available: https://hbr.org/2015/07/what-weve-learned-about-fighting-ebola [Google Scholar]
  • [3].Toppa S. (Jan. 28, 2015). Bill Gates Says We Must Prepare for Future Pandemics as for ‘War’. Time Magazine. [Online]. Available: http://time.com/3685490/bill-gates-ebola-pandemics/
  • [4].Borders D. W. (Jan. 26, 2015). Ebola: Decline Encouraging, But Critical Gaps Remain. [Online]. Available: https://www.msf.org/ebola-decline-encouraging-critical-gaps-remain [Google Scholar]
  • [5].Keeling M. J. and Eames K. T. D., “Networks and epidemic models,” J. Roy. Soc. Interface, vol. 2, no. , pp. 295–307, Sep. 2005, doi: 10.1098/rsif.2005.0051. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [6].Halloran M.et al. , “Ebola: Mobility data,” Science, vol. 346, no. 6208, p. 433, Oct. 2014, doi: 10.1126/science.346.6208.433-a. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Yoneki E., “FluPhone study: Virtual disease spread using haggle,” in Proc. 6th ACM Workshop Challenged Netw., Las Vegas, NV, USA, Sep. 2011, pp. 65–66. [Google Scholar]
  • [8].Nguyen K. A., Luo Z., and Watkins C., “On the feasibility of using two mobile phones and WLAN signal to detect co-location of two users for epidemic prediction” in Progress in Location-Based Services, New York, NY, USA: Springer, Nov. 2015, pp. 63–78. [Google Scholar]
  • [9].Liu S., Jiang Y., and Striegel A., “Face-to-face proximity estimationusing bluetooth on smartphones,” IEEE Trans. Mobile Comput., vol. 13, no. 4, pp. 811–823, Apr. 2014, doi: 10.1109/TMC.2013.44. [DOI] [Google Scholar]
  • [10].Farrahi K., Emonet R., and Cebrian M., “Epidemic contact tracing via communication traces,” PLoS ONE, vol. 9, no. 5, p. e95133, May 2014, doi: 10.1371/journal.pone.0095133 and http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0095133 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Kuk S., Jeon Y., and Kim H., “Detecting outdoor coexistence as a proxy of infectious contact through magnetometer traces,” Electron. Lett., vol. 53, no. 19, pp. 1293–1294, Sep. 2017, doi: 10.1049/el.2017.2454. [DOI] [Google Scholar]
  • [12].Katevas K., Haddadi H., and Tokarchuk L., “Sensingkit: Evaluating the sensor power consumption in ios devices,” in Proc. 12th Int. Conf. Intell. Environ., London, U.K., Sep. 2016, pp. 222–225. [Google Scholar]
  • [13].Nguyen D. K. A., Watkins C., and Luo Z., “Co-location epidemic tracking on London public transports using low power mobile magnetometer,” in Proc. Int. Conf. Indoor Positioning Indoor Navigat., Sapporo, Japan, Sep. 2017, pp. 1–8. [Google Scholar]
  • [14].Frassl M.et al. , “Magnetic maps of indoor environments for precise localization of legged and non-legged locomotion,” in Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst., Tokyo, Japan, Nov. 2013, pp. 913–920. [Google Scholar]
  • [15].Chung J., Donahoe M., Schmandt C., Kim I.-J., Razavai P., and Wiseman M., “Indoor location sensing using Geo-magnetism,” in Proc. ACM MobiSys, Bethesda, Maryland, USA, Jun./Jul. 1, 2011, pp. 141–154. [Google Scholar]
  • [16].Subbu K. S. P., “Indoor localization using magnetic fields,” Ph. D. Thesis, Dept. Comput. Sci. Eng, Univ. North Texas, Denton, TX, USA, Dec. 2011. [Google Scholar]
  • [17].Kuk S., Kim J., Park Y., and Kim H., “Empirical determination of efficient sensing frequencies for magnetometer-based continuous human contact monitoring,” Sensors, vol. 18, no. 5, p. 1358, Apr. 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [18].World Health Organization. (2010). Limiting the Spread of Pandemic, Zoonotic, and Seasonal Epidemic Influenza. [Online]. Available: http://www.who.int/influenza/resources/research/research_agenda_influen
  • [19].British Broadcasting Company. (Mar. 2018). Contagion! The BBC Four Pandemic. [Online]. Available: http://www.bbc.co.uk/programmes/articles/3pYGfsq0NKB1bNkrggYJl4h
  • [20].Kiss I. Z., Cassell J., Recker M., and Simon P. L., “The impact of information transmission on epidemic outbreaks,” Math. Biosci., vol. 225, no. 1, pp. 1–10, May 2010, doi: 10.1016/j.mbs.2009.11.009. [DOI] [PubMed] [Google Scholar]
  • [21].World Health Organization. (Sep. 2004). Outbreak Communication: Best Practices for Communicating With the Public During an Outbreak. [Online]. Available: http://apps.who.int/iris/handle/10665/69138
  • [22].Shaikh S. A., “Measures derived from a Inline graphic table for an accuracy of a diagnostic test,” J. Biometrics Biostatist., vol. 2, no. 5, pp. 203–211, Jan. 2011, doi: 10.4172/2155-6180.1000128. [DOI] [Google Scholar]
  • [23].Qi F. and Du P., “Tracking and visualization of space-time activities for a micro-scale flu transmission study,” Int. J. Health Geograph., vol. 12, p. 6, Feb. 2013, doi: 10.1186/1476-072X-12-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [24].Paek J., Kim J., and Govindan R., “Energy-efficient rate-adaptive GPS-based positioning for smartphones,” in Proc. 8th Int. Conf. Mobile Syst., Appl., Services (Mobisys), San Francisco, CA, USA, Jun. 2010, pp. 299–314. [Google Scholar]
  • [25].Thiagarajan A., Ravindranath L., Balakrishnan H., Madden S., and Girod L., “Accurate, low-energy trajectory mapping for mobile devices,” in Proc. 8th USENIX Symp. Netw. Syst. Design Implement. (NSDI), Boston, MA, USA, Mar./Apr. 2011, pp. 1–14. [Google Scholar]
  • [26].Isella L.et al. , “Close encounters in a pediatric ward: Measuring face-to-face proximity and mixing patterns with wearable sensors,” PLoS ONE, vol. 6, no. 2, p. e17144, Feb. 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [27].Salathé M., Kazandjieva M., Lee J. W., Levis P., Feldman M. W., and Jones J. H., “A high-resolution human contact network for infectious disease transmission,” Proc. PNAS, vol. 107, no. 51, pp. 22020–22025, Dec. 2010, doi: 10.1073/pnas.1009094108. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [28].Bolić M., Rostamian M., and Djuric P. M., “Proximity detection with RFID in the Internet of things,” in Proc. Asilomar Conf. Signals, Syst. Comput., Pacific Grove, CA, USA, Nov. 2014, pp. 711–714. [Google Scholar]
  • [29].Shafagh H. and Hithnawi A., “Poster: Come closer: Proximity-based authentication for the Internet of things,” in Proc. 20th Annu. Int. Conf. Mobile Comput. Netw., Maui, HI, USA, Sep. 2014, pp. 421–424. [Google Scholar]
  • [30].Signorini A., Segre A. M., and Polgreen P. M., “The Use of Twitter to Track Levels of Disease Activity and Public Concern in the U.S. during the Influenza A H1N1 Pandemic,” PLoS ONE, vol. 6, no. 5, May 2011, Art. no. e19467, doi: 10.1371/journal.pone.0019467 [Online]. Available: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0019467 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [31].Yom-Tov E., Borsa D., Cox I. J., and McKendry R. A., “Detecting disease outbreaks in mass gatherings using Internet data,” J. Med. Internet Res., vol. 16, no. 6, p. e154, Jun. 2014, doi: 10.2196/jmir.3156. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [32].Kim Y., Huang J., and Emery S., “Garbage in, garbage out: Data collection, quality assessment and reporting standards for social media data use in health research, infodemiology and digital disease detection,” J. Med. Internet Res., vol. 18, no. 2, p. e41, Feb. 2016, doi: 10.2196/jmir.4738. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [33].Broniatowski D. A., Paul M. J., and Dredze M., “National and local influenza surveillance through twitter: An analysis of the 2012–2013 influenza epidemic,” PLoS ONE, vol. 8, no. 12, Dec. 2013, Art. no. e83672, doi: 10.1371/journal.pone.0083672 [Online]. Available: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0083672 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [34].Stewart A.et al. (Nov. 2016). “Why is it difficult to detect sudden and unexpected epidemic outbreaks in Twitter?” [Online]. Available: https://arxiv.org/abs/1611.03426 [Google Scholar]
  • [35].Virlogeux V., Fang V. J., Park M., Wu J., and Cowling B., “Comparison of incubation period distribution of human infections with MERS-CoV in South Korea and Saudi Arabia,” Sci. Rep., vol. 6, p. 35839, Oct. 2017, doi: 10.1038/srep35839. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [36].Ginsberg J., Mohebbi M. H., Patel R. S., Brammer L., Smolinski M. S., and Brilliant L., “Detecting influenza epidemics using search engine query data,” Nature, vol. 457, pp. 1012–1014, Feb. 2009, doi: 10.1038/nature07634. [DOI] [PubMed] [Google Scholar]
  • [37].Chen K., Wang C., Yin Z., Jiang H., and Tan G. “Slide: Towards fast and accurate mobile fingerprinting for Wi-Fi indoor positioning systems,” IEEE Sensors J., vol. 18, no. 3, pp. 1213–1223, Feb. 2018. [Google Scholar]
  • [38].Carreras I., Matic A., Saar P., and Osmani V., “Comm2sense: Detecting proximity through smartphones,” in Proc. PerCom Workshops, Lugano, Switzerland, Mar. 2012, pp. 253–258. [Google Scholar]
  • [39].Varshavsky A., Scannell A., LaMarca A., and de Lara E., “Amigo: Proximity-based authentication of mobile devices,” in Proc. 9th Int. Conf. Ubiquitous Comput., 2007, pp. 253–270. [Google Scholar]
  • [40].Kalamandeen A., Scannell A., de Lara E., Sheth A., and LaMarca A., “Ensemble: Cooperative proximity-based authentication,” in Proc. 8th Int. Conf. Mobile Syst., Appl., Services (MobiSys), New York, NY, USA, 2010, pp. 331–344. [Google Scholar]
  • [41].Agata Y., Hong J., and Ohtsuki T., “Room-level proximity detection based on RSS of dual-band Wi-Fi signals,” in Proc. IEEE Int. Conf. Commun.(ICC), May 2016, pp. 1–6. [Google Scholar]
  • [42].Montanari A., “Multimodal indoor social interaction sensing and real-time feedback for behavioural intervention,” in Proc. Workshop Wireless Students, New York, NY, USA, 2015, pp. 7–9. [Google Scholar]
  • [43].Jamil S., Basalamah A., Lbath A., and Youssef M., “Hybrid participatory sensing for analyzing group dynamics in the largest annual religious gathering,” in Proc. ACM Int. Joint Conf. Opervasive Ubiquitous Comput. (UbiComp), New York, NY, USA, 2015, pp. 547–558. [Google Scholar]
  • [44].Harris A. F. III, Khanna V., Tuncay G., Want R., and Kravets R., “Bluetooth low energy in dense IoT environments,” IEEE Commun. Mag., vol. 54, no. 12, pp. 30–36, Dec. 2016, doi: 10.1109/MCOM.2016.1600546CM. [DOI] [Google Scholar]
  • [45].Farrahi K., Emonet R., and Cebrian M., “Epidemic contact tracing via communication traces,” PLoS ONE, vol. 9, no. 5, p. e95133, May 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [46].Wesolowski A., Buckee C. O., Bengtsson L., Wetter E., Lu X., and Tatem A. J., “Commentary: Containing the Ebola outbreak—The potential and challenge of mobile network data,” PLoS Currents, vol. 6, Sep. 2014. doi: 10.1371/ecurrents.outbreaks.0177e7fcf52217b8b634376e2f3efc5e. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [47].Satoh H., Suzuki M., Tahiro Y., and Morikawa H., “Ambient sound-based proximity detection with smartphone,” in Proc. ACM Sensys, 2013, p. 58. [Google Scholar]
  • [48].Karapanos N., Marforio C., Soriente C., and Čapkun S., “Sound-proof: Usable two-factor authentication based on ambient sound,” in Proc. 24th USENIX Secur. Symp., 2015, pp. 1–17. [Google Scholar]
  • [49].Wirz M., Roggen D., and Tröster G., “A wearable, ambient sound-based approach for infrastructureless fuzzy proximity estimation,” in Proc. Int. Symp. Wearable Comput., 2010, pp. 1–4. [Google Scholar]
  • [50].Angermann M., Frassl M., Doniec M., Julian B. J., and Robertson P., “Characterization of the indoor magnetic field for applications in localization and mapping,” in Proc. Int. Conf. Indoor Positioning Indoor Navigat., Sydney, NSW, Australia, Nov. 2012, pp. 1–9. [Google Scholar]
  • [51].Gozick B., Subbu K. P., Dantu R., and Maeshiro T., “Magnetic maps for indoor navigation,” IEEE Trans. Instumentation Meas., vol. 60, no. 12, pp. 3883–3891, Dec. 2011, doi: 10.1109/TIM.2011.2147690. [DOI] [Google Scholar]
  • [52].Li B., Gallagher T., Dempster A. G., and Rizos C., “How feasible is the use of magnetic field alone for indoor positioning?” in Proc. Int. Conf. Indoor Positioning Indoor Navigat. (IPIN), Sydney, NSW, Australia, Nov. 2012, pp. 1–9. [Google Scholar]
  • [53].Carrillo D., Moreno V., Úbeda B., and Skarmeta A. F., “MagicFinger: 3D magnetic fingerprints for indoor location,” Sensors, vol. 15, no. 7, pp. 17168–17194, 2015, doi: 10.3390/s150717168. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [54].Brzozowski B. and Kaźmierczak K., “Magnetic field mapping as a support for UAV indoor navigation system,” in Proc. IEEE Int. Workshop Metrol. AeroSpace (MetroAeroSpace), Padua, Italy, Jun. 2017, pp. 583–588. [Google Scholar]
  • [55].Riehle T. H., Anderson S. M., Lichter P. A., Condon J. P., Sheikh S. I., and Hedin D. S., “Indoor waypoint navigation via magnetic anomalies,” in Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc., Boston, MA, USA, Aug./Sep. 2011, pp. 5315–5318. [DOI] [PubMed] [Google Scholar]
  • [56].Liao T. W., “Clustering of time series data—A survey,” Pattern Recognit., vol. 38, no. 11, pp. 1857–1874, 2005, doi: 10.1016/j.patcog.2005.01.025. [DOI] [Google Scholar]
  • [57].Cohen J., Cohen P., West S. G., and Aiken L. S., Applied Multiple Regression/Correlation Analysis for the Behavioral Sciences, 3rd ed. Hove, U.K.: Psychology Press; 2002. [Google Scholar]
  • [58].Bonett D. G. and Wright T. A., “Sample size requirements for estimating Pearson, Kendall and Spearman correlations,” Psychometrika, vol. 65, no. 1, pp. 23–28, Mar. 2000, 10.1007/BF02294183. [DOI] [Google Scholar]
  • [59].Shahzamal M., Jurdak R., Arablouei R., Kim M., Thilakarathna K., and Mans B., “Airborne disease propagation on large scale social contact networks,” in Proc. 2nd Int. Workshop Social Sens., Pittsburgh, PA, USA, Apr. 2017, pp. 35–40. [Google Scholar]
  • [60].Berndt D. J. and Clifford J., “Using dynamic time warping to find patterns in time series,” in Proc. 3rd Int. Conf. Knowl. Discovery Data Mining (AAAIWS), Seattle, WA, USA, Jul./Aug. 1994, p. 359. [Google Scholar]
  • [61].Klepeis N. E.et al. , “The national human activity pattern survey (NHAPS): A resource for assessing exposure to environmental pollutants,” J. Exposure Anal. Environ. Epidemiol., vol. 11, no. 3, pp. 231–252, 2011, doi: 10.1038/sj.jea.7500165. [DOI] [PubMed] [Google Scholar]
  • [62].Reich N. G., Lessler J., Varma J. K., and Vora N. M., “Quantifying the risk and cost of active monitoring for infectious diseases,” Nature, vol. 8, no. 1, Jan. 2018, Art. no. 1093. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [63].Mills D. L., “Internet time synchronization: The network time protocol,” IEEE Trans. Commun., vol. 39, no. 10, pp. 1482–1493, Oct. 1991, doi: 10.1109/26.103043. [DOI] [Google Scholar]
  • [64].Levine R. V. and Norenzayan A., “The pace of life in 31 countries,” J. Cross-Cultural Psychol., vol. 30, no. 2, pp. 178–205, Mar. 1999, doi: 10.1177/0022022199030002003. [DOI] [Google Scholar]
  • [65].Von Sivers I. and Köster G., “Dynamic stride length adaptation according to utility and personal space,” Transp. Res. B, Methodol., vol. 74, pp. 104–117, Apr. 2015, doi: 10.1016/j.trb.2015.01.009. [DOI] [Google Scholar]
  • [66].Wahdan A., Georgy J., Abdelfatah W. F., and Noureldin A., “Magnetometer calibration for portable navigation devices in vehicles using a fast and autonomous technique,” IEEE Trans. Intell. Transp. Syst., vol. 15, no. 5, pp. 2347–2352, Oct. 2014, doi: 10.1109/TITS.2014.2313764. [DOI] [Google Scholar]
  • [67].Šimundić A.-M., “Measures of diagnostic accuracy: Basic definitions,” J. Int. Fed. Clin. Chem., vol. 19, no. 4, pp. 203–211 Jan. 2009. [PMC free article] [PubMed] [Google Scholar]

Articles from Ieee Access are provided here courtesy of Institute of Electrical and Electronics Engineers

RESOURCES