Introdução à plataforma Java Embedded & IoT

943 views

Published on

Palestra no 1. IoT Day da Vivo.

Introdução à plataforma Java Embedded & IoT.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
943
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
24
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Java is available In several configurations, specifically optimized for small, medium, or large hardware platforms.

    JavaCard is tailored to the support of secure, trusted, efficient, easy-to-use and interoperable identity services to access both off-line and network services.

    ME Small devices are often highly price-sensitive, based on low-cost processers with limited memory, optimized for low power consumption. Example devices include communication modules, mobile phones, and industrial automation controllers. This area is addressed by Oracle Java ME Embedded, which is a Java runtime optimized for small embedded use cases.

    Medium devices are also often highly price-sensitive, yet may need to support sophisticated user interface technologies and may be based on a broader range of more sophisticated processors. Examples include Blu-ray Disc players and cable set-top boxes, industrial tablets, and VOIP phones. This area is addressed by Oracle Java ME Embedded Client, which is a Java runtime optimized for medium-size vertical embedded use cases, such as consumer electronics.


    SE Large embedded systems span a wide range of capabilities, and are generally less price-sensitive but may need to support high performance and wide-ranging security. Examples include ATM’s, aircraft control systems, and multi-function printers. This area is addressed by Oracle Java SE Embedded, which is a Java runtime optimized for large embedded use cases, Java Embedded Suite (JES), which is an embedded middleware stack, and Oracle Event Processing for Java Embedded, a complex event processing (CEP) implementation for Java SE Embedded.
  • Java is available In several configurations, specifically optimized for small, medium, or large hardware platforms.

    JavaCard is tailored to the support of secure, trusted, efficient, easy-to-use and interoperable identity services to access both off-line and network services.

    ME Small devices are often highly price-sensitive, based on low-cost processers with limited memory, optimized for low power consumption. Example devices include communication modules, mobile phones, and industrial automation controllers. This area is addressed by Oracle Java ME Embedded, which is a Java runtime optimized for small embedded use cases.

    Medium devices are also often highly price-sensitive, yet may need to support sophisticated user interface technologies and may be based on a broader range of more sophisticated processors. Examples include Blu-ray Disc players and cable set-top boxes, industrial tablets, and VOIP phones. This area is addressed by Oracle Java ME Embedded Client, which is a Java runtime optimized for medium-size vertical embedded use cases, such as consumer electronics.


    SE Large embedded systems span a wide range of capabilities, and are generally less price-sensitive but may need to support high performance and wide-ranging security. Examples include ATM’s, aircraft control systems, and multi-function printers. This area is addressed by Oracle Java SE Embedded, which is a Java runtime optimized for large embedded use cases, Java Embedded Suite (JES), which is an embedded middleware stack, and Oracle Event Processing for Java Embedded, a complex event processing (CEP) implementation for Java SE Embedded.
  • Java is available In several configurations, specifically optimized for small, medium, or large hardware platforms.

    JavaCard is tailored to the support of secure, trusted, efficient, easy-to-use and interoperable identity services to access both off-line and network services.

    ME Small devices are often highly price-sensitive, based on low-cost processers with limited memory, optimized for low power consumption. Example devices include communication modules, mobile phones, and industrial automation controllers. This area is addressed by Oracle Java ME Embedded, which is a Java runtime optimized for small embedded use cases.

    Medium devices are also often highly price-sensitive, yet may need to support sophisticated user interface technologies and may be based on a broader range of more sophisticated processors. Examples include Blu-ray Disc players and cable set-top boxes, industrial tablets, and VOIP phones. This area is addressed by Oracle Java ME Embedded Client, which is a Java runtime optimized for medium-size vertical embedded use cases, such as consumer electronics.


    SE Large embedded systems span a wide range of capabilities, and are generally less price-sensitive but may need to support high performance and wide-ranging security. Examples include ATM’s, aircraft control systems, and multi-function printers. This area is addressed by Oracle Java SE Embedded, which is a Java runtime optimized for large embedded use cases, Java Embedded Suite (JES), which is an embedded middleware stack, and Oracle Event Processing for Java Embedded, a complex event processing (CEP) implementation for Java SE Embedded.
  • Introdução à plataforma Java Embedded & IoT

    1. 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal INTRODUÇÃO À PLATAFORMA JAVA EMBEDDED & IOT Marco Maciel marco.maciel@oracle.com @marcomaciel
    2. 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal 2 Eu… • @marcomaciel • http://mmaciel.com.br • http://arduinrio.com • Corredor de fim de samana Personal • marco.maciel@oracle.com • http://oracle.com/iot • http://bit.ly/JavaEmbedded • Desenvolvedor a 18 anos Professional
    3. 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Agenda • Internet das Coisas / Internet of Things / IoT • Computadores da Internet das Coisas • Java nas coisas 3
    4. 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Crescimento do Mercado de IoT Com a proliferação de dispositivos M2M apresenta às empresas uma oportunidade de otimizar processos e melhorar a experiência do cliente Sua última análise sobre os dados. A Oracle fornece uma plataforma completa de Internet Things. Oracle pode integrar dados de produtos conectados e ativos para aplicações corporativas existentes para rapidamente adicionar capacidades de dados em tempo real 4
    5. 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Crescimento do Mercado de IoT Com a proliferação de dispositivos M2M apresenta às empresas uma oportunidade de otimizar processos e melhorar a experiência do cliente Sua última análise sobre os dados. A Oracle fornece uma plataforma completa de Internet Things. Oracle pode integrar dados de produtos conectados e ativos para aplicações corporativas existentes para rapidamente adicionar capacidades de dados em tempo real 5
    6. 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Crescimento do Mercado de IoT Com a proliferação de dispositivos M2M apresenta às empresas uma oportunidade de otimizar processos e melhorar a experiência do cliente Sua última análise sobre os dados. A Oracle fornece uma plataforma completa de Internet Things. Oracle pode integrar dados de produtos conectados e ativos para aplicações corporativas existentes para rapidamente adicionar capacidades de dados em tempo real 6
    7. 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT • Mais de 40 bilhões de dispositivos estarão conectados em 10 anos 7
    8. 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Crescimento do Mercado de IoT 8
    9. 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT 9
    10. 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT 10
    11. 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT 11
    12. 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT 12
    13. 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT 13
    14. 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Aonde é aplicável 14 Equipamentos industriais Pontos de vendas e quiosques Energia & Smart grid Telemática& automóveis conectados Saúde Aparelhos para consumidores Gerenciamento de frota & Distribuição e logistica Smart Building / Connected Home Segurança e monitoramento Agro-business
    15. 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet of Things - IoT • Internet das pessoas: pessoa + device + conexão • Mais e mais devices por pessoa: laptop, video-games, phones, tablets! • Internet das cosias: coisa + device + conexão • Mais e mais devices para coisas: árvores, refrigeradores, animais, casas, drones, etc. 15
    16. 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet das Pessoas • Informações (geradas por pessoas) mais atualizadas • Mais informações (de pessoas) • Democratização do conhecimento • Conveniência e bem estar • Socialização • Comunicação humana contínua 16
    17. 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet das Coisas • Informações mais atualizadas (de sensores) • Mais informações (de objetos) • Democratização do conhecimento (smart devices) • Meio-ambiente e qualidade de vida: florestas, vazamentos, consumo de energia • Socialização (padrões de uso de devices) • Comunicação contínua de pequenos dispositivos 17
    18. 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet das Coisas - Desafios • Novas arquiteturas e paradigmas: embedded-cloud • Melhorar a segurança • Atualizações dinâmicas (on the fly) • Fragmentação em todos lados • Hardware híbrido (Hardware é o passado ???) • Milhares de tipos de computadores para IoT 18
    19. 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Internet das Coisas - Fatos • Mercado novo e emergente • Novos desafios e oportunidades • Valorização da cultura D.I.Y. • Algum conhecimento de eletrônica / embarcado! • É ainda mais divertido do que o Internet normal 19
    20. 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Computador das Pessoas • PC, laptop, phones, video-games, tablets, etc. • Muito poder de processamento, armazenamento, memória e alto consumo de energia. Conectividade completa! • Permite plugarmos devices USB: impressoras, scanners, cameras, joysticks, etc. 20
    21. 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Computador das Coisas • System-on-a-chip: Raspberry Pi, BeagleBone, Galileo • Microcontrolador: Atmegas Arduino, PIC e outros • Baixo consumo de energia e poder de processamento suficiente para tarefas limitadas e específicas • Permite plugarmos sensores, motores, lâmpadas, aparelhos domésticos, etc. • Milhares de opções de computadores de coisas 21
    22. 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Raspberry Pi pequeno, portátil e barato • Computador compacto de R$ 150,00 • ARM11 700mhz / 512MB memória RAM • SD Card • Vídeo por HDMI ou composto • Ethernet e 2 USBs • GPIO: UART, I2C, SPI, digitais • Audio • LCD / Camera 22
    23. 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Raspberry Vs. Arduino • Arduino: 2k RAM • Raspberry: 512 Megas • Arduino: real-time • Raspberry: multi-task, pode ser real-time RTOS • Arduino: IOs com 20 pins, Digital, Analog, PWM • Raspberry: GPIO limitado • Raspberry + Arduino: o melhor dos dois mundo! 23
    24. 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Gemalto: computadores 3G geração JavaME pós-celular • Internet das Coisas com 3G + Java ME + GPIO • Manutenção, debug, ferramentas • Baixo custo no Brasil: U$ 5 para larga escala! • Indústria, protótipos e "Do It Your Self" • Concept Board Gemalto 24
    25. 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Intel Galileo • Utiliza SoC Quark • Poder do Linux com pinagem Arduino embutida • Shields Arduino + Linux! 25
    26. 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Beagle Bone Black • Cortex A8 – 1Ghz • 512MB DDR3 RAM • Pode rodar Ubuntu, Debian, Android e outros • Menor comunidade se comparado com Raspberry • Projetos reais em produção 26
    27. 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Android Mini-PCs • Dezenas (ou centenas de opções) • Alto custo / benefício • Não costumam oferecer GPIO • Necessitam do ADK! 27
    28. 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Internet of Things and Java • Utilizado em aplicações embarcadas reais além telefones • Totalmente preparado: 15 anos de trabalho colaborativo • Ferramentas de código aberto, testes de confiabilidade e mais… • Multi-plataforma Real! 28
    29. 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Java Embarcado 29
    30. 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Espectro do Java Embarcado Java ME Embedded Java SE Embedded Java Embedded Suite OEP for Oracle Java Embedded 30 Java Card SECURITY SMALL MEDIUM LARGE 50KB-1MB 1MB-10MB 10MB-100MB Device CPU/ GPU/I-O Footprint
    31. 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Oracle’s Internet of Things Platform – D2D 31
    32. 32. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Espectro do Java Embarcado Java ME Embedded Java SE Embedded Java Embedded Suite OEP for Oracle Java Embedded 32 Java Card SECURITY SMALL MEDIUM LARGE 50KB-1MB 1MB-10MB 10MB-100MB Device CPU/ GPU/I-O Footprint
    33. 33. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Java ME Embedded is not about phones anymore! • Low-end to mid-range devices • From 130KB RAM to 32MB • Headless apps • Microcontroller, RTOS or minimal OS • Wireless modules, smart metering, eHealth, general IoT / M2M 33
    34. 34. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Espectro do Java Embarcado Java ME Embedded Java SE Embedded Java Embedded Suite OEP for Oracle Java Embedded 34 Java Card SECURITY SMALL MEDIUM LARGE 50KB-1MB 1MB-10MB 10MB-100MB Device CPU/ GPU/I-O Footprint
    35. 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Java SE Embedded • O mesmo Java que roda no seu computador, mas com foco em dispositivos embarcados • Mid-range to high-end devices • Full compatibility with Java SE • JavaFX support • ARM v5/6/7 • ARM Cortex-A • Your Java knowledge, now in embedded devices! 35
    36. 36. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Java + Raspberry Pi • Java SE Embedded totalmente otimizado • Java FX: crie interfaces gráficas e use o poder da GPU • Java ME: crie apps no Raspberry Pi e migre para dispositivos ainda menores • PI4J: acesso ao GPIO com API fantástica! 36
    37. 37. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal Pi4J LED Blink gpio = GpioFactory.getInstance(); pin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_01); pin.high(); Thread.sleep(1000); pin.low(); Thread.sleep(1000); gpio.shutdown(); 37
    38. 38. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal More Information 38 • Oracle IoT – http://oracle.com/iot • Oracle Java Embedded – http://oracle.com/technetwork/java/embedded • Java Tweet for Beer demonstration – www.youtube.com/watch?v=O_dEHqnIQh8
    39. 39. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • IoT está acontecendo • Java Embedded é amplamente utilizados em sistemas embarcados • A linguagem Java estende o ciclo de vida dos dispositivo embarcados • Java aumenta a produtividade das equipes de desenvolvimento • Java permite soluções mais portáteis, mais conectados, flexíveis para a Internet das Coisas • Vai ser divertido ;) Conclusão 39
    40. 40. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 40

    ×