Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. How to develop real time alert system

How to develop real time alert system

Scheduled Pinned Locked Moved Design and Architecture
databasejavaphpdesignsysadmin
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shelltton
    wrote on last edited by
    #1

    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.

    V L J L 5 Replies Last reply
    0
    • S shelltton

      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.

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S shelltton

        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.

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • S shelltton

          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.

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • S shelltton

            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.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • S shelltton

              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.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              :) 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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups