Android + webserver GPS monitoring system (concept)

Source: Internet
Author: User

Suddenly there was an idea that built a system. It can be used to monitor the current location of people with mobile devices (devices with GPS functions. It's a bit similar to the escape location where the movie monitors "the right guys. In

The current location of the monitored person is displayed on the map on the big screen with a red dot. Because the car is driving fast, the moving speed of the little red dot is also very fast (of course we are not so real-time, we do not need such real-time monitoring, you can

Set a time update. For example, you can update it in half an hour ).

The hypothetical platform is based on Android (use it instead of Windows Mobile or IOS, etc.) to compete for the eye. Haha. Because Android is very popular in the garden ).

The first is a webpage system, which is based on the user mechanism. The user is the object to be monitored. Data fields are defined as follows:

ID system auto-increment ID

The userguid field generates a new unique code for every registered account in the universe. We use this code to match with the monitored mobile phone (do not ask why I don't need a user ID. Very simple. It is easy for others to guess)

Username: name of the monitored person

Password

 

The above is the user table, and there is a table to record the coordinates of the monitored person. The field structure is as follows:

ID system auto-increment ID

Userid: ID of the person in charge

Coordinate records the user's current coordinates, for example, 213,822 (garbled, not familiar with the world's coordinate system)

Then, the server can use the Google map API to add the obtained coordinate values to the map for location. Then you will know the specific location of the current mobile phone durator. How is it? Sy, right?

 

Finally, let's talk about Android. It can be run in the background.Program, Enter the registered guid. Then, use the mobile phone's GPS system to obtain the current coordinates. Set Time. Regularly communicates this standard to the web server. Specific purchase

Communication methods (such as post, WebServices, and TCP ).

How is it? In theory, we can implement a monitoring service provision system. Is it a good idea?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.