WO2014029276A1 - 通讯方法及装置 - Google Patents

通讯方法及装置 Download PDF

Info

Publication number
WO2014029276A1
WO2014029276A1 PCT/CN2013/081108 CN2013081108W WO2014029276A1 WO 2014029276 A1 WO2014029276 A1 WO 2014029276A1 CN 2013081108 W CN2013081108 W CN 2013081108W WO 2014029276 A1 WO2014029276 A1 WO 2014029276A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
message
group
communication
online
Prior art date
Application number
PCT/CN2013/081108
Other languages
English (en)
French (fr)
Inventor
谷建清
李文娟
许玲
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014029276A1 publication Critical patent/WO2014029276A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases

Definitions

  • the present invention relates to the field of communications, and in particular to a communication method and apparatus.
  • BACKGROUND OF THE INVENTION With the interconnection between computers, mobile terminals, and various other communication terminals, instant messaging (Instant)
  • IM Message
  • the system has become an indispensable way for people to communicate on the Internet. It provides a new way for people to communicate and exchange information.
  • the instant messaging system can not only deliver text messages, but also can be used to initiate video chats, make global calls, hold conference calls, conduct multimedia distance learning, etc., and its application is very extensive. With the increase in the number of users and the expanding demand for communication, the technology of group chat has also developed, which greatly facilitates the simultaneous communication of multiple users. In short, the instant messaging system has profoundly changed the way people live.
  • MSN Microsoft Service Network
  • AOL Messenger Google talk Tencent QQ
  • Facebook Facebook "Wangwang”
  • Netease Bubble Sina UC, WeChat, etc.
  • each application is incompatible with each other.
  • each application supports group chat with a single IM protocol, if you want to create a group for contacts in different applications for group chat, for example: A user wants to establish a group of college students, but his college classmates It is a user dispersed under different instant messaging systems.
  • the instant messaging system cannot support group chat with multiple IM protocols.
  • an effective solution has not been proposed yet.
  • the present invention provides a communication method and apparatus to solve at least the above problems, in view of the problem that the instant messaging system does not support group communication of multiple IM protocols.
  • a communication method includes: associating a plurality of accounts supporting different IM protocols; acquiring contacts corresponding to each of the plurality of accounts; and communicating with the contacts .
  • the method may further include: establishing a communication group; communicating with the contact person includes: synchronizing the acquired contact to the communication group, and communicating with the contact in the communication group.
  • the above communication group can be a temporary communication group or a persistent communication group.
  • the synchronization of the obtained contact to the communication group may include: querying the online status of the contact; determining the online contact; and synchronizing the online contact. Go to the above temporary communication group.
  • the communication with the contact may include: converting a message that satisfies the current protocol into a message that satisfies the protocol supported by the contact; and interacting with the contact according to the converted message; wherein the message carries the communication group Logo.
  • performing message interaction with the contact according to the converted message may include: determining whether the contact in the persistent communication group is online; if the contact is online, according to the conversion After the above message, the message is exchanged with the contact; if the contact is not online, the converted message is stored, and the online status of the contact is monitored; when the contact is monitored, the stored converted The above message is sent to the above contact.
  • the synchronization unit may include: a query subunit, configured to query an online status of the contact; a determining subunit, configured to determine the online contact; the synchronization subunit, Set to synchronize the above contacts online to the temporary distribution group above.
  • the communication module may include: a message conversion unit, configured to convert a message that satisfies the current protocol into a message that satisfies a protocol supported by the contact; the message interaction unit is configured to perform message interaction with the contact according to the converted message; The message carries the communication group identifier.
  • the message interaction unit may include: a determining subunit, configured to determine whether the contact in the persistent communication group is online; and a message interaction subunit, configured to be in the above determining If the judgment result of the unit is that the contact is online, the message is exchanged with the contact according to the converted message; and the message sending subunit is set to be that the determination result of the determining subunit is that the contact is not online. And storing the converted message, and monitoring the online status of the contact; and when the contact is monitored, sending the stored converted message to the contact.
  • FIG. 3 is a block diagram showing a specific structure of a communication device according to an embodiment of the present invention.
  • 4 is a flowchart of a group chat method based on a multi-IM protocol according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a group chat system of a multi-IM protocol according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an instant messaging server unit according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a gateway server unit according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a gateway server unit according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a communication method of a persistent communication group according to an embodiment of the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • an embodiment of the present invention provides a communication method and apparatus, which are specifically described below by using an embodiment.
  • the present embodiment provides a communication method.
  • FIG. 1 is a flowchart of a communication method according to an embodiment of the present invention.
  • this embodiment provides a preferred implementation manner, that is, one or more communication groups may be established, and the acquired contacts are added to the distribution group. Of course, the added contacts in the distribution group may also be deleted. Other operations.
  • the process of communicating with the contact may include: synchronizing the acquired contacts to the communication group to communicate with the contacts in the communication group.
  • the established communication group can be a temporary communication group or a persistent communication group, that is, it can be a temporary communication group, establish a temporary session, or establish a persistent communication group. Add the user's college classmates and other contacts to the persistent communication group, so you can always contact them later. If the established distribution group is a temporary communication group, because it is a temporary communication group, in general, the contacts synchronized to the temporary communication group need to ensure that they are online, which ensures that the temporary communication group can be communicated in time. .
  • this embodiment provides a preferred embodiment, that is, the contact to be obtained When synchronizing to the distribution group, synchronizing the obtained contacts to the above communication group may include: querying the online status of the contact; determining the above-mentioned contacts online; and synchronizing the online contacts to the temporary communication group.
  • synchronizing the obtained contacts to the above communication group may include: querying the online status of the contact; determining the above-mentioned contacts online; and synchronizing the online contacts to the temporary communication group.
  • the messages supported by the messages in the same account are the same, but the protocols supported by the messages in different accounts are different, so it will be supported.
  • the communication between the contacts and the contacts is required, and the message supporting the different protocols needs to be converted.
  • the embodiment provides a preferred implementation manner, that is, the communication with the contact includes: The message of the current protocol is converted into a message that satisfies the protocol supported by the contact; the message is exchanged with the contact according to the converted message; wherein the message carries the communication group identifier.
  • the distribution group identifier may be a group identity (GID), which is used to identify different communication groups, so that it is convenient to query the distribution group where the contact is located. If the established distribution group is a persistent communication group, you can synchronize the online contacts or synchronize the contacts that are not online. However, if the current contact needs to be communicated to the contacts in the persistent distribution group, the online contacts can be instant.
  • GID group identity
  • this embodiment provides a preferred implementation manner, that is, when the communication group is a persistent communication group, performing message interaction with the contact according to the converted message includes: determining a contact in the persistent communication group Whether it is online; if the contact is online, the message is exchanged with the above contact according to the converted message; if the contact is not online, the converted message is stored, and the online status of the contact is monitored; When the stored converted message is sent to the above contact.
  • the embodiment provides a communication device for implementing the above embodiment.
  • the module in the device can be implemented in a processor.
  • a processor includes an account association module 10 and a contact.
  • the module 20 and the communication module 30 are obtained.
  • These modules may be implemented by software, for example, a software including an account association module 10, a contact acquisition module 20, and a communication module 30, which may also be stored in a computer readable medium.
  • 2 is a structural block diagram of a communication device according to an embodiment of the present invention. As shown in FIG. 2, the device includes: an account association module 10, a contact acquisition module 20, and a communication module 30. The structure will be specifically described below.
  • the account association module 10 is configured to associate a plurality of accounts supporting different instant messaging IM protocols; the contact obtaining module 20 is connected to the account association module 10, and is configured to obtain contacts corresponding to each of the plurality of accounts;
  • the communication module 30 is connected to the contact obtaining module 20 and configured to communicate with the contact acquired by the contact obtaining module.
  • the account association module 10 associates a plurality of accounts supporting different IM protocols, and the contact obtaining module 20 obtains contacts corresponding to each of the plurality of accounts, and then the communication module 30 communicates with the contacts.
  • the embodiment provides a preferred embodiment, that is, the device further includes: a communication group establishing module, configured to establish a communication group; the communication module includes: a synchronization unit, configured to synchronize the acquired contacts to the communication In the group; the communication unit, set to communicate with the above contacts in the above communication group.
  • the established communication group can be a temporary communication group or a persistent communication group.
  • the above synchronization unit includes: a query subunit, setting In order to query the online status of the above contact; the determining subunit is set to determine the above contact in the online; the synchronizing subunit is arranged to synchronize the online contact to the temporary communication group.
  • 3 is a block diagram showing a specific structure of a communication device according to an embodiment of the present invention. The device includes the message conversion unit 32 and the message interaction unit 34 in addition to the modules in FIG. The structure will be specifically described below.
  • the message conversion unit 32 is configured to convert the message that satisfies the current protocol into a message that satisfies the protocol supported by the contact; the message interaction unit 34 is connected to the message conversion unit 32, and is configured to perform the message with the contact according to the converted message.
  • Message interaction wherein the message carries a distribution group identifier. If the established distribution group is a persistent communication group, you can synchronize the online contacts or synchronize the contacts that are not online. However, if the current contact needs to be communicated to the contacts in the persistent distribution group, the online contacts can be instant. To receive or send a message, for a contact that is not online, you can first cache the message that needs to be exchanged, and then send the message to the contact after the contact goes online.
  • the group chat system includes a client unit, an instant messaging server unit, and a gateway server associated with an account supporting multiple IM protocols. unit.
  • the functions of the three units of the above group chat system are respectively introduced below.
  • 6 is a schematic structural diagram of a client unit according to an embodiment of the present invention.
  • the client unit includes: an associated (binding) account module, a management group module, a module for managing a friend in a group, and a chat interface. Module.
  • the client unit has the functions equivalent to the functions of the account association module, the contact acquisition module, and the communication module in the foregoing embodiment, and is set to associate (or bind) multiple IM protocol accounts, and synchronize the friends to the contact list, and create a new group.
  • FIG. 8 is a schematic structural diagram of a gateway server unit according to an embodiment of the present invention. As shown in FIG.
  • Step S902 The mobile terminal or the PC is installed with a startup client, and the client supports the association (binding) of multiple IM protocol accounts, and can manage friends and Group settings, etc.
  • Step S904 Associate (bind) the account in the client, and synchronize the friend information obtained by the instant messaging server to the contact list, and view the friend name, avatar, email, phone, and the like.
  • Step S906 creating a temporary communication group, setting the name, avatar, authority and other information of the temporary communication group.
  • Step S908 adding an online friend to the temporary communication group, and supporting the search for a friend function.
  • the friends added in the temporary communication group should all be online friends.

