Complex event processing: Difference between revisions

Content deleted Content added
No edit summary
Line 13:
Imagine that same car has a significant pressure loss in the front, left tire. It goes from 45 PSI to 20PSI in 2 seconds. An event of "blowOutTire" is announced. And the car's process determines that and takes approprate measures to keep the car and occupants safe. It slows down the car by anti-lock breaking techniques to bring the car to a stop.
 
UnfortunitelyUnfortunately the driver was thrown from the car and the event "driverUnseated" is announced. The combination of "blowOutTire", "zeroSpeed" and "driverUnseated" came in a very short period of time (a few seconds) and the car '''infers''' that the driver was thrown from the car and announced the "occupantThrown" event. There is no direct measurement that could determine conclusively that the driver was thrown, but the combination of events allows the conclusion to be made. This is a complex event. It is complex because one can not directly measure the event, one has to infer or deduce that it occured.
 
Like simple events, complex events are also announced and triggers processes. This process uses the GPS system and car communication system to look up how to contact the local sheriff and ambulances via a web service. Armed with this information, the car contacts the emergency responders and saves the life of the incapacitated driver.