WO2009000119A1 - Système de transmission de données et son procédé de transmission - Google Patents

Système de transmission de données et son procédé de transmission Download PDF

Info

Publication number
WO2009000119A1
WO2009000119A1 PCT/CN2007/003559 CN2007003559W WO2009000119A1 WO 2009000119 A1 WO2009000119 A1 WO 2009000119A1 CN 2007003559 W CN2007003559 W CN 2007003559W WO 2009000119 A1 WO2009000119 A1 WO 2009000119A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
soap message
xml
algorithm
attribute value
Prior art date
Application number
PCT/CN2007/003559
Other languages
English (en)
Chinese (zh)
Inventor
Yuxiang Feng
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Publication of WO2009000119A1 publication Critical patent/WO2009000119A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the present invention relates to the field of computer communications, and in particular to a data transmission system and a method for reducing network bandwidth occupied by a Soap protocol by using a data compression algorithm.
  • BACKGROUND In the current field of computer communication, in order to meet the needs of communication between heterogeneous devices, the WebService protocol has been increasingly applied.
  • the encapsulation protocol for data in the WebService interface is the Soap protocol, which is usually transmitted using the Http protocol.
  • the relationship between WebService, Soap and XML is shown in Figure 1.
  • the Soap protocol uses XML statements to describe the data content.
  • the compression method is to recombine and optimize the strings without destroying the data encoding format (UTF8, gb2312, etc.).
  • This approach is similar to the way huffman coding.
  • the standard methods for reading and manipulating XML data streams are the DOM (Document Object Model) approach and the SAX (Simple API for XML) approach.
  • the methods proposed by the researchers are all modified and applied to the DOM or SAX methods, which can directly parse the data stream.
  • the disadvantage is that it is difficult to implement, because there is no ready-made implementation code to use, and more importantly, the compression ratio is very low, and the bandwidth occupation problem cannot be fundamentally solved.
  • the present invention has been made in view of the above problems, and an object of the present invention is to provide a data transmission system and a transmission method thereof.
  • the method includes: a data transmitting device, configured to compress the XML portion in the Soap message and package the compressed data as an accessory into the Soap message, and send the packaged Soap message to the data receiving And a data receiving device, configured to: after receiving the Soap message, extract an attachment of the Soap message, and decompress the accessory to obtain an XML part.
  • the data sending device includes: a data compression module, configured to compress the XML portion in the Soap message to obtain binary data; and a first data recombining module, configured to reassemble the compressed binary data as an attachment into the Soap message and send the Soap message To the data receiving device, wherein the data compression module identifies the compression method by the attribute value of the content type field.
  • the data receiving apparatus includes: a second data recombining module, configured to extract the attribute values of the binary data and the content type field in the received Soap message; and a data decompression module, configured to decompress the binary data according to the attribute value.
  • the above attribute value is one of the following: lzw data corresponding to the lzw algorithm, k78 data corresponding to the 1 ⁇ 78 algorithm, and 1 ⁇ 77 data corresponding to the 1 ⁇ 77 algorithm.
  • the attribute value is one of the following: lzw data / XML, 1 ⁇ 78 data / XML, 1 ⁇ 77 data / XML.
  • Step S302 The data sending end compresses the XML part of the Soap message and packages the compressed data as an attachment into the Soap message, and sends the packaged Soap message.
  • step S304 After receiving the Soap message, the data receiving end extracts the attachment of the Soa message and decompresses the attachment to obtain the XML part.
  • the step S302 includes: Step S302-2, according to the sender, compressing the XML part in the Soap message to obtain binary data; Step S302-4, recombining the compressed binary data as an attachment into the Soap message and Soap The message is sent to the data receiving end, where the data compression module identifies the compression method by the attribute value of the content type field.
  • Step S304 includes: step S304-2, the data receiving end extracts the binary data in the received Soap message and the attribute value of the content type field; and step S304-4, the binary data is solved according to the attribute value.
  • the above attribute value is one of the following: lzw data corresponding to the lzw algorithm, 1 ⁇ 78 data corresponding to the 1 ⁇ 78 algorithm, and 1 ⁇ 77 data corresponding to the 1 ⁇ 77 algorithm.
  • the attribute value is one of the following: lzw data / XML, 1 ⁇ 78 data / XML, 1 ⁇ 77 data / XML.
  • FIG. 1 is a diagram showing a relationship between a prior art WebService, Soap, and XML;
  • FIG. 2 is a structural diagram showing a data transmission system according to an embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT OF THE INVENTION
  • FIG. 2 is a block diagram showing a data transmission system according to an embodiment of the present invention. As shown in FIG.
  • the data transmission system includes: a data sending device 202, configured to compress an XML portion in a Soap message, and package the compressed data as an accessory into a Soap message, and send the packaged Soap message to the data.
  • a receiving device configured to: after receiving the Soa message, extract an attachment of the Soap message, and decompress the accessory to obtain an XML part.
  • the data sending device 202 includes: a data compression module 202-2, configured to compress the XML portion in the Soap message to obtain binary data, and the algorithm used is a traditional compression algorithm, such as LZ77, LZ78, LZW, etc., data compression module ⁇ !
  • the xml part of the Soap message is compressed to obtain a series of binary data; the first data recombining module 202-4 is configured to reassemble the compressed binary data as an attachment into the Soap message and send the Soap message to the data receiving apparatus.
  • the data receiving apparatus 204 includes: a second data recombining module 204-2, configured to extract the attribute values of the binary data and the content type field in the received Soap message, and the recombining module extracts the binary data in the attachment. Then, using the data decompression module, the data block is decompressed using the compression algorithm identified by the Content-Type field to obtain the original xml format data; and the data decompression module 204-4 is used to perform the attribute value on the binary data.
  • FIG. 3 is a flow chart showing a data transmission method according to an embodiment of the present invention.
  • the data transmission method includes the following steps: Step S302: The data sending end compresses the XML part of the Soap message and packages the compressed data as an attachment into the Soap message, and sends the packaged Soap message to the The data receiving end; Step S304, after receiving the Soap message, the data receiving end extracts the attachment of the Soa message, and decompresses the accessory to obtain the XML part.
  • step S302 includes: Step S302-2, the data sending end compresses the XML part in the Soap message to obtain binary data; Step S302-4, reassembles the compressed binary data as an attachment to the Soap message.
  • Step S304 includes: Step S304-2: The data receiving end extracts the binary data in the received Soap message and the attribute value of the content type field; and in step S304-4, decompresses the binary data according to the attribute value.
  • the attribute value is one of the following: lzw data corresponding to the lzw algorithm, 1 ⁇ 78 data corresponding to the 1 ⁇ 78 algorithm, and 1 ⁇ 77 data corresponding to the 1 ⁇ 77 algorithm.
  • An example is as follows: An existing uncompressed Soap response packet is as follows: HTTP/1.1 200 ok
  • the bold part is the XML data that needs to be transferred, and the block size is about 570 bytes.
  • a new data block is obtained.
  • the new data block uses binary representation: 0x52 0x61 0x72 0x21 0x7B 0x00 0x40 0x07 0x00, with 250 bytes, compressed to the original 44%.
  • Use Http to transfer this data block, and get the new data packet as follows:
  • the data in each packet can be compressed separately.
  • the value of Content-Type can be extended to: lzwdata/xml, lz77data/xmL lz78data/xml, etc.
  • the implementation code of the algorithm (lzw, 1 ⁇ 77, 1 ⁇ 78) of the present invention is ready-made and convenient to implement; the compression ratio is particularly large, compared with the compression algorithm of the same type proposed by various researchers, the compression of this implementation mode The effect is the best. As you can see from the example, the xml data is compressed to 44%, and the whole package is reduced by 320 bytes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

