CN101662466A - Transmission method of protocol data in communication system, communication device and communication system - Google Patents

Transmission method of protocol data in communication system, communication device and communication system Download PDF

Info

Publication number
CN101662466A
CN101662466A CN200910093329A CN200910093329A CN101662466A CN 101662466 A CN101662466 A CN 101662466A CN 200910093329 A CN200910093329 A CN 200910093329A CN 200910093329 A CN200910093329 A CN 200910093329A CN 101662466 A CN101662466 A CN 101662466A
Authority
CN
China
Prior art keywords
protocol data
compression
communication protocol
communication
module
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN200910093329A
Other languages
Chinese (zh)
Inventor
王斌
王志荣
程相平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing T3G Technology Co Ltd
Original Assignee
Beijing T3G Technology Co Ltd
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 Beijing T3G Technology Co Ltd filed Critical Beijing T3G Technology Co Ltd
Priority to CN200910093329A priority Critical patent/CN101662466A/en
Publication of CN101662466A publication Critical patent/CN101662466A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a transmission method of protocol data in a communication system, a communication device and a communication system. The transmission method includes the following steps: step A. the side of the communication device compresses the communication protocol data to be transmitted in transmission protocol information in real time, wherein the communication device takes the communication protocol information as unit; and step B. the side of the communication device transmits the compressed communication protocol data to the side of a host. The technical scheme can relieve theload of data transmission and improve the transmission efficiency and real-time property, especially the transmission efficiency and real-time property of a large quantity of protocol data by compressing the protocol data before the side of the communication device transmits the protocol data to the side of the host.

Description

