WO2012159493A1 - 一种用于实现用户信息共享的即时通讯系统及方法 - Google Patents

一种用于实现用户信息共享的即时通讯系统及方法 Download PDF

Info

Publication number
WO2012159493A1
WO2012159493A1 PCT/CN2012/072990 CN2012072990W WO2012159493A1 WO 2012159493 A1 WO2012159493 A1 WO 2012159493A1 CN 2012072990 W CN2012072990 W CN 2012072990W WO 2012159493 A1 WO2012159493 A1 WO 2012159493A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
query
user information
task
global
Prior art date
Application number
PCT/CN2012/072990
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 WO2012159493A1 publication Critical patent/WO2012159493A1/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]

Definitions

  • the present invention relates to information processing technologies, and more particularly to an instant messaging system and method for implementing user information sharing.
  • instant messaging tools such as MSN, QQ, Netease bubble has been well received by everyone, it provides a new way for people to communicate, information exchange, is in addition to mobile phones, fixed-line, e-mail Another important way to exchange information; with these tools, users can realize single or multi-person video, can hold network video conferences, can conduct network distance education, and can greatly reduce the communication cost between people. And improve efficiency.
  • the present invention provides an instant messaging system and method for implementing user information sharing to solve the above problems.
  • the invention provides an instant messaging system for realizing user information sharing, comprising a plurality of clients and at least one communication server.
  • the client connects to the communication server.
  • the instant messaging system for implementing user information sharing also includes at least one global server and a query server.
  • the client is connected to the query server and the global server through the communication server, and the communication server is connected to the global server through the query server.
  • the client transmits and stores the user information to the global service through the communication server.
  • Server, the global server synchronizes user information to the query server.
  • the global server allocates a query task that exceeds the threshold according to the task processing priority of the query server and the task receiving policy.
  • the number of query servers is at least two.
  • the invention also provides an instant messaging method for realizing user information sharing.
  • the above method includes the following steps: a user logs in to the client, the client transmits and stores the user information to the global server, and the global server synchronizes the user information to the query server; the query server receives the query task from the client group through the communication server; When the number of query tasks received by the client exceeds the threshold, the global server allocates a query task that exceeds the threshold according to the task processing priority of the query server and the task receiving policy.
  • the number of query servers is at least two.
  • the client performs user information query through the corresponding query server, and the global server allocates the query task exceeding the threshold of the query server, so , can improve the efficiency of the query server and the global server, and improve the efficiency of querying user information.
  • it also effectively improves the throughput of the instant messaging system, and improves communication efficiency, making communication more immediate and smooth.
  • FIG. 1 is a schematic diagram of a instant communication system for implementing user information sharing according to a preferred embodiment of the present invention
  • FIG. 2 is a schematic diagram of a global server according to a preferred embodiment of the present invention
  • FIG. 3 is a flow chart showing an instant messaging method for implementing user information sharing according to a preferred embodiment of the present invention.
  • the instant messaging system for implementing user information sharing includes a plurality of clients, at least one communication server, at least one global server, and at least two query servers.
  • the instant messaging system for implementing user information sharing includes a plurality of clients, at least one communication server, at least one global server, and at least two query servers.
  • FIG. 1 six clients A10, Al l , A20, A21, A30, A31, global server 10, three communication servers B1 to B3, and three query servers C1 to C3 are taken as an example for description.
  • the present invention does not limit the number of clients, global servers, communication servers, and query servers.
  • FIG. 1 is a schematic diagram of a instant communication system for implementing user information sharing in accordance with a preferred embodiment of the present invention.
  • the instant messaging system for implementing user information sharing provided by the preferred embodiment of the present invention includes a plurality of clients, at least one communication server, at least one global server, and at least two query servers.
  • the clients A10 ⁇ A11 are connected to the communication server B1
  • the clients A20 ⁇ A21 are connected to the communication server B2
  • the clients A30 ⁇ A31 are connected to the communication server B3.
  • the present invention is not limited to each communication. The number of clients connected to the server.
  • the client A10 ⁇ A11 is connected to the query server C1 and the global server 10 through the communication server B1
  • the client A20 ⁇ A21 is connected to the query server C2 and the global server 10 through the communication server B2.
  • the client A30 ⁇ A31 is connected to the query server C3 and the global server 10 through the communication server B3.
  • the communication server B1 is connected to the global server 10 through the query server C1
  • the communication server B2 is connected to the global server 10 through the query server C2
  • the communication server B3 is connected to the global server 10 through the query server C3.
  • the client in Shanghai is connected to the query server in Shanghai through the communication server in Shanghai.
  • the client in Suzhou is connected to the query server in Suzhou through the communication server in Suzhou.
  • the client in Beijing passes the communication server in Beijing and the query server in Beijing.
  • the number of query servers is the same as the number of communication servers.
  • the invention is not limited thereto. In other embodiments, the number of communication servers can be one, and the communication server can be connected to multiple query servers.
  • the clients A10 ⁇ A11, A20-A21, and A30 ⁇ A31 respectively transmit and store the user information to the global server 10 through the communication servers B1 ⁇ B3, and the global server 10 synchronizes the user information to the query server C1 ⁇ C3.
  • the user information is not limited to the user login information, and may also include user modification information, user update information, and the like.
  • clients in different regions pass through
  • the server is connected to different query servers to share the global server.
  • the corresponding query server can serve the client of the corresponding area, and execute the query task sent by the client (for example, querying the user information).
  • the query server in Shanghai can provide user information query service for Shanghai users
  • the query server in Suzhou can provide user information query service for Suzhou users.
  • the distributed query server is responsible for the query tasks of clients in different regions, which improves the query efficiency and makes the communication more immediate and smooth.
  • the global server allocates the query tasks exceeding the threshold according to the task processing priority of the query server and the task receiving policy.
  • the threshold value can be set, for example, according to the working efficiency of different query servers.
  • the global server sets the task processing priority of the query server based on the idle rate of the query server.
  • the global server may preset a comparison table of the idle rate and the task processing priority level.
  • the relationship between the idle rate and the task processing priority level is as follows:
  • the query server with an idle rate of 80% to 100% corresponds to the fourth level, and the idle rate is 60% to 80.
  • the query server of % corresponds to the third level
  • the query server with the idle rate of 40% to 60% corresponds to the second level
  • the query server with the idle rate of 0% to 40% corresponds to the first level.
  • the query server having a higher idle rate has a higher priority level.
  • the invention is not limited thereto.
  • the level of the above task processing priority and its correspondence with the idle rate can be set according to actual needs.
  • the three query servers C1 to C3 and the task processing priority level are set to level 4 as an example for specific description.
  • the clients A10 ⁇ A11, A20-A21, and A30 ⁇ A31 send query tasks to the corresponding query servers C1 ⁇ C3 through the communication servers B1 ⁇ B3 respectively, and the global server 10 monitors the work of the query servers C1 ⁇ C3 in real time. status.
  • the global server 10 updates the arrangement of the task processing priorities according to the idle rates of the query servers C2 and C3.
  • the global server 10 can set the query server C2 to the fourth level according to the idle rate and the task processing priority level comparison table, and query the server.
  • C3 is the third level, that is, the query server C2
  • the priority level is higher than the query server C3.
  • the task processing priority of the query server can be updated in real time.
  • the global server 10 will first assign the query task that the query server C1 exceeds its threshold to the query server C2 (ie, the query server of level 4).
  • the query server C2 receives a corresponding number of query tasks according to the task receiving policy.
  • the task receiving policy is a difference between the threshold of the query server and the current task amount.
  • the query server C2 receives the query task assigned by the global server 10, and the total number of query tasks processed by the query server C2 does not exceed the threshold set by the query server C2, the query server C2 is responsible for executing all the query tasks exceeding the threshold of the query server C1. If the total number of query tasks processed by the query server C2 exceeds the threshold set by the query server C2, the global server 10 redistributes the query task exceeding the query server C2 threshold to the query server C3 (i.e., the third level query server).
  • the present invention is not limited to this.
  • the query server C2 may re-allocate the query task exceeding the threshold of the query server C2 to the query server C3 (ie, level 3) Query the server).
  • the query server C3 ie, level 3 Query the server.
  • the next level of the query server in the priority sequence can be called by the global server 10 or the query server C3.
  • the global server allocates the query task according to the combination of the idle rate and the priority, and fully utilizes the query server, thereby avoiding waste of resources and improving information query efficiency.
  • the global server 10 includes a monitoring module 100, a control module 101, a storage module 102, and a transmission module 103.
  • the control module 101 is connected to the monitoring module 100, and the storage module 102 is connected to the transmission module 103.
  • the control module 101 updates the task processing priority according to the idle rate of the query servers C1 C C3, and allocates a query task exceeding the threshold according to the task processing priority and the task receiving policy.
  • the monitoring module 100 monitors the number of query tasks received by the query servers C1 C C3.
  • the storage module 102 stores user information.
  • the transmission module 103 is configured to synchronously transmit the received user information to the query server.
  • the user logs in to the client, and the client transmits and stores the user information to the storage module 102 of the global server 10.
  • the transmission module 103 of the global server 10 synchronizes the user information to the query servers C1 C C3.
  • the query servers C1 C C3 receive the query tasks from the client through the communication servers B1 B B3, and the monitoring module 100 of the global server 10 monitors the number of query tasks received by the query servers C1 C C3.
  • the monitoring module 100 transmits the number of the query tasks received by the monitored query servers C1 C C3 to the control module 101.
  • the control module 101 can determine whether the data exceeds the set threshold and calculate the idle rate of the query servers C1 C C3.
  • the control module 101 of the global server 10 allocates a query task exceeding the threshold according to the task processing priority of the query server and the task receiving policy.
  • the process of allocating the query task according to the task processing priority and the task receiving policy by the global server 10 is the same as that described above, and thus will not be described herein.
  • step 101 the user logs in to the client, and the client transmits and stores the user information to the global server, and the global server synchronizes the user information to the query server.
  • step 102 the query server receives the query task from the client through the communication server.
  • step 103 when the number of query tasks received by the query server from the client exceeds a threshold, the global server allocates a query task that exceeds the threshold according to the task processing priority of the query server and the task receiving policy.
  • the instant messaging system and method for implementing user information sharing uses a distributed query server to be responsible for query tasks of clients in different regions, and the global server queries for exceeding the threshold of the query server. Tasks are assigned based on task processing priority and task receiving policies. In this way, the working efficiency of the query server and the global server can be improved, and the query efficiency of the user information can be improved. In addition, it also effectively improves the throughput of the instant messaging system, and improves communication efficiency, making communication more immediate and smooth.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供一种用于实现用户信息共享的即时通讯系统及方法。上述系统包括多个客户端及通讯服务器,客户端连接通讯服务器。上述系统还包括全局服务器以及查询服务器。客户端通过通讯服务器分别与查询服务器及全局服务器相连,通讯服务器通过查询服务器与全局服务器相连。客户端通过通讯服务器将用户信息传输并存储至全局服务器,全局服务器将用户信息同步至查询服务器。当查询服务器从客户端接收的查询任务的数目超过阈值时,全局服务器根据查询服务器的任务处理优先级以及任务接收策略分配超过阈值的查询任务。其中,查询服务器的数目为至少两个。

