How to develop real time alert system
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
Outside of your normal n-tier approach there is not so much different going on. email for email you can always write it to use smtp. This implies you have an smtp server. (IIS eg is already capable of doing this, so I guess a java equivalent can also) An smtp mail is pretty straightforward, to, cc, bcc, from, subject, mailbody and attachments depending on what you need and I'm pretty sure Java has objects available. Sms. To send an sms you'll need an application that can do this and provides a component that you can use. I say application, because that will have to go through a phone central or something similar. The best thing you can do is check with the provider, who knows they have a webservice that you can use. Once you have that, it's basically the same as an email: phonenumber sender, phonenumber receiver, smstext.
shelltton wrote:
when a vehicle arrive or aprouch in an pre definined route
This will be the hard part depending on your needs. If it is a real route they're following you'd somehow need to match the 'triggering' route with the real followed route. Can't help you here. If the 'route' corresponds to an area and you need to trigger if an object entered that area this might be simpler, unless the area is polygon (polygons can be pretty complex), in that case you need a special algorithm that divides the polygon in seperate regular polygons (square, triangle, ...). If the area is a circle or a square or something like that you just need to check if the XY coordinate of the object is within the regular square/triangle/circle/... If you can go for a square or circle. Triggering Normally you can subscribe to a callback of the object that provides the coordinates of the moving vehicle (GPS?). In that callback you need to check whether it is within the boundaries of the area or is on the triggering route for an email/sms and send. I realize that this not a complete answer to what you probably want, but I hope it might give you enough information to start. if you have more detailed questions, shoot, I'm no wizard, but I can try to answer :-)
V.
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
I wonder how you can mention real-time and e-mail in one thread. All an email system does is try and deliver your message at some undefined point in time, there is no guarantee whatsoever as to success nor speed. Messages that typically arrive in under one minute may as well take hours to arrive, or get lost permanently. I'm not sure, however I guess the same holds true for SMS. :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
Is this a real (business) system? Then I doubt anyone cares if it gets to a location on time. What they care about is when they don't get there on time. And humans are not "real time" and email/sms isn't either. If you are using a GPS then it sends location information every X interval. You have a map (on a server) tied to GPS id which locates itself on the map and which receives the GPS info. If the analysis finds a problem (or maybe a ontime for a student app) then it sends a notification. The notification api (its own layer not part of the above) determines who to send the notification to and how to send it. For a real business system it probably needs throttling as well. That way the COO doesn't get 1000 pings an hour when the city has a snow storm.
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
sexy girlï¼video for adult ï¼ more than 30 videos,just for make money from sharecash.org while you download the files.http://sharecash.org/download.php?file=2531204
-
I want to design and implement an arquictecture for manage alert in real time for geofencing information. The system must trigger an alert (email/sms) when a vehicle arrive or aprouch in an pre definined route. My actual system is based in Java (server), php, google map, OpenLayers and Postgis database. I have no experience in this area, I would appreciate any kind of help, either in reference bibliografica, sites or ideas.
:) sexy girlï¼video for adult ï¼ more than 30 videos,just for make money from sharecash.org while you download the files.http://sharecash.org/download.php?file=2531204