Group message writing method and device, server and storage medium

A group message and message service technology, applied to instruments, digital data information retrieval, transmission systems, etc., can solve problems such as database cache avalanche

Pending Publication Date: 2020-05-19
GUANGZHOU BAIGUOYUAN NETWORK TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When faced with hot topics at this time, for write diffusion, the server will receive group messages from a large number of conversational parties in different groups at the same time, and write them into the group message table and the corresponding personal message table in batches, so that Group messages have high-frequency peak traffic, which puts a lot of pressure on the writing of group messages under write diffusion, which can easily lead to cache avalanche problems in the corresponding written database

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
  • Group message writing method and device, server and storage medium
  • Group message writing method and device, server and storage medium
  • Group message writing method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Figure 1A It is a flow chart of a method for writing a group message provided by Embodiment 1 of the present invention, and this embodiment can be applied to any situation in which a group message is written in a database by means of write flooding. A method for writing a group message provided in this embodiment can be executed by a device for writing a group message provided in an embodiment of the present invention. The device can be implemented by means of software and / or hardware, and integrated in the implementation In the server of the method, the server may be a background server corresponding to an application program having a group conversation function.

[0029] Specifically, refer to Figure 1A , the method may include the following steps:

[0030] S110. Convert the group message at the current moment into copies of the group message to be forwarded to the members of the group to be delivered.

[0031] Specifically, the existing group message writing metho...

Embodiment 2

[0042] Figure 2A It is a flow chart of a method for writing a group message provided in Embodiment 2 of the present invention, Figure 2B It is a schematic diagram of the principle of the writing process of the group message provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, and this embodiment mainly explains in detail the specific process of sequentially writing copies of each group message in the database.

[0043] optional, such as Figure 2A As shown, this embodiment may include the following steps:

[0044] S210. Convert the group message at the current moment into copies of the group message to be forwarded to the members of the group to be delivered.

[0045] S220. Determine whether the total amount of group message copies reaches a preset message service threshold; if yes, perform S230; if not, perform S260.

[0046] S230. Calculate the score of the group message copy according to the group conve...

Embodiment 3

[0064] Figure 3A It is a flow chart of a method for writing a group message provided by Embodiment 3 of the present invention, Figure 3B It is a schematic diagram of the principle of the writing process of the group message provided by the third embodiment of the present invention. This embodiment is optimized on the basis of the foregoing embodiments, and this embodiment mainly explains in detail the different processing stages to which group messages belong.

[0065] optional, such as Figure 3A As shown, this embodiment may include the following steps:

[0066] S310. Through the front-end access layer, the group messages at the current moment are respectively converted into copies of the group messages corresponding to the members to be delivered in the group to which they belong.

[0067] Specifically, this embodiment aims at the different processing procedures of group messages, and pre-designs the writing process of group messages hierarchically. At this time, it ma...

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 embodiment of the invention discloses a group message writing method and a device, a server and a storage medium. The method comprises the following steps: respectively converting a group messageat the current moment into group message copies forwarded to each member to be issued in a group to which the group message belongs; and if the total amount of the group message copies reaches a preset message service threshold, calculating scores of the group message copies according to the group session value information of the group message copies in the group to which the group message copiesbelong, and sequentially writing the group message copies into a database according to the scores. According to the group message writing method, group message copies do not need to be written in batches under write diffusion; and the scores are used for sequencing the writing of the group message copies, so that the condition of database avalanche during batch writing is avoided, the effective writing of the group messages under the peak message quantity is ensured, the writing pressure of the group messages under the peak message quantity is reduced, and the writing quality of the group messages is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of message processing, and in particular, to a method, device, server and storage medium for writing group messages. Background technique [0002] With the rapid development of Internet technology, a large number of different topic groups will be opened for various discussion topics on the Internet. Any conversational party participating in a topic group can read other conversational parties in this topic group. A group message written in a group; at this time, the group message writing method generally includes read flooding based on a large number of group participations and write flooding based on a small number of group participations. [0003] For read flooding, when the server receives a group message from a conversational party, it first writes the group message into the corresponding group message table, and other conversational parties pull the group message spontaneously and update ...

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
IPC IPC(8): G06F16/335G06F16/9035H04L12/58
CPCG06F16/335G06F16/9035H04L51/06H04L51/52
Inventor 林耀城邓昊
Owner GUANGZHOU BAIGUOYUAN NETWORK TECH
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