instant messaging

来源: 哇谷im-原创 2020-07-21 20:16:35

nstant messaging (IM) and real-time communication are network communication systems, whose essence is forward information. The biggest difference is the requirement of time information transmission. The differences between them can be found in the following aspects:


Common instant messaging solutions include text chat, voice messaging, file transfer, audio and video playback. Generally speaking, it's texting. scene

Real time communication, including voice, video conference, Internet phone, etc. In general, it is a call. Instant messaging architecture.

2、 Product appeal point

Instant messaging: the main requirements are reliable quality and delivery evaluation rate. If you send a text message and the result is lost, the other party has not received it! You don't believe in texting. Instant messaging.

Real time communication: the main requirement of low delay and connection rate. Is wechat an instant messaging tool.

Low latency: you make a call, every word, and the other is a response of only a few seconds, and the phone also tells you not to turn right.

Connection rate: when you call you and hear your profile open, and actually don't respond to the other person's phone, it's actually walking up. It's not sent with the mail, and the adverse effects are the same.

Three technical aspects

IM technology: confirmation message and sending, [access end message, service logic processing of end message, message storage and forwarding of the cache server, end user state management service, heartbeat mechanism, message sender], message receiving and confirmation. Is wechat instant messaging.

Technical aspects: acquisition, preprocessing, coding, [access server, forwarding access server], decoding, rendering and playback.

Some of these technical aspects overlap: forwarding information.

4、 Transmission protocol

Instant messaging: what is rongyun instant messaging

Public Internet, the most commonly used communication protocol is TCP, UDP. Instant messaging intranet.

TCP: transmission control protocol, transmission control protocol is a connection based protocol, that is, before receiving data, you must create a reliable connection with the other party. It has uncontrollable delay characteristics.

UDP: user datagram protocol, user datagram protocol, is the protocol corresponding to TCP. This is a non connection oriented protocol, it does not establish a connection with the other party, but directly sends the package. Packet loss, jitter and delay characteristics.

In order to ensure the reliability of the connection, the most commonly used protocol in e-mail system is TCP or TCP connection protocol. The characteristic of this protocol is to pursue the reliability of the connection, but it does not cause controllable delay of more than two seconds. The delayed response is normal, even dozens of minutes. The real-time communication standard with operators is 400ms, and a new transportation solution is created based on the need for another way of real-time communication through the Internet. This, in turn, is linked to the programme. SMS, delivery delay of a few seconds, users almost no impact.

Real time communication, using UDP as the underlying transport protocol. In the design of real-time communication service with low delay, UDP performance is much better than TCP. This is because of real-time communication, low latency is more important than reliability. Phone calls, a few seconds of delay can't be tolerated.

Encapsulating the retransmission of TCP protocol message, it is almost impossible to optimize the retransmission mechanism to achieve low waiting time in the application of TCP protocol. In particular, when a mobile network, more than 30% of the packet loss, TCP can be more than 50% of the packet loss, or even easily break, delay to dozens of minutes. In addition, UDP may also send data at 30% loss of the connecting rod, and TCP cannot perform real-time communication. UDP based protocol

With the development of various packet loss compensation algorithms, on the one hand, continuity and data recovery are guaranteed as much as possible. On the other hand, when some packets cannot be recovered, the corresponding audio and video packets will be discarded, and the subsequent real-time communication services will not be affected. What does instant messaging mean.

Fifth, the costs involved

Part of the cost of: server access, storage and forwarding. PC instant messaging message.

The difference between the two link costs is: from the perspective of server, the world's first instant messaging.

Access, using TCP to ensure the reliability of instant messaging protocol, can establish multiple connections, UDP compared to this is an expensive transmission is connectionless transmission. Real time communication can be based on UDP protocol to establish a flexible and fast access mechanism with the server.

Storage, real-time forwarding server of real-time communication, is not the data stored in the server in general. The data that the instant messaging system will cache into the memory, including rich media data, takes up a lot of storage space, resulting in more and more storage costs. From the perspective of cost

, information and data transmission, instant messaging method based on TCP, more emphasis on reliability, the same amount will be the preferred multi line transmission room, the cost is relatively high; real time and instant messaging technology based on UDP.

In communication system, the best path for data transmission is preferred, and the transmission path can be dynamically adjusted to make use of available bandwidth effectively, improve transmission efficiency and reduce cost.






-----------------------------------------------------

相关文章

即时通讯

即时通讯im

什么是私有云?

im 移动社交聊天APP

Im通讯有哪些APP

如何选择即时通讯软件?

推荐一款好用的企业办公聊天APP

使用企业IM要不要收费

IM软件要多少钱?‍‍有必要定制么?

有没有必要开发企业聊天APP

企业IM是什么,有什么使用优势?

哇谷IM有什么特点,为什么很多企业在使用?

即时通讯私有化部署是什么?

企业即时通讯的使用价值有哪些

企业聊天APP有什么作用,可以带来哪些便利?

企业即时通讯软件支持多设备登陆吗?

购买海外云服务器注意避免这些误区

怎么样正确认识海外云服务器

员工上网影响效率 关闭外网做内网必备聊天APP

即时通讯软件是否具有聊天回执的功能?

即时通讯聊天APP是否支持消息漫游

即时通讯软件可以发送表情和语音么?

即时通讯软件支持群聊和音视频功能么?

有微信有QQ,为啥还要定制即时通讯软件?

IM软件功能丰富 随心所欲定制您需要的功能

盘点全球几大即时通讯软件

介绍两款国外大佬级别的即时通讯APP

原创互联网未来世界企业政府通讯APP办公节约成本类似马云思维-哇谷IM

免费十万SEO优化超级外链工具各大站长工具

敲黑板,企业聊天APP这些事项一定要注意!

JM沟通优势有哪些,安全性怎么样?

JM沟通app即时通讯聊天系统功能介绍

jm沟通 企业即时通讯有什么特点,为什么受欢迎?

JM沟通实现零距离交流 成现代企业办公的必备

即时通讯私有化完整版源代码分析后台数据库说明

即时通讯IM融云世界

新的市场叫板环信、融云、腾讯云!开源版IM即使聊天工具

公有云和私有云之间有什么区别?类似融云、环信云、网易云、哇谷云?

IM云系统即时通讯公有云、私有云、企业云、海外云-哇谷IM团队

2.0哇谷即时通讯系统正式上线适合大型项目运营超稳定性

哇谷科技JM沟通即时通讯内核升级新版哇谷2.0即将上线

im即时通讯社交软件APP红包技术分析(五):微信红包、聊呗红包、诚信红包、高并发技术

im即时通讯-微信红包、支付宝红包、聊呗红包、诚信红包、谈功能逻辑、容灾、运维、架构等。Q红包

更多文章

.

 企业即时通讯服务 | 商用红包功能构架 | 哇谷IM首页 | JM沟通IM下载 | IM功能与价格 | 即时通讯动态 | 热门动态 | 关于哇谷 |联系我们