Coder Social home page Coder Social logo

reversus's People

Contributors

spino327 avatar

Watchers

 avatar  avatar  avatar

reversus's Issues

Design and implement the data recording app.

  1. One of the possibilities is to re-use the Google latitude smart phone app.
  2. Use a GPS logger, such as SendLocation for iOS. For this option we need to implement a server-side script.
  3. Create our own app for collecting on the smartphone the GPS data and send it to the server. We have several options. First, develop both one app for iOS and another for Android. Second, use phonegap for creating just one development for both platforms.

In any case we need to analyze the data in order to decide how to recollect it.

On the server side, we need to create a script that will be in charge either of received the data from the Smartphone and make it persistence in a database or to consume a web service (for example Google latitude) in order to access to the persistent data.

Daemon Server

Server interface

We use jetty for create an embedded servlet container into our application. We use this to deploy a servlet that has the responsibility of handle the location data push to the server from the mobile clients.

  1. The mobile clients construct a GET request that have the following Properties:
    • lat = latitude
    • lon = longitude
    • user = User ID
    • ts = timespan
  2. The server respond to whether or not the location was saved into the database. This is implemented by adding a Header property into the HTTP respond, Result and the possible values could be either true or false. Also, there is a Header property in the case of an error, denoted as Error, with String values.

Server side

The idea is that we compute the desired Information Retrieval techniques as soon as a location data is sent from a user. So we compute the techniques per "place and user". In order to produce a better design for the Information retrieval processing, we can use the Observer Design Pattern in order to simplify the implementation of the Techniques.

Idea:

  1. Subject (Servlet): shall provide support for attach, detach and notify to objects implementing the Interface Observer (DataObserver).
  2. The Inface DataObserver defines the following methods: computeIRTech() with the data as parameter. The idea is that for each concrete class that implements DataObserver, we will implement the desired technique in the former method.

How to organize the data?

Regarding the timeline, you might want to think about how to organize the data before collecting them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.