Message storage method, device and equipment for instant messaging and computer readable medium

A communication and message technology, applied in the Internet field, can solve the problems of high performance consumption of synchronous storage of group messages, achieve the effects of reducing visits, solving high performance consumption, and improving response speed

Pending Publication Date: 2022-01-04
BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present application provides a message storage method, device, device and computer-readable medium for instant messaging, so as to solve the technical problem of large consumption of synchronous storage performance of group messages

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 storage method, device and equipment for instant messaging and computer readable medium
  • Message storage method, device and equipment for instant messaging and computer readable medium
  • Message storage method, device and equipment for instant messaging and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0055] In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, "module" and "component" may be mixedly used.

[0056] In related technologies, the server side of the instan...

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 relates to an instant messaging message storage method, device and equipment and a computer readable medium. The method comprises the steps that under the condition that a first process receives a target message, the target message is stored in a first cache, a distributed storage task of the target message is created in an asynchronous task pool, the target message is an instant messaging message sent by an instant messaging client in a target group, and the first process is used for receiving the instant messaging message; under the condition that the second process detects that a distributed storage task exists in the asynchronous task pool, the target message in the first cache is stored to a plurality of second caches, the second caches are caches corresponding to a plurality of instant messaging clients in the target group, one instant messaging client corresponds to one second cache, and the second cache is a cache corresponding to the plurality of instant messaging clients in the target group. The second cache is used for the corresponding instant messaging client to read the target message from the second cache according to the message receiving instruction. The technical problem of high consumption of synchronous storage performance of the group message is solved.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a message storage method, device, equipment and computer-readable medium for instant messaging. Background technique [0002] Instant Messaging (IM for short) is a real-time communication system that allows two or more people to use the network to transmit text messages, files, voice and video exchanges in real time. The real-time requirements of the instant messaging system are very high, so the performance requirements for the server are also extremely high. However, in the related art, the server of the instant messaging system directly stores the instant messaging messages in the database, and the frequency of reading and writing operations on the database is extremely high. Limited by performance bottlenecks, in the instant messaging scenario where multiple users participate in a large group chat, since group messages need to be synchronized to each parti...

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): G06F16/27G06F16/2458G06F16/2455G06F9/54G06F9/50
CPCG06F16/273G06F16/2471G06F16/24552G06F9/546G06F9/5038G06F2209/548G06F2209/5011
Inventor 窦志同覃建策王贵喜杨元
Owner BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products