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?