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

Message synchronization method and device, electronic equipment and readable storage medium

A message and message header technology, applied in the field of data processing, can solve problems such as low message synchronization efficiency, and achieve the effects of improving message synchronization efficiency, improving synchronization efficiency, and simple push operation.

Active Publication Date: 2021-03-12
招商局金融科技有限公司
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both of these synchronization methods lead to inefficient message synchronization

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 synchronization method and device, electronic equipment and readable storage medium
  • Message synchronization method and device, electronic equipment and readable storage medium
  • Message synchronization method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the objectives, technical solutions and advantages of the present invention, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It will be appreciated that the specific embodiments described herein are intended to explain the present invention and is not intended to limit the invention. Based on the embodiments of the present invention, there are all other embodiments obtained without making creative labor without making creative labor premises.

[0043]It should be noted that in the present invention, "first", "second", etc., "first", "second", and the like are used only for the purpose of describing purposes, and cannot be understood as indicating or implies the number of relative importance or implicit indicated by the indicated technical features. . Thus, features with "first", "second" may be indicated or implicitly including at least one of this feature. In addition, the technical ...

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 data processing, and discloses a message synchronization method, and the method comprises the following steps: storing each session message into a message sequence corresponding to each session; establishing a corresponding session set for each user, wherein the session set comprises a to-be-synchronized message queue and a push record table, the push record table comprises a first code of the last message in the message sequence, a second code of the last message in the to-be-synchronized message queue and a third code of the pushed last message; storing the newly added message into each to-be-synchronized message queue every first time to obtain a new first code and a new second code; and pushing the message between the third code and the new second code in eachto-be-synchronized message queue corresponding to the specified client to the specified client when judging that the message needs to be pushed. The invention further provides a message synchronization device, electronic equipment and a readable storage medium. According to the invention, the message synchronization efficiency is improved.

Description

Technical field [0001] The present invention relates to the field of data processing, and more particularly to a message synchronization method, apparatus, electronic device, and readable storage medium. Background technique [0002] With the development of Internet technology, the application of instant messaging is more wide, for example, people use software such as WeChat, QQ or staples as daily work, communication tools in life, with the increase of the amount of messages, more Greg, how to synchronize the message to the corresponding client? [0003] Message synchronization is usually usually performed by reading diffusion or writing. When reading diffusion synchronization, the storage storage storage only needs to be written once, but the client needs to pull each session once to get all the messages, read is greatly enlarged; when writing diffusion, the message needs to synchronize to each client Subscribe list (if a session has n participants, the message needs to write n...

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): H04L29/08H04L12/58H04L29/06
CPCH04L51/04H04L63/0442H04L63/12H04L67/1095H04L67/54H04L67/55
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