Message processing method, device, computer equipment and storage medium

A processing method and message technology, which is applied in the field of communication, can solve the problems of complex processing logic and large storage resource consumption, and achieve the effects of solving large storage resource consumption, ensuring consistency, and saving data storage space

Active Publication Date: 2020-12-25
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a message processing method, device, computer equipment, and storage medium to solve the problem of high consumption of storage resources and complex processing logic of message sending, reading, and deletion caused by the client-based storage method in the prior art. The problem

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, device, computer equipment and storage medium
  • Message processing method, device, computer equipment and storage medium
  • Message processing method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0134] Figure 6 It shows the first structural diagram of the message processing device provided by the embodiment of the present invention, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0135] In the embodiment of the present invention, the message processing device is used to realize the above figure 1 , figure 2 , image 3 Figure 4 or Figure 5 The message processing method described in the embodiments may be a software unit, a hardware unit, or a combination of software and hardware built into the computer device. The computer device may be a background server. Optionally, the message includes, but is not limited to, a short message, a chat message in a social application program, and an intra-site message.

[0136] refer to Figure 6 , the message processing device includes:

[0137] A message obtaining module 601, configured to obtain a message sending request, wherein the message sending ...

Embodiment 3

[0164] This embodiment provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the message processing method in Embodiment 1 is implemented. To avoid repetition, details are not repeated here. Alternatively, when the computer program is executed by the processor, the functions of the modules / units in the message processing device in Embodiment 2 are realized, and details are not repeated here to avoid repetition.

[0165] It can be understood that the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal and telecommunication signal, etc.

Embodiment 4

[0167] Figure 7 It is a schematic diagram of a computer device provided by an embodiment of the present invention. Such as Figure 7 As shown, the computer device 7 of this embodiment includes: a processor 70 , a memory 71 and a computer program 72 stored in the memory 71 and operable on the processor 70 . When the processor 70 executes the computer program 72, it implements the steps of the message processing method in Embodiment 1 above, for example figure 1 shown in steps S101 to S104, figure 2 Steps S105 to S107 described in the embodiment, image 3 Steps S301 to S304 described in the embodiment and Figure 4 Steps S401 to S403 described in the embodiment, Figure 5 Steps S501 to S505 described in the embodiment, or, when the processor 70 executes the computer program 72, realizes the functions of each module / unit in the message processing device described in the second embodiment above, for example Figure 6 The functions of modules 601 to 607 are shown.

[0168]...

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 present invention is applicable to the technical field of communication, and provides a message processing method, the processing method comprising: obtaining a message sending request, and according to the object identifier of the sender and the object identifier of the receiver in the message sending request, from the chat relationship Query the corresponding chat relationship identifier and chat relationship in the database; if there is a corresponding chat relationship identifier and chat relationship in the chat relationship database, then according to the chat relationship identifier, the message body is stored in the message details database, and in the Record the message ID of the message body, the object ID of the sender, and the sending time in the message details library; update the corresponding delete cursor value and read cursor value of the object ID of the sender in the chat relationship according to the message ID value. The invention realizes the message access at the server end, and solves the problems of large consumption of storage resources and complicated processing logic of message sending, reading and deletion caused by the client-based storage mode in the prior art.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a message processing method, device, computer equipment and storage medium. Background technique [0002] In the prior art, a client-based storage method is adopted for recording chat messages. If the user changes the device, he will not be able to view the past chat partners and chat content. Furthermore, if there are 100 members in a chat group, if user Zhang San sends to the other 99 members: Hello everyone. Then 100 copies of the message "Hello everyone" will be stored in each member's client, so 99 copies will be stored repeatedly. As the number of users increases and the amount of messages increases, this repeated storage will consume a lot of storage resources; and when processing whether the message has been read or deleted, the logic will be more complicated. If the number of users of the application reaches tens of millions, and each user has hundre...

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): G06F3/06
CPCG06F3/0608G06F3/061G06F3/0626G06F3/0655G06F3/067
Inventor 刘浩
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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