CN111246521B - Method and device for compression sending, receiving and self-learning of satellite transmission network packet header - Google Patents

Method and device for compression sending, receiving and self-learning of satellite transmission network packet header Download PDF

Info

Publication number
CN111246521B
CN111246521B CN202010041310.3A CN202010041310A CN111246521B CN 111246521 B CN111246521 B CN 111246521B CN 202010041310 A CN202010041310 A CN 202010041310A CN 111246521 B CN111246521 B CN 111246521B
Authority
CN
China
Prior art keywords
message
compressed
format
original
compression
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.)
Active
Application number
CN202010041310.3A
Other languages
Chinese (zh)
Other versions
CN111246521A (en
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.)
Sichuan Andi Technology Industrial Co Ltd
Original Assignee
Sichuan Andi Technology Industrial 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 Sichuan Andi Technology Industrial Co Ltd filed Critical Sichuan Andi Technology Industrial Co Ltd
Priority to CN202010041310.3A priority Critical patent/CN111246521B/en
Publication of CN111246521A publication Critical patent/CN111246521A/en
Application granted granted Critical
Publication of CN111246521B publication Critical patent/CN111246521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/18578Satellite systems for providing broadband data service to individual earth stations
    • H04B7/1858Arrangements for data transmission on the physical system, i.e. for data bit transmission between network components

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Radio Relay Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The packet header compression self-learning method of the satellite transmission network comprises the following steps: when the number of the continuously identified same message headers reaches a preset threshold value, replacing the message headers with compression indexes, and updating corresponding compression information to an index and compression information table of a sending end; judging whether the first N messages of the first compression of the current message header are the initial N messages: if yes, sending the message in a format with the original message after compression; if not, judging whether the current period is in the period of sending the original message: if yes, sending the message in a format with the original message after compression; if not, sending the message in a format without the original message after compression; receiving a message and judging a message header mark: if the format is a format with the original message after being compressed, updating the index and the compression information table of the self, and forwarding the original message; if the format is the format without the original message after being compressed, the original message is restored according to the index and the compressed information table, and the original message is forwarded. The bandwidth of the satellite link is saved, and messages do not need to be modified.

Description

