Every month, some 23,000 Android devices are stolen or lost, with more than two-thirds never being recovered.

Even with Google’s Find my Device or Apple’s Find my iPhone, users are subjected to gaps in retrieval solutions, whether it’s from a dead battery or a thief has put the device on airplane mode.

But not anymore.

Jiayi ChenFor Jiayi Chen, a PhD candidate in the Cheriton School of Computer Science, combining both device and data loss–prevention solutions into one app bridges these gaps.

“I was in a restaurant and after I finished my meal, I left without taking my phone,” Chen recounts. “I was out the door and heading toward the bus stop when a waiter ran out and said, ‘Hey, you forgot your phone.’ I was lucky, but it got me thinking. What if a smartphone could detect whether it’s about to become unattended and then could alert the owner while the device was still within reach?”

That’s exactly the kind of system the Cryptography, Security and Privacy (CrySP) group student helped developed.

The app, Chaperone, uses a sonar-type method known as “active acoustic sensing” to detect a smartphone owner’s movements and locks the phone while alerting the owner when detecting a situation could lead to loss.

“When Chaperone is installed on an Android phone, it uses the device’s speakers to emit an inaudible high-frequency acoustic signal. It then detects the echo of that signal — its reflection from the phone’s owner as well as other people and nearby objects — using its microphone. Based on the changes in the reflected signals, Chaperone can distinguish nearby moving people from static objects. Then, Chaperone extracts the owner’s moving pattern and determines if the owner is about to leave the device unattended.”

Active acoustic sensing diagramWhile many loss-prevention solutions require additional hardware such as Bluetooth devices or wearable radio frequency ID tags, Chaperone is a stand-alone solution. All smartphones have a microphone and speaker, so they can perform active acoustic sensing.

To increase accuracy in detection, Chaperone uses four modules before alerting its user: trigger module (sensing user’s movement), acoustic-sensing module (detecting the echo using the device’s microphone to calculate distance and speed of movement), user-tracking module (locating the smartphone’s user in the immediate environment through echo filtration), and decision-making module (alerting the user if necessary).

Accuracy modules

You don’t have to worry about the alert being a blaring horn either.

“Because the alert is selected based on information collected by the trigger module, it’s tailored to the context,” Chen says. “That means if environmental noise is low as in a library, a gentle ringtone would be sufficient to get the user’s attention.”

So far, more than 1,300 experiments across different real-world scenarios have been evaluated. In 93 per cent of cases, Chaperone positively detected a user leaving their phone.

“Our current solution is designed based on a smartphone running Android 6.0 or newer,” Chen says. “The code is freely available so anyone can download it or improve it. Our experimental data and source code for our prototype is available on GitHub. This will help other researchers as well as let them contribute to the project.”