Advances in ubiquitous computing have enabled end-user authoring of context-aware policies (CAPs) that control smart devices based on specific contexts of the user and environment. However, authoring CAPs accurately and avoiding run-time errors is challenging for end-users as it is difficult to foresee CAP behaviors under complex real-world conditions. We propose Fast-Forward Reality, an Extended Reality (XR) based authoring workflow that enables end-users to iteratively author and refine CAPs by validating their behaviors via simulated unit test cases. We develop a computational approach to automatically generate test cases based on the authored CAP and the user's context history. Our system delivers each test case with immersive visualizations in XR, facilitating users to verify the CAP behavior and identify necessary refinements. We evaluated Fast-Forward Reality in a user study (N=12). Our authoring and validation process improved the accuracy of CAPs and the users provided positive feedback on the system usability.
翻译:普适计算的进步使得终端用户能够创作基于用户和环境特定上下文控制智能设备的上下文感知策略(CAPs)。然而,对于终端用户而言,准确创作CAPs并避免运行时错误颇具挑战,因为难以预见在复杂现实条件下CAPs的行为。我们提出"快进现实"(Fast-Forward Reality),一种基于扩展现实(XR)的创作工作流,使终端用户能够通过模拟单元测试用例验证CAPs行为,从而迭代式地创作与完善CAPs。我们开发了一种计算方法,可根据已创作的CAPs及用户上下文历史自动生成测试用例。我们的系统在XR中以沉浸式可视化方式呈现每个测试用例,帮助用户验证CAPs行为并识别必要的改进。我们在用户研究(N=12)中对"快进现实"进行了评估。我们的创作与验证流程提升了CAPs的准确性,用户对系统可用性给予了积极反馈。