Method and device for compression sending, receiving and self-learning of satellite transmission network packet header
Technical Field
The invention relates to satellite communication, in particular to a method and a device for compressing, sending, receiving and self-learning a packet header of a satellite transmission network.
Background
The IP message based on the Ethernet frame is the most common communication format at present, and a large amount of applications are started in the field of satellite transmission, the common IP message based on the Ethernet frame has the overhead of nearly 50 bytes, and when a short message is transmitted, the overhead accounts for 80% of the length of the whole message at most, the value of the overhead is basically fixed, the value is not added, and precious satellite bandwidth is wasted.
Disclosure of Invention
The method and the device for compressing, sending, receiving and self-learning the packet header of the satellite transmission network are mainly provided for overcoming the defects of the related prior art, the fixed and unchangeable packet header compression in the IP packet based on the Ethernet packet is replaced by a compression index, the bandwidth of a satellite link is saved, the Ethernet transmission is transparent, and the Ethernet packet does not need to be modified.
In order to achieve the above object, the present invention employs the following techniques:
a method for compressing and sending a packet header of a satellite transmission network is characterized by comprising the following steps:
when the number of the continuously identified same message headers reaches a preset threshold value, compressing the message headers, and replacing the message headers with compression indexes;
judging whether the first N messages of the first compression of the current message header are the first N messages, wherein N is an integer more than or equal to 3:
if yes, sending the message in a format with the original message after compression;
if not, judging whether the current period is in a period of sending the original message:
if yes, sending the message in a format with the original message after compression;
if not, sending the message in a format without the original message after compression;
sending the message by the format with the original message after compression or the format without the original message after compression so that a receiving end judges a message header marker when receiving the message, updates compression information in the format with the original message after compression to an index and compression information table of the receiving end when judging that the message header marker is the format with the original message after compression, and forwards the original message in the received message; when the message header mark is judged to be in a format without the original message after being compressed, the original message in the received message is restored according to the index of the receiving end and the corresponding compressed information in the compressed information table, and the original message is forwarded.
Further, the message header is compressed, and after the message header is replaced by a compressed index, the corresponding compressed information is updated to the index and compressed information table of the sending end.
Further, the compressed format with the original message: "compressed with original message flag" + "compressed index" + "original message"; the compressed format without the original message: the "compress message without original message flag" + "compress index" + "removes the message of the compressed message header".
Further, when the number of the continuously identified same message headers does not reach a preset threshold value, the message headers are not compressed and are sent in a non-compressed message format; so that the receiving end: when the message is received and the header mark of the message is judged to be in a non-compressed message format, the original message is directly forwarded.
A packet header compression receiving method of a satellite transmission network is characterized by comprising the following steps:
performing message header flag judgment on a received message, wherein the received message comprises a message which is sent after a sending end replaces message header compression with compression index when the number of continuously identified same message headers reaches a preset threshold value: the format with the original message after compression or the format without the original message after compression; wherein,
the format with the original message after compression is a message format which is sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages, or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, wherein N is an integer which is not less than 3;
the format without the original message after the compression is the format of the message sent by the sending end when the sending end judges that the first N messages compressed for the first time of the current message header are not the first N messages and are not in the period of sending the original message, wherein N is an integer not less than 3;
when the message header mark is judged to be in a compressed format with the original message, updating the compressed information in the compressed format with the original message to an index and compressed information table of a receiving end per se, and forwarding the original message in the received message;
when the message header mark is judged to be in a format without the original message after being compressed, the original message in the received message is restored according to the index of the receiving end and the corresponding compressed information in the compressed information table, and the original message is forwarded.
Further, the received message includes a message which is sent after the sending end replaces the message header compression with the compression index when the number of the continuously identified same message headers reaches the preset threshold value, and updates the corresponding compression information to the index and the compression information table of the sending end.
Further, the compressed format with the original message: "compressed band original message flag" + "compressed index" + "original message"; the compressed format without the original message: "compress message without original message flag" + "compress index" + "remove the message header that was compressed".
Further, the received message also includes a message in a non-compressed format, which is sent by the sending end in the non-compressed format when the sending end judges that the number of the continuously identified same message headers does not reach the preset threshold value. And when the header mark of the message is judged to be the uncompressed format message, directly forwarding the original message in the received message.
A header compression transmitting apparatus for a satellite transmission network, comprising:
the compression module is used for compressing the message headers when the number of the continuously identified same message headers reaches a preset threshold value, and replacing the message headers with compression indexes;
the first judgment module is used for judging whether the first N messages of the first compression of the current message header are the first N messages, wherein N is an integer more than or equal to 3;
the second judgment module is used for judging whether the current cycle of sending the original message is in;
the sending module is used for sending the message in a compressed format with the original message when the first judging module judges that the message is in the positive state or when the first judging module judges that the message is in the negative state and the second judging module judges that the message is in the positive state; when the first judging module judges that the message is not in the original format, the second judging module judges that the message is not in the original format; and for causing, by sending a message: when the receiving end receives the message, the message header marker is judged, and when the message header marker is judged to be in a compressed format with the original message, the compressed information in the compressed format with the original message is updated to the index and compressed information table of the receiving end, and the original message in the received message is forwarded; when the header mark of the message is judged to be in a format without the original message after being compressed, the original message in the received message is restored according to the index of the receiving end and the corresponding compressed information in the compressed information table, and the original message is forwarded.
A header compression receiving apparatus for a satellite transmission network, comprising:
a receiving judgment module, configured to perform message header flag judgment on a received message, where the received message includes a message sent after a sending end replaces a message header by a compressed index in a compressed manner when the number of message headers that are continuously identified by the sending end reaches a predetermined threshold: the format with the original message after compression or the format without the original message after compression; wherein,
the format with the original message after compression is a message format which is sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, wherein N is an integer not less than 3;
the format without the original message after compression is the message format sent by the sending end when judging that the first N messages compressed for the first time by the current message header are not the first N messages and are not in the period of sending the original message, wherein N is an integer more than or equal to 3;
the first forwarding module is used for updating compressed information in the compressed format with the original message to an index and compressed information table of a receiving end when the message header flag is judged to be the compressed format with the original message, and forwarding the original message in the received message;
and the second forwarding module is used for restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table and forwarding the original message when the message header mark is judged to be in a format without the original message after being compressed.
A packet header compression self-learning method of a satellite transmission network is characterized by comprising the following steps:
when the sending end continuously identifies that the number of the same message headers reaches a preset threshold value, the message headers are compressed, and after the message headers are replaced by compressed indexes, the corresponding compressed information is updated to an index and compressed information table of the sending end;
judging whether the first N messages compressed for the first time by the current message header are the first N messages, wherein N is an integer more than or equal to 3:
if yes, sending the message in a format with the original message after compression;
if not, judging whether the current period is in a period of sending the original message:
if yes, sending the message in a format with the original message after compression;
if not, sending the message in a format without the original message after compression;
the receiving end judges the header mark of the message after receiving the message sent by the sending end:
if the message header mark is in a compressed format with the original message, updating the compressed information in the compressed format with the original message to an index and compressed information table of a receiving end per se, and transmitting the original message in the received message;
if the message header mark is in a format without the original message after being compressed, the original message in the received message is restored according to the index of the receiving end and the corresponding compressed information in the compressed information table, and the original message is forwarded.
The utility model provides a packet head compression self-learning device of satellite transmission network which characterized in that, includes sending end learning module and receiving end learning module, wherein:
the sending end learning module comprises:
the compression unit is used for compressing the message headers when the sending end continuously identifies that the number of the same message headers reaches a preset threshold value, replacing the message headers with compression indexes, and updating corresponding compression information to an index and compression information table of the sending end;
the first judging unit is used for judging whether the first N messages of the first compression of the current message header of the sending end are the first N messages, and N is an integer more than or equal to 3;
the second judging unit is used for judging whether the sending end is currently in a period of sending the original message; and
a sending unit, configured to send the message in a format with the original message after compression when the first determining unit determines yes, or when the first determining unit determines no and the second determining unit determines yes; when the first judging unit judges that the message is not sent, the second judging unit judges that the message is not sent, and the first judging unit judges that the message is not sent;
a receiving end learning module comprising:
a receiving judgment unit, configured to receive the message sent by the sending unit and judge a header flag of the received message;
the first forwarding unit is used for updating compressed information in the format with the original message after compression to an index and compressed information table of a receiving end when the receiving judgment unit judges that the message header mark is in the format with the original message after compression, and forwarding the original message in the received message; and
and the second forwarding unit is used for restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table and forwarding the original message when the receiving judgment unit judges that the message header mark is in a format without the original message after being compressed.
The invention has the beneficial effects that:
1. the invention is applied on a satellite communication link, self-learning packet headers are compressed, a certain amount of compressed packets with original messages are started to be sent so as to facilitate the learning of a receiver, the compressed packets with the compressed message headers removed are sent to save the band, the compressed packets with the original messages are sent regularly, the learning information of the receiver is refreshed, so that the compressed packets are the original messages when being forwarded by the receiver, and the external Ethernet equipment can be seamlessly butted; if the compressed format does not have the original message format, the information of the satellite link is reduced, the bandwidth is saved, and the specific saved bandwidth is about: (compressed message header length- (compressed flag length + compressed index length)) ((original message period-1 sent during compression)/original message period sent during compression); the more the compressed message headers, the better the effect.
2. The receiving end and the transmitting end do not need complex negotiation protocol, the unidirectional link can also be used, the satellite link is a star-shaped networking, and the negotiation is very difficult if the receiving end and the transmitting end need to be carried out.
Drawings
Fig. 1 is a flowchart of an embodiment of a packet header compression transmitting method of a satellite transmission network according to the present invention.
Fig. 2 is a block diagram of an embodiment of a header compression and transmission apparatus of a satellite transmission network according to the present invention.
Fig. 3 is a flowchart of an embodiment of a packet header compression receiving method of a satellite transmission network according to the present application.
Fig. 4 is a block diagram of an embodiment of a header compression receiving apparatus of a satellite transmission network according to the present invention.
Fig. 5 is a flowchart of an embodiment of a header compression self-learning method for a satellite transmission network according to the present invention.
Fig. 6 is a block diagram of an embodiment of a header compression self-learning apparatus for a satellite transmission network according to the present invention.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings.
The three message formats involved are described below:
1. non-compressed message format
Non-compression mark Original message
2. Compressed format with original message
Compressed band original message mark Compressed index Original message
3. Compressed format without original message
Compressed without original message flag Compressing an index Message with compressed header removed
Fig. 1 shows an embodiment of a packet header compression method of a satellite transmission network according to the present application.
The header compression sending method flow mainly comprises the following steps:
(1) when the number of the continuously identified same message headers reaches a preset threshold value, such as 3, compressing the message headers, and replacing the message headers with compression indexes; and updating the corresponding compression information to the index and compression information table of the sending end. If the condition of reaching the preset threshold value 3 is not satisfied, the compression is not started, and the message is directly sent in a non-compressed message format.
(2) Judging whether the first N messages compressed for the first time by the current message header are the first N messages, where N in this example is 3: if yes, sending the message in a format with the original message after compression;
(3) if the last step is judged to be negative, whether the current period is in a period of sending the original message is judged: if yes, sending the message in a format with the original message after compression; if not, sending the message in a format without the original message after compression;
(4) by the preset threshold condition and the judgment condition, the sending end sends one of three related message formats, so that the receiving end makes one of the following responses after receiving the message and judging the message header mark:
(4-1) directly forwarding the original message in the received message when the message header mark is judged to be in a non-compressed message format;
(4-2) when the header mark of the message is judged to be in the compressed format with the original message, updating the compressed information in the compressed format with the original message to an index and compressed information table of a receiving end per se, and forwarding the original message in the received message;
and (4-3) when the header mark of the message is judged to be in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message.
By implementing the steps in sequence, the method for transmitting the header compression is completed, so that a receiving end and a transmitting end do not need a complex negotiation protocol, and a unidirectional link can also be used; the receiving party is an original message when forwarding, and can be seamlessly connected with external Ethernet equipment. If the format without the original message after compression is adopted, the information of the satellite link is reduced, and the bandwidth is saved by about: (compressed message header length- (compressed flag length + compressed index length)) + ((original message period-1 sent during compression)/original message period sent during compression).
Fig. 2 is a block diagram of an embodiment of a header compression transmitting apparatus for a satellite transmission network.
The packet header compression and transmission device described in this embodiment includes a compression module, a first determination module, a second determination module, and a transmission module. The compression module is connected with the first judgment module, the first judgment module is connected with the second judgment module and the sending module, and the second judgment module is connected with the sending module.
Specifically, the compression module is configured to compress the packet headers, replace the packet headers with compression indexes, and update the corresponding compression information to the index and compression information table of the sending end when the number of the continuously identified same packet headers reaches a predetermined threshold, for example, 3.
The first judging module is configured to judge whether the first N messages of the first compression of the current header are the first N messages, where N is 3.
And the second judging module is configured to judge whether the current cycle is in a period of sending the original message.
The sending module is configured to send the message in a compressed format with the original message when the first judging module judges yes or when the first judging module judges no and the second judging module judges yes; and when the first judging module judges that the message is not the original message, the second judging module judges that the message is not the original message, and the message is sent in a format without the original message after compression.
Meanwhile, the sending module is further configured to send the message so that: after receiving the message and judging the message header marker, the receiving end makes one of the following responses:
(1) when the message header mark is judged to be in a compressed format with the original message, updating the compressed information in the compressed format with the original message to an index and compressed information table of a receiving end per se, and forwarding the original message in the received message;
(2) when the message header mark is judged to be in a format without the original message after being compressed, the original message in the received message is restored according to the index of the receiving end and the corresponding compressed information in the compressed information table, and the original message is forwarded.
As a specific implementation means of this embodiment, the packet header compression and transmission device further includes a forwarding module.
And the direct sending module is configured to send the messages in a non-compressed message format when the number of the continuously identified same message headers does not reach the preset threshold value of 3, so that a receiving end directly forwards the original messages in the received messages when receiving the messages and judging that the message header marks are in the non-compressed message format.
The device is applied to a satellite communication link to realize the transmission of packet header compression, so that a receiving end and a transmitting end do not need a complex negotiation protocol, and a unidirectional link can also be used; the receiving party is an original message when forwarding, and can be seamlessly connected with external Ethernet equipment. If the format without the original message after compression is adopted, the information of the satellite link is reduced, and the bandwidth is saved by about: (compressed message header length- (compressed flag length + compressed index length)) ((original message period-1 sent during compression)/original message period sent during compression).
Fig. 3 is a flowchart of an embodiment of a packet header compression receiving method of the satellite transmission network according to the present application.
As shown in the figure, the flow of the packet header compression receiving method includes the following steps:
(1) and receiving a message sent by a sending end.
In this example, the received message includes:
(1-1) when the number of the continuously identified same message headers reaches a preset threshold value, for example, 4, the sending end replaces the message header compression with a compression index, and updates the corresponding compression information to the message sent after the index and the compression information table of the sending end, including: the format with the original message after compression and the format without the original message after compression.
(1-2) the sending end sends the messages in a non-compression format when judging that the number of the continuously identified same message heads does not reach the preset threshold value of 4: message in uncompressed format.
Specifically, the format of the compressed original message is a message format sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages, or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, where N is 4.
Specifically, the format without the original packet after the compression is the format of the packet sent by the sending end when the sending end judges that the first N packets compressed for the first time of the current packet header are not the first N packets and are not in the period for sending the original packet, where N is 4.
(2) Judging the header mark of the received message:
and (2-1) when the header flag of the message is judged to be the uncompressed format message, directly forwarding the original message in the received message.
And (2-2) when the header flag of the message is judged to be in the format with the original message after being compressed, updating the compressed information in the format with the original message after being compressed to the index and the compressed information table of the receiving end per se, and forwarding the original message in the received message.
And (2-3) when the header mark of the message is judged to be in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message.
After the processing according to the above procedures of this example, the receiving end is an original message when forwarding, and can seamlessly interface with the external ethernet device, especially when the format is compressed without the original message, not only the information of the satellite link is reduced, but also the bandwidth is saved.
Fig. 4 is a block diagram of an embodiment of a header compression receiving apparatus of a satellite transmission network according to the present invention.
The packet header compression receiving device comprises a receiving judgment module, a first forwarding module and a second forwarding module. The receiving and judging module is respectively connected with the first forwarding module and the second forwarding module.
A receiving and judging module, configured to perform message header flag judgment on a received message, where the received message includes a message sent after a sending end replaces a message header compression with a compression index when the number of continuously identified same message headers reaches a predetermined threshold, for example, 5: the format with the original message after compression or the format without the original message after compression; wherein:
the format with the original message after compression is a message format which is sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages, or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, and N is 5;
the format without the original message after compression is the format of the message sent by the sending end when the sending end judges that the first N messages compressed for the first time of the current message header are not the first N messages and are not in the period for sending the original message, and N is 5.
The first forwarding module is configured to update compressed information in the format with the original message after compression to an index and compressed information table of a receiving end when the receiving judgment module judges that the header flag of the message is in the format with the original message after compression, and forward the original message in the received message;
and the second forwarding module is configured to restore the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table and forward the original message when the receiving judgment module judges that the header mark of the message is in a format without the original message after being compressed.
As a specific implementation means of the embodiment:
the packet header compression receiving device also comprises a direct forwarding module, and the receiving judgment module is connected with the direct forwarding module.
The received message further includes: and when the number of the continuously identified same message heads does not reach 5 preset threshold values, the sending end sends the messages in a non-compression format.
And the direct forwarding module is configured to directly forward the original message when the receiving judgment module judges that the message header flag is a message in a non-compressed format.
The receiving device of the embodiment is applied to a satellite communication link for receiving and implementing, so that the receiving end is an original message when transmitting, and can be seamlessly connected with external Ethernet equipment, especially when the format of the original message is not carried out after the compression, the information of the satellite link is reduced, and the bandwidth is saved.
Fig. 5 is a flowchart illustrating a header compression self-learning method according to an embodiment of the present application.
Specifically, the flow of the self-learning method of the embodiment comprises the following steps:
(1) when the sending end continuously identifies that the number of the same message headers reaches a preset threshold value, for example, 3 message headers are compressed, the message headers are replaced by compressed indexes, and then the corresponding compressed information is updated to an index and compressed information table of the sending end.
If the number of the continuously identified same message headers does not reach 3 preset threshold values, the message with the uncompressed message format is directly sent.
(2) Judging whether the first N messages of the first compression of the current message header are the initial N messages, wherein N is 3: if yes, the message is sent in a format with the original message after being compressed.
(3) If the judgment result in the last step is negative, judging whether the current period of sending the original message is: if yes, sending the message in a format with the original message after compression; if not, the message is sent in a format without the original message after being compressed.
(4) The receiving end receives the message sent by the sending end
(5) The receiving end judges the message header mark of the received message:
and (5-1) if the message header mark judgment result is in a non-compressed message format, directly forwarding the original message in the received message.
And (5-2) if the header mark of the message is in the format with the original message after being compressed, updating the compressed information in the format with the original message after being compressed to the index and compressed information table of the receiving end per se, and transmitting the original message in the received message.
And (5-3) if the header mark of the message is in a format without the original message after compression, restoring the original message in the received message according to the index of the receiving end and the corresponding compression information in the compression information table, and forwarding the original message.
Through the implementation of the flow, the self-learning packet header compression starts to send a certain number of compressed packets with original messages so as to facilitate the learning of a receiving party, the bandwidth is saved by sending the messages with the compressed message headers removed, and the learning information of the receiving party is refreshed by regularly sending the compressed packets with the original messages.
Fig. 6 is a block diagram of a header compression self-learning apparatus of a satellite transmission network according to an embodiment of the present invention.
The packet header compression self-learning device comprises a sending end learning module and a receiving end learning module.
Specifically, the sending end learning module comprises a compression unit, a first judgment unit, a second judgment unit and a sending unit. The compression unit is connected with the first judgment unit, the first judgment unit is connected with the second judgment unit and the sending unit, and the sending unit is connected with the second judgment unit.
And the compression unit is configured to compress the message headers when the sending end continuously identifies that the number of the same message headers reaches a predetermined threshold, for example, 4, replace the message headers with compression indexes, and update corresponding compression information to an index and compression information table of the sending end.
The first judging unit is configured to judge whether the first N messages of the first compression of the current header of the sending end are the first N messages, where N is 4.
And the second judging unit is configured to judge whether the sending end is currently in a period of sending the original message.
A sending unit configured to send the message in a format with the original message after compression when the first judging unit judges yes or when the first judging unit judges no and the second judging unit judges yes; and when the first judging unit judges that the message is not the original message, the second judging unit judges that the message is not the original message.
Specifically, the receiving end learning module includes a receiving judgment unit, a first forwarding unit, and a second forwarding unit. The receiving and judging unit is respectively connected with the first forwarding unit and the second forwarding unit.
And the receiving judgment unit is configured to receive the message sent by the sending unit and judge the header sign of the received message.
And the first forwarding unit is configured to, when the receiving judgment unit judges that the header flag of the message is in the format with the compressed original message, update the compressed information in the format with the compressed original message to an index and a compressed information table of the receiving end, and forward the original message in the received message.
And the second forwarding unit is configured to restore the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table when the receiving judgment unit judges that the message header flag is in a format without the original message after being compressed, and forward the original message.
The system further comprises a straight sending unit which is configured to send the message in a non-compressed message format when the number of the continuously identified same message headers does not reach the preset threshold value of 4.
Correspondingly, the receiving end learning module also comprises a direct forwarding unit which is connected with the receiving judgment unit. And the direct forwarding unit is configured to directly forward the original message when the receiving judgment unit judges that the message header mark is the message in the uncompressed format.
The self-learning device of the embodiment is applied to the transmitting and receiving process of the satellite communication link, a certain number of compressed packets with original messages are transmitted by compressing the self-learning packet headers so as to be convenient for a receiving party to learn, the bandwidth is saved by transmitting the messages with the compressed message headers removed, and the learning information of the receiving party is refreshed by periodically transmitting the compressed packets with the original messages.
The predetermined threshold in each example can be set to be an integer greater than or equal to 3 according to actual conditions, the effect is ensured by compressing the messages repeatedly repeating the packet headers, and the specific threshold can be adjusted according to the capacity of the learning table, for example, when the capacity is small, only the messages with large repetition amount are compressed; when the capacity is large, the capacity can be reduced, so that a small amount of repeated messages are compressed. Through the setting of the repeated times, the reliability is increased, and the following steps can be dealt with: the first packet from the beginning is lost in the link, the opposite terminal can not learn the table, and then the table can not be learned until the next period begins, so that the compressed messages corresponding to the table can not be recombined at the receiving terminal. Through the setting of the repeated times, even if a plurality of packets are lost when the compression is started, the table can be repaired once every time the period passes, and the problem that the service is long-broken because the receiving end cannot decompress the message for a long time is avoided.
By the processing of the embodiment of the application, the packet loss can be reduced to the maximum extent, a sender is not required to confirm whether a receiver receives the compressed packet, and the confirmation on the star network is very complex and tedious.
The implementation of each embodiment of the application can save the bandwidth of the satellite link, and make the receiving end and the sending end not need complex negotiation protocol, the unidirectional link can also be used, the satellite link is a star networking, and the negotiation is very difficult if the receiving end and the sending end need to be carried out.
The above embodiments are merely examples for illustrating the technical means of the present application, and the present application is not limited to the above examples.

