Win8 event patch reveals: fish and bear's paw can have

  

Microsoft continues to introduce the new features and development process of Windows 8 in the official blog, today it is the turn of the event (Live Title), event patch It is an important function of the Windows 8 Metro interface Start Screen. During the development process, Microsoft's mission is to provide real-time updates of content without affecting system performance and reducing battery life. Both fish and bear's paw.

The development goal of Windows 8 Active Patch is:

— Implement hundreds of active tiles without affecting system performance;

— Text or icon, with beautiful pictures;

— Easy for developers to use;

— Real-time publishing, all kinds of notification information are updated in real time.

In order to achieve these goals, the Windows 8 start screen is not driven by the application code running in the background, but is driven entirely by data, which saves power and provides a better system. performance.

Microsoft also introduced how developers can use pre-defined templates to achieve this effect, but there is no need for further understanding for the average user.

When the system pushes notifications to the active patch, Windows 8 does not use polling systems. The polling system requires the start screen to check for updates of each content very frequently, rather than updating directly. Content is pushed to the device, which increases battery drain and network traffic.

Windows 8 Notification Push Platform Emoticon:

Windows Push Notification Service (WNS): It is responsible for pushing active tiles and notifications;

App Service: Application Web The service, which sends notifications and patch updates to WNS, for example, it is the official website of the "Weather" application, which will send content updates to WNS if there is a weather change.

Windows client platform: It represents the user PC terminal.

Microsoft said that in this mode, the application's backend server will push content to WNS, and the image will be captured directly from the backend server, and then both will be displayed on the Windows 8 device.

Let us give an example. If the application's web service is a social networking site, when someone comments on your photo, then the social networking site will send a notification to WNS, WNS will This notification is pushed to the Windows 8 client. When the start screen needs to display a patch update, Windows 8 simply grabs the image from the server on the social networking site based on the XML contained in the notification. When the notifications and images are downloaded, the application will render the tiles and display them on the start screen.

In order to prevent malware from invading and maliciously updating active patches, Microsoft has adopted an "anonymous authentication mechanism" to create a unique relationship between your Windows 8 computer and WNS. Response, this mechanism connects the application and the active tile server together to prevent other applications from intervening and maliciously updating the tile content.
The number of notifications sent to the Windows 8 Developer Preview every day

Windows 8 New Task Manager also supports viewing the resources occupied by the application's active tiles:

Conclusion: Br>

Microsoft's notification platform for Windows 8 allows users to see updated messages at a glance, with both system performance and battery life. For developers, Microsoft created Windows Push Notifications Service to help them create active tiles for their applications without writing complex network connection code, since WNS uses standard Web technologies such as HTTP POST, developers. Easily integrate notifications based on existing web services.

Microsoft said that, in summary, the notification platform in Windows 8 allows you to see the updated information of the installed application at a glance, without worrying about performance and battery life.


Copyright © Windows knowledge All Rights Reserved