1. C2DM (now GCM)
Android Cloud to Device Messaging (C2DM) has been released as part of Android 2.2. C2DM allows third-party developers to develop related applications to push a small amount of data messages (1024 bytes) to users' mobile phones. C2DM creates a good opportunity for us to use a variety of Google development tools to create a simple but practical application type. Users can use this type of applications to push all kinds of information from their machines or laptops directly to their mobile phones. C2DB expired-The C2DM service will end in a short period of time and will no longer accept new users.
Google Cloud Messaging (GCM). GCM is the next generation of C2DM. Because Google service is unavailable in China, you just need to know about it. 2. Use XMPP protocol (Openfire + Spark + Smack)
Introduction: XML-based communication protocols, formerly Jabber, have been standardized by the IETF International Standardization Organization.
Advantages: the Protocol is mature, powerful, and highly scalable. Currently, it is mainly used in many chat systems and has an open-source Java version Development Instance androidpn.
Disadvantages: the Protocol is complex, redundant (based on XML), paybytraffic, power consumption, and high hardware deployment costs.
3. Use MQTT protocol (for more information, see: http://mqtt.org /)
Introduction: a lightweight and proxy-based message transmission protocol in the publish/subscribe mode.
Advantages: the Protocol is simple, small, highly scalable, traffic-saving, power-saving, has been applied to the enterprise field (reference: http://mqtt.org/software), and has C ++ version of the server component rsmb.
Disadvantages: not mature enough, complicated implementation, the server component rsmb is not open-source, and the hardware deployment cost is high. 4. androidpn the full name of androidpn is Android Push Notification. This is an open-source project in sourceforge.net.
Androidpn is an integrated solution based on XMPP open-source components. That is, the server is based on Openfire and the client is based on Smack. These two are the two most common open-source XMPP components. Androidpn uses the Spring framework as a Web layer to integrate the xmpp im component to implement the Android Push function. Therefore, the availability of androidpn comes from the following aspects:
1. Whether the xmpp im protocol and communication mechanism it relies on are suitable for Android Push scenarios.
2. Is it necessary to customize Android Push requirements.
With androidpn, you can simply push messages to the client. However, to make it suitable for developers and run in the production environment, you may need to do a lot of custom development work. According to the feedback from the author and several developers, there are many problems in the production environment. 5. Aurora push: JPush is a free third-party message PUSH Service that is open to common developers. Lightweight client SDK developers can easily add the Push function to their APPs by integrating Aurora Push SDK on the client. Currently, Android and iOS are supported. Stable cloud PUSH Service developers can quickly push messages to users on the Management Portal, or customize the push time, user base, and location. It also provides remote push APIs. Developers can view the push statistics on the Management Portal to intuitively evaluate the push effect. Aurora push has the following advantages: 1) completely open registration, free to all developers to use 2) SDK traffic and power consumption is very small 3) simple integration, it will soon be able to integrate and run 4) Support for high concurrency and low latency of server-side push
6. Baidu push
Cloud Push is a message Push Service provided by Baidu open cloud to developers; by establishing a stable and reliable persistent connection between the cloud and the client, developers can push real-time message services to client applications.
Baidu cloud PUSH Service supports three push types:Notifications, messages, and rich media; SupportsAll users, according to tag classification to specific user groups, to a single user and based on geographical locationPush messages; support moreCustom Functions(Such as custom content, subsequent behaviors, style templates, etc.); provides user information and notification messagesStatisticsTo facilitate subsequent development and operation for developers.
7. Push
Push platforms focus on providing the overall solution for mobile device persistent connection sdks and server access. Currently, the push platform mainly provides two service modes: Message sending mode and message sending management backend to meet the requirements of message sending. The service integration mode provides the API interface of the server, it can be deeply integrated with existing business systems of the customer.
What are the advantages of Baidu cloud push, Aurora push, and personal push?
Advantages of Aurora push:
1. Efficient and Stable push notifications
Provides persistent connection sdks for partners. developers can push service messages to their clients. Keep your application focused, even if the user does not open the application, the notification can be pushed to the user's mobile phone. You can push notifications such as activity prompts, dynamic updates, and points to users in real time. The concurrency of 1 million is no more than 40 seconds. In a horizontal server architecture, any single point of failure does not affect pushing.
2. high degrees of freedom. Push custom messages.
Powerful custom message push channel. Developers can push custom message content. The JPush SDK transfers the content completely to the developer application, which processes custom messages.
3. Flexible push tools
Flexible push as needed. Manage the push assistant on the Portal to facilitate quick push and can be operated by common users. The API call method is also prompted, which is flexible and powerful.
4. Advanced Push platform technology architecture and proven large-scale user Push Platform
As we have developed IM applications before, Aurora has a rich technical accumulation period in the message push business, and constantly optimizes the system to meet the needs of rapid business growth.
Free PUSH Service
There is no limit on the number of users to push, and there is no limit on the number of messages to push.
Easy to integrate sdks and sound documentation and technical support systems
Android 3-minute demo
Simple ios Configuration
The client SDK maintains the connection at a very low cost and consumes less power and traffic.
The number of pushed content is determined by the developer. Unstable network conditions may also affect the power usage. Without considering the influence of pushed content and network. Average theoretical data: 20 K/day of traffic consumption and 30 mAh/day of Power Consumption
5. Professional charts and push Accuracy
The push effect is displayed visually. How many pushes have arrived? When I arrive, do users click to open the application? Does the user stay longer after the application is opened? Intuitive comparison charts allow you to easily evaluate the push effect.
This is the data trend chart after the Aurora push application:
Advantages of the cloud push Platform
High Security
The Platform encrypts data when the Server communicates with the SDK to ensure the privacy and security of customer data. At the same time, the push platforms also support the customer's independent encryption of transmission data to meet the needs of high security customers.
High reliability
The Platform server is deployed in the IDC core data center, with three-line access to ensure the stability of mobile device access by different carriers. Push platforms are deployed in a distributed architecture. Not only can the system capacity be flexibly expanded, but also 99.9% SLA can be provided. The professional O & M Team maintains the mail, and the message delivery rate exceeds 96%.
Low Cost
The Platform focuses on the research in the PUSH Service field. A single device supports-million users online (subject to fluctuations in the configuration of a single device), leading the industry in average cost control.
Unexpectedly fast, instant delivery
The message delivery delay of the platform is less than 0.2 s. anytime and anywhere, the user's mobile device can be delivered through the network.
Optimized for mobile phones, saving power and saving traffic
The platform adopts proprietary protocols that are more suitable for mobile devices than XMPP, and complies with 4S standards (small, power-saving, traffic-saving, and stable ). Measured no-load power consumption of mobile devices is between 15-50 mAh per day, and no-load traffic is between 0.8-1.2 M per month.
Advantages of push platforms
High Security
Platforms encrypt data when the Server communicates with the SDK to ensure the privacy and security of customer data. At the same time, the push platforms also support the customer's independent encryption of transmission data to meet the needs of high security customers.
High reliability
The server of the push platform is deployed in the IDC core data center, with three-line access to ensure the stability of mobile device access for different carriers. Push platforms are deployed in a distributed architecture. Not only can the system capacity be flexibly expanded, but also 99.9% SLA can be provided. The professional O & M Team maintains the mail, and the message delivery rate exceeds 96%.
Low Cost
Push platforms focus on the research in the PUSH Service field. A single device supports-million users online (fluctuating according to the configuration of a single device), leading the industry in average cost control.
Unexpectedly fast, instant delivery
The message delivery latency of push platforms is less than 0.2 s. anytime and anywhere, the user's mobile device can be delivered through the network.
Optimized for mobile phones, saving power and saving traffic
Platforms adopt proprietary protocols, which are more suitable for mobile devices than XMPP and comply with 4S standards (small, power-saving, traffic-saving, and stable ). Measured no-load power consumption of mobile devices is between 15-50 mAh per day, and no-load traffic is between 0.8-1.2 M per month.
Easy to implement
SDK integration for mobile devices on the push platform can be completed in half a day. With the push management background, messages can be sent from the Development Group on the same day. At the same time, a single platform also provides mature service APIs that can be closely integrated with existing business systems of the customer.
Powerful analysis reports
Push Platforms provide core data such as user retention and online users for applications, and occasionally provide industry data analysis reports and customer industry ranking indexes. For the access behavior after a message is delivered to a user, a push platform also provides a precise performance evaluation report.
If you have any questions, please leave a message and repeat the source.