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

An instant messaging method and system based on xmpp protocol

A communication method and protocol technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as waste of resources, excessive traffic consumption, difficulty in ensuring the stability of the connection between the client and the server, etc., to ensure security sexual effect

Active Publication Date: 2020-11-20
北京思特奇信息技术股份有限公司
View PDF5 Cites 0 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
  • An instant messaging method and system based on xmpp protocol
  • An instant messaging method and system based on xmpp protocol
  • An 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 system based on the XMPP protocol. The method includes the following steps: S1, the sending end generates an instant message and a first verification code, and sends them to the server; S2, the server generates a re-verification code, judges whether the first verification code and the re-verification code are the same, generates a receipt information and sends it to the sending end ; S3, the sender judges whether to send again, if yes, send it again and return to S2, otherwise send the execution command to the server, and execute S4; S4, the server sends the re-check code and instant message to the receiver; S5, the receiver generates a final check code, determine whether the re-inspection code and final-inspection code are the same, generate corresponding receipt information and send it to the server; S6, the server judges whether to send it again, if yes, send it again and return to S5, otherwise end. The invention realizes improving the integrity and safety of data in the process of instant messaging.

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