Different methods of data processing are used in Wialon. Some of them are as follows:
- real-time data processing;
- processing messages from the database upon request.
Real-time data processing
Real-time data processing allows for quick acquisition of data on trips, sensors, ignition, fuel, counters, speeding, and is used:
- in notifications about fuel drains and notifications about fuel fillings and battery charges;
- on the Dashboard tab;
- in sensor values on the Monitoring tab (in unit tooltips, extended unit information, and so on);
- in the Speedings report table when it is possible.
This mechanism is also used in Driving Logbook for detecting trips and their status and in Wialon for Android/iOS.
The data obtained as a result of such processing is bound to time and constitutes time intervals.
If a mileage sensor or a relative odometer is selected as a movement detection method, then when data is processed in real time, mileage is calculated using the selected sensor. In this case, it doesn't matter what type of mileage counter is configured for the unit. If another method of movement detection is used, mileage is calculated by GPS.
Processing messages from the database upon request
All the data sent by trackers go to the database that stores it in the form of messages. Every time the user wants to obtain summary data (for example, when executing reports or viewing tracks), a request is directed to the database and the system processes all the messages for the indicated time interval.
Possible reasons for discrepancies in results
In most cases, both mechanisms of data processing give the same results. The discrepancies might arise for the following reasons:
- not all black box messages are uploaded;
- the uploaded black box messages are older than one day;
- the unit properties have been edited on the following tabs: Advanced, Trip detector, Sensors;
- the messages are imported to the database;
- different options are selected as a movement detection method and as a mileage counter (because mileage is calculated using the movement detection method in the first mechanism and using the selected counter in the second).
If you change the unit properties, the recalculation of the data processed in real time is carried out automatically in 5 minutes. In the case of processing messages from the database upon request, the changes are reflected immediately.
In case of changes in sensor settings, deletion and import of messages, the data processed in real time for the last 24 hours is automatically recalculated.