IP Library Granted Patent US 11,251,992
Granted Patent B2
US 11,251,992 · App. 16/649,414 · Granted Feb 15, 2022

Data transmission method and processing method, and device

Inventors: Ziyong Zheng (Guangdong, CN); Chengxin Hu (Guangdong, CN)
Assignee: Comba Network Systems Company Limited
H04L12/4633H04L69/04H04L69/22H04W28/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,251,992
App. No.
16/649,414
Granted
Feb 15, 2022
Kind
B2
Abstract

Disclosed in the present invention are a data transmission method and processing method, and a device, which are used for improving the compression effect on an original message during tunnel transmission, wherein the data transmission method comprises: obtaining an original message to be transmitted and a current reference message, the current reference message and the original message being transmitted in the same tunnel; differentiating and compressing the original message and the current reference message to obtain an information message; encapsulating the information message by using a tunneling protocol to generate a tunnel message, the tunnel message comprising a compression information header, and the compression information header comprising a reference message identifier corresponding to the current reference message; and sending the tunnel message. With the disclosed method, each message in the same tunnel have a certain correlation. Therefore, the differentiation result obtained after the original message and the current reference message are differentiated is more regular, the information entropy thereof is smaller and a better compression effect may be obtained.

Claims (50)

1. A method for transmitting data, applied to a tunnel device in a virtual private network (VPN), and the tunnel device is configured to provide VPN service, wherein the method comprises:

obtaining original messages to be transmitted;

determining whether the original messages meet a reference message update criterion;

when the original messages do not meet the reference message update criterion, obtaining current reference messages, wherein the current reference messages and the original messages are transmitted in a same tunnel;

differentiating and compressing the original messages and the current reference messages to obtain information messages;

encapsulating the information messages by using tunneling protocols to generate tunnel messages, wherein the tunnel messages comprise compression information headers, and the compression information headers comprise reference message identifiers corresponding to the current reference messages; and

sending the tunnel messages;

wherein the compression information headers comprise compression algorithm identifiers comprising following cases: 0 for indicating no compression, 1 for indicating a lzo algorithm, 2 for indicating a zlib algorithm and 3 for indicating algorithms other than the lzo algorithm and the zlib algorithm.

2. The method according to claim 1 , wherein the method further comprises:

when the original messages meet the reference message update criterion, updating the current reference messages based on the original messages and updating the reference message identifiers of the current reference messages; and

encapsulating the original messages by using the tunneling protocols to generate the tunnel messages.

3. The method according to claim 2 , wherein the compression information headers further comprise update identifiers, and the update identifiers indicates that the original messages corresponding to the tunnel messages are the current reference messages.

4. A computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the computer executable instructions are configured to make a computer perform the method for transmitting data according to claim 1 .

5. A computing device, wherein comprising:

a memory, configured to store program instructions; and

a processor, configured to invoke the program instructions stored in the memory, and perform the method for transmitting data according to claim 1 based on the invoked program instructions.

6. A computer program product, comprising computer programs stored on a non-transient computer readable storage medium, wherein the computer programs comprise computer executable instructions, and when the computer executable instructions are executed by a computer, the computer performs the method for transmitting data according to claim 1 .

7. A method for processing data, configured to process tunnel messages sent by a tunnel device in a virtual private network (VPN), and the tunnel device is configured to provide VPN service, wherein the method comprises:

receiving tunnel messages;

determining whether update identifiers in the compression information headers of the tunnel messages are set values;

when the update identifiers in the compression information headers of the tunnel messages are the set values, decapsulating the tunnel messages to obtain information messages, wherein the information messages are obtained by differentiating and compressing original messages and reference messages, and the reference messages and the original messages are transmitted in a same tunnel;

obtaining the reference messages based on reference message identifiers comprised in compression information headers of the tunnel messages; and

obtaining the original messages based on the information messages and the reference messages;

wherein the compression information headers comprise compression algorithm identifiers comprising following cases: 0 for indicating no compression, 1 for indicating a lzo algorithm, 2 for indicating a zlib algorithm and 3 for indicating algorithms other than the lzo algorithm and the zlib algorithm.

8. The method according to claim 7 , wherein the method further comprises:

when the update identifiers in the compression information headers of the tunnel messages are not the set values, decapsulating the tunnel messages to obtain the original messages, and associating and storing the original messages and the reference message identifiers in the compression information headers.

9. A data processing apparatus, comprising:

a memory, configured to store program instructions; and

a processor, configured to invoke the program instructions stored in the memory to perform the method according to claim 7 .

10. The apparatus according to claim 9 , wherein the processor is further configured to invoke the program instructions stored in the memory to:

when the update identifiers in the compression information headers of the tunnel messages are not the set values, decapsulate the tunnel messages to obtain the original messages, and associate and store the original messages and the reference message identifiers in the compression information headers.

11. A computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the computer executable instructions are configured to make a computer perform the method for processing data according to claim 7 .

12. A computing device, comprising:

a memory, configured to store program instructions; and

a processor, configured to invoke the program instructions stored in the memory, and perform the method for processing data according to claim 7 based on the invoked program instructions.

13. A computer program product, comprising computer programs stored on a non-transient computer readable storage medium, wherein the computer programs comprise computer executable instructions, and when the computer executable instructions are executed by a computer, the computer performs the method for processing data according to claim 7 .

14. A data transmission apparatus, applied to a tunnel device in a virtual private network (VPN), and the tunnel device is configured to provide VPN service, wherein the apparatus comprises:

a memory, configured to store program instructions; and

a processor, configured to invoke the program instructions stored in the memory to:

obtain original messages to be transmitted;

determine whether the original messages meet a reference message update criterion;

when the original messages do not meet the reference message update criterion, obtain current reference messages by using a transceiver, wherein the current reference messages and the original messages are transmitted in a same tunnel;

differentiate and compress the original messages and the current reference messages to obtain information messages;

encapsulate the information messages by using tunneling protocols to generate tunnel messages, wherein the tunnel messages comprise compression information headers, and the compression information headers comprise reference message identifiers corresponding to the current reference messages; and

control the transceiver to send the tunnel messages;

wherein the compression information headers comprise compression algorithm identifiers comprising following cases: 0 for indicating no compression, 1 for indicating a lzo algorithm, 2 for indicating a zlib algorithm and 3 for indicating algorithms other than the lzo algorithm and the zlib algorithm.

15. The apparatus according to claim 14 , wherein the processor is further configured to invoke the program instructions stored in the memory to:

when the original messages meet the reference message update criterion, update the current reference messages based on the original messages and update the reference message identifiers of the current reference messages; and

encapsulate the original messages by using the tunneling protocols to generate the tunnel messages.

16. The apparatus according to claim 15 , wherein the compression information headers further comprise update identifiers, and the update identifiers indicates that the original messages corresponding to the tunnel messages are the current reference messages.

Assignments (3)
CHANGE OF NAME Recorded Aug 2, 2021
From: COMBA TELECOM SYSTEMS (CHINA) LTD
To: COMBA NETWORK SYSTEMS COMPANY LIMITED
Reel/Frame 057054/0179 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 24, 2020
From: ZHENG, ZIYONG; HU, CHENGXIN
To: COMBA TELECOM SYSTEMS (CHINA) LIMITED
Reel/Frame 052203/0546 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 23, 2020
From: ZHENG, ZIYONG; HU, CHENGXIN
To: COMBA TELECOM SYSTEMS (CHINA) LIMITED
Reel/Frame 052197/0375 →
Priority Claims (1)
CN 201710860616.X · Sep 21, 2017 · national
Continuity (1)
Related Publication 20200304339A1 · Sep 24, 2020