计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400106-917.doi: 10.11896/jsjkx.260400106
汪钇辰1, 朱傲天2, 付振新3,4, 马晨5, 杜量5, 樊春3,4
WANG Yichen1, ZHU Aotian2, FU Zhenxin3,4, MA Chen5, DU Liang5, FAN Chun3,4
摘要: 随着云计算与5G技术的快速发展,远程桌面系统已广泛应用于远程游戏、虚拟仿真等高实时性交互场景,这些场景对本地输入设备的远端重定向提出了迫切需求。手柄作为一种典型的专用输入设备,除游戏控制外,还可模拟鼠标与键盘操作、工业控制、虚拟显示以及辅助专业软件输入等,具备跨场景的输入泛化能力,对远程交互体验的提升具有重要价值。然而,现有远程桌面方案对手柄等专用输入设备的重定向支持较为有限,普遍缺少对传输延迟的针对性优化以及存在高轮询率手柄输入失真等问题,难以满足高实时性远程交互场景的需求。为此,提出了一种手柄重定向方案,在已有远程桌面基础上,通过构建差异化的多通道传输机制降低手柄控制数据的端到端延迟,通过引入基于高精度时间戳的事件重放机制解决高轮询率手柄在远程传输中的输入失真问题,并提出基于贝塞尔曲线的摇杆路径补全算法消除死区引起的操作不连续性,为远程桌面场景提供高实时、低延迟且与本地操作无差别的手柄使用体验。实验结果证明,所提出的手柄重定向方案能够在良好网络状况下获得30 ms以内端到端延迟,并且在网络抖动条件下仍能维持较低且稳定的交互延迟,可满足远程游戏等多场景的需求。
中图分类号:
| [1] CAI W,SHEA R,HUANG C Y,et al.A Survey on Cloud Ga-ming:Future of Computer Games[J].IEEE Access,2016,4:7605-7620. [2] LIU S,CLAYPOOL M,KUWAHARA A,et al.Lower isBet-ter?The Effects of Local Latencies on Competitive First-Person Shooter Game Players[C]//Proceedings of the CHI Conference on Human Factors in Computing Systems.2021:1-12. [3] LIU S,CLAYPOOL M,KUWAHARA A,et al.The Effects ofNetwork Latency on Competitive First-Person Shooter Game Players[C]//2021 13th International Conference on Quality ofMultimedia Experience(QoMEX).IEEE,2021:151-156. [4] WIBOWO A,DUONG T N B.CloudNPlay:Resourceoptimization for a cloud-native gaming system [C]//2021 IEEE 30th International Conference on Enabling Technologies:Infrastructure for Collaborative Enterprises(WETICE).2021:33-38. [5] HIROFUCHI T,KAWAI E,FUJIKAWA K,et al.USB/IP:Atransparent device sharing technology over IP network[J].IPSJ Digital Courier,2005,1:394-406. [6] ZHOU Y M,GUO H H.A research of USB device redirection mechanism over IP network in desktop cloud system[C]//2012 National Conference on Information Technology and Computer Science.2012:196-199. [7] CHENG L.Research on optimization of USB redirection channel transmission mechanism based on SPICE protocol[J].Computer Science and Application,2020,10:1166. [8] ZHU Y Q,TANG X.Analysis and research on remote desktop transmission protocol based on VNC [J].Computer System Applications,2016(11):284287. [9] ANSYAR H D,WAHID A,LAMADA M,et al.Implementationof Cloud gaming using the Chrome Remote Desktop Method[C]//2023 IEEE 8th International Conference on Recent Advances and Innovations in Engineering(ICRAIE).2023:1-6. [10] PROTOCLO R D.Remote Desktop Protocol[EB/OL].https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr. [11] Microsoft.RdpGamepad:Remote Desktop Plugin for Xbox Game-pads[EB/OL].https://github.com/microsoft/RdpGamepad. [12] MCANLIS C,LUBBERS P,JONES B,et al.Playing Around with the Gamepad API:Andrzej Mazur,HTML5 Games Developer,Founder,Enclave Games[M]//HTML5 Game Development Insights.Springer,2014:163-175. [13] WEINRANK F,BECKE M,FLOHR J,et al.WebRTC datachannels[J].IEEE Communications Standards Magazine,2017,1(2):28-35. [14] LOVE R.Linux kernel development[M].Pearson Education,2010. [15] MAUERER W.Professional Linux kernel architecture[M].John Wiley & Sons,2010. [16] THORPE A,MA M,OIKONOMOU A.History and alternative game input methods[C]//2011 16th International Conference on Computer Games(CGAMES).2011:76-93. [17] NEAGOE T,CRISTEA V,BANICA L.NTP versus PTP incomputer networks clock synchronization[C]//2006 IEEE International Symposium on Industrial Electronics.2006:317-362. [18] FARIN G.Curves and surfaces for computer-aided geometric design:a practical guide[M].Elsevier,2014. [19] ZHANG J.C-Bézier curves and surfaces[J].Graphical Models and Image Processing,1999,61(1):2-15. [20] HAN X A,MA Y,HUANG X.A novel generalization of Bézier curve and surface[J].Journal of Computational and Applied Mathematics,2008,217(1):180-193. [21] FARIN G E.Curves and surfaces for CAGD:apractical guide[M].Morgan Kaufmann,2002. |
|
||