Push now use a push, Aurora push, friends Alliance push, etc., now according to these third-party push, summarize the principle of push. The first stage: the service-side program to send the message, the logo of the purpose of the iphone packaging, sent to APNs. Phase II: APNs in its own list of iphone's registered push services, look for an iphone with a corresponding logo and send the message to the iphone. The third stage: The iphone sends the message to the appropriate application and follows the settings to eject the push notification.
The steps are as follows
1, the first is the application registration message push.
2, iOS and APNs server to Devicetoken. The application accepts Devicetoken.
3. The application sends the Devicetoken to the push service-side program.
4. The service-side program sends messages to the APNS service.
5. The APNs service sends the message to the iphone app.
Apple message push mechanism