??xml version="1.0" encoding="utf-8" standalone="yes"?>天津十一选五遗漏:BlogJava - 3d走势图综合版//www.hncyb.com/misc专注于Java技?/description>zh-cnSun, 26 May 2019 03:02:58 GMTSun, 26 May 2019 03:02:58 GMT60 通俗易懂:如何设计能支撑百万并发的数据库架构?/title><link>//www.hncyb.com/jb2011/archive/2019/05/15/433788.html</link><dc:creator>Jack Jiang</dc:creator><author>Jack Jiang</author><pubDate>Wed, 15 May 2019 06:39:00 GMT</pubDate><guid>//www.hncyb.com/jb2011/archive/2019/05/15/433788.html</guid><wfw:comment>//www.hncyb.com/jb2011/comments/433788.html</wfw:comment><comments>//www.hncyb.com/jb2011/archive/2019/05/15/433788.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.hncyb.com/jb2011/comments/commentRss/433788.html</wfw:commentRss><trackback:ping>//www.hncyb.com/jb2011/services/trackbacks/433788.html</trackback:ping><description><![CDATA[     摘要: 1、引言相信看到这个标题,很多人的第一反应就是:对数据库进行分库分表啊!但是实际上,数据库层面的分库分表到底是用来干什么的,其不同的作用如何应对不同的场景,我觉得很多同学可能都没搞清楚。本篇文章我们一起来学习一下,对于一个支撑日活百万用户的高并发系统,数据库架构应该如何设计呢?本文的讨论和分享,将用一个创业公司的发展作为背景引入,方便大家理解。(本文同步发布于://www.52im.ne...  <a href='//www.hncyb.com/jb2011/archive/2019/05/15/433788.html'>阅读全文</a><img src ="//www.hncyb.com/jb2011/aggbug/433788.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.hncyb.com/jb2011/" target="_blank">Jack Jiang</a> 2019-05-15 14:39 <a href="//www.hncyb.com/jb2011/archive/2019/05/15/433788.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>一篇读懂分布式架构下的负载均衡技术:分类、原理、算法、常见方案等 - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/29/433738.htmlJack JiangJack JiangMon, 29 Apr 2019 06:39:00 GMT//www.hncyb.com/jb2011/archive/2019/04/29/433738.html//www.hncyb.com/jb2011/comments/433738.html//www.hncyb.com/jb2011/archive/2019/04/29/433738.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433738.html//www.hncyb.com/jb2011/services/trackbacks/433738.html阅读全文

Jack Jiang 2019-04-29 14:39 发表评论
]]>
八问WebSocket协议:为你快速解答WebSocket热门疑问 - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/25/433731.htmlJack JiangJack JiangThu, 25 Apr 2019 06:27:00 GMT//www.hncyb.com/jb2011/archive/2019/04/25/433731.html//www.hncyb.com/jb2011/comments/433731.html//www.hncyb.com/jb2011/archive/2019/04/25/433731.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433731.html//www.hncyb.com/jb2011/services/trackbacks/433731.html阅读全文

Jack Jiang 2019-04-25 14:27 发表评论
]]>
百度APP移动端网络深度优化实践分??:网络连接优化篇 - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/24/433730.htmlJack JiangJack JiangWed, 24 Apr 2019 08:25:00 GMT//www.hncyb.com/jb2011/archive/2019/04/24/433730.html//www.hncyb.com/jb2011/comments/433730.html//www.hncyb.com/jb2011/archive/2019/04/24/433730.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433730.html//www.hncyb.com/jb2011/services/trackbacks/433730.html阅读全文

