CN111565209A - Client instant messaging method, device, equipment and medium - Google Patents
Client instant messaging method, device, equipment and medium Download PDFInfo
- Publication number
- CN111565209A CN111565209A CN201910807234.XA CN201910807234A CN111565209A CN 111565209 A CN111565209 A CN 111565209A CN 201910807234 A CN201910807234 A CN 201910807234A CN 111565209 A CN111565209 A CN 111565209A
- Authority
- CN
- China
- Prior art keywords
- client
- server
- information
- instant messaging
- cache database
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1046—Joining mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1048—Departure or maintenance mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a client instant communication method, which relates to the technical field of communication and aims to realize the instant communication of a client by sharing session information of the client and connected server information, and the method comprises the following steps: receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client; judging whether the server information connected with the first client is the same as the server information connected with the second client, if so, forwarding the message to the second client through the same server; and if the two messages are different, forwarding the message to the second client through a server connected with the second client. The invention also discloses a client instant communication device, electronic equipment and a computer storage medium.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for client instant messaging.
Background
Instant messaging software has now become an important means for users to communicate over a network. With the demand for increasingly faster real-time communication in recent years, instant messaging software is rapidly developing, and has gradually become an important means for daily communication.
The instant messaging technology is mainly used for point-to-point communication between clients of a chat system at present. The existing point-to-point communication process is as follows: at present, most of sessions of a chat system are stored in a local chat server, and a client needs to communicate with the client by virtue of sessions maintained between the chat server and the client. And most chat servers are deployed in a non-cluster environment, the number of connected clients is limited, and when the number of clients reaches the upper limit of the chat servers, the communication influence on the whole chat system can be caused. If more clients need to be connected, the hardware configuration of the chat server needs to be improved, and the expandability is very low.
In order to increase the number of clients connectable to the chat server, the expandability of the chat server must be increased, and then the chat server needs to be deployed in a clustering manner. In order to realize communication between clients in a cluster environment, when a client connects to a chat server, the client connection information needs to be stored by using a relational database, so that when the client communicates, the chat server can acquire target client connection information from the relational database, thereby obtaining a chat server connected with the target client, and then, the information is sent to the target client by means of communication between the cluster servers.
When point-to-point communication under a cluster environment is realized, a specific position of a target client cannot be found conveniently, and at present, only the connection information of the target client needs to be positioned by means of a relational database, but the information reading and writing efficiency is low, especially when the number of the clients is increased continuously, the reading and writing efficiency is slower, and when the database is damaged, the communication between the clients is seriously influenced.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide a client instant messaging method, which shares a client session through a cache database, thereby achieving the peer-to-peer communication efficiency between clients in a server cluster environment and ensuring the stability of the client peer-to-peer instant messaging.
One of the purposes of the invention is realized by adopting the following technical scheme:
a client instant messaging method comprises the following steps:
receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
judging whether the server information connected with the first client is the same as the server information connected with the second client, if so, forwarding the message to the second client through the server connected with the first client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
Further, the cache database stores a client number, session information of a client corresponding to the client number, and connected server information; the method comprises the following steps that when a client sends a connection request to a server, the cache database receives or updates a client number, session information and connected server information of the client, and specifically comprises the following steps:
when receiving a connection request sent by a client, a server establishes connection with the client through a socket and acquires a client number of the client;
the server establishes connection with a cache database, and acquires session information of the client and connected server information from the cache database according to the client number;
if the session information of the client and the server information connected with the client fail to be acquired, storing the client number, the session information of the client and the server information connected with the client into the cache database in a key-value manner;
and if the session information of the client and the connected server information are successfully acquired, updating the client number, the session information of the client and the connected server information in a cache database.
Further, if the client connection is interrupted, session information of the client and server information connected with the client are deleted from the cache database.
Further, the message sent by the first client includes a message to be sent and a client number of the second client.
Further, if the session information of the second client and the server information connected to the second client are not obtained from the cache database through the client number of the second client, it is determined that the connection of the second client is interrupted, and the sending of the message sent by the first client to the server connected to the first client is finished.
Further, the cache database is a redis database or a memcached system.
Further, connecting a plurality of the redis databases or the menceheaded systems to form a cache database cluster.
Another objective of the present invention is to provide an instant messaging device for client, which can implement peer-to-peer communication between clients in a cluster environment by sharing session information of the clients, and can effectively improve message transmission efficiency.
The second purpose of the invention is realized by adopting the following technical scheme:
the information receiving module is used for receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
the information forwarding module is used for judging whether the server information connected with the first client is the same as the server information connected with the second client or not, and if so, forwarding the message to the second client through the server connected with the first client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
It is a further object of the present invention to provide an electronic device for performing one of the above objects, comprising a processor, a storage medium and a computer program, the computer program being stored in the storage medium, the computer program, when executed by the processor, implementing the above-mentioned client instant messaging method.
It is a fourth object of the present invention to provide a computer readable storage medium storing one of the objects of the invention, having a computer program stored thereon, which when executed by a processor, implements the above-mentioned client instant messaging method.
Compared with the prior art, the invention has the beneficial effects that:
the invention utilizes the cache database such as redis to store the session information of the online client under the cluster environment and share the session information under the cluster environment, so that the server can effectively acquire the connection information of each client under the cluster environment, and the information acquisition efficiency is high, thereby ensuring the instantaneity of point-to-point communication between the clients and improving the communication efficiency and the communication stability between the clients.
Drawings
FIG. 1 is a flow chart of a client instant messaging method of the present invention;
FIG. 2 is a deployment diagram of the redis database clustering in embodiment 1 for implementing client instant messaging;
fig. 3 is a block diagram of the structure of the client instant messaging device of embodiment 2;
fig. 4 is a block diagram of the electronic apparatus of embodiment 3.
Detailed Description
The present invention will now be described in more detail with reference to the accompanying drawings, in which the description of the invention is given by way of illustration and not of limitation. The various embodiments may be combined with each other to form other embodiments not shown in the following description.
Example 1
The embodiment provides a client instant messaging method, which aims to cache a client number, session information of a client and server information connected with the client in a key-value mode by using a cache database such as reids and the like, so that in the peer-to-peer communication process of the client, the session information of the receiving client and the server information connected with the receiving client can be obtained from redis according to the receiving client number provided by the sending client, thereby realizing the transmission of messages to the receiving client and completing the peer-to-peer communication between the clients. The instant messaging method of the client side is divided into two situations:
(1) if the instant messaging of the client side occurs between two client sides of the same server, the server obtains the session information of the target client side through redis, and the message can be directly sent to the target client side.
(2) And if the client instant messaging occurs between two clients connected to different servers in the cluster environment, acquiring session information of the receiving client and server information connected with the receiving client through redis. Judging whether the receiving client and the sending client are connected to the same server, if the connected servers are different, sending a message to the server connected with the receiving client, and then sending the message to the receiving client through the server connected with the receiving client, so that the point-to-point communication between the clients in the cluster environment is realized.
According to the above principle, a client instant messaging method is introduced, as shown in fig. 1, the client instant messaging method specifically includes the following steps:
the server receives a connection request sent by a first client, establishes socket connection with the first client and obtains a client number of the first client; then, acquiring session information of a first client and server information connected with the first client in a cache database through a client number of the first client;
after socket connection is established, a server receives a message sent by a first client, analyzes the message to obtain a client number of a second client, and then obtains session information of the second client and server information connected with the second client from a cache database through the client number of the second client;
the server judges whether the server information connected with the first client is the same as the server information connected with the second client according to the acquired information, and if so, the server directly forwards the message to the second client; if the difference is not the same, the server firstly forwards the message to the server connected with the second client, and then forwards the message to the target client through the server connected with the second client.
The client instant messaging method of the embodiment is applied to client communication in a server cluster environment, the server may be a chat server mentioned in the background art, firstly, in order to implement client instant messaging in the cluster environment, a server cluster needs to be established first, so that servers can be mutually invoked, that is, communication between the servers is established by providing an interface for message communication between the servers, thereby completing establishment of the server cluster, so that the server connected with the client can be used as an intermediate medium, and communication between clients in the cluster environment is simply implemented. The first client side involved in the client side instant messaging method refers to a client side sending messages, the second client side refers to a client side receiving the messages, the first client side constructs the sent messages and sends the messages to the second client side through the server (the server connected with the first client side), and the second client side receives the messages and then displays the messages.
In other embodiments, the client number of the first client may also be stored in the message sent by the first client, so that the server is connected to the cache server to obtain the information of the first client after receiving the message sent by the first client.
When the server connected with the second client is the same as the server connected with the first client, the message is firstly sent to the server connected with the second client by the interface of the message between the servers connected with the first client, and then the message is forwarded to the second client by the server connected with the second client, so that the instant communication between the clients is completed.
In the embodiment, the redis database is selected as the cache database, has the advantages of high reading and writing efficiency and sufficient capacity, and is favorable for providing the instant communication efficiency between the clients.
By the client instant messaging method, the session information of the client and the information of the connected server can be cached and shared, the efficiency of client single instant messaging is improved, and point-to-point instant messaging between the clients connected with different servers is completed by acquiring the session information of the client and the information of the connected server in the redis database.
In other embodiments, the instant messaging method of the client side of the invention is applied to the instant messaging between the client sides connected with the same server.
In order to realize the sharing of the session information of the client, the cache database stores the client number, the session information of the client corresponding to the client number and the connected server information; the method comprises the following steps that when a client sends a connection request to a server, the cache database receives or updates a client number, session information and connected server information of the client, and specifically comprises the following steps:
when receiving a connection request sent by a client, a server establishes connection with the client through a socket and acquires a client number of the client;
the server establishes connection with a cache database, and acquires session information of the client and connected server information from the cache database according to the client number;
if the session information of the client and the server information connected with the client fail to be acquired, storing the client number, the session information of the client and the server information connected with the client into the cache database in a key-value manner;
and if the session information of the client and the connected server information are successfully acquired, updating the client number, the session information of the client and the connected server information in a cache database.
After the client is disconnected from the server, the server deletes the session information of the client and the connected server information from the redis database according to the client number, so that the session information of the client (the client connected with the server) and the connected server information which are all online and cached in the redis database can be ensured.
These clients that are online can both send and accept messages. If the session information of the client (target client) receiving the message and the connected server information do not exist in the redis database, it indicates that the client is offline and the server cannot be connected to the client, and forwards the message to be sent to the server of the client sending the message, i.e. ends the message sending until the client receiving the message connects to the server, and then the server of the client sending the message continues sending the message.
Preferably, the cache database may also be a memcached system.
Preferably, when the online volume of the client is large, a redis database or a memcached system can be clustered, that is, a plurality of redis databases or a memcached system are connected to form a cache database cluster, so that the access speed and the storage space can be effectively improved, and when part of the redis databases or the memcached system is paralyzed, the instant messaging service is not affected, and the life cycle of the instant messaging service is greatly improved. Taking a redis database as an example, as shown in fig. 2, a redis database cluster is established to realize client instant messaging in a server cluster environment.
Example 2
The embodiment discloses a device corresponding to the client instant messaging method of embodiment 1, and please refer to fig. 3, which includes:
the information receiving module 310 is configured to receive a message sent by a first client to a second client, acquire client numbers of the first client and the second client, and acquire session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
an information forwarding module 320, configured to determine whether the server information connected to the first client is the same as the server information connected to the second client, and if so, directly forward the message to the second client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
The cache database is a redis database or a memcached system.
When the information receiving module 310 acquires the session information of the first client and the connected server information corresponding to the client number of the first client from a redis database or a memcached system, if the acquisition fails, storing the client number of the first client, the session information of the first client and the connected server information of the first client into the redis database by key-value, specifically, taking the client number as key, and taking the session information of the first client and the connected server information as value; and if the acquisition is successful, the redis database updates the client number of the first client, the session information of the first client and the connected server information.
When the session information and the connected server information of the second client are not obtained from the cache database through the client number of the second client, it is indicated that the second client is offline and cannot be connected to the second client, the message is stored in the server of the first client, that is, the first client message sending process is ended, until the second client is connected to the server again, the session information of the second client and the server information connected to the second client are obtained again, and the server of the first client continues to forward the message through the message forwarding module 320.
Example 3
Fig. 4 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention, as shown in fig. 4, the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the computer device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic apparatus may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The memory 420 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the client instant messaging method in the embodiment of the present invention (e.g., the information receiving module 310, the information forwarding module 320 in the client instant messaging device). The processor 410 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 420, that is, implements the client instant messaging method of embodiment 1.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to an electronic device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive connection requests, messages sent by clients, and the like. The output device 440 is used for outputting the message to be transmitted.
Example 4
Embodiment 4 of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions, when executed by a computer processor, are configured to implement a client-side instant messaging method, where the method includes:
receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
judging whether the server information connected with the first client is the same as the server information connected with the second client, if so, forwarding the message to the second client through the server connected with the first client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the client instant messaging method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling an electronic device (which may be a mobile phone, a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the client instant messaging method or apparatus, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present invention.
Claims (10)
1. A client instant messaging method is characterized by comprising the following steps:
receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
judging whether the server information connected with the first client is the same as the server information connected with the second client, if so, forwarding the message to the second client through the server connected with the first client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
2. The client instant messaging method according to claim 1, wherein the cache database stores a client number and session information and connected server information of a client corresponding to the client number; the method comprises the following steps that when a client sends a connection request to a server, the cache database receives or updates a client number, session information and connected server information of the client, and specifically comprises the following steps:
when receiving a connection request sent by a client, a server establishes connection with the client through a socket and acquires a client number of the client;
the server establishes connection with a cache database, and acquires session information of the client and connected server information from the cache database according to the client number;
if the session information of the client and the server information connected with the client fail to be acquired, storing the client number, the session information of the client and the server information connected with the client into the cache database in a key-value manner;
and if the session information of the client and the connected server information are successfully acquired, updating the client number, the session information of the client and the connected server information in a cache database.
3. The method of instant messaging at a client end according to claim 2, wherein if the client end connection is interrupted, session information of the client end and server information of the client end connection are deleted from the cache database.
4. The client instant messaging method of claim 1, wherein the message sent by the first client comprises a message to be sent and a client number of the second client.
5. The method according to claim 4, wherein if the session information of the second client and the server information connected to the second client are not obtained from the cache database through the client number of the second client, it is determined that the connection of the second client is interrupted, and the sending of the message sent by the first client to the server connected to the first client is terminated.
6. The client instant messaging method according to any of claims 1 to 5, wherein the cache database is a redis database or a memcached system.
7. The client instant messaging method of claim 6, wherein connecting a number of the redis databases or mencached systems forms a cache database cluster.
8. A client instant messaging device, comprising:
the information receiving module is used for receiving a message sent by a first client to a second client, acquiring client numbers of the first client and the second client, and respectively acquiring session information and connected server information of the first client and the second client in a cache database according to the client numbers of the first client and the second client;
the information forwarding module is used for judging whether the server information connected with the first client is the same as the server information connected with the second client or not, and if so, forwarding the message to the second client through the server connected with the first client; and if the two messages are different, forwarding the message to the second client through a server connected with the second client.
9. An electronic device comprising a processor, a storage medium, and a computer program, the computer program being stored in the storage medium, wherein the computer program, when executed by the processor, implements the client instant messaging method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the client instant messaging method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910807234.XA CN111565209B (en) | 2019-08-29 | 2019-08-29 | Client instant messaging method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910807234.XA CN111565209B (en) | 2019-08-29 | 2019-08-29 | Client instant messaging method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111565209A true CN111565209A (en) | 2020-08-21 |
CN111565209B CN111565209B (en) | 2023-04-18 |
Family
ID=72072906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910807234.XA Active CN111565209B (en) | 2019-08-29 | 2019-08-29 | Client instant messaging method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111565209B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012159538A1 (en) * | 2011-05-24 | 2012-11-29 | 苏州阔地网络科技有限公司 | Instant messaging system and method for sharing information |
CN102970207A (en) * | 2011-09-01 | 2013-03-13 | 腾讯科技(深圳)有限公司 | Instant communication method, client device and instant communication system |
CN103200212A (en) * | 2012-01-04 | 2013-07-10 | 中国移动通信集团公司 | Method and system achieving distributed conversation under cloud computing environment |
CN103685304A (en) * | 2013-12-25 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for sharing session information |
CN103795614A (en) * | 2014-03-10 | 2014-05-14 | 上海四方信息技术股份有限公司 | Instant mobile communication system and method |
CN104734936A (en) * | 2013-12-19 | 2015-06-24 | 中兴通讯股份有限公司 | Instant message processing method, device and system |
CN106161186A (en) * | 2015-03-31 | 2016-11-23 | Tcl集团股份有限公司 | Instant communication method and device |
CN106713391A (en) * | 2015-11-13 | 2017-05-24 | 北京新媒传信科技有限公司 | Session information sharing method and sharing system |
CN108023807A (en) * | 2017-11-02 | 2018-05-11 | 东软集团股份有限公司 | Instant communicating method, server and message-oriented middleware |
CN109395400A (en) * | 2018-10-17 | 2019-03-01 | 网易(杭州)网络有限公司 | Chat message processing method and processing device across game, electronic equipment, storage medium |
-
2019
- 2019-08-29 CN CN201910807234.XA patent/CN111565209B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012159538A1 (en) * | 2011-05-24 | 2012-11-29 | 苏州阔地网络科技有限公司 | Instant messaging system and method for sharing information |
CN102970207A (en) * | 2011-09-01 | 2013-03-13 | 腾讯科技(深圳)有限公司 | Instant communication method, client device and instant communication system |
CN103200212A (en) * | 2012-01-04 | 2013-07-10 | 中国移动通信集团公司 | Method and system achieving distributed conversation under cloud computing environment |
CN104734936A (en) * | 2013-12-19 | 2015-06-24 | 中兴通讯股份有限公司 | Instant message processing method, device and system |
CN103685304A (en) * | 2013-12-25 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for sharing session information |
CN103795614A (en) * | 2014-03-10 | 2014-05-14 | 上海四方信息技术股份有限公司 | Instant mobile communication system and method |
CN106161186A (en) * | 2015-03-31 | 2016-11-23 | Tcl集团股份有限公司 | Instant communication method and device |
CN106713391A (en) * | 2015-11-13 | 2017-05-24 | 北京新媒传信科技有限公司 | Session information sharing method and sharing system |
CN108023807A (en) * | 2017-11-02 | 2018-05-11 | 东软集团股份有限公司 | Instant communicating method, server and message-oriented middleware |
CN109395400A (en) * | 2018-10-17 | 2019-03-01 | 网易(杭州)网络有限公司 | Chat message processing method and processing device across game, electronic equipment, storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111565209B (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103780679B (en) | Long delay remote invocation method based on http protocol | |
CN100407627C (en) | Method and system for realizing end-to-end data sharing | |
CN108881354B (en) | Push information storage method and device, server and computer storage medium | |
US20200059353A1 (en) | Data fetching in data exchange networks | |
CN106713391B (en) | Session information sharing method and sharing system | |
CN108377247B (en) | Message pushing method and device | |
CN110582998A (en) | Group communication method and device, computer storage medium and computer equipment | |
US20160337467A1 (en) | Method and system for information exchange utilizing an asynchronous persistent store protocol | |
CN111343286A (en) | Network access system and network access method | |
US9350606B2 (en) | System and method for assigning server to terminal and efficiently delivering messages to the terminal | |
CN111917562A (en) | Broadcast message forwarding method, device, equipment and storage medium | |
CN111585786A (en) | Realization of secret-free building method of big data cluster | |
CN114584602B (en) | Session state management method, system, device, equipment and storage medium | |
CN110380967B (en) | SSE technology-based server message pushing method | |
CN109525633B (en) | Block chain network, message sending method and message receiving method based on block chain network | |
US20180081746A1 (en) | Application message processing system, method, and application device | |
US9473430B2 (en) | Method and system for group number-based microblog aggregation | |
CN110798495A (en) | Method and server for end-to-end message push in cluster architecture mode | |
CN109088918A (en) | A kind of exchange method, client device and server device | |
CN111565209B (en) | Client instant messaging method, device, equipment and medium | |
CN104617666A (en) | Power distribution network data transmission method using publishing and subscribing communication model | |
CN111880932A (en) | Data storage method and device based on multiple network ports | |
WO2019119962A1 (en) | Information processing method, system, terminal, and computer readable storage medium | |
CN112559134B (en) | Distributed WebSocket cluster construction method, device, system and storage medium | |
CN108076111B (en) | System and method for distributing data in big data platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |