主权项 |
1. A driving data collection device, comprising:
a vehicle interface adapted to interface with an on-board diagnostics system of a vehicle and retrieve vehicle parameters of the vehicle from the on-board diagnostics system while the driving data collection device is physically connected to the vehicle; an output interface adapted to output data by near field communication; a processor adapted to execute computer program instructions; and a non-transitory computer readable medium storing executable computer program instructions that when executed by the processor cause the processor to:
analyze the vehicle parameters to generate verification information indicating whether the driving data collection device is in a correct vehicle;generate driving data describing how the vehicle is driven responsive to the vehicle parameters;detect when the driving data collection device is physically connected to and disconnected from the vehicle;generate a log identifying the connections and disconnections;generate a data file containing a summary of the driving data, the log, and the verification information and smaller than a predetermined file size, wherein generating the data file comprises:
generating a compressed summary of the driving data;adding the compressed summary of the driving data to the data file; andadding raw driving data to the data file to which the compressed summary was added until the data file reaches the predetermined file size; andoutput the data file to an external user device by the output interface. |