Description

-种用于实现用户信息共享的即时通讯系统及方法 技术领域 本发明属于信息处理技术, 尤其涉及一种用于实现用户信息共享的即时 通讯系统及方法。 背景技术 互联网技术的发展使我们可以足不出户就实现即时通讯, 与好友聊天, 与合作伙伴谈判等等。 目前, 基于需要下载安装的即时通讯工具, 如 MSN, QQ, 网易泡泡已经深受大家的喜爱, 它为人们的沟通、 信息交流提供了新的 途径, 是除了手机、 固话、 电子邮件之外的又一种重要的信息交流方式; 借 助这些工具, 用户可以实现单人或者多人视频, 可以召开网络视频会议, 可 以进行网络远程教育, 还可以让人和人之间的交流成本大大降低, 且提高了 效率。
于上述即时通讯工具的使用过程中, 用户需要进行用户信息查询等操作。 然而, 当即时通讯系统的吞吐量十分大, 且信息交流十分频繁时, 会导致即 时通讯系统查询用户共享信息的效率低下, 亦会导致即时通讯系统延迟或业 务处理失败, 更严重地甚至引起系统崩溃。 发明内容 本发明提供一种用于实现用户信息共享的即时通讯系统及方法以解决上 述问题。
本发明提供一种用于实现用户信息共享的即时通讯系统, 包括多个客户 端及至少一个通讯服务器。 客户端连接通讯服务器。 用于实现用户信息共享 的即时通讯系统还包括至少一个全局服务器以及查询服务器。 客户端通过通 讯服务器分别与查询服务器及全局服务器相连, 通讯服务器通过查询服务器 与全局服务器相连。 客户端通过通讯服务器将用户信息传输并存储至全局服 务器, 全局服务器将用户信息同步至查询服务器。 当查询服务器从客户端接 收的查询任务的数目超过阈值时, 全局服务器根据查询服务器的任务处理优 先级以及任务接收策略分配超过阈值的查询任务。 其中, 查询服务器的数目 为至少两个。
本发明还提供一种用于实现用户信息共享的即时通讯方法。 上述方法包 括以下步骤: 用户登录客户端, 客户端将用户信息传输并存储至全局服务器, 全局服务器将用户信息同步至查询服务器; 查询服务器通过通讯服务器从客 户端群接收查询任务; 当查询服务器从客户端接收的查询任务的数目超过阈 值时, 全局服务器根据查询服务器的任务处理优先级以及任务接收策略分配 超过阈值的查询任务。 其中, 查询服务器的数目为至少两个。
相较于先前技术, 根据本发明提供的用于实现用户信息共享的即时通讯 系统及方法, 客户端通过对应的查询服务器进行用户信息查询, 全局服务器 对超过查询服务器阈值的查询任务进行分配, 如此, 可提高查询服务器及全 局服务器的工作效率, 并提高用户信息的查询效率。 此外, 亦有效地提高了 即时通讯系统的吞吐量, 并提高了通信效率, 使得通讯更加即时流畅。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1 所示为根据本发明的较佳实施例提供的用于实现用户信息共享的即 时通讯系统的示意图;
图 2所示为根据本发明的较佳实施例提供的全局服务器的示意图; 图 3 所示为根据本发明的较佳实施例提供的用于实现用户信息共享的即 时通讯方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。
图 1 所示为根据本发明的较佳实施例提供的用于实现用户信息共享的即 时通讯系统的示意图。 本发明较佳实施例提供的用于实现用户信息共享的即 时通讯系统包括多个客户端、 至少一个通讯服务器、 至少一个全局服务器以 及至少两个查询服务器。 如图 1所示, 以六个客户端 A10、 Al l , A20、 A21、 A30、A31、全局服务器 10、三个通讯服务器 B1~B3以及三个查询服务器 C1~C3 为例进行说明。 然而, 本发明并不限定客户端、 全局服务器、 通讯服务器以 及查询服务器的数目。 另外, 如图 1所示, 客户端 A10~A11连接通讯服务器 B1 , 客户端 A20~A21连接通讯服务器 B2, 客户端 A30~A31连接通讯服务器 B3 o 于此, 本发明亦并不限定每个通讯服务器连接的客户端的数目。
于本实施例中, 如图 1所示, 客户端 A10~A11通过通讯服务器 B1与查 询服务器 C1及全局服务器 10相连, 客户端 A20~A21通过通讯服务器 B2与 查询服务器 C2及全局服务器 10相连, 客户端 A30~A31通过通讯服务器 B3 与查询服务器 C3及全局服务器 10相连。 通讯服务器 B1通过查询服务器 C1 与全局服务器 10相连, 通讯服务器 B2通过查询服务器 C2与全局服务器 10 相连, 通讯服务器 B3通过查询服务器 C3与全局服务器 10相连。 举例而言, 上海的客户端通过上海的通讯服务器与上海的查询服务器相连, 苏州的客户 端通过苏州的通讯服务器与苏州的查询服务器相连, 北京的客户端通过北京 的通讯服务器与北京的查询服务器相连。 于此, 查询服务器的数目与通讯服 务器的数目一致。 然而, 本发明并不限定于此。 于其他实施例中, 通讯服务 器的数目可为一个, 且通讯服务器可与多个查询服务器相连。
于本实施例中, 客户端 A10~A11, A20-A21 , A30~A31分别通过通讯服 务器 B1~B3将用户信息传输并存储至全局服务器 10, 全局服务器 10将用户 信息同步至查询服务器 C1~C3。 其中, 用户信息不限于用户登录信息, 亦可 包括用户修改信息, 用户更新信息等。 具体而言, 不同区域的客户端通过通 讯服务器与不同的查询服务器相连而共用全局服务器。 相应的查询服务器可 为对应区域的客户端服务,执行客户端发送的查询任务(例如查询用户信息)。 例如, 上海的查询服务器可为上海用户提供用户信息查询服务, 苏州的查询 服务器可为苏州用户提供用户信息查询服务。 如此, 采用分布式的查询服务 器负责不同区域客户端的查询任务, 提高了查询效率, 使得通讯更即时流畅。
于本实施例中, 当查询服务器从多个客户端接收的查询任务的数目超过 阈值时, 全局服务器根据查询服务器的任务处理优先级以及任务接收策略分 配超过阈值的查询任务。 其中, 阈值例如可根据不同查询服务器的工作效率 进行设定。 此外, 全局服务器根据查询服务器的空闲率设定查询服务器的任 务处理优先级。
具体而言, 全局服务器可预设空闲率与任务处理优先级等级对照表。 例 如, 当任务处理优先级的等级设置为四级时, 空闲率与任务处理优先级等级 对应关系如下: 空闲率为 80%~100%的查询服务器对应第 4等级, 空闲率为 60%~80%的查询服务器对应第 3等级,空闲率为 40%~60%的查询服务器对应 第 2等级, 空闲率为 0%~40%的查询服务器对应第 1等级。 于此, 空闲率越 大的查询服务器的优先级等级越高。 然而, 本发明并不限定于此。 上述任务 处理优先级的等级以及其与空闲率的对应关系可根据实际需要进行设定。
接下来以三个查询服务器 C1~C3及任务处理优先级等级设置为 4级为例 进行具体说明。 如图 1所示, 客户端 A10~A11, A20-A21 , A30~A31分别通 过通讯服务器 B1~B3发送查询任务至对应的查询服务器 C1~C3, 全局服务器 10实时监测查询服务器 C1~C3的工作状态。 当查询服务器 C1通过通讯服务 器 B1从客户端 A10~A11接收的查询任务的数目超过查询服务器 C1 的阈值 时, 全局服务器 10会根据查询服务器 C2、 C3的空闲率更新任务处理优先级 的排列。 若查询服务器 C2的实时空闲率为 85%, 查询服务器 C3的实时空闲 率为 70%, 则全局服务器 10依照空闲率与任务处理优先级等级对照表可设置 查询服务器 C2为第 4等级, 查询服务器 C3为第 3等级, 即查询服务器 C2 的优先级等级高于查询服务器 C3。 于本实施例中, 根据查询服务器的实时空 闲率, 查询服务器的任务处理优先级可实时更新。 如此, 全局服务器 10会将 查询服务器 C1超过其阈值的查询任务先分配至查询服务器 C2 (即, 第 4级 的查询服务器) 。查询服务器 C2会根据任务接收策略接收相应的数目的查询 任务。 于此, 任务接收策略为查询服务器的阈值与当前任务量的差值。
若查询服务器 C2接收全局服务器 10分配的查询任务后, 其处理的查询 任务总数未超过查询服务器 C2设置的阈值, 则查询服务器 C2负责执行所有 超过查询服务器 C1的阈值的查询任务。 若查询服务器 C2处理的查询任务总 数超过查询服务器 C2设置的阈值, 则全局服务器 10将超过查询服务器 C2 阈值的查询任务再分配至查询服务器 C3 (即, 第 3等级的查询服务器) 。 然 而, 本发明并不限定于此。 于其他实施例中, 若查询服务器 C2处理的查询任 务总数超过查询服务器 C2设置的阈值, 则查询服务器 C2可将超过查询服务 器 C2阈值的查询任务再分配至查询服务器 C3 (即,第 3等级的查询服务器)。 接着,判断查询服务器 C3接收上述查询任务后查询任务的总数是否超过查询 服务器 C3的阈值。若超过,可由全局服务器 10或查询服务器 C3调用优先级 序列中下一等级的查询服务器。 当不存在下一等级的查询服务器时, 待处理 的查询任务排队等候处理。 于此, 全局服务器根据空闲率及优先级的组合分 配查询任务, 充分利用了查询服务器, 避免了资源浪费, 亦提高了信息查询 效率。
图 2所示为根据本发明较佳实施例的全局服务器 10的示意图。 如图 1与 图 2所示, 全局服务器 10包括监测模块 100、 控制模块 101、 存储模块 102 以及传输模块 103。 其中, 控制模块 101连接监测模块 100, 存储模块 102连 接传输模块 103。 控制模块 101根据查询服务器 C1~C3的空闲率更新任务处 理优先级, 并根据任务处理优先级及任务接收策略分配超过阈值的查询任务。 监测模块 100监测查询服务器 C1~C3接收的查询任务的数目。 存储模块 102 存储用户信息。 传输模块 103 用于将接收的用户信息同步传输至查询服务器 于本实施例中, 用户登录客户端, 客户端将用户信息传输并存储至全局 服务器 10的存储模块 102,全局服务器 10的传输模块 103将用户信息同步至 查询服务器 C1~C3。查询服务器 C1~C3通过通讯服务器 B1~B3从客户端接收 查询任务,且全局服务器 10的监测模块 100监测查询服务器 C1~C3接收的查 询任务的数目。 同时, 监测模块 100把监测到的查询服务器 C1~C3接收的查 询任务的数目传输至控制模块 101。控制模块 101接收上述数据后可判断上述 数据是否超过设置的阈值并计算查询服务器 C1~C3的空闲率。 当查询服务器 C1-C3从客户端接收的查询任务的数目超过其设置的阈值时, 全局服务器 10 的控制模块 101 根据查询服务器的任务处理优先级及任务接收策略分配超过 阈值的查询任务。 关于全局服务器 10根据任务处理优先级及任务接收策略分 配查询任务的过程同前所述, 故于此不再赘述。
图 3 所示为根据本发明较佳实施例的用于实现用户信息共享的即时通讯 方法的流程图。 如图 3所示, 于步骤 101, 用户登录客户端, 客户端将用户信 息传输并存储至全局服务器, 全局服务器将用户信息同步至查询服务器。 于 步骤 102, 查询服务器通过通讯服务器从客户端接收查询任务。 于步骤 103, 当查询服务器从客户端接收的查询任务的数目超过阈值时, 全局服务器根据 查询服务器的任务处理优先级以及任务接收策略分配超过阈值的查询任务。 关于上述步骤的具体过程同前所述, 故于此不再赘述。
综上所述, 根据本发明较佳实施例提供的用于实现用户信息共享的即时 通讯系统及方法, 采用分布式的查询服务器负责不同区域客户端的查询任务, 全局服务器对超过查询服务器阈值的查询任务根据任务处理优先级以及任务 接收策略进行分配。 如此, 可提高查询服务器及全局服务器的工作效率, 并 提高用户信息的查询效率。 此外, 亦有效地提高了即时通讯系统的吞吐量, 并提高了通信效率, 使得通讯更加即时流畅。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。

