15
BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Orientador: Luiz Antônio Luiz Antônio Pereira Pereira Integrantes: Integrantes: Douglas Fiório Dias Douglas Fiório Dias Fernando Sedrez Fernando Sedrez Jander Soares Nunes Jander Soares Nunes Luiz Cunha Alves Luiz Cunha Alves Luiz Filipe Absalão Luiz Filipe Absalão

BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

Embed Size (px)

Citation preview

Page 1: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

BUS POSITIONING SYSTEMBUS POSITIONING SYSTEM

Orientador: Orientador: Luiz Antônio PereiraLuiz Antônio Pereira

Integrantes:Integrantes:Douglas Fiório DiasDouglas Fiório DiasFernando SedrezFernando SedrezJander Soares NunesJander Soares NunesLuiz Cunha AlvesLuiz Cunha AlvesLuiz Filipe AbsalãoLuiz Filipe Absalão

Page 2: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

211/04/23 APS - Projeto Final

Tópicos abordadosTópicos abordados• Introdução

• Motivação• Contexto

• BPS – O Sistema• Objetivos• Plataforma• Custos• Benefícios do projeto• Características do projeto• Implementação

• Conclusão• Plano de teste• Implantação• Pontos de melhoria• Protótipo

Page 3: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

311/04/23 APS - Projeto Final

Introdução::Introdução::MotivaçãoMotivação

• Motivadores

Page 4: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

411/04/23 APS - Projeto Final

Introdução::Introdução::ContextoContexto

“Muitas vezes, quando estamos usando o transporte público, os minutos que ficamos parados esperando

parecem uma eternidade. Até então, a única informação disponível era o horário que um ônibus estava marcado

para chegar. A partir de agora, nós iremos informar quando realmente o ônibus vai chegar baseado em

dados transmitidos em tempo real”

Quarta-feira, 08 de junho de 2011 - 16h21.

http://googleblog.blogspot.com/2011/06/know-when-your-bus-is-late-with-live.html

Page 5: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

511/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::ObjetivosObjetivos

• Bus Positioning System

Page 6: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

611/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::ObjetivosObjetivos

• Bus Positioning System

• Identificar o tempo médio de espera por ônibus

• Disponibilizar consulta por dispositivos móveis

Page 7: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

711/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::PlataformaPlataforma

J2EETOMCATMySQL

Web Service

Empresa de Ônibus

AndroidJSP

Javascript

Page 8: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

811/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::CustosCustos

Hardware Qtde. Total

Servidor Homologação 1 R$ 2.120

Servidor de Aplicação 1 R$ 2.210

Plataforma low end 1 R$ 699

Plataforma middle end 1 R$ 1.500

Plataforma hight end 1 R$ 2.499

ADSL Router 2 R$ 220

TOTAL: R$ 9.248

• Tabela de custos de Hardware e Software

Software Qtde.

Ubuntu 10.04 Desktop 64 bits 3

Ubuntu 10.04 Server 64 bits 2

MySQL 7 2

Apache HTTP Server 2 2

Apache Tomcat 6 2

Android SDK 2

*Todos os softwares possuem licenças gratuitas. Sem custo.*Todos os softwares possuem licenças gratuitas. Sem custo.

Page 9: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

911/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::CaracterísticasCaracterísticas

• Padrões de Projeto• Singleton

• Facade

• Strategy

• TemplateMethod

• Arquitetura• MVC

Page 10: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1011/04/23 APS - Projeto Final

BPS – O Sistema::BPS – O Sistema::ImplementaçãoImplementação

• Sistema web• J2EE - linguagem de programação Java• SGBD mysql• Servidor Web tomcat 7.0• Web Services AXIS• Sistema operacional Linux• API’s Hibernate, Logback, SLF4J (Simple Logging

Facade for Java)

• Sistema Android• Plataforma tecnológica J2EE• banco de dados sqlite• SDK Android• API’s KSoap (cliente web service), GoogleMaps

Page 11: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1111/04/23 APS - Projeto Final

Conclusão::Conclusão::Plano de testePlano de teste

• Propõe-se a realização dos testes abaixo, utilizando em cada um tanto a técnica estrutural (caixa branca) quanto a funcional (caixa preta):

• Desempenho;

• Segurança e controle de acesso;

• Configuração.

Page 12: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1211/04/23 APS - Projeto Final

Conclusão::Conclusão::ImplantaçãoImplantação

• Infra-estrutura necessária

• Carga de Dados

• Instalação do Hardware e do Software

• Acesso ao Sistema

• Treinamento

• Entrada em Produção

Page 13: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1311/04/23 APS - Projeto Final

Conclusão::Conclusão::Pontos de melhoriaPontos de melhoria

• Inteligência dinâmica

• Tempo de resposta

• Estatísticas

• Segurança

• Acessibilidade

Page 14: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1411/04/23 APS - Projeto Final

Conclusão::Conclusão::Pontos de melhoriaPontos de melhoria

• Tecnologias – GPS– Celulares– Internet

• Serviços– Integração das tecnologias

• Sistema– BPS

Page 15: BUS POSITIONING SYSTEM BUS POSITIONING SYSTEM Orientador: Luiz Antônio Pereira Integrantes: Douglas Fiório Dias Fernando Sedrez Jander Soares Nunes Luiz

1511/04/23 APS - Projeto Final

Conclusão::Conclusão::ProtótipoProtótipo

• Vamos à prática?

1. Cadastrar

2. Consultar

3. Obter tempo

http://www.bps.kinghost.net/wbps/Login.jsp