Reliable message pushing method based on XMPP

A message push and message technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as wasting server space, wasting Openfire monitoring resources, and easy loss of files

Inactive Publication Date: 2015-09-30
普华讯光(北京)科技有限公司
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This file transfer mechanism of Openfire, in terms of efficiency, the emergence of high concurrent access is likely to greatly reduce the service efficiency of the Openfire server; in terms of security, if the Openfire server crashes, not only file information, but even files easy to lose
In addition, for the

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
  • Reliable message pushing method based on XMPP
  • Reliable message pushing method based on XMPP
  • Reliable message pushing method based on XMPP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Since the push process of text messages with attachments includes the push process of plain text messages in terms of steps and mechanisms, only an example is given below to describe the whole process of pushing text messages with attachments.

[0028] Sender A sends a message with an attachment to receiver B through the middleware server. The attachment contains a picture named 1KFQLU9BEVMU_i.jpg and a video file named 1KFQLU9BEVMU_2.wav. The sender A establishes an effective connection with the middleware server through its own device parameters. After the identity verification is passed, the sender A encapsulates the message body into the Body of the Message object according to the requirements of the XMPP protocol, and obtains the body field as shown below:

[0029]

[0030] Among them, Text1 and Text2 are the text information describing the attachment, and Text3 is the text information of the whole message; and mark the attachment information, including the att...

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 discloses a reliable message pushing method based on an XMPP. The reliable message pushing method of message queue buffer is employed to ensure that all messages are finally reliably pushed to a target terminal in the condition that a client terminal networking condition is not stable. According to the method, the XMPP is used to package the message from a sender, a Chinese Openfire server is used as a middleware server to cache the message, and after the stable networking of a receiver is monitored, the middleware server pushes the cached message to the receiver. In the process that the sender and the middleware server send the message, through verifying the identity of a valid connection, pushing messages, receiving a receipt package and other handshake processes, the condition that the message is safely pushed to the middleware server is ensured, and in the communication process of the middleware server and the receiver, through verifying whether the receiver is in the line and adding a message to be sent into the message queue, pushing the message, obtaining the receipt package and other handshake processes, the condition that the message is reliably received by the receiver.

Description

technical field [0001] The invention relates to the technical field of computer network data transmission, in particular to an XMPP-based reliable message push method. Background technique [0002] In the current environment, smartphones are often not connected to the Internet, real-time push information is often lost during the push process, and the reliability of end-to-end information push is difficult to guarantee. Therefore, a reliable information push mechanism is needed to ensure that all information can be delivered Finally, it is pushed to the destination terminal, even if some terminals were not connected to the Internet during the transmission process. The method is a reliable information push method based on the XMPP protocol and Openfile middleware server message queuing cache, which can solve the problem of lost message push of intelligent terminals in an unstable network environment. [0003] The predecessor of XMPP is Jabber, a network instant messaging prot...

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): H04L29/06H04L12/58
CPCH04L65/4061H04L65/60H04L67/55
Inventor 徐剑刘同新李敏波
Owner 普华讯光(北京)科技有限公司
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