Claims (8)

1. A method for compressing and sending a packet header of a satellite transmission network is characterized by comprising the following steps:
when the number of the continuously identified same message headers reaches a preset threshold value, compressing the message headers, replacing the message headers with compressed indexes, and updating corresponding compressed information to an index and compressed information table of a sending end;
judging whether the first N messages of the first compression of the current message header are the first N messages, wherein N is an integer more than or equal to 3:
if yes, sending the message in a format with the original message after compression;
if not, judging whether the current period is in the period of sending the original message:
if yes, sending the message in a format with the original message after compression;
if not, sending the message in a format without the original message after compression;
sending the message by the format with the original message after compression or the format without the original message after compression, so that a receiving end judges a message header marker when receiving the message, updates compression information in the format with the original message after compression to an index and compression information table of the receiving end when judging that the message header marker is the format with the original message after compression, and forwards the original message in the received message; when the message header mark is judged to be in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message;
wherein, the format with the original message after compression is as follows: "compressed band original message flag" + "compressed index" + "original message";
the compressed format without the original message: "compress message without original message flag" + "compress index" + "remove the message header that was compressed".
2. The method for transmitting header compression in a satellite transmission network according to claim 1,
when the number of the continuously identified same message headers does not reach a preset threshold value, the message headers are not compressed and are sent in a non-compressed message format;
so that the receiving end: when the message is received and the header mark of the message is judged to be in a non-compressed message format, the original message is directly forwarded.
3. A method for compressing and receiving a packet header of a satellite transmission network is characterized by comprising the following steps:
the method comprises the following steps of judging message header marks of received messages, wherein the received messages comprise messages which are sent after a sending end replaces message header compression with a compression index when the number of continuously identified same message headers reaches a preset threshold value, and updates corresponding compression information to an index of the sending end and a compression information table, and comprises the following steps: the format with the original message after compression or the format without the original message after compression; wherein,
the format with the original message after compression is a message format which is sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, wherein N is an integer not less than 3;
the format without the original message after the compression is the format of the message sent by the sending end when the sending end judges that the first N messages compressed for the first time of the current message header are not the first N messages and are not in the period of sending the original message, wherein N is an integer not less than 3;
when the header mark of the message is judged to be in a compressed format with the original message, updating the compressed information in the compressed format with the original message to an index and compressed information table of a receiving end per se, and forwarding the original message in the received message;
when the header mark of the message is judged to be in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message;
wherein, the compressed format with the original message is as follows: "compressed band original message flag" + "compressed index" + "original message";
the compressed format without the original message: the "compress message without original message flag" + "compress index" + "removes the message of the compressed message header".
4. The packet header compression receiving method of a satellite transmission network according to claim 3, wherein the received message further includes a message in a non-compressed format, which is a message sent in the non-compressed format by the sending end when the number of the message headers continuously identified and identical by the sending end is judged not to reach a predetermined threshold value;
and when the header mark of the message is judged to be the uncompressed format message, directly forwarding the original message in the received message.
5. A header compression transmitting apparatus for a satellite transmission network, comprising:
the compression module is used for compressing the message headers when the number of the same message headers which are continuously identified reaches a preset threshold value, replacing the message headers with compression indexes, and updating corresponding compression information to an index and compression information table of the sending end;
the first judgment module is used for judging whether the first N messages of the first compression of the current message header are the first N messages, wherein N is an integer more than or equal to 3;
the second judgment module is used for judging whether the current period is in a period of sending the original message or not;
the sending module is used for sending the message in a compressed format with the original message when the first judging module judges yes or when the first judging module judges no and the second judging module judges yes; when the first judging module judges that the message is not sent, the second judging module judges that the message is not sent, and the first judging module judges that the message is not sent; and for causing, by sending a message: when the receiving end receives the message, the message header marker is judged, and when the message header marker is judged to be in a compressed format with the original message, the compressed information in the compressed format with the original message is updated to the index and compressed information table of the receiving end, and the original message in the received message is forwarded; when the message header mark is judged to be in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message;
wherein, the compressed format with the original message is as follows: "compressed band original message flag" + "compressed index" + "original message";
the compressed format without the original message: "compress message without original message flag" + "compress index" + "remove the message header that was compressed".
6. A header compression receiving apparatus for a satellite transmission network, comprising:
a receiving judgment module, configured to perform message header flag judgment on a received message, where the received message includes a message sent after a sending end replaces a message header with a compressed index when the number of continuously identified same message headers reaches a predetermined threshold, and updates corresponding compressed information to an index of the sending end and a compressed information table: the format with the original message after compression or the format without the original message after compression; wherein,
the format with the original message after compression is a message format which is sent by the sending end when the first N messages compressed for the first time by the current message header are judged to be the first N messages or when the first N messages compressed for the first time by the current message header are judged not to be the first N messages but are in a period for sending the original message, wherein N is an integer not less than 3;
the format without the original message after the compression is the format of the message sent by the sending end when the sending end judges that the first N messages compressed for the first time of the current message header are not the first N messages and are not in the period of sending the original message, wherein N is an integer not less than 3;
the first forwarding module is used for updating compressed information in the compressed format with the original message to an index and compressed information table of a receiving end when the message header flag is judged to be the compressed format with the original message, and forwarding the original message in the received message;
a second forwarding module, configured to, when it is determined that the header flag of the message is in a format without an original message after being compressed, restore the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forward the original message;
wherein, the compressed format with the original message is as follows: "compressed band original message flag" + "compressed index" + "original message";
the compressed format without the original message: the "compress message without original message flag" + "compress index" + "removes the message of the compressed message header".
7. A packet header compression self-learning method of a satellite transmission network is characterized by comprising the following steps:
when the sending end continuously identifies that the number of the same message headers reaches a preset threshold value, the message headers are compressed, and after the message headers are replaced by compressed indexes, the corresponding compressed information is updated to an index and compressed information table of the sending end;
judging whether the first N messages compressed for the first time by the current message header are the first N messages, wherein N is an integer more than or equal to 3:
if yes, sending the message in a format with the original message after compression;
if not, judging whether the current period is in the period of sending the original message:
if yes, sending the message in a format with the original message after compression;
if not, sending the message in a format without the original message after compression;
the receiving end judges the header mark of the message after receiving the message sent by the sending end:
if the message header flag is in a format with the original message after being compressed, updating the compressed information in the format with the original message after being compressed to an index and a compressed information table of a receiving end per se, and transmitting the original message in the received message;
if the header mark of the message is in a format without the original message after being compressed, restoring the original message in the received message according to the index of the receiving end and the corresponding compressed information in the compressed information table, and forwarding the original message;
wherein, the compressed format with the original message is as follows: "compressed with original message flag" + "compressed index" + "original message";
the compressed format without the original message: the "compress message without original message flag" + "compress index" + "removes the message of the compressed message header".
8. The utility model provides a satellite transmission network's baotou compression self-learning device which characterized in that, includes sending end learning module and receiving end learning module, wherein:
the sending end learning module comprises:
the compression unit is used for compressing the message headers when the number of the same message headers continuously identified by the sending end reaches a preset threshold value, replacing the message headers with compression indexes, and updating corresponding compression information to an index and compression information table of the sending end;
the first judging unit is used for judging whether the first N messages compressed for the first time by the current message header of the sending end are the first N messages, wherein N is an integer more than or equal to 3;
the second judging unit is used for judging whether the sending end is currently in a period of sending the original message; and
a sending unit, configured to send the message in a format with the original message after compression when the first determining unit determines yes, or when the first determining unit determines no and the second determining unit determines yes; when the first judging unit judges that the message is not sent, the second judging unit judges that the message is not sent, and the first judging unit judges that the message is not sent;
a receiving end learning module comprising:
a receiving judgment unit, configured to receive the message sent by the sending unit and judge a header flag of the received message;
a first forwarding unit, configured to, when the receiving determining unit determines that the header flag of the packet is in a compressed format with an original packet, update compressed information in the compressed format with the original packet to an index and a compressed information table of a receiving end, and forward the original packet in the received packet; and
a second forwarding unit, configured to, when the receiving determining unit determines that the header flag of the packet is in a format without an original packet after compression, restore the original packet in the received packet according to the index of the receiving end and corresponding compression information in the compression information table, and forward the original packet;
wherein, the format with the original message after compression is as follows: "compressed band original message flag" + "compressed index" + "original message";
the compressed format without the original message: "compress message without original message flag" + "compress index" + "remove the message header that was compressed".
CN202010041310.3A 2020-01-15 2020-01-15 Method and device for compression sending, receiving and self-learning of satellite transmission network packet header Active CN111246521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010041310.3A CN111246521B (en) 2020-01-15 2020-01-15 Method and device for compression sending, receiving and self-learning of satellite transmission network packet header

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010041310.3A CN111246521B (en) 2020-01-15 2020-01-15 Method and device for compression sending, receiving and self-learning of satellite transmission network packet header