L'invention concerne un système de transmission de données qui comprend : un dispositif d'envoi de données, pour compresser le composant XML dans le message SOAP, pour empaqueter les données compressées dans le message SOAP sous forme de pièces jointes et pour envoyer le message SOAP empaqueté au dispositif récepteur de données ; un dispositif récepteur de données, pour extraire les pièces jointes du message SOAP après réception du message SOAP et pour décompresser les pièces jointes pour obtenir le composant XML. Un procédé de transmission de données est aussi décrit. Ledit procédé comprend les étapes suivantes : le côté expéditeur de données compresse le composant XML dans le message SOAP, empaquette les données compressées dans le message SOAP sous forme de pièces jointes et envoie le message SOAP empaqueté au côté récepteur de données ; le côté récepteur de données extrait les pièces jointes du message SOAP après réception du message SOAP et décompresse les pièces jointes pour obtenir le composant XML.
PCT/CN2007/003559 2007-06-26 2007-12-12 Système de transmission de données et son procédé de transmission WO2009000119A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200710112457 CN101079889A (zh) 2007-06-26 2007-06-26 数据传输系统及其传输方法
CN200710112457.1 2007-06-26

Publications (1)

Publication Number Publication Date
WO2009000119A1 true WO2009000119A1 (fr) 2008-12-31

Family

ID=38907116

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003559 WO2009000119A1 (fr) 2007-06-26 2007-12-12 Système de transmission de données et son procédé de transmission

Country Status (2)

