Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message processing method and device for live chat room

A message processing and chat room technology, which is applied in the field of message processing in live chat rooms, can solve problems such as wasting server-side resources, and achieve the effect of avoiding waste

Active Publication Date: 2019-03-12
北京云中融信网络科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the related art that messages that are useless to the client largely waste server-side resources, an embodiment of the present invention provides a message processing method and device for a live 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
  • Message processing method and device for live chat room
  • Message processing method and device for live chat room
  • Message processing method and device for live chat room

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0021] In order to facilitate the understanding of the various embodiments of the present invention, firstly, the nouns involved in the various embodiments of the present invention are explained:

[0022] Host: The user who opens the live chat room. Generally speaking, the video image captured by the host's camera is displayed in the live chat room, and other users can watch the video of the host in the chat room.

[0023] Live chat room: a cloud service product that provides real-time message interaction between the host and the audience (ie non-host users participating in the live chat room) for the live video business. It is characterized by unlimited number of people in the chat room, and supports massive concurrent messages, Insta...

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 discloses a message processing method and device of a live chat room, belonging to the technical field of computer. The message processing method of the live chat room comprises the following steps: discarding or retaining received messages of the live chat room selectively according to the priority of the messages, so that the number of the retained messages of the live chat room during a statistical time period is within a preset range, wherein the priority of the messages discarded before in the same statistical time period is not higher than the priority of the messages discarded after; and reading a message that is not sent to the client from the messages of the live chat room that are retained and processed when it is required to send the message of the live chat room to the client, and sending the read message to the client. By means of the message processing method and device of the live chat room, a number of messages of the live chat room with lower priority canbe discarded directly on the server, therefore, the server can be avoided to deal with all high concurrency messages, and the waste of the high concurrency messages to server resources is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a message processing method and device for a live chat room. Background technique [0002] The live chat room has the characteristics of high concurrent messages, and has relatively high requirements for real-time message reception. The client users can see up to 100 messages per second. When the number of messages in the chat room is large, such as tens of thousands or even higher per second, you need to consider discarding redundant messages. [0003] In related technologies, when discarding messages in a live chat room, a method is adopted to discard redundant messages at the client. For example, when the client receives messages, it uses a message queue to ensure that only 100 messages are processed per second. If the length of the message queue is 100, it waits for 10 milliseconds for each message consumed; If the messages pushed by the server are received, the messages ...

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 Patents(China)
IPC IPC(8): H04N21/4788H04N21/254
CPCH04N21/254H04N21/4788
Inventor 李淼石鹏
Owner 北京云中融信网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products