Abstract

本发明公开了一种通讯方法及装置。其中,该方法包括:关联多个支持不同IM协议的账号;获取上述多个账号中每个账号对应的联系人;与上述联系人进行通讯。通过本发明,将多个支持不同IM协议的账号进行关联,获取上述多个账号中每个账号对应的联系人,然后与上述联系人进行通讯,解决了相关技术中即时通讯系统不支持多IM协议的群组通讯的问题,满足了用户扩大自己的信息交流、沟通范围的需求,扩大了适用范围。

Description

通讯方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种通讯方法及装置。 背景技术 随着计算机、 手机终端, 以及其他各种通讯终端之间的互联, 即时通讯 (Instant
Message, 简称为 IM) 系统已经成为人们在网络上进行沟通的必不可少的途径, 它为 人们的沟通、 信息交流提供了新的途径。 即时通讯系统不仅仅可以传递文字消息, 还 可以用来发起视频聊天、 拨打全球电话、 召开电话会议、 开展多媒体远程教学等, 其 应用非常广泛。 随着用户数量的增长以及用户交流沟通范围扩大的需求, 群组聊天的 技术也发展起来, 极大的便利了多个用户的同时沟通。 总之, 即时通讯系统已经深刻 地改变了人类的生活方式。 目前即时通讯的产品有很多, 主要有: 微软网络服务(Microsoft Service Network, 简称为 MSN)、 AOL Messenger Google talk、 腾讯 QQ、 阿里巴巴"旺旺"、 网易泡泡、 新浪 UC、 微信等应用, 它们都使用了不同的技术, 各个应用都是互不兼容的。 虽然 各个应用都支持单一 IM协议的群组聊天, 但如果想把不同应用下的联系人建立一个 群组进行群组聊天, 例如: 某用户想建立一个大学同学的群组, 但他的大学同学是分 散在不同的即时通讯系统下的用户, 要想建立这样的群组, 并要支持群组聊天, 目前 即时通讯系统还不能支持多 IM协议的群组聊天。 针对相关技术中即时通讯系统不支持多 IM协议的群组通讯的问题, 目前尚未提 出有效的解决方案。 发明内容 针对相关技术中即时通讯系统不支持多 IM协议的群组通讯的问题, 本发明实施 例提供了一种通讯方法及装置, 以至少解决上述问题。 根据本发明实施例的一个方面, 提供了一种通讯方法, 该方法包括: 关联多个支 持不同 IM协议的账号; 获取上述多个账号中每个账号对应的联系人; 与上述联系人 进行通讯。 上述方法还可以包括: 建立通讯组; 与上述联系人进行通讯包括: 将获取的上述 联系人同步到上述通讯组中, 与上述通讯组中的上述联系人进行通讯。 上述通讯组可以为临时通讯组或持久通讯组。 在上述通讯组为上述临时通讯组的情况下, 将获取的上述联系人同步到上述通讯 组中可以包括: 查询上述联系人的在线状态; 确定在线的上述联系人; 将在线的上述 联系人同步到上述临时通讯组中。 与上述联系人进行通讯可以包括: 将满足当前协议的消息转换为满足上述联系人 所支持协议的消息; 根据转换后的上述消息与上述联系人进行消息交互; 其中, 上述 消息中携带有通讯组标识。 在上述通讯组为上述持久通讯组的情况下, 根据转换后的上述消息与上述联系人 进行消息交互可以包括: 判断上述持久通讯组中的上述联系人是否在线; 如果上述联 系人在线, 根据转换后的上述消息与上述联系人进行消息交互; 如果上述联系人不在 线, 存储转换后的上述消息, 并监控上述联系人的在线状态; 在监控到上述联系人在 线时, 将存储的转换后的上述消息发送给上述联系人。 根据本发明实施例的另一方面, 提供了一种通讯装置, 该装置包括: 账号关联模 块, 设置为关联多个支持不同 IM协议的账号; 联系人获取模块, 设置为获取上述多 个账号中每个账号对应的联系人; 通讯模块, 设置为与上述联系人获取模块获取的上 述联系人进行通讯。 上述装置还可以包括: 通讯组建立模块, 设置为建立通讯组; 上述通讯模块包括: 同步单元, 设置为将获取的上述联系人同步到上述通讯组中; 通讯单元, 设置为与上 述通讯组中的上述联系人进行通讯。 上述通讯组可以为临时通讯组或持久通讯组。 在上述通讯组为上述临时通讯组的情况下, 上述同步单元可以包括: 查询子单元, 设置为查询上述联系人的在线状态; 确定子单元, 设置为确定在线的上述联系人; 同 步子单元, 设置为将在线的上述联系人同步到上述临时通讯组中。 上述通讯模块可以包括: 消息转换单元, 设置为将满足当前协议的消息转换为满 足上述联系人所支持协议的消息; 消息交互单元, 设置为根据转换后的上述消息与上 述联系人进行消息交互; 其中, 上述消息中携带有通讯组标识。 在上述通讯组为上述持久通讯组的情况下, 上述消息交互单元可以包括: 判断子 单元, 设置为判断上述持久通讯组中的上述联系人是否在线; 消息交互子单元, 设置 为在上述判断子单元的判断结果为上述联系人在线的情况下, 根据转换后的上述消息 与上述联系人进行消息交互; 消息发送子单元, 设置为在上述判断子单元的判断结果 为上述联系人不在线的情况下, 存储转换后的上述消息, 并监控上述联系人的在线状 态; 在监控到上述联系人在线时, 将存储的转换后的上述消息发送给上述联系人。 通过本发明实施例, 将多个支持不同 IM协议的账号进行关联, 获取上述多个账 号中每个账号对应的联系人, 然后与上述联系人进行通讯, 解决了相关技术中即时通 讯系统不支持多 IM协议的群组通讯的问题, 满足了用户扩大自己的信息交流、 沟通 范围的需求, 扩大了适用范围。 附图说明 此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在 附图中- 图 1是根据本发明实施例的通讯方法的流程图; 图 2是根据本发明实施例的通讯装置的结构框图; 图 3是根据本发明实施例的通讯装置的具体结构框图; 图 4是根据本发明实施例的基于多 IM协议的群组聊天方法的流程图; 图 5是根据本发明实施例的多 IM协议的群组聊天系统的结构示意图; 图 6是根据本发明实施例的客户端单元的结构示意图; 图 7是根据本发明实施例的即时通讯服务器单元的结构示意图; 图 8是根据本发明实施例的网关服务器单元的结构示意图; 图 9是根据本发明实施例的临时通讯组的通讯方法的流程图; 图 10是根据本发明实施例的持久通讯组的通讯方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在相关技术中, 随着用户的增长和用户信息交流、 沟通范围扩大的需求, 基于多 IM协议的群组聊天的需求越来越凸显。基于此, 本发明实施例提供了一种通讯方法及 装置, 下面通过实施例进行具体介绍。 本实施例提供了一种通讯方法, 图 1是根据本发明实施例的通讯方法的流程图, 如图 1所示, 该方法包括以下步骤 (步骤 S 102-步骤 S106): 步骤 S102, 关联多个支持不同 IM协议的账号; 步骤 S104, 获取上述多个账号中每个账号对应的联系人; 步骤 S106, 与上述联系人进行通讯。 通过上述实施例, 将多个支持不同 IM协议的账号进行关联, 获取上述多个账号 中每个账号对应的联系人, 然后与上述联系人进行通讯, 解决了相关技术中即时通讯 系统不支持多 IM协议的群组通讯的问题, 满足了用户扩大自己的信息交流、 沟通范 围的需求, 扩大了适用范围。 将多个支持不同 IM协议的账号进行关联之后, 获取每个账号对应的联系人, 再 与上述联系人进行通讯, 为了更方便的实现上述流程, 可以新建通讯组并设置相应的 群组信息, 因此, 本实施例提供了一种优选实施方式, 即可以建立一个或多个通讯组, 将获取的联系人添加到通讯组中, 当然, 也可以对通讯组中已添加的联系人进行删除 等其它操作。 基于上述优选实施方式, 与上述联系人进行通讯的过程可以包括: 将获 取的上述联系人同步到上述通讯组中, 与上述通讯组中的上述联系人进行通讯。 为了增强用户体验, 提高用户的感受度, 扩大适用范围, 建立的通讯组可以是临 时通讯组或者持久通讯组, 即可以是临时搭建通讯组, 建立一个临时会话, 也可以建 立一个持久通讯组, 将用户的大学同学等联系人添加到持久通讯组中, 方便以后可以 随时联系。 如果建立的通讯组为临时通讯组, 因为是临时组建的通讯组, 因此一般情况下, 同步到临时通讯组的联系人都需要确保是在线状态, 这样可以保证建立临时通讯组后 可以及时进行通讯。 因此, 本实施例提供了一种优选实施方式, 即在将获取的联系人 同步到通讯组时, 将获取的上述联系人同步到上述通讯组中可以包括: 查询联系人的 在线状态; 确定在线的上述联系人; 将在线的上述联系人同步到上述临时通讯组中。 对于支持不同 IM协议的账号, 同一个账户中的联系人之间在进行消息交互时, 该消息所支持的协议是相同的, 但是不同账户中的消息所支持的协议不同, 因此, 在 将支持不同 IM协议的账号进行关联之后, 与联系人进行通讯时, 需要将支持不同协 议的消息进行转换, 基于此, 本实施例提供了一种优选实施方式, 即与联系人进行通 讯包括: 将满足当前协议的消息转换为满足上述联系人所支持协议的消息; 根据转换 后的上述消息与上述联系人进行消息交互; 其中, 该消息中携带有通讯组标识。 该通 讯组标识可以是群体身份 (Group Identification, 简称为 GID), 用来标识不同的通讯 组, 这样方便查询该联系人所在的通讯组。 如果建立的通讯组为持久通讯组, 可以同步在线的联系人, 也可以同步不在线的 联系人, 但是, 如果当前需要对该持久通讯组中的联系人进行消息交互时, 在线联系 人可以即时接收或发送消息, 对于不在线的联系人, 可以先对需要交互的消息进行缓 存, 在该联系人上线后, 再将消息发送给该联系人。 基于上述处理方式, 本实施例提供了一种优选实施方式, 即在通讯组为持久通讯 组的情况下, 根据转换后的消息与上述联系人进行消息交互包括: 判断持久通讯组中 的联系人是否在线; 如果联系人在线,根据转换后的消息与上述联系人进行消息交互; 如果联系人不在线, 存储转换后的上述消息, 并监控上述联系人的在线状态; 在监控 到上述联系人在线时, 将存储的转换后的上述消息发送给上述联系人。 对应于上述通讯方法, 本实施例提供了一种通讯装置, 用以实现上述实施例, 该 装置中的模块可以在处理器中实现, 例如, 一种处理器包括检账号关联模块 10、 联系 人获取模块 20和通讯模块 30。 这些模块可以通过软件来实现, 例如, 一种软件包括 账号关联模块 10、 联系人获取模块 20和通讯模块 30, 该软件还可以存储在计算机可 读介质中。 图 2是根据本发明实施例的通讯装置的结构框图, 如图 2所示, 该装置包 括: 账号关联模块 10、 联系人获取模块 20和通讯模块 30。 下面对该结构进行具体描 述。 账号关联模块 10, 设置为关联多个支持不同即时通讯 IM协议的账号; 联系人获取模块 20,连接至账号关联模块 10, 设置为获取上述多个账号中每个账 号对应的联系人; 通讯模块 30,连接至联系人获取模块 20, 设置为与上述联系人获取模块获取的上 述联系人进行通讯。 通过上述实施例, 账号关联模块 10将多个支持不同 IM协议的账号进行关联, 联 系人获取模块 20获取上述多个账号中每个账号对应的联系人, 然后通讯模块 30与上 述联系人进行通讯, 解决了相关技术中即时通讯系统不支持多 IM协议的群组通讯的 问题, 满足了用户扩大自己的信息交流、 沟通范围的需求, 扩大了适用范围。 将多个支持不同 IM协议的账号进行关联之后, 获取每个账号对应的联系人, 再 与上述联系人进行通讯, 为了更方便的实现上述流程, 可以新建通讯组并设置相应的 群组信息, 因此, 本实施例提供了一种优选实施方式, 即上述装置还包括: 通讯组建 立模块, 设置为建立通讯组; 上述通讯模块包括: 同步单元, 设置为将获取的上述联 系人同步到上述通讯组中; 通讯单元, 设置为与上述通讯组中的上述联系人进行通讯。 为了增强用户体验, 提高用户的感受度, 扩大适用范围, 建立的通讯组可以是临 时通讯组或者持久通讯组, 在通讯组为临时通讯组的情况下, 上述同步单元包括: 查 询子单元, 设置为查询上述联系人的在线状态; 确定子单元, 设置为确定在线的上述 联系人; 同步子单元, 设置为将在线的上述联系人同步到上述临时通讯组中。 图 3是根据本发明实施例的通讯装置的具体结构框图, 该装置除了包括上述图 2 中的各个模块之外, 上述通讯模块 30包括: 消息转换单元 32和消息交互单元 34。 下 面对该结构进行具体描述。 消息转换单元 32, 设置为将满足当前协议的消息转换为满足上述联系人所支持协 议的消息; 消息交互单元 34,连接至消息转换单元 32, 设置为根据转换后的上述消息与上述 联系人进行消息交互; 其中, 上述消息中携带有通讯组标识。 如果建立的通讯组为持久通讯组, 可以同步在线的联系人, 也可以同步不在线的 联系人, 但是, 如果当前需要对该持久通讯组中的联系人进行消息交互时, 在线联系 人可以即时接收或发送消息, 对于不在线的联系人, 可以先对需要交互的消息进行缓 存, 在该联系人上线后, 再将消息发送给该联系人。 基于上述处理方式, 本实施例提供了一种优选实施方式, 即在上述通讯组为上述 持久通讯组的情况下, 上述消息交互单元包括: 判断子单元, 设置为判断上述持久通 讯组中的上述联系人是否在线; 消息交互子单元, 设置为在上述判断子单元的判断结 果为上述联系人在线的情况下, 根据转换后的上述消息与上述联系人进行消息交互; 消息发送子单元,设置为在上述判断子单元的判断结果为上述联系人不在线的情况下, 存储转换后的上述消息, 并监控上述联系人的在线状态; 在监控到上述联系人在线时, 将存储的转换后的上述消息发送给上述联系人。 图 4是根据本发明实施例的基于多 IM协议的群组聊天方法的流程图, 如图 4所 该方法包括以下步骤 (步骤 S402-步骤 S410): 步骤 S402, 在客户端上关联 (或绑定) 多账号用户。 步骤 S404, 同步好友到联系人列表中。 步骤 S406, 新建群组, 并设置群组信息。 步骤 S408, 添加好友到某一群组。 步骤 S410, 群组内发送或接收聊天消息。 图 5是根据本发明实施例的多 IM协议的群组聊天系统的结构示意图, 如图 5所 该群组聊天系统包括支持多 IM协议的账号关联的客户端单元、 即时通讯服务器 单元和网关服务器单元。 下面分别对上述群组聊天系统的三个单元的功能进行介绍。 图 6是根据本发明实施例的客户端单元的结构示意图, 如图 6所示, 客户端单元 包括: 关联 (绑定) 账号模块、 管理群组模块、 管理群组中好友的模块、 聊天界面模 块。 客户端单元, 其功能与上述实施例中账号关联模块、 联系人获取模块和通讯模块 的功能相当, 设置为关联 (或绑定) 多 IM协议账号, 并同步好友到联系人列表中, 新建群组并设置群组信息, 添加删除好友并管理群组中好友列表, 向群组内好友发送 群组聊天消息, 聊天的消息体中带有群组标识, 接收群组聊天内容。 图 7是根据本发明实施例的即时通讯服务器单元的结构示意图, 如图 7所示, 即 时通讯服务器单元包括: 关联 (绑定) 账号模块、 获取好友模块、 群组相关信息 (群 组信息、 群组好友列表及群聊天内容保存等) 管理模块、 发送接收消息模块。 即时通 讯服务器单元, 设置为与客户端建立连接, 主要是负责客户端单元的登录鉴权, 关联 (或绑定) 多 IM协议账号时的登录, 获取关联账号的好友信息并发送给客户端, 同 时管理群组和相应群组的联系人, 为每个群建立一个 GID作为群组标识, 接收客户端 发送的群组消息, 根据群组标识向该群组中的好友发送群组消息, 如果群组中的好友 有离线状态的, 则同时保存聊天内容, 待好友上线时将聊天内容在发送给好友。 接收 网关服务器转发的消息, 根据是否有 GID来判断是否是群组消息, 并发给客户端显示 在聊天界面上。 图 8是根据本发明实施例的网关服务器单元的结构示意图, 如图 8所示, 网关服 务器单元包括: 接收模块、 协议转换模块、 发送模块。 网关服务器单元, 设置为连接 即时通讯服务器和外部消息系统的通信, 把协议翻译成外部消息协议, 主要是接收即 时通讯服务器的消息, 并根据群组好友所支持的协议类型, 将群组消息内容转换成外 部消息协议类型并发送, 同时将外部消息协议转换成自身协议并转发给即时通讯服务 器。 基于上述实施例介绍的群组聊天系统, 本实施例对基于多 IM协议的临时通讯组 的通讯方法进行介绍, 图 9是根据本发明实施例的临时通讯组的通讯方法的流程图, 如图 9所示, 该方法包括以下步骤 (步骤 S902-步骤 S916): 步骤 S902, 移动终端或是 PC上安装启动客户端, 该客户端支持关联 (绑定) 多 IM协议的账号, 能够管理好友及群组设置等。 步骤 S904, 在客户端中关联(绑定)账号, 同时将即时通讯服务器获取的好友信 息同步至联系人列表中, 可以查看好友名称、 头像、 邮箱、 电话等信息。 步骤 S906, 新建一个临时通讯组, 设置临时通讯组的名称, 头像、 权限等信息。 步骤 S908, 向临时通讯组中添加在线好友, 支持搜索好友功能。 临时通讯组中添 加的好友应该都是在线好友, 比如说召开临时紧急会议, 需要及时通知到每一位好友。 步骤 S910, 在客户端群组聊天界面中发起聊天会话, 在群组聊天会话中输入框中 编写聊天内容并发送, 客户端将发送的消息带上群组标识, 发送给即时通讯服务器。 步骤 S912, 即时通讯服务器收到客户端的消息, 解析消息体获取群组标识 GID, 并根据群组标识 GID查询到该群组的好友信息, 将群组聊天信息发送给群组中的每一 位好友。 步骤 S914, 网关服务器收到即时通讯服务器的消息, 根据好友所支持的协议, 将 目前的协议转换成外部消息相应协议, 并向外部消息服务器发送聊天内容。 步骤 S916, 外部消息服务器将收到的聊天内容转发给相应的联系人, 群组内的好 友能收到来自该群的聊天消息。 基于上述实施例介绍的群组聊天系统, 本实施例对基于多 IM协议的持久通讯组 的通讯方法进行介绍, 图 10是根据本发明实施例的持久通讯组的通讯方法的流程图, 如图 10所示, 该方法包括以下步骤 (步骤 S1002-步骤 S1022): 步骤 S1002, 移动终端或是 PC上安装启动客户端, 该客户端支持关联(绑定)多 IM协议的账号, 能够管理好友及群组设置等。 步骤 S1004, 在客户端中关联 (绑定) 账号, 同时将即时通讯服务器获取的好友 信息同步至联系人列表中, 可以查看好友名称、 头像、 邮箱、 电话等信息。 步骤 S1006, 新建一持久通讯组, 设置持久通讯组的名称, 头像、 权限等信息。 步骤 S1008, 向持久通讯组中添加删除好友, 允许管理该群组中的好友, 支持搜 索好友功能。 步骤 S1010, 在客户端群组聊天界面中发起聊天会话, 在群组聊天会话中输入框 中编写聊天内容并发送, 客户端将发送的消息带上群组标识, 发送给即时通讯服务器。 步骤 S1012, 即时通讯服务器收到客户端的消息, 解析消息体获取群组标识 GID, 并根据群组标识 GID查询到该群组的好友信息,并判断好友信息是否在线,如果在线, 则执行步骤 S1014, 如果不在线, 则执行步骤 S1016。 步骤 S1014, 如果好友在线, 则即时通讯服务器直接将聊天消息内容发送给在线 好友, 然后执行步骤 S1020。 步骤 S1016, 如果好友不在线, 则即时通讯服务器需要在服务器端保存聊天内容。 步骤 S1018, 待好友在线时, 即时通讯服务器会将保存在服务器端的聊天内容发 送给好友。 步骤 S1020, 网关服务器收到即时通讯服务器的消息, 根据好友所支持的协议, 将目前的协议转换成外部消息相应协议, 并向外部消息服务器发送聊天内容。 步骤 S1022, 外部消息服务器将收到的聊天内容转发给相应的联系人, 群组内的 好友能收到来自该群的聊天消息。 从以上的描述中可以看出, 本发明实施例能够支持多 IM协议之间的用户的群组 聊天, 满足用户扩大自己的信息交流、 沟通范围的需求, 扩大的适用范围, 提升了用 户体验。 显然, 本领域的技术人员应该明白, 上述的本发明实施例的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算 装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于 此处的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或 者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制 于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种通讯方法, 包括:
关联多个支持不同即时通讯 IM协议的账号;
获取所述多个账号中每个账号对应的联系人;
与所述联系人进行通讯。
2. 根据权利要求 1所述的方法, 其中, 所述方法还包括:
建立通讯组;
与所述联系人进行通讯包括: 将获取的所述联系人同步到所述通讯组中, 与所述通讯组中的所述联系人进行通讯。
3. 根据权利要求 2所述的方法, 其中, 所述通讯组为临时通讯组或持久通讯组。
4. 根据权利要求 3所述的方法,其中,在所述通讯组为所述临时通讯组的情况下, 将获取的所述联系人同步到所述通讯组中包括:
查询所述联系人的在线状态;
确定在线的所述联系人;
将在线的所述联系人同步到所述临时通讯组中。
5. 根据权利要求 3所述的方法, 其中, 与所述联系人进行通讯包括:
将满足当前协议的消息转换为满足所述联系人所支持协议的消息; 根据转换后的所述消息与所述联系人进行消息交互; 其中, 所述消息中携 带有通讯组标识。
6. 根据权利要求 5所述的方法,其中,在所述通讯组为所述持久通讯组的情况下, 根据转换后的所述消息与所述联系人进行消息交互包括:
判断所述持久通讯组中的所述联系人是否在线;
如果所述联系人在线,根据转换后的所述消息与所述联系人进行消息交互; 如果所述联系人不在线, 存储转换后的所述消息, 并监控所述联系人的在 线状态; 在监控到所述联系人在线时, 将存储的转换后的所述消息发送给所述 联系人。
7. 一种通讯装置, 包括:
账号关联模块, 设置为关联多个支持不同即时通讯 IM协议的账号; 联系人获取模块, 设置为获取所述多个账号中每个账号对应的联系人; 通讯模块, 设置为与所述联系人获取模块获取的所述联系人进行通讯。
8. 根据权利要求 7所述的装置, 其中, 所述装置还包括:
通讯组建立模块, 设置为建立通讯组;
所述通讯模块包括:
同步单元, 设置为将获取的所述联系人同步到所述通讯组中; 通讯单元, 设置为与所述通讯组中的所述联系人进行通讯。
9. 根据权利要求 8所述的装置, 其中, 所述通讯组为临时通讯组或持久通讯组。
10. 根据权利要求 9所述的装置,其中,在所述通讯组为所述临时通讯组的情况下, 所述同步单元包括:
查询子单元, 设置为查询所述联系人的在线状态;
确定子单元, 设置为确定在线的所述联系人;
同步子单元, 设置为将在线的所述联系人同步到所述临时通讯组中。
11. 根据权利要求 9所述的装置, 其中, 所述通讯模块包括:
消息转换单元, 设置为将满足当前协议的消息转换为满足所述联系人所支 持协议的消息;
消息交互单元,设置为根据转换后的所述消息与所述联系人进行消息交互; 其中, 所述消息中携带有通讯组标识。
12. 根据权利要求 11所述的装置,其中,在所述通讯组为所述持久通讯组的情况下, 所述消息交互单元包括:
判断子单元, 设置为判断所述持久通讯组中的所述联系人是否在线; 消息交互子单元, 设置为在所述判断子单元的判断结果为所述联系人在线 的情况下, 根据转换后的所述消息与所述联系人进行消息交互;
消息发送子单元, 设置为在所述判断子单元的判断结果为所述联系人不在 线的情况下, 存储转换后的所述消息, 并监控所述联系人的在线状态; 在监控 到所述联系人在线时, 将存储的转换后的所述消息发送给所述联系人。
PCT/CN2013/081108 2012-08-22 2013-08-08 通讯方法及装置 WO2014029276A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210301104.7A CN103634195A (zh) 2012-08-22 2012-08-22 通讯方法及装置
CN201210301104.7 2012-08-22

