Alljoyn 概述(1)
Alljoyn Overview
Feb. 2012-
AllJoyn 是什么?
• 2011年2月9日发布,由 QuiC(高通创新中心)开发维护的开源软 件项目,采用 Apache license 2.0 许可协议
• AllJoyn名字的由来:All to Join in the fun
• 面向移动设备的 secure, ad hoc, proximity-based P2P通信框架
• 提供简单的API,跨平台、设备无关,支持多种编程语言,易于集 成到现有应用中
– 目前支持的OS:Linux, Android, WinXP, Win7
– 目前支持的编程语言:C++, Java (对JavaScript的支持正在开发中)
• 支持各种短距离无线通信技术,目前支持 WiFi 和 Bluetooth,下 一步会支持 WiFi-Direct,将来基于高通 FlashLinq 技术可扩展到 1km 范围内 P2P 应用
• 官方网站:
– https://www.alljoyn.org
– https://developer.qualcomm.com/develop/mobile-technologies/peer-peer-alljoyn
AllJoyn 的特点
• 真正的P2P通信,无需3G网,无需访问云端,无需服务器
– Simple device and service discovery
– Security framework for authenticated and encrypted communications per application/service
– Managed networking and message routing
– Object-oriented programming model
• 针对移动嵌入式环境而优化
– Low latency
– Header compression
– Reliable and unreliable transport
– Point-to-multipoint communications
• 主要应用场景
– secure file sharing
– Multi-player gaming
– Social media sharing
– Multi-user productivity tools
AllJoyn与其他类似技术的区别
• 提供了完整全面的 P2P 解决方案,解决了移动设备间 P2P 通信中存在的很多问题:设备发现、配对、消息路 由、安全、与底层传输技术无关,等等
• 针对移动设备专门优化
• 支持认证和加密的安全机制
• 为开发者提供了简单易用而功能强大的API
AllJoyn 官方文档
• Documentation
– Introduction to AllJoyn [PDF]
– AllJoyn Android Environment Setup Guide [PDF]
– Guide to AllJoyn Development Using the Java SDK [PDF]
– AllJoyn Android C++ Sample Programs Walkthrough [PDF]
• API Reference
– C++ API Reference Manual
– Java API Reference Manual
– C++ API changes between 2.2.0 and 2.3.0 [TEXT]
– Java API changes between 2.2.0 and 2.3.0 [TEXT]
• Build Environment
– Configuring the Build Environment (Linux Platform) [PDF]
– Configuring the Build Environment (Windows Platform) [PDF]
AllJoyn 官方技术博文
• What is AllJoyn? How can I use it?
https://developer.qualcomm.com/blog/what-alljoyn-how-can-i-use-it
• Key Concepts of AllJoyn
https://developer.qualcomm.com/blog/key-concepts-alljoyn
• Developing Peer-to-Peer Apps with AllJoyn – Let Us Do the Heavy Lifting
https://developer.qualcomm.com/blog/developing-peer-peer-apps-alljoyn-%E2%80%93-let-us-do-heavy-lifting
• Making It Easy for Devices to Connect – The AllJoyn Peer-to-Peer Architecture
https://developer.qualcomm.com/blog/making-it-easy-devices-connect-%E2%80%93-alljoyn-peer-peer-architecture
• Making It Easy for Devices to Connect – AllJoyn Code Snippet Walk-Through
https://developer.qualcomm.com/blog/making-it-easy-devices-connect-%E2%80%93-alljoyn-code-snippet-walk-through
• Making It Easy for Devices to Connect – The AllJoyn Security Framework
https://developer.qualcomm.com/blog/making-it-easy-devices-connect-%E2%80%93-alljoyn-security-framework
• Chinese Developers Showcase Apps Using AllJoyn
https://developer.qualcomm.com/blog/chinese-developers-showcase-apps-using-alljoyn
AllJoyn FAQ
• https://developer.qualcomm.com/develop/mobile-technologies/peer-peer-alljoyn/faq