Jack Jiang 2019-04-24 16:25 发表评论
]]>
百度APP移动端网络深度优化实践分?一):DNS优化?/title><link>//www.hncyb.com/jb2011/archive/2019/04/22/433729.html</link><dc:creator>Jack Jiang</dc:creator><author>Jack Jiang</author><pubDate>Mon, 22 Apr 2019 05:51:00 GMT</pubDate><guid>//www.hncyb.com/jb2011/archive/2019/04/22/433729.html</guid><wfw:comment>//www.hncyb.com/jb2011/comments/433729.html</wfw:comment><comments>//www.hncyb.com/jb2011/archive/2019/04/22/433729.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.hncyb.com/jb2011/comments/commentRss/433729.html</wfw:commentRss><trackback:ping>//www.hncyb.com/jb2011/services/trackbacks/433729.html</trackback:ping><description><![CDATA[     摘要: 本文由百度技术团?#8220;蔡锐”原创发表?#8220;百度App技?#8221;公众号,原题为《百度App网络深度优化系列《一》DNS优化》,感谢原作者的无私分享。一、前言网络优化是客户端几大技术方向中公认的一个深度领域,所以百度App给大家带来网络深度优化系列文章。本系列文章目录如下:《百度APP移动端网络深度优化实践分?一):DNS优化篇》(* 本文)《百度APP移动?..  <a href='//www.hncyb.com/jb2011/archive/2019/04/22/433729.html'>阅读全文</a><img src ="//www.hncyb.com/jb2011/aggbug/433729.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.hncyb.com/jb2011/" target="_blank">Jack Jiang</a> 2019-04-22 13:51 <a href="//www.hncyb.com/jb2011/archive/2019/04/22/433729.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title> 不为人知的网络编??:从数据传输层深度解密HTTP - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/13/433717.htmlJack JiangJack JiangSat, 13 Apr 2019 03:27:00 GMT//www.hncyb.com/jb2011/archive/2019/04/13/433717.html//www.hncyb.com/jb2011/comments/433717.html//www.hncyb.com/jb2011/archive/2019/04/13/433717.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433717.html//www.hncyb.com/jb2011/services/trackbacks/433717.html阅读全文

Jack Jiang 2019-04-13 11:27 发表评论
]]>
一篇读懂HTTPS:加密原理、安全逻辑、数字证书等 - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/08/433708.htmlJack JiangJack JiangMon, 08 Apr 2019 03:48:00 GMT//www.hncyb.com/jb2011/archive/2019/04/08/433708.html//www.hncyb.com/jb2011/comments/433708.html//www.hncyb.com/jb2011/archive/2019/04/08/433708.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433708.html//www.hncyb.com/jb2011/services/trackbacks/433708.html阅读全文

Jack Jiang 2019-04-08 11:48 发表评论
]]>
IM开发者的零基础通信技术入??:通信交换技术的百年发展?? - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/04/02/433699.htmlJack JiangJack JiangTue, 02 Apr 2019 05:06:00 GMT//www.hncyb.com/jb2011/archive/2019/04/02/433699.html//www.hncyb.com/jb2011/comments/433699.html//www.hncyb.com/jb2011/archive/2019/04/02/433699.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433699.html//www.hncyb.com/jb2011/services/trackbacks/433699.html阅读全文