The transmission method of protocol data, communication equipment and communication system in the communication system
Technical field
The present invention relates to communication system, particularly relate to transmission method, communication equipment and the communication system of protocol data in a kind of communication system.
Background technology
In communication system, communication protocol is one of core part of whole system always.In application and development and testing, to main frame, often need a large amount of protocol datas of transmission to carry out subsequent treatment and preserve with analysis from the communication equipment side.For example in the driver test system that wireless network is optimized, main frame simulation general user's communication mode, be connected with the communication equipment of test function, all kinds of business such as initiation conversation are also passed through the signaling information and the data of data-interface obtaining communication process, carry out coverage test on a large scale in conjunction with digital map and GPS (Global Position System) GPS longitude and latitude data again, obtain the signal distributions of wireless network, network optimization personnel can obtain network state, according to network configuration information, analyze the problem place of network, in this process, main frame needs constantly to obtain the mass communication protocol data in real time from the communication equipment side.
In the development process of communication protocol, also need the software of having developed is carried out on-the-spot test, the problem that occurs in the test is analyzed and researched to be solved again.So the on-the-spot test personnel in test process, need obtain and the preservation protocol data from communication equipment, give the research staff with problematic protocol data again, analyze information such as message flow, and the problem that occurs is researched and solved.In the whole process, communication equipment is crucial to the real-time protocol (RTP) transfer of data between main frame.
At present in the research and development test of driver test system and communication equipment protocol stack sofeware, communication equipment to the method for the real-time protocol (RTP) transfer of data between main frame is, use general asynchronous receiving-transmitting transmitter (UniversalAsynchronous Receiver/Transmitter, UART), USB (Universal SerialBus, USB) or transmission control protocol/internet protocol (Transmission ControlProtocol/Internet Protocol, TCP/IP) etc. connection device links to each other PC of communication equipment and main frame such as staff etc., communication equipment is derived communication protocol data in test in real time, give main frame by the connection device real-time Transmission, operation protocols having data parsing instrument etc. carries out subsequent treatment on main frame simultaneously.
The inventor finds in realizing process of the present invention, the problem that the transmission method of the above-mentioned protocol data of prior art exists is: because the complexity of communication protocol, need from mobile communication equipment, to obtain the mass communication protocol data in the transmission course, but can only the selection portion divided data under the transmission speed condition of limited, integrality and validity that this has reduced data have undoubtedly also increased the difficulty to the protocol data Treatment Analysis; Simultaneously, when a large amount of transmission of protocol data, transmission of messages has certain delay to main frame and protocol data analytical tool, and meeting discarded part divided data under the overstocked situation of data is taking place, and this also can cause difficulty to follow-up data processing.So when obtaining and handling the mass communication protocol data, needing need have certain guarantee between communication equipment and the main frame on transmission speed and efficient when the transport communication protocol data.In sum, the transmission method of the above-mentioned communication protocol data of prior art is unfavorable for obtaining and/or handling the situation of mass communication protocol data.
Summary of the invention
The invention provides transmission method, communication equipment and the communication system of protocol data in a kind of communication system, with the transmission method of the communication protocol data that solves prior art when the transmission mass communication protocol data, the technical problem that the efficiency of transmission between communication equipment side and the host computer side is lower.
To achieve these goals, provide the transmission method of protocol data in a kind of communication system on the one hand, it is characterized in that, comprised the steps:
Steps A, communication equipment side are unit with the communication protocol message, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Step B, the communication protocol data after described communication equipment side will be compressed transfers to host computer side.
Preferably, described transmission method is characterized in that, before the described steps A, also comprises:
Described communication equipment side will self support the compression information transmitted to report described host computer side;
Described communication equipment side joint receives that described host computer side sends enables to compress information transmitted, and enables to compress the compressed mode transmission that information transmitted enters protocol data according to described.
Preferably, described transmission method is characterized in that, in the described steps A, described communication equipment side is carried out Real Time Compression to the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message.
Preferably, described transmission method is characterized in that, described steps A comprises:
Described communication equipment side is calculated the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression;
Described communication equipment lateral root distributes the metadata cache of respective length according to the described length that calculates in data buffer area;
Described communication equipment side is carried out the Real Time Compression to described communication protocol data, and the communication protocol data after the described compression is saved in the metadata cache of described distribution.
Preferably, described transmission method is characterized in that, in the described steps A, before the communication protocol data after the described compression is saved in described metadata cache, also comprises:
Communications protocol data after the described compression are provided with compact token.
Preferably, described transmission method, it is characterized in that, among the described step B, described communication equipment side once is transferred to described host computer side by general asynchronous receiving-transmitting transmitter, USB or transmission control protocol/internet protocol with the content in the described metadata cache, and after having transmitted, empty described metadata cache.
Preferably, described transmission method is characterized in that, after described step B, also comprises:
Described host computer side receives the communication protocol data after the described compression, and the communication protocol data after the described compression is decompressed.
On the other hand, also provide a kind of communication equipment, it is characterized in that, comprising:
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Transport module is used for the communication protocol data after the compression is transferred to host computer side.
Preferably, described communication equipment is characterized in that, also comprises:
The information reporting module is used for described communication equipment support compression information transmitted is reported described host computer side;
Compression transmission configuration module is used to receive that described host computer side sends enables to compress information transmitted, and enables to compress the compressed mode transmission that information transmitted enters protocol data according to described.
Preferably, described communication equipment is characterized in that, described protocol data compression module is further used for the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message are carried out Real Time Compression.
Preferably, described communication equipment is characterized in that, described protocol data compression module comprises:
The length computation module is used to calculate the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression;
The buffer memory distribution module is used for the metadata cache according to the length allocation respective length after the described described compression that calculates;
The compression Executive Module is used to carry out the Real Time Compression to described communication protocol data;
Preserve module, be used for the communication protocol message after the described compression is saved in the metadata cache of described distribution.
On the other hand, provide a kind of main frame that the compression protocol data that above-mentioned communication equipment sends are decompressed of being used for.
Another aspect provides a kind of communication system, comprises communication equipment side and host computer side, it is characterized in that,
Described communication equipment side comprises:
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Transport module is used for the communication protocol data after the compression is transferred to described host computer side;
Described host computer side comprises:
The protocol data decompression module is used to receive the communication protocol data after the described compression, and the communication protocol data after the described compression is decompressed.
Preferably, described communication system is characterized in that, described host computer side also comprises:
User interactive module, be used to receive the protocol data compression transfer function configuration order of user's input, and when described configuration order is compressed transfer function for enabling protocol data, open protocol data compression transfer function, when described configuration order when forbidding protocol data compression transfer function, close protocol data compression transfer function.
Another aspect provides a kind of compression set of protocol data, comprising:
The protocol message sending module is used to send communication protocol message;
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data in the described communication protocol message of described protocol message sending module transmission is compressed.
Another aspect, the decompressing device that provides a kind of protocol data that is used for the compression of above-mentioned compression set to decompress.
A technical scheme in the technique scheme has following technique effect:
The transmission method of the embodiment of the invention, in the communication equipment side is unit with the communication protocol message earlier, communication protocol data in the protocol message is compressed, and then the protocol data after will compressing is transferred to host computer side, thereby can carry out under the situation of hardware update not needing, reduce volume of transmitted data, improved efficiency of transmission and real-time, especially improve the efficient and the real-time of a large amount of protocol data transmission, reduced communication system cost.
Description of drawings
Fig. 1 is the schematic flow sheet of the transmission method of protocol data in the embodiments of the invention communication system;
Fig. 2 is the schematic flow sheet of protocol data transmission method in the communication system of another embodiment of the present invention;
Fig. 3 is that the communication equipment side is carried out the schematic flow sheet of Real Time Compression in the transmission method of protocol data of the embodiment of the invention to communication protocol data;
Fig. 4 is the structural representation of the communication equipment of the embodiment of the invention;
Fig. 5 is the structural representation of the communication equipment of another embodiment of the present invention.
Embodiment
For technical problem, technical scheme and advantage that the embodiment of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 1 is the schematic flow sheet of the transmission method of protocol data in the embodiments of the invention communication system.As Fig. 1, the transmission method of this embodiment comprises the steps:
Step 101, communication equipment side are unit with the communication protocol message, and the communication protocol data of desiring in the communication protocol message to transmit is carried out Real Time Compression;
Step 102, the communication protocol data after the communication equipment side will be compressed transfers to host computer side.
The transmission method of the embodiment of the invention before the communication equipment side is transferred to host computer side with protocol data, by protocol data is compressed, can alleviate the burden of transfer of data, improves efficiency of transmission and real-time.
Preferably, before the above-mentioned steps 101, also comprise:
The communication equipment side will self support the compression information transmitted to report described host computer side;
The communication equipment side joint receives that host computer side sends enables to compress information transmitted, and according to enabling to compress the compressed mode transmission that information transmitted enters protocol data.
Exemplarily, in the step 102, the communication protocol message after the communication equipment side will be compressed transfers to host computer side, and the communication protocol data after the compression is included in the protocol message after the compression.
Exemplarily, the communication equipment side is carried out Real Time Compression to the communication protocol data and the blank communication protocol data that repeat in the communication protocol message.Concrete compress mode has multiple.The expression mode of communication protocol data that for example, can be by changing continuous appearance realizes above-mentioned compression; For example, in protocol data, continuously occur 100 1, then can be only identify 100 of continuous appearance with 100 and 1 these two data, after such 100 protocol datas, 1 compression with regard to elongated 2 data, thereby reduced data quantity transmitted.
The transmission method of the embodiment of the invention compresses the protocol data that comprises in the protocol message by being unit with the protocol message, has very high compression ratio and real-time.Exemplarily, in specific implementation, can come out as the data of blank and the data elder generation mark of repetition, compress again earlier with compressible data in the protocol message.
Fig. 2 is the schematic flow sheet of the transmission method of protocol data in the communication system of another embodiment of the present invention.As Fig. 2, the transmission method of this embodiment comprises the steps:
Step 201, system initialization and user's configuration;
This step 201 mainly comprises the steps 2011-step 2013:
Step 2011, communication equipment side report communication equipment whether to support the compression algorithm type of compressing information transmitted and being supported; In this step 2011, the main flow process that reports is: the user passes through general asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter with communication equipment, UART), USB (Universal Serial Bus, USB) or transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) link to each other with host computer side, the communication equipment side sends the handshake information of agreement to host computer side, and this handshake information has comprised required configuration information; Handshake Protocol is the agreement of communication equipment information interaction when being connected with main frame, transmits the predefined message interface of both sides, and the configuration information and the configuration communication parameter that obtain the other side are set up link, for follow-up transfer of data ready; Exemplarily, the configuration information that the communication equipment side reports is a kind of interface data that pre-defines, and this configuration information comprises: whether communication equipment supports information compressed; Further, can also comprise the compression algorithm of being supported, and the version information of compression algorithm; Exemplarily, in system upgrade from now on, need new compression algorithm, can when the communication equipment side is communicated by letter with host computer side, utilize handshaking information to adopt new compression algorithm to realize simultaneously, thereby can realize system upgrade easily if adopt;
In this step 2011, the communication equipment side sends the handshake information of agreement to host computer side, exemplarily can send to the protocol data parsing module that is arranged on the main frame, and the protocol data parsing module is used for communication protocol data is resolved; Exemplarily, this protocol data parsing module can be implemented as an application program on the main frame, have to communication protocol data be configured, resolve, show, function such as storage.
Step 2012, protocol data parsing module are set according to the user of host computer side man-machine interface and are enabled communication protocol data compression transfer function, and issue the configuration information that enables to compress transmission and give communication equipment, and communication equipment is preserved this configuration information; Exemplarily, communication equipment can compress the transmission configuration module by it and receives, stores and upgrade the configuration information that issues from host computer side, the user is provided with at host computer side;
Exemplarily, above-mentioned host computer side man-machine interface is meant the user interface of host computer side, comprises input-output equipment such as keyboard demonstration; The user can utilize this man-machine interface setting to enable communication protocol data compression transfer function or close protocol data compression transfer function; In the specific implementation, the user is after host computer side enables or closes protocol data compression transfer function, host computer side can will enable accordingly according to being provided with of user or the information of closes compression transfer function sends to the communication equipment side, the communication equipment side can be opened the compression transfer function of protocol data according to enabling protocol data compression information transmitted accordingly, with the compressed mode transmission transmission protocol data; Or close the protocol data compression function, with non-compressed mode transmission transmission protocol data;
Step 2013, communication equipment all adopt compressed mode transmission when sending protocol data to host computer side subsequently, when communication protocol message is transmitted between communication protocol module mutually, can be compressed portion during through the protocol data compression module and be transferred to host computer side.
Step 202, the communication equipment side is carried out Real Time Compression to communication protocol data, in this step, the protocol data compression module of communication equipment side is unit with the communication protocol message, and the communication protocol data and the clear data that repeat in the communication protocol message are carried out Real Time Compression; Particularly, the concrete steps of this Real Time Compression see also shown in Figure 3; As Fig. 3, this Real Time Compression specifically comprises:
Step 301, the compression determining step, the communication protocol message that the protocol data compression module received communication protocol module of communication equipment side sends, wherein, be provided with communication protocol data in the communication protocol message, the protocol data compression module after receiving the communication protocol message that communication protocol module transmits, according to the configuration information that sets in advance such as above-mentioned judge whether the protocol message of receiving compressed from configuration information main frame and that be kept at the communication equipment side after transmission again; Draw together the information that enables communication protocol data compression transfer function as above-mentioned configure packet, then execution in step 302; Otherwise, execution in step 305;
Step 302, calculate the length of the communication protocol message after compressing, communication protocol data after the described compression is included in the communication protocol message after the described compression, particularly, the protocol data compression module is checked the content of message, communication protocol data that repeats that comprises according to communication protocol message and clear data are calculated the protocol data length after the compression, and further calculate the length of the protocol message after the compression according to the protocol data length gauge after the compression that calculates;
Step 303, the buffer memory allocation step, the length of the protocol message after the compression that goes out according to aforementioned calculation is distributed the metadata cache of respective length in data buffer area; Particularly, it can be the metadata cache of the length application respective length of the protocol message of protocol data compression module after according to above-mentioned compression, the buffer memory distribution module of communication equipment side, exemplarily can be that the transport module that is used for transmission protocol data serves as this buffer memory distribution module, distribute the metadata cache of respective length;
Step 304, compression is carried out and storing step, with the communication protocol message is unit, protocol data in the communication protocol message is compressed, exemplarily, the communication protocol data and the clear data that repeat in the protocol message are carried out Real Time Compression, and the protocol message that will carry out after the protocol data compression is saved in the metadata cache of above-mentioned application, and process ends; Exemplarily, this buffer memory just sends the data of accumulation after a while;
In the communication protocol message, communication protocol data has accounted for the major part of protocol message, and this part has certain rules, the compression algorithm of the embodiment of the invention is at these characteristics, with the protocol message be unit to the protocol data in the protocol message as the data and the clear data that wherein repeat are compressed, have very high operational efficiency, can carry out Real Time Compression, and reduce transmission quantity;
Step 305 under situation about need not compress, directly is saved in protocol message in the data buffer area.
Step 203, the transmitting step of protocol data, the protocol data after the communication equipment side will be compressed is transferred to host computer side;
In this step, communication equipment links to each other with main frame by UART, USB or TCP/IP, and the protocol data parsing module of communication equipment and host computer side can directly communicate like this; When transmitting, all the elements in the metadata cache are once sent to the protocol data parsing module of host computer side, empty the buffer memory of distribution simultaneously.Circulation successively, in the time can transmitting next time, the New Deal data that whole data buffer area is comprised send to the protocol data parsing module equally, empty buffer memory simultaneously.
Step 204, the step that protocol data is decompressed and resolves of host computer side specifically comprises:
The decompression of protocol data, detailed process is: the protocol data decompression module that the protocol data parsing module comprises obtains the protocol data sequence from communication equipment, every the protocol message that comprises is analyzed, if this message is the compressed corresponding decompression flow process of just carrying out, add the protocol data buffer queue then; Exemplarily, whether the protocol data decompression module can comprise compact token according to protocol message and judge whether receive protocol message need decompress; As comprise compact token, after then need decompressing, be sequentially added into the protocol data buffer queue again; Otherwise, need not to decompress, directly protocol message is sequentially added into the protocol data buffer queue;
The user can resolve received protocol data by the protocol message parsing module, and the protocol data that demonstration receives on the user interface of host computer side, can give drive test software handles, calculate the Various types of data that obtains by the drive test software integrated treatment, obtain the relevant information of network to be tested, also can preserve to wait until to analyze in the future and use.
Fig. 4 is the structural representation of the communication equipment of the embodiment of the invention.As Fig. 4, the communication equipment of this embodiment comprises: protocol data compression module 401, and being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression; Transport module 402 is used for the communication protocol data after the compression is transferred to described host computer side.
Preferably, in the communication equipment of the embodiment of the invention, the protocol data compression module is further used for the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message are carried out Real Time Compression.
Preferably, in the communication equipment of the embodiment of the invention, the protocol data compression module comprises: the length computation module, be used to calculate the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression; The buffer memory distribution module is used for the metadata cache according to the length allocation respective length after the described compression that calculates; The compression Executive Module is used to carry out the Real Time Compression to described communication protocol data; Preserve module, be used for the communication protocol message after the described compression is saved in the metadata cache of described distribution.
Preferably, in the communication equipment of the embodiment of the invention, the protocol data compression module also comprises: mark module is used for the communication protocol message after the described compression is provided with compact token.
Fig. 5 is the structural representation of the communication equipment of another embodiment of the present invention.As Fig. 5, the communication equipment of this embodiment comprises: information reporting module 501 is used for described communication equipment support compression information transmitted is reported described host computer side; Compression transmission configuration module 502, be used to receive, store and upgrade the configuration information of host computer side setting and transmission, this configuration information comprises that host computer side sends enables to compress information transmitted, and enables to compress the compressed mode transmission that information transmitted enters protocol data according to described; Communication protocol module A503 and communication protocol module B 504, communication protocol message is transmitted between communication protocol module mutually, and the communication protocol message of transmitting between communication protocol module will be sent to protocol data compression module 505, transfer to host computer side after compressing by the protocol data compression module, the communication protocol message that protocol data compression module received communication protocol module A, communication protocol module B send, and judge according to configuration information whether the protocol message from communication protocol module A, communication protocol module B need compress; In this way, then compress above-mentioned protocol message; Otherwise, withdraw from compression; Transport module 506 is used for the communication protocol data after the compression is transferred to host computer side.Exemplarily, the communication protocol module that comprises of communication equipment can be one or more; Exemplarily, when comprising a plurality of communication protocol module in the communication equipment, can be only the protocol message from wherein some or several communication protocol modules be compressed transmission, and the protocol message of communication protocol module from other is not compressed transmission; Exemplarily, after enabling the compression transmission protocol data function, can further judge the data volume of protocol message; The protocol message big as data volume compresses transmission, and the protocol message little to data volume then can not compress the back transmission, but directly transmission.
On the other hand, also provide a kind of main frame that the compression protocol data that above-mentioned communication equipment sends are decompressed of being used for.
Another aspect also provides a kind of communication system, and described communication equipment side comprises: the protocol data compression module, and being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression; Transport module is used for the communication protocol data after the compression is transferred to described host computer side; Described host computer side comprises: the protocol data decompression module is used to receive the communication protocol data after the described compression, and the communication protocol data after the described compression is decompressed.
Preferably, in the communication system of this embodiment, the protocol data compression module in the communication equipment side is further used for the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message are carried out Real Time Compression.
Preferably, in the communication system of this embodiment, communication equipment side protocol data compression module comprises: the length computation module, be used to calculate the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression; The buffer memory distribution module is used for the metadata cache according to the length allocation respective length after the described compression that calculates; The compression Executive Module is used to carry out the Real Time Compression to described communication protocol data; Preserve module, be used for the communication protocol message after the described compression is saved in the metadata cache of described distribution.
Preferably, in the communication system of this embodiment, host computer side also comprises: user interactive module, be used to receive the protocol data compression transfer function configuration order of user's input, and when described configuration order is compressed transfer function for enabling protocol data, open protocol data compression transfer function, when described configuration order when forbidding protocol data compression transfer function, close protocol data and compress transfer function.
Another aspect the invention provides a kind of compression set of protocol data, and comprising: the protocol message sending module is used to send communication protocol message; The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data in the described communication protocol message of described protocol message sending module transmission is compressed.
Preferably, in the compression set of the embodiment of the invention, the protocol data compression module is further used for communication protocol data that repeats in the protocol message and blank communication protocol data are compressed; Exemplarily, can compress by the manifestation mode that changes the repeating data that occurs continuously in the protocol message.
Another aspect the invention provides the decompressing device that a kind of protocol data that is used for the compression of above-mentioned compression set decompresses.
Embodiment of the invention technical scheme, under the situation that does not need hardware update, transmission again after compressing by protocol data with communication equipment transmission, can alleviate the burden of transfer of data, improve the efficiency of transmission of communication equipment side greatly to the communication protocol data of host computer side, and obtain and handle under the mass communication protocol data situation to reach better real-time property at needs, and do not lose significant data.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the described principle of the embodiment of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. the transmission method of protocol data in the communication system is characterized in that, comprises the steps:
Steps A, communication equipment side are unit with the communication protocol message, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Step B, the communication protocol data after described communication equipment side will be compressed transfers to host computer side.
2. transmission method according to claim 1 is characterized in that, before the described steps A, also comprises:
Described communication equipment side will self support the compression information transmitted to report described host computer side;
Described communication equipment side joint receives that described host computer side sends enables to compress information transmitted, and enables to compress the compressed mode transmission that information transmitted enters protocol data according to described.
3. transmission method according to claim 1 is characterized in that, in the described steps A, described communication equipment side is carried out Real Time Compression to the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message.
4. according to each described transmission method among the claim 1-3, it is characterized in that described steps A comprises:
Described communication equipment side is calculated the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression;
Described communication equipment lateral root distributes the metadata cache of respective length according to the described length that calculates in data buffer area;
Described communication equipment side is carried out the Real Time Compression to described communication protocol data, and the communication protocol data after the described compression is saved in the metadata cache of described distribution.
5. transmission method according to claim 4 is characterized in that, in the described steps A, before the communication protocol data after the described compression is saved in described metadata cache, also comprises:
Communications protocol data after the described compression are provided with compact token.
6. transmission method according to claim 4, it is characterized in that, among the described step B, described communication equipment side once is transferred to described host computer side by general asynchronous receiving-transmitting transmitter, USB or transmission control protocol/internet protocol with the content in the described metadata cache, and after having transmitted, empty described metadata cache.
7. according to any one described transmission method among the claim 1-3, it is characterized in that, after described step B, also comprise:
Described host computer side receives the communication protocol data after the described compression, and the communication protocol data after the described compression is decompressed.
8. a communication equipment is characterized in that, comprising:
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Transport module is used for the communication protocol data after the compression is transferred to host computer side.
9. communication equipment according to claim 8 is characterized in that, also comprises:
The information reporting module is used for described communication equipment support compression information transmitted is reported described host computer side;
Compression transmission configuration module is used to receive that described host computer side sends enables to compress information transmitted, and enables to compress the compressed mode transmission that information transmitted enters protocol data according to described.
10. communication equipment according to claim 8 is characterized in that, described protocol data compression module is further used for the communication protocol data and/or the blank communication protocol data that repeat in the described communication protocol message are carried out Real Time Compression.
11. communication equipment according to claim 8 is characterized in that, described protocol data compression module comprises:
The length computation module is used to calculate the length of the communication protocol message after the compression, and the communication protocol data after the described compression is included in the communication protocol message after the described compression;
The buffer memory distribution module is used for the metadata cache according to the length allocation respective length after the described described compression that calculates;
The compression Executive Module is used to carry out the Real Time Compression to described communication protocol data;
Preserve module, be used for the communication protocol message after the described compression is saved in the metadata cache of described distribution.
12. one kind is used for main frame that the compression protocol data that each described communication equipment of claim 8-11 sends are decompressed.
13. a communication system comprises communication equipment side and host computer side, it is characterized in that,
Described communication equipment side comprises:
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data of desiring to transmit in the described communication protocol message is carried out Real Time Compression;
Transport module is used for the communication protocol data after the compression is transferred to described host computer side;
Described host computer side comprises:
The protocol data decompression module is used to receive the communication protocol data after the described compression, and the communication protocol data after the described compression is decompressed.
14. communication system according to claim 13 is characterized in that, described host computer side also comprises:
User interactive module, be used to receive the protocol data compression transfer function configuration order of user's input, and when described configuration order is compressed transfer function for enabling protocol data, open protocol data compression transfer function, when described configuration order when forbidding protocol data compression transfer function, close protocol data compression transfer function.
15. the compression set of a protocol data comprises:
The protocol message sending module is used to send communication protocol message;
The protocol data compression module, being used for the communication protocol message is unit, and the communication protocol data in the described communication protocol message of described protocol message sending module transmission is compressed.
16. decompressing device that the protocol data that is used for the compression of the described compression set of claim 15 decompresses.
CN200910093329A 2009-09-18 2009-09-18 Transmission method of protocol data in communication system, communication device and communication system Pending CN101662466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910093329A CN101662466A (en) 2009-09-18 2009-09-18 Transmission method of protocol data in communication system, communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910093329A CN101662466A (en) 2009-09-18 2009-09-18 Transmission method of protocol data in communication system, communication device and communication system

