Android Hot news push Landscape assessment!

Source: Internet
Author: User
Tags android push notification

There is nothing new about this topic. For most small and medium-sized companies, it is generally a choice for third-party services. But now there are a lot of companies and products that offer push services, how do you choose a service that suits your project? What's the difference between them? Here for you to do a simple research, hope can help everyone.



Brief introduction:

mobile phone Push service refers to the service that the server directs the information to the phone in real time. Push service , The main is the latest information and recent activities to the user in time , to maintain interaction with users , thereby increasing user stickiness to improve the user experience. For example , a notification bar message for apps such as Sina Weibo.



Principle:

1) polling method: The application should periodically connect with the server and query whether there are new messages arriving, you must implement the communication with the server, such as Message Queuing. And you also have to consider the frequency of polling, if too slow can cause some message delay, if too fast, it will consume a lot of network bandwidth and battery.





2)SMS (Push) mode: on Android platform, you can intercept SMS Message and parse the message content to understand the server's intentions and get its display content for processing. This is a good idea and I've seen applications that use this scenario. The benefit of this scenario is that full real-time operations can be achieved. But the problem is that the cost of the solution is relatively high, and we need to pay the cost to the mobile company. It is difficult to find a free short message sending gateway to implement this scenario.





3) Persistent connection (Push) mode: This solution can solve the performance problems caused by polling, but still consumes the battery of the phone. The push service for the IOS platform works well because each phone only maintains a connection to the server, and in fact C2DM works. But just now, there are a lot of shortcomings in this solution, that is, it is difficult for us to achieve a reliable service on the mobile phone, and currently can not be compared with The push function of the IOS platform.



after understanding the principle of our small and medium-sized companies such as the development of their own push service is still relatively high cost, time cost is relatively high. For rapid development, we typically select third-party push services.



/strong>
domestic common solutions:


One , mqtt protocol implementation push function

The use of the MQTT protocol for Android Push is also a solution. MQTT is a lightweight message publishing / Subscription protocol that is the ideal solution for implementing a messaging push server based on a mobile client.