Claims

1、 一种用于实现用户信息共享的即时通讯系统, 包括多个客户端及至少 一个通讯服务器, 所述多个客户端连接所述通讯服务器, 其特征在于, 所述 用于实现用户信息共享的即时通讯系统还包括:
至少一个全局服务器; 以及
查询服务器, 所述多个客户端通过所述通讯服务器分别与所述查询服务 器及所述全局服务器相连, 所述通讯服务器通过所述查询服务器与所述全局 服务器相连, 所述多个客户端通过所述通讯服务器将用户信息传输并存储至 所述全局服务器, 所述全局服务器将所述用户信息同步至所述查询服务器, 当所述查询服务器从所述多个客户端接收的查询任务的数目超过阈值 时, 所述全局服务器根据所述查询服务器的任务处理优先级以及任务接收策 略分配超过所述阈值的查询任务, 其中, 所述查询服务器的数目为至少两个。
2、 根据权利要求 1所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 所述全局服务器依据所述查询服务器的空闲率设定所述查询服务器 的所述任务处理优先级。
3、 根据权利要求 2所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 若所述查询服务器的所述任务处理优先级依据所述查询服务器的空 闲率设定为 4级, 则所述全局服务器将所述超过阈值的查询任务分配至第 4 等级的查询服务器。
4、 根据权利要求 3所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 若第 4等级的查询服务器接收所述全局服务器分配的查询任务后, 第 4等级的查询服务器处理的查询任务的数目超过设置的阈值, 则所述全局 服务器调用第 3等级的查询服务器执行查询任务。
5、 根据权利要求 3所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 若第 4等级的查询服务器接收所述全局服务器分配的查询任务后, 第 4等级的查询服务器处理的查询任务的数目超过设置的阈值, 则所述第 4 等级的查询服务器调用第 3等级的查询服务器执行查询任务。
6、 根据权利要求 1所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 所述任务接收策略为查询服务器的阈值与当前任务量的差值。
7、 根据权利要求 1所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 所述全局服务器包括控制模块以及监测模块, 所述控制模块连接所 述监测模块, 所述监测模块监测所述查询服务器接收的查询任务的数目并将 上述查询任务的数目传输至所述控制模块, 所述控制模块根据所述查询服务 器的空闲率更新所述任务处理优先级, 并根据所述任务处理优先级及所述任 务接收策略分配超过阈值的所述查询任务。
8、 根据权利要求 1所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 所述全局服务器包括存储模块, 所述存储模块存储所述用户信息。
9、 根据权利要求 8所述的用于实现用户信息共享的即时通讯系统, 其特 征在于, 所述全局服务器还包括传输模块, 所述传输模块连接所述存储模块, 用于将接收的所述用户信息同步传输至所述查询服务器。
10、 一种用于实现用户信息共享的即时通讯方法, 其特征在于, 包括以 下步骤:
用户登录客户端, 所述客户端将用户信息传输并存储至全局服务器, 所 述全局服务器将所述用户信息同步至查询服务器;
所述查询服务器通过通讯服务器从所述客户端接收查询任务;
当所述查询服务器从所述客户端接收的所述查询任务的数目超过阈值 时, 所述全局服务器根据所述查询服务器的任务处理优先级以及任务接收策 略分配超过所述阈值的查询任务, 其中, 所述查询服务器的数目为至少两个。
PCT/CN2012/072990 2011-05-24 2012-03-24 一种用于实现用户信息共享的即时通讯系统及方法 WO2012159493A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110134273 CN102209048B (zh) 2011-05-24 2011-05-24 一种用于实现用户信息共享的即时通讯系统及方法
CN201110134273.1 2011-05-24

