编码与 数据传输优化

发布于 2024-07-14 17:06:01 字数 211 浏览 9 评论 0原文

我正在开发一个解决方案,其中包括手机和服务器之间的数据传输。 但是,我想尽量减少传输数据的数量。

我计划使用 TCP/UDP 连接尝试几种类型的编码并测量流量和数据丢失。 除此之外,我相信已经存在针对不同类型的数据(音频、视频、文本)和网络特性的协议开发(应用层)的某种建议。

如果有人提供有关此主题的任何链接或提示,我将非常感激。

谢谢!

I am developing a solution which will include data transfer between mobile phone and server. However, I would like to minimize the quantity of the transferred data.

I was planning to try several types of encoding with TCP/UDP connection and measure the traffic and data loss. Otherwise I believe there already exist some kind of recommendations for protocol development (application layer) for different kind of data (audio, video, text) and network characteristics.

I would be really thankful if anyone provided any link or tip regarding this topic.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ㄖ落Θ余辉 2024-07-21 17:06:01

关于压缩方面,Jeff Atwood 最近写了一篇关于压缩的帖子,其中包含链接到此页面,它很好地显示了哪些压缩算法/实现在考虑压缩带来的开销的情况下,这是最好的。

对于移动电话<--> 服务器连接我猜速度可能会怎么样
比如 100-500kbps,然后“7za -mx=9”似乎是给出的选择
以最少的开销实现最佳压缩。

对于更一般的“如何选择/开发不同场景的网络协议”部分,这是一个非常开放的问题,我不确定是否可以给出任何明确的答案。
但对于视频/音频,我建议查看此处,我猜RTSPRTP

Regarding the compression aspect, Jeff Atwood wrote a post recently about compression which contained a link to this page which very nicely shows which compression algorithms/implementations that are best under which conditions when also considering the overhead imposed by doing compression.

For a mobile phone <--> server connection I would guess the speed could be something
like 100-500kbps, and then "7za -mx=9" seems to be the choice that gives the
best compression with least overhead.

For the more general "how to select/develop network protocols" for different scenarios part, this is an very open question and I am not sure if any clear answer can be given.
But for video/audio I suggest looking here and I would guess RTSP and RTP can be used.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文