Publications (1)

Publication Number Publication Date
CN101662466A true CN101662466A (en) 2010-03-03

Family

ID=41790253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910093329A Pending CN101662466A (en) 2009-09-18 2009-09-18 Transmission method of protocol data in communication system, communication device and communication system

Country Status (1)

Country Link
CN (1) CN101662466A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746939A (en) * 2013-12-23 2014-04-23 西安理邦科学仪器有限公司 Distributed data transmission method and system
WO2017198183A1 (en) * 2016-05-18 2017-11-23 中国移动通信有限公司研究院 Uplink data transmission method and system, user equipment, base station and storage medium
CN110535846A (en) * 2019-08-22 2019-12-03 中国电力科学研究院有限公司 A kind of data frame compression method and system based on DL/T698.45 agreement
WO2023001173A1 (en) * 2021-07-23 2023-01-26 维沃移动通信有限公司 Method and apparatus for updating protocol function of terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746939A (en) * 2013-12-23 2014-04-23 西安理邦科学仪器有限公司 Distributed data transmission method and system
WO2017198183A1 (en) * 2016-05-18 2017-11-23 中国移动通信有限公司研究院 Uplink data transmission method and system, user equipment, base station and storage medium
CN107404735A (en) * 2016-05-18 2017-11-28 中国移动通信有限公司研究院 A kind of uplink data transmission method and system, user equipment and base station
CN110535846A (en) * 2019-08-22 2019-12-03 中国电力科学研究院有限公司 A kind of data frame compression method and system based on DL/T698.45 agreement
CN110535846B (en) * 2019-08-22 2022-03-04 中国电力科学研究院有限公司 Data frame compression method and system based on DL/T698.45 protocol
WO2023001173A1 (en) * 2021-07-23 2023-01-26 维沃移动通信有限公司 Method and apparatus for updating protocol function of terminal

