Unlock instant, AI-driven research and patent intelligence for your innovation.

A message sending method and system

A technology for sending and unsending messages, applied in the field of communication, can solve the problem that the message mechanism cannot achieve offline use and availability, and achieve the effect of ensuring availability and reliability, ensuring availability and reliability, and ensuring seamless connection.

Active Publication Date: 2019-01-25
SHANGHAI HUAQING INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Currently popular document collaboration applications, the message mechanism does not meet the requirements for offline use and usability

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
  • A message sending method and system
  • A message sending method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is carried out on the premise of the technical solution of the present invention, and detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0059] Such as figure 1 As shown, this embodiment provides a message sending method, which includes the following steps:

[0060] Step S1, the client opens a local file, and reads the client data version variable c_ver of the local file. In this embodiment, c_ver=50 of the client, there are three operations in the unsent message queue, which are creating an ellipse respectively.

[0061] In step S2, the client generates a data synchronization request with c_ver as a parameter and sends it to the server.

[0062]Step S3, the server receives the data synchronization request, and judg...

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 relates to a message sending method and system. The method includes: a client reads c_ver of a local document, and generates a data synchronization request; a server receives the data synchronization request, calculates the difference between s_ver and c_ver, and judges whether the difference is less than Set the threshold, if yes, extract the number of operations of the difference at the end of the message queue that has been executed and send it as the initialization message queue, if not, send the server document; the client performs corresponding data initialization according to the received data ;The client reads the unsent message queue, and when the unsent message queue is not empty, it starts from the head element of the unsent message queue, and sends the elements in the unsent message queue to the server in order, and the server executes in order After the corresponding operation, all operations are added to the tail of the executed message queue in turn, and the synchronization is completed. Compared with the prior art, the present invention has the advantages of realizing accurate incremental synchronization, ensuring availability and reliability of the offline state of the client, and the like.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a message sending method and system. Background technique [0002] The underlying implementation of Internet applications cannot bypass the sending and receiving of messages. Different types of applications have very different messaging requirements. Instant messaging applications pay attention to the timeliness and reliability of messages. The so-called timeliness means that messages need to be sent and received in real time, otherwise the meaning of "instant messaging" will be lost; while the reliability requires that the message loss rate should be as small as possible and the repeated message reception rate should be as small as possible. Keep it as small as possible, otherwise there is no usability. However, e-mail applications do not have such a high timeliness for messages, and only need to ensure the reliability of messages. [0003] Collaborative editin...

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): H04L29/08G06F17/22G06F16/178H04L12/863
CPCH04L47/622H04L67/1095G06F16/178H04L51/04G06F40/197H04L51/42H04L67/01
Inventor 姜建军皇甫珊欣马世雄
Owner SHANGHAI HUAQING INFORMATION TECH CO LTD