News Column

Patent Issued for Cluster Server of an Instant Messaging System and Messaging Method between Clusters

July 15, 2014



By a News Reporter-Staff News Editor at Information Technology Newsweekly -- ZTE Corporation (Shenzhen, CN) has been issued patent number 8769025, according to news reporting originating out of Alexandria, Virginia, by VerticalNews editors.

The patent's inventors are Cui, Zhenfeng (Shenzhen, CN); Lu, Jianfeng (Shenzhen, CN).

This patent was filed on December 24, 2009 and was published online on July 1, 2014.

From the background information supplied by the inventors, news correspondents obtained the following quote: "With the development of the network technology, the instant messaging system, which makes the contacts and communications among people more and more convenient, is gradually recognized and accepted by users; and as an instant contact way among people through the internet, the instant messaging has the characteristics of strong interactivity, low cost and the like so as to be widely popularized in a short time, wherein the instant messaging systems widely used by people include QQ, MSN and the like.

"With the rapid increase of users in the instant messaging system, there are more and more system state broadcasting messages and instant messages, a system server needs to process more data, and a server with one database cannot meet the messaging requirements of a large amount of data and tasks, therefore, a cluster system with multiple database servers emerge opportunity.

"In a server cluster system, multiple servers are combined to perform the same service, each cluster server provides a service for multiple users respectively and is communicated with one another to realize the data communications among different clusters.

"In the communication of the existing instant messaging system through cluster servers, the cluster servers distribute addresses and accounts for instant messaging servers attaching to themselves, so that the instant messaging servers attaching to the different cluster servers can transmit data through the distributed addresses and accounts. In addition, client users attaching to the different cluster servers acquire inter-cluster broadcasting messages from corresponding cluster servers, report the current service states to corresponding cluster servers and acquire the current service states of the client users in other cluster servers from the cluster servers.

"However, with the continuous increase of the client users, there are more and more inter-cluster broadcasting messages, much influence is brought to the performance of the instant messaging system, and the amount of the client users which can be borne by the whole system will be greatly limited at the same time, therefore, the data processing ability of the cluster system will be absolutely required to be improved constantly in the current technological development trend."

Supplementing the background information on this patent, VerticalNews reporters also obtained the inventors' summary information for this patent: "Objectives of this disclosure are to provide a cluster server of an instant messaging system and a messaging method between clusters, and to achieve the objectives of effectively using network bandwidths between the clusters, and improving the messaging efficiency and the bearing capacity of the whole instant messaging system by classifying the messages between the clusters.

"In order to fulfil the objectives, in one aspect, an embodiment of this disclosure provides a cluster server of an instant messaging system, including:

"a storage unit configured to store a piece of first subscription information that a client user of an inner-cluster subscribes the presence state of a client user of an external cluster and a piece of second subscription information that a client user of the external cluster subscribes the presence state of a client user of the inner-cluster;

"an information classification unit configured to determine whether the communication message transmitted between a client user of inner-cluster and a client user of the external cluster is a state-presence related message; and

"an information transmission unit configured to transmit the communication message according to the first and second subscription information when the communication messages is a state-presence related message.

"Preferably, in the cluster server, the first subscription information may be specifically a piece of information for recording a corresponding relationship between a first client user of the inner-cluster and a second instant messaging server of the external cluster, wherein the first client user subscribes a presented client user of the external cluster; and the client user of the external cluster logs in the second instant messaging server; and

"the second subscription information may be specifically a piece of information for recording a corresponding relationship between a first client user and a second cluster server of the external cluster, wherein a client user of the external cluster attaching to the second cluster server subscribes a presence state of the first client user.

"Preferably, in the cluster server, the information classification unit may be further configured to transmit a first communication message to the second cluster server according to the second subscription information when determining that a first communication message from the first client user to a client user of the external cluster is a state-presence related message; and

"the information classification unit may be further configured to transmit a second communication message to a first instant messaging server in which the first client user logs according to the first subscription information when determining that the second communication message from a client user of the external cluster to a client user of the inner-cluster is a state-presence related message and the second instant messaging server acts as a transmitting end for transmitting the second communication message.

"Preferably, the cluster server further includes:

"an external messaging interface unit configured to provide an interface for messaging with the external cluster; and

"a client user distribution unit configured to distribute a corresponding instant messaging server for the client user of the inner-cluster;

"the information transmission unit is further configured to query a third cluster server to which a destination user for receiving the first communication message attaches through the external messaging interface and transmit the first communication message to the third cluster server when the first communication message is a state-presence unrelated message;

"or, the information transmission unit is further configured to acquire a third instant messaging server in which the destination user for receiving the second communication message logs through the user distribution unit and transmitting the second communication message to the third instant messaging server when the second communication message is a state-presence unrelated message.

"Preferably, in the cluster server, the information classification unit is further configured to determine whether the first communication message is a non-real-time message before the first communication message is transmitted.