Publications (1)

Publication Number Publication Date
WO2012159493A1 true WO2012159493A1 (zh) 2012-11-29

Family

ID=44697717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072990 WO2012159493A1 (zh) 2011-05-24 2012-03-24 一种用于实现用户信息共享的即时通讯系统及方法

Country Status (2)

Country Link
CN (1) CN102209048B (zh)
WO (1) WO2012159493A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209049B (zh) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 一种用户信息处理的即时通讯系统及方法
CN102209051B (zh) * 2011-05-24 2012-07-04 苏州阔地网络科技有限公司 一种实现用户信息共享的即时通讯系统及方法
CN102209048B (zh) * 2011-05-24 2012-05-23 苏州阔地网络科技有限公司 一种用于实现用户信息共享的即时通讯系统及方法
CN102209050B (zh) * 2011-05-24 2012-07-18 苏州阔地网络科技有限公司 一种用户信息共享的即时通讯系统及方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426024A (zh) * 2008-12-15 2009-05-06 深圳市迅雷网络技术有限公司 一种数据流量控制方法、系统及装置
CN101557344A (zh) * 2009-05-21 2009-10-14 南昌航空大学 一种基于空间地理位置的动态负载均衡方法
CN102209050A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用户信息共享的即时通讯系统及方法
CN102209047A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种信息共享的即时通讯系统及方法
CN102209049A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用户信息处理的即时通讯系统及方法
CN102209048A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用于实现用户信息共享的即时通讯系统及方法
CN102209051A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种实现用户信息共享的即时通讯系统及方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090371B (zh) * 2006-06-14 2011-02-02 阿里巴巴集团控股有限公司 一种即时通讯系统中用户信息管理的方法及系统
CN101075929B (zh) * 2007-03-02 2010-11-24 腾讯科技(深圳)有限公司 信息查询系统、信息查询服务器及信息查询方法
CN101184062B (zh) * 2007-12-18 2010-07-14 深圳市迅雷网络技术有限公司 一种调整信息服务器负载的方法、装置及系统
CN101969468B (zh) * 2010-10-14 2013-09-18 广州从兴电子开发有限公司 查询服务器集群系统及查询方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426024A (zh) * 2008-12-15 2009-05-06 深圳市迅雷网络技术有限公司 一种数据流量控制方法、系统及装置
CN101557344A (zh) * 2009-05-21 2009-10-14 南昌航空大学 一种基于空间地理位置的动态负载均衡方法
CN102209050A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用户信息共享的即时通讯系统及方法
CN102209047A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种信息共享的即时通讯系统及方法
CN102209049A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用户信息处理的即时通讯系统及方法
CN102209048A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种用于实现用户信息共享的即时通讯系统及方法
CN102209051A (zh) * 2011-05-24 2011-10-05 苏州阔地网络科技有限公司 一种实现用户信息共享的即时通讯系统及方法

