Push related concepts, such as 1-1:
1.Provider: Is the server that provides push for the specified iOS device application (if The iOS device application is a client, then Provider can be understood as a service-side [initiator of the message] ]);
2,APNS:Apple push Notification service[Apple message Push server ];
3, theiPhone: Used to receive APNs issued by the news;
4.Client app: Anapp on an iOS device that receives an iphone delivery APNs message to the final responder of a client app[message being developed ];
Can be divided into three stages:
Phase one:provider[service side ] to send the message, the purpose of the iOS device identification Packaging, sent to APNS;
Stage Two: APNs in the list of iOS devices for which youhave registered the push service, look for an iOS device with the appropriate identity and send the message to the iOS device;
Phase three: TheiOS device passes the message sent to the corresponding application and pops up the push notification as set.
Specific processes, such as 1-2:
1,[Client APP] Registration message push;
2,[client app] and [APNS Service] to Devicetoken, client app receive Devicetoken;
3,[Client App] Send devicetoken to [Provider]push server program;
4, when the push server program satisfies the sending message condition,[Provider] sends the message to [APNS service];
5. [APNS Service] sends the message to the [Client App].
iOS message Push principle