Publications (2)

Publication Number Publication Date
CN111246521A CN111246521A (en) 2020-06-05
CN111246521B true CN111246521B (en) 2022-07-22

Family

ID=70865501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010041310.3A Active CN111246521B (en) 2020-01-15 2020-01-15 Method and device for compression sending, receiving and self-learning of satellite transmission network packet header

Country Status (1)

Country Link
CN (1) CN111246521B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6963570B1 (en) * 1997-07-15 2005-11-08 Comsat Corporation Method and apparatus for adaptive loss-less compression of cell/packet headers
US6041054A (en) * 1997-09-24 2000-03-21 Telefonaktiebolaget Lm Ericsson Efficient transport of internet protocol packets using asynchronous transfer mode adaptation layer two
CN100589441C (en) * 2006-10-13 2010-02-10 中兴通讯股份有限公司 IP packet compression method for terminal-to-terminal link transmission
CN101453298B (en) * 2007-12-07 2013-06-05 华为技术有限公司 Processing method, system and apparatus for header compression in wireless network
CN101568144B (en) * 2009-03-18 2010-12-01 中国人民解放军理工大学 Header compression method applicable to wireless ad hoc network
US8588227B2 (en) * 2009-07-17 2013-11-19 Qualcomm Incorporated Recursive header compression for relay nodes
AU2009212933A1 (en) * 2009-09-02 2011-03-17 Canon Kabushiki Kaisha Methods of storing and retrieving images
CN103825869A (en) * 2012-11-19 2014-05-28 中兴通讯股份有限公司 Compression and decompression method for Ethernet message header, and compression and decompression device thereof
GB2510198B (en) * 2013-01-29 2015-04-08 Canon Kk Method and device for encoding a header in a message using an indexing table
CN104394117A (en) * 2014-03-10 2015-03-04 贵阳朗玛信息技术股份有限公司 RTP packet transmission method and device
CN106100786A (en) * 2016-05-27 2016-11-09 电子科技大学 A kind of spaceborne ADS B detection of preamble method relevant based on header entirety
US10299163B2 (en) * 2016-07-05 2019-05-21 Mediatek Inc. Enhancement on header compression

