请输入您要查询的百科知识:

 

词条 Microsoft Push Notification Service
释义

  1. Technical details

     Implementation  Architecture 

  2. References

  3. External links

{{Infobox software platform
| name = Microsoft Push Notification Service
| icon =
| image = Microsoft_Push_Notification_Service.jpg
| caption = Overview of the MPNS architecture.
| developer = Microsoft
| target = Windows Phone 8
| editor =
| runtime =
| format =
| language = C#
| application =
| status = Active
| license = Closed-source
}}Microsoft Push Notification Service (commonly referred to as MPNS) is a mobile service developed by Microsoft. It allows for developers to send push data from servers to Windows Phone applications. The MPNS is natively supported on applications that target the Windows Phone 8 Operating System. Microsoft announced the Windows Notification Service for Windows 8 and Windows Phone 8.1 in 2011, effectively replacing the MPNS with this service.[1] The MPNS can be used on applications that are installed on Windows Phone 8.1 if the source code is migrated to a Microsoft Silverlight application, modified to target Windows Phone 8.1, and was already registered to use the MPNS before the upgrade.[2]

Technical details

Implementation

The MPNS is natively designed for use with Windows Phone 8 applications that implement the service. It allows for developers to send toast notifications, as well as update the tile image and flip notification text on the application's Windows Metro start screen tile. This is accomplished by developers by sending POST messages to the MPNS server network with the request and relevant content.[3] A user typically must allow for data or notifications to be received before an application will register with the MPNS for notification data. The MPNS can be implemented to send notification data using an encrypted channel if the developer purchases an SSL certificate from a third-party provider and uploads its private key and certificate data to their Microsoft Developer Portal account. Otherwise, the MPNS can be implemented to send notification data using an unencrypted channel. Applications that utilize unencrypted channels have rate and size limitations with all notification requests and content that is updated or displayed to the device. These limits can be lifted by purchasing an SSL certificate and switching to utilize MPNS encryption.

Architecture

The MPNS consists of servers and internal interfaces that maintain and store Channel URI Identifiers and device information, authenticate POST requests received from developer servers, and enqueue and deliver requested data to mobile devices.[4] When an application registers for data and notifications, it receives a unique Channel URI Identifiers from the MPNS network. This identifier is used by the application developer's third-party server to reference the device that the particular data delivery request will be sent to. After the mobile device receives its Channel URI Identifier, it is then sent to the developer's server to be stored. When a server sends a POST message to the MPNS network for data delivery, the Channel URI Identifier is included within the message payload, along with the data to deliver, and any parameter options specified. The MPNS network will authenticate the identifier, and enqueue the data for delivery to the mobile device.[5]

References

1. ^{{cite web|url=https://azure.microsoft.com/en-us/blog/announcing-the-windows-azure-toolkit-for-windows-8/|last=Harris|first=Nick|title=ANNOUNCING the Windows Azure Toolkit for Windows 8|publisher=Microsoft|date=September 14, 2011|accessdate=November 4, 2015}}
2. ^{{cite web|url=https://msdn.microsoft.com/en-us/library/windows/apps/dn642085%28v=vs.105%29.aspx|title=Choosing MPNS or WNS for a Windows Phone Silverlight 8.1 app|publisher=Microsoft|accessdate=November 4, 2015}}
3. ^{{cite web|url=https://msdn.microsoft.com/en-us/library/windows/apps/hh202945%28v=vs.105%29.aspx|title=Sending push notifications for Windows Phone 8|publisher=Microsoft|accessdate=November 4, 2015}}
4. ^{{cite web|url=https://blogs.windows.com/buildingapps/2010/05/03/understanding-microsoft-push-notifications-for-windows-phones/|title=Understanding Microsoft Push Notifications for Windows Phones|publisher=Microsoft|accessdate=November 4, 2015}}
5. ^{{cite web|url=https://blogs.windows.com/buildingapps/2010/05/04/understanding-how-microsoft-push-notification-works-part-2/|title=Understanding How Microsoft Push Notification Works – Part 2|publisher=Microsoft|accessdate=November 4, 2015}}

External links

  • {{official website|https://dev.windows.com/en-us}}
{{Portal bar|.NET Framework}}

4 : Windows technology|.NET Framework|Push technology|Windows APIs

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 16:54:17