Publications (1)

Publication Number Publication Date
WO2014029276A1 true WO2014029276A1 (zh) 2014-02-27

Family

ID=50149418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081108 WO2014029276A1 (zh) 2012-08-22 2013-08-08 通讯方法及装置

Country Status (2)

Country Link
CN (1) CN103634195A (zh)
WO (1) WO2014029276A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118690A (zh) * 2022-06-15 2022-09-27 国网信息通信产业集团有限公司 一种基于移动门户app的即时通讯交互方法及系统

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577505A (zh) * 2014-10-14 2016-05-11 北京信威通信技术股份有限公司 跨平台即时通信系统及其消息互通方法
CN105991402A (zh) * 2015-02-05 2016-10-05 阿里巴巴集团控股有限公司 多账号登录、通讯方法、装置和移动终端
CN106470145B (zh) 2015-08-14 2020-12-22 腾讯科技(深圳)有限公司 即时通信的方法和装置
CN105610679B (zh) * 2015-09-22 2019-10-29 小米科技有限责任公司 群组创建方法及装置
CN106899485B (zh) * 2015-12-21 2020-10-30 阿里巴巴集团控股有限公司 业务通知方法和装置
CN106373017B (zh) * 2016-10-10 2019-09-24 Oppo广东移动通信有限公司 一种应用消息处理方法、装置及移动终端
CN108111401B (zh) * 2017-12-28 2021-09-10 北信源系统集成有限公司 一种跨即时通信系统的建群方法
CN108199952A (zh) * 2018-01-08 2018-06-22 赵宇航 一种基于社交软件的信息发送方法及装置
CN108111405B (zh) * 2018-01-15 2022-01-25 深圳市工务园网络科技有限公司 一种基于互联网社交软件的多用户信息交互方法及装置
CN108600078A (zh) * 2018-03-08 2018-09-28 维沃移动通信有限公司 一种通信的方法及终端
CN111130986B (zh) * 2018-11-01 2022-04-05 腾讯科技(深圳)有限公司 消息发送方法、装置、设备及存储介质
CN109660448A (zh) * 2018-11-28 2019-04-19 金蝶蝶金云计算有限公司 消息的处理方法、装置、计算机设备和存储介质
CN110417845B (zh) * 2018-11-30 2021-08-03 腾讯科技(深圳)有限公司 一种数据同步方法、装置和存储介质
CN113747247B (zh) * 2020-05-27 2023-10-27 腾讯科技(深圳)有限公司 直播方法、装置、计算机设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340397A (zh) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 一种终端和即时通讯中的消息转发方法及系统
CN101719880A (zh) * 2009-11-13 2010-06-02 东南大学 一种多协议多帐号即时消息的融合系统及其工作方法
CN102368750A (zh) * 2011-09-30 2012-03-07 上海量明科技发展有限公司 一种多账号登录的界面显示方法及系统
CN102368766A (zh) * 2011-10-02 2012-03-07 上海量明科技发展有限公司 一种登录即时通信工具的方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20021259A0 (fi) * 2002-06-27 2002-06-27 Nokia Corp Mekanismi viestintäryhmän muodostamiseksi
CN101257460B (zh) * 2007-02-27 2010-09-15 中国移动通信集团公司 即时消息临时群组会话系统及创建和即时消息发送的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340397A (zh) * 2008-08-11 2009-01-07 中兴通讯股份有限公司 一种终端和即时通讯中的消息转发方法及系统
CN101719880A (zh) * 2009-11-13 2010-06-02 东南大学 一种多协议多帐号即时消息的融合系统及其工作方法
CN102368750A (zh) * 2011-09-30 2012-03-07 上海量明科技发展有限公司 一种多账号登录的界面显示方法及系统
CN102368766A (zh) * 2011-10-02 2012-03-07 上海量明科技发展有限公司 一种登录即时通信工具的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118690A (zh) * 2022-06-15 2022-09-27 国网信息通信产业集团有限公司 一种基于移动门户app的即时通讯交互方法及系统

