Providing communications module for new Mi-Trek tracking unit. *Mi-Trek is a vehicle tracking company based in Canberra, Australia. * Mi-Trek Website
Mitrek Backend Server is program that run under java to do monitoring against the vehicle that was installed new Mitrek GPS Unit.This program will listening messages that was sent by GPS Unit.
The program carried out communication with Mitrek GPS unit through the GPRS network, with specified port and ip address.
Mitrek Backend Server was built from a group of interface. This group
has a work relationship each other.
Socket Listener interface is an interface that handle a connection request from the device. Once this interface accepts a request from GPS device, this interface will open a socket for communication process with the device. Then Socket Listener Interface will associate the device with a Device Handler Interface.
Device Handler Manager Interface is interfaces that manage all the Device Handler Interface.
Device Handler Interface
Device Handler Interface is an interface that handle all the process that related with the GPS device including receive all the message response from device, send the command message to the device and maintain the connection between the server and the device.
Command Relay Interface is interfaces that send command message to the device by routed the command message to the right device. Basically, this interface poll the command message that already stored in the database and then construct the command and send it.Persistent Interface
Persistent Interface is an interface that handles storing process for the incoming message and outgoing message to the database.
The Mitrek backend server connected to installed GPS device on the truck through the GPRS network connection. Once the GPS device turned on, the device connected to the host server and requested for a new connection. Socket Listener interface will handle this request from the device. Socket Listener will accept this request and then this interface will make a new socket connection through the client (in this case the GPS device) and associated this socket with a new Device Handler interface. The Device Handler Manager interface will take this new device handler interface and put it into the list of device handler that still connected to the device. This device manager manages this entire device handler.
The Device Handler interface handles the connection through the client and manages the receiving and sending process through the client. When the client sent report message in an interval time, this interface will construct this message into a report message and send it to the Persistent interface. This persistent interface will store the report massage to the database. As a feedback, the device handler interface sends an acknowledgement message to the client so that the client knows that the server is still running at that moment.
When the users want to send a message to the client, they have to create a command message and then store this message in the database. The Command Relay interface will take an action for this process. This interface will poll the message from the database in an interval time and then construct this message into a command message. Then this interface route this command to the right device by using the Device Handler Manager interface for the routing process.
device monitoring in Mitrek backend server
command type in Mitrek command user interface
command setter in Mitrek command user interface
list incoming message in Mitrek backend server
list outgoing message in Mitrek backend server