Coder Social home page Coder Social logo

mqtt_phpclient_androidclient's Introduction

基于MQTT的android推送服务

搭建基于MQTT的推送服务需要:

  1. App Service(调用Push API发送数据给服务器)

  2. Push Service(接收App Service发送的数据,并将数据推送给RSMB)

  3. RSMB Service(用于实现推送服务,将数据推送给客户端)

  4. App Client(用于接收RSMB推送的数据)

推送原理图如下:

这是一个推送原理图片

(感谢 http://blog.csdn.net/shagoo/article/details/7899466 提供图片)

App Service和App Client可以是同一个应用!(即发送数据,也可以接收数据)

详细

RSMB Service下载地址:RSMB下载 RSMB服务搭建说明

Push Service下载地址:基于php的PushService

基于Android的App Client:代码如上TestPush工程

基于java的App Service/Client实例:ia92.zip

欲详细了解MQTT协议参看:http://mqtt.org/

mqtt_phpclient_androidclient's People

Contributors

hnrainll avatar

Watchers

James Cloos avatar  avatar

Forkers

liangmingjie

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.