Joke Collection Website - Public benefit messages - APP message push mechanism of android system

APP message push mechanism of android system

Reference article:

/)

Because: free, the arrival rate is high, and it is not killed in MIUI system with the largest market share of Android system. So if you want to choose the push service of mobile phone manufacturers, please choose Xiaomi Push as a third-party platform to realize the push service.

The following applications can prove my inference from the side:

The Xiaomi push used by Tencent News was not pushed by its own homing pigeon.

Taobao uses its own Alibaba Cloud push and also integrates Xiaomi push.

Baidu Video and iQiyi use Xiaomi Push instead of their own Baidu Push.

Official website screenshot-integrated application:

If you want to further improve the push effect, you can actually integrate the push services of many mobile phone manufacturers.

For example, the Xiaomi channel is pushed by Xiaomi and the Huawei channel is pushed by Huawei, but the implementation cost will be higher.

3.2 Third-party platform class

Please remember a rule: the push system will enjoy a push channel.

This means that if you are connected to Youmeng Push, it happens that today's headlines are also connected to Youmeng.

One day, your App was killed, but at this time the user started today's headlines, then the push system will send your push message to your mobile phone through the push channel enjoyed by * * *, and then it may also wake up your process (being "kept alive").

Therefore, the scale effect of the push platform is very important for how to choose the push of the third-party platform class.

So how do you know their size and market share? According to personal experience, I mainly look at two points:

Ask an internal friend.

See which big apps among the cooperative customers of the push platform refer to the corresponding cooperation cases in official website.

3.3 bat manufacturers to promote

BAT manufacturers actually have no advantage, remember:

Don't think that with Tencent homing pigeon push, you can take advantage of WeChat to ensure that your App will always be killed internally.

Off-topic, mobile phone Taobao not only uses its own mobile push in Alibaba Cloud, but also uses other third-party push platforms (such as Youmeng Push).

4. How to choose a third-party platform push service?

Choose different usage scenarios mainly from user category+implementation cost+channel.

1. If the user group is accurate (mostly using Xiaomi mobile phone or Huawei mobile phone), you can consider only integrating the push of the corresponding mobile phone manufacturer;

Note: A single mobile phone manufacturer is also acceptable. For example, Xiaomi can certainly work on non-Xiaomi mobile phones, but it is not a system-level service and is easily killed.

If the user group is extensive and the cost is low, we can consider using only a single third-party platform for push (Aurora and Alliance blabla, whichever has the largest scale effect).

If the user group is extensive and does not care about the implementation cost, personal suggestions are as follows:

For Xiaomi mobile phone, push it with Xiaomi;

For Huawei mobile phones, use Huawei to push;

Other mobile phones only use the push of a single third-party platform (Aurora, Alliance blabla, whichever has the largest scale effect).

Let different pushes run in their own good environment to maximize the arrival rate of pushes and the survival rate of products.

You can choose a message push platform according to your own usage scenarios.

5. Selection of push message category

5. 1 and so on to send messages

General third-party push platforms support two types of push messages: notification bar messages and transparent messages.

Notification column message: This message is directly displayed to the user in the form of system notification column after being delivered to the user equipment.

Will not continue to pass to the App.

Transparent message: this message will continue to be delivered to the App after being delivered to the user's device.

The message is passed to the inside of the application in the form of a callback application's BroadcastReceiver. The application then decides how to process and display this message.

Therefore, transparent messages may not be pushed in the form of system notification bar, which is customized by the program.

5.2 Differences and characteristics of message categories

The difference between the two is that in the whole message delivery process, transparent messages are one step more than notification bar messages-delivered to App.

Advantages of notification bar messages: high delivery rate.

Because transparent messages are one step more than notification bar messages in the whole message delivery process-delivered to App, transparent messages increase the probability of being restricted by the system, and the probability of being strangled by the system is higher. Therefore, notification bar messages should provide better delivery rate than transparent messages.

Let's take a look at the official document description pushed by Xiaomi:

In some Android systems (such as MIUI), the application cannot be started in the background due to the limitation of system self-startup management settings.

In this system, if the corresponding application is not started when sending the message, the transparent message will not be delivered smoothly.

Therefore, for messages that need high delivery rate, it is suggested to push messages by means of notification bar reminder as far as possible.

Advantages of transparent message transmission: high degree of message operation &; Highly customized

Provides a more flexible ability to manipulate message data.

If the App only passes through the notification bar, it can't touch the message data itself.

You can customize the style of notification reminder (including the style of reminder, the form of reminder such as sound, etc.). )

So you can choose the push message category according to different usage scenarios.