450 likes | 530 Views
Context Based Social Networking and it’s application to Analytics. JAYPEE UNIVERSITY OF INFORMATION TECHNOLOGY WAKNAGHAT, SOLAN (H.P.). DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING. Group Members and Project Guide. Project Guide: Mr. Rahul Katarya Group Members:
E N D
Context Based Social Networking and it’s application to Analytics JAYPEE UNIVERSITY OF INFORMATION TECHNOLOGY WAKNAGHAT, SOLAN (H.P.) DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Group Members and Project Guide • Project Guide: • Mr. Rahul Katarya • Group Members: • Anirudh Singh Verma (061212) • Ankit Sabharwal (061215) • Jatin Singh (061248) • Pankaj Mohan Sandhu (061268)
Literature Survey • Social Networks have existed since some time.[4] • Geomapping takes place on a large scale.[5] • GPS devices have played the main role.[5,6]
Literature Survey • liMIT : Location Based Instant Messaging at the MIT Campus[1] • iSpot : Tracking wi-fi users in the MIT Campus[2] • Marauder : A Mobile Application for Android phones that shows the least crowded restaurants in a city[5]
What was missing ? • Context is missing from social networks. • Continuous Geographic Locations haven’t been considered before. • Data can be used effectively for Location based Analytics and Intelligent Advices. • A generic application is not available.
What is a Social Network ? Network : A set of nodes, points, or locations connected by means of data, voice, and video communications for the purpose of exchange. Social Network : A social network service focuses on the building and verification of online social networks for communities of people who share interests and activities, or who are interested in exploring the interests And activities of others. It provides various ways for users to interact - chat, messaging , email, video, file sharing, blogging and discussion groups.
Essential Elements of a Social Networking Site • Posting personal data into a profile and user-created content. • Personalized interaction with online friends (e.g. blogs). • Defining social relationships which determine who has access to data, who can communicate with whom and how.
Implementing a Context Based System The application gathers the network information integrates it with the location map based on the network access point. The aim of the project is to analyze usage of the Internet network in order to describe occupancy patterns and movements.
Application to Analytics Simultaneously, we will collect the generated maps and traffic data into a database, which will allow comprehensive analyses to be carried out at a later date, by reports/graph generation that will help us to explore behavioral trends in a longer time frame. Eventually, we hope that the web page can accumulate different layers of real-time information about the campus, including data about internet activity, the amount of bytes transferred, a spatial reference to the real time events calendar, staff management etc. which could evolve into a standardized tool for understanding the natural complexity of the campus on a real-time website.
Crowd Density Crowd density using cell phone shall be dealt with in later stages. Formulating the crowd density using our application. Assume, people on nodes login to the application. Let this number be X. Some people will not be on the nodes. Lets assume they have our application on their phones. They have their own internet connection and have set their location as library. Let this number be Y. Now we can have a rough guess at the seating capacity of the library. This could be the total availability. Let this be N. Now get (X+Y)/N. Get a fraction. Lets call it D.
Crowd Density Lets set thresholds for three categories of crowd density D. High (red) : D > 0.8 Moderate (blue) : D > 0.4 Low (green) : D <0.4
Crowd Density Mapping (a prototype on how things will look)
Technologies to be Used HTML/CSS : HTML is the basic markup language for displaying the pages. This is used to create the frontend of the application. Cascading Style Sheets are used to describe the presentation semantics of the web pages. PHP (Hypertext Preprocessor) : This is the main server side scripting language to be used in the project. It gives us the basic functionalities of connecting to the MySQL databases and passing queries to insert/delete/update. It also helps record sessions and cookies for user authentication. Javascript : This would be the main client side language that would help in improving the look and usability of the web pages. It will also be used to get and pass data into xmlHTTPrequest objects.
Technologies to be Used AJAX (Asynchronous Javascript and XML) : It is a bridge between the server side scripts and the client side scripts and helps in increasing the usability of the system by reducing no. of times the page refreshes. MySQL : This is the database technology to be used in the system. Most of the data will be stored into the databases by the backend and will be retrieved by the front-end for display. The MySQL queries will be written in the PHP scripts and run by the server on getting the requests. Apache Web Server : It is open source, cross platform, stable, fast, and flexible. It's pretty much the standard for web serving on the Internet and has lots and lots of features available to it. There is a Windows version, but our web host runs it on Debian Linux.
Project Timeline Semester 7 • August : Literature Survey, Design Specifications • September : IP address retrieval, Location Mapping • October : User Interface Design, Security Considerations, Basic User Modules • November : Social Networking Modules • December : Location and Crowd Density Mapping
Project Timeline Semester 8 • January : Location Analytics • February : Report Generations, AI • March : Generic Installations • April : Mobile Version, Mapping of New Generation Devices
Future Aspects This application can be modeled to include others form of mobile devices. RFID (Radio-frequency identification) : It is the use of an object (typically referred to as an RFID tag) applied to or incorporated into a product, animal, or person for the purpose of identification and tracking using radio waves. Some tags can be read from several meters away and beyond the line of sight of the reader. Bluetooth Devices : Bluetooth is an open wireless protocol for exchanging data over short distances from fixed and mobile devices, creating personal networks (PANs). GPS : The Global Positioning System (GPS) is a U.S. space-based global satellite navigation system. It provides reliable positioning, navigation, and timing services to worldwide users on a continuous basis in all weather, day and night, anywhere on or near the Earth.
Software Requirements • Client Side • A compatible web browser • Any Operating System • Internet Connection with Preset IP Addresses • Server Side • PHP v5.0 • MySQL v5.0.32 • Apache Server • Debian Linux (not necessary, our host runs on this)
Hardware Requirements Client Side Ideally this sort of system would run on something smaller and portable (like a PDA or wearable, like a piece of jewelry using Bluetooth or RFID tags that are not yet in the market)-but given current constraints, this system will be a program that would run on laptop/personal computer. Cellular phone enabled with web services which can run the application. Server Side A web server that can support thousands of connections simultaneously.
Specific Features People and Places Check Vacancy in the Library/Labs Alert on Nodes being Free Maps of Places with Crowd Density Panoramic View of the place. Host Meetup Check Availability of Faculty Check Availability of LT/CR Installation for Generic Application Admin Interface Location Based Analytics Generate Reports Intelligent Suggestions for Administrative Issues. Social Network Generic Analytics
General Features to be Developed Crowd Check Page Map/Pie Charts Panoramic View Places and People Host Meetups Manage Spam Security Login/Sign Up/Register Change Password/Forgot Password Invite Friends Site Demo/Tour Create/Edit User Profile Write/Edit/Delete Messages
Get Intelligent Suggestions ! What is the ideal distribution of Coffee Machines in an infrastructure facility ? Our system tells us : place more coffee machines on the Ground Floor. (a prototype on how things will look)
A More Wider Perspective Find the least densely crowded restaurant in your neighborhood. (a prototype on how things will look)
Decisions for a City Comparing the two routes. The one which is more favorable and serve to more number of people will be chosen. (a prototype on how things will look)
Crowd Distribution Graphs Generate reports to represent crowd distribution at your campus. (a prototype on how things will look)
Location v/s Time Analytics Representing information in easy to interpret way. (a prototype on how things will look)
Issue 1 : Retrieving the IP Addresses $_SERVER['REMOTE_ADDR'] Returns the IP Address of the client. But it is often incorrect because it doesn’t take into consideration any proxy servers. $_SERVER["HTTP_X_FORWARDED_FOR"] HTTP_X_FORWARDED_FOR headers are set by proxy servers and contain the IP of the machine accessing the proxy server. The REMOTE_ADDR in these cases would be the IP of the proxy itself.
Implementation The user login screen.
Implementation The home screen. People mapped with places.
References [1] liMIT : Location Based Instant Messaging @ MIT [2] iSPOTS -How Wireless Technology is Changing Life on the MIT Campus –Andres SEVTSUK, SENSEable City Laboratory, MIT, Carlo RATTI, SENSEable City Laboratory, MIT [3] Web Mining Techniques for On-line Social Networks Analysis, I-Hsien Ting, Department of Information Management, National University of Kaohsiung. [4] Social Netwroking, ENISA – European Network and Information Security Agency, 2008 [5] Marauder – Mobile Application, Open Course Ware, MIT [6] Wikipedia (http://en.wikipedia.org)