| With the development of spatial positioning technology,network technology and mobile communication technology,satellite navigation is a kind of global information source with characteristics of global,all-weather and high precision.The GPS positioning system and the Beidou Positioning System are the two most widely used technologies,which have been widely used in various fields,such as vehicle navigation,children watch,bicycle sharing and etc.In the vehicle navigation system,the positioning terminal is installed on the vehicle to report location information to the server in real-time so that the users can monitor the vehicle’s trajectory in real time.In the user system,positioning terminals are made into watches,bracelets and other equipment worn on the elderly or children.The monitor can get the position of the elderly or children in real time.At the same time,if the terminal is provided with a fence alarm,when the terminal exceeds the preset fence,a warning will be issued to prevent the elderly or children from getting lost.These technologies and products are achieved through the establishment of a positioning system platform and clients.However,the existing positioning system platforms have the following defects.First,there is no uniform data format standard for different positioning products manufacturers.Hence the existing platforms cannot be compatible with different manufacturers and different types of positioning terminals.Second,there is a limitation for the platform scale.When the platform has a large number of terminals to access at the same time,there will be system crash and terminal drop problem.The platform cannot register a large number of terminals,because the database used by the platform does not store the terminal data in a modular way,and the excessive storage of the terminal will lead to the decrease of the query speed and the slow response of the platform.Therefore,it cannot provide users with high availability of location information service.In this thesis,we first design and implement a multi terminal high concurrent positioning and tracking platform system based on GPS/Beidou technology called Multi-terminal and High-concurrent Positioning and Tracking Platform(referred to as MHPTP).The so-called multi-terminal positioning and tracking system refers to the system which can be compatible with different manufacturers and different types of positioning terminals.The so-called high concurrency location tracking system is a system that can access a large scale positioning terminals.At the same time,the system can realize the classified storage terminal data.Then,based on the MHPTP system,we develop an Android client providing users with a visual interactive experience.The main contributions of this thesis are as follows.Firstly,to design and implementation of multi terminal access in MHPTP system,we study the terminal message format,message transmission protocol process,message protocol decoding process and the real-time data reception,detection,analysis and storage of the platform.We design and implement a middleware architecture which can be compatible with a variety of data formats and protocols so that the MHPTP system can access the data format standards provided by different manufacturers,can access and share resources according to the user’s default permission,and can achieve different levels of security applications.Secondly,to design and implementation of high concurrent access terminal in MHPTP system,we study the TCP network transmission protocol,interprocess communication flow,load balancing design principle.And then we design and implement a high concurrency system that supports load balancing.At the same time,we study the MySQL database,SQL basic statements,database backup process and design a relational database table structure to support efficient storage and query,to increase the number of terminals stored in the system,to reduce the delay,and to improve the concurrency of the system so that we build a distributed,high-concurrent access mobile positioning terminal platform system MHPTP.Thirdly,to design and implementation of Android operating system client,we study the development of Android operating system interface,the data exchange process between client and MHPTP system and user access rights management.We design a convenient operation,friendly interface Android client in order to realize the client’s friendly login,easy terminal list management,accurate terminal positioning,navigation and tracking,and integral terminal track playback.Finally,system test results and analysis are made.First of all,we test the compatibility of different types of terminal access.The compatibility of different types of terminals can reach more than 98%.Then we test the system’s ability to access the total terminals.When the number of access terminals is 800 thousand,the MHPTP system can guarantee the correct rate of more than 95%.Then we test the concurrency of the MHPTP system to the terminal.When the MHPTP system is connected to 1500 terminals at same time,the system can guarantee more than 95%concurrency rate.And then we test the delay of the database system to accept the access of the location platform,it can ensure a delay of less than 50ms.Finally we test the function of Android client login,list management,location,navigation and tracking.The accuracy rate is above 95%.From the above test results,we can see that the system has good performance in all aspects. |