"Preferably, in the cluster server, the information transmission unit is further configured to store the first communication message in a corresponding message waiting queue for transmitting when the first communication message is a non-real-time message, and compress the message waiting queue for transmitting into a complex message and transmit the complex message when the message waiting queue for transmitting reaches the preset length.

"Preferably, in the cluster server, before the information classification unit determines whether the second communication message is a state-presence related message, the information transmission unit is further configured to parse the second communication message into multiple independent messages when the second communication message is a complex message.

"Preferably, in the cluster server, the cluster server is in communication link with a global server through which a corresponding cluster server to which the client users of the external cluster attach is queried.

"In another aspect, this disclosure further provides a messaging method between clusters in instant messaging, the method includes that:

"acquiring a communication message transmitted between a client user of an inner-cluster and a client user of an external cluster; and

"when the communication message is a state-presence related message, sending the communication message according to a piece of first pre-stored subscription information that a client user of the inner-cluster subscribes a presence state of a client user of the external cluster or according to a piece of second pre-stored subscription information that a client user of the external cluster subscribes the presence state of a client user of the inner-cluster.

"Preferably, in this method, the first subscription information may be specifically a piece of information for recording a corresponding relationship between a first client user of the inner-cluster and a second instant messaging server of the external cluster, wherein the first client user subscribes a presented client user of the external cluster; and the client user of the external cluster logs in the second instant messaging server; and

"the second subscription information may be specifically a piece of information for recording a corresponding relationship between a first client user and a second cluster server of the external cluster, wherein a client user of the external cluster attaching to the second cluster server subscribes a presence state of the first client user.

"In the above-mentioned technical solution, at least one technical feature of the cluster server and the messaging method between clusters has the following advantages:

"by storing the first subscription information that a client user of the inner-cluster subscribes the state of a client of the external cluster and the second subscription information that a client of the external cluster subscribes the state of a client user of the inner-cluster, classifying the communication messages transmitted between a client of the inner-cluster and a client of the external cluster, and querying pre-stored related subscription information when the communication message is a state-presence related message, the addresses of all the destination receiving ends of the communication messages can be acquired so as to solve the problem that the cluster server repeatedly processes a large amount of state broadcasting messages to affect the data processing capacity of the system, thereby effectively using the network bandwidths between clusters and improving the messaging efficiency.

"The subscription relationship that a client user of the inner-cluster subscribes the state of a client of the external cluster is expanded to the relationship between a client user of the inner-cluster and an instant messaging server in the external cluster, and the relationship that a client of the external cluster subscribes the state of a client user of the inner-cluster is expanded to the relationship between a server of the external cluster and a client user of the inner-cluster by the first and second subscription information, so that it is only necessary to transmit one common message about the state presence between the client user of the inner-cluster and the client user of the external cluster, thereby effectively reducing the total amount and length of the messages transmitted among clusters and avoiding network congestion.

"In addition, the messages are further divided into real-time message and non-real-time message; as a non-real-time message, the received message is stored in a message waiting queue for transmitting to be transmitted to the same destination receiving end at first; and the message waiting queue for transmitting is compressed into a set message to be transmitted when the message waiting queue for transmitting reaches the preset length, so that the total amount and total length of the messages transmitted among clusters are effectively reduced, and the effects of effectively using the network bandwidths between clusters and improving the messaging efficiency are achieved

BRIEF DESCRIPTION OF THE DRAWINGS

"FIG. 1 shows a connection diagram of the structure of an instant messaging system adopting the cluster server of an embodiment of this disclosure;

"FIG. 2 shows a diagram of the process of configuring the instant messaging system in FIG. 1;

"FIG. 3 shows a diagram of the process of messaging between clusters through the instant messaging system in FIG. 1;

"FIG. 4 shows a diagram of the structure of the cluster server of an embodiment of this disclosure;

"FIG. 5 shows a diagram of the flow of transmitting messages which is a state-presence unrelated message by the instant messaging system adopting the cluster server of an embodiment of this disclosure;

"FIG. 6 shows a diagram of the flow of transmitting messages a state-presence related message by the instant messaging system adopting the cluster server of an embodiment of this disclosure; and

"FIG. 7 shows a diagram of the flow of a method embodiment of this disclosure."

For the URL and additional information on this patent, see: Cui, Zhenfeng; Lu, Jianfeng. Cluster Server of an Instant Messaging System and Messaging Method between Clusters. U.S. Patent Number 8769025, filed December 24, 2009, and published online on July 1, 2014. Patent URL: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1=8769025.PN.&OS=PN/8769025RS=PN/8769025

Keywords for this news article include: ZTE Corporation, Information Technology, Information and Data Processing.

Our reports deliver fact-based news of research and discoveries from around the world. Copyright 2014, NewsRx LLC


For more stories covering the world of technology, please see HispanicBusiness' Tech Channel



Source: Information Technology Newsweekly


Story Tools






HispanicBusiness.com Facebook Linkedin Twitter RSS Feed Email Alerts & Newsletters