Message processing method and apparatus, computer device and storage medium

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

Active Publication Date: 2018-08-10
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 7 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 consumpti

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 apparatus, computer device and storage medium
  • Message processing method and apparatus, computer device and storage medium
  • Message processing method and apparatus, computer device 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, the functions of the modules / units in the message processing device described in the above-mentioned embodiment 2 are realized, for example Figure 6 The functions of modules 601 to 607 are shown....

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 is suitable for the technical field of communications, and provides a message processing method. The processing method comprises the steps of obtaining a message sending request, and according to object identifiers of a sender and a receiver in the message sending request, querying corresponding chat relationship identifier and chat relationship from a chat relationship library; if the corresponding chat relationship identifier and chat relationship exist in the chat relationship library, storing a message body in a message detail library according to the chat relationship identifier, and recording a message identifier of the message body, the object identifier of the sender and sending time in the message detail library; and according to the message identifier, updating a deleted cursor value and a read cursor value corresponding to the object identifier of the sender in the chat relationship. The message access in a server is realized; and the problems of high storage resource consumption and complex processing logic of message sending, reading and deletion due to a client-based storage mode in the prior art are solved.

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
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