Also Published As

Publication number Publication date
CN103634195A (zh) 2014-03-12

Similar Documents

Publication Publication Date Title
WO2014029276A1 (zh) 通讯方法及装置
AU2011353561B2 (en) Message push notification client improvements for multi-user devices
JP7050354B2 (ja) 非同期メッセージシステムにおける単一アカウントに対する複数プロファイルを管理する方法、システムおよびコンピュータ読み取り可能媒体
JP5891559B2 (ja) インスタントメッセージングの方法、端末、サーバ及びシステム
US7853703B1 (en) Methods and apparatuses for identification of device presence
WO2015139179A1 (zh) 一种终端间同步内容的方法和终端
US9119020B2 (en) Method and apparatus for discovering wireless devices
WO2007016836A1 (fr) Procédé de recherche et serveur d’interconnexion entre systèmes de messagerie instantanée
US20140012813A1 (en) Method and apparatus for synchronizing personal information
WO2013063886A1 (zh) 一种网关、跨社区群组信息处理系统及方法
CN103476027A (zh) 一种移动终端的文件传输方法
WO2008134972A1 (fr) Procédé, système et serveur pour réaliser la synchronisation d'information de liste
EP2974159B1 (en) Method, device and system for voice communication
WO2009009967A1 (fr) Système, composant et procédé de messagerie instantanée pour des services supplémentaires
US10567183B2 (en) System and method for conference messaging between telephony devices in a first network and devices connected to a second network
KR101545663B1 (ko) 다중-사용자 관계 체인을 변경하는 기기, 시스템 및 방법
WO2012155652A1 (zh) 跨社交网络的通信方法、网元及系统
WO2015188582A1 (zh) 一种通讯录更新方法、终端、服务器和计算机存储介质
WO2012163224A1 (zh) 一种实现即时通讯与网络会议模式切换的方法及系统
JP5975998B2 (ja) ユニバーサルプラグアンドプレイ可能なテレフォニーデバイスと広域ネットワーク(wan)デバイスとの間のコンファレンスメッセージングシステム及び方法
CN110086706B (zh) 用于加入特定于设备的消息群组的方法和系统
CN102244843A (zh) 客户端设定来电视铃以及分享视频的方法
TW201446065A (zh) 通訊系統及其行動裝置
JP5986009B2 (ja) 問い合わせシステム及び問い合わせ方法
CN103634279A (zh) 一种便利从sip用户建立到xmpp用户的通信连接的方法和设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13830977

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13830977

Country of ref document: EP

Kind code of ref document: A1