Unlock instant, AI-driven research and patent intelligence for your innovation.

High-concurrency chat room message distribution method and device

A technology for message distribution and chat room, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as increased message delay, reduced user experience in chat rooms, and increased message concurrency.

Active Publication Date: 2021-12-24
YUNZHILIAN NETWORK TECH(BEIJING) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when there are many users in the live chat room, and they are concentrated in the live broadcast period with relatively high popularity, when sending messages in the live chat room, it is easy to increase the number of concurrent messages
When the concurrency of messages sent in the live chat room is greater than the egress bandwidth of the server, it will make it difficult to send the messages in the chat room, which will increase the delay of the messages in the chat room and reduce the user experience of the chat room

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-concurrency chat room message distribution method and device
  • High-concurrency chat room message distribution method and device
  • High-concurrency chat room message distribution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0036] Please refer to figure 1 and figure 2 , figure 1 Shown is a flow chart of a high-concurrency chat room message distribution method provided by the embodiment of the present application, figure 2 Shown is a flow chart of another method for distributing messages in a high-concurrency chat room provided by the embodiment of the present application. A method for distributing messages in a high-concurrency chat room, comprising the steps of:

[0037] S110: The connection layer receives the client message, decodes the client message to obtain a decoded message, and forwards the decoded message to the service layer;

[0038] Specifically, the above-mentioned connection layer has the function of link maintenance and connection, that is, the connection layer can establish long connections with all clients of the chat room and the business layer at the same time, and can maintain the connection layer and all clients of the chat room, as well as the connection layer and the b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a high-concurrency chat room message distribution method and device, and relates to the technical field of instant messaging. The method comprises the following steps that: a connection layer receives a client message, decodes the client message to obtain a decoded message, and forwards the decoded message to a service layer; and the service layer decrypts the decoded message, adds a protocol header to the client message if the client message is successfully decrypted and obtained, and sends the client message added with the protocol header to a message queue. And the third party integrates the logic SDK, and the message queue distributes the client message added with the protocol header to the third party through the logic SDK. And finally, the user messages processed by the third party are issued to all clients of the current chat room. And the logic SDK integrated by the third party calls the client messages in the message queue, so that the problem that the message delay of the chat room is increased when the concurrency of the messages sent in the chat room is too high is avoided. Therefore, the sudden increase of business is flexibly handled, and low-delay and smooth chat room service is provided for the user.

Description

technical field [0001] The invention relates to the technical field of instant messaging, in particular to a method and device for distributing messages in a high-concurrency chat room. Background technique [0002] With the rapid development of the Internet, instant messaging has become an indispensable means of communication in people's lives, and instant messaging has been widely used in leisure, entertainment and work. As a new instant communication method, chat rooms are favored by people. And quickly entered the enterprise field from show live broadcast, game live broadcast, etc., and cut into various business scenarios such as education, training, conferences, e-commerce, and marketing. In business scenarios such as live broadcast, chat rooms play an important role in message communication. [0003] For a live chat room under the Internet environment, every time a user sends a message, the message will first be transmitted to the server, and then distributed to ever...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/58H04L29/06H04L29/08
CPCH04L51/043H04L51/046H04L51/10H04L63/0428H04L67/141H04L69/22
Inventor 陈帅雷刘宁
Owner YUNZHILIAN NETWORK TECH(BEIJING) CO LTD