Instant Messenger:gtalk/yahoo Messenger 如何填充联系人列表?
我们目前正在开发一个小型 IM 项目,它的工作原理与 gtalk 和 yahoo Messenger 非常相似。我们遇到了一个让我们困惑的问题,gtalk/ym 如何填充他们的联系人列表。假设用户有 500 个左右的联系人,两个 IM 似乎都能很快地加载联系人并且已经排序。这是我的问题(参考其中一个):
它是否缓存其联系人,例如在退出时将其保存在某个文件中,以便在登录时轻松提取联系人并将其显示在其联系人列表中?
登录时是否总是要求提供 VCARDS?
或者他们有 VCARD 推送或任何简单更新联系人个人资料的内容(例如他们的状态 [状态推送 - 有空、忙碌等...])?
We are currently working on a small IM project which pretty much works like gtalk and yahoo messenger. We came across a problem that puzzled us how gtalk/ym populate their contact lists. Given that the user has let's say more or less 500 contacts, both IMs seem to readily load the contacts pretty fast and already sorted. Here are my questions(referring to either):
Does it cache its contacts, like saving it in a file somewhere upon exit so that upon log-in it readily extracts the contacts and displays it in its contact list?
Does it always request for the VCARDS upon log in?
OR they have a VCARD push or whatever that simply updates the contacts' profiles (like that of their status [presence push - available, busy, etc...] )?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论