Push Crash Data
Introduction
The transfer of data collected by the DriveKit SDK during a collision and the crash insights are a common need for DriveQuant platform users. Crash data can be shared to:
An assistance platform in order to alert an operator, who may decide to call in a tow truck or the emergency services.
An insurance platform to open a claims report and use the data to accelerate decision-making and processing.
This is why DriveQuant offers the possibility to retrieve all the data collected by the mobile SDKs during a collision as well as all the crash indicators that result from our analyses. This is the purpose of the Crash Data Push service.
Principle
The crash data push service sends the crash analysis results right after it is completed and analysed.
The accident detection and confirmation cycle is described below.
Crash detection is active only while a trip is being recorded. Trip recording is automatically triggered by the DriveKit SDK, which can detect a vehicle's displacement.
The SDK constantly analyses the data collected by the phone's sensors during the trip. In case of a collision, the DriveKit SDK sends a portion of data to the DriveQuant platform for analysis.
The DriveQuant platform performs signal processing on the raw data to extract sensitive indicators. These indicators are analysed by an algorithm trained to identify accidents by similarity with a confirmed accident database.
As soon as the analysis is complete, the data is transmitted to your platform through the crash data push service.
Collision detection on the smartphone is instantaneous. Then, 20 seconds are required to record the post-collision data before sending the data to the DriveQuant platform. Crash confirmation on our platform takes less than a second. As soon as the crash is confirmed, the data is pushed. Overall, it takes less than 30 seconds from the time of collision to get accident data on your platform.
Configuration and Automatic retry
Crash data is sent as a POST request to a client URL. The URL must be provided to DriveQuant in order to set up and activate the crash data push service.
The body of the request is a JSON object with a set of fields that contain the raw data and crash indicators.
It is mandatory to configure a response code. If the POST request is accepted, we expect a http status code 200 (OK)
. Any other code will be considered as a failure, and the service will attempt to send the crash data again every minute for 10 minutes. If the request still fails after these 10 attempts, the crash will be sent once a day until receiving a valid answer.
If the service returns a 200 HTTP code while the data has not been accepted by the client server, then, there will be no further attempt to send the data.
Security
See Security in parent section.
Sample Message
The crash data push API specification can be downloaded here in OpenAPI YAML format.
How to use crash data in an assistance context?
The crash data push service is designed to automatically make an emergency call to an assistance operator.
The data shared via this service helps the operator to take the right decision to assist the driver. He can choose several types of action depending on the severity of the accident. For example:
Call the driver to obtain confirmation of the accident.
Send a towing vehicle in the case of mechanical damage.
Send the emergency services if there is a severe accident.
Assessing the situation and the severity of the accident is critical and can be facilitated by the following indicators:
the probability of an accident, expressed as a %.
the speed at the time of collision. At high speeds, a vehicle stores more kinetic energy, which will cause more damage the force of the collision.
the force of the impact measured by the smartphone. The severity of the accident increases with the force measured.
The service sends the coordinates of the accident at the time the collision was detected, as well as the coordinates of the vehicle for 20 seconds before and after the collision.
This data is displayed on a web page which can be opened using the URL link in the userLocationUrl field.
In addition to the characteristics and location of an accident, the DriveKit SDK measures and shares the smartphone's location after the accident.
In case of doubt, the operator can find out whether the driver is continuing his route or has stopped near the place of the accident.
This is useful information to evaluate the severity of the accident, as drivers will generally continue their trip if it is a minor accident or a false alarm (i.e. a false positive accident detection).
The data is displayed on a web page accessible via a unique URL link.
The web page displays the crash data and the smartphone's coordinates updated every 10 seconds.
The page only displays information about the trip during which an accident was detected and confirmed.
The URL link expires after 24 hours.
Last updated