Professional Documents
Culture Documents
Distributed Processing
Wireless Sensor Networks
Real Time Processing
REAL TIME PROCESSING
General perception
“A system that reacts in microseconds or nanoseconds, is real
time, and one taking minutes isn’t ”
A Real time system is irrespective of duration
REAL TIME PROCESSING
WEB (JavaScript)
iOS
ANDROID
REAL TIME PROCESSING
Three Entities:-
Node - Tasks entitled to a specific agent for completion
Dispatcher - Assigns agents to nodes
Agent - Performs tasks assigned by dispatcher
Nodes equipped with sensors, continuously check for events in Realtime.
PROPOSED ALGORITHM
{ {
"tid": 1, “aid”: 1,
“desc”:”agent1”,
"desc": "Task 1",
“lng”:72.122222,
"lng": 72.7842683, “lat”:21.646489,
"lat": 21.1663988, “firebase_token”:”AizaIgyhK77…gg”
}
"status": "r“
}
NODE
AGENT
AGENT
Agent has to find a way to visit all the allocated nodes for
completion of the task at each node optimally .
Priority of Node for calculating MST is based on distance of the
node from other nodes , urgentness of the Node to complete its
task and some heuristics.
Dispatcher performs MST considering priority of node as
weight(cost) of node in a graph and creates a way (tree) for
Agent which connects all the nodes of a particular
agent optimally .
IMPLEMENTATION OF MST
Prim’s Algorithm is used for constructing MST of nodes of each Agent
optimally.
Prim’s algorithm is preferred rather than other algorithms because of its
efficiency to find MST in Dense graphs(i.e No of edges in graph =O(V^2)) .
Priority Queue implemented through binary heaps is used in Prim’s
algorithm because it is efficient for real time data and minimal worst case
Time complexity.
FUTURE