CPC H04W 4/40 (2018.02) [B60W 40/09 (2013.01); G06Q 40/08 (2013.01); H04W 4/027 (2013.01); H04W 4/029 (2018.02); H04W 4/38 (2018.02); B60W 2420/905 (2013.01); B60W 2520/14 (2013.01); G07C 5/08 (2013.01)] | 20 Claims |
1. A method comprising:
obtaining accelerometer data collected using an accelerometer of a mobile device;
determining a timestamp of a first event;
determining a direction of travel of a vehicle with respect to a reference frame of the vehicle during a driving event before or after the first event;
aligning the accelerometer data to the reference frame of the vehicle based on the direction of travel to provide aligned accelerometer data;
extracting a portion of the aligned accelerometer data within a window of time around the timestamp;
determining whether the first event is an entry event in which the mobile device enters the vehicle or an exit event in which the mobile device exits the vehicle;
determining a first component of the portion of the aligned accelerometer data along a first axis;
determining a second component of the portion of the aligned accelerometer data along a second axis, wherein the second axis is orthogonal to the first axis;
determining, based on whether the first event is an entry event or an exit event, the first component, and the second component, whether the first event occurs on a left side or on a right side of the vehicle to obtain a first determination result;
determining, based on the portion of the aligned accelerometer data, whether the mobile device is on a front side or on a rear side of the vehicle to obtain a second determination result; and
determining, based on the first determination result and the second determination result, a position of the mobile device in the vehicle during at least a portion of the driving event.
|