Wmqtt.jar is an implementation of the MQTT protocol provided by IBM . We canDownload The instance code of the project from here (Https://github.com/tokudu/AndroidPushNotificationsDemo), and we can find a PHP server-side implementations of writing ( https://github.com/tokudu/PhpMQTTClient ).   




The schema looks like this:

<ignore_js_op>




Wmqtt.jar is an implementation of the MQTT protocol provided by IBM . We can download it from the following site (http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg24006006). We can add the jar Package to our Android app.


-------------------------------------------------
Second,rsmb realize push function.


really Small Message Broker (RSMB) , he is a simple MQTT agent, also provided by IBM , Its view address is:http://www.alphaworks.ibm.com/tech/rsmb. Opens the 1883 port by default, which is responsible for receiving messages from the server and forwarding them to the specified mobile device.   

SAM is a PHP Library written for MQTT . We can download it from this http://pecl.php.net/package/sam/download/0.2.0 address .  

send_mqtt.php is a message that receives messages via POST and sends messages to RSMB via the SAM PHP script.


-------------------------------------------------
Third,theXMPP protocol to achieve Android push function

XMPP ( extensible Communication and Presentation Protocol ) is an Extensible Markup Language (XML)-based protocol that is used for instant messaging (im ) as well as on-line probing. The agreement may eventually allow Internet users to send instant messages to anyone else on the Internet.



Androidpn is an XMPP Protocol- based Java Open-source Android push Notification implementation. It contains the full client and server side.

This is ANDROIDPN 's project. Home:http://sourceforge.net/projects/androidpn/

The ANDROIDPN implementation intent is as follows: <ignore_js_op>




These are the most popular solutions, but they all have some difficulty and realize the cost. Here I mainly introduce the third-party platform for fast solutions.



Third-party platform services for push functionality:

in the survey, third-party push service has more than three. Four main push platforms are recommended below.



A push

<ignore_js_op>a push is by the domestic letter Interactive Network Technology Co., Ltd. launched a platform to help enterprises in the application through the low-cost Internet channel for message push, to provide a sound, efficient and stable service system, to solve the internet cloud to the mobile phone side of the message interoperability problem, relying on the already mature push technology, To establish a more stable and market demand for a standardized service platform.



Featured Features:1, stable and efficient: Single Server concurrent support 200-400 million, the industry leader; push delivery rate up to a few million / Second, Message arrival rate 96% above; multiple apps Merge a long connection and share the link. 2, a push can not only provide cloud-to-Client push service, also can provide from the client upload to the cloud service, that is, push message link support up and down two-way channel, developer and client interaction more convenient. 3. Support Incremental UPDATE: When the developer submits a new version of the APP on the back of the platform , a push can be pushed to the user to notify the new version, the user just download the difference portion of the file, improve the update rate and product experience. 4. Support Rich media push


---------------------------------------------------
Aurora Push

<ignore_js_op>Aurora Push, abbreviated Jpush, is an open, partially free, third-party message push service for ordinary developers. Aurora Push enables developers to instantly push notifications or messages to users of their applications to stay in touch with users, effectively improving retention and improving the user experience. The platform offers a unified push service that integrates Android push andIOS push.



Featured Features:1, flexible push target, can be pushed to specific individual users.

2. support Rich media push

3, relatively stable, high efficiency


-----------------------------------------------------
Baidu Cloud Push Send

<ignore_js_op>Baidu Cloud Push (push) is Baidu's open cloud to the developers to provide the message push service, by leveraging the cloud and the client to establish a stable, reliable long connection to provide developers with the application of push real-time messaging service to the client. Baidu Cloud push service supports the push of three types of messages: notifications, through-stream messages, and rich media; supports push messages to specific groups of users or categorized by tags.



Featured Features:1, multiple apps Merge a long connection, share the link.

2, In addition to the user group and tags in the push strategy (positioning function).

3, Baidu account system support (Baidu account login)

4. small SDK size

5. Support Rich media push


------------------------------------------------------
Friend League push

<ignore_js_op> Friends League is the most professional and data-cohesive mobile developer service platform in China, which was created in Beijing in 4 months. Friends of the mobile application of statistical analysis as the starting point of product development into a comprehensive mobile developer service platform. Friend Alliance Push is a service that helps you proactively push your app's content updates or activity notifications to end users, giving them the first time to get relevant information and effectively improve user activity and retention rates.



Featured Features: 1. multiple apps Merge One long connection, share link 2, In addition to the user group and tags in the push strategy (positioning function).


--------------------------------------------------------
More push-to-send platforms:

Visitors, if you want to view this post hidden content, please reply



Comparison of the major platforms:




Platform A push Baidu Cloud Push Send Aurora Push Friend League push
Stability and arrival rate Single Server concurrent support 2.004 billion, push delivery rate up to 200,000/sec Baidu powerful server cluster, high throughput capacity Service-side advanced technology architecture, high-concurrency scalable cloud services Message pushes everyone with a delay and does not support rich media push
Power and Flow Multiple apps merge a long connection and share the link. SDK deliberately optimized for mobile phones, no-load power consumption 15-50 ma per day, no-load flow 0.8-1.2m/Month Single channel technology, multiple applications share a push channel. The client SDK maintains a long connection with a custom protocol, with low power and traffic consumption Multi-application sharing a long connection, intelligent heartbeat and other optimization scenarios .
Security Data encryption Safety Isolation Technology General encryption General encryption
Message push Push notification push message push rich media no lbs push Push notification push message push rich media location-based push (or "lbs push") Push notification push message push rich media no lbs push Push notification push message no rich media no lbs push
Background Data statistics Data reporting support, intelligent analysis of the push Provides statistics on push information and user behavior "Push report" and "User Statistics report" show the effect of push and the trend of application development. Provides statistics on push information and user behavior
SDK Access Difficulty/cost Chinese documentation, technical support Have Chinese documents, technical support Chinese documentation, technical support Chinese documentation, technical support
Charge status Partial function charge Free Partial function charge Free
Server-Side Support Supportfor java,php,c#,Python,node. JS Server Supportfor java,php,c#,Python,node. JS Server Supportfor java,php,c#,Python,node. js,Ruby service side Support java,php,Python service side
Message Push Policy Broadcast push tag push-off name push user group Broadcast push tag push-farewell name push User group geographic Region Division push. Broadcast push tag push-off name push user group Broadcast push tag push-farewell name push User group geographic Region Division push.
Case Sina Weibo, ink weather, sing it, PPTV, Mei 美图秀秀, etc. Encyclopedia of embarrassing things ,gif racer

Treasure NET, Super timetable, American coffee camera Storm video, Southern weekend, don't step on white
Additional Features App Incremental Update Baidu Account System Login

Android Hot news push Landscape assessment!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.