Country Link
CN (1) CN101079889A (fr)
WO (1) WO2009000119A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140050522A (ko) * 2012-10-19 2014-04-29 한국전자통신연구원 멀티비전 가상화 시스템 및 가상화 서비스 제공 방법

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079889A (zh) * 2007-06-26 2007-11-28 中兴通讯股份有限公司 数据传输系统及其传输方法
CN101388905B (zh) * 2008-10-09 2011-09-07 浙江大学 一种基于移动设备的简单对象访问协议引擎实现方法
CN101729381B (zh) * 2008-10-23 2012-01-11 上海宝信软件股份有限公司 一种基于外部系统的数据动态定制与交换系统及方法
US20110202509A1 (en) * 2010-02-16 2011-08-18 Microsoft Corporation Efficient extraction and compression of data
CN102111437A (zh) * 2010-12-30 2011-06-29 浪潮集团山东通用软件有限公司 一种基于soap扩展的web服务传输压缩方法
CN103475565B (zh) * 2012-06-08 2018-10-09 南京中兴软件有限责任公司 在企业服务总线上传递消息附件的方法及装置
CN104158629A (zh) * 2014-08-25 2014-11-19 国家电网公司 基于lzw算法的分布式新能源运行数据加密压缩传输方法
CN106851733A (zh) * 2016-12-29 2017-06-13 安徽网新恒天软件有限公司 一种针对移动网络应用的自适应http消息压缩方法
CN109544964A (zh) * 2018-12-29 2019-03-29 同济大学 一种无人驾驶车的航线传输系统
CN111010274B (zh) * 2019-12-30 2022-08-12 烽火通信科技股份有限公司 一种安全低开销的SRv6实现方法

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747387A (zh) * 2004-09-06 2006-03-15 佳能株式会社 信息处理装置及信息处理方法
CN101079889A (zh) * 2007-06-26 2007-11-28 中兴通讯股份有限公司 数据传输系统及其传输方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747387A (zh) * 2004-09-06 2006-03-15 佳能株式会社 信息处理装置及信息处理方法
CN101079889A (zh) * 2007-06-26 2007-11-28 中兴通讯股份有限公司 数据传输系统及其传输方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DAI A.-G. AND ZHANG L.-C.: "The research of compressing soap to improve the performance of XML Web Service", FUJIAN COMPUTER, no. 9, December 2006 (2006-12-01), pages 126 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140050522A (ko) * 2012-10-19 2014-04-29 한국전자통신연구원 멀티비전 가상화 시스템 및 가상화 서비스 제공 방법
KR101877034B1 (ko) * 2012-10-19 2018-08-09 한국전자통신연구원 멀티비전 가상화 시스템 및 가상화 서비스 제공 방법

Also Published As

Publication number Publication date
CN101079889A (zh) 2007-11-28

Similar Documents

Publication Publication Date Title
WO2009000119A1 (fr) Système de transmission de données et son procédé de transmission
EP1992143B1 (fr) Procédé et dispositif permettant la génération et la transmission de messages de signalisation
CN109687995B (zh) 一种适用于资源受限型工业现场设备的基于CoAP的OPC UA报文传输方法
TW586294B (en) Communication system and method for shared context compression
Werner et al. Compressing SOAP messages by using differential encoding
US6807173B1 (en) Method and system for improving bandwidth availability in a data communication network by tokenizing messages
CN102017580B (zh) 处理消息的方法和装置
CN101366261A (zh) 用于当遭遇静默抑制时增强稳健标头压缩性能的方法和设备
WO2007028122B1 (fr) Reduction d'en-tete de protocole de lancement de session (sip)
US6963587B2 (en) Communication system and method utilizing request-reply communication patterns for data compression
KR20080045276A (ko) Rtp 패킷에 vc―1 정보를 캡슐화하는 방법, 이를구현하기 위한 컴퓨터 판독가능 매체, rtp 데이터구조체, 액세스 유닛 데이터 구조체, 소스 모듈, 디코더모듈, 소스 모듈 및 디코더 모듈을 포함하는 시스템, 및타겟 모듈
CN101132273B (zh) 一种文本传输协议消息的安全传输方法
CN109831409A (zh) 数据传输方法、装置、计算机可读存储介质及电子设备
CN101557399A (zh) 一种xmpp协议传输数据压缩与解压缩方法
CN100452656C (zh) 用于应用消息压缩及解压缩的方法和设备
CN106851733A (zh) 一种针对移动网络应用的自适应http消息压缩方法
WO2022063058A1 (fr) Procédé de transmission basé sur un protocole netconf, dispositif, et support de stockage
KR101607096B1 (ko) 2개의 네트워크들 사이에 엔드―투―엔드 통신을 확립하기 위한 방법 및 디바이스
KR100732664B1 (ko) 텍스트 데이터 압축을 위한 방법 및 장치
CN101843071B (zh) 会话发起协议消息有效负荷压缩
CN101197825B (zh) 一种传输压缩消息的方法、系统及设备
CN101388905B (zh) 一种基于移动设备的简单对象访问协议引擎实现方法
Jin et al. Using SigComp to compress SIP/SDP messages
CN115499506B (zh) 一种基于lzw算法的mqtt信息传输数据压缩方法及服务器
CN107517202B (zh) 一种sip信令的二进制化发送和接收方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07855669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07855669

Country of ref document: EP

Kind code of ref document: A1