Six managers are executed over the IoT gateway’s kernel. These managers run agents specialized in different tasks: from analysing all the data collected from the sensors, to maintaining driver connectivity or interacting with the gateway. This Supervisor Manager is responsible of managing the other managers; interaction with the Gateway is possible through him. This manager has competency over the display and buttons on board representing the most comfortable and safest way to interact with the Gateway while riding the bike. It also offers a web interface which eases advanced configuration from a mobile or a tablet. Likewise, this Supervision Manager is a remote gateway entrance to the whole system.
GPS Manager has the responsibility over the connection of knowing the position of the vehicle at any time. This manager delivers to the other managers (Supervisor, Sensor and Camera) an UTC (Universal Time Coordinate) time stamp with longitude, latitude and altitude coordinates. This information will be the temporal and spatial reference which will be attached to the data collected by sensors. All the data collected by the sensors will be processed by the Sensor Manager. Within this manager we can identify an agent specialized on every single sensor (bio, enviromental, gyroscope, accelerometer,etc) In addition of the data reported by the sensors, it’ll be this manager responsibility calculate the speed of the bike by using the GPS position. Over all the collected or calculated data, Sensor Manager will stamp a time and position mark to locate every sample. Another manager’s responsibility is related with the real time analysis from the collected data. As we said previously, the Globalrider IoT gateway owns a policy engine which allows identifying a pattern and trigger an alarm before an accident or any other event happens. Finally, Sensor Manager is responsible to pack all the collected data in a CSV (comma-separated values) file to send it later.