Microsoft Graph 中的跨设备体验Cross-device experiences in Microsoft Graph

在当今的多设备环境中,消费者使用设备的方式跨越了不同的平台和外形规格:他们可能会在其平板电脑上阅读早间新闻,在早晨上班途中用手机查看电子邮件,以及在工作时使用台式电脑。In today's multi-device world, the way consumers use devices spans different platforms and form factors: they might read the morning news on their tablets, check email during the morning commute on their phones, and use their desktop PCs when at work. 到了晚上,他们可能会在自己的家庭媒体控制台上观看电影,并使用智能扬声器获取当天的新闻。At night, they might watch movies on their home media consoles and use smart speakers to catch up on news from the day. 一般客户全天会使用多个设备和平台。The average customer engages with multiple devices and platforms throughout the day.

在过去,外形规格会造成消费者之间不同类型的行为差异。In the past, form factor drove distinct types of behavior differences among consumers. 然而,今天,多设备消费者可在他们的所有设备上进行所有活动。However, today, multi-device consumers conduct all their activities across all their devices. 每天(无论是在家中与家人一起,还是在工作时与同事一起)执行的任务本质上不是以设备为中心的,而是以人为中心的The tasks performed on a daily basis (whether at home with family, or at work with colleagues) are not inherently device-centric, but rather human-centric. 消费者希望能够使用任何可用的屏幕,而不管输入来自何处。Consumers want to be able to use whatever screen is available, independent of where the input comes from. 事实上,他们通常发现每台设备都有一个清晰的边界,并且跨设备完成任务需要非自然的操作,例如向自己发送电子邮件或使用 U 盘。In reality, they often find that each device has a clear boundary and getting things done across devices requires unnatural actions such as sending oneself an email or using USB sticks. 客户在其设备之间移动时会遇到冲突,有时由于这种环境切换,重要的任务会丢失。Customers see friction when moving between their devices and sometimes important tasks get lost because of this context switching. 这对开发者而言同样是一个挑战,因为当客户使用应用感到摩擦时,客户就会对该应用的参与度会下降。This is also a challenge for developers because when customers feel friction using an app, customer engagement with the app goes down.

Microsoft 正在构建一个平台,以打造超越单一设备的体验,以便他们能够跨设备进行协调,让你能够创建以人为中心的可与用户一起移动的应用场景,并模糊其设备之间的界限,而不考虑外形规格或平台。Microsoft is building a platform for creating experiences that transcend a single device so they can harmonize across devices – empowering you to create human-centric scenarios that move with the user and blur the lines between their devices, regardless of form factor or platform. Microsoft Graph 提供了单个统一的终结点,让你可以访问 Azure Active Directory 和 Office 365 中的数据。Microsoft Graph provides a single unified endpoint to give you access to data from Azure Active Directory and Office 365. 现在,通过 Microsoft Graph,你还可以访问属于你客户的活动和设备,并实现跨设备和平台的以人为中心的丰富体验。Now through Microsoft Graph, you can also access the activities and devices that belong to your customers, and enable rich human-centric experiences that cross devices and platforms.

为何要投资跨设备体验?Why invest in cross-device experiences?

让客户通过活动源 API 获取他们离开的位置Let customers pick up where they leave off with the activity feed API

通过活动,你可以为在任何平台和设备上无缝流动的应用用户捕获独特任务,从而使他们能够在其首选屏幕上快速恢复工作。With activities, you have a way to capture the unique tasks for users of your app that flow seamlessly across any platform and device, allowing them to quickly resume working on their preferred screen. 使用活动源,你可以创建对用户最重要的、以人为中心的任务视图,帮助减少从网页切换到移动设备再到个人电脑等设备时的阻碍。Using the activity feed, you can create a human-centric view of the tasks most important to users, helping reduce friction when switching from web to mobile to PC and beyond.

通过使用设备中继 API 构建丰富的跨设备体验Build rich cross-device experiences by using the device relay API

除了 Microsoft 设备(个人电脑、Windows Phone、Xbox、IoT、HoloLens 等),设备中继 API 还提供了 Android 和 iOS 设备。In addition to Microsoft devices (PCs, Windows Phones, Xbox, IoT, HoloLens, and more), the device relay API also exposes Android and iOS devices. 这可让能够真正打破用户设备之间的边界。This enables you to truly break down boundaries between your users' devices. 可以生成利用用户环境的应用,并创建能够实时超越单个设备的丰富体验。You can build apps that utilize the user’s environment and create rich experiences that transcend a single device in real-time.

使用以人为中心的跨设备通知与用户交互(预览版)Engage users with human-centric cross-device notifications (preview)

通知是与用户沟通和交互的最有效、最直接方式之一。Notifications are one of the most effective and direct ways to communicate to and engage with your users.

借助 Microsoft Graph 通知 API,可以发送以人为中心(而不是以设备为中心)的通知。With the Microsoft Graph notifications API, you can deliver notifications in a human-centric, instead of a device-centric way. 可以定目标到接收通知的用户,并依赖 Microsoft Graph 通知框架将通知发送到用户登录的每个终结点。You can target a user to send notifications to, and rely on the Microsoft Graph notifications framework to deliver the notifications to each endpoint the user is signed in on. 此外,借助 Microsoft Graph 通知 API,还可以轻松实现跨设备通知管理,这样既可跨用户设备同步通知,又能为用户减少冗余和中断次数。Cross-device notification management is made easy with the Microsoft Graph notifications API as well, so you can sync notifications across users' devices, and reduce the amount of redundancy and interruption for your users.

API 参考API reference

在查找这些服务的 API 参考?Looking for the API reference for these services?

后续步骤Next steps