Modern IoT and networked systems rely on fast and secure delivery of time-critical information. Use cases such as teleoperations require fast data delivery over mobile networks, which despite improvements in 5G are still quite constrained. Algorithms for encryption and compression provide security and data size efficiency, but come with time and data size trade-offs. The impact of these trade-offs is related to the order in which these operations are applied, and as such necessitates a robust exploration from a performance perspective. In this paper, we assess several compression and encryption algorithms, combinations of their execution order, timings and size changes from such order, and the implications of such changes on 5G teleoperations. From our assessments we have three major takeaways: (1) Compression-First is faster and more compressed, except for certain circumstances. (2) In these specific circumstances, the compression against a raw file leads to a lengthier time than if applied to an encrypted file first. (3) Applying both encryption and compression on data samples larger than 10MB is impractical for real time transmission due to the incurred delay.
翻译:现代物联网和网络化系统依赖于时间关键信息的快速安全传输。远程操作等用例要求通过移动网络快速传输数据,尽管5G技术有所改进,但网络仍存在较大限制。加密与压缩算法可提供安全性和数据规模效率,但会带来时间与数据规模之间的权衡。这些权衡的影响与操作执行顺序相关,因此有必要从性能角度进行深入探索。本文评估了多种压缩与加密算法、其执行顺序的组合、执行顺序带来的时间及数据规模变化,以及这些变化对5G远程操作的影响。基于评估得出三大主要结论:(1)除特定情形外,“先压缩后加密”策略速度更快且压缩率更高。(2)在这些特定情形下,对原始文件进行压缩所需时间比先加密再压缩更长。(3)对超过10MB的数据样本同时应用加密与压缩操作会产生延迟,不适用于实时传输。