Also Published As

Publication number Publication date
CN102209048A (zh) 2011-10-05
CN102209048B (zh) 2012-05-23

Similar Documents

Publication Publication Date Title
WO2012159538A1 (zh) 一种信息共享的即时通讯系统及方法
US10367852B2 (en) Multiplexed demand signaled distributed messaging
US20120246637A1 (en) Distributed load balancer in a virtual machine environment
CN1622549A (zh) 用于使用对等网络协议共享应用程序的方法和设备
US8644491B2 (en) Mechanism for multisite service state description
WO2009097300A2 (en) Bandwidth-aware multicast load balancing on a multi-interface host
EP3095229B1 (en) Method and nodes for configuring a communication path for a media service
CN101827039B (zh) 一种负载分担的方法和设备
WO2012159539A1 (zh) 一种用户信息处理的即时通讯系统及方法
WO2012159535A1 (zh) 一种实现用户信息共享的即时通讯系统及方法
WO2012159537A1 (zh) 一种用户信息共享的即时通讯系统及方法
EP3331247A1 (en) Multi-screen control method and device
WO2010081401A1 (zh) 一种视频服务系统
US8385533B2 (en) Bidding work assignment on conference/subscribe RTP clearing house
WO2012059052A1 (zh) 一种多媒体会议实现方法和装置
WO2012159493A1 (zh) 一种用于实现用户信息共享的即时通讯系统及方法
JP5154313B2 (ja) Sipメッセージ振分方法およびsipメッセージ振分装置
CN105262839A (zh) 一种负载均衡模式下指定终端的远程登录方法
WO2020082839A1 (zh) 报文处理方法、相关设备及计算机存储介质
US10938591B2 (en) Multicast system
WO2022042545A1 (zh) Tsn工业应用服务器、客户端、系统、服务方法及储存介质
KR101382177B1 (ko) 동적 메시지 라우팅 시스템 및 방법
WO2014056387A1 (zh) 文本聊天会话的转移方法、系统以及装置和坐席客户端
EP3085062B1 (en) Stateless message routing
WO2012163224A1 (zh) 一种实现即时通讯与网络会议模式切换的方法及系统

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: 12788886

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: 12788886

Country of ref document: EP

Kind code of ref document: A1