CN102045270A - Chat server system, method for constructing chat server system and chat system - Google Patents

Chat server system, method for constructing chat server system and chat system Download PDF

Info

Publication number
CN102045270A
CN102045270A CN 201010568246 CN201010568246A CN102045270A CN 102045270 A CN102045270 A CN 102045270A CN 201010568246 CN201010568246 CN 201010568246 CN 201010568246 A CN201010568246 A CN 201010568246A CN 102045270 A CN102045270 A CN 102045270A
Authority
CN
China
Prior art keywords
server
chat
mina
message
socket
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 201010568246
Other languages
Chinese (zh)
Other versions
CN102045270B (en
Inventor
王硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd
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 BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd
Priority to CN 201010568246 priority Critical patent/CN102045270B/en
Publication of CN102045270A publication Critical patent/CN102045270A/en
Application granted granted Critical
Publication of CN102045270B publication Critical patent/CN102045270B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a chat server system, a method for constructing the chat server system and a chat system, wherein the chat server system comprises a SOCKET server and a chat room management server, wherein the SOCKET server is used for establishing a SOCKET connection with a plurality of chat client terminals and keeping long connection with the plurality of chat client terminals for providing chat services for the chat client terminals; and the chat room management server is used for controlling and managing the SOCKET server and the chat client terminals. By utilizing the invention, the real-time response of the chat server system can be obtained under the situation of high concurrency of the chat client terminals.

Description

The method and the chat system of chat server system, structure chat server system
Technical field
The present invention relates to the Internet chat technology, particularly relate to a kind of chat server system, make up the method and the chat system of chat server system.
Background technology
The Internet chatroom is the session chamber of being made up of two or more users on network, for the place of carrying out live talk, chat by literal and symbol between the user.A kind of chat system of Internet chatroom function that provides comprises client and EB server, and the user sends http (HyperText Transfer Protocol, super adopted this host-host protocol) request by the browser of client, obtains the chatroom page and chats; The management that the WEB server provides chatting service and carries out the chatroom for client.
Usually, client is used AJAX (Asynchronous JavaScript and XML, asynchronous JavaScript and XML) in conjunction with PHP (Hypertext Preprocesor, supertext preliminary treatment language)/JSP (Java Server Pages, the ava server page) page technology such as, concrete working method is: the browser page of client is by sending the xmlHttpRequest request, by http agreement and WEB server interaction, WEB server response request, return the xml data object, client analysis object under browser shows.
Because AJAX is the technology that the page is refreshed in a kind of part, it can reduce the number of times of page furbishing, but its essence also is based on the request-operation response of http agreement, that is to say, AJAX need obtain up-to-date data by timer access WEB server, such as at interval 500 milliseconds the WEB server initiated once request, no matter the WEB server end has and does not have new data at this moment, all to respond client-requested, will inevitably increase the weight of the WEB load of server like this, and when the WEB server has Data Update, it but can't initiatively send to client, only could send to client when the request of receiving client, such request-response modes is difficult to realize client height concurrent (being that a plurality of clients send request to server simultaneously), real-time response under the high visit of server end (being the visit that server end is received a plurality of clients simultaneously) situation; In addition, when AJAX causes client to wait until refresh data, could get data from the WEB server, be less than when refreshing, client can't be learned in the WEB server data updated, therefore, also can't guarantee the message real-time.
And, the application service (be included as client chatting service is provided, and the chatroom is managed) of chatroom is all disposed on the WEB server, independently finished the request response by it, and do not build Distributed Services according to the different characteristics of business demand, cause server end stability unreliable.
In addition, with regard to client terminal, also there is following defective:
AJAX need resolve the xml formatted data by the JavaScript language, and different browsers is inconsistent to the support of xml analysis mode, like this, be prone to the compatibility issue between different client terminals, for example, for same xml data, demonstrate different results between different client terminals, even cause the xml data under some browser, can't resolve, thereby influence user's use.
Summary of the invention
In view of this, the present invention proposes a kind of chat server system, makes up the method and the chat system of chat server system, and technical problem to be solved is: under the high concurrent situation of chat clients terminal, can obtain the real-time response of chat server system.
The object of the invention to solve the technical problems realizes by the following technical solutions.A kind of chat server system according to the present invention proposes comprises: the SOCKET server, and set up SOCKET with a plurality of chat clients terminals and is connected, and be connected to provide chatting service to it with described a plurality of chat clients terminals maintenances; The chatroom management server is used for described SOCKET server of control and management and chat clients terminal.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
Aforesaid chat server system, described SOCKET server is the MINA server.
Aforesaid chat server system, described MINA server is a plurality of, this chat server system also comprises: switch is connected between described a plurality of chat clients terminal and the described a plurality of MINA server; Main JMS server is connected with described a plurality of MINA servers; Wherein, when the message that receives from the chat clients terminal of its connection by described switch when described MINA server is private chat message, described MINA server judges whether the recipient of this private chat message is the chat clients terminal that self connects, if then this private chat message is sent to the recipient by described switch; If not, then this private chat message is sent to MINA server under the recipient, and by described switch this private chat message is sent to the recipient by the MINA server under this recipient by described main JMS server.
Aforesaid chat server system, also comprise: caching server is used to store the chat clients end message that each MINA server is connected; Described MINA server judges by this caching server whether the recipient of described private chat message is the chat clients terminal that self connects.
Aforesaid chat server system, described MINA server comprises: information memory cell is used to store the chat clients end message that is connected with this MINA server; Described MINA server obtains the chat clients end message of its connection by this information memory cell, so that private chat message is sent to the recipient.
Aforesaid chat server system, when the message that receives from the chat clients terminal of its connection when described MINA server is broadcast, described MINA server is sent to described main JMS server with this broadcast, and by described main JMS server with described broadcast to the MINA server broadcast, then by the MINA server to the broadcasting of chat clients terminal that it connected.
Aforesaid chat server system, described MINA server also is used for authentication is carried out in the request of chat clients terminal.
Aforesaid chat server system, described main JMS server also is used for the control command from described chatroom management server is sent to described MINA server.
Aforesaid chat server system, this chat server system also comprises: backup JMS server is used to store the untreated message of described main JMS server, and when described main JMS server breaks down, handles untreated message.
The object of the invention to solve the technical problems also realizes in addition by the following technical solutions.A kind of method that makes up the chat server system according to the present invention proposes may further comprise the steps:
SOCKET is provided server, makes it set up SOCKET and be connected, and keep being connected to provide chatting service to it with described a plurality of chat clients terminals with a plurality of chat clients terminals; Provide the chatroom management server, with described SOCKET server of control and management and chat clients terminal.
The object of the invention to solve the technical problems also realizes in addition by the following technical solutions.A kind of chat system according to the present invention proposes is characterized in that, comprising: aforesaid chat server system and chat clients terminal.
As shown from the above technical solution, the present invention has following beneficial effect: under the high concurrent situation of chat clients terminal, can obtain the real-time response of chat server system.
With reference to the accompanying drawing description of a preferred embodiment, above-mentioned and other purpose of the present invention, feature and advantage will be more obvious by following.
Description of drawings
The block diagram of the chat server system that Fig. 1 provides for one embodiment of the invention;
The block diagram of the chat server system that Fig. 2 provides for another embodiment of the present invention;
Fig. 3 is the flow chart of two chat clients terminal room private chats that are connected in same MINA server of one embodiment of the invention;
Fig. 4 is the flow chart of two chat clients terminal room private chats that are connected in different MINA servers of one embodiment of the invention;
Fig. 5 is the flow chart of the chat clients terminal issue broadcast of one embodiment of the invention.
Embodiment
To describe specific embodiments of the invention in detail below.Should be noted that the embodiments described herein only is used to illustrate, be not limited to the present invention.
See also shown in Figure 1, the block diagram of the chat server system that it provides for one embodiment of the invention, the chat server system 1 of this embodiment comprises: SOCKET server 11 and chatroom management server 12.Wherein, SOCKET server 11 is set up SOCKET with a plurality of chat clients terminals 13 and is connected, and keep being connected to provide chatting service to it with a plurality of chat clients terminals 13, those skilled in the art will know that: connecting based on the SOCKET (socket) of ICP/IP protocol is than the http agreement communication standard of bottom more, data have higher transmission rate by the transmission of SOCKET byte stream; And, can set up SOCKET server 11 by SOCKET and be connected with the long of chat clients terminal 13, in long the connection, SOCKET server 11 is in connection status be connected foundation with 13 at chat clients terminal after always.
Like this, in the present embodiment, being connected between SOCKET server 11 and the chat clients terminal 13 in case set up, SOCKET server 11 and chat clients terminal 13 can send data to the other side at any time, for example, when SOCKET server 11 finds that a certain chat clients terminal is the new data recipient, just can initiatively send to this chat clients terminal, but not as the http agreement, must wait until the request of this chat clients terminal the time, new data could be sent to it, reducing of network delay is conspicuous, has higher real-time; And, for the chat clients terminal, be not to send request to the SOCKET server could receive data yet, thereby alleviate the SOCKET load of server; In addition, communication based on the http agreement, the transmission of every information all can comprise a lot of redundant informations, the packing that meets the http agreement, and SOCKET communication does not have these redundant informations, send data volume that the character of same quantity need transmit still less, so just saved the network bandwidth, the user feels is the transmission of data and receives rapider.Therefore, even under the situation that chat clients terminal height is concurrent, chat server system height is visited, also can obtain the real-time response of SOCKET server.
Chatroom management server 12 is used for control and management SOCKET server 12 and chat clients terminal 13, other all management and configuration features to the chatroom chatting service that is provided except that SOCKET server 11 can be provided for it, for example, safeguard chatroom information, the setting of notice information; Safeguard responsive keyword library information; And chatroom initiation parameter maintenance etc.
For example, the information of some chatrooms of chatroom management server 12 maintenances comprises the room list such as the chatroom, the number in a room or the like.Merely 1 client terminal 13 obtains these information by request chatroom management server 12, and after chat clients terminal 13 obtains once above-mentioned information from chatroom management server 12, just can be illustrated in the client terminal interface always, therefore, in one embodiment, be connected for http between chatroom management server 12 and the chat clients terminal 13.
In embodiment as shown in Figure 1, the management of chatting service and chatroom is realized by SOCKET server 11 and chatroom management server 12 respectively, make management service be independent of chatting service, different like this function services, reasonable distribution is on different servers, realize management and the distributed deployment of using, thereby improved the stability of chat server system.
In one embodiment, the SOCKET server is based on MINA (Multipurpose Infrastructurefor Network Applications, the general basic framework of web application) Gou Zao MINA server, those skilled in the art will know that, MINA is a kind of web application framework of the prior art, use it to make up the MINA server in the present embodiment, can have higher stability and be connected with the long of chat clients terminal with maintenance.
See also shown in Figure 2, the block diagram of the chat server system that it provides for another embodiment of the present invention, in the chat server system 2 of present embodiment, comprise that a plurality of MINA servers 21 are to constitute the MINA server cluster, chat server system 2 also comprises switch 22 and main JMS server 23, wherein, switch 22 is connected between a plurality of chat clients terminals 13 and a plurality of MINA server 21, to realize load balancing; Main JMS (Java Message Service, the Java messenger service) server 23 is connected with a plurality of MINA servers 21, when the message that receives from the chat clients terminal of its connection by switch 22 when a certain MINA server is private chat message (message of promptly having only the chat clients terminal as the recipient to receive), this MINA server judges whether the recipient of this private chat message is the chat clients terminal that self connects, if then this private chat message is sent to corresponding chat clients terminal as the recipient by switch 22; If not, then this private chat message is sent to MINA server under the recipient by main JMS server 23, and by switch 22 this private chat message is sent to accordingly chat clients terminal as the recipient by the MINA server under this recipient, like this, realized belonging to the message synchronization of the chat clients terminal room of different MINA servers by main JMS server 23.
In one embodiment, this chat server system also comprises: caching server 24 is used to store the chat clients end message that each MINA server is connected; The MINA server can judge whether the recipient of above-mentioned private chat message is the chat clients terminal that self connects by this buffer unit 24, in the present embodiment, the chat clients end message is kept in the caching server 24, then do not need to use database, because the user has logined the chatroom by chat clients terminal 13, just have the information of oneself, in case withdraw from, this information just no longer needs, and login next time again, is exactly new information, these information are temporary transient, so, do not need database to preserve, and use caching server 24 to preserve.Caching server 24 also can be preserved other shared information of MINA server cluster, for example, and the user basic information in each room, chatroom (as user ID, user's pet name, affiliated room number etc.).Chatroom management server 12 also can obtain information needed from this caching server 24.The chat clients end message for example is: active user's session status, client terminal IP, user ID, the affiliated chatroom ID of user etc.
Preferably, caching server 24 is realized in the present embodiment, high performance system Memcached as the internal memory service, being had efficient and stable advantage by the high performance distributed memory target cache Memcached of system.
MINA server 21 can comprise: information memory cell is used to store the chat clients end message that is connected with this MINA server; The MINA server can obtain the chat clients end message of its connection by this information memory cell, private chat information is sent to corresponding chat clients terminal.Particularly, information memory cell can be an internal memory of opening up in MINA server 21, chat clients end message with the chat clients terminal of storing its connection, the chat clients end message for example comprises the user session information of having preserved active user's session status, session status comprises some information such as IP of user, the client terminal under can finding by session information.
In some other embodiment, the MINA server also is used for authentication (for example judge whether to be the black list user, whether forbid its speech etc.) is carried out in the request of chat clients terminal, whether it is carried out subsequent treatment with decision; Described main JMS server also is used for the control command from described chatroom management server is sent to described MINA server, and wherein control command for example is kicking a player, taboo is sayed or close etc.
In the embodiment shown in Figure 2, connect the MINA server cluster by switch, can increase or reduce the quantity of MINA server according to the chatting service needs, like this, need not to redesign under the situation of this chat server system architecture, just can carry out the chat server system according to actual conditions extending transversely, thereby improved the extensibility of structure.
The chat server system also can comprise: backup JMS server 25, be used to store the untreated message of described main JMS server, and when described main JMS server breaks down, handle untreated message, realize the Hot Spare of chat server system, and improve stability of structure.
See also shown in Figure 3, it is the flow chart of two chat clients terminal room private chats that are connected in same MINA server of one embodiment of the invention, in the present embodiment, chat clients terminal A as transmit leg is connected in the MINA server A, chat clients terminal B as the recipient also is connected in the MINA server A, chat clients terminal A desire sends private chat message to chat clients terminal B, and execution in step is as follows:
S11: chat clients terminal A sends private chat message to the MINA server A, comprises recipient's ID in this private chat message;
The S12:MINA server A is obtained MINA server under the recipient according to recipient's ID from caching server;
S13: caching server returns to MINA server A (in the present embodiment, the MINA server under the recipient also is the MINA server A) with the MINA server under the recipient;
The S14:MINA server A is returned to chat clients terminal A and is sent result's (success or failure);
The S15:MINA server A is obtained recipient's information according to recipient's ID from its inner information memory cell, for example IP information;
S16: information memory cell returns to the MINA server A with recipient's information, and the MINA server A knows that thus the recipient is chat clients terminal B;
The S17:MINA server A sends to chat clients terminal B with private chat information.
See also shown in Figure 4, it is the flow chart of two chat clients terminal room private chats that are connected in different MINA servers of one embodiment of the invention, in the present embodiment, chat clients terminal A as transmit leg is connected in the MINA server A, chat clients terminal B as the recipient is connected in the MINA server B, chat clients terminal A desire sends private chat message to chat clients terminal B, and execution in step is as follows:
S21: chat clients terminal A sends private chat message to the MINA server A, comprises recipient's ID in this private chat message;
The S22:MINA server A is obtained MINA server under the recipient according to recipient's ID from caching server;
S23: caching server returns to MINA server A (in the present embodiment, the MINA server under the recipient is the MINA server B) with the MINA server under the recipient;
The S24:MINA server A sends private chat message to main JMS server;
In the present embodiment, each MINA server is the QUEUE (formation) in the corresponding respectively JMS technology on the JMS server, to realize the sequential processes of message, for example, the MINA server A sends private chat message to the corresponding QUEUE of the affiliated MINA server (being the MINA server B) of recipient.
The S25:MINA server A is returned to chat clients terminal A and is sent result's (success or failure);
The S26:JMS server transmits private chat message to the affiliated MINA server (being the MINA server B) of recipient;
The S27:MINA server B is obtained recipient's information according to recipient's ID from its inner information memory cell, for example IP information:
S28: information memory cell returns to the MINA server B with recipient's information, and the MINA server B knows that thus the recipient is chat clients terminal B;
The S29:MINA server B sends to chat clients terminal B with private chat information.
In an embodiment more of the present invention, when the message that receives from the chat clients terminal of its connection when described MINA server is broadcast, described MINA server is sent to the JMS server with this broadcast, and by the JMS server with described broadcast to the MINA server broadcast, then by the MINA server to the broadcasting of chat clients terminal that it connected.
Wherein, broadcast can be the message that a certain chat clients terminal sends to all chat clients terminals, and all users that also can be in the room, chatroom of a certain chat clients terminal under it send message, and promptly the group merely.
See also shown in Figure 5ly, it is the flow chart of the chat clients terminal issue broadcast of one embodiment of the invention, and execution in step is as follows in the present embodiment:
S31: the chat clients terminal sends broadcast to the MINA server;
The S32:MINA server returns to the chat clients terminal and sends result's (success or failure);
S33:MINA server A synchronized broadcasting message is to the JMS server;
In the present embodiment, realize by the TOPIC in the JMS technology (theme) object by JMS server issue broadcast.
The S34:JMS server reads TOPIC, issues broadcast to all MINA servers;
The S35:MINA server obtains each chat clients end message, for example IP information from the information memory cell of himself;
S36: each MINA server is distributed to client terminal according to client terminal information with broadcast, and particularly, if this broadcast sends to all chat clients terminals, then the MINA server is distributed to all client terminals with this broadcast; If this broadcast sends to room, a certain chatroom, then the MINA server can send to this broadcast all client terminals that belong to this room, chatroom.
Embodiments of the invention also provide a kind of method that makes up the chat server system, may further comprise the steps: SOCKET is provided server, make it set up SOCKET and be connected, and keep being connected to provide chatting service to it with described a plurality of chat clients terminals with a plurality of chat clients terminals; Provide the chatroom management server, with described SOCKET server of control and management and chat clients terminal.
The method of this structure chat server system can be implemented in that chat clients terminal height is concurrent, under the situation of high visit, still can obtain the real-time response of SOCKET server; And this with different function services, reasonable distribution has realized management and the distribution deployment of using on different servers, can improve the stability of chat server system.
Further, embodiments of the invention also provide a kind of chat system, and it comprises: foregoing chat server system and chat clients terminal.
As can be seen, the chat system that present embodiment provides can be implemented under concurrent, the high situation of visiting of chat clients terminal height, still can obtain the real-time response of SOCKET server; And this chat server system is different function services, and reasonable distribution has realized that management and the distribution of using dispose on different servers, can improve the stability of chat server system.
Though described the present invention with reference to several exemplary embodiments, should be appreciated that used term is explanation and exemplary and nonrestrictive term.The spirit or the essence that do not break away from invention because the present invention can specifically implement in a variety of forms, so be to be understood that, the foregoing description is not limited to any aforesaid details, and should be in the spirit and scope that claim limited of enclosing explain widely, therefore fall into whole variations in claim or its equivalent scope and remodeling and all should be the claim of enclosing and contain.

Claims (11)

1. a chat server system is characterized in that, comprising:
The SOCKET server is set up SOCKET with a plurality of chat clients terminals and is connected, and keeps being connected to provide chatting service to it with described a plurality of chat clients terminals;
The chatroom management server is used for described SOCKET server of control and management and chat clients terminal.
2. chat server according to claim 1 system is characterized in that described SOCKET server is the MINA server.
3. chat server according to claim 2 system is characterized in that described MINA server is a plurality of, and this chat server system also comprises;
Switch is connected between described a plurality of chat clients terminal and the described a plurality of MINA server;
Main JMS server is connected with described a plurality of MINA servers;
Wherein, when the message that receives from the chat clients terminal of its connection by described switch when described MINA server is private chat message, described MINA server judges whether the recipient of this private chat message is the chat clients terminal that self connects, if then this private chat message is sent to the recipient by described switch; If not, then this private chat message is sent to MINA server under the recipient, and by described switch this private chat message is sent to the recipient by the MINA server under this recipient by described main JMS server.
4. chat server according to claim 3 system is characterized in that, also comprises:
Caching server is used to store the chat clients end message that each MINA server is connected;
Described MINA server judges by this caching server whether the recipient of described private chat message is the chat clients terminal that self connects.
5. chat server according to claim 3 system is characterized in that described MINA server comprises:
Information memory cell is used to store the chat clients end message that is connected with this MINA server;
Described MINA server obtains the chat clients end message of its connection by this information memory cell, so that private chat message is sent to the recipient.
6. chat server according to claim 3 system, it is characterized in that, when the message that receives from the chat clients terminal of its connection when described MINA server is broadcast, described MINA server is sent to described main JMS server with this broadcast, and by described main JMS server with described broadcast to the MINA server broadcast, then by the MINA server to the broadcasting of chat clients terminal that it connected.
7. chat server according to claim 3 system is characterized in that described MINA server also is used for authentication is carried out in the request of chat clients terminal.
8. chat server according to claim 3 system is characterized in that described main JMS server also is used for the control command from described chatroom management server is sent to described MINA server.
9. chat server according to claim 3 system is characterized in that this chat server system also comprises:
Backup JMS server is used to store the untreated message of described main JMS server, and when described main JMS server breaks down, handles untreated message.
10. a method that makes up the chat server system is characterized in that, may further comprise the steps:
SOCKET is provided server, makes it set up SOCKET and be connected, and keep being connected to provide chatting service to it with described a plurality of chat clients terminals with a plurality of chat clients terminals;
Provide the chatroom management server, with described SOCKET server of control and management and chat clients terminal.
11. a chat system is characterized in that, comprising:
According to each described chat server system and chat clients terminal among the claim 1-9.
CN 201010568246 2010-11-30 2010-11-30 Chat server system, method for constructing chat server system and chat system Expired - Fee Related CN102045270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010568246 CN102045270B (en) 2010-11-30 2010-11-30 Chat server system, method for constructing chat server system and chat system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010568246 CN102045270B (en) 2010-11-30 2010-11-30 Chat server system, method for constructing chat server system and chat system

Publications (2)

Publication Number Publication Date
CN102045270A true CN102045270A (en) 2011-05-04
CN102045270B CN102045270B (en) 2012-12-19

Family

ID=43911067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010568246 Expired - Fee Related CN102045270B (en) 2010-11-30 2010-11-30 Chat server system, method for constructing chat server system and chat system

Country Status (1)

Country Link
CN (1) CN102045270B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594912A (en) * 2012-03-15 2012-07-18 北京昆仑万维科技股份有限公司 Data processing method under server architecture, server and server architecture
CN102624924A (en) * 2012-04-11 2012-08-01 北京昆仑万维科技股份有限公司 Data processing method under server architecture
CN103440578A (en) * 2013-08-07 2013-12-11 四川盛世宝典科技有限公司 Electronic commerce management system based on VR
CN103607423A (en) * 2013-10-23 2014-02-26 深圳海联讯科技股份有限公司 Distributed broadcast system based on WebSocket protocol
CN104486398A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Message transmission method and page client side
CN105099885A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Information transmitting method and device
CN105743852A (en) * 2014-12-09 2016-07-06 航天信息股份有限公司 Method and system for carrying out socket connection and communication maintaining by using http to realize gap crossing
CN105827709A (en) * 2016-03-31 2016-08-03 广东亿迅科技有限公司 Method for realizing real-time telephone traffic state of web voice telephone traffic system
CN107222316A (en) * 2017-05-25 2017-09-29 游密科技(深圳)有限公司 A kind of the chatroom collocation method and chat room system of adaptive room number
CN107342929A (en) * 2016-08-10 2017-11-10 杭州朗和科技有限公司 A kind of sending method of new message notification, apparatus and system
CN107912082A (en) * 2015-06-25 2018-04-13 可可株式会社 Method is provided by the messenger service of the open chat room providing message service corresponding to link information and performs message server and terminal that the messenger service provides method
CN108696364A (en) * 2017-04-06 2018-10-23 北京云中融信网络科技有限公司 Request message processing method, chatroom message server and chat room system
CN108900575A (en) * 2018-06-06 2018-11-27 深圳蓝贝科技有限公司 Long connection hierarchical communication method and system based on mobile terminal
CN109361694A (en) * 2018-11-22 2019-02-19 北京未尔锐创科技有限公司 A kind of network communication method
CN110572271A (en) * 2019-08-15 2019-12-13 贵阳朗玛信息技术股份有限公司 Method and system for managing voice chat room
CN111106996A (en) * 2019-12-28 2020-05-05 安徽微沃信息科技股份有限公司 WebSocket and cache-based multi-terminal online chat system
CN111249747A (en) * 2020-01-20 2020-06-09 网易(杭州)网络有限公司 Information processing method and device in game
CN111541555A (en) * 2020-03-24 2020-08-14 中国平安人寿保险股份有限公司 Group chat optimization method and related product
CN114095465A (en) * 2021-11-17 2022-02-25 北京同城必应科技有限公司 Method for realizing efficient IM message time sequence guarantee mechanism under distributed environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941748A (en) * 2005-09-30 2007-04-04 腾讯科技(深圳)有限公司 Group message transmitting method, transmitting end and system
CN101072385A (en) * 2007-06-27 2007-11-14 蒋晓海 Method for realizing mobile instant messaging by socket direct connection of mobile phone
CN101072148A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Multi-member aggregating exchange method, and server for network chatroom

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941748A (en) * 2005-09-30 2007-04-04 腾讯科技(深圳)有限公司 Group message transmitting method, transmitting end and system
CN101072148A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Multi-member aggregating exchange method, and server for network chatroom
CN101072385A (en) * 2007-06-27 2007-11-14 蒋晓海 Method for realizing mobile instant messaging by socket direct connection of mobile phone

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594912A (en) * 2012-03-15 2012-07-18 北京昆仑万维科技股份有限公司 Data processing method under server architecture, server and server architecture
CN102624924A (en) * 2012-04-11 2012-08-01 北京昆仑万维科技股份有限公司 Data processing method under server architecture
CN102624924B (en) * 2012-04-11 2015-02-04 北京昆仑万维科技股份有限公司 Data processing method under server architecture
CN103440578A (en) * 2013-08-07 2013-12-11 四川盛世宝典科技有限公司 Electronic commerce management system based on VR
CN103607423A (en) * 2013-10-23 2014-02-26 深圳海联讯科技股份有限公司 Distributed broadcast system based on WebSocket protocol
CN105743852A (en) * 2014-12-09 2016-07-06 航天信息股份有限公司 Method and system for carrying out socket connection and communication maintaining by using http to realize gap crossing
CN104486398A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Message transmission method and page client side
CN107912082A (en) * 2015-06-25 2018-04-13 可可株式会社 Method is provided by the messenger service of the open chat room providing message service corresponding to link information and performs message server and terminal that the messenger service provides method
CN105099885B (en) * 2015-07-13 2018-06-12 小米科技有限责任公司 Method for sending information and device
CN105099885A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Information transmitting method and device
CN105827709A (en) * 2016-03-31 2016-08-03 广东亿迅科技有限公司 Method for realizing real-time telephone traffic state of web voice telephone traffic system
CN107342929A (en) * 2016-08-10 2017-11-10 杭州朗和科技有限公司 A kind of sending method of new message notification, apparatus and system
CN107342929B (en) * 2016-08-10 2020-07-03 杭州朗和科技有限公司 Method, device and system for sending new message notification
CN108696364A (en) * 2017-04-06 2018-10-23 北京云中融信网络科技有限公司 Request message processing method, chatroom message server and chat room system
CN108696364B (en) * 2017-04-06 2020-10-16 北京云中融信网络科技有限公司 Request message processing method, chat room message server and chat room system
CN107222316A (en) * 2017-05-25 2017-09-29 游密科技(深圳)有限公司 A kind of the chatroom collocation method and chat room system of adaptive room number
CN107222316B (en) * 2017-05-25 2020-05-22 游密科技(深圳)有限公司 Chat room configuration method and chat room system adaptive to number of people in room
CN108900575A (en) * 2018-06-06 2018-11-27 深圳蓝贝科技有限公司 Long connection hierarchical communication method and system based on mobile terminal
CN108900575B (en) * 2018-06-06 2021-07-20 深圳蓝贝科技有限公司 Long connection hierarchical communication method and system based on mobile terminal
CN109361694A (en) * 2018-11-22 2019-02-19 北京未尔锐创科技有限公司 A kind of network communication method
CN109361694B (en) * 2018-11-22 2021-11-30 北京未尔锐创科技有限公司 Network communication method
CN110572271A (en) * 2019-08-15 2019-12-13 贵阳朗玛信息技术股份有限公司 Method and system for managing voice chat room
CN110572271B (en) * 2019-08-15 2023-02-28 贵阳朗玛信息技术股份有限公司 Method and system for managing voice chat room
CN111106996A (en) * 2019-12-28 2020-05-05 安徽微沃信息科技股份有限公司 WebSocket and cache-based multi-terminal online chat system
CN111249747A (en) * 2020-01-20 2020-06-09 网易(杭州)网络有限公司 Information processing method and device in game
CN111249747B (en) * 2020-01-20 2023-05-09 网易(杭州)网络有限公司 Information processing method and device in game
CN111541555A (en) * 2020-03-24 2020-08-14 中国平安人寿保险股份有限公司 Group chat optimization method and related product
CN114095465A (en) * 2021-11-17 2022-02-25 北京同城必应科技有限公司 Method for realizing efficient IM message time sequence guarantee mechanism under distributed environment

Also Published As

Publication number Publication date
CN102045270B (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102045270B (en) Chat server system, method for constructing chat server system and chat system
US8892768B2 (en) Load balancing apparatus and load balancing method
CN102118325B (en) Method and device for configuring chat client terminal, as well as chat client terminal
CN101997759B (en) Service implementation method and service system
CN101635728B (en) Method and system for data synchronization in content distribution network
KR101980129B1 (en) Peer-to-peer network system with manageability
CN110351246A (en) Server cluster system Socket management method and device
CN107528891B (en) Websocket-based automatic clustering method and system
US9426767B2 (en) Method, gateway, proxy and system for implementing mobile internet services
CN101370035A (en) Method and system for dynamic client/server network management using proxy servers
CN101237429A (en) Stream media living broadcasting system, method and device based on content distribution network
CN103475566A (en) Real-time message exchange platform and distributed cluster establishment method
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN103841045A (en) Internet cache processing method, content detection subsystem and Cache system
CN104394182A (en) Method for realizing content delivery network acceleration and source server
CN101616171B (en) Method, device and system for retaining node guiding state
CN106131138A (en) A kind of display data real time propelling movement system and method based on non-obstruction queue
CN114338063B (en) Message queue system, service processing method and computer readable storage medium
CN107689878A (en) TCP length connection SiteServer LBSs based on name scheduling
EP3576371B1 (en) Method and system for transmitting streaming media resource
CN103812947A (en) Data interaction system and method
CN111343286A (en) Network access system and network access method
CN112671554A (en) Node fault processing method and related device
CN103546528A (en) Distributed message pushing method and system
CN101163230A (en) Method of performing on-site living broadcast and client terminal node preparation through network camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121219

Termination date: 20131130