Similar Documents

Publication Publication Date Title
CN102546800B (en) Handshake and communication methods for gateway, gateway and Web communication system
WO2017020722A1 (en) Virtual machine based data transmission method, device and system
CN109271412A (en) The real-time streaming data processing method and system of smart city
CN100481782C (en) Apparatus and method for checking performance of wireless data network
CN109886399B (en) Tensor processing device and method
CN102055771B (en) Device and method for controlling cloud service-oriented multiple concurrent service flow
CN102970287A (en) Processing method of hyper text transport protocol (HTTP) request data
CN103532984A (en) Data transmission method, device and system of websocket protocol
CN103346800B (en) A kind of data compression method and device
CN103577320A (en) Testing method and system of remote terminals
CN101662466A (en) Transmission method of protocol data in communication system, communication device and communication system
CN104219298B (en) Group system and its method for data backup
CN104954497B (en) Data transmission method and system in a kind of cloud storage system
CN112685248A (en) Intelligent network card monitoring log obtaining method and device, electronic equipment and storage medium
CN114298284A (en) Network model conversion method, device, system, storage medium and electronic device
CN116755844B (en) Data processing method, device and equipment of simulation engine and storage medium
CN114205274A (en) Network equipment testing method and device
CN102694730A (en) Method and device for parallel processing
CN101695172B (en) Method and device for independent description and encoding of message interfaces of communication equipment
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN113507530B (en) Data forwarding method, related system and device and storage medium
CN113422756B (en) Verification data transmission method, rate conversion device and verification data transmission system
CN115348333A (en) Data transmission method, system and equipment based on UDP (user Datagram protocol) double-end communication interaction
CN113746850B (en) Multichannel data acquisition method for Internet of things
CN102185896B (en) Cloud service-oriented device and method for sensing remote file request

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100303