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

Method for compression and decompression of XMPP protocol transmission data

A technology of protocol transmission and data compression, which is applied in the field of network communication, can solve the problem of excessive data volume of instant messaging information, and achieve the effects of reducing the amount of transmitted data, improving efficiency, and reducing data volume

Inactive Publication Date: 2009-10-14
SHENZHEN HUIHAI TECH DEV CO LTD
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method for compressing and decompressing data transmitted by the XMPP protocol, which overcomes the defect that the data volume of the instant messaging information of the prior art XMPP protocol is too large and the binary data must be converted into BASE64 encoding when transmitting the binary data Defects

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
  • Method for compression and decompression of XMPP protocol transmission data
  • Method for compression and decompression of XMPP protocol transmission data
  • Method for compression and decompression of XMPP protocol transmission data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Below according to accompanying drawing and embodiment the present invention will be described in further detail:

[0050] After fully analyzing the XMPP protocol, we can summarize the rules of using strings in the XMPP protocol, such as request node name iq, message node name message, etc., and use special string node names, namespaces, and attribute names is limited, we can encode these regular strings.

[0051] Code table creation

[0052]The code table is the key to the compression and decompression of the instant messaging information of the XMPP protocol. According to the characteristics of the XMPP protocol, the common strings in the XMPP protocol are encoded. According to the arrangement, the number of encodings is far less than 256, so only one byte can be used to encode the common strings in the XMPP protocol, and there are remaining encodings For future expansion, the string data of variable length is replaced by the encoding table, which greatly reduces th...

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 discloses a method for the compression of an XMPP protocol transmission data, comprising the steps of: A1. respectively encoding character strings used by the XMPP protocol and forming a code table by codes; A2. when transmitting XMMP protocol instant communication information, inquiring the code table and replacing the XMPP protocol character strings in the instant communication information by the corresponding codes to form compression instant communication information; and A3. transmitting the compression instant communication information.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method for compressing and decompressing data transmitted by the XMPP protocol. Background technique [0002] The XMPP protocol (extensible Messaging and Presence Protocol, Extensible Message Processing Field Protocol) is a near-end streaming instant messaging protocol based on an XML language (extensible Markup Language, Extensible Markup Language). It embeds site and context-sensitive information tags into XML structured data, enabling real-time intercommunication between people, between application systems, and between people and application systems. The XMPP protocol has been approved as the Internet instant messaging protocol standard. [0003] The biggest feature of the XMPP protocol is that it has very good scalability. The protocol can be easily extended through the concept of nodes. Because the XMPP protocol uses XML language to describe communication in...

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/06H04L12/58
Inventor 朱懋柱张代军
Owner SHENZHEN HUIHAI TECH DEV CO LTD
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