Jack Jiang 2019-04-02 13:06 发表评论
]]>
知识科普:IM聊天应用是如何将消息发送给对方的?(非技术篇?/title><link>//www.hncyb.com/jb2011/archive/2019/04/01/433698.html</link><dc:creator>Jack Jiang</dc:creator><author>Jack Jiang</author><pubDate>Mon, 01 Apr 2019 10:22:00 GMT</pubDate><guid>//www.hncyb.com/jb2011/archive/2019/04/01/433698.html</guid><wfw:comment>//www.hncyb.com/jb2011/comments/433698.html</wfw:comment><comments>//www.hncyb.com/jb2011/archive/2019/04/01/433698.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.hncyb.com/jb2011/comments/commentRss/433698.html</wfw:commentRss><trackback:ping>//www.hncyb.com/jb2011/services/trackbacks/433698.html</trackback:ping><description><![CDATA[<h1>天津十一选五遗漏:1、引言<br style="box-sizing: border-box;" /></h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">沟通是人类的最基本需求,复杂多变的沟通内容、沟通方式,正是人类文明之所以如此璀璨的关键所在?/p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 623px; max-height: 244px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 244.016px;"></div><div data-width="623" data-height="244" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 623px; height: 244px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-1457124b72dfac3d.jpg" src="//upload-images.jianshu.io/upload_images/1500839-1457124b72dfac3d.jpg" data-original-width="623" data-original-height="244" data-original-format="image/jpeg" data-original-filesize="24861" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">在自然界中,要完成一件事情的沟通,我们可以直接通过声音传递给对方,这是再平常不过的事了(?#8220;?#8221;就能解决)?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">随着计算机的普及,互联网改变了我们的生活,甚至改变了我们的沟通方式。现在,“有什么事微信或QQ上找?#8221;已经是很多的人口头禅了?/p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 500px; max-height: 237px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 237px;"></div><div data-width="500" data-height="237" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 500px; height: 237px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-a7bd38651e2a645a.jpeg" src="//upload-images.jianshu.io/upload_images/1500839-a7bd38651e2a645a.jpeg" data-original-width="500" data-original-height="237" data-original-format="image/jpeg" data-original-filesize="11011" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">那么,作为不懂技术的普通人,有没有想过,你每次使用QQ或微这种IM聊天应用时,你所发送的消息,是如何被计算机送达给对方的?(这显然不可能?#8220;?#8221;解决 ^_^?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">本文将从非技术人员的视角,为你讲解一下IM聊天应用中的聊天消息是怎么发送的?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">学习交流?/span></p><blockquote style="box-sizing: border-box; padding: 20px; margin: 0px 0px 25px; font-size: 16px; border-left-width: 6px; border-left-color: #b4b4b4; background-color: #f7f7f7; line-height: 30px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; word-break: break-word !important;"><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">- 即时通讯/推送技术开发交?群:<a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">101279154</a>[推荐]</p><p style="box-sizing: border-box; margin: 0px; line-height: 1.7; word-break: break-word !important;">- 移动端IM开发入门文章:?a target="_blank" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">新手入门一篇就够:从零开发移动端IM</a>?/p></blockquote><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">(本文同步发布于?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">//www.52im.net/thread-2433-1-1.html</a>?/p><h1 class="sqkw">2、关于作?/h1><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 200px; max-height: 165px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 165px;"></div><div data-width="200" data-height="165" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 200px; height: 165px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-11062a6646887d5d.jpg" src="//upload-images.jianshu.io/upload_images/1500839-11062a6646887d5d.jpg" data-original-width="200" data-original-height="165" data-original-format="image/jpeg" data-original-filesize="14128" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">巩鹏军:</span>专注移动开发十多年,热爱即时通讯技术。个人微信公众号?#8220;巩鹏?#8221;?/p><h1 class="sqkw">3、阅读对?/h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">本文适合非技术背景的读者阅读,如您喜欢本文,则下列文章您也可能喜欢?/span></p><blockquote style="box-sizing: border-box; padding: 20px; margin: 0px 0px 25px; font-size: 16px; border-left-width: 6px; border-left-color: #b4b4b4; background-color: #f7f7f7; line-height: 30px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; word-break: break-word !important;"><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">技术往事:微信估值已?千亿,雷军曾有机会收编张小龙及其Foxmail</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">QQ和微信凶猛成长的背后:腾讯网络基础架构的这些年</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">闲话即时通讯:腾讯的成长史本质就是一部QQ成长?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">腾讯开发微信花了多少钱?技术难度真这么大?难在哪?</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">技术往事:史上最全QQ图标变迁过程,追寻IM巨人的演进历?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">开发往事:深度讲述2010?015,微信一路风雨的背后</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">开发往事:记录微信3.0版背后的故事(距微信1.0发布9个月时)</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">微信七年回顾:历经多少质疑和差评,才配拥有今天的强大</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">前创始团队成员分享:盘点微信的前世今?#8212;—微信成功的必然和偶然</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">QQ的成功,远没有你想象的那么顺利和轻松</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">[技术脑洞] 如果?4亿中国人拉到一个微信群里技术上能实现吗?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">QQ和微信止步不前,意味着即时通讯社交应用创业的第2春已来?</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">那些年微信开发过的鸡肋功能,及其带给我们的思?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">为什么说即时通讯社交APP创业就是一个坑?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">即时通讯创业必读:解密微信的产品定位、创新思维、设计法则等</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">老罗最新发布了“子弹短信”这款IM,主打熟人社交能否对标微信?</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">盘点和反思在微信的阴影下艰难求生的移动端IM应用</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">QQ现状深度剖析:你还认为QQ已经被微信打败了吗?</a></p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">那些年微信开发过的鸡肋功能,及其带给我们的思?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">渐行渐远的人人网:十年亲历者的互联网社交产品复盘和反?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">中国互联网社交二十年:全民见证的互联网创业演?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">IM热门功能讨论:为什么微信里没有消息“已读”功能?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">读懂微信:从1.0?.0版本,一个主流IM社交工具的进化史</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">王欣回应微信封禁,解释为何取?#8220;马桶MT”</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">同为IM社交产品中的王者,QQ与微信到底有什么区?/a>?/p><p style="box-sizing: border-box; margin: 0px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">还原真实的腾讯:从最不被看好,到即时通讯巨头的草根创业史</a>?/p></blockquote><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">如果您是专业技术人员,则跟本文相关的专业技术知识等,可以以下文章中找到?/span></p><blockquote style="box-sizing: border-box; padding: 20px; margin: 0px 0px 25px; font-size: 16px; border-left-width: 6px; border-left-color: #b4b4b4; background-color: #f7f7f7; line-height: 30px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; word-break: break-word !important;"><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">从客户端的角度来谈谈移动端IM的消息可靠性和送达机制</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">移动端IM中大规模群消息的推送如何保证效率、实时性?</a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">IM消息送达保证机制实现(一):保证在线实时消息的可靠投?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">IM消息送达保证机制实现(?:保证离线消息的可靠投?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">如何保证IM实时消息?#8220;时序?#8221;?#8220;一致?#8221;?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">IM单聊和群聊中的在线状态同步应该用“?#8221;还是“?#8221;?/a>?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">IM群聊消息如此复杂,如何保证不丢不重?</a>?/p><p style="box-sizing: border-box; margin: 0px; line-height: 1.7; word-break: break-word !important;">?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">完全自已开发的IM该如何设?#8220;失败重试”机制?/a>?/p></blockquote><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">好了,费话不多说,我们开始正文部分。。?/p><h1 class="sqkw">4、在微信里,我们发送一条聊天消息是如此简?/h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">李雷在手机上打开微信(IM客户端),在聊天输框中输?#8220;Hello!”,点击发送。几乎是瞬间,韩梅梅手机上的微信(IM客户端)就会显示李雷的头像后面跟着“Hello!”?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">整个过程如下图所示:</span></p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 700px; max-height: 544px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 397.875px;"></div><div data-width="957" data-height="544" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 700px; height: 397.875px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-239ec62f72adb426.jpg" src="//upload-images.jianshu.io/upload_images/1500839-239ec62f72adb426.jpg" data-original-width="957" data-original-height="544" data-original-format="image/jpeg" data-original-filesize="59570" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div><div style="box-sizing: border-box; min-width: 20%; max-width: 80%; min-height: 22px; display: inline-block; padding: 10px; margin: 0px auto; border-bottom: 1px solid #d9d9d9; font-size: 14px; color: #969696; line-height: 1.7;">▲ 一条聊天消息发送的全过?/div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">从上面的图示可以看到,整个过程涉及三大部分:</span></p><blockquote style="box-sizing: border-box; padding: 20px; margin: 0px 0px 25px; font-size: 16px; border-left-width: 6px; border-left-color: #b4b4b4; background-color: #f7f7f7; line-height: 30px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; word-break: break-word !important;"><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">1)李雷手机上的IM客户端(微信);</p><p style="box-sizing: border-box; margin: 0px 0px 25px; line-height: 1.7; word-break: break-word !important;">2)IM服务端;</p><p style="box-sizing: border-box; margin: 0px; line-height: 1.7; word-break: break-word !important;">3)韩梅梅手机上的IM客户端(微信)?/p></blockquote><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">下面,我们逐一介绍每个部分的具体工作原理?/p><h1 class="sqkw">5、消息发送者:发送端是怎么工作的?</h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">先看看发送端,李雷手机上的IM客户端中发生了什么?</p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 457px; max-height: 1437px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 937.984px;"></div><div data-width="457" data-height="938" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 457px; height: 937.984px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-f7388b372b512fa8.jpg" src="//upload-images.jianshu.io/upload_images/1500839-f7388b372b512fa8.jpg" data-original-width="457" data-original-height="938" data-original-format="image/jpeg" data-original-filesize="47880" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">从上图可以看出,发送一条信息经过三个步骤:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">1)消息编辑:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">李雷操作键盘输入要发送的文字,点?#8220;发?#8221;按钮。这一切都发生在IM客户端的界面模块中。类似用笔在信纸上写信,键盘就是笔,聊天框就是信纸;</p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">2)消息入库:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">IM客户端中的数据模块会先将聊天内容“Hello!”加上谁发给谁等信息,按标准格式打包为一条IM消息,并存入本地数据库。这类似信纸装入信封,填写地址,投入邮箱的过程。一条IM消息就是一封信,本地数据库就是李雷家的邮箱?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">3)消息发送:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">IM客户端中的网络模块通过长连接将IM消息发给IM服务端。这类似邮递员将信件汇总发往邮政局。网络模块就是邮递员,IM服务端就是邮政局。(长连接是IM客户端跟IM服务端一直保持的网络链路)?/p><h1 class="sqkw">6、消?#8220;中转?#8221;:IM服务端是怎么工作的?</h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">担负“邮政局”职责的IM服务端是IM世界中全知全能的神,它认识所有人,经手所有消息,跟每个人都一直保持联系(长连接)?/p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 356px; max-height: 1835px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 933px;"></div><div data-width="356" data-height="933" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 356px; height: 933px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-871c1ea17c1e0651.jpg" src="//upload-images.jianshu.io/upload_images/1500839-871c1ea17c1e0651.jpg" data-original-width="356" data-original-height="933" data-original-format="image/jpeg" data-original-filesize="38807" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">每条消息在IM服务端中都要至少经过以下处理?/span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">1)消息接收:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">长连接服务从和李雷的长连接接收到“Hello!”的IM消息。IM服务端跟所有登录的IM客户端保持长连接(一条一直活跃的网络链路,每个客户端一条),长连接上定时会有心跳消息来监测客户端的在线离线状态,心跳消息就像邮递员每天都会在邮政局和邮箱之间巡回一样;</p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">2)消息验证:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">用户服务查询IM消息的目标人韩梅梅,以及发送人李雷和目标人韩梅梅是否好友关系,确保韩梅梅是真实存在而非虚构的,并且韩梅梅愿意接收李雷的消息,否则会给李雷退信。(一般IM服务端会将IM消息的副本存入数据库中备份)?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">3)消息转发:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">在长连接服务中找到跟韩梅梅手机上IM客户端保持的长连接,并将消息发送给韩梅梅?/p><h1 class="sqkw">7、消息接收者:接收端又是怎么工作的呢?/h1><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">下面看看韩梅梅手机上发生了什么?</p><div style="box-sizing: border-box; padding-bottom: 25px; width: 700px; margin-left: -40px; text-align: center; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff;"><div style="box-sizing: border-box; position: relative; z-index: 100; background-color: transparent; transition: background-color 0.1s linear 0s; margin: 0px auto; max-width: 485px; max-height: 1191px;"><div style="box-sizing: border-box; z-index: 50; padding-bottom: 824.984px;"></div><div data-width="485" data-height="825" style="box-sizing: border-box; position: absolute; top: 0px; left: 0px; width: 485px; height: 824.984px; overflow: hidden;"><img data-original-src="//upload-images.jianshu.io/upload_images/1500839-94f93d05d655e052.jpg" src="//upload-images.jianshu.io/upload_images/1500839-94f93d05d655e052.jpg" data-original-width="485" data-original-height="825" data-original-format="image/jpeg" data-original-filesize="44831" style="box-sizing: border-box; border: 0px; vertical-align: middle; transition: all 0.15s linear 0s; z-index: 100; opacity: 1; max-width: 100%; height: auto; cursor: zoom-in; display: block; filter: blur(0px);" alt="" /></div></div></div><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">韩梅梅手机上的IM客户端和李雷(发送者)的是一样的,但处理步骤是不同的?/span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">1)消息接收:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">网络模块通过跟IM服务端保持的长连接接收IM消息?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">2)消息入库:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">网络模块会将IM消息存入本地数据库,即信件投入了韩梅梅家的邮箱。网络模块就是邮递员,本地数据库就是韩梅梅家的邮箱;</p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;"><span style="box-sizing: border-box; font-weight: 700;">3)消息展示:</span></p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">界面模块获取发送人头像,和消息内容一起显示在聊天界面上?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">经过上述过程,韩梅梅在自己手机上就看到了李雷发过来的“Hello!”,因为李雷和韩梅梅都是一直和服务器保持长连接,所以上述过程是瞬间完成的,李雷和韩梅梅感觉就像面对面聊天一样方便。这也是Instant Messaging名字的来历?/p><p style="box-sizing: border-box; margin: 0px 0px 25px; color: #2f2f2f; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-size: 16px; background-color: #ffffff; word-break: break-word !important;">(本文同步发布于?a target="_blank" rel="nofollow" style="box-sizing: border-box; background-color: transparent; color: #3194d0; text-decoration-line: none; cursor: pointer;">//www.52im.net/thread-2433-1-1.html</a>?/p><img src ="//www.hncyb.com/jb2011/aggbug/433698.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.hncyb.com/jb2011/" target="_blank">Jack Jiang</a> 2019-04-01 18:22 <a href="//www.hncyb.com/jb2011/archive/2019/04/01/433698.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IM开发者的零基础通信技术入?一):通信交换技术的百年发展?? - 3d走势图综合版//www.hncyb.com/jb2011/archive/2019/03/26/433692.htmlJack JiangJack JiangTue, 26 Mar 2019 04:08:00 GMT//www.hncyb.com/jb2011/archive/2019/03/26/433692.html//www.hncyb.com/jb2011/comments/433692.html//www.hncyb.com/jb2011/archive/2019/03/26/433692.html#Feedback0//www.hncyb.com/jb2011/comments/commentRss/433692.html//www.hncyb.com/jb2011/services/trackbacks/433692.html阅读全文

]]>
  • 壺͢ѵսС ս 2019-05-25
  • ġæ 2019-05-25
  • 仰ں 2019-05-23
  • 2026籭䱱 2019-05-20
  • ؼ10걩4󣺹ؼ õط 2019-05-20
  • 躣ǿϰƽڶ˵ 2019-05-14
  • ִ2000ڹ˰ƣз300 2019-05-12
  • 籭ר ͲƱ ǹϵľ 2019-05-08
  • Ҫսʤֱ˽ѧϰֳĵԼ̴,ҪѧϰΪ.ԻƳDzʷЇѧϰ,ѧάѸǿΪǿҼ֤ 2019-05-04
  • []ȥ 2019-05-01
  • ظ@ϱŹֻ֤̲꣡ڼƻõĹ룬۸˵ǿ̳ûһ˱ۿǵøȫα߹һ֮⣡ 2019-04-15
  • һ 2019-04-15
  • ͷ뻻Ӳȷ¼ άҲʹ 2019-04-15
  • [Ц]˵㲻̵ͻǫ 2019-04-15
  • 壬˴ơ 2019-04-11