WO2013149587A1 - Ethernet message compression and decompression methods and network element device - Google Patents

Ethernet message compression and decompression methods and network element device Download PDF

Info

Publication number
WO2013149587A1
WO2013149587A1 PCT/CN2013/073712 CN2013073712W WO2013149587A1 WO 2013149587 A1 WO2013149587 A1 WO 2013149587A1 CN 2013073712 W CN2013073712 W CN 2013073712W WO 2013149587 A1 WO2013149587 A1 WO 2013149587A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
compression
layer
identifier
header
Prior art date
Application number
PCT/CN2013/073712
Other languages
French (fr)
Chinese (zh)
Inventor
姚文达
赵成顺
彭良川
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013149587A1 publication Critical patent/WO2013149587A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Definitions

  • the present invention relates to the field of communications, and more particularly to a method and network element device for compressing and decompressing Ethernet packets in a microwave communication process.
  • microwave communication can provide powerful service transmission capability, and it is widely used due to its large transmission capacity, stable long-distance transmission quality, low investment, low cost, short construction period and convenient maintenance.
  • the bearer network applied to 2G/3G mobile becomes an important choice for mobile operators to transmit voice and data services. Due to its point-to-point transmission characteristics, the microwave communication is also transmitted as a backbone network between the base station and the base station, between the base station and the base station control station, and the access gateway.
  • Ordinary microwave communication nodes are typically used in pairs, and each station typically includes a modem unit and a transmission unit.
  • the modem unit (IDU) is placed indoors; the radio frequency transmitting unit (ODU) is placed on the tower together with the antenna.
  • the services transmitted in the network are also increasingly diversified. Whether it is TDM (Time Division Multiplexing) service, E1 service or traditional Ethernet data service, it will be framed in the IDU and then sent out through the air interface.
  • TDM Time Division Multiplexing
  • E1 service E1 service
  • Ethernet data service the air interface of the network element equipment is generally limited.
  • the air interface bandwidth is increasing. How to save limited air interface bandwidth becomes more and more important. Summary of the invention
  • the embodiments of the present invention provide a method for compressing and decompressing Ethernet packets and a network element device to save the overhead of the Ethernet header.
  • the embodiment of the invention provides a method for compressing an Ethernet packet, including:
  • the above method may also have the following features:
  • the layer 2 header of the Ethernet packet is compressed. Processing, including:
  • the data of the layer 2 header is replaced by the corresponding compressed identifier in the first compression table
  • a compressed identifier is generated, and the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the next time the data of the layer 2 header is received, the same Ethernet packet is received. And replacing the data of the layer 2 packet header with the generated compressed identifier.
  • the above method may also have the following features: After the layer 2 packet header of the Ethernet packet is compressed, the method further includes:
  • the foregoing method may also have the following features:
  • the compressing the layer 3 header of the Ethernet packet including:
  • the data of the layer 3 header is replaced by the corresponding compressed identifier, the data of the different section number and the bar indicating the part, and the data is updated.
  • a compression identifier is assigned to each section, and the layer 3 is replaced by the compression identifier, the data indicating all the different section numbers and the bars.
  • the above method may also have the following features:
  • the compressing processing of the Layer 3 header of the Ethernet text includes:
  • the data of the layer 3 header of the Ethernet packet is divided into multiple groups, and each group is divided into multiple sections, and the data of each section in each group is compared with the data in the second compression table. , If the data of each section in the group is consistent with the data in the second compression table, the data of the group is replaced by the compression identifier corresponding to the group;
  • the group is assigned a compression identifier, and the group is replaced by the compression identifier, the data indicating all the different section numbers and the bars.
  • the data is updated, and the second compressed table is updated.
  • the same Ethernet packet of the corresponding group in the header of the layer 3 packet is received next time, the data of the group is replaced by the allocated compressed identifier.
  • updating the second compression table includes:
  • the corresponding data in the second compressed table is replaced with the data of the bar inconsistent data
  • the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the first rule is replaced by a predetermined rule.
  • the original data in the second compressed table is directly added to the second compression table.
  • the foregoing method may further have the following features: After performing the compression processing on the layer 3 packet header of the Ethernet packet, the method further includes:
  • the embodiment of the invention further provides a method for decompressing an Ethernet packet, including:
  • Decompressing the Layer 2 packet header of the Ethernet packet including:
  • the corresponding data is retrieved from the first decompressed table according to the compressed identifier, and the data of the layer 2 header is restored.
  • the corresponding data is extracted from the first decompressed table according to the compressed identifier, and the data of the layer 2 header is restored. Then, the restored data is verified according to the verification information, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet;
  • the compressed identifier is extracted from the data of the layer 2 packet header, and the correspondence between the compressed identifier and the data of the layer 2 packet header is determined. Deposited in the first decompression table.
  • Decompressing the Layer 3 packet header of the Ethernet packet including:
  • the corresponding data is retrieved from the second decompression table according to the compressed identifier, and the data of the layer 3 header is restored.
  • the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the data of the layer 3 header is restored; And verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet;
  • the corresponding data is extracted from the second decompression table according to the compressed identifier, and the extracted data is The data corresponding to the section number is replaced with the data of the section;
  • the data of the layer 3 header includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the second Unzip the table.
  • Decompressing the Layer 3 packet header of the Ethernet packet including:
  • the data of each group is decompressed, including:
  • the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored;
  • the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored information is restored according to the verification information. The data is verified. If the verification result is incorrect, the sender of the Ethernet packet is sent. Returning a feedback message carrying the compressed identifier corresponding to the group; if the data in the determination group includes the compressed identifier, the different section number and the section indicating the data, the corresponding data is retrieved from the second decompression table according to the compressed identifier. , replacing the data corresponding to the section number in the extracted data with the data of the section;
  • the embodiment of the invention provides a network element device, including:
  • a receiving module configured to receive an Ethernet message
  • the first packet processing module is configured to perform compression processing on the layer 2 packet header and/or the layer 3 packet header of the Ethernet packet.
  • the above network element device may also have the following features:
  • the first packet processing module includes:
  • a first compression unit configured to compare data of the layer 2 packet header with data in the first compression table, and if yes, replace the layer 2 with a corresponding compression identifier in the first compression table If the data is inconsistent, a compressed identifier is generated, the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the same Ethernet data is received when the layer 2 header is received. When the network packet is received, the data of the layer 2 packet header is replaced by the generated compressed identifier.
  • the above network element device may also have the following features:
  • the first packet processing module further includes:
  • a sending unit configured to transmit the Ethernet packet processed by the first compression unit, where the Ethernet packet carries verification information.
  • the above network element device may also have the following features:
  • the first packet processing module includes:
  • a second compression unit configured to divide data of the layer 3 header of the Ethernet packet into a plurality of subsections, and compare data of each subsection with data in the second compression table, if data of each subsection If the data in the second compression table is consistent, the layer 3 message is replaced by the corresponding compressed identifier. Data of the header; if the data of the partial section is inconsistent with the data in the second compression table, the data of the layer 3 header is replaced by the corresponding compression identifier, the data indicating the different section number and the section.
  • the updating unit is configured to replace, when the data of the partial measure is inconsistent with the data in the second compressed table, data corresponding to the data inconsistent in the second compressed table; And the data in the second compression table is inconsistent, and the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the second compression table is replaced by a predetermined rule.
  • the original data when the data of the partial measure is inconsistent with the data in the second compressed table, data corresponding to the data inconsistent in the second compressed table; And the data in the second compression table is inconsistent, and the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the second compression table is replaced by a predetermined rule.
  • the above network element device may also have the following features:
  • the first packet processing module includes:
  • a second compression unit configured to divide the data of the layer 3 header of the Ethernet packet into a plurality of groups, each group being divided into a plurality of subsections, and data of each subsection in each group Comparing the data in the two compressed tables, if the data of each bar in the group is consistent with the data in the second compressed table, the data of the group is replaced by the corresponding compressed identifier of the group; If the data of the section is inconsistent with the data in the second compression table, the data of the group corresponding to the compression identifier, the inconsistent section number of the data, and the data inconsistent section are replaced by the data of the group, and the update unit is triggered.
  • a second compression table if the data of each section in the group is inconsistent with the data in the second compression table, assign a compression identifier to the group, and replace the data with the compression identifier, each section number, and each bar.
  • the data of the group, and triggering the update unit to update the second compression table when the layer 3 is received, the data of the corresponding group in the header is the same Ethernet, and the compressed identifier is allocated In other words the set of data;
  • An update unit configured to replace data corresponding to the data in the second compression table with data of a bar inconsistent data if the data of the partial bar is inconsistent with the data in the second compression table; If the data in the second compression table is inconsistent, the corresponding relationship between the assigned compression identifier and the data of each bar is directly added to the second compression table, or is replaced by a predetermined rule. The original data in the second compressed table.
  • the above network element device may also have the following features:
  • the first packet processing module further includes:
  • a sending unit configured to transmit the Ethernet packet processed by the second compression unit, where the Ethernet packet carries verification information.
  • the above network element device may also have the following features:
  • the network element device further includes:
  • the second packet processing module is configured to decompress the layer 2 packet header and/or the layer 3 packet header of the received Ethernet packet.
  • the above network element device may also have the following features:
  • the second packet processing module includes:
  • a first decompression unit configured to: if it is determined that the data of the layer 2 packet header includes only the compression identifier, extract the corresponding data from the first decompression table according to the compression identifier, and restore the layer 2 packet header If the data of the layer 2 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the first decompressed table according to the compressed identifier, and the layer 2 header is restored.
  • the data of the layer 2 packet header further includes a compressed identifier, and the compressed identifier is extracted from the data of the layer 2 packet header, and the corresponding relationship between the compressed identifier and the data of the layer 2 packet header is stored in the Said in the first decompression table.
  • the above network element device may also have the following features:
  • the second packet processing module includes:
  • a second decompression unit configured to: if it is determined that the data of the layer 3 packet header includes only the compression identifier, extract the corresponding data from the second decompression table according to the compression identifier, and restore the layer 3 packet header If the data of the layer 3 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the layer 3 header is restored.
  • the data of the layer 3 header includes the compression identifier, the data indicating the different section numbers and the section data, and the corresponding data is extracted from the second decompression table according to the compression identifier, and the extracted data corresponds to the section number.
  • the data is replaced with the data of the section; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different section numbers and the data of the section, the compressed identifier is indicated, indicating all the different section numbers and bars.
  • the correspondence of the data is stored in the second decompression table.
  • the above network element device may also have the following features:
  • the second packet processing module includes:
  • a determining unit configured to: if it is determined that the data of the layer 3 packet header includes multiple sets of data, triggering the second decompressing unit to decompress data of each group; and the decompressing unit is set to be in the determining group
  • the data includes only the compressed identifier, and the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the data of the group is restored; if the data in the determining group includes only the compressed identifier and the verification information, according to the compression Identifying the corresponding data from the second decompression table, restoring the data of the group; and then verifying the restored data according to the verification information, and if the verification result is incorrect, reporting to the Ethernet
  • the sending end of the text returns a feedback message carrying the compressed identifier corresponding to the group; if the data in the determining group includes the compressed identifier, the different section number and the section indicating the data, the compressed identifier is used from the second decompression table according to the compressed identifier
  • the embodiments of the present invention provide a method for compressing and decompressing Ethernet packets and a network element device to save the overhead of the Ethernet header, improve the utilization of the air interface bandwidth, and save limited air bandwidth resources.
  • FIG. 1 is a flowchart of a method for compressing an Ethernet packet according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for decompressing an Ethernet packet according to an embodiment of the present invention
  • 3 is a flowchart of a packet header of a compression layer 2 according to an embodiment of the present invention
  • 4 is a flowchart of a packet header of a decompression layer 2 according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a packet header of a compression layer 3 according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a packet header of a decompression layer 3 according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a network element device according to an embodiment of the present invention. Preferred embodiment of the invention
  • the embodiment of the present invention proposes to compress the Ethernet packet header to improve the utilization of the air interface bandwidth and save limited air interface bandwidth resources. For the problem of compression of Ethernet data, there is no relevant solution in the current microwave communication.
  • FIG. 1 is a flowchart of a method for compressing an Ethernet "3 ⁇ 4" according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes the following steps:
  • Sl l and the NE device receive Ethernet packets.
  • FIG. 2 is a flowchart of a method for decompressing an Ethernet text according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes the following steps:
  • the network element device receives the Ethernet ⁇
  • the compression of the header and/or layer 3 headers can identify the Vlan (virtual local area network) flag, implement packet compression and adaptive decompression processing, and have error correction capability to ensure normal operation of the system.
  • the present invention reduces the amount of data in the transmission by compressing the Ethernet packet header in the service, thereby achieving the purpose of saving air interface bandwidth.
  • the compression of the layer 2 packet header includes the following steps: Step 2001: Receive an IP packet (ie, an Ethernet packet), and compare the data of the layer 2 packet header with the data in the layer 2 compression table.
  • Step 2001 Receive an IP packet (ie, an Ethernet packet)
  • IP packet ie, an Ethernet packet
  • the layer 2 header is compressed, and the MAC (Media Access Control) header data of the packet is compared with the layer 2 compression table, and the same is a hit.
  • the difference is entered into the update state, and the process proceeds to step 2003.
  • Step 2002 Replace the data of the layer 2 packet header with the corresponding compression identifier in the layer 2 compression table.
  • layer 2 enters a compressed state.
  • the MAC portion of the entire layer 2 is replaced in the link with a corresponding layer 2 compression flag in the layer 2 compression table.
  • Step 2003 Generate a compressed identifier, transmit the Ethernet packet carrying the compressed identifier, and update the layer 2 compressed table;
  • the data of the layer 2 header can be replaced by the generated compressed identifier.
  • the layer 2 packet header When the data in the incoming MAC packet header and the layer 2 compression table are inconsistent, the layer 2 packet header enters an update state, and an update identifier is generated, which can be added to the MAC of the layer 2 data, and then transmitted to the peer end. , and update the compressed table.
  • the decompression process of the layer 2 packet header includes the following steps:
  • Step 2010 The network element device on the decompressing end first detects whether the layer 2 compressed identifier exists in the identified Ethernet packet. If not, the Ethernet packet is an uncompressed packet, and the process proceeds to step 2020. If yes, the identification is compression. If the status message is a compressed status message, the process proceeds to step 2030. If the status message is updated, the process proceeds to step 2040.
  • the network element device determines that the data of the layer 2 header includes only the compressed identifier, or only the compressed identifier and the full information, the network element device identifies the compressed state.
  • Step 2020 Perform transparent transmission processing on uncompressed messages.
  • Step 2030 Firstly, for the packet in the compressed state, the compressed identifier is first identified, and according to the compressed identifier, the corresponding layer 2 MAC data is taken out in the decompressed table, and the original packet is restored.
  • Step 2040 For the update message, the decompressing end first extracts the compressed identifier, and restores the original MAC data from the packet, and then proceeds to step 2050.
  • Step 2050 Enter the synchronization update state of the decompression table, and store the correspondence between the compressed identifier and the restored original layer 2 MAC data in the decompression table to ensure that the compression table and the decompression table are consistent.
  • Step 3001 Packet: After receiving a new Ethernet packet, if it is identified that the Ethernet is a layer 3 packet, the data of the layer 3 packet header of the packet is grouped, and the subsequent compression process is performed. For the compression process for each group.
  • Step 3002 Subsection: Subdivide each group of data into N bars, each of which is the smallest unit of the ⁇ text compression;
  • 16bit is a section.
  • Step 3003 Compression: Compare each group of message data with a local layer 3 compression table, and perform the following processing according to the comparison result:
  • the data of each section in the group is consistent with the data in the layer 3 compression table, the data of the group is replaced by the corresponding compression identifier of the group;
  • step 3004 If the data of the partial section in the group is inconsistent with the data in the layer 3 compression table, replace the data of the group with the corresponding compression identifier, the different section number and the section indicating the data, and update the layer 3 Compress the table, then go to step 3004;
  • the group is assigned a compression identifier, and the data of the group is replaced by the data of the compression identifier, each section number, and each section, and the layer is updated. 3 Compressing the table, so that when the same Ethernet packet of the corresponding group in the header of the layer 3 packet is received next time, the data of the group can be replaced by the allocated compression identifier, and then the process proceeds to step 3004.
  • Step 3004 framing, framing each group of compressed messages, for example, compressing the identification first, and adding different bars in each group to the message and transmitting them.
  • layer 3 messages can also be done without grouping, and can be directly compressed by subsections, such as the following steps:
  • Step 3011 The data of the layer 3 header of the Ethernet packet is divided into multiple subsections; Step 3012: Comparing the data of each measure with the data in the layer 3 compression table, and performing the following processing according to the comparison result:
  • the data of the layer 3 header is replaced by the corresponding compression identifier; if the data of the partial section is inconsistent with the data of the layer 3 compression table, Replace the data of the layer 3 header with the corresponding compression identifier, the data indicating the different section number and the section, and update the layer 3 compression table; if the data of each section is inconsistent with the data in the layer 3 compression table And assigning a compression identifier to each section, replacing the data of the layer 3 packet header with the data of the compressed label, indicating all the different section numbers and each section, and updating the layer 3 compression table, so that the next time receiving When the data of the Layer 3 packet header is the same as the Ethernet packet, the data of the layer 3 header can be replaced by the allocated compression identifier.
  • the decompression process of the layer 3 packet includes the following steps: Step 3010: The decompressing end network element device parses the layer 3 packet into an ordinary packet, a compressed packet, or an update. For the packet, the normal packet is transparently processed. For the compressed packet, go to step 3020, and go to step 3030 for the update packet.
  • the network element device determines that the data of the layer 3 packet header includes only the compressed identifier, or only the compressed identifier and the check information, or the compressed identifier, the different section number and the bar of the indication part, Then, it is identified as a compressed message; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different measure numbers and the data of the measure, it is identified as an update message.
  • Step 3020 Decompress the compressed " ⁇ text" as follows:
  • the network element device determines that the data of the layer 3 packet header includes only the compressed identifier, the corresponding data is retrieved from the layer 3 decompression table according to the compressed identifier, and the data of the layer 3 packet header is restored; Determining that the data of the layer 3 packet header includes only the compression identifier and the verification information, and then extracting corresponding data from the layer 3 decompression table according to the compression identifier, and restoring the data of the layer 3 packet header; The verification information is used to check the restored data, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet;
  • Step 3030 Store the compression identifier in the data of the layer 3 packet header, the correspondence relationship indicating the data of all the different section numbers and the section into the layer 3 decompression table, to update the restored packet to the local decompression. In the table, keep consistent with the compressed table.
  • the data of each group is decompressed, including:
  • the corresponding data is retrieved from the layer 3 decompression table according to the compression identifier, and the data of the group is restored;
  • the layer is determined according to the compression identifier.
  • the data in the judgment group includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the layer 3 decompression table. .
  • the compression efficiency can be ensured, and the application of the normal text can be ensured.
  • the actual network environment is complex and variable, and there is no single fixed message.
  • the method expressed by the present invention can Adapt to the actual network environment, and ensure a good compression ratio when the resources are scarce.
  • the packets processed by the compression can carry the verification information, or can be verified in each compression identifier. After the information is decompressed, the decompression end verifies the packet. If the verification result of the packet decompression is inconsistent with the checksum value, the feedback process is entered as follows:
  • Step 4001 The network element device on the decompressing end generates a feedback message according to the sequence of the feedback identifier + the compression identifier (or the compression number), and sends the feedback packet to the compression end along with the link.
  • Step 4002 The network element device at the compression end identifies the feedback identifier, and parses the compression number of the response. The contents of the local compressed table corresponding to the compressed identifier are cleared.
  • a feedback mechanism as described above may be introduced. This mechanism can ensure that when the decompression error is notified, the compression end is notified, and the compression table and the decompression table are consistently agreed to ensure a long time. The runtime compression function is correct.
  • the network element device may be configured to compress only the layer 2 packet header, or may be configured to compress only the layer 3 packet header, or may be configured as the layer 2 packet header and the layer 3 packet.
  • the headers are all compressed.
  • FIG. 7 is a schematic diagram of a network element device according to an embodiment of the present invention. As shown in FIG. 7, the network element device of this embodiment includes:
  • a receiving module 70 configured to receive an Ethernet packet
  • the first packet processing module 71 is configured to perform compression processing on the layer 2 header and/or the layer header of the Ethernet packet.
  • the packet processing module 71 includes:
  • a first compression unit 710 configured to compare data of the layer 2 packet header with data in the first compression table, and if yes, replace the layer with a corresponding compression identifier in the first compression table If the data is inconsistent, a compressed identifier is generated, the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the data of the header of the layer 2 is received. When the Ethernet packet is received, the data of the layer 2 packet header is replaced by the generated compressed identifier.
  • the second module may further include:
  • the sending unit 711 is configured to transmit the Ethernet packet processed by the first unit, where the Ethernet packet carries the verification information.
  • the text processing module may further include:
  • the second compression unit 712 is configured to divide the data of the layer 3 header of the Ethernet packet into a plurality of subsections, and compare the data of each subsection with the data in the second compression table, if the data of each subsection is If the data in the second compressed table is consistent with the data in the second compressed table, the data of the layer 3 header is replaced by the corresponding compressed identifier; if the data of the partial segment is inconsistent with the data in the second compressed table, Corresponding compression identifier, indicating part of the different section number and the data of the section to replace the data of the layer 3 header, and triggering the update unit to update the second compression table; if the data of each section is related to If the data in the second compressed table is inconsistent, a compressed identifier is assigned to each of the sections, and the data of the layer 3 header is replaced by the data of the compressed identifier, indicating all the different section numbers and the sections, and the update is triggered.
  • the unit 713 updates the second compression table, and when receiving the same Ethernet packet with the data of the layer 3
  • the second compression unit 712 may be further configured to divide the data of the layer 3 header of the Ethernet packet into multiple groups, and each group is divided into multiple sections, and the data of each section in each group is Comparing with the data in the second compressed table, if the data of each bar in the group is consistent with the data in the second compressed table, the data of the group is replaced by the corresponding compressed identifier of the group; If the data of the partial section is inconsistent with the data in the second compression table, the data of the group is replaced by the corresponding compression identifier, the data of the inconsistent section number and the data of the data inconsistent section, and the update unit is triggered.
  • Updating the second compression table if the data of each bar in the group is inconsistent with the data in the second compression table, assigning a compression identifier to the group, the compression identifier, each bar number, and each bar The data replaces the data of the group, and triggers the update unit to update the second compression table.
  • the compressed label is allocated by the corresponding group. Knowledge Replace the data for this group.
  • the updating unit 713 is configured to replace, when the data of the partial measure is inconsistent with the data in the second compressed table, the data in the second compressed table is replaced by the data of the data inconsistent section; If the data of the subsection is inconsistent with the data in the second compression table, the corresponding relationship between the assigned compression identifier and the data of each subsection is directly added to the second compression table, or the second compression is replaced by a predetermined rule. The original data in the table.
  • the first packet processing module may further include:
  • the sending unit 712 may be further configured to transmit the Ethernet packet processed by the third unit or the fourth unit, where the Ethernet packet carries verification information.
  • the network element device may further include:
  • a second packet processing module 72 configured to layer 2 headers of the received Ethernet packets
  • the second packet processing module 72 may include:
  • a first decompression unit 720 configured to: if it is determined that the data of the layer 2 header includes only compression Identifying, according to the compression identifier, extracting corresponding data from the first decompression table, and restoring the layer
  • the compression identifier is extracted from the data of the layer 2 packet header, and the compression identifier is corresponding to the data of the layer 2 packet header. The relationship is stored in the first decompression table.
  • the second decompression unit 721 is configured to: if it is determined that the data of the layer 3 packet header includes only the compression identifier, extract the corresponding data from the second decompression table according to the compression identifier, and restore the layer 3 report. Data of the header; if it is determined that the data of the layer 3 packet header includes only the compression identifier and the verification information, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the layer 3 packet is restored.
  • the data of the header is verified by the verification information, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet; Determining that the data of the layer 3 packet header includes the compressed identifier, the data indicating the different section number and the section, and extracting the corresponding data from the second decompression table according to the compressed identifier, and extracting the data into the section
  • the data corresponding to the number is replaced with the data of the section; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different section numbers and the data of the section, the compressed identifier is determined.
  • the second solution indicating a corresponding relationship between all the data sections and subsections of the number stored in the compression table.
  • the second processing module 72 may further include:
  • the determining unit 722 is configured to: if it is determined that the data of the layer 3 header includes multiple sets of data, trigger the fourth unit to decompress data of each group;
  • the second decompressing unit 721 may also be configured to: if the data in the determining group includes only the compressed identifier, extract the corresponding data from the second decompressing table according to the compressed identifier, and restore the data of the group; The data includes only the compression identifier and the verification information, and the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored data is verified according to the verification information.
  • the verification result is incorrect, return a feedback message carrying the compressed identifier corresponding to the group to the sending end of the Ethernet packet; if the data in the determining group includes a compressed identifier, a different section number and a section indicating the part Data from the second decompression table according to the compression identifier The corresponding data is taken out, and the data corresponding to the section number in the extracted data is replaced with the data of the section; if the data in the judgment group includes the compression identifier, the data indicating all the different section numbers and the section, the compression identifier is Corresponding relationships indicating data of all different measure numbers and measures are stored in the second decompression table.
  • the foregoing embodiments can save the overhead of the Ethernet header, improve the utilization of the air interface bandwidth, and save limited air interface bandwidth resources.

Abstract

Provided are Ethernet message compression and decompression methods and a network element device. The Ethernet message compression method comprises: receiving an Ethernet message; and compressing a Layer 2 message header and/or a Layer 3 message header of the Ethernet message. The overhead of the Ethernet header is saved, the utilization rate of the air interface bandwidth is increased, and the limited air interface bandwidth resources are saved.

Description

一种压缩和解压缩以太网报文的方法及网元设备  Method for compressing and decompressing Ethernet message and network element device
技术领域 Technical field
本发明涉及通讯领域, 更具体的说, 涉及微波通信过程中的一种压缩和 解压缩以太网 ^艮文的方法及网元设备。  The present invention relates to the field of communications, and more particularly to a method and network element device for compressing and decompressing Ethernet packets in a microwave communication process.
背景技术 Background technique
作为现代通信传输的主要手段之一 , 微波通信能够提供强大的业务传输 能力, 并且由于其具有传输容量大、 长途传输质量稳定、 投资少、 成本低、 建设周期短、 维护方便等特点, 正广泛应用于 2G/3G移动的承载网络, 成为 移动运营商传输语音和数据业务的重要选择。 由于其点对点的传输特点, 微 波通信还在基站与基站之间、 基站与基站控制站以及接入网关之间作为骨干 网进行传输。  As one of the main means of modern communication transmission, microwave communication can provide powerful service transmission capability, and it is widely used due to its large transmission capacity, stable long-distance transmission quality, low investment, low cost, short construction period and convenient maintenance. The bearer network applied to 2G/3G mobile becomes an important choice for mobile operators to transmit voice and data services. Due to its point-to-point transmission characteristics, the microwave communication is also transmitted as a backbone network between the base station and the base station, between the base station and the base station control station, and the access gateway.
普通的微波通信节点一般成对使用, 每个站点一般包括调制解调单元和 发射单元。 调制解调单元(IDU )—般放于室内; 射频发射单元(ODU )— 般与天线一起放置于铁塔上。 随着移动通信的发展, 网络中传输的业务也日 趋多样化, 无论是 TDM (时分复用)业务、 E1 业务还是传统的以太网数据 业务, 都将在 IDU中组帧, 然后通过空口发送出去, 网元设备的空口一般均 有限, 伴随着技术的发展, 空口带宽的需求日益增加, 怎样节约有限的空口 带宽变得日益重要。 发明内容  Ordinary microwave communication nodes are typically used in pairs, and each station typically includes a modem unit and a transmission unit. The modem unit (IDU) is placed indoors; the radio frequency transmitting unit (ODU) is placed on the tower together with the antenna. With the development of mobile communication, the services transmitted in the network are also increasingly diversified. Whether it is TDM (Time Division Multiplexing) service, E1 service or traditional Ethernet data service, it will be framed in the IDU and then sent out through the air interface. The air interface of the network element equipment is generally limited. With the development of technology, the demand for air interface bandwidth is increasing. How to save limited air interface bandwidth becomes more and more important. Summary of the invention
本发明实施例提供一种压缩和解压缩以太网 4艮文的方法及网元设备, 以 节省以太网报头的开销。  The embodiments of the present invention provide a method for compressing and decompressing Ethernet packets and a network element device to save the overhead of the Ethernet header.
本发明实施例提供了一种压缩以太网报文的方法, 包括:  The embodiment of the invention provides a method for compressing an Ethernet packet, including:
接收以太网报文;  Receive Ethernet packets;
上述方法还可具有下面特点: 所述对以太网报文的层 2报文头进行压缩 处理, 包括: The above method may also have the following features: The layer 2 header of the Ethernet packet is compressed. Processing, including:
将所述层 2报文头的数据与第一压缩表中的数据进行比较,  Comparing the data of the layer 2 header with the data in the first compressed table,
若一致, 则以所述第一压缩表中对应的压缩标识替换所述层 2报文头的 数据;  If the data is consistent, the data of the layer 2 header is replaced by the corresponding compressed identifier in the first compression table;
若不一致, 则生成一压缩标识, 传递携带该压缩标识的所述以太网 ^艮文, 并更新所述第一压缩表, 当下次接收到层 2报文头的数据相同的以太网报文 时, 以该生成的压缩标识替换所述层 2报文头的数据。  If the information is inconsistent, a compressed identifier is generated, and the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the next time the data of the layer 2 header is received, the same Ethernet packet is received. And replacing the data of the layer 2 packet header with the generated compressed identifier.
上述方法还可具有下面特点: 所述对以太网报文的层 2报文头进行压缩 处理之后, 还包括:  The above method may also have the following features: After the layer 2 packet header of the Ethernet packet is compressed, the method further includes:
传递处理后的所述以太网报文, 所述以太网报文携带校验信息。  And transmitting the processed Ethernet packet, where the Ethernet packet carries the verification information.
上述方法还可具有下面特点: 所述对以太网报文的层 3报文头进行压缩 处理, 包括:  The foregoing method may also have the following features: The compressing the layer 3 header of the Ethernet packet, including:
将所述以太网报文的层 3报文头的数据分为多个小节, 将各小节的数据 与第二压缩表中的数据进行比较, 若各小节的数据与所述第二压缩表中的数据均一致, 则用对应的压缩标 识替换所述层 3报文头的数据;  And dividing the data of the layer 3 packet header of the Ethernet packet into a plurality of subsections, and comparing the data of each subsection with the data in the second compression table, if the data of each subsection is in the second compression table. If the data is consistent, the data of the layer 3 header is replaced by the corresponding compressed identifier;
若存在部分小节的数据与所述第二压缩表中的数据不一致, 则用对应的 压缩标识、 指示部分不同的小节号和小节的数据来替换所述层 3报文头的数 据, 并更新所述第二压缩表;  If the data of the partial bar is inconsistent with the data in the second compressed table, the data of the layer 3 header is replaced by the corresponding compressed identifier, the data of the different section number and the bar indicating the part, and the data is updated. Said second compression table;
若各小节的数据与所述第二压缩表中的数据均不一致, 则为各小节分配 一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数据替 换所述层 3报文头的数据, 并更新所述第二压缩表, 当下次接收到层 3报文 头的数据相同的以太网"¾文时, 以该分配的压缩标识替换所述层 3 文头的 数据。  If the data of each section is inconsistent with the data in the second compression table, a compression identifier is assigned to each section, and the layer 3 is replaced by the compression identifier, the data indicating all the different section numbers and the bars. Data of the header, and updating the second compression table, when the data of the layer 3 header is received the same Ethernet "3⁄4 text", the data of the layer 3 header is replaced by the allocated compression identifier.
上述方法还可具有下面特点: 所述对以太网 文的层 3 ·^艮文头进行压缩 处理, 包括:  The above method may also have the following features: The compressing processing of the Layer 3 header of the Ethernet text includes:
将所述以太网报文的层 3报文头的数据分为多个组, 每个组中分为多个 小节, 将各组中的各小节的数据与第二压缩表中的数据进行比较, 若组中的各小节的数据与所述第二压缩表中的数据均一致, 则用该组对 应的压缩标识替换该组的数据; The data of the layer 3 header of the Ethernet packet is divided into multiple groups, and each group is divided into multiple sections, and the data of each section in each group is compared with the data in the second compression table. , If the data of each section in the group is consistent with the data in the second compression table, the data of the group is replaced by the compression identifier corresponding to the group;
若组中的存在部分小节的数据与所述第二压缩表中的数据不一致, 则用 该组对应的压缩标识、 指示部分不同的小节号和小节的数据来替换替换该组 的数据, 并更新所述第二压缩表;  If the data of the existing partial section in the group is inconsistent with the data in the second compressed table, replace the data of the group with the compression identifier corresponding to the group, the different section number and the section indicating the data, and update The second compression table;
若组中的各小节的数据与所述第二压缩表中的数据均不一致, 则为该组 分配一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数 据替换该组的数据, 并更新所述第二压缩表, 当下次接收到层 3报文头中对 应组的数据相同的以太网报文时, 以该分配的压缩标识替换该组的数据。  If the data of each section in the group is inconsistent with the data in the second compression table, the group is assigned a compression identifier, and the group is replaced by the compression identifier, the data indicating all the different section numbers and the bars. The data is updated, and the second compressed table is updated. When the same Ethernet packet of the corresponding group in the header of the layer 3 packet is received next time, the data of the group is replaced by the allocated compressed identifier.
上述方法还可具有下面特点: 更新所述第二压缩表包括:  The above method may also have the following features: updating the second compression table includes:
若存在部分小节的数据与所述第二压缩表中的数据不一致, 则将所述第 二压缩表中对应的数据替换为数据不一致的小节的数据;  If the data of the partial bar is inconsistent with the data in the second compressed table, the corresponding data in the second compressed table is replaced with the data of the bar inconsistent data;
若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压缩 标识与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规则 替换所述第二压缩表中原有的数据。  If the data of each section is inconsistent with the data in the second compression table, the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the first rule is replaced by a predetermined rule. The original data in the second compressed table.
上述方法还可具有下面特点: 所述对以太网报文的层 3报文头进行压缩 处理之后, 还包括:  The foregoing method may further have the following features: After performing the compression processing on the layer 3 packet header of the Ethernet packet, the method further includes:
传递处理后的所述以太网报文, 所述以太网报文携带校验信息。  And transmitting the processed Ethernet packet, where the Ethernet packet carries the verification information.
本发明实施例还提供了一种解压缩以太网报文的方法, 包括:  The embodiment of the invention further provides a method for decompressing an Ethernet packet, including:
接收以太网 ^艮文;  Receiving Ethernet ^艮文;
上述方法还具有下面特点: 对所述以太网报文的层 2报文头进行解压缩 处理, 包括: The foregoing method has the following features: Decompressing the Layer 2 packet header of the Ethernet packet, including:
若判断所述层 2报文头的数据仅包括压缩标识, 则根据该压缩标识从第 一解压缩表中取出相应的数据, 还原出所述层 2报文头的数据;  If it is determined that the data of the layer 2 header includes only the compressed identifier, the corresponding data is retrieved from the first decompressed table according to the compressed identifier, and the data of the layer 2 header is restored.
若判断所述层 2报文头的数据仅包括压缩标识和校验信息, 则根据该压 缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所 述以太网报文的发送端返回携带所述压缩标识的反馈报文; If it is determined that the data of the layer 2 header includes only the compressed identifier and the check information, the corresponding data is extracted from the first decompressed table according to the compressed identifier, and the data of the layer 2 header is restored. Then, the restored data is verified according to the verification information, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet;
若判断所述层 2报文头的数据中还包括压缩标识, 则所述层 2报文头的 数据中取出该压缩标识, 将该压缩标识与所述层 2报文头的数据的对应关系 存入所述第一解压缩表中。  If it is determined that the data of the layer 2 packet header further includes a compressed identifier, the compressed identifier is extracted from the data of the layer 2 packet header, and the correspondence between the compressed identifier and the data of the layer 2 packet header is determined. Deposited in the first decompression table.
上述方法还可具有下面特点: 对所述以太网报文的层 3报文头进行解压 缩处理, 包括:  The foregoing method may also have the following features: Decompressing the Layer 3 packet header of the Ethernet packet, including:
若判断所述层 3报文头的数据仅包括压缩标识, 则根据该压缩标识从第 二解压缩表中取出相应的数据, 还原出所述层 3报文头的数据;  If it is determined that the data of the layer 3 header includes only the compressed identifier, the corresponding data is retrieved from the second decompression table according to the compressed identifier, and the data of the layer 3 header is restored.
若判断所述层 3报文头的数据仅包括压缩标识和校验信息, 则根据该压 缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所 述以太网报文的发送端返回携带所述压缩标识的反馈报文;  If it is determined that the data of the layer 3 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the data of the layer 3 header is restored; And verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet;
若判断所述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和 小节的数据, 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出 的数据中与该小节号对应的数据替换为该小节的数据;  If it is determined that the data of the layer 3 packet header includes the compressed identifier, the different section number and the section indicating the data, the corresponding data is extracted from the second decompression table according to the compressed identifier, and the extracted data is The data corresponding to the section number is replaced with the data of the section;
若判断所述层 3 文头的数据包括压缩标识、 指示全部不同的小节号和 小节的数据, 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应 关系存入所述第二解压缩表中。  If it is determined that the data of the layer 3 header includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the second Unzip the table.
上述方法还可具有下面特点: 对所述以太网报文的层 3报文头进行解压 缩处理, 包括:  The foregoing method may also have the following features: Decompressing the Layer 3 packet header of the Ethernet packet, including:
若判断所述层 3报文头的数据包括多组数据, 则对各个组的数据进行解 压缩, 包括:  If it is determined that the data of the layer 3 header includes multiple sets of data, the data of each group is decompressed, including:
若判断组中的数据仅包括压缩标识, 则根据该压缩标识从第二解压缩表 中取出相应的数据, 还原出该组的数据;  If the data in the judgment group only includes the compression identifier, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored;
若判断组中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第 二解压缩表中取出相应的数据, 还原出该组的数据; 然后根据所述校验信息 对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端 返回携带该组对应的压缩标识的反馈报文; 若判断组中的数据包括压缩标识、指示部分不同的小节号和小节的数据 , 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出的数据中与该 小节号对应的数据替换为该小节的数据; If the data in the judgment group includes only the compression identifier and the verification information, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored information is restored according to the verification information. The data is verified. If the verification result is incorrect, the sender of the Ethernet packet is sent. Returning a feedback message carrying the compressed identifier corresponding to the group; if the data in the determination group includes the compressed identifier, the different section number and the section indicating the data, the corresponding data is retrieved from the second decompression table according to the compressed identifier. , replacing the data corresponding to the section number in the extracted data with the data of the section;
若判断组中的数据包括压缩标识、指示全部不同的小节号和小节的数据, 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述 第二解压缩表中。 本发明实施例提供一种网元设备, 包括:  If the data in the judgment group includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the second decompression table. . The embodiment of the invention provides a network element device, including:
接收模块, 其设置为接收以太网报文;  a receiving module, configured to receive an Ethernet message;
第一报文处理模块, 其设置为对所述以太网报文的层 2报文头和 /或层 3 报文头进行压缩处理。  The first packet processing module is configured to perform compression processing on the layer 2 packet header and/or the layer 3 packet header of the Ethernet packet.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第一报文处理模块包括:  The first packet processing module includes:
第一压缩单元, 其设置为将所述层 2报文头的数据与第一压缩表中的数 据进行比较, 若一致, 则以所述第一压缩表中对应的压缩标识替换所述层 2 报文头的数据; 若不一致, 则生成一压缩标识, 传递携带该压缩标识的所述 以太网报文, 并更新所述第一压缩表, 当接收到层 2报文头的数据相同的以 太网报文时, 以该生成的压缩标识替换所述层 2报文头的数据。  a first compression unit, configured to compare data of the layer 2 packet header with data in the first compression table, and if yes, replace the layer 2 with a corresponding compression identifier in the first compression table If the data is inconsistent, a compressed identifier is generated, the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the same Ethernet data is received when the layer 2 header is received. When the network packet is received, the data of the layer 2 packet header is replaced by the generated compressed identifier.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第一报文处理模块还包括:  The first packet processing module further includes:
发送单元, 其设置为传递所述第一压缩单元处理后的所述以太网报文, 所述以太网报文携带校验信息。  And a sending unit, configured to transmit the Ethernet packet processed by the first compression unit, where the Ethernet packet carries verification information.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第一报文处理模块包括:  The first packet processing module includes:
第二压缩单元, 其设置为将所述以太网报文的层 3报文头的数据分为多 个小节, 将各小节的数据与第二压缩表中的数据进行比较, 若各小节的数据 与所述第二压缩表中的数据均一致, 则用对应的压缩标识替换所述层 3报文 头的数据; 若存在部分小节的数据与所述第二压缩表中的数据不一致, 则用 对应的压缩标识、 指示部分不同的小节号和小节的数据来替换所述层 3报文 头的数据, 并触发更新单元更新所述第二压缩表; 若各小节的数据与所述第 二压缩表中的数据均不一致, 则为各小节分配一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数据替换所述层 3报文头的数据, 并触 发更新单元更新所述第二压缩表, 当接收到层 3报文头的数据相同的以太网 报文时, 以该分配的压缩标识替换所述层 3报文头的数据; 以及 a second compression unit, configured to divide data of the layer 3 header of the Ethernet packet into a plurality of subsections, and compare data of each subsection with data in the second compression table, if data of each subsection If the data in the second compression table is consistent, the layer 3 message is replaced by the corresponding compressed identifier. Data of the header; if the data of the partial section is inconsistent with the data in the second compression table, the data of the layer 3 header is replaced by the corresponding compression identifier, the data indicating the different section number and the section. And triggering the update unit to update the second compression table; if the data of each section is inconsistent with the data in the second compression table, assign a compression identifier to each section, and use the compression identifier to indicate all the different The data of the section number and each section replaces the data of the layer 3 header, and triggers the update unit to update the second compression table. When receiving the same Ethernet packet with the data of the layer 3 header, The assigned compressed identifier replaces the data of the layer 3 header;
所述更新单元, 其设置为若存在部分小节的数据与所述第二压缩表中的 数据不一致, 则将所述第二压缩表中对应的数据替换为数据不一致的小节的 数据; 若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压 缩标识与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规 则替换所述第二压缩表中原有的数据。  The updating unit is configured to replace, when the data of the partial measure is inconsistent with the data in the second compressed table, data corresponding to the data inconsistent in the second compressed table; And the data in the second compression table is inconsistent, and the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the second compression table is replaced by a predetermined rule. The original data.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第一报文处理模块包括:  The first packet processing module includes:
第二压缩单元, 其设置为将所述以太网报文的层 3报文头的数据分为多 个组, 每个组中分为多个小节, 将各组中的各小节的数据与第二压缩表中的 数据进行比较, 若组中的各小节的数据与所述第二压缩表中的数据均一致, 则用该组对应的压缩标识替换该组的数据; 若组中的存在部分小节的数据与 所述第二压缩表中的数据不一致, 则用该组对应的压缩标识、 数据不一致的 小节号和数据不一致的小节的数据来替换替换该组的数据, 并触发更新单元 更新所述第二压缩表; 若组中的各小节的数据与所述第二压缩表中的数据均 不一致, 则为该组分配一个压缩标识, 以该压缩标识、 各小节号和各小节的 数据替换该组的数据, 并触发更新单元更新所述第二压缩表, 当接收到层 3 才艮文头中对应组的数据相同的以太网 ^艮文时, 以该分配的压缩标识替换该组 的数据; 以及  a second compression unit, configured to divide the data of the layer 3 header of the Ethernet packet into a plurality of groups, each group being divided into a plurality of subsections, and data of each subsection in each group Comparing the data in the two compressed tables, if the data of each bar in the group is consistent with the data in the second compressed table, the data of the group is replaced by the corresponding compressed identifier of the group; If the data of the section is inconsistent with the data in the second compression table, the data of the group corresponding to the compression identifier, the inconsistent section number of the data, and the data inconsistent section are replaced by the data of the group, and the update unit is triggered. a second compression table; if the data of each section in the group is inconsistent with the data in the second compression table, assign a compression identifier to the group, and replace the data with the compression identifier, each section number, and each bar The data of the group, and triggering the update unit to update the second compression table, when the layer 3 is received, the data of the corresponding group in the header is the same Ethernet, and the compressed identifier is allocated In other words the set of data; and
更新单元, 其设置为若存在部分小节的数据与所述第二压缩表中的数据 不一致,则将所述第二压缩表中对应的数据替换为数据不一致的小节的数据; 若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压缩标识 与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规则替换 所述第二压缩表中原有的数据。 An update unit, configured to replace data corresponding to the data in the second compression table with data of a bar inconsistent data if the data of the partial bar is inconsistent with the data in the second compression table; If the data in the second compression table is inconsistent, the corresponding relationship between the assigned compression identifier and the data of each bar is directly added to the second compression table, or is replaced by a predetermined rule. The original data in the second compressed table.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第一报文处理模块还包括:  The first packet processing module further includes:
发送单元, 其设置为传递所述第二压缩单元处理后的所述以太网报文, 所述以太网报文携带校验信息。  And a sending unit, configured to transmit the Ethernet packet processed by the second compression unit, where the Ethernet packet carries verification information.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述网元设备还包括:  The network element device further includes:
第二报文处理模块, 其设置为对接收到的以太网报文的层 2报文头和 /或 层 3报文头进行解压缩处理。  The second packet processing module is configured to decompress the layer 2 packet header and/or the layer 3 packet header of the received Ethernet packet.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第二报文处理模块包括:  The second packet processing module includes:
第一解压单元,其设置为若判断所述层 2报文头的数据仅包括压缩标识, 则根据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文 头的数据; 若判断所述层 2报文头的数据仅包括压缩标识和校验信息, 则根 据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文头的 数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判断所 述层 2报文头的数据中还包括压缩标识, 则所述层 2报文头的数据中取出该 压缩标识, 将该压缩标识与所述层 2报文头的数据的对应关系存入所述第一 解压缩表中。  a first decompression unit, configured to: if it is determined that the data of the layer 2 packet header includes only the compression identifier, extract the corresponding data from the first decompression table according to the compression identifier, and restore the layer 2 packet header If the data of the layer 2 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the first decompressed table according to the compressed identifier, and the layer 2 header is restored. Data; and then verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet; The data of the layer 2 packet header further includes a compressed identifier, and the compressed identifier is extracted from the data of the layer 2 packet header, and the corresponding relationship between the compressed identifier and the data of the layer 2 packet header is stored in the Said in the first decompression table.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第二报文处理模块包括:  The second packet processing module includes:
第二解压单元,其设置为若判断所述层 3报文头的数据仅包括压缩标识, 则根据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文 头的数据; 若判断所述层 3报文头的数据仅包括压缩标识和校验信息, 则根 据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文头的 数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判断所 述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和小节的数据, 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出的数据中与该 小节号对应的数据替换为该小节的数据; 若判断所述层 3报文头的数据包括 压缩标识、 指示全部不同的小节号和小节的数据, 则将该压缩标识、 指示全 部不同的小节号和小节的数据的对应关系存入所述第二解压缩表中。 a second decompression unit, configured to: if it is determined that the data of the layer 3 packet header includes only the compression identifier, extract the corresponding data from the second decompression table according to the compression identifier, and restore the layer 3 packet header If the data of the layer 3 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the layer 3 header is restored. Data; and then verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet; The data of the layer 3 header includes the compression identifier, the data indicating the different section numbers and the section data, and the corresponding data is extracted from the second decompression table according to the compression identifier, and the extracted data corresponds to the section number. The data is replaced with the data of the section; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different section numbers and the data of the section, the compressed identifier is indicated, indicating all the different section numbers and bars. The correspondence of the data is stored in the second decompression table.
上述网元设备还可具有以下特点:  The above network element device may also have the following features:
所述第二报文处理模块包括:  The second packet processing module includes:
判断单元, 其设置为若判断所述层 3报文头的数据包括多组数据, 则触 发第二解压单元对各个组的数据进行解压缩; 以及 所述解压单元, 其设置为若判断组中的数据仅包括压缩标识, 则根据该 压缩标识从第二解压缩表中取出相应的数据, 还原出该组的数据; 若判断组 中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第二解压缩表中 取出相应的数据, 还原出该组的数据; 然后根据所述校验信息对还原出的数 据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带该组 对应的压缩标识的反馈报文; 若判断组中的数据包括压缩标识、 指示部分不 同的小节号和小节的数据, 则根据该压缩标识从第二解压缩表中取出相应的 数据, 将取出的数据中与该小节号对应的数据替换为该小节的数据; 若判断 组中的数据包括压缩标识、 指示全部不同的小节号和小节的数据, 则将该压 缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述第二解压 缩表中。 综上, 本发明实施例提供一种压缩和解压缩以太网报文的方法及网元设 备, 以节省以太网报头的开销, 可以提高空口带宽的利用率, 节约有限的空 口带宽资源。 附图概述  a determining unit, configured to: if it is determined that the data of the layer 3 packet header includes multiple sets of data, triggering the second decompressing unit to decompress data of each group; and the decompressing unit is set to be in the determining group The data includes only the compressed identifier, and the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the data of the group is restored; if the data in the determining group includes only the compressed identifier and the verification information, according to the compression Identifying the corresponding data from the second decompression table, restoring the data of the group; and then verifying the restored data according to the verification information, and if the verification result is incorrect, reporting to the Ethernet The sending end of the text returns a feedback message carrying the compressed identifier corresponding to the group; if the data in the determining group includes the compressed identifier, the different section number and the section indicating the data, the compressed identifier is used from the second decompression table according to the compressed identifier. The corresponding data is taken out, and the data corresponding to the section number in the extracted data is replaced with the data of the section; if the data in the judgment group includes compression Knowledge, all indicating the number of different data sections and subsections, then the compression identifier indicating which data of all the different sections and subsections of the number stored in said second decompression table. In summary, the embodiments of the present invention provide a method for compressing and decompressing Ethernet packets and a network element device to save the overhead of the Ethernet header, improve the utilization of the air interface bandwidth, and save limited air bandwidth resources. BRIEF abstract
图 1为本发明实施例的压缩以太网报文的方法的流程图;  FIG. 1 is a flowchart of a method for compressing an Ethernet packet according to an embodiment of the present invention;
图 2为本发明实施例的解压缩以太网报文的方法的流程图;  2 is a flowchart of a method for decompressing an Ethernet packet according to an embodiment of the present invention;
图 3为本发明实施例的压缩层 2报文头的流程图; 图 4为本发明实施例的解压缩层 2报文头的流程图; 3 is a flowchart of a packet header of a compression layer 2 according to an embodiment of the present invention; 4 is a flowchart of a packet header of a decompression layer 2 according to an embodiment of the present invention;
图 5为本发明实施例的压缩层 3报文头的流程图;  FIG. 5 is a flowchart of a packet header of a compression layer 3 according to an embodiment of the present invention;
图 6为本发明实施例的解压缩层 3报文头的流程图;  6 is a flowchart of a packet header of a decompression layer 3 according to an embodiment of the present invention;
图 7为本发明实施例的网元设备的示意图。 本发明的较佳实施方式  FIG. 7 is a schematic diagram of a network element device according to an embodiment of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
随着 IP化趋势的加深, 越来越多的业务将封装入以太网报文进行传输, 但以太网包头的开销至少为 38个字节, 当我们只关心业务的时候, 这个开销 比例较大, 因此本发明实施例提出对以太网报文头进行压缩, 以提高空口带 宽的利用率, 节约有限的空口带宽资源。 而针对以太网数据的压缩这个问题, 目前的微波通信中, 还没有相关的解决方案。  As the trend of IP is deepened, more and more services will be encapsulated into Ethernet packets for transmission, but the overhead of Ethernet headers is at least 38 bytes. When we only care about services, this overhead ratio is larger. Therefore, the embodiment of the present invention proposes to compress the Ethernet packet header to improve the utilization of the air interface bandwidth and save limited air interface bandwidth resources. For the problem of compression of Ethernet data, there is no relevant solution in the current microwave communication.
图 1为本发明实施例的压缩以太网"¾文的方法的流程图, 如图 1所示, 本实施例的方法包括以下步骤:  FIG. 1 is a flowchart of a method for compressing an Ethernet "3⁄4" according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes the following steps:
Sl l、 网元设备接收以太网报文;  Sl l and the NE device receive Ethernet packets.
图 2为本发明实施例的解压缩以太网 文的方法的流程图,如图 2所示, 本实施例的方法包括以下步骤: FIG. 2 is a flowchart of a method for decompressing an Ethernet text according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes the following steps:
S21、 网元设备接收以太网 ^艮文;  S21, the network element device receives the Ethernet ^艮文;
缩和 /或层 3报文头的压缩, 能够识别 Vlan (虚拟局域网 )标志, 实现报文的 压缩和自适应的解压缩处理, 并且具有纠错能力, 保证系统运行正常。 本发 明通过对业务中的以太网报文头的压缩, 来减少传输中的数据量, 从而达到 节约空口带宽的目的。 The compression of the header and/or layer 3 headers can identify the Vlan (virtual local area network) flag, implement packet compression and adaptive decompression processing, and have error correction capability to ensure normal operation of the system. The present invention reduces the amount of data in the transmission by compressing the Ethernet packet header in the service, thereby achieving the purpose of saving air interface bandwidth.
针对层 2报文头的压缩, 如图 3所示, 包括以下步骤: 步骤 2001 : 接收到一个 IP报文(即以太网报文), 将所述层 2报文头的 数据与层 2压缩表中的数据进行比较; The compression of the layer 2 packet header, as shown in Figure 3, includes the following steps: Step 2001: Receive an IP packet (ie, an Ethernet packet), and compare the data of the layer 2 packet header with the data in the layer 2 compression table.
较佳地, 接收到一个 IP报文后, 开启层 2报文头压缩, 将报文的 MAC ( Media Access Control, 媒体访问控制) 头数据和层 2压缩表进行比较, 相 同则为命中, 转步骤 2002, 不同则进入更新状态, 转步骤 2003。  Preferably, after receiving an IP packet, the layer 2 header is compressed, and the MAC (Media Access Control) header data of the packet is compared with the layer 2 compression table, and the same is a hit. In step 2002, the difference is entered into the update state, and the process proceeds to step 2003.
步骤 2002:以层 2压缩表中对应的压缩标识替换所述层 2报文头的数据; 当到来的 MAC报文头和层 2压缩表中的数据一致的时候, 层 2进入压 缩状态, 此时将以层 2压缩表中一个对应的层 2压缩标识来替换整个的层 2 的 MAC部分在链路中进行传递。  Step 2002: Replace the data of the layer 2 packet header with the corresponding compression identifier in the layer 2 compression table. When the data in the incoming MAC packet header and the layer 2 compression table are consistent, layer 2 enters a compressed state. The MAC portion of the entire layer 2 is replaced in the link with a corresponding layer 2 compression flag in the layer 2 compression table.
步骤 2003: 生成一压缩标识, 传递携带该压缩标识的所述以太网 ^艮文, 并更新层 2压缩表;  Step 2003: Generate a compressed identifier, transmit the Ethernet packet carrying the compressed identifier, and update the layer 2 compressed table;
这样, 当下次接收到层 2报文头的数据相同的以太网报文时, 就可以以 该生成的压缩标识替换所述层 2报文头的数据。  In this way, when the same Ethernet packet with the data of the layer 2 header is received next time, the data of the layer 2 header can be replaced by the generated compressed identifier.
当到来的 MAC报文头和层 2压缩表中的数据不一致的时候, 层 2报文 头进入更新状态, 此时生成一个更新标识, 可以加到层 2数据的 MAC之前, 然后传送到对端, 并进行压缩表的更新。  When the data in the incoming MAC packet header and the layer 2 compression table are inconsistent, the layer 2 packet header enters an update state, and an update identifier is generated, which can be added to the MAC of the layer 2 data, and then transmitted to the peer end. , and update the compressed table.
层 2报文头的解压缩过程, 如图 4所示, 包括以下步骤: The decompression process of the layer 2 packet header, as shown in Figure 4, includes the following steps:
步骤 2010: 解压缩端的网元设备首先检测识别以太网报文中是否存在层 2压缩标识, 若不存在, 则该以太网报文为未压缩报文, 转步骤 2020; 若存 在, 识别是压缩状态报文, 还是更新状态报文, 若是压缩状态报文, 则转步 骤 2030; 若是更新状态报文, 则转步骤 2040。  Step 2010: The network element device on the decompressing end first detects whether the layer 2 compressed identifier exists in the identified Ethernet packet. If not, the Ethernet packet is an uncompressed packet, and the process proceeds to step 2020. If yes, the identification is compression. If the status message is a compressed status message, the process proceeds to step 2030. If the status message is updated, the process proceeds to step 2040.
本实施例中, 网元设备若判断所述层 2报文头的数据仅包括压缩标识, 或仅包括压缩标识和校 3全信息, 则识别为压缩状态艮文。  In this embodiment, if the network element device determines that the data of the layer 2 header includes only the compressed identifier, or only the compressed identifier and the full information, the network element device identifies the compressed state.
步骤 2020: 针对未压缩的报文做透传处理。  Step 2020: Perform transparent transmission processing on uncompressed messages.
步骤 2030: 针对压缩状态下的报文, 首先识别出压缩标识, 将根据这个 压缩标识, 在解压缩表中取出相应的层 2MAC数据, 还原出原始报文。 步骤 2040: 针对更新报文, 解压缩端首先取出压缩标识, 并从报文中还 原出原始的 MAC数据, 然后, 转入步骤 2050。 Step 2030: Firstly, for the packet in the compressed state, the compressed identifier is first identified, and according to the compressed identifier, the corresponding layer 2 MAC data is taken out in the decompressed table, and the original packet is restored. Step 2040: For the update message, the decompressing end first extracts the compressed identifier, and restores the original MAC data from the packet, and then proceeds to step 2050.
步骤 2050: 进入解压缩表同步更新状态, 将压缩标识和还原出的原始层 2MAC数据之间的对应关系存入解压缩表中, 保证压缩表和解压缩表一致。  Step 2050: Enter the synchronization update state of the decompression table, and store the correspondence between the compressed identifier and the restored original layer 2 MAC data in the decompression table to ensure that the compression table and the decompression table are consistent.
针对层 3压缩流程, 如图 5所示, 包括以下步骤:  For the layer 3 compression process, as shown in Figure 5, the following steps are included:
步骤 3001 : 分组: 接收到一个新的以太网 ^艮文后, 若识别出此以太网为 层 3报文, 则对该报文的层 3报文头的数据进行分组, 后续的压缩过程即为 对每一组的压缩过程。 步骤 3002: 分节: 将每组数据细分为 N小节, 每个小节就是 "^文压缩的 最小单元;  Step 3001: Packet: After receiving a new Ethernet packet, if it is identified that the Ethernet is a layer 3 packet, the data of the layer 3 packet header of the packet is grouped, and the subsequent compression process is performed. For the compression process for each group. Step 3002: Subsection: Subdivide each group of data into N bars, each of which is the smallest unit of the ^^ text compression;
例如以 16bit为一节。  For example, 16bit is a section.
步骤 3003: 压缩: 对每组报文数据与本地的层 3压缩表进行比较, 根据 比较结果分别进行如下处理:  Step 3003: Compression: Compare each group of message data with a local layer 3 compression table, and perform the following processing according to the comparison result:
若组中的各小节的数据与层 3压缩表中的数据均一致, 则用该组对应的 压缩标识替换该组的数据;  If the data of each section in the group is consistent with the data in the layer 3 compression table, the data of the group is replaced by the corresponding compression identifier of the group;
若组中的存在部分小节的数据与层 3压缩表中的数据不一致, 则用该组 对应的压缩标识、 指示部分不同的小节号和小节的数据来替换替换该组的数 据, 并更新层 3压缩表, 然后转步骤 3004;  If the data of the partial section in the group is inconsistent with the data in the layer 3 compression table, replace the data of the group with the corresponding compression identifier, the different section number and the section indicating the data, and update the layer 3 Compress the table, then go to step 3004;
若组中的各小节的数据与层 3压缩表中的数据均不一致, 则为该组分配 一个压缩标识, 以该压缩标识、 各小节号和各小节的数据替换该组的数据, 并更新层 3压缩表, 这样, 当下次接收到层 3报文头中对应组的数据相同的 以太网报文时, 即可以以该分配的压缩标识替换该组的数据, 然后转步骤 3004。  If the data of each section in the group is inconsistent with the data in the layer 3 compression table, the group is assigned a compression identifier, and the data of the group is replaced by the data of the compression identifier, each section number, and each section, and the layer is updated. 3 Compressing the table, so that when the same Ethernet packet of the corresponding group in the header of the layer 3 packet is received next time, the data of the group can be replaced by the allocated compression identifier, and then the process proceeds to step 3004.
步骤 3004: 组帧, 将每组压缩后的报文进行组帧, 例如, 压缩标识在前, 并将每组中的不同的小节加在报文以后, 传送出去。  Step 3004: framing, framing each group of compressed messages, for example, compressing the identification first, and adding different bars in each group to the message and transmitting them.
针对层 3报文的压缩也可以不用分组, 可以直接分小节来进行压缩, 如 包括以下步骤:  The compression of layer 3 messages can also be done without grouping, and can be directly compressed by subsections, such as the following steps:
步骤 3011、 将所述以太网报文的层 3报文头的数据分为多个小节; 步骤 3012、 将各小节的数据与层 3压缩表中的数据进行比较, 根据比较 结果分别进行如下处理: Step 3011: The data of the layer 3 header of the Ethernet packet is divided into multiple subsections; Step 3012: Comparing the data of each measure with the data in the layer 3 compression table, and performing the following processing according to the comparison result:
若各小节的数据与层 3压缩表中的数据均一致, 则用对应的压缩标识替 换所述层 3报文头的数据; 若存在部分小节的数据与层 3压缩表中的数据不 一致, 则用对应的压缩标识、 指示部分不同的小节号和小节的数据来替换所 述层 3报文头的数据, 并更新层 3压缩表; 若各小节的数据与层 3压缩表中 的数据均不一致, 则为各小节分配一个压缩标识, 以该压缩标识、 指示全部 不同的各小节号和各小节的数据替换所述层 3报文头的数据, 并更新层 3压 缩表, 这样, 当下次接收到层 3报文头的数据相同的以太网报文时, 可以以 该分配的压缩标识替换所述层 3报文头的数据。  If the data of each section is consistent with the data in the layer 3 compression table, the data of the layer 3 header is replaced by the corresponding compression identifier; if the data of the partial section is inconsistent with the data of the layer 3 compression table, Replace the data of the layer 3 header with the corresponding compression identifier, the data indicating the different section number and the section, and update the layer 3 compression table; if the data of each section is inconsistent with the data in the layer 3 compression table And assigning a compression identifier to each section, replacing the data of the layer 3 packet header with the data of the compressed label, indicating all the different section numbers and each section, and updating the layer 3 compression table, so that the next time receiving When the data of the Layer 3 packet header is the same as the Ethernet packet, the data of the layer 3 header can be replaced by the allocated compression identifier.
针对层 3报文(未分组) 的解压缩流程, 如图 6所示, 包括以下步骤: 步骤 3010: 解压缩端网元设备将解析出层 3报文为普通报文、 压缩报文 或更新报文, 普通报文做透传处理, 对于压缩报文, 转步骤 3020 , 对更新报 文转步骤 3030;  As shown in FIG. 6, the decompression process of the layer 3 packet (not packet) includes the following steps: Step 3010: The decompressing end network element device parses the layer 3 packet into an ordinary packet, a compressed packet, or an update. For the packet, the normal packet is transparently processed. For the compressed packet, go to step 3020, and go to step 3030 for the update packet.
本实施例中, 网元设备若判断所述层 3报文头的数据仅包括压缩标识、 或仅包括压缩标识和校验信息、 或包括压缩标识、 指示部分不同的小节号和 小节的数据, 则识别为压缩报文; 若判断所述层 3报文头的数据包括压缩标 识、 指示全部不同的小节号和小节的数据, 则识别为更新报文。  In this embodiment, if the network element device determines that the data of the layer 3 packet header includes only the compressed identifier, or only the compressed identifier and the check information, or the compressed identifier, the different section number and the bar of the indication part, Then, it is identified as a compressed message; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different measure numbers and the data of the measure, it is identified as an update message.
步骤 3020: 对压缩 "^文的解压缩处理如下:  Step 3020: Decompress the compressed "^ text" as follows:
若网元设备若判断所述层 3报文头的数据仅包括压缩标识, 则根据该压 缩标识从层 3解压缩表中取出相应的数据, 还原出所述层 3报文头的数据; 若判断所述层 3报文头的数据仅包括压缩标识和校验信息, 则根据该压 缩标识从层 3解压缩表中取出相应的数据, 还原出所述层 3报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所 述以太网报文的发送端返回携带所述压缩标识的反馈报文;  If the network element device determines that the data of the layer 3 packet header includes only the compressed identifier, the corresponding data is retrieved from the layer 3 decompression table according to the compressed identifier, and the data of the layer 3 packet header is restored; Determining that the data of the layer 3 packet header includes only the compression identifier and the verification information, and then extracting corresponding data from the layer 3 decompression table according to the compression identifier, and restoring the data of the layer 3 packet header; The verification information is used to check the restored data, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet;
若判断所述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和 小节的数据, 则根据该压缩标识从层 3解压缩表中取出相应的数据, 将取出 的数据中与该小节号对应的数据替换为该小节的数据。 步骤 3030: 将层 3报文头的数据中的压缩标识、 指示全部不同的小节号 和小节的数据的对应关系存入层 3解压缩表, 以将恢复出的报文更新到本地 的解压缩表中, 保持与压缩表一致。 If it is determined that the data of the layer 3 packet header includes the compressed identifier, the different section number and the section indicating the data, the corresponding data is extracted from the layer 3 decompression table according to the compressed identifier, and the extracted data is included in the data. The data corresponding to the section number is replaced with the data of the section. Step 3030: Store the compression identifier in the data of the layer 3 packet header, the correspondence relationship indicating the data of all the different section numbers and the section into the layer 3 decompression table, to update the restored packet to the local decompression. In the table, keep consistent with the compressed table.
若压缩时如上述图 3进行分组的, 则按组进行提取解压缩, 解压原理与 图 6的解压原理类似, 具体如下:  If the grouping is performed as shown in Figure 3 above, the extraction and decompression are performed in groups. The decompression principle is similar to the decompression principle in Figure 6, as follows:
若判断所述层 3报文头的数据包括多组数据, 则对各个组的数据进行解 压缩, 包括:  If it is determined that the data of the layer 3 header includes multiple sets of data, the data of each group is decompressed, including:
若判断组中的数据仅包括压缩标识, 则根据该压缩标识从层 3解压缩表 中取出相应的数据, 还原出该组的数据;  If the data in the judgment group only includes the compression identifier, the corresponding data is retrieved from the layer 3 decompression table according to the compression identifier, and the data of the group is restored;
若判断组中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从层 If the data in the judgment group includes only the compression identifier and the verification information, the layer is determined according to the compression identifier.
3 解压缩表中取出相应的数据, 还原出该组的数据; 然后根据所述校验信息 对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端 返回携带该组对应的压缩标识的反馈报文; 若判断组中的数据包括压缩标识、指示部分不同的小节号和小节的数据 , 则根据该压缩标识从层 3解压缩表中取出相应的数据, 将取出的数据中与该 小节号对应的数据替换为该小节的数据; 3 Extracting the corresponding data in the decompression table, restoring the data of the group; then verifying the restored data according to the verification information, and if the verification result is incorrect, sending the Ethernet packet Returning a feedback message carrying the compressed identifier corresponding to the group; if the data in the group includes the compressed identifier, the different section number and the section indicating the data, the corresponding identifier is extracted from the layer 3 decompression table according to the compressed identifier. Data, the data corresponding to the section number in the extracted data is replaced with the data of the section;
若判断组中的数据包括压缩标识、指示全部不同的小节号和小节的数据 , 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述 层 3解压缩表中。  If the data in the judgment group includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the layer 3 decompression table. .
釆用如上的 文压缩方法, 可以在保证压缩效率的同时, 保证正常的才艮 文的应用, 实际的网络环境复杂多变, 不可能存在单一的固定报文, 本发明 所表述的方法, 可以适应实际的网络环境, 并在资源占用极少的情况下, 保 证良好的压缩率; 特别的, 进行压缩处理的报文可以以携带校验信息, 或可 以在每个压缩标识中存有校验信息, 在解压缩后, 解压缩端会对报文进行校 验, 若报文解压的校验结果与校验值不一致, 则进入反馈流程, 如下:  釆 Using the above compression method, the compression efficiency can be ensured, and the application of the normal text can be ensured. The actual network environment is complex and variable, and there is no single fixed message. The method expressed by the present invention can Adapt to the actual network environment, and ensure a good compression ratio when the resources are scarce. In particular, the packets processed by the compression can carry the verification information, or can be verified in each compression identifier. After the information is decompressed, the decompression end verifies the packet. If the verification result of the packet decompression is inconsistent with the checksum value, the feedback process is entered as follows:
步骤 4001 : 解压缩端的网元设备按照反馈标识头 +压缩标识(或压缩号) 的顺序产生反馈报文, 随链路发送到压缩端。  Step 4001: The network element device on the decompressing end generates a feedback message according to the sequence of the feedback identifier + the compression identifier (or the compression number), and sends the feedback packet to the compression end along with the link.
步骤 4002: 压缩端的网元设备识别反馈标识头, 解析出响应的压缩号, 并将压缩标识对应的本地压缩表内容清空。 本发明实施例的压缩系统中, 可以引入了如上的一种反馈的机制, 这种 机制可以保证在解压缩错误的时候, 通知到压缩端, 达到压缩表和解压缩表 一致的目的, 保证长时间运行时压缩功能正确。 Step 4002: The network element device at the compression end identifies the feedback identifier, and parses the compression number of the response. The contents of the local compressed table corresponding to the compressed identifier are cleared. In the compression system of the embodiment of the present invention, a feedback mechanism as described above may be introduced. This mechanism can ensure that when the decompression error is notified, the compression end is notified, and the compression table and the decompression table are consistently agreed to ensure a long time. The runtime compression function is correct.
本实施例中, 网元设备可以配置仅对层 2报文头进行压缩处理, 也可以 配置为仅对层 3报文头进行压缩处理, 也可以配置为对层 2报文头和层 3报 文头均进行压缩处理。  In this embodiment, the network element device may be configured to compress only the layer 2 packet header, or may be configured to compress only the layer 3 packet header, or may be configured as the layer 2 packet header and the layer 3 packet. The headers are all compressed.
图 7为本发明实施例的网元设备的示意图, 如图 7所示, 本实施例的网 元设备包括:  FIG. 7 is a schematic diagram of a network element device according to an embodiment of the present invention. As shown in FIG. 7, the network element device of this embodiment includes:
接收模块 70, 其设置为接收以太网报文;  a receiving module 70, configured to receive an Ethernet packet;
第一报文处理模块 71 ,其设置为对所述以太网报文的层 2报文头和 /或层 3才艮文头进行压缩处理。  The first packet processing module 71 is configured to perform compression processing on the layer 2 header and/or the layer header of the Ethernet packet.
其中, 所述报文处理模块 71包括:  The packet processing module 71 includes:
第一压缩单元 710, 其设置为将所述层 2报文头的数据与第一压缩表中 的数据进行比较, 若一致, 则以所述第一压缩表中对应的压缩标识替换所述 层 2 >¾文头的数据; 若不一致, 则生成一压缩标识, 传递携带该压缩标识的 所述以太网报文, 并更新所述第一压缩表, 当接收到层 2报文头的数据相同 的以太网报文时, 以该生成的压缩标识替换所述层 2报文头的数据。  a first compression unit 710, configured to compare data of the layer 2 packet header with data in the first compression table, and if yes, replace the layer with a corresponding compression identifier in the first compression table If the data is inconsistent, a compressed identifier is generated, the Ethernet packet carrying the compressed identifier is transmitted, and the first compressed table is updated, and the data of the header of the layer 2 is received. When the Ethernet packet is received, the data of the layer 2 packet header is replaced by the generated compressed identifier.
其中, 所述第二模块还可以包括:  The second module may further include:
发送单元 711 , 设置为传递所述第一单元处理后的所述以太网 ^艮文, 所 述以太网报文携带校验信息。  The sending unit 711 is configured to transmit the Ethernet packet processed by the first unit, where the Ethernet packet carries the verification information.
在一优选实施例中, 所述 文处理模块还可以包括:  In a preferred embodiment, the text processing module may further include:
第二压缩单元 712, 设置为将所述以太网报文的层 3报文头的数据分为 多个小节, 将各小节的数据与第二压缩表中的数据进行比较, 若各小节的数 据与所述第二压缩表中的数据均一致, 则用对应的压缩标识替换所述层 3报 文头的数据; 若存在部分小节的数据与所述第二压缩表中的数据不一致, 则 用对应的压缩标识、 指示部分不同的小节号和小节的数据来替换所述层 3报 文头的数据, 并触发更新单元更新所述第二压缩表; 若各小节的数据与所述 第二压缩表中的数据均不一致, 则为各小节分配一个压缩标识, 以该压缩标 识、 指示全部不同的各小节号和各小节的数据替换所述层 3报文头的数据, 并触发更新单元 713更新所述第二压缩表, 当接收到层 3报文头的数据相同 的以太网报文时, 以该分配的压缩标识替换所述层 3报文头的数据。 The second compression unit 712 is configured to divide the data of the layer 3 header of the Ethernet packet into a plurality of subsections, and compare the data of each subsection with the data in the second compression table, if the data of each subsection is If the data in the second compressed table is consistent with the data in the second compressed table, the data of the layer 3 header is replaced by the corresponding compressed identifier; if the data of the partial segment is inconsistent with the data in the second compressed table, Corresponding compression identifier, indicating part of the different section number and the data of the section to replace the data of the layer 3 header, and triggering the update unit to update the second compression table; if the data of each section is related to If the data in the second compressed table is inconsistent, a compressed identifier is assigned to each of the sections, and the data of the layer 3 header is replaced by the data of the compressed identifier, indicating all the different section numbers and the sections, and the update is triggered. The unit 713 updates the second compression table, and when receiving the same Ethernet packet with the data of the layer 3 header, replaces the data of the layer 3 header with the allocated compression identifier.
第二压缩单元 712, 也可以设置为将所述以太网报文的层 3报文头的数 据分为多个组, 每个组中分为多个小节, 将各组中的各小节的数据与第二压 缩表中的数据进行比较, 若组中的各小节的数据与所述第二压缩表中的数据 均一致, 则用该组对应的压缩标识替换该组的数据; 若组中的存在部分小节 的数据与所述第二压缩表中的数据不一致, 则用该组对应的压缩标识、 数据 不一致的小节号和数据不一致的小节的数据来替换替换该组的数据, 并触发 更新单元更新所述第二压缩表; 若组中的各小节的数据与所述第二压缩表中 的数据均不一致, 则为该组分配一个压缩标识, 以该压缩标识、 各小节号和 各小节的数据替换该组的数据, 并触发更新单元更新所述第二压缩表, 当接 收到层 3报文头中对应组的数据相同的以太网报文时, 以该分配的压缩标识 替换该组的数据。  The second compression unit 712 may be further configured to divide the data of the layer 3 header of the Ethernet packet into multiple groups, and each group is divided into multiple sections, and the data of each section in each group is Comparing with the data in the second compressed table, if the data of each bar in the group is consistent with the data in the second compressed table, the data of the group is replaced by the corresponding compressed identifier of the group; If the data of the partial section is inconsistent with the data in the second compression table, the data of the group is replaced by the corresponding compression identifier, the data of the inconsistent section number and the data of the data inconsistent section, and the update unit is triggered. Updating the second compression table; if the data of each bar in the group is inconsistent with the data in the second compression table, assigning a compression identifier to the group, the compression identifier, each bar number, and each bar The data replaces the data of the group, and triggers the update unit to update the second compression table. When receiving the same Ethernet packet with the same group of data in the layer 3 packet header, the compressed label is allocated by the corresponding group. Knowledge Replace the data for this group.
所述更新单元 713 , 其设置为若存在部分小节的数据与所述第二压缩表 中的数据不一致, 则将所述第二压缩表中对应的数据替换为数据不一致的小 节的数据; 若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配 的压缩标识与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预 定规则替换所述第二压缩表中原有的数据。  The updating unit 713 is configured to replace, when the data of the partial measure is inconsistent with the data in the second compressed table, the data in the second compressed table is replaced by the data of the data inconsistent section; If the data of the subsection is inconsistent with the data in the second compression table, the corresponding relationship between the assigned compression identifier and the data of each subsection is directly added to the second compression table, or the second compression is replaced by a predetermined rule. The original data in the table.
其中, 所述第一报文处理模块还可以包括:  The first packet processing module may further include:
所述发送单元 712还可以设置为传递所述第三单元或所述第四单元处理 后的所述以太网报文, 所述以太网报文携带校验信息。  The sending unit 712 may be further configured to transmit the Ethernet packet processed by the third unit or the fourth unit, where the Ethernet packet carries verification information.
其中, 所述网元设备还可以包括:  The network element device may further include:
第二报文处理模块 72, 其设置为对接收到的以太网报文的层 2报文头和 a second packet processing module 72, configured to layer 2 headers of the received Ethernet packets
/或层 3 >¾文头进行解压缩处理。 / or layer 3 > 3⁄4 header for decompression processing.
其中, 所述第二报文处理模块 72可以包括:  The second packet processing module 72 may include:
第一解压单元 720, 其设置为若判断所述层 2报文头的数据仅包括压缩 标识, 则根据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层a first decompression unit 720, configured to: if it is determined that the data of the layer 2 header includes only compression Identifying, according to the compression identifier, extracting corresponding data from the first decompression table, and restoring the layer
2报文头的数据; 若判断所述层 2报文头的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文 头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有 误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判 断所述层 2报文头的数据中还包括压缩标识, 则所述层 2报文头的数据中取 出该压缩标识, 将该压缩标识与所述层 2报文头的数据的对应关系存入所述 第一解压缩表中。 第二所述解压单元 721 , 设置为若判断所述层 3报文头的数据仅包括压 缩标识, 则根据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述 层 3报文头的数据; 若判断所述层 3报文头的数据仅包括压缩标识和校验信 息, 则根据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3 报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结 果有误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判断所述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和小节 的数据, 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出的数 据中与该小节号对应的数据替换为该小节的数据; 若判断所述层 3报文头的 数据包括压缩标识、指示全部不同的小节号和小节的数据, 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述第二解压缩表中。 2 data of the packet header; if it is determined that the data of the layer 2 packet header includes only the compression identifier and the verification information, the corresponding data is retrieved from the first decompression table according to the compression identifier, and the layer 2 is restored. Data of the packet header; then, the restored data is verified according to the verification information, and if the verification result is incorrect, the feedback packet carrying the compressed identifier is returned to the sending end of the Ethernet packet. If it is determined that the data of the layer 2 packet header further includes a compression identifier, the compression identifier is extracted from the data of the layer 2 packet header, and the compression identifier is corresponding to the data of the layer 2 packet header. The relationship is stored in the first decompression table. The second decompression unit 721 is configured to: if it is determined that the data of the layer 3 packet header includes only the compression identifier, extract the corresponding data from the second decompression table according to the compression identifier, and restore the layer 3 report. Data of the header; if it is determined that the data of the layer 3 packet header includes only the compression identifier and the verification information, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the layer 3 packet is restored. And the data of the header is verified by the verification information, and if the verification result is incorrect, the feedback message carrying the compressed identifier is returned to the sending end of the Ethernet packet; Determining that the data of the layer 3 packet header includes the compressed identifier, the data indicating the different section number and the section, and extracting the corresponding data from the second decompression table according to the compressed identifier, and extracting the data into the section The data corresponding to the number is replaced with the data of the section; if it is determined that the data of the layer 3 header includes a compressed identifier, indicating all the different section numbers and the data of the section, the compressed identifier is determined. The second solution indicating a corresponding relationship between all the data sections and subsections of the number stored in the compression table.
在一优选实施例中, 第二 ^艮文处理模块 72还可以包括:  In a preferred embodiment, the second processing module 72 may further include:
判断单元 722, 其设置为若判断所述层 3报文头的数据包括多组数据, 则触发第四单元对各个组的数据进行解压缩;  The determining unit 722 is configured to: if it is determined that the data of the layer 3 header includes multiple sets of data, trigger the fourth unit to decompress data of each group;
所述第二解压单元 721 也可以设置为若判断组中的数据仅包括压缩标 识, 则根据该压缩标识从第二解压缩表中取出相应的数据, 还原出该组的数 据; 若判断组中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第 二解压缩表中取出相应的数据, 还原出该组的数据; 然后根据所述校验信息 对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端 返回携带该组对应的压缩标识的反馈报文;若判断组中的数据包括压缩标识、 指示部分不同的小节号和小节的数据, 则根据该压缩标识从第二解压缩表中 取出相应的数据, 将取出的数据中与该小节号对应的数据替换为该小节的数 据; 若判断组中的数据包括压缩标识、指示全部不同的小节号和小节的数据, 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述 第二解压缩表中。 The second decompressing unit 721 may also be configured to: if the data in the determining group includes only the compressed identifier, extract the corresponding data from the second decompressing table according to the compressed identifier, and restore the data of the group; The data includes only the compression identifier and the verification information, and the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored data is verified according to the verification information. If the verification result is incorrect, return a feedback message carrying the compressed identifier corresponding to the group to the sending end of the Ethernet packet; if the data in the determining group includes a compressed identifier, a different section number and a section indicating the part Data from the second decompression table according to the compression identifier The corresponding data is taken out, and the data corresponding to the section number in the extracted data is replaced with the data of the section; if the data in the judgment group includes the compression identifier, the data indicating all the different section numbers and the section, the compression identifier is Corresponding relationships indicating data of all different measure numbers and measures are stored in the second decompression table.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 上述实施例可以节省以太网报头的开销, 可以提高空口带宽的利用率, 节约有限的空口带宽资源。 Industrial Applicability The foregoing embodiments can save the overhead of the Ethernet header, improve the utilization of the air interface bandwidth, and save limited air interface bandwidth resources.

Claims

权 利 要 求 书 Claim
1、 一种压缩以太网>¾文的方法, 包括:  1. A method of compressing Ethernet >3⁄4 text, including:
接收以太网报文;  Receive Ethernet packets;
2、 如权利要求 1所述的方法, 其中: 所述对以太网报文的层 2报文头进 行压缩处理, 包括: 2. The method of claim 1, wherein: the compressing the layer 2 header of the Ethernet packet comprises:
将所述层 2报文头的数据与第一压缩表中的数据进行比较,  Comparing the data of the layer 2 header with the data in the first compressed table,
若一致, 则以所述第一压缩表中对应的压缩标识替换所述层 2报文头的 数据;  If the data is consistent, the data of the layer 2 header is replaced by the corresponding compressed identifier in the first compression table;
若不一致, 则生成一压缩标识, 传递携带该压缩标识的所述以太网 文, 并更新所述第一压缩表, 当下次接收到层 2报文头的数据相同的以太网报文 时, 以该生成的压缩标识替换所述层 2报文头的数据。  If not, generating a compressed identifier, transmitting the Ethernet text carrying the compressed identifier, and updating the first compressed table, and when receiving the same Ethernet packet with the data of the layer 2 header, The generated compressed identifier replaces the data of the layer 2 header.
3、 如权利要求 2所述的方法, 其中: 所述对以太网报文的层 2报文头进 行压缩处理之后, 还包括:  The method of claim 2, wherein: after the layer 2 header of the Ethernet packet is compressed, the method further includes:
传递处理后的所述以太网报文, 所述以太网报文携带校验信息。  And transmitting the processed Ethernet packet, where the Ethernet packet carries the verification information.
4、 如权利要求 1所述的方法, 其中: 所述对以太网报文的层 3报文头进 行压缩处理, 包括:  4. The method according to claim 1, wherein: the compressing the layer 3 header of the Ethernet packet comprises:
将所述以太网报文的层 3报文头的数据分为多个小节, 将各小节的数据 与第二压缩表中的数据进行比较, 若各小节的数据与所述第二压缩表中的数据均一致, 则用对应的压缩标 识替换所述层 3报文头的数据;  And dividing the data of the layer 3 packet header of the Ethernet packet into a plurality of subsections, and comparing the data of each subsection with the data in the second compression table, if the data of each subsection is in the second compression table. If the data is consistent, the data of the layer 3 header is replaced by the corresponding compressed identifier;
若存在部分小节的数据与所述第二压缩表中的数据不一致, 则用对应的 压缩标识、 指示部分不同的小节号和小节的数据来替换所述层 3报文头的数 据, 并更新所述第二压缩表;  If the data of the partial bar is inconsistent with the data in the second compressed table, the data of the layer 3 header is replaced by the corresponding compressed identifier, the data of the different section number and the bar indicating the part, and the data is updated. Said second compression table;
若各小节的数据与所述第二压缩表中的数据均不一致, 则为各小节分配 一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数据替 换所述层 3报文头的数据, 并更新所述第二压缩表, 当下次接收到层 3报文 头的数据相同的以太网"¾文时, 以该分配的压缩标识替换所述层 3 文头的 数据。 If the data of each section is inconsistent with the data in the second compression table, a compression identifier is assigned to each section, and the layer 3 is replaced by the compression identifier, the data indicating all the different section numbers and the bars. Data of the header, and updating the second compression table, when the layer 3 message is received next time When the header data is the same as the Ethernet "3", the data of the layer 3 header is replaced with the allocated compression identifier.
5、 如权利要求 1所述的方法, 其中: 所述对以太网报文的层 3报文头进 行压缩处理, 包括:  The method of claim 1, wherein: the compressing the layer 3 header of the Ethernet packet comprises:
将所述以太网报文的层 3报文头的数据分为多个组, 每个组中分为多个 小节, 将各组中的各小节的数据与第二压缩表中的数据进行比较,  The data of the layer 3 header of the Ethernet packet is divided into multiple groups, and each group is divided into multiple sections, and the data of each section in each group is compared with the data in the second compression table. ,
若组中的各小节的数据与所述第二压缩表中的数据均一致, 则用该组对 应的压缩标识替换该组的数据;  If the data of each section in the group is consistent with the data in the second compression table, the data of the group is replaced by the corresponding compression identifier of the group;
若组中的存在部分小节的数据与所述第二压缩表中的数据不一致, 则用 该组对应的压缩标识、 指示部分不同的小节号和小节的数据来替换替换该组 的数据, 并更新所述第二压缩表;  If the data of the existing partial section in the group is inconsistent with the data in the second compressed table, replace the data of the group with the compression identifier corresponding to the group, the different section number and the section indicating the data, and update The second compression table;
若组中的各小节的数据与所述第二压缩表中的数据均不一致, 则为该组 分配一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数 据替换该组的数据, 并更新所述第二压缩表, 当下次接收到层 3报文头中对 应组的数据相同的以太网报文时, 以该分配的压缩标识替换该组的数据。  If the data of each section in the group is inconsistent with the data in the second compression table, the group is assigned a compression identifier, and the group is replaced by the compression identifier, the data indicating all the different section numbers and the bars. The data is updated, and the second compressed table is updated. When the same Ethernet packet of the corresponding group in the header of the layer 3 packet is received next time, the data of the group is replaced by the allocated compressed identifier.
6、 如权利要求 4或 5所述的方法, 其中: 更新所述第二压缩表包括: 若存在部分小节的数据与所述第二压缩表中的数据不一致, 则将所述第 二压缩表中对应的数据替换为数据不一致的小节的数据;  6. The method according to claim 4 or 5, wherein: updating the second compression table comprises: if the data of the partial measure is inconsistent with the data in the second compressed table, then the second compressed table The corresponding data in the data is replaced with the data of the data inconsistent section;
若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压缩 标识与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规则 替换所述第二压缩表中原有的数据。  If the data of each section is inconsistent with the data in the second compression table, the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the first rule is replaced by a predetermined rule. The original data in the second compressed table.
7、 如权利要求 4或 5所述的方法, 其中: 所述对以太网报文的层 3报文 头进行压缩处理之后, 还包括:  The method according to claim 4 or 5, wherein: after performing the compression processing on the layer 3 packet header of the Ethernet packet, the method further includes:
传递处理后的所述以太网报文, 所述以太网报文携带校验信息。  And transmitting the processed Ethernet packet, where the Ethernet packet carries the verification information.
8、 一种解压缩以太网 文的方法, 包括:  8. A method of decompressing an Ethernet text, comprising:
接收以太网报文; Receive Ethernet packets;
9、 如权利要求 8所述的方法, 其中: 对所述以太网报文的层 2报文头进 行解压缩处理, 包括: 若判断所述层 2报文头的数据仅包括压缩标识, 则根据该压缩标识从第 一解压缩表中取出相应的数据, 还原出所述层 2报文头的数据; The method of claim 8, wherein: decompressing the layer 2 packet header of the Ethernet packet includes: if it is determined that the data of the layer 2 packet header includes only the compressed identifier, Extracting corresponding data from the first decompression table according to the compression identifier, and restoring data of the layer 2 packet header;
若判断所述层 2报文头的数据仅包括压缩标识和校验信息, 则根据该压 缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所 述以太网报文的发送端返回携带所述压缩标识的反馈报文;  If it is determined that the data of the layer 2 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the first decompressed table according to the compressed identifier, and the data of the layer 2 header is restored; And verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet;
若判断所述层 2报文头的数据中还包括压缩标识, 则所述层 2报文头的 数据中取出该压缩标识, 将该压缩标识与所述层 2报文头的数据的对应关系 存入所述第一解压缩表中。  If it is determined that the data of the layer 2 packet header further includes a compressed identifier, the compressed identifier is extracted from the data of the layer 2 packet header, and the correspondence between the compressed identifier and the data of the layer 2 packet header is determined. Deposited in the first decompression table.
10、 如权利要求 8所述的方法, 其中: 对所述以太网报文的层 3报文头 进行解压缩处理, 包括: 若判断所述层 3报文头的数据仅包括压缩标识, 则根据该压缩标识从第 二解压缩表中取出相应的数据, 还原出所述层 3报文头的数据;  The method of claim 8, wherein: the step of decompressing the layer 3 header of the Ethernet packet comprises: if it is determined that the data of the layer 3 header includes only the compressed identifier, Extracting corresponding data from the second decompression table according to the compressed identifier, and restoring data of the layer 3 header;
若判断所述层 3报文头的数据仅包括压缩标识和校验信息, 则根据该压 缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文头的数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所 述以太网报文的发送端返回携带所述压缩标识的反馈报文;  If it is determined that the data of the layer 3 header includes only the compressed identifier and the check information, the corresponding data is retrieved from the second decompressed table according to the compressed identifier, and the data of the layer 3 header is restored; And verifying the restored data according to the verification information, and if the verification result is incorrect, returning a feedback message carrying the compressed identifier to the sending end of the Ethernet packet;
若判断所述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和 小节的数据, 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出 的数据中与该小节号对应的数据替换为该小节的数据;  If it is determined that the data of the layer 3 packet header includes the compressed identifier, the different section number and the section indicating the data, the corresponding data is extracted from the second decompression table according to the compressed identifier, and the extracted data is The data corresponding to the section number is replaced with the data of the section;
若判断所述层 3 文头的数据包括压缩标识、 指示全部不同的小节号和 小节的数据, 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应 关系存入所述第二解压缩表中。  If it is determined that the data of the layer 3 header includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the second Unzip the table.
11、 如权利要求 8所述的方法, 其中: 对所述以太网报文的层 3报文头 进行解压缩处理, 包括: 若判断所述层 3报文头的数据包括多组数据, 则对各个组的数据进行解 压缩, 包括: The method of claim 8, wherein: decompressing the layer 3 packet header of the Ethernet packet comprises: if it is determined that the data of the layer 3 packet header includes multiple sets of data, Solve the data of each group Compression, including:
若判断组中的数据仅包括压缩标识, 则根据该压缩标识从第二解压缩表 中取出相应的数据, 还原出该组的数据;  If the data in the judgment group only includes the compression identifier, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored;
若判断组中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第 二解压缩表中取出相应的数据, 还原出该组的数据; 然后根据所述校验信息 对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端 返回携带该组对应的压缩标识的反馈报文; 若判断组中的数据包括压缩标识、指示部分不同的小节号和小节的数据 , 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出的数据中与该 小节号对应的数据替换为该小节的数据;  If the data in the judgment group includes only the compression identifier and the verification information, the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored information is restored according to the verification information. If the verification result is incorrect, the feedback message carrying the compressed identifier corresponding to the group is returned to the sending end of the Ethernet packet; if the data in the determining group includes the compressed identifier and the indication part is different The data of the section number and the section, the corresponding data is taken out from the second decompression table according to the compression identifier, and the data corresponding to the section number in the extracted data is replaced with the data of the section;
若判断组中的数据包括压缩标识、指示全部不同的小节号和小节的数据 , 则将该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述 第二解压缩表中。  If the data in the judgment group includes the compressed identifier, the data indicating all the different measure numbers and the measure, the compression identifier, the correspondence relationship indicating the data of all the different measure numbers and the measure are stored in the second decompression table. .
12、 一种网元设备, 包括: 12. A network element device, including:
接收模块, 其设置为接收以太网报文;  a receiving module, configured to receive an Ethernet message;
第一报文处理模块, 其设置为对所述以太网报文的层 2报文头和 /或层 3 报文头进行压缩处理。  The first packet processing module is configured to perform compression processing on the layer 2 packet header and/or the layer 3 packet header of the Ethernet packet.
13、如权利要求 12所述的网元设备,其中: 所述第一报文处理模块包括: 第一压缩单元, 其设置为将所述层 2报文头的数据与第一压缩表中的数 据进行比较, 若一致, 则以所述第一压缩表中对应的压缩标识替换所述层 2 报文头的数据; 若不一致, 则生成一压缩标识, 传递携带该压缩标识的所述 以太网报文, 并更新所述第一压缩表, 当接收到层 2报文头的数据相同的以 太网报文时, 以该生成的压缩标识替换所述层 2报文头的数据。  The network element device of claim 12, wherein: the first packet processing module comprises: a first compression unit, configured to set data of the layer 2 header and the first compression table The data is compared, if the data is consistent, the data of the layer 2 header is replaced by the corresponding compression identifier in the first compression table; if not, a compressed identifier is generated, and the Ethernet carrying the compression identifier is transmitted. Transmitting, and updating the first compression table, when receiving the same Ethernet packet with the data of the layer 2 packet header, replacing the data of the layer 2 packet header with the generated compressed identifier.
14、 如权利要求 13所述的网元设备, 其中: 所述第一报文处理模块还包 括:  The network element device of claim 13, wherein: the first packet processing module further comprises:
发送单元, 其设置为传递所述第一压缩单元处理后的所述以太网报文, 所述以太网报文携带校验信息。  And a sending unit, configured to transmit the Ethernet packet processed by the first compression unit, where the Ethernet packet carries verification information.
15、如权利要求 12所述的网元设备,其中: 所述第一报文处理模块包括: 第二压缩单元, 其设置为将所述以太网报文的层 3报文头的数据分为多 个小节, 将各小节的数据与第二压缩表中的数据进行比较, 若各小节的数据 与所述第二压缩表中的数据均一致, 则用对应的压缩标识替换所述层 3报文 头的数据; 若存在部分小节的数据与所述第二压缩表中的数据不一致, 则用 对应的压缩标识、 指示部分不同的小节号和小节的数据来替换所述层 3报文 头的数据, 并触发更新单元更新所述第二压缩表; 若各小节的数据与所述第 二压缩表中的数据均不一致, 则为各小节分配一个压缩标识, 以该压缩标识、 指示全部不同的各小节号和各小节的数据替换所述层 3报文头的数据, 并触 发更新单元更新所述第二压缩表, 当接收到层 3报文头的数据相同的以太网 报文时, 以该分配的压缩标识替换所述层 3报文头的数据; 以及 The network element device of claim 12, wherein: the first packet processing module comprises: a second compression unit, configured to divide data of the layer 3 header of the Ethernet packet into a plurality of subsections, and compare data of each subsection with data in the second compression table, if data of each subsection If the data in the second compressed table is consistent with the data in the second compressed table, the data of the layer 3 header is replaced by the corresponding compressed identifier; if the data of the partial segment is inconsistent with the data in the second compressed table, Corresponding compression identifier, data indicating a different section number and a section of the section to replace the data of the layer 3 header, and triggering the update unit to update the second compression table; if the data of each section and the second compression If the data in the table is inconsistent, a compressed identifier is assigned to each section, and the data of the layer 3 header is replaced by the data of the compressed identifier, indicating all the different section numbers and the sections, and the update unit is triggered. The second compression table, when receiving the same Ethernet packet with the data of the layer 3 header, replacing the data of the layer 3 header with the allocated compression identifier;
所述更新单元, 其设置为若存在部分小节的数据与所述第二压缩表中的 数据不一致, 则将所述第二压缩表中对应的数据替换为数据不一致的小节的 数据; 若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压 缩标识与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规 则替换所述第二压缩表中原有的数据。  The updating unit is configured to replace, when the data of the partial measure is inconsistent with the data in the second compressed table, data corresponding to the data inconsistent in the second compressed table; And the data in the second compression table is inconsistent, and the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the second compression table is replaced by a predetermined rule. The original data.
16、如权利要求 12所述的网元设备,其中: 所述第一报文处理模块包括: 第二压缩单元, 其设置为将所述以太网报文的层 3报文头的数据分为多 个组, 每个组中分为多个小节, 将各组中的各小节的数据与第二压缩表中的 数据进行比较, 若组中的各小节的数据与所述第二压缩表中的数据均一致, 则用该组对应的压缩标识替换该组的数据; 若组中的存在部分小节的数据与 所述第二压缩表中的数据不一致, 则用该组对应的压缩标识、 数据不一致的 小节号和数据不一致的小节的数据来替换替换该组的数据, 并触发更新单元 更新所述第二压缩表; 若组中的各小节的数据与所述第二压缩表中的数据均 不一致, 则为该组分配一个压缩标识, 以该压缩标识、 各小节号和各小节的 数据替换该组的数据, 并触发更新单元更新所述第二压缩表, 当接收到层 3 才艮文头中对应组的数据相同的以太网 ^艮文时, 以该分配的压缩标识替换该组 的数据; 以及  The network element device of claim 12, wherein: the first packet processing module comprises: a second compression unit, configured to divide data of a layer 3 header of the Ethernet packet into a plurality of groups, each group being divided into a plurality of sub-sections, comparing data of each sub-section in each group with data in the second compression table, if data of each sub-section in the group is in the second compression table If the data of the group is consistent, the data of the group is replaced by the corresponding compressed identifier of the group; if the data of the partial section in the group is inconsistent with the data of the second compressed table, the corresponding compressed identifier and data of the group are used. The inconsistent section number and the data of the inconsistent section replace the data of the group, and trigger the update unit to update the second compression table; if the data of each section in the group and the data in the second compression table are both Inconsistent, the group is assigned a compression identifier, the data of the group is replaced by the compression identifier, each measure number, and the data of each measure, and the update unit is triggered to update the second compression table, when the layer is received. 3 When the data of the corresponding group in the header is the same as the Ethernet data, the data of the group is replaced by the assigned compression identifier;
更新单元, 其设置为若存在部分小节的数据与所述第二压缩表中的数据 不一致,则将所述第二压缩表中对应的数据替换为数据不一致的小节的数据; 若各小节的数据与所述第二压缩表中的数据均不一致, 则将分配的压缩标识 与各小节的数据的对应关系直接加入所述第二压缩表中、 或以预定规则替换 所述第二压缩表中原有的数据。 An update unit, configured to replace data corresponding to the second compressed table with data of a bar inconsistent data if the data of the partial measure is inconsistent with the data in the second compressed table; If the data of each section is inconsistent with the data in the second compression table, the corresponding relationship between the assigned compression identifier and the data of each section is directly added to the second compression table, or the first rule is replaced by a predetermined rule. The original data in the second compressed table.
17、 如权利要求 15或 16所述的网元设备, 其中: 所述第一报文处理模 块还包括: The network element device of claim 15 or 16, wherein: the first packet processing module further comprises:
发送单元, 其设置为传递所述第二压缩单元处理后的所述以太网报文, 所述以太网报文携带校验信息。  And a sending unit, configured to transmit the Ethernet packet processed by the second compression unit, where the Ethernet packet carries verification information.
18、 如权利要求 12所述的网元设备, 其中: 所述网元设备还包括: 第二报文处理模块, 其设置为对接收到的以太网报文的层 2报文头和 /或 层 3报文头进行解压缩处理。  The network element device of claim 12, wherein: the network element device further comprises: a second packet processing module, configured to send a layer 2 header of the received Ethernet packet and/or The layer 3 header is decompressed.
19、如权利要求 18所述的网元设备,其中: 所述第二报文处理模块包括: 第一解压单元,其设置为若判断所述层 2报文头的数据仅包括压缩标识, 则根据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文 头的数据; 若判断所述层 2报文头的数据仅包括压缩标识和校验信息, 则根 据该压缩标识从第一解压缩表中取出相应的数据, 还原出所述层 2报文头的 数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判断所 述层 2报文头的数据中还包括压缩标识, 则所述层 2报文头的数据中取出该 压缩标识, 将该压缩标识与所述层 2报文头的数据的对应关系存入所述第一 解压缩表中。  The network element device of claim 18, wherein: the second packet processing module comprises: a first decompression unit, configured to: if it is determined that the data of the layer 2 packet header includes only the compressed identifier, Extracting the corresponding data from the first decompression table according to the compressed identifier, and restoring the data of the layer 2 packet header; if it is determined that the data of the layer 2 packet header includes only the compressed identifier and the verification information, The compression identifier extracts the corresponding data from the first decompression table, and restores the data of the layer 2 packet header; and then verifies the restored data according to the verification information, and if the verification result is incorrect, And returning, to the sending end of the Ethernet packet, a feedback message carrying the compressed identifier; if it is determined that the data of the layer 2 packet header further includes a compressed identifier, the data of the layer 2 packet header is And extracting the compression identifier, and storing the correspondence between the compression identifier and the data of the layer 2 packet header in the first decompression table.
20、如权利要求 18所述的网元设备,其中: 所述第二报文处理模块包括: 第二解压单元,其设置为若判断所述层 3报文头的数据仅包括压缩标识, 则根据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文 头的数据; 若判断所述层 3报文头的数据仅包括压缩标识和校验信息, 则根 据该压缩标识从第二解压缩表中取出相应的数据, 还原出所述层 3报文头的 数据; 然后根据所述校验信息对还原出的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带所述压缩标识的反馈报文; 若判断所 述层 3报文头的数据包括压缩标识、 指示部分不同的小节号和小节的数据, 则根据该压缩标识从第二解压缩表中取出相应的数据, 将取出的数据中与该 小节号对应的数据替换为该小节的数据; 若判断所述层 3报文头的数据包括 压缩标识、 指示全部不同的小节号和小节的数据, 则将该压缩标识、 指示全 部不同的小节号和小节的数据的对应关系存入所述第二解压缩表中。 The network element device of claim 18, wherein: the second packet processing module comprises: a second decompression unit configured to: if it is determined that the data of the layer 3 header includes only the compressed identifier, Extracting the corresponding data from the second decompression table according to the compressed identifier, and restoring the data of the layer 3 packet header; if it is determined that the data of the layer 3 packet header includes only the compressed identifier and the verification information, The compression identifier extracts the corresponding data from the second decompression table, and restores the data of the layer 3 header; and then verifies the restored data according to the verification information, and if the verification result is incorrect, And returning, to the sending end of the Ethernet packet, a feedback message carrying the compressed identifier; if it is determined that the data of the layer 3 header includes a compressed identifier, a different section number and a section data, And extracting corresponding data from the second decompression table according to the compression identifier, and replacing data corresponding to the section number in the extracted data with data of the section; if determining that the data of the layer 3 header includes the compression identifier And indicating the data of all the different measure numbers and measures, and storing the compression identifier, the correspondence indicating the data of all the different measure numbers and the measure into the second decompression table.
21、如权利要求 18所述的网元设备,其中: 所述第二报文处理模块包括: 判断单元, 其设置为若判断所述层 3报文头的数据包括多组数据, 则触 发第二解压单元对各个组的数据进行解压缩; 以及  The network element device of claim 18, wherein: the second packet processing module comprises: a determining unit, configured to: if it is determined that the data of the layer 3 packet header includes multiple sets of data, triggering The second decompression unit decompresses the data of each group;
所述第二解压单元, 其设置为若判断组中的数据仅包括压缩标识, 则根 据该压缩标识从第二解压缩表中取出相应的数据, 还原出该组的数据; 若判 断组中的数据仅包括压缩标识和校验信息, 则根据该压缩标识从第二解压缩 表中取出相应的数据, 还原出该组的数据; 然后根据所述校验信息对还原出 的数据进行校验, 若校验结果有误, 则向所述以太网报文的发送端返回携带 该组对应的压缩标识的反馈报文; 若判断组中的数据包括压缩标识、 指示部 分不同的小节号和小节的数据, 则根据该压缩标识从第二解压缩表中取出相 应的数据, 将取出的数据中与该小节号对应的数据替换为该小节的数据; 若 判断组中的数据包括压缩标识、 指示全部不同的小节号和小节的数据, 则将 该压缩标识、 指示全部不同的小节号和小节的数据的对应关系存入所述第二 解压缩表中。  The second decompression unit is configured to: if the data in the judgment group includes only the compression identifier, extract the corresponding data from the second decompression table according to the compression identifier, and restore the data of the group; The data includes only the compression identifier and the verification information, and the corresponding data is retrieved from the second decompression table according to the compression identifier, and the data of the group is restored; and then the restored data is verified according to the verification information. If the verification result is incorrect, the feedback message carrying the compressed identifier corresponding to the group is returned to the sending end of the Ethernet packet; if the data in the determining group includes the compressed identifier, the different section number and the bar indicating the part Data, according to the compression identifier, the corresponding data is taken out from the second decompression table, and the data corresponding to the section number in the extracted data is replaced with the data of the section; if the data in the judgment group includes the compression identifier, the indication is all The data of different measure numbers and measures are stored in the compression mark, the correspondence indicating the data of all the different measure numbers and the measure. Said second decompression table.
PCT/CN2013/073712 2012-04-05 2013-04-03 Ethernet message compression and decompression methods and network element device WO2013149587A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210098571.4A CN103369593B (en) 2012-04-05 2012-04-05 A kind of method compressing reconciliation compressed ethernet message and network element device
CN201210098571.4 2012-04-05

Publications (1)

Publication Number Publication Date
WO2013149587A1 true WO2013149587A1 (en) 2013-10-10

Family

ID=49300005

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073712 WO2013149587A1 (en) 2012-04-05 2013-04-03 Ethernet message compression and decompression methods and network element device

Country Status (2)

Country Link
CN (1) CN103369593B (en)
WO (1) WO2013149587A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10495838B2 (en) 2014-03-25 2019-12-03 CommScope Connectivity Belgium BVBA Adapter tube for a cable fixation and sealing system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888452B (en) * 2014-03-10 2017-04-05 百度在线网络技术(北京)有限公司 For the order-preserving method and device of message compression
CN110958646B (en) * 2018-09-27 2023-03-31 华为技术有限公司 Communication method and device
CN111385268B (en) * 2018-12-29 2023-02-24 大唐移动通信设备有限公司 Data packet header compression confirmation method and communication equipment
KR20210141734A (en) * 2019-03-29 2021-11-23 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Compression processing method, decompression processing method and related equipment
CN111800371B (en) * 2019-07-05 2022-10-28 维沃移动通信有限公司 Data processing method, sending end and receiving end
CN110417814A (en) * 2019-08-27 2019-11-05 京信通信系统(中国)有限公司 Air interface transmission processing method, device and the communication equipment of message
CN111107051A (en) * 2019-11-01 2020-05-05 京信通信系统(中国)有限公司 Message transmission method and device, computer equipment and storage medium
CN111711968B (en) * 2020-06-10 2022-02-01 京信网络系统股份有限公司 Message processing method, device, communication equipment and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
CN1713614A (en) * 2004-06-21 2005-12-28 信息产业部电信研究院 Group message header compression in IP telecommunication network system
CN101163095A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression method for terminal-to-terminal link transmission
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1225876C (en) * 2002-07-24 2005-11-02 华为技术有限公司 Message transmitting method based on multi-protocol tag exchange network
CN101662551B (en) * 2008-08-29 2012-02-22 深圳市东进通讯技术股份有限公司 Enterprise converged communication system
CN101415276A (en) * 2008-11-24 2009-04-22 中兴通讯股份有限公司 Method and equipment for sending and receiving data
US9083759B2 (en) * 2009-02-20 2015-07-14 Citrix Systems, Inc. Systems and methods for intermediaries to compress data communicated via a remote display protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602616A (en) * 2002-08-09 2005-03-30 松下电器产业株式会社 Header compression/decompression device and header compression/decompression method
CN1713614A (en) * 2004-06-21 2005-12-28 信息产业部电信研究院 Group message header compression in IP telecommunication network system
CN101163095A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression method for terminal-to-terminal link transmission
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10495838B2 (en) 2014-03-25 2019-12-03 CommScope Connectivity Belgium BVBA Adapter tube for a cable fixation and sealing system
US11042003B2 (en) 2014-03-25 2021-06-22 CommScope Connectivity Belgium BVBA Adapter tube for a cable fixation and sealing system
US11422328B2 (en) 2014-03-25 2022-08-23 CommScope Connectivity Belgium BVBA Adapter tube for a cable fixation and sealing system

Also Published As

Publication number Publication date
CN103369593B (en) 2016-08-03
CN103369593A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
WO2013149587A1 (en) Ethernet message compression and decompression methods and network element device
EP2854359B1 (en) Compression and decompression methods of ethernet header and corresponding devices
RU2310283C2 (en) System and method for bi-directional packet data transmission
JP3751823B2 (en) Header compression in real-time services
JP5084842B2 (en) Improved header compression in wireless communication networks
RU2303858C2 (en) Method for transferring packet data in communications system
US7600039B2 (en) Label-based multiplexing
US7675851B2 (en) System and method for synchronizing a back-up device in a communications environment
JP5098820B2 (en) Frame relay apparatus and frame relay method
JP2009105607A (en) Multiplexed communication system, transmission processor, reception processor, multiplexed communication method, transmission processing method, and reception processing method
US11477306B2 (en) Wireless communication methods and devices
CN109120540B (en) Method for transmitting message, proxy server and computer readable storage medium
US20190014044A1 (en) Method and corresponding device for improved bandwidth utilization
JP4856251B2 (en) Header suppression in wireless communication networks
JP3872077B2 (en) Data transmission method using multi-frame
JP2022517665A (en) Ethernet frame transmission method and communication equipment
US10523790B2 (en) System and method of header compression for online network codes
CN102255790A (en) Method and system for informing congestion control information
RU2316906C2 (en) Method for transmitting packet data in communications system
CN110830295B (en) Equipment management method and system
WO2000072550A1 (en) Communication system and method in an ip network
KR102015111B1 (en) Apparatus and method of protection switching of packet in transport networks
CN116032440A (en) Data processing method, device, system and medium
KR20110040514A (en) Method for improving header compression effeciency and packet transmitting apparatus for the same
CN116889087A (en) Apparatus, system and method for URLLC in 5G communication networks

Legal Events

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

Ref document number: 13773139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13773139

Country of ref document: EP

Kind code of ref document: A1