Professional Documents
Culture Documents
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
1. Introduction
1.1 Introduction
The Global Positioning System (GPS) is a global navigation satellite system (GNSS) developed by the United States Department of Defense and managed by the United States Air Force 50th Space Wing. It is the only fully functional GNSS in the world, can be used freely, and is often used by civilians for navigation purposes. It uses a constellation of between 24 and 32 Medium Earth Orbit satellites that transmit precise microwave signals, which allow GPS receivers to determine their current location, the time, and their velocity. Its official name is NAVSTAR GPS. Although NAVSTAR is not an acronym, a few backronyms have been created for it. Since it became fully operational in 1993, GPS has become a widely used aid to navigation worldwide, and a useful tool for map-making, land surveying, commerce, scientific uses, and hobbies such as Geo-Caching. A GPS tracking unit is a device that uses the Global Positioning System to determine the precise location of a vehicle, person, or other asset to which it is attached and to record the position of the asset at regular intervals. The recorded location data can be stored within the tracking unit, or it may be transmitted to a central location data base, or internet-connected computer, using a cellular (GPRS), radio, or satellite modem embedded in the unit. This allows the asset's location to be displayed against a map backdrop either in real-time or when analyzing the track later, using customized software. Such systems are not new; amateur radio operators have been operating their free GPS-based nationwide real-time Automatic Packet Reporting System (APRS) since 1982.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
time of the signal multiplied by its speed c, gives the distance between the satellite and the receiver. Once we know the distance separating the receiver from several satellites, we can determinate the users position by triangulation. We need at least four satellites in line of sight of the receiver. Three satellites are enough to restrict the possible set of the receiver to two points of the space, whose one will be rejected because it is far from earth. The fourth satellite allows to correct the errors of the receivers quartz clock and to calculate a precise time ( 100 ns) based on the atomic clocks of the satellites.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Small devices come in many shapes and sizes, each addressing distinct target markets that have different requirements. In this the Mobile phone market segment spans voice-centric phones with information capability to information-centric devices with voice capability. These advanced mobile phones integrate fully-featured PDA capabilities with those of a traditional mobile phone in a single unit. There are several critical factors for the need of operating systems in this market. It is important to look at the mobile phone market in isolation. It has specific needs that make it unlike markets for PCs or fixed domestic appliances. Scaling down a PC operating system, or bolting communication capabilities onto a small and basic operating system, results in too many fundamental compromises. Symbian believes that the mobile phone market has five key characteristics that make it unique, and result in the need for a specifically designed operating system: 1. Mobile phones are both small and mobile. 2. Mobile phones are ubiquitous - they target a mass-market of consumer, enterprise and professional users. 3. Manufacturers need to differentiate their products in order to innovate and compete in a fastevolving market. 4. The platform has to be open to enable independent technology and software develop third-party applications, technologies and services. The way to grow the mobile phone market is to create good products - and the only way to create good products is to address each of these characteristics and ensure that technology doesnt limit functionality. Meeting the impressive growth forecast by analysts in a reasonable time frame is only possible with the right operating system. Symbian and its licensees aim to create a mass market for advanced open mobile phones. To deliver products that satisfy mobile phone users, an operating system must be engineered to take into account key functional demands of advanced communications on 2.5G and 3G networks. To fit into the limited amount of memory a mobile phone may have, the operating system which must be compact. However, it must still provide a rich set of functionality. What is needed Dept. of ISE Page 4 SBMJCE vendors to
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
to power a mobile phone is not a mini-operating system but a different operating system - one that is tailored. Symbian is dedicated to mobile phones and Symbian OS has been designed to meet the sophisticated requirements of the mobile phone market that mini-operating systems cant. They simply run out of steam. The five key points - small mobile devices, mass-market, intermittent wireless connectivity, diversity of products and an open platform for independent software developers are the premises on which Symbian OS was designed and developed. This makes it distinct from any desktop, workstation or server operating system. This also makes Symbian OS different from embedded operating systems also.
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Second Generation (2G): Voice-centric digital systems with increased coverage and capacity and messaging. Third Generation Transitional (2.5G): Stepping stone to 3G with always-on network connections and bandwidths up to 170 Kbps allowing better Internet browsing, email, and some audio and video; GPRS has been the dominant technology. Third Generation (3G)/Fourth Generation (4G): Bandwidths up to 2Mbps and 200 Mbps respectively for high-end services such as video teleconferencing.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
phone is not locked either to a specific carrier or to the carrier that the SIM is associated with.
Internet on the Mobile: For the first time, GPRS fully enables Mobile Internet functionality by allowing inter working between the existing Internet and a new GPRS network. Any service that is used over the fixed Internet today- File Transfer Protocol (FTP), web browsing, chat, email, telnet- will be as available over the mobile network because of GPRS. Because it uses the same protocols, the GPRS network can be viewed as a sub-network of the Internet with GPRS capable mobile phones being viewed as mobile hosts.
2.
Speed: GPRS allows large amounts of data to be sent over mobile networks at speeds three to four times greater than conventional GSM systems. Theoretical maximum speeds of up to 171.2 kilobits per second (kbps) are achievable with GPRS using all eight timeslots at the same time. This is about three to four times as fast as the data transmission speeds possible over today's fixed telecommunications networks and ten times as fast as current Circuit Switched Data services
Dept. of ISE
Page 7
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Few examples of GPRS applications are Golfing application, Diamond mining, Spot the game - very effective, Hunter's friend etc.
2. Problem Definition
Problem Definition
2.1
Dept. of ISE
Page 8
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Tracking and Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals Continuous monitoring the Location of people with mobile phones having Symbian Operating System and using a web service from a centralized location.
2.2
Objective
All mobile phones are constantly in touch with the nearest mobile phone towers and boosters to maintain a good reception of the signals. The integration of the GPS chips into the cell phones has made this possible to track a cell phone more accurately. GSM mobile phone tracking system is cheaper than the GPS satellite tracking system. GPS (Global Positioning System) satellite tracking system has been used for the number of the years by the cars and road transport industry. GSM mobile phone tracking system doesnt show exactly where youre mobile is but it shows you the radius of the place where it is likely to be placed. The accuracy depends on the number of factors such as landscape, network coverage and the weather conditions. Mobile tracker works on the simple principle of card punching i.e. the user need to give a single click input when he reaches each check point. The tracking system will understand each user inputs and sends the information to web service and from there to tracker database in Web site. The Objectives of the project are 1. 2. 3. To create a well-planned tracking method, which reduces the cost of information exchange, but at the same time automate the entire tracking process. To receive and process multiple user inputs and make it available online for the administration to track and monitor. To develop, integrate and deploy different technological components to achieve one single aim called tracking.
2.3 Statement
The objective of our project is to develop mobile Tracker software, which can send the user position for every 5 min.
Dept. of ISE
Page 9
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
3. Literature Survey
3.1
the launch of WINDOWS in 1991. .NET (pronounced dot net) is a revolutionary multi-language platform that knits various aspects of application developed together with internet. The Dept. of ISE Page 10 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
framework covers all layers of software development above the operating system. Several softwares were developed by Microsoft to achieve this goal. It is expected that every player in the industry be it a software developer or a device manager, adopt .NET so that they can be integrated. The .NET initiative is all about enabling data transfer between networks, PCs and devices seamlessly independent of the platforms, architecture and solutions. Microsoft has taken many of the best ideas in the industries, combined in some great ideas of their own, and brought them all into one coherent package. 3.1.1
applications, XML web services, desktop applications, and mobile applications. Visual Basic .NET, Visual C++.NET, and Visual C#.NET all use the same Integrated Development Environment(IDE), which allows them to share tools and facilities in the creation of mixed-language solutions. In addition, these languages leverage the functionality of the .NET framework, which provides access to key technologies that simplify the development of ASP web applications and XML web services.
3.1.2
Language Enhancement
Microsoft Visual Basic, Microsoft C++, and Microsoft Jscript have all been
updated to meet your development needs. Additionally, a new language, Microsoft C#, has been introduced. These languages leverage the functionality .NET framework, which provides access to key technologies that simplify the development of ASP web applications and XML web services.
3.1.3
C#
Visual C#, pronounced C sharp, is a new object-oriented programming is just some
of the enhancements made to the C++, providing a simple and type-safe language for developing application. 3.1.4
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Figure 1: XML Web Services XML Web Services are applications that can receive request and data using XML over HTTP. XML Web services are not tied to a particular component technology or object calling convention and can therefore be accessed by any language, component model, or operating system. In Visual Studio .NET , you can quickly create and include XML Web Services using Visual Basic, Visual C#, Jscript, Managed extensions for C++, or ATL server.
3.1.5
Architecture
Dept. of ISE
Page 12
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Figure 2: Architecture of .NET framework Languages: Four languages comprise Visual Studio .NET itself: Visual Basic, Visual C++, Visual C#, and JScript. However, the modular nature of the .NET Framework means that other languages authored by third parties can integrate into Visual Studio .NET. There are more than 20 such languages, including Perl, Component Pascal, SmallScript, and Smalltalk. The Common Language Specification: This specification underlies all of the languages that implement the .NET Framework and defines standards for a common type system, and functionality, that all languages must implement. This is how third-party languages can integrate with the Framework. Windows Forms: All languages share a common Windows Forms engine. The Form designer is consistent across all languages so all languages can access the same intrinsic controls that expose the same properties and methods. Interfaces have the same look and feel even when developed in different languages. Dept. of ISE Page 13 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
ASP.NET: This is the underlying technology behind both Web Forms and XML Web services. Web Forms are used for front-end Web development and XML Web services expose functionality across either an intranet or the Internet. Data Management: ADO.NET, which replaces ADO as the data-handling mechanism in the .NET Framework, is a highly scaleable technology that uses XML for data transfer. Base Class Library: These are classes that provide a consistent and easy-to-use means of accessing information (for example, system information, user information, and so on) that previously required special components, or an API. Common Language Runtime: Despite its name, the runtime actually has a role in both a components runtime and development time experiences. While the component is running, the runtime is responsible for managing memory allocation, starting up and stopping thread processes, and enforcing security policy, as well as satisfying and dependencies that the component might have on other components. At development time, the runtimes role changes slightly; because it automates so much (for example, memory management), the runtime makes the developers experience very simple, especially when compared to COM as it is today. In particular, features such as reflection dramatically reduce the amount of code a developer must write in order to turn business logic into a reusable component.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
and improving it. Fast forward to today, and we find that Symbians operating system now known as Symbian OS is a major player in the smartphone marketplace, residing in the majority of todays smartphone devices. Symbian is jointly owned by Nokia, Panasonic, Psion, Samsung, Siemens and Sony Ericsson which, together, represent a major portion of the mobile phone industry.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
object-orientation) and a good error-handling framework. Engineering best practice greatly helps reduce the number and severity of bugs while the error-handling framework enables graceful recovery from run-time errors, such as running out of memory, low battery power or dropping a communication link. Reducing the possibility of user code making the whole system unstable goes a long way towards achieving robustness. Ideally, the kernel, with its privileged code, should be small. System servers running without special privilege should handle much of the functionality conventionally handled by device drivers. An effective memory management system is needed to prevent memory leaks. System resources should be released as soon as they are no longer needed and an effective, easy-touse error-handling framework should manage out-of-memory errors properly. However, reliability alone is not enough to make good products. Sound consumer design is also necessary, where Product applications take advantage of the mobile phones unique characteristics as well as its environment Products should be designed to meet current usability and future developments in wireless technology. Consistency of style is paramount - if a feature is too complex to use, then it cannot justify either the time it took to develop or the space it takes in the device. An operating system targeted at mobile phones must support these design principals by offering a high-level of integration with communication and personal information management (PIM) functionality. Symbian OS combines high functionality middleware with superior wireless communications through an integrated mailbox and the integration of Java and PIM functionality. Handling occasional connectivity: Accessing remote data, sending email or synchronizing calendars requires some type of connection. Mobility constraints generally make a wireless connection preferable - whether wide area (using wireless telephony) or personal area (such as infrared or Bluetooth). Wireless connectivity is patchy, caused by different protocols around the world, fade-outs while moving and incomplete coverage especially in remote areas, in some buildings or while airborne. It is unwise to rely on a permanent mobile connection - it is very frustrating for the user if such a connection is
Dept. of ISE
Page 16
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
assumed. Wide area wireless networks are - and always will be - much slower than wired networks. There must be a smooth transition between being a window on the network and a self-sufficient device. Connectivity requires an operating system with genuine multitasking, communications-capable real-time performance and a rich suite of communications protocols. In addition to the real-time requirements to maintain connections, the operating system must provide mechanisms to handle dropped connections gracefully and inform the user appropriately. To provide a smooth transition to the user and to be able to support forthcoming standards (such as third-generation WCDMA and its evolution), network stacks must be abstracted in such a way that the application-level interface remains consistent no matter what type of protocol stack is used. The operating system has to provide a rich set of APIs to ensure that applications can benefit fully from current connectivity possibilities and be easily adapted to take advantage of new protocols as they are implemented. Product diversity: There is an apparent contradiction between software developers who want to develop for just one popular platform and manufacturers who each want to have a range of distinctive and innovative products. The circle can be squared by separating the user interface from the core operating system. Advanced mobile phones or Smartphones will come in all sorts of shapes - from traditional designs resembling todays mobile phones with main input via the phone keypad, to a tablet form factor operated with a stylus, to phones with larger screens and small keyboards. The different input mechanisms and form factors strongly influence the intended primary use of devices. With a very small screen and just a keypad, the main use tends to be voice calls. With pen input, browsing is quite convenient, but data entry is not. A keyboard is obviously the most practical mechanism to enter a large amount of data. These distinctions imply that user interfaces are ultimately both device and market dependent. Product differentiation is just a matter of operating system design. The operating system vendor must allow its licensees freedom to innovate and develop new product lines. Whether or not a vendor allows this is a key feature of its commercial model.
Dept. of ISE
Page 17
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
To support distinct phone families and yet maximize code reuse, Symbian focuses on the common code: Symbian OS, which includes a multi-tasking multithreaded core, a user interface framework, data services enablers, application engines and integrated PIM functionality and wireless communications. Licensees are active participants in software development, creating a large development organization to extend Symbian OS. This results in thousands of developers among licensees and partners having access to source code and ensuring that Symbian OS remains an open standard - open and advanced. This strategy ensures that Symbian OS phone manufacturers can create highly differentiated products while sharing a technology platform and keeping the learning curve to a minimum. Open Platform: An operating system for the mass-market must be open for third-party development - by independent software vendors, enterprise IT departments, network operators and Symbian OS licensees. In turn, this implies a manageable learning curve, standard languages such as C++ and Java, along with SDKs, tools, documentation, books, technical support and training. Symbian OS has a rich set of APIs for independent software developers, partners and licensees to write their applications. Even though mobile phones are small and mobile, they can offer facilities as rich as those on desktop computers, in addition to basic functions such as voice and data communication. The operating system has to support both conventional and mobile computing paradigms, and developers need knowledge of both. To reduce the time-to-market, developers should become proficient in as short a time as possible. Supporting standards that they may already know or can easily learn from a multitude of sources is necessary. Standards also make the platform more open and hence attract more developers. Traditional standards such as Unicode for internationalization, a POSIX API, and Java are a must, but for an operating system to take its place in the connected world, open standards such as TCP/IP, POP3, IMAP4, SMTP, SMS, MMS, Bluetooth, OBEX, WAP, i-mode, Java and SyncML should also be supported. Symbian has trusted leading partners in the mobile phone market and actively participates in standards organizations (such as the Open Mobile Alliance and the Java Community Process). Through these, Symbian has advance knowledge of future Dept. of ISE Page 18 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
technologies and can test Symbian OS with many different phone systems. This ensures the stability and the future place of Symbian OS. Furthermore, a user interface framework, data service enablers and application engines provide a solid base for application developers to target.
3.2.2 Architecture
Symbian OS architecture is designed to meet a number of requirements. It must be hardware independent so it can be used on a variety of phone types, it must be extendable so it can cope with future developments, and it must be open to all to develop for.
Figure 3: Architecture of Symbian OS 1) Core - Symbian OS core is common to all devices, i.e. kernel, file server, memory management and device drivers. Above this core, components can be added or removed depending on the product requirements. 2) System Layer - The system layer provides communication and computing services such as TCP/IP, IMAP4, SMS and database management.
Dept. of ISE
Page 19
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
3) Application Engines - Above the System Layer sits the Application Engines, enabling software developers (be they either employed by the phone manufacturer or independent) to create user interface to data. 4) User Interface Software - USI can be made or licensed by manufacturers. 5) Applications - Applications are slotted in above the user interface.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
adopt new devices. Power management is built into the kernel of Symbian OS and is designed to make efficient use of the processors and peripherals and so minimize power usage. When peripherals are not being used they are switched off by the system. This lowers battery consumption, prolonging usage and allows for smaller batteries. Robust and Dependable: Symbian OS users will have experienced the performance levels achieved in this area by mobile phones. Devices should not lose user data, crash or require rebooting. Symbian achieves this in two ways: 1. Each process runs in a protected address space, thus it is not possible for one application to overwrite anothers address space. 2. The kernel also runs in a protected address space, so that a bug in one application cannot overwrite the kernels stack or heap. The client-server architecture of Symbian OS allows applications to exchange data without compromising overall system integrity. This meets the requirement to work on stand alone portable devices, even though Symbian devices offer greatly enhanced functionality over standard mobile phones. Memory Management: For stand alone portable devices, memory management is important. The need to minimize weight, device size and cost means the amount of memory available on a Symbian OS device is often quite limited. Symbian OS always assumes that the memory available is limited, and minimizes consumption at every turn. Consequently, less memory is actually required by the system. Also having less memory helps to keep down power consumption.
Full Multitasking: Symbian OS runs each application as a separate process, allowing multiple applications to run concurrently. For instance, if a user is checking the calendar, and receives a call, the system must allow the user to switch between applications instantaneously. Equally, should the phone call result in an appointment, the user must be able to check the calendar - and still maintain the phone call. As phones become more data enabled, this ability will become ever more important.
Dept. of ISE
Page 21
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
An Open Operating System: Symbian OS is an open OS. The different aspect of this statement is explained below. 1) Open to anyone to license: All manufacturers are treated equally - licensing Symbian OS is open to all on fair and equal terms. 2) Open to anyone to develop applications: The even-handed approach adopted towards manufacturers extends towards developers. API's are made available as a matter of course. Support for 3rd party developers is a key tenet of Symbian OS so full of SDKs and support are available for all products. Anyone can build an application for Symbian OS and again there is fair and equal access for all. 3) Based on open standards: Symbian focuses on one clear part of the value chain providing a platform for all to build upon. Consequently Symbian avoids proprietary standards. It is an active participant in many standards forums - often drawing on the expertise of its shareholders and licensees. The components of Symbian OS are based on agreed open standards. 4) Owned by the industry: Symbian has steadily increased the number of shareholders since it was inaugurated. With the addition of Siemens as the latest shareholder, Symbian shareholders now make over 70% of the phones sold globally. This breadth of ownership ensures that Symbian acts in the interests of the whole industry, driving open standards and promoting interoperability.
Dept. of ISE
Page 22
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Nokia N82 Nokia E90 Communicator Nokia 6650 Nokia N95-3 NAM Nokia N95 8GB Nokia N95 Nokia 6210 Navigator Nokia 6220 classic Nokia N78
Nokia N96-3 Nokia N96 Nokia N85 Nokia E71 Nokia E55 Nokia E75 Nokia N86 8MP Nokia 6710 Navigator
Dept. of ISE
Page 23
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
applications and with Java for building Java applications is done with Symbians extensions and differs somewhat from, for example, C++ development for Microsoft Windows. The biggest difference from the development with standard C++ is the unique approach to exception handling, which was not supported by the compilers available in the early phase. The development tools are available from tool partners, including Metroworks, Borland, and Appforge. Currently, Series 60 uses Microsofts Visual Studio in the C++ Software Development Kit (SDK). The development is done on ordinary desktop computers, and the SDK provides good development support and allows applications to be tested without the target hardware (to some extent). With the development tools, the compilation for the target device can also be performed, and installation packets (Symbian Installation System SIS files) can be created. Although development with the SDK allows testing of the application to some extent, it is also important to install the application into the target device to test the operation fully.
Dept. of ISE
Page 24
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 25
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 26
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
4.2
System Overview
In the figure 7 the Cell phone are any mobile phone with Symbian Operating System
Version 9.1 and above, with Phone UI SDK Series 60 and with GPRS, GPS enabled in it. This application can also be developed for Mobile Phones with UI SDK Series 80 also. This needs some change in the Mobile application. The Major difference between Series 60 and Series 80 Mobile Phones is Series 60 is Key enabled only and Series 80 is Touch Screen enabled. And then there are Java enabled kits in the market, which this project is not taking into consideration.
Dept. of ISE
Page 27
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Figure 7: System Overview The program developed and installed in this mobile phones retrieves the current location of the user via GPS and upload it to web portal via HTTP transfer using GPRS. The values thus received are stored into to Database and later retrieved to display them on the Google Map Web Portal. The Server is nothing but machine in which the .NET web services is hosted and is running continuously. This machine should be connected to Internet and the IP of this machine should be a Public IP (Any other node connected in internet should be able to uniquely access this machine with its IP address). The application is developed to access the Google Map Web Portal. The user movement is tracked on this Google Map Web Portal, which appears as a line shown connected to Pin indicators that are nothing but location the user had moved for every 5 minutes interval. The Internet is any client machine on the Internet, which accesses the Web Services. When the user access the hits the URL for the application, the login page is displayed to him from where he can login as a admin or as a user based on his login credentials.
Dept. of ISE
Page 28
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
4.3
User Requirements
The users using this project will be common users with a phone with GPRS connectivity
with GPS and Symbian O.S. 9.1 and above. The user can install this GPS-Tracker software on his mobile phone. I have tested the application on the - Nokia 6110 Navigator. The application will work on the
below given mobile.
Nokia N82 Nokia E90 Communicator Nokia 6650 Nokia N95-3 NAM Nokia N95 8GB Nokia N95 Nokia 6210 Navigator Nokia 6220 classic Nokia N78
Nokia N96-3 Nokia N96 Nokia N85 Nokia E71 Nokia E55 Nokia E75 Nokia N86 8MP Nokia 6710 Navigator
Summary
This chapter explains about the overview of the Global Position Tracking System, which
is proposed, and the different mobiles available in market on which the application can be run. As per the figure 3.1 a Symbian C++ application is to be developed and that needs to be installed in the Mobile. A .NET Web services which integrates the Google Map Web Portal and also stores the data in the database. The web portal prompts the user to login as an admin or a normal user based on their credentials.
Dept. of ISE
Page 29
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
5.
5.1
Introduction
This chapter gives the overall information about the system requirements, which includes
Hardware requirements:
The hardware requirements can be classified into 2 - Computer requirements and the
mobile requirements.
5.2.1
Computer Requirements
Processor Monitor RAM Speed Secondary Device : Pentium IV : SVGA : 128MB(minimum) : 500MHZ : 20GB
5.2.2
Mobile Requirements
Any Mobile Handset having Symbian OS 9.1, Series 60 with GPRS, GPS enabled in it.
5.3.1
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
The responsibility of this component is to receive the location information from several mobile users via Position Tracker mobile software. This component will also store the location data into database. This component will also allow administrator to see the locations in Google Maps. Technologies: Microsoft .Net 2.0 Visual C# language ASP.Net 2.0 ASP.Net 2.0 web service SQL Server 2000 Google Maps API XML
5.3.2
component is to get the current location of the user via GPS and upload it to web portal via HTTP transfer using GPRS. Technologies: Symbian Operating System 9.0 and above for mobiles C++ Carbide C++ 1.3 IDE
Dept. of ISE
Page 31
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
5.4.1
5.4.2
track is to be maintained. user on the Google Map. The values are retrieved from the Database. on the on the Google Map on the home page. The values are retrieved from the Database.
5.4.3
IASP.Net web service is used which will be acting as a communicator between Mobile Device application and SQL 2000 Server database. This web service will receive information as base64 encoded data and it will store the same in the database.
5.4.4
This component is used to store the backup data information like user ID, password, Latitude, Longitude and the Time.
Dept. of ISE
Page 32
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
6. GANTT Chart
6.1 Overall Project Calendar
Dept. of ISE
Page 33
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 34
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
7. System Design
This chapter outlines the different design diagrams and the flow charts used in the application. 7.1
Database Module
VARCHAR(50) Name of the Student or User VARCHAR(50) This must be unique. VARCHAR(50) VARCHAR(50) This key was added for future use. This is the key used to provide access to many related projects on phone. Right now it is not used. Datetime
DateOfJoin
Name
Comments
Dept. of ISE
Page 35
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
N N N N N
Integer
VARCHAR(50) Latitude value received from mobile. VARCHAR(50) Longitude value received from mobile. Date time Integer This is the ID of the student for whom the tracking was carried on. It is s foreign key to Student table.
7.1.2
Student RecID Name
Table Relations
TrackInfo RecID Latitude Longitude UpdateTime StudentID
Relations 7.2
Figure 11: Data Flow diagram for Web Application Module Dept. of ISE Page 36 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
7.3
Dept. of ISE
Page 37
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
7.4
Is IAP set? LAsk User to select an IAP in dialog box. Is IAP set?
Dept. of ISE
SBMJCE
Ask User to select select an Ask User toan Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals. IAP in IAP in dialog box. LocationTimer dialog .cpp, LocationTiParse the LocationReade box. response & Check the r.cpp Start status code sent by Is IAP server Start LocationHttpE set? ngine.cpp
locationAppVie w.cpp
LocationTimer .cpp LocationHttpE ngine.cpp, HTTPEngine.c pp locationReader Display form to user to .cpp enter userid and password Location.rss
Location.rss
successfully?
Start
Start getting position Start getting position from GPS GPS from
locationReader .cpp
locationAppVi ew.cpp
Display form to user to enter userid and Ask Position password received User to successfully? Is UserIAP in authenticated?
dialog select an
nticated?
Timer up?
Uploadand password time to server position and userid box. via HTTP request.
Is IAP set?
LocationTimer. cpp
LocationHttpEng ine.cpp
Parse the response & Check the status code sent by server
LocationTimer.c pp, LocationReader.c pp
Timer up?
7.5
Inputs
Page 39 SBMJCE
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
7.6
Outputs
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 41
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
8. Implementation
No . Filename Purpose Entry point of the application Application class(part of symbian GUI framework) Document class (part of symbian GUI framework) UI class (part of symbian GUI framework) view class (part of symbian GUI framework) IAP setting Important methods NewApplication() CreateDocumentL() Built-in classes of Third symbian Party DLL nil no CAknApplication
1 location.cpp 2 locationApplication.cpp
no no
6 LocationCredentials.cpp 7 location.rss
User credentials are checked Dialog to enter RunDlgLD() userid and password Resource file required for symbian GUI resources like menu, dialogs. IAP dialog, useridpassword dialog Userid-password setting items Getting the position of user. Longitude, Lattitude and Time
no
8 CSettingsItemList.cpp 9 LocationReader.cpp
AVKON_SETTI NG_PAGE, SECRETED CreateSettingItemL( CAknSettingItem ) List GetPosition() CActive, RPositionServer, Rpositioner, TPositionInfo RunL() TimerExpired()
no no
Dept. of ISE
Page 42
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
10 LocationHttpEngine.cpp
for xml parsing: SyExpat.dl l. Below classes are used MSyOutp utHandler MSyDocH andler CSyConte xtualParse r no
11 HTTPEngine.cpp
StartHTTPComm()
12 LocationTimer.cpp
Timer implementation
no
9. Integration
Dept. of ISE Page 43 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
This part tells about the integration of each module in the project. This project is divided into two processes (each running on stand alone computer) and four modules. The modules are: User Interface. Setting of credentials. Getting of GPS position. Sending it to server.
These modules are developed independent and needed to be integrated to implement the project. There are inter-module integration and intra-module integration. They are as follows,
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
After designing phase there is the coding phase. In this phase, all the modules identified and specified in the design document is independently Coded and Unit tested. Followed the below coding standards and Guidelines.
The coding standards are: Naming standards for the .Net Classes, pages and variables etc. Screen design standards. Validation and checks that need to be implemented. The Guidelines are: Code should be well document. Coding style should be simple. Length of function should short.
10.3
Integration Testing
Page 45 SBMJCE
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
In this the different modules of a Web system including all the pages all the Data access methods and Google API Object methods are integrated and tested. The integration is carried out iterating method in which any two modules are integrated and then tested like wise all modules are combined to realize the full system. As said after each integration step, the partially integrated system is tested. The primary objective of integration testing is to test the module interface. In Main module, all the individual Units are tested first and after having successful results in the individual Unit testing we moved further for the integration. Similar approach is followed for the mobile application also. Here all the classes are tested individually and then integrated one by one and tested for proper integration. 10.4
System Testing
Once all the modules were working well in themselves and there are no problems, the
web application was to be integrated with the Mobile application and then testing. This is called the System Testing (Testing for the end result). This was not straight forward as the Mobile needs to recognize the IP address of the Web service application. To achieve this Web application is to be published and the published build of the application needs to be hosted in the IIS of machine which is configured with a Public IP address outfacing towards the Internet. We can get Public IP by paying to any vendors or Third party providers. Public IP address of MasterSkills Company has been used which is managed to purchase from them on rental basis and hosted my application and Database in their system. Once the Web application was hosted some modifications are made to the Mobile application changed the IP address to that of the MasterSkills and then tested by switching on the Mobile application. The System testing went on good and the Mobile started sending values to the Web applications and that could be seen on the Google Web Portal of our Web application. 10.5
Results
Page 46 SBMJCE
Dept. of ISE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 47
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Dept. of ISE
Page 48
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Position tracker can be developed further to analyze the minimum shortest path between the check points. If the application is used for business purpose like the sales management then it will help administrator to decide routes to minimize the transportation costs. This system can be used for understanding the time taken between places thus administrator can roughly assess the time taken for a vehicle to reach destination.
12. Conclusion
Dept. of ISE
Page 50
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Position Tracker is a tracking platform, so it can be modified to fit to any kind of tracking use, for example tracking a person location in times of emergencies like Earth quakes Tsunami etc, tracking a friends location, parents tracking their children movements, Vehicle tracking, tracking the movements of a suspect of a criminal case and in any business use-case like sales management etc. And since it is used on mobiles and internet we will get up to date information at very less cost.
13. References
[1] Link - http://en.wikipedia.org/wiki/Global_Positioning_System
Dept. of ISE
Page 51
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
[2] Katina Michael, Andrew McNamee, MG Michael, 2006, The Emerging Ethics of
multiple single-row laser-range scanners. IEEE Transactions on Systems, Man, and Cybernetics Part A: Systems and Humans. 35 (2).
[4] Kwan, M. 2000. Analysis of human spatial behavior in a GIS environment:
3D GIS: A Time-Geographic Approach. In M.F. Goodchild and D.G. Janelle. Eds. Spatially Integrated Social Science: Examples in Best Practice, Chapter 3. Oxford: Oxford University Press. [7] Michael, K., A. McNamee, M.G. Michael, and H. Tootell. 2006. Location-Based Intelligence Modeling Behavior in Humans using GPS. In Proceedings of the International Symposium on Technology and Society, New York: 8-11. [8] Albanese, M. A. Picariello and A.M. Rinaldi. 2004. A technological framework for personalized museum visiting. [9] OConnor A., A. Zerger and B. Itami. 2003. Building better agents: Geo-temporal tracking and analysis of tourist behavior. Conference Proceedings MODSIM International Congress on Modeling and Simulation. Townsville, Queensland, Australia: 1148-1154.
[10]
edmund.burke@spaceinformationlabs.com and Ed Rutkowski, Co-Author Space Information Laboratories Inc., Director, ed.rutkowski@spaceinformationlabs.com , Vehicle Based Independent Tracking System (VBITS): A Small, Modular, Avionics Suite for Responsive Launch Vehicle and Satellite Applications [11] Jianyang Zheng, Yinhai Wang, Nancy L. Nihan, Tracking Vehicles with GPS.
Dept. of ISE
Page 52
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
[12]
Haissam Ziade1, Wassim El Falou1, Tracking System using GPS, vision and 3D virtual Model. [13] [14] Noppadol Chadil, Apirak Russameesawang and Phongsak Keeratiwintakorn, RealJos E. Naranjo, Carlos Gonzlez, Member, IEEE, Ricardo Garca, Teresa de Time Tracking Management System Using GPS, GPRS and Google Earth Pedro, Javier Revuelto, and Jess Reviejo, Fuzzy Logic Based Lateral Control for GPS Map Tracking [15] Robert MacCurdy, Rich Gabrielson, Eric Spaulding, Alejandro Purgue, Kathryn Cortopassi, Kurt Fristrup, Real-Time, Automatic Animal Tracking Using Direct Sequence Spread Spectrum. [16] [17] Won-Hee Han, Eun-Ha Song, Laurence T. Yang, Jong-Hyuk Park and Young-Sik Jonathan S. Maltz, Thomas S.C. Ng1, Dustin J. Li, Jian Wang1, Kang Wang, Jeong ACE: Active Emergence Call Service System for u-Lifecare. William Bergeron, Ron Martin and Thomas F. Budinger, The Trauma Patient Tracking System: implementing a wireless monitoring infrastructure for emergency response. [18] [19] [20] [21]
[22]
F. Napolitano, F. Cretollier and H. Pelletier, GAPS, combined USBL + INS + THOMAS P. YUNCK, WILLIAM G. MELBOURNE, AND C. L. THORNTON, Brian DeRenzi, Yaw Anokwa, Tapan Parikh and Gaetano Borriello, Reliable data Pei-Kai Liao, I-Kang Fu, Paul Cheng MediaTek Inc., Location Estimation and The IEEE Article by Khalaf-Allah and M. Kyamakya, K.
GPS tracking system for fast deployable & high accuracy multiple target positioning. GPS-Based Satellite Tracking System for Precise Positioning. collection in highly disconnected environments using mobile phones. Tracking System for Mobile Devices in IEEE 802.16m Leibniz Univ. of Hannover, Hannover Position tracking and global localization of mobile terminals in cellular networks. [23] Fredrik Gustafsson, Fredrik Gunnarsson, Niclas Bergman, Urban Forssell, Jonas Jansson, Rickard Karlsson, and Per-Johan Nordlund, Particle Filters for Positioning, Navigation and Tracking. Dept. of ISE Page 53 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
[24]
Jiun-tsong Wu, Jet Propulsion Laboratory , California Institute of Technology, Link - http://www.travelbygps.com/articles/tracking.php Link http://www.freshpatents.com/Location-sharing-and-tracking-using-
mobile-phones-or-other-wireless-devices-dt20080918ptan20080227473.php? type=description [27] [28] [29] [30] Andrew Troelsen - C# and .NET concepts Text book Steve Babin Developing s/w for symbian OS Text book Richard Harrison Symbian OS C++ for Mobile phones Text book http://www.symbian .com
14. Manual
In order to install "Unsigned" releases, you need to go through a one-time procedure. You will need to run the in the release included "SecMan.exe". This program allows you to install our future "Unsigned" releases, without signing them every time. Dept. of ISE Page 54 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Step 1:
For this, you will need to have TRK (included in this package) installed, and connected to your pc via USB connection. TRK_List1.sisx TRK_List2.sisx To get this app properly running, make sure you have installed the newest Nokia PC Suite, and your phone connected via "PC Suite" mode. On the phone, run the TRK app, in applications folder. When it asks for bluetooth connection, don't turn it on, and change connection settings to USB. After you have done that, click "Next" and follow the instructions on screen. When the installation is done, look in the Applications folder on your phone, and find SecMan. Open it, and click on "Install Root Certificate". After this is done, you will be able to install our future "Unsigned" releases like normal "Signed" applications. Please keep in mind, if you format / upgrade your phones firmware, you'll need to do this step again and after that manually install those apps from Application Manager.
Note 1: To install previous unsigned releases, use RootSiGN v1.0 (Included in the package) first
to sign these releases with our root certificate. This can be used to sign and install any unsigned .sis(x) file. So, Lets start. Wherever I have included screenshots, I have written (Pic Included). So, if you cannot see the pics then reload the page.
Note 2: This process is extremely simple. Make sure you follow it exactly as described in the
following steps. There is no scope to go wrong here.
Step 2:
Download the file: Tools.zip from http://candyman.forumlivre.com/index.php?mforum=candyman&showtopic=12438 Next, Right click the file and select "Extract Here" Dept. of ISE Page 55 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Anyway, if you have followed all properly till here, you must have 4 files in a single folder.
Step 3:
Choose your phone from the list:
List 1
Nokia N77, Nokia E61i, Nokia E65, Nokia N93i, Nokia N91 8GB, Nokia E62, Nokia E50, Nokia 5500, Nokia N93, Nokia N73, Nokia N80, Nokia N71, Nokia N92, Nokia E70, Nokia E60, Nokia E61, Nokia 3250, Nokia N91 For these Phones, install the TRK_List 1.sisx file
List 2
Nokia N82, Nokia E51, Nokia N95 8GB, Nokia N81, Nokia N81 8GB, Nokia 6121 classic, Nokia 6120 classic, Nokia 5700 XpressMusic, Nokia 6110 Navigator, Nokia E90 Communicator, Nokia N76, Nokia 6290, Nokia N95 For these Phones, install the TRK_List 2.sisx file Install the applicable file on your Memory Card. (Pic Included)
After you have installed TRK (list1 have this on your Menu: (Pic
Dept. of ISE
Page 56
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Step 3:
Open Metro TRK. You will be greeted by the following screen: (Pic Included)
Settings.
(Pic
Dept. of ISE
Page 57
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
again,
Options
>
Dept. of ISE
Page 58
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
You should have a screen like this. [The contents could be different. But, it should say Connected besides Status] (Pic Included)
Step 4:
Dept. of ISE Page 59 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Now, go back to the folder where all the files are extracted. Run Secman.exe. You will get a screen like this: (Pic Included)
Click Next. On the Next Screen, just check the option "Find MetroTRK Port Automatically" and click Next. Something like this. (Pic Included)
Dept. of ISE
Page 60
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
After some time, it will start installing the SecMan application to your phone. You will get something like this: (Pic Included)
After install, you should have Secman on your mobile phone. If the above process was successful, then you should have a Secman icon on your phone like this: (Pic Included)
Open SecMan, go to Options and select "Turn Plat. Security OFF". Like this. (Pic Included) Dept. of ISE Page 61 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Then, go to Options again and select "Install ROOT Certificate". Like this. (Pic Included)
Thats it. Now you can install any Unsigned-BiNPDA Release. But, we want to install releases by other crackers/devlelopers too (other than BinPDA), right? Then, lets move on to Step 5.
Step 5:
Dept. of ISE Page 62 SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Put any Unsigned File in the same folder which we have created in Step 1. I have selected LandScape Pro. (Pic Included)
Open ROOTSiGN.EXE from the same folder, select the SIS File and click "Root Sign the file". (Pic Included)
After its done, you will have 2 files in the folder. One Unsigned and One RootSigned. Like this: (Pic Included)
Dept. of ISE
Page 63
SBMJCE
Geo-Visualization of Human Activity by Position Tracking and Global Localization of Mobile Terminals.
Install the Rootsigned file. You will see it installs just like a signed SIS file. heres how I installed LandscapePro Beta Unsigned. (Pic Included)
Important: After you have installed the files, go to SecMan and go to Options > Turn Plat.
Securities OFF. Its not a good idea to keep platform securities off 24x7. They are there for a reason.
Dept. of ISE
Page 64
SBMJCE