Also Published As

Publication number Publication date
CN111246521A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
EP1421765B1 (en) Extension header compression
US20120140686A1 (en) Method and apparatus for sending, receiving, and transmission of data packets (as amended)
CN101146025B (en) Packet transmission method, system and compression unit for compression real time transmission protocol
CN103369593B (en) A kind of method compressing reconciliation compressed ethernet message and network element device
CN103825869A (en) Compression and decompression method for Ethernet message header, and compression and decompression device thereof
CN112566180B (en) Method for improving packet data transmission rate of TETRA system
CN112702411B (en) Method for solving CANTP multi-frame packet loss retransmission
CN114079674B (en) Data processing method, user plane function and device
CN107566330B (en) Apparatus adapted to maintain received data quality and method for receiving data
CN104618961A (en) Single-channel TCP/ IP header compression method and system for intelligent power grid
CN111131179B (en) Service processing method, device, network equipment and storage medium
CN101534291A (en) Method for sending and receiving IP message and device thereof
CN111246521B (en) Method and device for compression sending, receiving and self-learning of satellite transmission network packet header
WO2020176222A3 (en) Compressed data transmissions in networks implementing interior gateway protocol
CN101657981B (en) Method and apparatus for transmitting and receiving packet data unit in mobile communication system
WO2020207429A1 (en) Message processing method and apparatus, and computer-readable storage medium
CN102006295A (en) Data compression method based on asynchronous transfer mode (ATM) carried IP voice
CN103634843A (en) Data transmission method, wireless network controller, base station and mobile communication system
CN105242908B (en) A kind of big document transmission method of VHF radio for flowing control firmly based on serial ports
CN108737349B (en) Voice data packet processing method and device
CN108076481B (en) Method for terminal to access cluster group calling later
US20230140866A1 (en) Wireless data link layer compression and decompression
CN112769705A (en) VoIP header compression method suitable for small local area network
CN106888121B (en) A kind of 1553B bus protocol emulation mode based on transmission of data blocks
CN112866389A (en) Slip protocol-based file transmission method and device in short-wave radio station communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant