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

Instant messaging method and system based on XMPP protocol

A communication method and protocol technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as resource waste, excessive traffic consumption, and difficulty in ensuring the stability of the connection between the client and the server, so as to ensure security Effect

Active Publication Date: 2017-09-08
北京思特奇信息技术股份有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The prerequisite for realizing instant messaging based on the XMPP protocol is that the connection between the client and the server is stable, but due to various reasons, the stability of the connection between the client and the server is difficult to guarantee;
[0005] The client includes the sending end and the receiving end. When the message is transmitted, the integrity and security of the transmitted message will be poor due to the disconnection between the client and the server.
[0006] The message is sent from the sender, passes through the server, and consumes too much traffic when it reaches the receiver, which is a serious waste of resources

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
  • Instant messaging method and system based on XMPP protocol
  • Instant messaging method and system based on XMPP protocol
  • Instant messaging method and system based on XMPP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0048] Such as figure 1 As shown, the instant messaging method based on the XMPP protocol provided by an embodiment of the present invention includes the following steps:

[0049] S1, the sender generates an instant message, generates a first verification code according to the verification rules according to the preset code and the instant message, and sends the first verification code and the instant message to the server;

[0050] S2, the server generates a re-verification code according to the verification rules according to the preset code and the received instant message, judges whether the received first verification code and the re-verification code are the same, generates corresponding receipt information ac...

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 an instant messaging method and an instant messaging system based on an XMPP protocol. The method comprises the steps as follows: S1, a sending end generates an instant message and a primary check code, and sends the instant message and the primary check code to a server; S2, the server generates a re-check code, judges whether the primary check code and the re-check code are identical, and generates receipt information and sends the same to the sending end; S3, the sending end judges whether to send again, if yes, resending and returning to the step S2 are performed, and otherwise, an execution command is sent to the server, and the step S4 is executed; S4, the server sends the re-check code and the instant message to a receiving end; S5, the receiving end generates a final check code, judges whether the re-check code and the final check code are identical, and generates corresponding receipt information and sends the same to the server; and S6, the server judges whether to resend, if yes, resending and returning to the step S5 are performed, and otherwise the method ends. According to the method and the system provided by the invention, completeness and security of data during an instant messaging process are improved.

Description

technical field [0001] The invention belongs to the field of instant messaging, in particular to an instant messaging method and system based on the XMPP protocol. Background technique [0002] XMPP (Extensible Messaging and Presence Protocol) is a protocol based on XML (Extensible Markup Language, Extensible Markup Language), which is used for IM (Internet Message, Instant Messaging) and online presence detection. It facilitates quasi-instant operations between servers. The protocol may eventually allow Internet users to send instant messages to anyone else on the Internet, even if those Internet users have different operating systems and browsers. [0003] The existing instant messaging based on the XMPP protocol has the following defects: [0004] The prerequisite for realizing instant messaging based on the XMPP protocol is that the connection between the client and the server is stable, but due to various reasons, the stability of the connection between the client and...

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): H04L12/58
CPCH04L51/04H04L51/23H04L51/234
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