WO2014117688A1 - 一种数据传输方法和相关装置 - Google Patents

一种数据传输方法和相关装置 Download PDF

Info

Publication number
WO2014117688A1
WO2014117688A1 PCT/CN2014/071415 CN2014071415W WO2014117688A1 WO 2014117688 A1 WO2014117688 A1 WO 2014117688A1 CN 2014071415 W CN2014071415 W CN 2014071415W WO 2014117688 A1 WO2014117688 A1 WO 2014117688A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
protocol
header
length
protocol header
Prior art date
Application number
PCT/CN2014/071415
Other languages
English (en)
French (fr)
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 WO2014117688A1 publication Critical patent/WO2014117688A1/zh
Priority to US14/812,878 priority Critical patent/US9900259B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/38Flow control; Congestion control by adapting coding or compression rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and related apparatus. Background technique
  • Backhaul Backhaul
  • Backhaul's capacity cannot keep up with the growth rate of mobile traffic.
  • Backhaul's capability has become a constraint on mobile broadband.
  • the key bottleneck for development With the gradual increase in operating cost pressure and the bandwidth pressure brought about by the development of data services, Backhaul's data transmission has become the hot spot for operators.
  • the Packet Data Convergence Protocol (PDCP) layer of the radio interface protocol structure provides "head compression" for the Internet Protocol (IP) data stream of its upper layer transmission, for example, header compression.
  • IP Internet Protocol
  • the IP data stream is mainly for Transmission Control Protocol/Internet Protocol (RT/IP) or Real-time Transport Protocol (RTP)/User Datagram Protocol (UDP, User).
  • RTP Real-time Transport Protocol
  • UDP User Datagram Protocol
  • IP Internet Protocol
  • IP Internet Protocol
  • the header compression algorithm mentioned in TS 25.323 standard has IP header compression (IP Header Compression) algorithm and Robust Header Compression (ROHC) algorithm.
  • IP Header Compression IP Header Compression
  • ROHC Robust Header Compression
  • the PDCP layer can only provide header compression for the IP data stream, that is, only the protocol header of the user data is compressed, and the load (Payload) is compared. The hour will get better results.
  • the compression effect is limited.
  • the above two data compression methods are directed to the data of a single user, and the compression effect depends on the type of service (such as the size of the Payload, how the application layer is configured, etc.), and the effect on data compression is limited as a whole. Compressing the data transmitted on Backhaul to improve Backhaul's throughput has become a problem in the industry.
  • Embodiments of the present invention provide a data transmission method and related apparatus, which are used to implement compression of data transmitted on Backhaul to improve Backhaul throughput.
  • an embodiment of the present invention provides a data transmission method, including:
  • the IP compressed data packet is sent to a core network or a base station.
  • the transport network protocol header includes: a transport network IP protocol header, a transport network transport layer protocol header, and the received network
  • the protocol IP packet is parsed to obtain the transport network protocol header, including:
  • the transport network protocol header is obtained according to the transport network IP packet data and the length of the transport network protocol header.
  • the parsing the received Internet Protocol IP data packet to obtain a transport network protocol header includes:
  • the length of the fixed header and the length of the optional field determine the length of the transport tunneling protocol header, the length of the transport tunneling protocol header being the length of the fixed header of the transport tunneling protocol plus the optional field Length, if there is an optional field and there is an extended header, determining a length of the transport tunneling protocol header according to a length of the fixed header of the transport tunneling protocol, a length of the optional field, and a length of the extended header,
  • the length of the transport tunneling protocol header is the length of the fixed header of the transport tunneling protocol plus the length of the optional field plus the length of the extended header;
  • the transport tunnel protocol header is determined based on the transport network IP packet data and the length of the transport tunneling protocol header.
  • the user data protocol header includes a length of a user data IP protocol header, a user data transport layer protocol header, and the received The Internet Protocol IP packet is parsed to obtain a user data protocol header, including:
  • the user data transport layer protocol header is obtained according to the protocol type of the user data transport layer protocol, and the length of the user data transport layer protocol header is obtained according to the user data transport layer protocol header;
  • the user data protocol header is obtained based on the transport network IP packet data and the length of the user data protocol header.
  • the transmitting the tunnel protocol header, the user data are compressed to obtain a compressed transmission network protocol load, including:
  • Compressing the user application layer data to obtain compressed user application layer data Compressing the user application layer data to obtain compressed user application layer data; encoding the first result of the header compression and the compressed user application layer data to obtain the compressed transmission network Protocol load.
  • the using the transport network protocol header to encapsulate the compressed transport network protocol load, and obtaining an IP Compress the packet and then include:
  • the embodiment of the present invention further provides a data transmission method, including: parsing a received internet protocol IP data packet, obtaining a transport network protocol header, a transport tunnel protocol header, a user data protocol header, and User application layer data; Compressing the user application layer data to obtain a compressed user data protocol load; using the user data protocol header, the transport tunneling protocol header, and the transport network protocol header to the compressed user The data protocol load is encapsulated to obtain an IP compressed data packet;
  • the IP compressed data packet is sent to a core network or a base station.
  • the embodiment of the present invention further provides a data transmission method, including: acquiring a media access control protocol data unit MAC PDU;
  • the MAC PDU is sequentially decoded according to the medium access control protocol MAC, the radio link control protocol RLC, and the packet data convergence protocol PDCP, to obtain a packet data convergence protocol protocol data unit PDCP PDU;
  • the encapsulated data is sent to the core network or to the base station.
  • the acquiring the medium access control protocol data unit MAC PDU includes:
  • the receiving, the lub-encapsulated data is decoded according to a lub interface protocol, to obtain the MAC PDU, including:
  • the MAC PDU is sequentially decoded according to a medium access control protocol (MAC), a radio link control protocol (RLC), and a packet data convergence protocol (PDCP).
  • MAC medium access control protocol
  • RLC radio link control protocol
  • PDCP packet data convergence protocol
  • RLC layer decoding is performed on the RLC PDU, and then the decoded RLC PDU is PDCP decoded and reassembled to obtain a PDCP PDU.
  • the fourth aspect, the embodiment of the present invention further provides a data transmission method, including: acquiring a media access control protocol data unit MAC PDU;
  • the compressed data is encapsulated according to the RLC and the MAC to obtain encapsulated data; and the encapsulated data is sent to the core network or the base station.
  • the embodiment of the present invention further provides a data transmission method, including: receiving an internet protocol IP compression data packet;
  • the IP data packet is sent to a core network or a base station.
  • the embodiment of the present invention further provides a data transmission device, including: an IP data packet parsing unit, a compression unit, a encapsulating unit, and a sending unit, where
  • the IP data packet parsing unit is configured to parse the received Internet Protocol IP data packet, and obtain a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data;
  • the compression unit is configured to: the transport tunnel protocol header, the user data protocol header And compressing the user application layer data to obtain a compressed transport network protocol load; the encapsulating unit, configured to encapsulate the compressed transport network protocol load by using the transport network protocol header to obtain an IP Compressed data packet;
  • the sending unit is configured to send the IP compressed data packet to a decoding end device in a core network or a base station.
  • the embodiment of the present invention further provides a data transmission device, including: an IP data packet parsing unit, a compression unit, a encapsulating unit, and a sending unit, where
  • An IP packet parsing unit configured to parse the received Internet Protocol IP data packet, and obtain a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data;
  • a compression unit configured to compress the user application layer data to obtain a compressed user data protocol load
  • an encapsulating unit configured to encapsulate the compressed user data protocol load by using the user data protocol header, the transport tunneling protocol header, and the transport network protocol header, to obtain an IP compressed data packet
  • a sending unit configured to send the IP compressed data packet to a decoding end device in a core network or a base station.
  • the embodiments of the present invention have the following advantages:
  • the received IP data packet is parsed, and the transport network protocol header, the transport tunneling protocol header, the user data protocol header, and the user application layer data are obtained, and then the transport tunneling protocol is The header, the user data protocol header and the user application layer data are compressed, and the compressed transport network protocol load is encapsulated by the transport network protocol header, so that the compressed amount of data transmitted on the Backhaul can be increased to improve Backhaul throughput. the amount.
  • the received IP data packet is parsed, and the transport network protocol header, the transport tunnel protocol header, the user data protocol header, and the user application layer data are obtained, and then applied to the user.
  • the layer data is compressed, and the compressed user data protocol load is sealed by the user data protocol header, the transport tunneling protocol header, and the transport network protocol header, so that the compression amount of the data transmitted on the Backhaul can be increased to improve Backhaul. Throughput.
  • the MAC PDU is first obtained, and then the MAC PDU is sequentially decoded according to MAC, RLC, and PDCP to obtain a PDCP PDU, and the PDCP PDU is decoded by using a user data protocol header to obtain a decoding.
  • Data, and then compressing the decoded data to obtain compressed data and then sequentially compressing the compressed data according to the user data protocol header, PDCP, RLC, and MAC to obtain encapsulated data, and the compressed data can be compressed by the optimized method. Therefore, the amount of data transmitted on Backhaul can be increased to increase the throughput of Backhaul.
  • the MAC PDU is first obtained, and then the MAC PDU is sequentially decoded according to the MAC and the RLC to obtain decoded data, and then the decoded data is compressed to obtain compressed data, and then the compressed data is sequentially processed.
  • Encapsulation according to RLC and MAC, and obtaining encapsulated data, the compression of the decoded data can be realized by this optimization method, so that the compression amount of data transmitted on Backhaul can be improved to improve the throughput of Backhaul.
  • FIG. 1 is a schematic block diagram of a data transmission method according to an embodiment of the present invention
  • FIG. 2 is a schematic block diagram of another data transmission method according to an embodiment of the present invention
  • FIG. 4 is a schematic block diagram of another data transmission method according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a first data transmission device and a second embodiment according to an embodiment of the present invention
  • a schematic diagram of interaction between data transmission devices
  • FIG. 6 is another schematic diagram of interaction between a first data transmission device and a second data transmission device according to an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of another data transmission method according to an embodiment of the present invention
  • FIG. 8 is a schematic block diagram of another data transmission method according to an embodiment of the present invention
  • FIG. 10 is a schematic block diagram of another data transmission method according to an embodiment of the present invention
  • FIG. 11 is another schematic diagram of interaction between a first data transmission device and a second data transmission device according to an embodiment of the present invention
  • FIG. 12 is another schematic diagram of interaction between a first data transmission device and a second data transmission device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • FIG. 16 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • FIG. 17 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • 18 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • FIG. 19 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • FIG. 21 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention
  • FIG. 21 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention
  • FIG. 22 is a schematic diagram of an application scenario of a data transmission system according to an embodiment of the present invention. Another application scenario of the data transmission system provided by the embodiment of the present invention; Another application scenario of a data transmission system according to an embodiment of the present invention, a schematic diagram; FIG. 25 a schematic view of another application scenario data transmission system according to an embodiment of the present invention.
  • Embodiments of the present invention provide a data transmission method and related apparatus, which are used to implement compression of data transmitted on Backhaul to improve Backhaul throughput.
  • the data transmission device provided by the embodiment of the present invention is deployed on both ends of the backhaul link.
  • one end of the backhaul link is in one of the data transmission directions.
  • Data transmission equipment also known as coding end equipment
  • the data transmission device also referred to as the decoding device
  • the decoding device is used to implement the restoration of the transmitted data
  • the two data transmission devices are respectively deployed on the entire backhaul link. Both ends are used to implement compression of data transmitted on the backhaul link to improve Backhaul's throughput.
  • both the deduplication and the restoration functions are implemented on any data transmission device deployed at both ends of the backhaul link to achieve the same optimization effect on data transmission in the other direction.
  • the data transmission device provided by the embodiment of the present invention may be a single optimization device, or may be a module integrated on the network element, and then separately described in a complete data transmission process for implementing data deduplication.
  • the data transmission device and the data transmission device for implementing data restoration specifically implement the present invention, and the subsequent data deduplication and data reduction are respectively described in the form of separate embodiments.
  • a data transmission method provided by the embodiment of the present invention, as shown in FIG. 1, includes:
  • the data transmission device parses the received Internet Protocol (IP) data packet, and obtains a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data.
  • IP Internet Protocol
  • a data transmission device (also referred to as an encoding device) for implementing data deduplication is deployed at one end of Backhaul, and firstly parses standard IP data packets transmitted on Backhaul, and sequentially obtains Transport network protocol header, transport tunneling protocol header, user data protocol header, and user application layer data.
  • the transport network protocol header refers to a header data that uses a protocol type as a transport network protocol, and may be referred to as a transport network protocol header and a transport tunnel in the embodiment of the present invention.
  • the protocol header refers to the data header using the protocol type as the transport tunneling protocol
  • the user data protocol header refers to the data header using the protocol type as the user data protocol, which will transmit the network protocol, the transport tunneling protocol, and the user data protocol.
  • the transport network protocol header may include: a transport network IP protocol header, a transport network transport layer protocol header, where the transport network protocol may include a transport network IP protocol and a transport network transport layer protocol, and a transport network IP protocol header Refers to the data header of the IP protocol using the protocol type as the transport network layer.
  • the transport network transport layer protocol header refers to the protocol class.
  • the type is the data header of the transport layer protocol of the transport network layer.
  • the transport tunneling protocol header may include: a general packet radio service technology tunneling protocol user plane (GTP-U, GPRS Tunnelling Protocol-User) protocol header, and the transport tunneling protocol specifically refers to a GTP-U protocol, GTP-
  • GTP-U general packet radio service technology tunneling protocol user plane
  • U protocol header refers to the data header using the protocol type GTP-U protocol.
  • the user data protocol header may include: a user data IP protocol header carried by the transport tunneling protocol, a user data transport layer protocol header, and the user data protocol may include a user data IP protocol and a user data transport layer protocol, and the user
  • the data IP protocol header refers to the header of the data of the IP protocol using the user data of the protocol type to the wireless network layer
  • the user data transport layer protocol header refers to the transport layer of the user data using the protocol type of the wireless network layer.
  • the user application layer data may include: a load of a user data transport layer protocol
  • the data transmission device parses the standard IP data packet according to the protocol stack structure, and sequentially cuts the transport network protocol header, the transport tunnel protocol header, and the user data protocol header in the IP data packet into one.
  • the data transmission device may cut the data remaining in the IP data packet into a part as the user application layer data.
  • step 101 the data transmission device parses the received Internet Protocol IP data packet to obtain a transport network protocol header, a transport tunnel protocol header, a user data protocol header, and user application layer data. Its meaning can also be interpreted equally as the following four steps:
  • the data transmission device parses the received Internet Protocol IP data packet to obtain a transport network protocol header
  • the data transmission device parses the received Internet Protocol IP data packet to obtain a transport tunnel protocol header.
  • the data transmission device parses the received Internet Protocol IP data packet to obtain a user data protocol header.
  • the data transmission device parses the received Internet Protocol IP data packet to obtain user application layer data.
  • the data transmission device parses the received IP data packet to obtain a transport network protocol header, which may include the following steps:
  • IP data packet is reassembled by IP fragmentation to obtain complete transmission network IP packet data
  • the data transmission device acquires a length of a transport network IP protocol header and a transport network IP protocol header according to a header of the transport network IP packet data;
  • the data transmission device determines a protocol type of the transport network transport layer protocol according to a protocol type field of a header of the transport network IP packet data, and then obtains a transport network transport layer protocol header and a transport network according to a protocol type of the transport network transport layer protocol.
  • the length of the transport layer protocol header Further, the transmission network transport layer protocol header and the corresponding field are obtained according to the protocol type of the transport network transport layer protocol, and the length of the transport network transport layer protocol header is obtained according to the transport network transport layer protocol header and the corresponding field.
  • the data transmission device obtains the length of the transport network protocol header according to the transport network IP protocol header and the transport network transport layer protocol header, where the length of the transport network protocol header is the length of the transport network IP protocol header plus the transmission. The length of the network transport layer protocol header.
  • A15 Acquire a transport network protocol header according to the length of the transport network IP packet data and the transport network protocol header, where the transport network protocol header is from the beginning of the transport network IP packet data to the length corresponding to the length of the transport network protocol header. The data.
  • the data transmission device determines whether the received IP packet has an IP fragment. When the IP packet has an IP fragment, the data transmission device performs IP fragmentation on the IP packet to obtain a complete transmission network.
  • IP packet data where the transport network IP packet data refers to a result obtained by the data transmission device performing fragmentation and recombination of the standard IP data packet, and the implementation manner of the fragmentation and reassembly of the IP data packet can be specifically referred to the prior art. I will not repeat them here.
  • the data transmission device parses the header of the transport network IP packet data according to the characteristics of the protocol stack structure, and can obtain the length of the transport network IP protocol header and the transport network IP protocol header, and then transmit the data through step A13.
  • the device obtains the length of the transport network transport layer protocol header.
  • the data transmission device transmits the network.
  • the length of the IP protocol header plus the length of the transport network transport layer protocol header is used as the length of the transport network protocol header.
  • the transport network is obtained according to the length of the transport network IP packet data and the transport network protocol header by step A15.
  • the protocol header is transmitted from the beginning of the transmission network IP packet data to the length corresponding to the length of the transport network protocol header. Network protocol header.
  • the data transmission device parses the received Internet Protocol IP data packet to obtain a transmission tunneling protocol header.
  • the data transmission device may include the following steps:
  • the data transmission device calculates a length of a fixed header of the transport tunneling protocol according to a protocol type of the transport tunneling protocol.
  • the data transmission device determines, according to a field corresponding to the protocol type of the transport tunneling protocol, whether an optional field exists in the transport tunneling protocol header.
  • the data transmission device obtains the length of the transport tunneling protocol header according to the length of the fixed header of the transport tunneling protocol, and the length of the transport tunneling protocol header is the length of the transport tunneling protocol header;
  • the data transmission device determines, according to a field corresponding to the protocol type of the transport tunneling protocol, whether an extension header exists in the transport tunneling protocol header;
  • the data transmission device obtains the length of the transport tunneling protocol header according to the length of the fixed header of the transport tunneling protocol and the length of the optional field, where the tunneling protocol header is transmitted.
  • the length is the length of the fixed header of the transport tunneling protocol plus the length of the optional field;
  • the data transmission device obtains the length of the transport tunneling protocol header according to the length of the fixed header of the transport tunneling protocol, the length of the optional field, and the length of the extended header, where The length of the tunnel protocol header is the length of the fixed header of the transport tunneling protocol plus the length of the optional field plus the length of the extended header;
  • the data transmission device obtains a transport tunneling protocol header according to the length of the transport network IP packet data and the transport tunneling protocol header, where the transport tunneling protocol header is started after the transport network protocol header in the transport network IP packet data
  • the length is the data corresponding to the length of the transport tunneling protocol header.
  • step A 21 the data transmission device first calculates a fixed header of the transport tunneling protocol, and then step A22 determines whether there is an optional field.
  • step A24 determines whether there is an extended header in the transport tunneling protocol header if there is an optional field.
  • the fixed header is added with an optional field plus an extended header to obtain the length of the transport tunneling protocol header. If there is no extended header, the fixed header is added with an optional field to obtain a transport tunneling protocol header. Length, if no optional word exists Segment, the length of the fixed header is the length of the transport tunnel protocol header.
  • the data transmission device obtains the length of the transmission tunneling protocol header and other implementation manners, which are only described herein and are not limited. After the length of the transport tunnel protocol header is obtained, data corresponding to the length of the transport tunneling protocol header is transmitted from the transport network protocol header in the transport network IP packet data as the transport tunnel protocol header. It should be noted that, in the embodiment of the present invention, the transport tunneling protocol still carries data, and the data carried by the transport tunneling protocol is parsed, so that the user data protocol header and the user application layer data can be obtained.
  • the protocol type of the transport network transport layer protocol may specifically be a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP), and a protocol type of a transport tunneling protocol.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • protocol type of a transport tunneling protocol may be a general packet radio service technology (GPRS, General Packet Radio Service) tunneling protocol user plane (GTP-U), and the present invention will be described in conjunction with a specific protocol type in the following embodiments.
  • GPRS General Packet Radio Service tunneling protocol user plane
  • the transmission tunneling protocol header is obtained by the data transmission device of steps A1 and A2
  • data is still carried in the transmission tunneling protocol, which is called data carried by the transmission tunneling protocol, and the data transmission device is used.
  • the user data protocol header and the user application layer data can be obtained, that is, for step A3, as one of the achievable manners, the data transmission device receives the received internet protocol IP.
  • the data packet is parsed to obtain a user data protocol header, which may specifically include the following steps:
  • A31 When the data transmission device receives the IP fragment of the data carried by the transmission tunneling protocol, performing IP fragmentation on the data carried by the transmission tunneling protocol to obtain complete user data IP packet data.
  • the data transmission device acquires the length of the user data IP protocol header according to the header of the user data IP packet data.
  • the data transmission device acquires a protocol type of the user data transmission layer protocol according to a protocol type field of the user data IP packet data header, and obtains a user data transmission layer protocol header and a corresponding field according to a protocol type of the user data transmission layer protocol, according to The user data transport layer protocol header and corresponding fields obtain the length of the user data transport layer protocol header.
  • the data transmission device transmits the length of the IP protocol header and the user data according to the user data.
  • the length of the layer protocol header obtains the length of the user data protocol header, wherein the length of the user data protocol header is the length of the user data IP protocol header plus the length of the user data transport layer protocol header.
  • the data transmission device acquires a user data protocol header according to a length of the transport network IP packet data and a user data protocol header, where the user data protocol header is from a transport tunnel protocol header in the transport network IP packet data.
  • the length is the data corresponding to the length of the user data protocol header.
  • step A4 is used as one of them.
  • the data transmission device parses the received Internet Protocol IP data packet to obtain user application layer data, which may include the following steps:
  • the data transmission device acquires user application layer data according to the transport network IP packet data and the user data protocol header, wherein the user application layer data is from the user data protocol header in the transport network IP packet data to the transport network IP packet data.
  • the corresponding data at the end is from the user application layer data according to the transport network IP packet data and the user data protocol header, wherein the user application layer data is from the user data protocol header in the transport network IP packet data to the transport network IP packet data. The corresponding data at the end.
  • the data transmission device may perform step 102, and then 102 will be described in detail.
  • the data transmission device compresses the transport tunneling protocol header, the user data protocol header, and the user application layer data to obtain a compressed transport network protocol load.
  • the data transmission device obtains the transport network protocol header, the transport tunnel protocol header, the user data protocol header, and the user application layer data by parsing the protocol stack structure of the IP data packet, and then the data transmission device.
  • the transport tunneling protocol header, the user data protocol header, and the user application layer data are compressed to obtain a compressed transport network protocol load.
  • the data transmission device compresses the transmission tunneling protocol header, the user data protocol header, and the user application layer data to obtain the compressed transmission network protocol load, and includes the following steps:
  • the data transmission device performs header compression on the transport tunneling protocol header and the user data protocol header to obtain a first result of header compression
  • the data transmission device compresses the user application layer data to obtain compressed user application layer data.
  • the data transmission device encodes the first result of the header compression and the compressed user application layer data to obtain a compressed transmission network protocol load.
  • step B1 the data transmission device first performs header compression on the transport tunneling protocol header and the user data protocol header, and then compresses the user application layer data in step B2, and the data transmission device pair B1 in step B3.
  • the results of compression and B2 are respectively coded together to obtain a compressed transmission network protocol load.
  • the embodiment of the present invention may further include the following steps:
  • the data transmission device determines whether the length of the IP compressed data packet is greater than the maximum of the lower layer protocol.
  • the length of the transmission unit if the length of the IP compressed data packet is greater than the length of the maximum transmission unit of the lower layer protocol, the IP compressed data packet is IP-sliced to obtain the fragmented IP compressed data packet.
  • the lower layer protocol proposed in the embodiment of the present invention refers to a protocol directly used for transmitting IP compressed data packets. If the IP compressed data packet is fragmented, the subsequent step 104 in the embodiment of the present invention may be: sending the fragmented IP compressed data packet to the core network or the base station.
  • the data transmission device encapsulates the compressed transmission network protocol load by using a transport network protocol header to obtain an IP compressed data packet.
  • the data transmission device uses the transport network protocol header to compress the transport network.
  • the protocol payload is encapsulated to obtain an IP compressed data packet.
  • the data transmission device sends an IP compressed data packet to a core network or a base station.
  • the data transmission device may send an IP compressed data packet to the decoding end device in the core network or the base station, and the data transmission device functions as the encoding end device, after obtaining the IP compressed data packet.
  • the encoding end device sends the compressed IP compressed data packet, so that the amount of data in the transmission link can be reduced.
  • the received IP data packet is parsed, and the transport network protocol header, the transport tunneling protocol header, the user data protocol header, and the user application layer data are obtained, and then the transport tunneling protocol is used.
  • the header, the user data protocol header and the user application layer data are compressed, and the compressed transport network protocol load is sealed by the transport network protocol header.
  • Shing it can increase the amount of data transmitted on Backhaul to improve Backhaul's throughput.
  • the foregoing embodiment describes a data transmission method provided by the present invention.
  • the method may include the following steps:
  • the data transmission device parses the received IP data packet to obtain a transport network protocol header, a transport tunnel protocol header, a user data protocol header, and user application layer data.
  • the step 201 described herein is the same as the step 101 described in the foregoing embodiment, and can be specifically analyzed as the foregoing steps A1, A2, A3, and A4, and details are not described herein again. For the detailed description, refer to the description of the foregoing embodiment.
  • the data transmission device compresses the user application layer data to obtain a compressed user data protocol load.
  • the data transmission device After the data transmission device acquires the application layer data in step 201, the data transmission device compresses the user application layer data.
  • steps 102 and 202 are both compressed after the IP packet is parsed, and the data transmission is optimized.
  • the data transmission device compresses the user application layer data, and the compressed user data protocol load, and in step 102, the transmission tunnel protocol header, the user data protocol header, and the user application are used.
  • the layer data is compressed to obtain a compressed transmission network protocol load.
  • the compression of the user application layer data can be performed by the compression of the step 202, so that the data transmitted on the Backhaul can be compressed to improve the throughput of the Backhaul.
  • the data transmission device compresses the user application layer data, and obtains the compressed user data protocol load.
  • the following steps are mainly included:
  • the data transmission device determines whether the user data transmission layer protocol is a transmission control protocol
  • TCP Transmission Control Protocol
  • Payload a data load after the TCP session is reorganized
  • the data transmission device slices the user application layer data to obtain a plurality of user application layer data segments
  • the data transmission device separately generates data fragments for each user application layer obtained after slicing. Into a digital summary;
  • the data transmission device generates a codebook, where the codebook includes each digital digest and each user application layer data segment, and an index structure of each digital digest and each user application layer data segment;
  • the data transmission device sends the codebook to the decoding end device that uses the codebook for decoding.
  • the step is an optional step;
  • the data transmission device determines, according to the codebook, whether there are duplicate user application layer data segments in the plurality of user application layer data segments.
  • the data transmission device replaces the repeated user application layer data segment with a digital digest corresponding to the repeated user application layer data segment;
  • the data transmission device encodes the digital abstract corresponding to the repeated user application layer data segment and the non-repeated user application layer data segment to obtain the compressed user application layer data.
  • the method further includes: if the user data transport layer protocol is not TCP, acquiring user application layer data, where the user application layer data refers to starting from the user data protocol header in the transport network IP packet data to the transport network IP The data corresponding to the end of the packet data.
  • the data transmission device slices the user application layer data to obtain a plurality of user application layer data segments, and then step C3 generates a digital digest for each user application layer data segment, wherein the digital digest can also Called the fingerprint, the digital digest includes all the data information of the user application layer data segment. If the digital digests corresponding to the two user application layer data segments are identical, the two user application layer data segments are also identical, for the steps.
  • the codebook generated by the C4 data transmission device includes an index structure of each digital digest, each user application layer data segment, each digital digest and each user application layer data segment, wherein the index structure is a digital digest and a user application. The corresponding relationship of the layer data fragments.
  • Step C5 is that the data transmission device synchronizes the generated codebook to another data transmission device (also referred to as a decoding end device) at the other end of the transmission link, so that the codebooks of the two data transmission devices at both ends of the transmission link are maintained. The same is true, after the data is deduplicated on the data transmission device side, the data is restored on the other data transmission device.
  • Step C6 is that the data transmission device determines, according to the index structure, whether there is a duplicate user application layer data segment. If there is a duplicate user application layer data segment, step C7 replaces the repeated user application with a digital digest corresponding to the repeated user application layer data segment.
  • Step C8 will repeat the number corresponding to the user application layer data segment
  • the abstract, unrepeated user application layer data segments are encoded to obtain an IP compressed data packet, and the corresponding digital digests of the repeated user application layer data segments are identical, and the unrepeated user application layer data segments refer to respective corresponding ones.
  • User application layer data fragments with different digital summaries are encoded to obtain an IP compressed data packet, and the corresponding digital digests of the repeated user application layer data segments are identical, and the unrepeated user application layer data segments refer to respective corresponding ones.
  • the data transmission device encapsulates the compressed user data protocol load by using a user data protocol header, a transport tunneling protocol header, and a transport network protocol header to obtain an IP compressed data packet.
  • the data transmission device After the user data protocol header, the transport tunneling protocol header, and the transport network protocol header are obtained in step 201, after the data transmission device obtains the compressed user data protocol load, the data transmission device Encapsulating the compressed user data protocol payload using the user data protocol header, the transport tunneling protocol header, and the transport network protocol header
  • the data transmission device sends an IP compressed data packet to a core network or a base station.
  • the data transmission device sends an IP compressed data packet to the decoding end device in the core network or the base station, and the data transmission device functions as the encoding end device, after obtaining the IP compressed data packet.
  • the encoding end device sends the compressed IP compressed data packet, so that the amount of data in the transmission link can be reduced.
  • the received IP data packet is parsed, and the transport network protocol header, the transport tunnel protocol header, the user data protocol header, and the user application layer data are obtained, and then the user application layer is applied.
  • the data is compressed, and the compressed user data protocol load is sealed by the user data protocol header, the transport tunneling protocol header, and the transport network protocol header, so that the amount of data transmitted on the Backhaul can be increased to improve Backhaul's Throughput.
  • the data transmission device at one end of the backhaul link is used to implement deduplication of the transmitted data.
  • the data transmission device at the other end of the backhaul link is used to implement the pair.
  • FIG. 3 a data transmission method provided by the embodiment of the present invention, and the data restoration method shown in FIG. 3 corresponds to the data compression method shown in FIG. 1 , as shown in FIG. 3 .
  • the method may include:
  • the data transmission device receives the IP compressed data packet.
  • the data transmission device described in this embodiment is located on the same transmission link as the data transmission device described in the foregoing embodiment.
  • the data transmission device at the other end of the transmission link first needs to receive the IP compressed data packet, that is, after the data transmission device at one end of the transmission link performs data deduplication, the data transmission at the other end of the transmission link
  • the device needs to restore the data when receiving the IP compressed data packet. For details on how to restore the data, refer to the following description.
  • the data transmission device receives the IP compressed data packet, and the data transmission device performs step 302 to step 305.
  • the restoration corresponding to the deduplication method needs to be performed when performing the restoration. method.
  • the data transmission device decodes the IP compressed data packet according to a transport network protocol header, and obtains a compressed transport network protocol load.
  • the data transmission device decodes the IP compressed data packet according to the transport network protocol header, and the compressed transport network protocol load can be obtained. It should be noted that the decoding process and the foregoing implementation described herein are implemented. The compression process described in the example is reversed. The two data transmission devices deployed at the two ends of the same transmission link know each other how the data transmission device at the opposite end processes the data, that is, at one end of the same transmission link. How the data transmission device compresses the data, and correspondingly, the data transmission device of the opposite end needs to use the opposite means to decompress the data.
  • the transport network protocol header includes: a transport network IP protocol header, and a transport network transport layer protocol header.
  • the transport tunneling protocol header includes: a GTP-U protocol header;
  • the user data protocol header includes: a user data IP protocol header carried by the transport tunneling protocol, and a user data transport layer protocol header.
  • the user application layer data includes: Load Payload of the user data transport layer protocol.
  • the data transmission device decodes the IP compressed data packet according to the transport network protocol header to obtain the compressed transport network protocol payload, and may include the following steps:
  • the data transmission device parses the IP compressed data packet, and obtains the length of the transport network IP protocol header and the corresponding field;
  • the data transmission device acquires a length of a transport network transport layer protocol header according to a length of the transport network IP protocol header and a corresponding field; D3. The data transmission device obtains the length of the transport network protocol header according to the length of the transport network IP protocol header and the length of the transport network transport layer protocol header, where the length of the transport network protocol header is the transport network IP protocol header. Length plus the length of the transport network transport layer protocol header;
  • the data transmission device intercepts data corresponding to the length of the transport network protocol header from the beginning of the IP compressed data packet, and obtains the compressed transport network protocol load.
  • step D4 for the IP compressed data packet, the data corresponding to the length of the transport network protocol header is truncated from the beginning of the IP compressed data packet, and the data remaining in the IP compressed data packet is It can be called a compressed transport network protocol load.
  • the data transmission device decompresses the compressed transmission network protocol load, and sequentially obtains a transmission tunneling protocol header, a user data protocol header, and user application layer data.
  • the data transmission device decodes the IP compressed data packet according to the transport network protocol header
  • the compressed transport network protocol load is obtained, and then the compressed transport network protocol load is performed.
  • Decompression in turn, can get the transport tunneling protocol header, user data protocol header and user application layer data.
  • the data transmission device decompresses the compressed transmission network protocol load, and sequentially obtains the transmission tunneling protocol header, the user data protocol header, and the user application layer data, and may include the following steps. :
  • the data transmission device performs header decompression on the compressed transmission network protocol load according to the transmission tunneling protocol header and the user data protocol header, and obtains the decompressed transmission tunneling protocol header and the decompressed user data protocol. Header and compressed user application layer data;
  • the data transmission device decompresses the compressed user application layer data to obtain user application layer data.
  • step E1 After the header decompression of the compressed transport network protocol load is performed in step E1, the compressed user application layer data is obtained, and then step E2 is performed to decompress the compressed user application layer data. User application layer data is obtained.
  • the data transmission device decompresses the compressed user application layer data to obtain user application layer data, which may include the following steps:
  • the data transmission device receives the codebook sent by the encoding end device, where the codebook includes: each digital digest and each user application layer data segment, and an index structure of each digital digest and each user application layer data segment. ;
  • the data transmission device determines, according to the codebook, whether the compressed user application layer data is stored. Repeated user application layer data fragments;
  • the data transmission device decodes the compressed user application layer data into a digital abstract corresponding to the repeated user application layer data segment, the unrepeated user application layer data segment, and then performs step F4;
  • the data transmission device restores the digital digest corresponding to the decoded repeated user application layer data segment to the repeated user application layer data segment.
  • the data transmission device combines the repeated user application layer data segments and the unrepeated user application layer data segments to obtain user application layer data.
  • the data transmission device receives the codebook from another data transmission device (also referred to as an encoding device) that belongs to the same transmission link as the data transmission device, and data at both ends of the same transmission link.
  • the synchronization of the codebook is maintained in the transmission device, and the other data transmission device deduplicates the transmitted data according to the codebook, where the data transmission device restores the transmitted data according to the codebook.
  • the data transmission device can judge whether there is a digital digest in the compressed user application layer data according to the codebook, and if there is a digital digest in the IP compressed data packet, it can be stated that the IP compression data is There are duplicate user application layer data segments in the packet. If there is no digital digest in the IP compressed data packet, there is no duplicate user application layer data segment in the IP compressed data packet.
  • the data transmission device restores the digital digest existing in the IP compressed data packet to its corresponding user application layer data segment according to the codebook, and the data transmission device restores the IP compressed data packet into two parts: 1. According to the number The user application layer data fragment (that is, the repeated user application layer data fragment) restored by the digest, and the user application layer data fragment (that is, the unrepeated user application layer data fragment) that have not been restored.
  • the data transmission device combines the repeated user application layer data segments and the unrepeated user application layer data segments to obtain user application layer data. Since the user application layer data is sliced in the foregoing embodiment, The user application layer data segments need to be recombined to obtain user application layer data.
  • the data transmission device encapsulates the transport tunneling protocol header, the user data protocol header, and the user application layer data by using a transport network protocol header to obtain an IP data packet.
  • the compressed transport network protocol load is decompressed by step 303, and the transport tunnel protocol header, the user data protocol header, and the user application layer are obtained in sequence.
  • the data is then encapsulated in the manner of step 304 using the transport network protocol header to encapsulate the transport tunneling protocol header, the user data protocol header, and the user application layer data to obtain the IP data packet.
  • the data transmission device implements the restoration of the IP compressed data packet, and obtains the IP data packet.
  • the data transmission device sends an IP data packet to a core network or a base station.
  • the IP compressed data packet is restored through steps 302 to 304, and the IP data is obtained.
  • the packet is then sent to the core network or base station.
  • the data transmission device decodes the IP compressed data packet according to the transport network protocol header, and obtains the compressed transport network protocol load, and then performs the compressed transmission.
  • the network protocol load is decompressed, and the transport tunneling protocol header, user data protocol header and user application layer data are obtained.
  • the transport network protocol header is used to transmit the tunnel protocol header, the user data protocol header and the user application layer data. Encapsulation, IP packet is obtained, and the IP compressed data packet is restored by the above implementation manner, and the IP data packet is obtained, thereby realizing the restoration of the compressed data packet transmitted on the transmission link, thereby improving the throughput of the Backhaul. .
  • the above embodiment describes a data transmission device located at the other end of the backhaul link for implementing the restoration of the transmitted data.
  • FIG. 4 another data transmission method provided by the embodiment of the present invention is shown in FIG.
  • the data restoration method corresponds to the data compression method shown in FIG. 2, and as shown in FIG. 4, specifically, the method may include:
  • the data transmission device receives the IP compressed data packet.
  • the data transmission device decodes the IP compressed data packet according to a transport network protocol header, a transport tunnel protocol header, and a user data protocol header, to obtain a compressed user data protocol payload.
  • the data transmission device decodes the IP compressed data packet according to the transport network protocol header, the transport tunnel protocol header, and the user data protocol header, and obtains the compressed user data protocol payload for decoding.
  • the compressed user data protocol load it should be noted that the decoding process described here is the same as the compression process described in the previous embodiment.
  • two data transmission devices deployed at the two ends of the same transmission link know each other how the data transmission device at the opposite end processes the data, that is, how the data transmission device at one end of the same transmission link has data. Compression, correspondingly, the peer data transmission device needs to use the opposite means to decompress the data.
  • the transport network protocol header includes: a transport network IP protocol header, and a transport network transport layer protocol header.
  • the transport tunneling protocol header includes: a GTP-U protocol header;
  • the user data protocol header includes: a user data IP protocol header carried by the transport tunneling protocol, and a user data transport layer protocol header.
  • the user application layer data includes: Load Payload of the user data transport layer protocol.
  • the data transmission device decompresses the compressed user data protocol load to obtain user application layer data.
  • the data transmission device decompresses the compressed user data protocol load to obtain user application layer data, which may include the following steps:
  • the data transmission device receives the codebook sent by the encoding end device, where the codebook includes: each digital digest and each user application layer data segment, and an index structure of each digital digest and each user application layer data segment. ;
  • the data transmission device determines, according to the codebook, whether there is a duplicate user application layer data segment in the compressed user data protocol load;
  • the data transmission device decodes the compressed user data protocol load into a digital summary corresponding to the repeated user application layer data segment, the unrepeated user application layer data segment, and then performs step G4;
  • the data transmission device restores the digital digest corresponding to the decoded repeated user application layer data segment to the repeated user application layer data segment.
  • the data transmission device combines the repeated user application layer data segments and the unrepeated user application layer data segments to obtain user application layer data.
  • the data transmission device encapsulates the user application layer data by using a transport network protocol header, a transport tunneling protocol header, and a user data protocol header to obtain an IP data packet.
  • step 404 the data transmission device encapsulates the user application layer data by using the transport network protocol header, the transport tunnel protocol header, and the user data protocol header in sequence, which is opposite to the decoding process of step 402.
  • the data transmission device sends an IP data packet to a core network or a base station. After the data transmission device restores the received IP compressed data packet to an IP data packet, the data transmission device transmits the IP data packet to the core network or the base station. In the embodiment shown in FIG. 2, if the IP compressed data packet is sent to the decoding end device in the core network in step 204, the data transmission device continues to send the IP data packet to the core network, if the base station sends the IP data packet in step 204. The decoding end device transmits the IP compressed data packet, where the data transmission device continues to transmit the IP data packet to the base station.
  • the data transmission device if the data transmission device receives the IP compressed data packet, the data transmission device first performs the IP compressed data packet according to the transport network protocol header, the transport tunnel protocol header, and the user data protocol header. Decoding, the compressed user data protocol load is obtained. It should be noted that the decoding process described herein is opposite to the encoding process described in the foregoing embodiment, and the decapsulation process is the same as the package described in the foregoing embodiment. The process is also reversed.
  • the two data transmission devices deployed at the two ends of the same transmission link know each other how the data transmission device of the opposite end processes the data, that is, how the data transmission device at one end of the same transmission link is Data compression, correspondingly, the peer data transmission equipment needs to use the opposite means to decompress the data.
  • the data transmission device compresses the IP data packet, then transmits it on the transmission link, and then transmits it to the embodiment of the present invention as shown in FIG. Another data transmission device is restored by the other data transmission device, and the whole process passes through the complete process of "compressing data - transmitting data - restoring data”.
  • the data transmission device sequentially decodes the IP compressed data packet according to the transport network protocol header, the transport tunnel protocol header, and the user data protocol header, and obtains the compressed data.
  • User data protocol load and then decompress the compressed user data protocol load to obtain user application layer data, and then apply the user application according to the user data protocol header, the transport tunnel protocol header, and the transport network protocol header.
  • the layer data is encapsulated to obtain an IP packet.
  • the first data transmission device and the second data transmission device shown in FIG. 5 are used for data interaction.
  • the first data transmission device may specifically refer to the embodiment shown in FIG.
  • the data transmission device is described.
  • the second data transmission device may specifically refer to the data transmission device described in the embodiment shown in FIG. 3.
  • the deployment is in Backhaul.
  • the two data transmission devices at the end, so the first and second are respectively used for distinction.
  • the first data transmission device is deployed on the back end of the Backhaul
  • the second data transmission device is deployed on the other end of the Backhaul.
  • the first data transmission device is used for data compression, and the second data transmission device is used for data restoration.
  • the first data transmission device may also specifically refer to the data transmission device described in the embodiment shown in FIG. 2
  • the second data transmission device may also specifically refer to the method described in the embodiment shown in FIG. Data transmission equipment, only for illustration.
  • the first data transmission device first serves the general packet radio service support node
  • SGSN Serving GPRS Support Node
  • IP packet received by the Gateway General Packet Radio Service Support Node (GGSN) or the Serving GateWay (S-GW, Serving GateWay) for IP resolution to obtain the transport network protocol.
  • GGSN Gateway General Packet Radio Service Support Node
  • S-GW Serving GateWay
  • Header transport tunneling protocol header, user data protocol header, and user application layer data.
  • the transport network protocol header includes: a transport network IP protocol header and a transport network transport layer protocol header; the transport tunnel protocol header specifically refers to a general packet radio service technology tunnel protocol user plane GTP-U protocol header;
  • the data protocol header includes: a user data IP protocol header carried by the transport tunneling protocol, and a user data transport layer protocol header; the user application layer data specifically refers to a load Payload of the user data transport layer protocol.
  • the first data transmission device uses the transmission tunneling protocol header, the user data protocol header, and the user application layer data as optimization objects, and the first data transmission device pairs the transmission tunneling protocol header, the user data protocol header, and The user application layer data is compressed, and then encapsulated by the transport network protocol header to obtain an IP compressed data packet.
  • the protocol type of the transport network transport layer protocol is UDP
  • the protocol type of the transport tunnel protocol is GTP-U
  • the protocol type of the transport network IP protocol is IP
  • the first data transmission device parses the received internet protocol IP data packet.
  • Obtaining a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data, and the algorithm that can be included is as follows:
  • the IP data packet with the IP fragment is reassembled by IP fragmentation to obtain the complete transport network IP packet data.
  • the first data transmission device acquires a transport network IP protocol header from the transport network IP packet data, and the transport network IP protocol includes physical layer data and data link layer data, and then acquires the transport network transport layer according to the transport network IP packet data.
  • the protocol type of the protocol is UDP, and then execute the following algorithm.
  • the Extension Header Type field if not 0, loops through step 2.4 until the Next Extension Header Type field is 0. At this time, the GTP-U header length gtp_hlen is obtained.
  • the data of length len is used as a header block, which includes a transport network protocol header, a transport tunnel protocol header, a user data protocol header, that is, a pointer (ptr). +len) is the payload of the user data transport layer protocol ( Payload ).
  • the first data transmission device obtains the user application layer data, it includes two processing methods:
  • the first data transmission device can compress the transport tunneling protocol header, the user data protocol header, and the user application layer data, and obtain the compressed transmission network protocol load as shown in FIG. 5, and then transmit the data.
  • the network protocol header is encapsulated to obtain an IP compressed data packet, and the implementation algorithm includes the following steps:
  • the first data transmission device performs header compression on the transport tunneling protocol header and the user data protocol header to obtain a result of header compression
  • the user application layer data is sliced to obtain N (N is a natural number) user application layers.
  • the data segments are: Datal, Data2 DataN;
  • the codebook is synchronously sent to the second data transmission device, so that the second data transmission device uses the codebook when restoring the data;
  • Fingerprint 1 is used instead of Datal and Data2.
  • the first data transmission device compresses the user application layer data, obtains the compressed user data protocol load as shown in FIG. 6, and then uses the user data protocol header, the transport tunnel protocol header, and the transport network protocol.
  • the header encapsulates the compressed user data protocol payload to obtain an IP compressed data packet.
  • the first data transmission device compresses the user application layer data, and the algorithm includes the following steps:
  • Source IP address, destination IP address, and IP identifier of the user application layer
  • the implemented algorithm includes the following steps:
  • Header Length field of the transport network IP protocol header save the transport network IP protocol header in the "Transport Network IP Protocol Header" field of the table; if the transport network transport layer protocol protocol type is UDP, the pointer ptr Move back (Header Length * 4) bytes, perform the next step;
  • the pointer ptr has pointed to the head of the IP packet data of the user application layer, and reads the source IP address, destination IP address, and IP identifier of the user application layer, and saves the source of the user application layer to the table.
  • IP address destination IP address, IP identification" field
  • the part from the pointer ptr to the end of the data is the user application layer data, and the user application layer data is compressed to obtain the compressed user data protocol load (the implementation manner is the same as the foregoing method of compressing the user application layer data. Similar);
  • the first data transmission device encapsulates the compressed user data protocol load with a user data protocol header, a transport tunneling protocol header, and a transport network protocol header. Installed, get the IP compressed data packet, specifically as follows:
  • the IP compressed data packet After the GTP-U protocol header, the transport network transport layer protocol header, and the transport network IP protocol header field are added to the compressed user data protocol payload, the IP compressed data packet can be obtained.
  • the implementation of the second data transmission device is exactly the opposite of the foregoing first data transmission device, and details are not described herein again.
  • the above embodiment describes a data transmission method provided by the present invention.
  • another data transmission method provided by an embodiment of the present invention is introduced.
  • a data transmission device at one end of the backhaul link is used.
  • Implementing deduplication of the transmitted data, and the data transmission device at the other end of the backhaul link is used to implement restoration of the transmitted data.
  • the two data transmission devices are respectively deployed at both ends of the entire backhaul link, and are used to implement Compression of data transmitted on the backhaul link to improve Backhaul's throughput, followed by a data transmission device for data deduplication and a data transmission device for data restoration in a complete data transmission process Specifically, how to implement the present invention, data deduplication and data reduction are respectively described in a separate embodiment.
  • the data transmission method provided by the embodiment of the present invention includes:
  • the data transmission device obtains a Medium Access Control Protocol Data Unit (MAC PDU) that is decoded according to the Iub interface protocol, and is used to implement the
  • MAC PDU Medium Access Control Protocol Data Unit
  • the data deduplication data transmission device is deployed at one end of the transmission link, and the data transmission device first acquires the Uu interface MAC PDU, and the Uu interface MAC PDU is the data obtained by decoding the protocol used by the Iub interface, where the Iub interface is used for connection.
  • the specific protocol may be: IP, UDP, framing protocol (FP, Frame Protocol), and the like.
  • the data transmission device is obtained.
  • the MAC PDU decoded according to the lub interface protocol is used as a achievable manner, and specifically includes:
  • the data transmission device decodes the received lub encapsulation data according to the lub interface protocol, and obtains a MAC PDU;
  • the data transmission device receives the MAC PDU from a protocol processing module of the base station or a protocol processing module of a radio network controller (RNC).
  • RNC radio network controller
  • step H2 if the data transmission device receives the MAC PDU from the protocol processing module of the base station, the data transmission device is deployed in the base station, and can be deployed in the base station internal lub interface protocol processing module and Uu interface. Between the protocol processing modules, since the base station has decoded the data according to the lub interface protocol, the data transmission device can directly receive the MAC PDU from the base station. If the data transmission device receives the MAC PDU from the radio network controller, the data transmission device is connected to the radio network controller, and the data transmission device can receive the MAC PDU from the protocol processing module of the radio network controller.
  • the lub encapsulated data refers to data obtained after decoding according to the lub interface protocol.
  • the received lub package data is decoded according to the lub interface protocol, and the MAC PDU is obtained.
  • the method may include:
  • the data transmission device performs IP fragmentation reassembly on the IP data packet to obtain a complete transmission network IP packet data.
  • the data transmission device decodes the IP packet data according to the Internet Protocol (IP, Internet Protocol) and the User Datagram Protocol (UDP) to obtain a UDP load;
  • IP Internet Protocol
  • UDP User Datagram Protocol
  • the data transmission device decodes the UDP payload according to a framing protocol (FP, Frame Protocol) to obtain a MAC PDU.
  • FP framing protocol
  • the data transmission device in step 701 obtains the MAC PDU that is decoded according to the lub interface protocol.
  • the processing of the MAC PDU in the embodiment of the present invention refer to the following steps 702 to 704. description.
  • MAC Medium Access Control Protocol
  • RLC Radio Link Control Protocol
  • PDCP Packet Data Convergence Protocol
  • the data transmission device decodes the MAC PDU according to the MAC, the radio link control RLC, and the packet data convergence protocol PDCP to obtain a Packet Data Convergence Protocol Protocol Data Unit (PDCP PDU).
  • PDCP PDU Packet Data Convergence Protocol Protocol Data Unit
  • the data transmission device After the data transmission device obtains the MAC PDU, the data transmission device performs the decoding according to the Uu interface protocol to obtain the PDCP PDU. In the embodiment of the present invention, the data transmission device decodes the MAC PDU according to the MAC, RLC, and PDCP in sequence to obtain the PDCP PDU. Specifically, the method may include the following steps:
  • the data transmission device performs MAC layer decoding on the MAC PDU to obtain an RLC PDU; J2, the data transmission device performs RLC layer decoding on the RLC PDU, and then decodes the decoded
  • the RLC PDU is PDCP decoded and reassembled to obtain a PDCP PDU.
  • the RLC PDU refers to the data obtained by decoding the MAC PDU according to the MAC protocol.
  • the PDCP PDU refers to the data obtained by decoding and recombining the RLC PDU according to the RLC protocol.
  • step J1 the data transmission device decodes the MAC PDU according to the protocol stack structure of the MAC protocol, and obtains the RLC PDU, and the step J2 is also the result obtained by decoding according to the protocol stack structure of the respective protocol.
  • step J2 If the data carried by the RLC PDU is encrypted, the data transmission device is connected to the RLC.
  • step 703 After the RLC layer is decoded by the PDU, the data carried by the RLC PDU is decrypted, and the data transmission device decrypts the RLC decoded data, and then step 703 is performed.
  • the data transmission device may decode the PDCP PDU by using a user data protocol header to obtain Uu decoded data.
  • the user data protocol header may specifically include: a user data IP protocol header carried by the transport tunneling protocol, and a user data transport layer protocol header.
  • the Uu decoding data is obtained by decoding the protocol used to connect the Uu interface, and the protocol used to connect the Uu interface may be: Media Access Control Protocol (MAC, Medium) Access Control), Radio Link Control (RLC), Packet Data Convergence Protocol (PDCP), etc.
  • MAC Media Access Control Protocol
  • RLC Radio Link Control
  • PDCP Packet Data Convergence Protocol
  • the step 703 may specifically include the following steps: K1.
  • the data transmission device performs decompression of the upper layer protocol header on the PDCP PDU to obtain user data IP packet data.
  • the data transmission device decodes the user data IP protocol header of the user data IP packet data and the user data transport layer protocol header to obtain decoded data.
  • step K1 the data transmission device decompresses the upper layer protocol header of the PDCP PDU to obtain user data IP packet data, and the step K2 is also obtained by decoding according to the protocol stack structure of the respective protocol.
  • the specific data transmission device compresses the Uu decoded data to obtain Uu compressed data.
  • the data transmission device may compress the decoded data to obtain compressed data, and the compression of the decoded data by the data transmission device in the transmission link can improve the throughput of the link. the amount.
  • step 704 the data transmission device compresses the decoded data to obtain the compressed data, which may include the following steps:
  • the data transmission device slices the decoded data to obtain a plurality of decoded data segments; L2, the data transmission device generates a digital sum summary for each decoded data segment obtained after the slice;
  • the data transmission device generates a codebook according to the decoded data segment and the digital digest, wherein the codebook includes each digital digest and each decoded data segment, and an index structure of each digital digest and each decoded data segment;
  • the data transmission device sends the codebook to another data transmission device that belongs to the same transmission link as the data transmission device, and the other data transmission device is a decoding end device that uses the codebook for decoding;
  • the data transmission device determines, according to the codebook, whether there are duplicate decoded data segments in the plurality of decoded data segments;
  • the data transmission device replaces the repeated decoded data segment with a digital digest corresponding to the repeated decoded data segment; L7.
  • the data transmission device encodes the digital digest corresponding to the repeated decoded data and the non-repeated decoded data segment to obtain compressed data.
  • step J3 the data transmission device needs to synchronously send the generated codebook to the data transmission device of the opposite end of the transmission link, so that the codebooks stored in the two data transmission devices are identical. After the data transmission device side deduplicates the data, the data is restored on the other data transmission device side using the codebook.
  • the data transmission device encapsulates the compressed data according to the user data protocol header, the PDCP, the RLC, and the MAC, to obtain Uu encapsulated data.
  • the compressed data is further encapsulated according to the protocol stack structure of the user data protocol header, and encapsulated according to PDCP, RLC, and MAC, to obtain a Uu package. data.
  • the data transmission device sequentially performs MAC, RLC, and PDCP decoding on the MAC PDU, and can be encapsulated in the opposite manner.
  • the data transmission device sends the encapsulated data to the core network or the base station.
  • the package data may be Uu package data.
  • the data transmission device sends the encapsulated data to the decoding device in the core network or the base station.
  • the data transmission device sends the Uu package data to the decoding device in the core network or the base station, which may include:
  • the Uu encapsulated data is encapsulated by the Iub interface protocol to obtain Iub encapsulated data, or the data transfer device transmits the Uu encapsulated data to a protocol processing module of the base station or a protocol processing module of the RNC.
  • the data transmission device encapsulates the Iub interface protocol for the Uu package data, and obtains the Iub package data, including:
  • the data transmission device encapsulates the Uu encapsulated data according to the framing protocol FP to obtain FP package data.
  • the data transmission device encapsulates the FP encapsulated data according to the user datagram protocol UDP and the Internet Protocol IP, and obtains the transmission network IP packet data;
  • the fragmented IP packet data is Iub encapsulated data, if the length of the transport network IP packet data is less than or equal to the maximum transmission of the lower layer protocol
  • the length of the unit, the transport network IP packet data is the Iub package data.
  • the data transmission device first encrypts the data carried by the RLC PDU, and then performs RLC encapsulation; if the MAC PDU has been carried The data is decrypted, and the data transmission device first encrypts the data carried by the MAC PDU, and then performs MAC encapsulation.
  • the MAC PDU decoded by the Iub interface protocol is first obtained, and then the MAC PDU is sequentially decoded according to MAC, RLC, and PDCP, and the PDCP PDU is decoded by using the user data protocol header to obtain decoding.
  • Data, and then compressing the decoded data to obtain compressed data and then sequentially compressing the compressed data according to the user data protocol header, PDCP, RLC, and MAC to obtain Uu encapsulated data, and the optimized data can be used to decode the data. Compression, so it can increase the amount of data transmitted on Backhaul to improve Backhaul's throughput.
  • the foregoing embodiment describes a data transmission method provided by the present invention.
  • another data transmission method provided by the embodiment of the present invention is introduced. As shown in FIG. 8, the method may include the following steps:
  • the data transmission device acquires a Medium Access Control Protocol Data Unit (MAC PDU).
  • MAC PDU Medium Access Control Protocol Data Unit
  • Step 801 is similar to step 701 in the foregoing embodiment, and is further described herein.
  • the data transmission device decodes the MAC PDU according to the MAC and the RLC in sequence, and obtains decoded data.
  • the data transmission device After the data transmission device obtains the MAC PDU, the data is decoded according to the Uu interface protocol, and the decoded data is obtained by decoding the protocol used by the Uu interface.
  • the protocol used to connect the Uu interface may be: Incoming Control Protocol (MAC, Medium Access Control), Radio Link Control Protocol (RLC, Radio Link Control).
  • the data transmission device sequentially decodes the MAC PDU according to the MAC and the RLC to obtain the decoded data, and specifically includes the following steps:
  • the data transmission device performs MAC layer decoding on the MAC PDU to obtain an RLC PDU; M2.
  • the data transmission device performs RLC layer decoding on the RLC PDU to obtain decoded data.
  • the RLC PDU refers to data obtained by decoding the MAC PDU according to the MAC protocol.
  • the data transmission device decodes the MAC PDU according to the protocol stack structure of the MAC protocol, and obtains the RLC PDU, and the step M2 is also obtained by decoding according to the protocol stack structure of the respective protocol.
  • step M2 is performed. If the data carried by the RLC PDU is encrypted, after the data transmission device performs RLC layer decoding on the RLC PDU, the data carried by the RLC PDU is decrypted, and the data transmission device decrypts the RLC decoded data to obtain the decoded data.
  • the data transmission device compresses the decoded data to obtain compressed data.
  • the data transmission device may compress the decoded data to obtain compressed data, and the compression of the decoded data by the data transmission device in the transmission link can improve the throughput of the link. the amount.
  • step 802 the data transmission device compresses the decoded data to obtain compressed data, which may include the following steps:
  • the data transmission device slices the decoded data to obtain a plurality of decoded data segments
  • the data transmission device generates a digital summary of each decoded data segment obtained after the slice;
  • the data transmission device generates a codebook, where the codebook includes each digital digest and each decoded data segment, and an index structure of each digital digest and each decoded data segment;
  • the data transmission device sends the codebook to another data transmission device that belongs to the same transmission link as the data transmission device, and the other data transmission device is a decoding end device that decodes using the codebook;
  • the data transmission device determines, according to the index structure of each digital digest and each decoded data segment, whether there is a duplicate decoded data segment;
  • the data transmission device replaces the repeated decoded data segment with a digital digest corresponding to the repeated decoded data segment; N7.
  • the data transmission device encodes the digital digest corresponding to the repeated decoded data and the non-repeated decoded data segment to obtain compressed data.
  • step N3 the data transmission device needs to synchronously send the generated codebook to the data transmission device of the opposite end of the transmission link, so that the codebooks stored in the two data transmission devices are identical. After the data transmission device side deduplicates the data, the data is restored on the other data transmission device.
  • the data transmission device encapsulates the compressed data according to the RLC and the MAC, and obtains the encapsulated data.
  • the data transmission device after the data transmission device compresses the decoded data to obtain compressed data, the data transmission device performs encapsulation according to PDCP, RLC, and MAC to obtain Uu encapsulated data.
  • the data transmission device sequentially performs MAC and RLC decoding on the MAC PDU, and can be encapsulated in the opposite manner.
  • the data transmission device sends the encapsulated data to a decoding end device in the core network or the base station.
  • the data transmission device may send the Uu package data to the decoding end device in the core network or the base station, and the data transmission device may encapsulate the Uub encapsulated data by using the Iub interface protocol, and obtain the Iub. Encapsulating the data, or the data transmission device transmits the Uu encapsulated data to a protocol processing module of the base station or a protocol processing module of the RNC.
  • the data transmission device encapsulates the Iub interface protocol for the Uu package data, and obtains the Iub package data, including:
  • the data transmission device encapsulates the Uu encapsulated data according to the framing protocol FP to obtain FP package data.
  • the data transmission device encapsulates the FP encapsulated data according to the user datagram protocol UDP and the Internet Protocol IP, and obtains the transmission network IP packet data;
  • the length of the transmission network IP packet data is greater than the length of the maximum transmission unit of the lower layer protocol. If the length of the transmission network IP packet data is greater than the length of the maximum transmission unit of the lower layer protocol, performing IP fragmentation on the transmission network IP packet data, and obtaining a score After the IP packet data, the fragmented IP packet data is the Iub encapsulated data. If the length of the transport network IP packet data is less than or equal to the length of the maximum transmission unit of the lower layer protocol, the transport network IP packet data is the Iub encapsulated data.
  • the data transmission device encrypts the data carried by the RLC PDU and then performs RLC encapsulation; if the data carried by the MAC PDU has been decrypted, the data transmission device first encrypts the data carried by the MAC PDU, and then Perform MAC encapsulation.
  • the data transmission device first obtains the MAC PDU decoded by the lub interface protocol, and then sequentially decodes the MAC PDU according to the MAC and the RLC to obtain decoded data, and then compresses the decoded data to obtain compressed data. Then, the compressed data is encapsulated according to the RLC and the MAC, and the Uu encapsulated data is obtained.
  • This optimization method can compress the decoded data, so the compression amount of the data transmitted on the Backhaul can be improved to improve the throughput of the Backhaul.
  • the data transmission device at one end of the backhaul link is used to implement deduplication of the transmitted data.
  • a data transmission method provided by the embodiment of the present invention corresponds to the foregoing embodiment shown in FIG. 7, and includes: 901:
  • the data transmission device acquires the package data.
  • the data transmission device for data restoration first receives the Uu package data from the transmission link.
  • Uu package data For the introduction of the Uu package data, refer to the corresponding description in the embodiment shown in FIG. 7. .
  • the data transmission device acquiring the Uu encapsulated data may include: the data transmission device receiving the radio network controller (RNC, Radio Network)
  • RNC Radio Network
  • the data transmission device decodes the encapsulated data according to the MAC, RLC, PDCP, and user data protocol headers to obtain compressed data.
  • the Uu compression data is encapsulated according to step 705 in the foregoing embodiment.
  • the Uu package data is decapsulated in a manner opposite to the encapsulation method, so that Uu compression can be obtained. data.
  • the data transmission device decompresses the compressed data to obtain decoded data.
  • the data transmission device reverses the manner in which the decoded data is compressed in step 704 in the previous embodiment.
  • the data transmission device decompresses the compressed data to obtain the decoding. Data.
  • the data transmission device decompresses the compressed data to obtain the decoded data, and specifically includes the following steps:
  • the data transmission device receives a codebook from another data transmission device that belongs to the same transmission link as the data transmission device, wherein the codebook includes each digital digest and each decoded data segment, and each digital digest and each Decoding the index structure of the data, the another data transmission device is an encoding end device;
  • the data transmission device determines, according to the codebook, whether there is a duplicate decoded data segment in the compressed data.
  • the data transmission device decodes the compressed data into a digital digest corresponding to the repeated decoded data segment and a non-repeated decoded data segment;
  • the data transmission device restores the digital digest corresponding to the decoded decoded data segment to the repeated decoded data segment.
  • the data transmission device combines the repeated decoded data segments and the unrepeated decoded data segments to obtain decoded data.
  • the process of restoring data described in steps 01 to 05 here is the reverse of the compression process for data described in the foregoing embodiments, since the data transmission device is a data transmission device that knows how the other data transmission device of the same transmission link performs data. Compressed, the data transmission device here can restore the data in the opposite way.
  • the data transmission device encapsulates the decoded data according to a user data protocol header, and obtains a packet data convergence protocol protocol data unit PDCP PDU.
  • the data transmission device encapsulates the PDCP PDU according to the PDCP, the RLC, and the MAC, and obtains a MAC PDU.
  • the data transmission device sends a MAC PDU to a core network or a base station.
  • the Uu package data is restored through steps 902 to 905, and the MAC PDU is obtained, and then Send the MAC PDU to the core network or base station.
  • the data transmission device first acquires Uu encapsulated data, and the data transmission device sequentially decodes according to the MAC, RLC, PDCP, and user data protocol headers.
  • the compressed data is obtained, and then the compressed data is decompressed to obtain decoded data.
  • the user data protocol header, PDCP, RLC, and MAC are used to encapsulate the MAC PDU. Since the Uu encapsulated data is restored to the MAC PDU, it can be implemented. Compress data transmitted on Backhaul to improve Backhaul throughput.
  • FIG. 10 a data transmission method according to an embodiment of the present invention and the foregoing embodiment shown in FIG. Corresponding, including:
  • the data transmission device acquires package data.
  • Step 1001 is similar to step 901 in the foregoing embodiment, and details are not described herein again.
  • the data transmission device decodes the encapsulated data according to the media access control protocol MAC and the radio link control protocol RLC, to obtain compressed data.
  • the Uu compression data is encapsulated according to the step 804 in the foregoing embodiment.
  • the Uu package data is decapsulated in a manner opposite to the encapsulation method, so that Uu compression can be obtained. data.
  • the data transmission device decompresses the compressed data to obtain decoded data.
  • the data transmission device reverses the manner in which the decoded data is compressed in step 803 in the previous embodiment.
  • the data transmission device decompresses the compressed data to obtain decoded data.
  • the data transmission device decompresses the compressed data to obtain the decoded data, and specifically includes the following steps: P1, the data transmission device and the data transmission device Another data transmission device belonging to the same transmission link receives the codebook, wherein the codebook includes each digital digest and each decoded data segment, and an index structure of each digital digest and each decoded data, and another data transmission
  • the device is an encoding device
  • the data transmission device determines, according to the codebook, whether there is a duplicate decoded data segment in the compressed data.
  • the data transmission device decodes the compressed data into a digital digest corresponding to the repeated decoded data segment and a non-repeated decoded data segment;
  • the data transmission device restores the digital digest corresponding to the decoded repeated decoded data segment to a repeated decoded data segment.
  • P5. The data transmission device combines the repeated decoded data segments and the unrepeated decoded data segments to obtain user application layer data.
  • the process of restoring data described in steps P1 to P5 here is the reverse of the compression process for data described in the foregoing embodiments, since the data transmission device is another data transmission device that knows the same transmission link. Data compression is performed, so the data transmission device here can restore the data in the opposite way.
  • the data transmission device encapsulates the decoded data according to RLC and MAC in sequence, and obtains a MAC PDU.
  • the data transmission device encapsulates the decoded data according to the protocol stack structure using the Uu interface, and obtains the MAC PDU.
  • the data transmission device sends a MAC PDU to a core network or a base station.
  • the data transmission device first obtains the encapsulated data, and the data transmission device sequentially decodes according to the MAC and the RLC to obtain the compressed data, and then decompresses the compressed data to obtain the decoded data, and finally uses the RLC and the MAC. Encapsulation, the MAC PDU is obtained. Since the Uu package data is restored to the MAC PDU, the data uploaded and backhaul can be compressed to improve the throughput of Backhaul.
  • the first data transmission device may specifically refer to the data transmission device described in the embodiment shown in FIG. 7
  • the second data transmission device may perform data interaction.
  • the data transmission device may specifically refer to the data transmission device described in the embodiment shown in FIG. 9.
  • the first and second are used separately for distinction.
  • the first data transmission device is deployed on the back end of the Backhaul, and the second data transmission device is deployed on the other end of the Backhaul.
  • the first data transmission device is used for data compression, and the second data transmission device is used for data restoration.
  • the first data transmission device may also specifically refer to the data transmission device described in the embodiment shown in FIG. 8, and the second data transmission device may also specifically refer to the description in the embodiment shown in FIG. Data transmission equipment, only for illustration.
  • the first data transmission device first performs IP fragmentation and reassembly of the IP data packet received by the RNC.
  • Phy represents physical layer data
  • Data Link represents data link layer data.
  • the first data transmission device uses the transmission network IP packet data of the transmission network layer as an optimization object, and the first data transmission device parses the transmission network IP packet data, assuming that the lub interface protocol is IP, UDP, and FP, Uu interface.
  • the protocols are MAC, RLC, and PDCP.
  • the algorithms that can be included are as follows:
  • the FP protocol is decoded by the FP protocol to obtain a MAC PDU, and if the MAC layer is encrypted, the decryption is completed;
  • the RLC PDU is taken out from the RLC PDU linked list, and the reassembly is completed to obtain a PDCP PDU.
  • IP protocol header and the user data transport layer protocol header are decoded to obtain decoded data
  • the PDCP, RLC, and MAC encapsulation modules are called layer by layer, and the Uu interface protocol encapsulation is completed, the Uu encapsulation data is obtained, and the RLC linked list is released.
  • the first data transmission device is deployed in a module form between the lub interface protocol processing module and the Uu interface protocol processing module inside the RNC, and the first data is used.
  • the transmission device uses the user application layer data as the optimization object of the content encoding. Since the lub interface protocol has been processed at the base station, the first data transmission device only needs to provide adaptation to the Uu interface protocol. In addition, the encryption problem still needs to be solved. See steps 3-8 of the aforementioned algorithm, and steps 11 through 13 of the aforementioned algorithm.
  • the method introduced here needs to modify the structure of the base station, but with respect to the foregoing embodiment, the parsing and encapsulation of the lub interface protocol is reduced, but the encryption of the key decryption Uu interface protocol MAC/RLC layer is still required to be obtained from the RNC.
  • the implementation of the second data transmission device is exactly the opposite of the foregoing first data transmission device, and details are not described herein again.
  • the RLC PDU decrypted by the wireless network layer is used as the content encoding object, and the RLC PDU is used as the original data for deduplication and encoding.
  • the implementation manners of the first data transmission device are as follows: Description:
  • the de-duplication algorithm performs the steps 1 to 4 of the foregoing embodiment to obtain the decrypted RLC PDU, and directly de-duplexes and encodes the RLC PDU, and then completes the encapsulation of the MAC layer, the FP frame, and the UDP/IP.
  • the de-duplication algorithm performs the steps 3 to 4 of the foregoing embodiment to obtain the decrypted RLC PDU, and directly de-duplexes and encodes the RLC PDU, and then completes the encapsulation of the MAC layer.
  • the implementation of the second data transmission device is exactly the opposite of the foregoing first data transmission device, and details are not described herein again.
  • the data transmission device 1300 includes: an IP data packet parsing unit 1301. a compression unit 1302, a packaging unit 1303, and a transmitting unit 1304, where
  • the IP packet parsing unit 1301 is configured to parse the received Internet Protocol IP data packet to obtain a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data.
  • the compressing unit 1302 is configured to compress the transport tunneling protocol header, the user data protocol header, and the user application layer data to obtain a compressed transport network protocol load.
  • Encapsulating unit 1303, configured to use the transport network protocol header to the compressed transport network
  • the protocol load is encapsulated to obtain an IP compressed data packet
  • the sending unit 1304 is configured to send the IP compressed data packet to a core network or a base station.
  • IP packet parsing unit 1301 As one of the achievable manners, including (not shown in FIG. 13):
  • the first fragment recombination sub-unit is configured to perform IP fragment reassembly on the IP data packet with the IP fragment if the IP data packet has an IP fragment, and obtain the complete transmission network IP packet data; the first acquisition subunit And obtaining, by the header of the transport network IP packet data, a length of the transport network IP protocol header and the transport network IP protocol header;
  • a second obtaining subunit configured to determine, according to a protocol type field of a header of the transport network IP packet data, a protocol type of a transport network transport layer protocol, and then obtain a transport network transmission according to a protocol type of the transport network transport layer protocol
  • the layer protocol header transport network transport layer association type acquires the transport network transport layer protocol header and the corresponding field, and obtains the length of the transport network transport layer protocol header according to the transport network transport layer protocol header and the corresponding field
  • a third obtaining subunit configured to acquire, according to a length of the transport network IP protocol header and a length of the transport network transport layer protocol header, a length of the transport network protocol header, where the transport network protocol header is The length is the length of the transport network IP protocol header plus the length of the transport network transport layer protocol header;
  • a fourth obtaining subunit configured to acquire the transport network protocol header according to the transport network IP packet data and a length of the transport network protocol header, where the transport network protocol header is an IP packet from the transport network The beginning of the data to the length is the data corresponding to the length of the transport network protocol header.
  • the method further includes (not shown in FIG. 13):
  • a calculation subunit configured to calculate a length of a fixed header of the transport tunneling protocol according to a protocol type of the transport tunneling protocol
  • a first determining subunit configured to determine, according to a field corresponding to a protocol type of the transport tunneling protocol, whether an optional field exists in the transport tunneling protocol header;
  • a fifth obtaining subunit configured to: when the optional field does not exist, obtain a length of the transport tunneling protocol header according to a length of the fixed header of the transport tunneling protocol, where the transport tunneling protocol header is The length is the length of the fixed header of the transport tunneling protocol;
  • a second determining subunit configured to determine, according to a field corresponding to a protocol type of the transport tunneling protocol, whether an extended header exists in the transport tunneling protocol header
  • a sixth obtaining subunit configured to be used when When there is no extended header, the length of the transport tunneling protocol header is obtained according to the length of the fixed header of the transport tunneling protocol and the length of the optional field, and the length of the transport tunneling protocol header is the transmission tunneling protocol.
  • a seventh obtaining subunit configured to: when the extended header exists, obtain a transport tunnel protocol header according to a length of the fixed header of the transport tunneling protocol, a length of the optional field, and a length of the extended header Length, the length of the transport tunneling protocol header is the length of the fixed header of the transport tunneling protocol plus the length of the optional field plus the length of the extended header; the eighth obtaining subunit, Acquiring the transport tunnel protocol header according to the transport network IP packet data and the transport network protocol header, where the transport tunnel protocol header is from the transport network in the transport network IP packet data The protocol header is followed by data corresponding to the length of the length of the transport tunneling protocol header.
  • the method further includes (not shown in FIG. 13):
  • a second fragment reassembly subunit configured to perform IP fragment reassembly on the data carried by the transport tunneling protocol to obtain complete user data IP packet data when the data carried by the transport tunneling protocol has an IP fragment;
  • a ninth obtaining subunit configured to acquire a length of a user data IP protocol header according to a header of the user data IP packet data
  • a tenth obtaining subunit configured to acquire a protocol type of a user data transport layer protocol according to a protocol type field of the user data IP packet data header, and obtain the user data transport layer according to a protocol type of the user data transport layer protocol a protocol header and a corresponding field, where the length of the user data transport layer protocol header is obtained according to the user data transport layer protocol header and the corresponding field;
  • An eleventh obtaining subunit configured to obtain a length of a user data protocol header according to a length of the user data IP protocol header and a length of the user data transport layer protocol header, where the length of the user data protocol header Is the length of the user data IP protocol header plus the user The length of the data transport layer protocol header;
  • a twelfth obtaining subunit configured to acquire the user data protocol header according to the transport network IP packet data and a length of the user data protocol header, where the user data protocol header is from the transport network IP
  • the transport tunneling protocol header in the packet data is then followed by data corresponding to the length of the length of the user data protocol header.
  • a first compression subunit configured to perform header compression on the transport tunneling protocol header and the user data protocol header to obtain a result of header compression
  • a second compression subunit configured to compress the user application layer data to obtain compressed user application layer data
  • a coding subunit configured to encode the result of the header compression and the compressed user application layer data to obtain the compressed transmission network protocol load.
  • the data transmission device 1300 may also include (not shown in FIG. 13):
  • a determining unit configured to determine whether a length of the IP compressed data packet is greater than a length of a maximum transmission unit of a lower layer protocol
  • a fragmentation unit configured to: when the length of the IP compressed data packet is greater than a length of a maximum transmission unit of a lower layer protocol, performing IP fragmentation on the IP compressed data packet to obtain a fragmented IP compressed data packet;
  • the sending unit is specifically configured to send the fragmented IP compressed data packet to a core network or a base station.
  • the IP packet parsing unit parses the received IP data packet, and obtains a transport network protocol header, a transport tunnel protocol header, a user data protocol header, and user application layer data, and then
  • the compression unit compresses the transport tunneling protocol header, the user data protocol header, and the user application layer data
  • the encapsulating unit encapsulates the compressed transport network protocol payload by using the transport network protocol header to obtain an IP compressed data packet.
  • the optimization method can compress the data of the user application layer, so the compression amount of data transmitted on Backhaul can be improved to improve the throughput of Backhaul.
  • the data transmission device 1400 includes: an IP packet parsing unit 1401, a compression unit 1402, a encapsulating unit 1403, and a sending unit 1404, where
  • the IP packet parsing unit 1401 is configured to parse the received Internet Protocol IP data packet, and obtain a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data.
  • a compression unit 1402 configured to compress the user application layer data to obtain a compressed user data protocol load
  • the encapsulating unit 1403 is configured to encapsulate the compressed user data protocol load by using the user data protocol header, the transport tunneling protocol header, and the transport network protocol header to obtain an IP compressed data packet.
  • the sending unit 1404 is configured to send the IP compressed data packet to a core network or a base station.
  • IP packet parsing unit 1401 As one of the implementable manners, including (not shown in FIG. 14):
  • the first fragment recombination sub-unit is configured to perform IP fragment reassembly on the IP data packet with the IP fragment if the IP data packet has an IP fragment, and obtain the complete transmission network IP packet data; the first acquisition subunit And obtaining, by the header of the transport network IP packet data, a length of the transport network IP protocol header and the transport network IP protocol header;
  • a second obtaining subunit configured to determine, according to a protocol type field of a header of the transport network IP packet data, a protocol type of a transport network transport layer protocol, and then obtain a transport network transmission according to a protocol type of the transport network transport layer protocol a layer protocol header and a corresponding field, where the length of the transport network transport layer protocol header is obtained according to the transport network transport layer protocol header and the corresponding field;
  • a third obtaining subunit configured to acquire, according to a length of the transport network IP protocol header and a length of the transport network transport layer protocol header, a length of the transport network protocol header, where the transport network protocol header is The length is the length of the transport network IP protocol header plus the length of the transport network transport layer protocol header;
  • a fourth obtaining subunit configured to acquire the transport network protocol header according to the transport network IP packet data and a length of the transport network protocol header, where the transport network protocol header is an IP packet from the transport network The beginning to the length of the data is the length of the transport network protocol header The corresponding data.
  • the method further includes (not shown in FIG. 14):
  • a calculation subunit configured to calculate a length of a fixed header of the transport tunneling protocol according to a protocol type of the transport tunneling protocol
  • a first determining subunit configured to determine, according to a field corresponding to a protocol type of the transport tunneling protocol, whether an optional field exists in the transport tunneling protocol header;
  • a fifth obtaining subunit configured to: when the optional field does not exist, obtain a length of the transport tunneling protocol header according to a length of the fixed header of the transport tunneling protocol, where a length of the transport tunneling protocol header is the transmission The length of the fixed head of the tunneling protocol;
  • a second determining subunit configured to determine, according to a field corresponding to a protocol type of the transport tunneling protocol, whether an extended header exists in the transport tunneling protocol header
  • a sixth obtaining subunit configured to be used when When there is no extended header, the length of the transport tunneling protocol header is obtained according to the length of the fixed header of the transport tunneling protocol and the length of the optional field, and the length of the transport tunneling protocol header is the transmission tunneling protocol.
  • a seventh obtaining subunit configured to: when the extended header exists, obtain a transport tunnel protocol header according to a length of the fixed header of the transport tunneling protocol, a length of the optional field, and a length of the extended header Length, the length of the transport tunneling protocol header is the length of the fixed header of the transport tunneling protocol plus the length of the optional field plus the length of the extended header; the eighth obtaining subunit, Acquiring the transport tunnel protocol header according to the transport network IP packet data and the transport network protocol header, where the transport tunnel protocol header is from the transport network in the transport network IP packet data The protocol header is followed by data corresponding to the length of the length of the transport tunneling protocol header.
  • the method further includes (not shown in FIG. 14):
  • a second fragment reassembly subunit configured to perform IP fragment reassembly on the data carried by the transport tunneling protocol to obtain complete user data IP packet data when the data carried by the transport tunneling protocol has an IP fragment;
  • a ninth obtaining subunit configured to acquire a header according to the user data IP packet data The length of the IP data header of the user data
  • a tenth obtaining subunit configured to acquire a protocol type of a user data transport layer protocol according to a protocol type field of the user data IP packet data header, and obtain the user data transport layer according to a protocol type of the user data transport layer protocol a protocol header and a corresponding field, where the length of the user data transport layer protocol header is obtained according to the user data transport layer protocol header and the corresponding field;
  • An eleventh obtaining subunit configured to obtain a length of a user data protocol header according to a length of the user data IP protocol header and a length of the user data transport layer protocol header, where the length of the user data protocol header Is the length of the user data IP protocol header plus the length of the user data transport layer protocol header;
  • a twelfth obtaining subunit configured to acquire the user data protocol header according to the transport network IP packet data and a length of the user data protocol header, where the user data protocol header is from the transport network IP
  • the transport tunneling protocol header in the packet data is then followed by data corresponding to the length of the length of the user data protocol header.
  • a third determining subunit configured to determine whether the user data transmission layer protocol is a transmission control protocol TCP;
  • a thirteenth obtaining subunit configured to acquire user application layer data when the user data transport layer protocol is TCP, where the user application layer data refers to a data load Payload after the TCP session is reorganized;
  • a slice subunit configured to slice the user application layer data to obtain a plurality of user application layer data segments
  • a summary generation subunit configured to respectively generate a digital digest for each user application layer data segment obtained after the slice;
  • a codebook generating subunit configured to generate a codebook according to the user application layer data and the digital digest, the codebook includes each digital digest and each user application layer data segment, and each of the digital digests The index structure of each user application layer data segment;
  • a codebook sending subunit configured to send the codebook to a decoding end device that uses the codebook for decoding, where the codebook sending subunit is an optional component;
  • a fourth determining subunit configured to determine, according to the codebook, whether there are duplicate user application layer data segments in the plurality of user application layer data segments;
  • a replacement subunit configured to replace the repeated user application layer with a digital digest corresponding to the repeated user application layer data segment when there are duplicate user application layer data segments in the plurality of user application layer data segments Data fragment
  • a coding subunit configured to encode the digital summary corresponding to the repeated user application layer data segments and the unrepeated user application layer data segments to obtain a compressed user data protocol load.
  • the IP data packet parsing unit parses the received IP data packet, and obtains a transport network protocol header, a transport tunneling protocol header, a user data protocol header, and user application layer data. Then, the compression unit compresses the user application layer data, and then encapsulates the compressed user data protocol load with the user data protocol header, the transport tunneling protocol header, and the transport network protocol header to obtain an IP compressed data packet.
  • the optimization method can compress the data of the user application layer, so the compression amount of data transmitted on Backhaul can be improved to improve the throughput of Backhaul.
  • the data transmission device 1500 includes: an obtaining unit 1501, a first decoding unit 1502, a second decoding unit 1503, a compression unit 1504, and The encapsulating unit 1505 and the sending unit 1506, wherein the obtaining unit 1501 is configured to obtain a media access control protocol data unit MAC PDU decoded according to an Iub interface protocol;
  • the first decoding unit 1502 is configured to sequentially decode the MAC PDU according to the medium access control protocol MAC, the radio link control protocol RLC, and the packet data convergence protocol PDCP to obtain a packet data convergence protocol protocol data unit PDCP PDU;
  • a second decoding unit 1503 configured to decode the PDCP PDU by using a user data protocol header to obtain decoded data
  • the compressing unit 1504 is configured to compress the decoded data to obtain compressed data.
  • the encapsulating unit 1505 is configured to encapsulate the compressed data according to the user data protocol header, the PDCP, the RLC, and the MAC, to obtain Uu encapsulated data. ;
  • the sending unit 1506 is configured to send the Uu encapsulated data to a core network or a base station.
  • the obtaining unit 1501 provided in the embodiment of the present invention is one of the An achievable way, including (not shown in Figure 15):
  • a first decoding subunit configured to decode the received Iub encapsulated data according to an Iub interface protocol, to obtain the MAC PDU;
  • a receiving subunit configured to receive the MAC PDU from a protocol processing module of the base station or a protocol processing module of the radio network controller RNC.
  • a fragment reassembly module configured to perform IP fragment reassembly on the IP packet with the IP fragment when the Iub encapsulated data is an IP packet with an IP fragment, to obtain a complete transport network IP packet data.
  • a first decoding module configured to decode the transport network IP packet data according to an internet protocol IP and a user datagram protocol UDP, to obtain a UDP load;
  • a second decoding module configured to decode the UDP payload according to a framing protocol FP, to obtain the MAC PDIL
  • a second decoding subunit configured to perform MAC layer decoding on the MAC PDU to obtain an RLC PDU
  • a third decoding subunit configured to perform decompression of an upper layer protocol header on the PDCP PDU, to obtain user data IP packet data, where the user data IP packet data includes: a user data IP protocol header, a user data transmission layer protocol header Ministry
  • a fourth decoding subunit configured to decode the user data IP protocol header and the user data transport layer protocol header to obtain the decoded data.
  • a first decrypting unit configured to: after the second decoding subunit performs MAC layer decoding on the MAC PDU, decrypt data that is carried by the MAC PDU when data carried by the MAC PDU is encrypted;
  • a second decryption unit configured to: after the decoding and recombining subunit performs RLC layer decoding on the RLC PDU, decrypt data carried by the RLC PDU when data carried by the RLC PDU is encrypted.
  • the compression unit 1502 may also include (not shown in FIG. 15):
  • the slice subunit is configured to slice the decoded data to obtain a plurality of decoded data segments
  • the digest generating subunit is configured to generate a digital digest for each decoded data segment obtained after the segmentation
  • the codebook generation subunit is configured to generate a codebook, where the codebook includes each digital digest and each decoded data segment, and an index structure of each of the digital digests and each of the decoded data segments;
  • the codebook sending subunit is configured to send the codebook to a decoding end device that uses the codebook for decoding, where the subunit is an optional part in this embodiment;
  • the determining subunit is configured to determine, according to the codebook, whether there is a duplicate decoded data segment
  • the replacing subunit is configured to replace the repeated decoded data segment with a digital digest corresponding to the repeated decoded data segment when there is a duplicate decoded data segment;
  • the encoding subunit is configured to encode the digital digest corresponding to the repeated decoded data segments and the unrepeated decoded data segments to obtain compressed data.
  • the acquiring unit first acquires the MAC PDU decoded by the Iub interface protocol, and then the first decoding unit sequentially decodes the MAC PDU according to MAC, RLC, and PDCP, and the second decoding unit uses the user data protocol header.
  • the part decodes the PDCP PDU to obtain decoded data
  • the compression unit compresses the decoded data to obtain compressed data
  • the encapsulating unit sequentially presses the compressed data according to the user data protocol header, PDCP, RLC, and MAC.
  • Row encapsulation, Uu encapsulation data, compression of the decoded data can be achieved by this optimization method, so the compression of data transmitted on Backhaul can be improved to improve the throughput of Backhaul.
  • the data transmission device 1600 includes: an obtaining unit 1601, a decoding unit 1602, a compression unit 1603, a packaging unit 1604, and a sending unit 1605, where ,
  • the obtaining unit 1601 is configured to obtain a Uu interface media access control protocol data unit MAC PDU decoded according to the Iub interface protocol;
  • the decoding unit 1602 is configured to sequentially decode the MAC PDU according to the media access control protocol MAC and the radio link control protocol RLC to obtain decoded data.
  • the compressing unit 1603 is configured to compress the decoded data to obtain compressed data
  • the encapsulating unit 1604 is configured to encapsulate the compressed data according to the RLC and the MAC to obtain Uu encapsulated data.
  • the sending unit 1605 is configured to send the Uu encapsulated data to a decoding end device in a core network or a base station.
  • a first decoding subunit configured to perform MAC layer decoding on the MAC PDU to obtain an RLC PDU
  • a second decoding subunit configured to perform RLC layer decoding on the RLC PDU, to obtain the decoded data.
  • the compression unit 1603 may also include (not shown in FIG. 16): a slice subunit, a summary generation subunit, and a codebook generation. a subunit, a codebook transmission subunit, a judgment subunit, a replacement subunit, and an encoding subunit, wherein
  • the slice subunit is configured to slice the decoded data to obtain a plurality of decoded data segments
  • the digest generating subunit is configured to generate a digital digest for each decoded data segment obtained after the segmentation
  • the codebook generation subunit is configured to generate a codebook, where the codebook includes each digital digest and each decoded data segment, and each of the digital digest and each decoded data segment Index structure
  • the codebook sending subunit is configured to send the codebook to a decoding end device that uses the codebook for decoding
  • the determining subunit is configured to determine, according to the codebook, whether there is a duplicate decoded data segment
  • the replacing subunit is configured to replace the repeated decoded data segment with a digital digest corresponding to the repeated decoded data segment when there is a duplicate decoded data segment;
  • the encoding subunit is configured to encode the digital digest corresponding to the repeated decoded data segments and the unrepeated decoded data segments to obtain compressed data.
  • the obtaining unit first obtains the decoded Iub interface protocol.
  • the decoding unit decodes the MAC PDU according to the MAC and the RLC in sequence to obtain the decoded data, and the compression unit compresses the decoded data to obtain the compressed data, and then the encapsulating unit sequentially encapsulates the compressed data according to the RLC and the MAC.
  • the Uu encapsulates the data, and the compression of the decoded data can be achieved by this optimization method, so that the compression amount of the data transmitted on the Backhaul can be improved to improve the throughput of the Backhaul.
  • FIG. 17 a data transmission device 1700 according to an embodiment of the present invention, a data restoration method implemented by the data transmission device shown in FIG. 17, and the foregoing data transmission device shown in FIG.
  • the receiving unit 1701, the decoding unit 1702, the decompression unit 1703, the encapsulating unit 1704, and the sending unit 1705 corresponds to the data compression method, as shown in FIG. 17, specifically, the receiving unit 1701, the decoding unit 1702, the decompression unit 1703, the encapsulating unit 1704, and the sending unit 1705, where
  • the receiving unit 1701 is configured to receive an internet protocol IP compressed data packet.
  • the decoding unit 1702 is configured to decode the IP compressed data packet according to a transport network protocol header, to obtain a compressed transport network protocol load;
  • the decompressing unit 1703 is configured to decompress the compressed transport network protocol load, and sequentially obtain a transport tunneling protocol header, a user data protocol header, and user application layer data.
  • the encapsulating unit 1704 is configured to use the The transport network protocol header encapsulates the transport tunneling protocol header, the user data protocol header, and the user application layer data to obtain an IP data packet;
  • the sending unit 1705 is configured to send the IP data packet to a core network or a base station.
  • a first decompressing subunit configured to perform header decompression on the compressed transport network protocol load according to the transport tunneling protocol header and the user data protocol header, to obtain a decompressed transport tunneling protocol header.
  • the second decompressing subunit is configured to decompress the compressed user application layer data to obtain user application layer data.
  • a parsing subunit configured to parse the IP compressed data packet, and obtain a length of the transport network IP protocol header and a corresponding field
  • a first acquiring subunit configured to obtain a length of a transport network transport layer protocol header according to a length of the transport network IP protocol header and a corresponding field
  • a second obtaining subunit configured to acquire a length of the transport network protocol header according to a length of the transport network IP protocol header and a length of the transport network transport layer protocol header, where the transport network protocol header is The length is the length of the transport network IP protocol header plus the length of the transport network transport layer protocol header;
  • a third obtaining subunit configured to cut data corresponding to a length of the first IP compressed data packet to a length of the transport network protocol header, to obtain a compressed transport network protocol load.
  • the decoding unit decodes the IP compressed data packet according to the transport network protocol header, and obtains the compressed transport network protocol load, and the decompressing unit performs the The compressed transport network protocol load is decompressed, and the transport tunneling protocol header, the user data protocol header and the user application layer data are obtained, and the encapsulating unit finally uses the transport network protocol header to transmit the tunnel protocol header and the user data protocol header.
  • the department and the user application layer data are encapsulated to obtain an IP data packet.
  • a data transmission device 1800 for the data restoration, please refer to FIG. 18, a data transmission device 1800 according to an embodiment of the present invention, a data restoration method implemented by the data transmission device shown in FIG. 18, and data implemented by the data transmission device shown in FIG. 14 described above.
  • the compression method as shown in FIG. 18, specifically, may include: a receiving unit 1801, a decoding unit 1802, a decompressing unit 1803, a packaging unit 1804, and a sending unit 1805, where
  • the receiving unit 1801 is configured to receive an Internet Protocol IP compressed data packet.
  • the decoding unit 1802 is configured to decode the IP compressed data packet according to a transport network protocol header, a transport tunnel protocol header, and a user data protocol header, to obtain a compressed user data protocol load;
  • the decompressing unit 1803 is configured to decompress the compressed user data protocol load to obtain user application layer data.
  • the encapsulating unit 1804 is configured to encapsulate the user application layer data by using the transport network protocol header, the transport tunneling protocol header, and the user data protocol header to obtain an IP data packet.
  • the sending unit 1805 is configured to send the IP data packet to a core network or a base station.
  • a receiving subunit configured to receive a codebook sent by the encoding end device, where the codebook includes each digital digest and each user application layer data segment, and an index of each of the digital digest and each user application layer data segment.
  • a determining subunit configured to determine, according to the codebook, whether there is a duplicate user application layer data segment in the compressed user data protocol load
  • a decoding subunit configured to: when there is a repeated user application layer data segment, decode the compressed user data protocol payload into a digital abstract corresponding to the repeated user application layer data segment, and an unrepeated user application layer data segment;
  • an atomic unit configured to restore the digital digest corresponding to the decoded repeated user application layer data segment to a repeated user application layer data segment
  • a combination subunit configured to combine the repeated user application layer data segment and the non-repeated user application layer data segment to obtain user application layer data.
  • the data transmission device receives the IP compressed data packet. Then, according to the transmission network protocol header, the transmission tunneling protocol header and the user data protocol header, the compressed user data protocol load is obtained, and then the compressed user data protocol load is decompressed to obtain user application layer data. Then, the user application layer data is encapsulated according to the user data protocol header, the transport tunneling protocol header, and the transport network protocol header, to obtain an IP data packet.
  • the IP data packet is obtained by restoring the IP compressed data packet, and the compressed data packet transmitted on the transmission link is restored, so that the throughput of the Backhaul can be improved.
  • a data transmission device 1900 according to an embodiment of the present invention, and a data restoration method implemented by the data transmission device shown in FIG.
  • the data compression method implemented by the data transmission device shown in FIG. 15 corresponds to, as shown in FIG. 19, specifically, the method may include: an obtaining unit 1901, a decoding unit 1902, a decompression unit 1903, a first encapsulating unit 1904, and a second encapsulating unit. 1905, sending unit 1906, wherein
  • the obtaining unit 1901 is configured to acquire Uu encapsulated data.
  • the decoding unit 1902 is configured to decode the Uu encapsulated data according to the media access control protocol MAC, the radio link control protocol RLC, the packet data convergence protocol PDCP, and the user data protocol header to obtain compressed data.
  • the decompressing unit 1903 is configured to decompress the compressed data to obtain decoded data.
  • the first encapsulating unit 1904 is configured to encapsulate the decoded data according to the user data protocol header to obtain a packet data convergence protocol protocol data unit PDCP PDU;
  • the second encapsulating unit 1905 is configured to encapsulate the PDCP PDU according to the PDCP, the RLC, and the MAC, and obtain the Uu interface media intervention control protocol data unit MAC PDU.
  • the sending unit 1906 is configured to send the information to the core network or the base station. Said MAC PDU.
  • the decompression unit 1903 may also include (not shown in FIG. 19):
  • a receiving subunit configured to receive a codebook sent by the encoding end device, where the codebook includes each digital digest and each decoded data segment, and an index structure of each of the digital digest and each decoded data segment;
  • a determining subunit configured to determine, according to the codebook, whether there is a duplicate in the compressed data Decoding a data segment
  • a decoding subunit configured to, when there is a duplicate decoded data segment, decode the compressed data into a digital digest corresponding to the repeated decoded data segment, and an unrepeated decoded data segment;
  • an atomic unit configured to restore the digital digest corresponding to the decoded decoded data segment to a repeated decoded data segment
  • the combining subunit is configured to combine the repeated decoded data segments and the unrepeated decoded data segments to obtain decoded data.
  • the data transmission device first acquires the Uu encapsulated data, and sequentially decodes according to the MAC, RLC, PDCP, and user data protocol headers to obtain compressed data, and then decompresses the compressed data to obtain decoded data. Finally, the user data protocol header, PDCP, RLC, and MAC are used to encapsulate the MAC PDU. Since the Uu encapsulated data is restored to the MAC PDU, the data transmitted on the Backhaul can be compressed to improve the throughput of the Backhaul.
  • FIG. 20 a data transmission device 2000 and a data restoration device implemented by the data transmission device shown in FIG. 20 are provided.
  • the data compression method implemented by the data transmission device shown in FIG. 16 corresponds to the data compression method, as shown in FIG. 20, which may include: an obtaining unit 2001, a decoding unit 2002, a decompression unit 2003, a packaging unit 2004, and a sending unit 2005, where
  • the obtaining unit 2001 is configured to acquire Uu encapsulated data.
  • the decoding unit 2002 is configured to sequentially decode the Uu encapsulated data according to the medium access control protocol MAC and the radio link control protocol RLC to obtain compressed data.
  • the decompressing unit 2003 is configured to decompress the compressed data to obtain decoded data.
  • the encapsulating unit 2004 is configured to encapsulate the decoded data according to the RLC and the MAC, to obtain a Uu interface media intervention control protocol data unit MAC PDU;
  • the sending unit 2005 is configured to send the MAC PDU to a core network or a base station.
  • decompression unit 2003 may also include (not shown in FIG. 20) as one of the implementable modes:
  • a receiving subunit configured to receive a codebook sent by the encoding end device, where the codebook includes each digital digest and each decoded data segment, and each of the digital digests and each decoding The index structure of the data fragment;
  • a determining subunit configured to determine, according to the codebook, whether there is a duplicate decoded data segment in the compressed data
  • a decoding subunit configured to, when there is a duplicate decoded data segment, decode the compressed data into a digital digest corresponding to the repeated decoded data segment, and an unrepeated decoded data segment;
  • an atomic unit configured to restore the digital digest corresponding to the decoded decoded data segment to a repeated decoded data segment
  • the combining subunit is configured to combine the repeated decoded data segments and the unrepeated decoded data segments to obtain decoded data.
  • the data transmission device first obtains the encapsulated data, and the data transmission device sequentially decodes according to the MAC and the RLC to obtain the compressed data, and then decompresses the compressed data to obtain the decoded data, and finally uses the RLC and the MAC. Encapsulation, get the MAC
  • the data transmission system 2100 includes: a first data transmission device 2101 and a second data transmission device 2102, where
  • the first data transmission device 2101 is connected to the second data transmission device 2102 through a transmission link;
  • the first data transmission device 2101 is the data transmission device 1300 as described in FIG. 13, the second data transmission device 2102 is the data transmission device 1700 as described in FIG. 17, and the first data transmission device 2100 is an encoding device.
  • the first data transmission device 2101 transmits the compressed IP compressed data packet to the second data transmission device 2102 through the transmission link, where the second data transmission device 2102 is in the core network or in the base station. Decoding end device.
  • the data transmission system includes: a first data transmission device and a second data transmission device, where
  • the first data transmission device is connected to the second data transmission device by using a transmission link; the first data transmission device is the data transmission device 1400 and the second data transmission device as shown in FIG.
  • the data transmission device 1800, the first data transmission device is an encoding end device, and the first data transmission device passes the compressed IP compressed data packet.
  • the transmission link is transmitted to the second data transmission device, and the second data transmission device is a decoding end device in the core network or in the base station.
  • the data transmission system includes: a first data transmission device and a second data transmission device, where
  • the first data transmission device is connected to the second data transmission device by using a transmission link; the first data transmission device is the data transmission device 1500 and the second data transmission device as shown in FIG.
  • the data transmission device 1900, the first data transmission device is an encoding end device, and the first data transmission device transmits Uu encapsulated data to the second data transmission device by using the transmission link, the second
  • the data transmission device is a decoding end device in the core network or in the base station.
  • the data transmission system includes: a first data transmission device and a second data transmission device, where
  • the first data transmission device is connected to the second data transmission device by using a transmission link; the first data transmission device is the data transmission device 1600, and the second data transmission device is as shown in FIG.
  • the data transmission device 2000, the first data transmission device is an encoding end device, and the first data transmission device transmits Uu encapsulated data to the second data transmission device through the transmission link, the second The data transmission device is a decoding end device in the core network or in the base station.
  • the second data transmission device is connected to the base station, the first data transmission device and the gateway general packet radio service technology support node GGSN are connected, and/or the second data transmission device and the service general packet radio service technology Supporting the node SGSN connection;
  • the transmission link is a lub and/or lu-PS interface link, as shown in FIG. 22, the case where the transmission link is a lu-PS interface link.
  • the second data transmission device is connected to the base station, and the first data transmission device is connected to the service gateway S-GW; the transmission link is a Sl-u interface link, as shown in FIG.
  • the second data transmission device is connected to the base station or the second data transmission device is integrated into the base station, and the first data transmission device and the radio network controller RNC are connected or first.
  • the data transmission device is integrated into the RNC, and the RNC is connected to the first data transmission device through a transmission link, as shown in FIG.
  • the first data transmission device is connected to the radio network controller RNC, or the first data transmission device is integrated into the RNC, and the second data transmission device is integrated into the terminal device, and the terminal device and the base station are connected through air interfaces, as shown in the figure. 25 is shown.
  • the transmission link described in the embodiment of the present invention may be equipped with a node device such as a switch and a router.
  • the transmission link described in the embodiment of the present invention includes but is not limited to a wireless link or a wired link, and is directly connected. A link or a link that is connected through a switch, router, or other network element.
  • the first data transmission device parses the received IP data packet, and then obtains the IP compressed data packet, and then sends the data to the second data transmission device, where it is restored by the second data transmission device.
  • Both implementations can compress the wireless network user data, so the data transmitted on Backhaul can be compressed to improve the throughput of Backhaul.
  • the first data transmission device acquires the MAC PDU decoded by the Iub interface protocol, and then obtains the Uu encapsulated data, and then sends the data to the second data transmission device, and the second data transmission device performs the restoration, and the two implementation manners can be performed on the wireless network.
  • the user data is compressed, so that the data transmitted on Backhaul can be compressed to improve the throughput of Backhaul.
  • the medium can be a read only memory, a magnetic disk or a compact disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种数据传输方法和相关装置,用于实现对Backhaul上传输的数据进行压缩以提高Backhaul的吞吐量。本发明实施例方法包括:对接收到的网际协议IP数据包进行解析,得到传输网络协议头部、传输隧道协议头部、用户数据协议头部和用户应用层数据;对所述传输隧道协议头部、所述用户数据协议头部和所述用户应用层数据进行压缩,得到压缩后的传输网络协议负荷;使用所述传输网络协议头部对所述压缩后的传输网络协议负荷进行封装,得到IP压缩数据包;向核心网中或基站中的解码端设备发送所述IP压缩数据包。

Description

一种数据传输方法和相关装置
技术领域
本发明涉及通信技术领域, 尤其涉及一种数据传输方法和相关装置。 背景技术
为了保障移动业务发展所需的带宽, 基站的部署也越来越密集, 回程链 路(Backhaul )对带宽需求不断增加, Backhaul 的扩容跟不上移动流量的增 长速度, Backhaul的能力成为制约移动宽带发展的关键瓶颈。 随着运营成本 压力的逐步增加和数据业务发展带来的带宽压力, Backhaul的数据传输成为 运营商最为关注的热点问题。
为了实现站点扩容, 并优化 Backhaul的传输, 可以对 Backhaul进行物理 扩容以增加传输资源, 然而物理扩容会带来成本上升, 因此压缩 Backhaul上 传输的数据成为一种优化无线传输系统的首选方法。 在现有无线网络的协议栈中, 有两种数据压缩机制:
1 ) 、 无线接口协议结构的分组数据会聚协议 ( PDCP , Packet Data Convergence Protocol ) 层提供了针对其上层传输的网际协议 ( IP , Internet Protocol )数据流的 "头部压缩" , 例如进行头部压缩的 IP数据流主要为传 输控制十办议 /网际十办议( TCP/IP , Transmission Control Protocol/Internet Protocol ) 或实时传输协议 ( RTP , Real-time Transport Protocol ) /用户数据报协议 (UDP,User Datagram Protocol)/网际协议 ( IP, Internet Protocol ) , TS 25.323标 准中提到的头部压缩算法有 IP头部压缩 (IP Header Compression ) 算法和鲁 棒性头部压缩 (ROHC , Robust Header Compression )算法。 2 ) 、 在用户数据应用层提供有数据压缩, 这取决于应用层本身的配置。 本发明的发明人在实现本发明的过程中发现, 对于方法 1 ) , PDCP层只 能提供针对 IP数据流的头部压缩, 也就是仅仅压缩用户数据的协议头部, 在 负荷(Payload )较小时会取得比较好的效果, 当 Payload较大时, 其压缩效 果有限。 对于方法 2 ) , 并不是所有的数据应用层都配置有数据压缩。 综上, 以上两种数据压缩方法都是针对单个用户的数据, 其压缩效果依 赖于业务类型 (如 Payload 大小, 应用层如何配置等) , 整体上对数据压缩 的效果有限, 因此, 如何提高对 Backhaul 上传输的数据进行压缩以提高 Backhaul的吞吐量成为业界讨论的一个难题。
发明内容
本发明实施例提供了一种数据传输方法和相关装置, 用于实现对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞吐量。
本发明实施例提供以下技术方案:
第一方面, 本发明实施例提供了一种数据传输方法, 包括:
对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用层数据;
对所述传输隧道协议头部、 所述用户数据协议头部和所述用户应用层 数据进行压缩, 得到压缩后的传输网络协议负荷;
使用所述传输网络协议头部对所述压缩后的传输网络协议负荷进行 封装, 得到 IP压缩数据包;
向核心网或基站发送所述 IP压缩数据包。
结合第一方面, 在第一方面的第一种可能的实现方式中, 所述传输网 络协议头部包括: 传输网络 IP协议头部、 传输网络传输层协议头部; 所述对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头 部, 包括:
获取完整的传输网络 IP分组数据;
根据所述传输网络 IP分组数据的头部确定传输网络 IP协议头部和所 述传输网络 IP协议头部的长度;
根据所述传输网络 IP分组数据的头部的协议类型字段判断传输网络 传输层协议的协议类型, 然后再根据所述传输网络传输层协议的协议类型 确定传输网络传输层协议头部和传输网络传输层协议头部的长度;
根据所述传输网络 IP协议头部和所述传输网络传输层协议头部获取 所述传输网络协议头部的长度, 所述传输网络协议头部的长度是所述传输 网络 IP协议头部的长度加上所述传输网络传输层协议头部的长度; 根据所述传输网络 IP分组数据和所述传输网络协议头部的长度获取 所述传输网络协议头部。
结合第一方面, 在第一方面的第二种可能的实现方式中, 所述对接收 到的网际协议 IP数据包进行解析, 得到传输网络协议头部, 包括:
获得传输隧道协议的协议类型并根据所述传输隧道协议的协议类型 计算传输隧道协议固定头部的长度;
根据所述传输隧道协议的协议类型判断所述传输隧道协议头部是否 存在可选字段;
若不存在可选字段, 根据所述传输隧道协议的固定头部的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度;
若存在可选字段, 根据所述传输隧道协议的协议类型对应的字段判断 所述传输隧道协议头部是否存在扩展头部, 若存在可选字段但不存在扩展 头部, 根据所述传输隧道协议的固定头部的长度和可选字段的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度加上所述可选字段的长度, 若存在可选字段并且存在 扩展头部, 根据所述传输隧道协议的固定头部的长度、 所述可选字段的长 度和扩展头部的长度确定传输隧道协议头部的长度, 所述传输隧道协议头 部的长度为所述传输隧道协议的固定头部的长度加上所述可选字段的长 度再加上所述扩展头部的长度;
根据所述传输网络 IP分组数据和所述传输隧道协议头部的长度确定 所述传输隧道协议头部。
结合第一方面, 在第一方面的第三种可能的实现方式中, 所述用户数 据协议头部包括用户数据 IP协议头部的长度、 用户数据传输层协议头部, 所述对接收到的网际协议 IP数据包进行解析, 得到用户数据协议头 部, 包括:
获取到完整的用户数据 IP分组数据;
根据所述用户数据 IP分组数据的头部获取用户数据 IP协议头部的长 度;
根据所述用户数据 IP分组数据头部的协议类型字段确定用户数据传 输层协议的协议类型, 根据所述用户数据传输层协议的协议类型获取所述 用户数据传输层协议头部, 根据所述用户数据传输层协议头部获取用户数 据传输层协议头部的长度;
根据所述用户数据 IP协议头部的长度和所述用户数据传输层协议头 部的长度获取用户数据协议头部的长度, 所述用户数据协议头部的长度是 所述用户数据 IP协议头部的长度加上所述用户数据传输层协议头部的长 度;
根据所述传输网络 IP分组数据和所述用户数据协议头部的长度获取 所述用户数据协议头部。
结合第一方面或第一方面的第一种或第二种或第三种可能的实现方 式, 在第四种可能的实现方式中, 所述对所述传输隧道协议头部、 所述用 户数据协议头部和所述用户应用层数据进行压缩, 得到压缩后的传输网络 协议负荷, 包括:
对所述传输隧道协议头部、 所述用户数据协议头部进行头部压缩, 得 到头部压缩的第一结果;
对所述用户应用层数据进行压缩, 得到压缩后的用户应用层数据; 对所述头部压缩的第一结果和所述压缩后的用户应用层数据进行编 码, 得到所述压缩后的传输网络协议负荷。
结合第一方面或第一方面的第四种可能的实现方式, 在第五种可能的 实现方式中, 所述使用所述传输网络协议头部对压缩后的传输网络协议负 荷进行封装, 得到 IP压缩数据包, 之后还包括:
判断所述 I P压缩数据包的长度是否大于下层协议的最大传输单元的 长度, 若所述 IP压缩数据包的长度大于下层协议的最大传输单元的长度, 对所述 IP压缩数据包进行 IP分片, 得到分片后的 IP压缩数据包,所述下 层协议包括直接用来传输 IP压缩数据包的协议;
则所述向核心网或基站发送所述 IP压缩数据包, 包括:
向核心网或基站发送所述分片后的 IP压缩数据包。
第二方面, 本发明实施例还提供了一种数据传输方法, 包括: 对接收 到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协 议头部、 用户数据协议头部和用户应用层数据; 对所述用户应用层数据进行压缩, 得到压缩后的用户数据协议负荷; 使用所述用户数据协议头部、 所述传输隧道协议头部和所述传输网络 协议头部对所述压缩后的用户数据协议负荷进行封装, 得到 IP压缩数据 包;
向核心网或基站发送所述 IP压缩数据包。
第三方面, 本发明实施例还提供了一种数据传输方法, 包括: 获取媒体接入控制协议数据单元 MAC PDU;
对所述 MAC PDU依次按照媒体接入控制协议 MAC、 无线链路控制 协议 RLC、 分组数据汇聚协议 PDCP进行解码, 得到分组数据汇聚协议协 议数据单元 PDCP PDU;
使用用户数据协议头部对所述 PDCP PDU进行解码, 得到解码数据; 对所述解码数据进行压缩, 得到压缩数据;
依次按照所述用户数据协议头部、 PDCP、 RLC、 MAC对所述压缩数 据进行封装, 得到封装数据;
向核心网中或基站发送所述封装数据。
结合第三方面, 在第三方面的第一种可能的实现方式中, 所述获取媒 体接入控制协议数据单元 MAC PDU , 包括:
接收 lub封装数据;
对所述接收到的 lub封装数据按照 lub接口协议进行解码,得到 MAC PDU;
或,
接收所述基站的协议处理模块或者无线网络控制器 RNC的协议处理 模块发送的 MAC PDU。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述对接收到的 lub封装数据按照 lub接口协议进行解码, 得到所述 MAC PDU, 包括:
当所述 lub封装数据是存在 IP分片的 IP数据包时, 对所述存在 IP分 片的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据; 对所述传输网络 IP分组数据按照网际协议 IP、 用户数据报协议 UDP 进行解码, 得到 UDP负载; 对所述 UDP负载按照成帧协议 FP进行解码, 得到所述 MAC PDU。 结合第三方面, 在第三方面的第三种可能的实现方式中, 所述对所述 MAC PDU依次按照媒体接入控制协议 MAC、 无线链路控制协议 RLC和 分组数据汇聚协议 PDCP解码,得到分组数据汇聚协议协议数据单元 PDCP PDU, 包括:
对所述 MAC PDU进行 MAC层解码, 得到 RLC PDU;
对所述 RLC PDU进行 RLC层解码, 然后对解码后的 RLC PDU进行 PDCP解码重组, 得到 PDCP PDU。
第四方面, 本发明实施例还提供了一种数据传输方法, 包括: 获取媒体接入控制协议数据单元 MAC PDU;
对所述 MAC PDU依次按照媒体接入控制协议 MAC、 无线链路控制 协议 RLC进行解码, 得到解码数据;
对所述解码数据进行压缩, 得到压缩数据;
依次按照 RLC、 MAC对所述压缩数据进行封装, 得到封装数据; 向核心网中或基站发送所述封装数据。
第五方面, 本发明实施例还提供了一种数据传输方法, 包括: 接收网际协议 IP压缩数据包;
对所述 IP压缩数据包进行传输网络协议头部、 传输隧道协议头部、 用户数据协议头部解码, 得到压缩后的用户数据协议负荷;
对所述压缩后的用户数据协议负荷进行解压缩, 得到用户应用层数 据;
用所述传输网络协议头部、 所述传输隧道协议头部、 所述用户数据协 议头部对所述用户应用层数据进行封装, 得到 IP数据包;
向核心网或基站发送所述 IP数据包。
第六方面, 本发明实施例还提供了一种数据传输设备, 包括: IP数据 包解析单元、 压缩单元、 封装单元和发送单元, 其中,
所述 IP数据包解析单元, 用于对接收到的网际协议 IP数据包进行解 析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用 户应用层数据;
所述压缩单元, 用于对所述传输隧道协议头部、 所述用户数据协议头 部和所述用户应用层数据进行压缩, 得到压缩后的传输网络协议负荷; 所述封装单元, 用于使用所述传输网络协议头部对所述压缩后的传输 网络协议负荷进行封装, 得到 IP压缩数据包;
所述发送单元, 用于向核心网中或基站中的解码端设备发送所述 IP 压缩数据包。
第七方面, 本发明实施例还提供了一种数据传输设备, 包括: IP数据 包解析单元、 压缩单元、 封装单元和发送单元, 其中,
IP数据包解析单元, 用于对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应 用层数据;
压缩单元, 用于对所述用户应用层数据进行压缩, 得到压缩后的用户 数据协议负荷;
封装单元, 用于使用所述用户数据协议头部、 所述传输隧道协议头部 和所述传输网络协议头部对所述压缩后的用户数据协议负荷进行封装, 得 到 IP压缩数据包;
发送单元, 用于向核心网中或基站中的解码端设备发送所述 IP压缩 数据包。
从以上技术方案可以看出, 本发明实施例具有以下优点:
在本发明提供的一实施例中, 对接收到的 IP数据包进行解析, 得到了 传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用层 数据, 然后对传输隧道协议头部、 用户数据协议头部和用户应用层数据进 行压缩, 再用传输网络协议头部对压缩后的传输网络协议负荷进行封装, 故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。
在本发明提供的另一实施例中, 对接收到的 IP数据包进行解析, 得到 了传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用 层数据, 然后对用户应用层数据进行压缩, 再用用户数据协议头部、 传输 隧道协议头部和传输网络协议头部对压缩后的用户数据协议负荷进行封 缩,故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。 在本发明提供的另一实施例中, 首先获取到 MAC PDU , 然后对 MAC PDU依次按照 MAC、 RLC、 PDCP进行解码, 得到 PDCP PDU , 并使用用 户数据协议头部对 PDCP PDU进行解码, 得到解码数据, 再对解码数据进 行压缩, 得到压缩数据, 之后再依次对压缩数据按照用户数据协议头部、 PDCP、 RLC、 MAC进行封装, 得到封装数据, 通过这种优化方式可以实 现对解码数据的压缩, 故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。
在本发明提供的另一实施例中, 首先获取到 MAC PDU , 然后对 MAC PDU依次按照 MAC、 RLC进行解码, 得到解码数据, 再对解码数 据进行压缩, 得到压缩数据, 之后再依次对压缩数据按照 RLC、 MAC 进行封装, 得到封装数据, 通过这种优化方式可以实现对解码数据的压 缩, 故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞 吐量。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述 中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域的技术人员来讲, 还可以根据这些附 图获得其他的附图。
图 1为本发明实施例提供的一种数据传输方法的流程方框示意图; 图 2为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 3为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 4为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 5为本发明实施例提供的第一数据传输设备和第二数据传输设备进行 交互的一种示意图;
图 6为本发明实施例提供的第一数据传输设备和第二数据传输设备进行 交互的另一种示意图;
图 7为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 8为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 9为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 10为本发明实施例提供的另一种数据传输方法的流程方框示意图; 图 11 为本发明实施例提供的第一数据传输设备和第二数据传输设备进 行交互的另一种示意图;
图 12 为本发明实施例提供的第一数据传输设备和第二数据传输设备进 行交互的另一种示意图;
图 13为本发明实施例提供的一种数据传输设备的结构组成示意图; 图 14为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 15为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 16为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 17为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 18为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 19为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 20为本发明实施例提供的另一种数据传输设备的结构组成示意图; 图 21为本发明实施例提供的一种数据传输系统的结构组成示意图; 图 22为本发明实施例提供的数据传输系统的一种应用场景示意图; 图 23为本发明实施例提供的数据传输系统的另一种应用场景示意图; 图 24为本发明实施例提供的数据传输系统的另一种应用场景示意图; 图 25为本发明实施例提供的数据传输系统的另一种应用场景示意图。 具体实施方式
本发明实施例提供了一种数据传输方法和相关装置, 用于实现对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞吐量。
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将 结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整 地描述, 显然, 下面所描述的实施例仅仅是本发明一部分实施例, 而非全部 实施例。 基于本发明中的实施例, 本领域的技术人员所获得的所有其他实施 例, 都属于本发明保护的范围。
在本发明实施例中, 回程链路(Backhaul ) 的两端都部署有本发明实施 例提供的数据传输设备, 在一个完整的数据传输过程中, 在其中一个数据传 输方向上, 回程链路一端的数据传输设备(也称之为编码端设备)用于实现 对传输的数据的去重, 回程链路的另一端的数据传输设备(也称之为解码端 设备)用于实现对传输的数据的还原, 这两个数据传输设备分别部署在整个 回程链路的两端,用于实现在回程链路上传输的数据的压缩,以提高 Backhaul 的吞吐量。 需要指出的是, 在回程链路两端部署的任一个数据传输设备上同 时实现了去重和还原两个功能, 以对另一个方向上数据传输实现同样的优化 效果。 本发明实施例提供的数据传输设备具体可以是一个单独的优化设备, 也可以是一个集成在网元上的模块, 接下来分别描述在一个完整的数据传输 过程中, 用于实现数据去重的数据传输设备和用于实现数据还原的数据传输 设备具体是如何实现本发明的, 后续将数据去重和数据还原分别以单独的实 施例的方式进行描述。
首先介绍本发明实施例对于数据去重的实现方式, 本发明实施例提供的 一种数据传输方法, 请参阅图 1所示, 包括:
101、 数据传输设备对接收到的网际协议( IP , Internet Protocol )数据 包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议 头部和用户应用层数据。
在本发明实施例中, 用于实现对数据去重的数据传输设备(也称之为 编码端设备) 部署在 Backhaul的一端, 首先对在 Backhaul上传输的标准 IP数据包进行解析,依次可以得到传输网络协议头部、传输隧道协议头部、 用户数据协议头部和用户应用层数据。
需要说明的是, 在本发明实施例中, 传输网络协议头部指的是使用协 议类型为传输网络协议的头部数据, 在本发明实施例中可以筒称为传输网 络协议头部, 传输隧道协议头部指的是使用协议类型为传输隧道协议的数 据头部, 用户数据协议头部指的是使用协议类型为用户数据协议的数据头 部, 将传输网络协议、 传输隧道协议、 用户数据协议这三个对应的数据头 部从标准的 IP数据包中切片掉之后, IP数据包中剩余的数据就是用户应 用层数据了。
可选的, 传输网络协议头部可以包括: 传输网络 IP协议头部、 传输 网络传输层协议头部, 其中传输网络协议可以包括传输网络 IP协议和传 输网络传输层协议, 传输网络 IP协议头部指的是使用协议类型为传输网 络层的 IP协议的数据头部, 传输网络传输层协议头部指的是使用协议类 型为传输网络层的传输层协议的数据头部。
可选的, 传输隧道协议头部可以包括: 通用分组无线服务技术隧道协议 用户面 (GTP-U, GPRS Tunnelling Protocol- User )协议头部, 传输隧道协议 具体指的是 GTP-U协议, GTP-U协议头部指的是使用协议类型为 GTP-U协议 的数据头部。
可选的, 用户数据协议头部可以包括: 传输隧道协议所承载的用户数据 IP协议头部、 用户数据传输层协议头部, 用户数据协议可以包括用户数据 IP 协议和用户数据传输层协议, 用户数据 IP协议头部指的是使用协议类型为无 线网络层的用户数据的 IP协议的数据的头部, 用户数据传输层协议头部指的 是使用协议类型为无线网络层的用户数据的传输层协议的数据头部。
可选的, 用户应用层数据可以包括: 用户数据传输层协议的负荷
( Payload )。
在本发明实施例中, 数据传输设备根据协议栈结构对标准的 IP数据 包进行解析, 依次将 IP数据包中的传输网络协议头部、 传输隧道协议头 部、 用户数据协议头部切为一个部分, 例如可以统称之为头部组块, 数据 传输设备将 IP数据包中切片后剩余的数据切为一个部分, 作为用户应用 层数据。
需要说明的是, 对于步骤 101而言, 数据传输设备对接收到的网际协 议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用 户数据协议头部和用户应用层数据, 其含义也可以等同的解释为以下四个 步骤:
Al、 数据传输设备对接收到的网际协议 IP数据包进行解析, 得到传 输网络协议头部;
A2、 数据传输设备对接收到的网际协议 IP数据包进行解析, 得到传 输隧道协议头部;
A3、 数据传输设备对接收到的网际协议 IP数据包进行解析, 得到用 户数据协议头部;
A4、 数据传输设备对接收到的网际协议 IP数据包进行解析, 得到用 户应用层数据。
对于步骤 A1 , 作为其中一种可实现的方式是, 数据传输设备对接收 到的 IP数据包进行解析, 得到传输网络协议头部, 具体可以包括如下步 骤:
Al 1、 数据传输设备接收到 IP数据包存在 IP分片时, 对存在 IP分片 的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据;
A12、数据传输设备根据传输网络 IP分组数据的头部获取传输网络 IP 协议头部和传输网络 IP协议头部的长度;
A13、数据传输设备根据传输网络 IP分组数据的头部的协议类型字段 判断传输网络传输层协议的协议类型, 然后再根据传输网络传输层协议的 协议类型获取传输网络传输层协议头部和传输网络传输层协议头部的长 度。 进一步, 具体的再根据传输网络传输层协议的协议类型获取传输网络 传输层协议头部和对应的字段, 根据传输网络传输层协议头部和对应的字 段获取传输网络传输层协议头部的长度。
A14、数据传输设备根据传输网络 IP协议头部和传输网络传输层协议 头部获取传输网络协议头部的长度, 其中, 传输网络协议头部的长度是传 输网络 IP协议头部的长度加上传输网络传输层协议头部的长度。
A15、根据传输网络 IP分组数据和传输网络协议头部的长度获取传输 网络协议头部, 其中, 传输网络协议头部是从传输网络 IP分组数据的开 头到长度为传输网络协议头部的长度对应的数据。
对于步骤 Al 1 , 数据传输设备判断接收到的 IP数据包是否存在 IP分 片, 当 IP数据包存在 IP分片时, 数据传输设备对 IP数据包进行 IP分片 重组, 获取到了完整的传输网络 IP分组数据, 其中, 传输网络 IP分组数 据指的是数据传输设备对标准的 IP数据包进行分片重组后得到的结果, 对 IP数据包进行分片重组的实现方式具体可参见现有技术, 此处不再赘 述。
对于步骤 A12 , 数据传输设备对传输网络 IP分组数据的头部按照协 议栈结构的特征进行解析, 可以获取到传输网络 IP协议头部和传输网络 IP协议头部的长度, 然后通过步骤 A13数据传输设备又获取到了传输网 络传输层协议头部的长度, 步骤 A14中, 数据传输设备分别获取到传输网 络 IP协议头部的长度和传输网络传输层协议头部的长度之后, 数据传输 设备将传输网络 IP协议头部的长度加上传输网络传输层协议头部的长度 之和作为传输网络协议头部的长度, 最后通过步骤 A15、 根据传输网络 IP 分组数据和传输网络协议头部的长度获取传输网络协议头部, 从传输网络 IP分组数据的开头到长度为传输网络协议头部的长度对应的数据为传输 网络协议头部。
对于步骤 A2、 作为其中一种可实现的方式是, 数据传输设备对接收 到的网际协议 IP数据包进行解析, 得到传输隧道协议头部, 在具体实现 时, 可以包括如下步骤:
A21、 数据传输设备根据传输隧道协议的协议类型计算传输隧道协议 的固定头部的长度;
A22、 数据传输设备根据传输隧道协议的协议类型对应的字段判断传 输隧道协议头部是否存在可选字段;
A23、 若不存在可选字段, 数据传输设备根据传输隧道协议的固定头 部的长度获取传输隧道协议头部的长度, 传输隧道协议头部的长度为传输 隧道协议头部的长度;
A24、 若存在可选字段, 数据传输设备根据传输隧道协议的协议类型 对应的字段判断传输隧道协议头部是否存在扩展头部;
A25、 若传输隧道协议头部不存在扩展头部, 数据传输设备根据传输 隧道协议的固定头部的长度和可选字段的长度获取传输隧道协议头部的 长度, 其中, 传输隧道协议头部的长度为传输隧道协议的固定头部的长度 加上可选字段的长度;
A26、 若传输隧道协议头部存在扩展头部, 数据传输设备根据传输隧 道协议的固定头部的长度、 可选字段的长度和扩展头部的长度获取传输隧 道协议头部的长度, 其中, 传输隧道协议头部的长度为传输隧道协议的固 定头部的长度加上可选字段的长度再加上扩展头部的长度;
A27、数据传输设备根据传输网络 IP分组数据和传输隧道协议头部的 长度获取传输隧道协议头部, 其中, 传输隧道协议头部是从传输网络 IP 分组数据中的传输网络协议头部之后开始到长度为传输隧道协议头部的 长度对应的数据。
对于步骤 A 21 , 数据传输设备首先计算出传输隧道协议的固定头部, 然后步骤 A22判断是否存在可选字段, 步骤 A24在存在可选字段的情况 下判断传输隧道协议头部是否存在扩展头部, 最后将固定头部加上可选字 段加上扩展头部, 得到传输隧道协议头部的长度, 若不存在扩展头部, 将 固定头部加上可选字段, 得到传输隧道协议头部的长度, 若不存在可选字 段, 则固定头部的长度就是传输隧道协议头部的长度。
需要说明的是, 本发明实施例中, 数据传输设备获取传输隧道协议头 部的长度还有其它实现方式, 此处只是说明, 不作限定。 在获取到传输隧 道协议头部的长度之后, 从传输网络 IP分组数据中的传输网络协议头部 之后开始到长度为传输隧道协议头部的长度对应的数据作为传输隧道协 议头部。 此处需要指明的是, 本发明实施例中, 传输隧道协议仍然承载有 数据, 对传输隧道协议承载的数据进行解析, 就能够得到用户数据协议头 部和用户应用层数据。
需要说明的是, 在实际应用中, 传输网络传输层协议的协议类型具体 可以为传输控制协议 ( TCP , Transmission Control Protocol )或用户数据报 协议(UDP , User Datagram Protocol ) , 传输隧道协议的协议类型具体可 以为通用分组无线服务技术 ( GPRS , General Packet Radio Service ) 隧道 协议用户面 ( GTP-U, GPRS Tunnelling Protocol- User ) , 在后续实施例中 将结合具体的协议类型对本发明进行描述。
需要说明的是, 本发明实施例中, 通过步骤 Al、 A2数据传输设备得 到传输隧道协议头部之后, 在传输隧道协议中仍然承载有数据, 称之为传 输隧道协议承载的数据, 数据传输设备对传输隧道协议承载的数据进行解 析, 就能够得到用户数据协议头部和用户应用层数据, 也就是对于步骤 A3 ,作为其中一种可实现的方式是,数据传输设备对接收到的网际协议 IP 数据包进行解析, 得到用户数据协议头部, 具体可以包括如下步骤:
A31、 数据传输设备接收到传输隧道协议承载的数据存在 IP分片时, 对传输隧道协议承载的数据进行 IP分片重组, 获取到完整的用户数据 IP 分组数据。
A32、数据传输设备根据用户数据 IP分组数据的头部获取用户数据 IP 协议头部的长度。
A33、数据传输设备根据用户数据 IP分组数据头部的协议类型字段获 取用户数据传输层协议的协议类型, 根据用户数据传输层协议的协议类型 获取用户数据传输层协议头部和对应的字段, 根据用户数据传输层协议头 部和对应的字段获取用户数据传输层协议头部的长度。
A34、数据传输设备根据用户数据 IP协议头部的长度和用户数据传输 层协议头部的长度获取用户数据协议头部的长度, 其中, 用户数据协议头 部的长度是用户数据 IP协议头部的长度加上用户数据传输层协议头部的 长度。
A35、数据传输设备根据传输网络 IP分组数据和用户数据协议头部的 长度获取用户数据协议头部, 其中, 用户数据协议头部是从传输网络 IP 分组数据中的传输隧道协议头部之后开始到长度为用户数据协议头部的 长度对应的数据。
需要说明的是, 本发明实施例中, 通过步骤 Al、 A2、 A3数据传输设 备分别解析出传输网络协议头部、 传输隧道协议头部、 用户数据协议头部 之后, 对于步骤 A4 , 作为其中一种可实现的方式是, 数据传输设备对接 收到的网际协议 IP数据包进行解析, 得到用户应用层数据, 具体可以包 括如下步骤:
数据传输设备根据传输网络 IP分组数据和用户数据协议头部获取用 户应用层数据, 其中, 用户应用层数据是从传输网络 IP分组数据中的用 户数据协议头部之后开始到传输网络 IP分组数据的结尾对应的数据。
当步骤 101执行完成之后, 本发明实施例中, 数据传输设备可以执行 步骤 102 , 接下来对 102进行详细说明。
102、 数据传输设备对传输隧道协议头部、 用户数据协议头部和用户 应用层数据进行压缩, 得到压缩后的传输网络协议负荷。
在本发明实施例中, 数据传输设备通过对 IP数据包的协议栈结构的 解析得到了传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和 用户应用层数据, 然后数据传输设备将对传输隧道协议头部、 用户数据协 议头部和用户应用层数据进行压缩, 得到压缩后的传输网络协议负荷。
需要说明的是, 在本发明实施例中, 数据传输设备对传输隧道协议头 部、 用户数据协议头部和用户应用层数据进行压缩, 得到压缩后的传输网 络协议负荷, 包括如下步骤:
Bl、 数据传输设备对传输隧道协议头部、 用户数据协议头部进行头部 压缩, 得到头部压缩的第一结果;
B2、 数据传输设备对用户应用层数据进行压缩, 得到压缩后的用户应 用层数据; B3、数据传输设备对头部压缩的第一结果和压缩后的用户应用层数据 进行编码, 得到压缩后的传输网络协议负荷。
也就是说, 在步骤 B1中, 数据传输设备先对传输隧道协议头部、 用 户数据协议头部进行头部压缩, 然后通过步骤 B2对用户应用层数据进行 压缩, 步骤 B3中数据传输设备对 B1和 B2分别进行压缩后的结果放在一 起进行编码, 得到压缩后的传输网络协议负荷。
需要说明的是, 在本发明实施例中, 通过步骤 102在得到 IP压缩数 据包之后, 本发明实施例中还可以包括如下步骤: 数据传输设备判断 IP 压缩数据包的长度是否大于下层协议的最大传输单元的长度, 若 IP压缩 数据包的长度大于下层协议的最大传输单元的长度, 则对 IP压缩数据包 进行 IP分片, 得到分片后的 IP压缩数据包。 本发明实施例中提出的下层 协议指的是直接用来传输 IP压缩数据包的协议。 若对 IP压缩数据包进行 了分片, 则本发明实施例中后续步骤 104具体可以为: 向核心网或基站发 送分片后的 IP压缩数据包。
103、 数据传输设备使用传输网络协议头部对压缩后的传输网络协议 负荷进行封装, 得到 IP压缩数据包。
本发明实施例中, 步骤 101中获取到传输网络协议头部之后, 此处在 数据传输设备获取到压缩后的传输网络协议负荷之后, 数据传输设备使用 传输网络协议头部对压缩后的传输网络协议负荷进行封装, 得到 IP压缩 数据包。
104、 数据传输设备向核心网或基站发送 IP压缩数据包。
在此处描述的本发明实施例中, 具体的可以是数据传输设备向核心网 中或基站中的解码端设备发送 IP压缩数据包,数据传输设备作为编码端设 备, 获取到 IP压缩数据包之后, 将 IP压缩数据包发送给解码端设备, 则 编码端设备发送的是已经经过压缩的 IP压缩数据包, 故可以减少传输链 路中的数据量。
在前述本发明提供的实施例中, 对接收到的 IP数据包进行解析, 得到 了传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用 层数据, 然后对传输隧道协议头部、 用户数据协议头部和用户应用层数据 进行压缩, 再用传输网络协议头部对压缩后的传输网络协议负荷进行封 缩,故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。 前述实施例介绍了本发明提供的一种数据传输方法, 接下来介绍本发 明实施例提供的另一种数据传输方法, 如图 2所示, 主要可以包括如下步 骤:
201、 数据传输设备对接收到的 IP数据包进行解析, 得到传输网络协 议头部、 传输隧道协议头部、 用户数据协议头部和用户应用层数据。
此处描述的步骤 201和前述实施例中描述的步骤 101相同, 同样可以 具体解析为前述的步骤 Al、 A2、 A3、 A4, 此处不再赘述, 具体描述请参 阅前述实施例的说明。
202、 数据传输设备对用户应用层数据进行压缩, 得到压缩后的用户 数据协议负荷。
在步骤 201中数据传输设备获取到应用层数据之后, 数据传输设备对 用户应用层数据进行压缩。
在本发明实施例中, 步骤 102和步骤 202都是对 IP数据包进行解析 之后的结果进行压缩的,实现的是对数据传输的优化。与步骤 102不同的, 在步骤 202中, 数据传输设备对用户应用层数据进行压缩, 压缩后的用户 数据协议负荷, 而步骤 102中是将传输隧道协议头部、 用户数据协议头部 和用户应用层数据进行压缩, 得到压缩后的传输网络协议负荷。
通过步骤步骤 202的压缩能够实现对用户应用层数据进行压缩, 故可 以实现对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞吐量。
需要说明的是, 在本发明实施例中, 数据传输设备对用户应用层数据 进行压缩, 得到压缩后的用户数据协议负荷, 作为其中一种实现方式, 主 要包括如下步骤:
Cl、 数据传输设备判断用户数据传输层协议是否为传输控制协议
( TCP , Transmission Control Protocol ) , 若是, 获取用户应用层数据, 其 中, 用户应用层数据是指 TCP会话重组后的的数据负载 (Payload ) ;
C2、 数据传输设备对用户应用层数据进行切片, 得到多个的用户应用 层数据片段;
C3、数据传输设备分别对切片后得到的每一个用户应用层数据片段生 成一个数字摘要;
C4、 数据传输设备生成码本, 其中, 码本包括每一个数字摘要与每一 个用户应用层数据片段、 以及每一个数字摘要与每一个用户应用层数据片 段的索引结构;
C5、 数据传输设备将码本发送到使用该码本进行解码的解码端设备, 在实施中该步骤是可选的步骤;
C6、数据传输设备根据该码本判断多个的用户应用层数据片段中是否 存在重复的用户应用层数据片段;
C7、 若存在重复的用户应用层数据片段, 数据传输设备用重复的用户 应用层数据片段对应的数字摘要代替重复的用户应用层数据片段;
C8、 数据传输设备将重复的用户应用层数据片段对应的数字摘要、 未 重复的用户应用层数据片段进行编码, 得到压缩后的用户应用层数据。
对于步骤 C1 , 还可以包括: 若用户数据传输层协议不是 TCP, 获取 用户应用层数据, 其中, 用户应用层数据是指从传输网络 IP分组数据中 的用户数据协议头部之后开始到传输网络 IP分组数据的结尾对应的数据。
对于步骤 C2 , 数据传输设备对用户应用层数据进行切片, 就可以得 到多个的用户应用层数据片段, 接下来步骤 C3对每一个用户应用层数据 片段生成一个数字摘要, 其中, 数字摘要也可以称之为指纹, 数字摘要包 括了用户应用层数据片段的所有数据信息, 若两个用户应用层数据片段对 应的数字摘要完全相同, 则这两个用户应用层数据片段也是完全相同的, 对于步骤 C4数据传输设备生成的码本中包括了每一个数字摘要、 每一个 用户应用层数据片段、 每一个数字摘要与每一个用户应用层数据片段的索 引结构, 其中, 索引结构就是数字摘要与用户应用层数据片段的——对应 关系。 步骤 C5是数据传输设备将生成的码本同步到传输链路另一端的另 一数据传输设备(也称之为解码端设备) , 以使传输链路两端的两个数据 传输设备的码本保持完全相同, 在数据传输设备侧对数据去重之后, 在另 一数据传输设备对数据进行还原。 步骤 C6是数据传输设备根据索引结构 判断是否存在重复的用户应用层数据片段, 若有重复的用户应用层数据片 段, 步骤 C7用与重复的用户应用层数据片段对应的数字摘要代替重复的 用户应用层数据片段, 步骤 C8将重复的用户应用层数据片段对应的数字 摘要、 未重复的用户应用层数据片段进行编码, 得到 IP压缩数据包, 重 复的用户应用层数据片段各自对应的数字摘要是完全相同的, 未重复的用 户应用层数据片段指的是各自对应的数字摘要各不相同的用户应用层数 据片段。
203、 数据传输设备使用用户数据协议头部、 传输隧道协议头部和传 输网络协议头部对压缩后的用户数据协议负荷进行封装, 得到 IP压缩数 据包。
本发明实施例中, 步骤 201中获取到用户数据协议头部、 传输隧道协 议头部和传输网络协议头部之后, 此处在数据传输设备获取到压缩后的用 户数据协议负荷之后, 数据传输设备使用用户数据协议头部、 传输隧道协 议头部和传输网络协议头部对压缩后的用户数据协议负荷进行封装, 得到
IP压缩数据包。
204、 数据传输设备向核心网或基站发送 IP压缩数据包。
在此处描述的本发明实施例中, 具体的可以是数据传输设备向核心网 中或基站中的解码端设备发送 IP压缩数据包, 数据传输设备作为编码端 设备, 获取到 IP压缩数据包之后, 将 IP压缩数据包发送给解码端设备, 则编码端设备发送的是已经经过压缩的 IP压缩数据包, 故可以减少传输 链路中的数据量。
在前述本发明提供的实施例中, 对接收到的 IP数据包进行解析, 得到 了传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用 层数据, 然后对用户应用层数据进行压缩, 再用用户数据协议头部、 传输 隧道协议头部和传输网络协议头部对压缩后的用户数据协议负荷进行封 缩,故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。
以上实施例介绍了在一个完整的数据传输过程中, 回程链路一端的数 据传输设备用于实现对传输的数据的去重, 接下来介绍位于回程链路另一 端的数据传输设备用于实现对传输的数据的还原, 请参阅图 3所示, 本发 明实施例提供的一种数据传输方法, 图 3所示的数据还原方法与前述图 1所 示的数据压缩方法相对应, 如图 3所示, 具体可以包括:
301、 数据传输设备接收 IP压缩数据包。 在本发明实施例中, 此处描述的数据传输设备和前述实施例介绍的数 据传输设备位于同一条传输链路上, 当同一条传输链路的一端的数据传输 设备发送 IP压缩数据包时, 该传输链路的另一端的数据传输设备首先需 要接收该 IP压缩数据包, 也就是说, 传输链路的一端的数据传输设备进 行数据的去重后, 该传输链路的另一端的数据传输设备接收该 IP压缩数 据包则需要进行数据的还原, 具体实现对数据的还原过程请参阅后续描 述。
需要说明的是, 数据传输设备接收到的是 IP压缩数据包, 数据传输 设备执行步骤 302至步骤 305 , 此处实施例中, 在进行还原的时候也就需 要执行与去重方法相对应的还原方法。
302、数据传输设备对 IP压缩数据包按照传输网络协议头部进行解码, 得到压缩后的传输网络协议负荷。
在本发明实施例中, 数据传输设备对 IP压缩数据包按照传输网络协 议头部进行解码,就可以得到压缩后的传输网络协议负荷,需要说明的是, 在这里描述的解码的过程与前述实施例中介绍的压缩的过程是相反的, 部 署在同一传输链路两端的两个数据传输设备是相互知悉对端的数据传输 设备是如何对数据处理的, 也就是说, 在同一传输链路的一端的数据传输 设备如何对数据压缩, 则相应的, 对端的数据传输设备就需要采用相反的 手段对数据进行解压缩。
需要说明的是, 可选的是, 传输网络协议头部包括: 传输网络 IP协议头 部、 传输网络传输层协议头部。 传输隧道协议头部包括: GTP-U协议头部; 用户数据协议头部包括: 传输隧道协议所承载的用户数据 IP协议头部、 用户 数据传输层协议头部。 用户应用层数据包括: 用户数据传输层协议的负荷 Payload。
需要说明的是, 在本发明实施例中, 步骤 202数据传输设备对 IP压 缩数据包按照传输网络协议头部进行解码, 得到压缩后的传输网络协议负 荷, 可以包括如下步骤:
Dl、 数据传输设备对 IP压缩数据包进行解析, 获取传输网络 IP协议 头部的长度和对应的字段;
D2、 数据传输设备根据传输网络 IP协议头部的长度和对应的字段获 取传输网络传输层协议头部的长度; D3、 数据传输设备根据传输网络 IP协议头部的长度和传输网络传输 层协议头部的长度获取传输网络协议头部的长度, 其中, 传输网络协议头 部的长度为传输网络 IP协议头部的长度加上传输网络传输层协议头部的 长度;
D4、 数据传输设备将从 IP压缩数据包的开头到传输网络协议头部的 长度对应的数据截去, 得到压缩后的传输网络协议负荷。
需要说明的是, 步骤 D4中对 IP压缩数据包而言, 从 IP压缩数据包 的开头到传输网络协议头部的长度对应的数据截去, 则对 IP压缩数据包 中所剩下的数据就可以称之为压缩后的传输网络协议负荷了。
303、 数据传输设备对压缩后的传输网络协议负荷进行解压缩, 依次 得到传输隧道协议头部、 用户数据协议头部和用户应用层数据。
在本发明实施例中, 通过步骤 302数据传输设备对 IP压缩数据包按 照传输网络协议头部进行解码之后, 得到了压缩后的传输网络协议负荷, 接下来再对压缩后的传输网络协议负荷进行解压缩, 依次就可以得到传输 隧道协议头部、 用户数据协议头部和用户应用层数据。
需要说明的是, 在本发明实施例中, 数据传输设备对压缩后的传输网络 协议负荷进行解压缩, 依次得到传输隧道协议头部、 用户数据协议头部和用 户应用层数据, 可以包括如下步骤:
El、 数据传输设备按照传输隧道协议头部、 用户数据协议头部依次对压 缩后的传输网络协议负荷进行头部解压缩, 得到解压缩后的传输隧道协议头 部、 解压缩后的用户数据协议头部以及压缩后的用户应用层数据;
E2、 数据传输设备对压缩后的用户应用层数据进行解压缩, 得到用户应 用层数据。
也就是说, 对于步骤 E1 , 压缩后的传输网络协议负荷进行头部解压 缩之后, 得到了压缩后的用户应用层数据, 然后再执行步骤 E2 , 对压缩 后的用户应用层数据进行解压缩, 得到了用户应用层数据。
需要说明的是, 数据传输设备对压缩后的用户应用层数据进行解压 缩, 得到用户应用层数据, 具体可以包括如下步骤:
Fl、 数据传输设备接收编码端设备发送的码本, 其中, 该码本包括: 每一个数字摘要与每一个用户应用层数据片段、 以及每一个数字摘要与每 一个用户应用层数据片段的索引结构;
F2、数据传输设备根据该码本判断压缩后的用户应用层数据中是否存 在重复的用户应用层数据片段;
F3、 若存在, 数据传输设备将压缩后的用户应用层数据解码为重复的 用户应用层数据片段对应的数字摘要、 未重复的用户应用层数据片段, 然 后执行步骤 F4;
F4、数据传输设备将解码得到的重复的用户应用层数据片段对应的数 字摘要还原为重复的用户应用层数据片段;
F5、 数据传输设备将重复的用户应用层数据片段、 未重复的用户应用 层数据片段进行组合, 得到用户应用层数据。
需要说明的是,对于步骤 F1 ,数据传输设备从与该数据传输设备属于 同一传输链路的另一数据传输设备(也称之为编码端设备)接收到码本, 同一传输链路两端的数据传输设备中保持了码本的同步, 则另一数据传输 设备根据码本对传输的数据进行去重, 此处的数据传输设备根据该码本对 传输的数据进行还原。对于步骤 F2 ,数据传输设备根据该码本就可以判断 一下在压缩后的用户应用层数据中是否存在有数字摘要, 若在 IP压缩数 据包中存在有数字摘要, 则可以说明, 在 IP压缩数据包中存在有重复的 用户应用层数据片段, 若在 IP压缩数据包中没有存在数字摘要, 则说明 在 IP压缩数据包中没有存在重复的用户应用层数据片段。
对于步骤 F4 , 数据传输设备根据码本将 IP压缩数据包中存在的数字 摘要还原为其对应的用户应用层数据片段, 则数据传输设备将 IP压缩数 据包还原为两个部分: 1、 根据数字摘要还原的用户应用层数据片段(也 就是重复的用户应用层数据片段) , 2、 未被还原的用户应用层数据片段 (也就是未重复的用户应用层数据片段) 。
对于步骤 F5 ,数据传输设备将重复的用户应用层数据片段、 未重复的 用户应用层数据片段进行组合, 得到用户应用层数据, 由于在前述实施例 中将用户应用层数据进行了切片, 故此处需要对用户应用层数据片段进行 重新组合, 以得到用户应用层数据。
304、 数据传输设备使用传输网络协议头部对传输隧道协议头部、 用 户数据协议头部和用户应用层数据进行封装, 得到 IP数据包。
在本发明实施例中, 通过步骤 303对压缩后的传输网络协议负荷进行 解压缩, 依次得到了传输隧道协议头部、 用户数据协议头部和用户应用层 数据, 然后通过步骤 304的方式使用传输网络协议头部对传输隧道协议头 部、 用户数据协议头部和用户应用层数据进行封装, 就可以得到 IP数据 包了。
通过步骤 302至 304中的描述, 数据传输设备实现了对 IP压缩数据 包的还原, 得到了 IP数据包。
305、 数据传输设备向核心网或基站发送 IP数据包。
在本发明实施例中, 数据传输设备作为解码端设备, 通过传输链路接 收到编码端设备发送的 IP压缩数据包之后, 通过步骤 302至 304对 IP压 缩数据包进行了还原, 得到了 IP数据包, 然后将 IP数据包发送到核心网 或者基站。
在本发明提供的实施例中, 数据传输设备接收到 IP压缩数据包之后, 然后按照传输网络协议头部对 IP压缩数据包进行解码, 得到压缩后的传输 网络协议负荷, 再对压缩后的传输网络协议负荷进行解压缩, 得到了传输 隧道协议头部、 用户数据协议头部和用户应用层数据, 最后用传输网络协 议头部对传输隧道协议头部、 用户数据协议头部和用户应用层数据进行封 装, 得到 IP数据包, 通过如上实现方式, 实现了对 IP压缩数据包还原, 得 到了 IP数据包, 实现了对传输链路上传输的压缩数据包的还原, 故可以提 高 Backhaul的吞吐量。
以上实施例介绍了位于回程链路另一端的数据传输设备用于实现对 传输的数据的还原, 请参阅图 4所示, 本发明实施例提供的另一种数据传 输方法, 图 4所示的数据还原方法与前述图 2所示的数据压缩方法相对应, 如图 4所示, 具体可以包括:
401、 数据传输设备接收 IP压缩数据包。
402、 数据传输设备对 IP压缩数据包按照传输网络协议头部、 传输隧 道协议头部、 用户数据协议头部进行解码, 得到压缩后的用户数据协议负 荷。
在本发明实施例中, 数据传输设备对 IP压缩数据包按照传输网络协 议头部、 传输隧道协议头部、 用户数据协议头部进行解码, 得到压缩后的 用户数据协议负荷进行解码, 就可以得到压缩后的用户数据协议负荷, 需 要说明的是, 在这里描述的解码的过程与前述实施例中介绍的压缩的过程 是相反的, 部署在同一传输链路两端的两个数据传输设备是相互知悉对端 的数据传输设备是如何对数据处理的, 也就是说, 在同一传输链路的一端 的数据传输设备如何对数据压缩, 则相应的, 对端的数据传输设备就需要 采用相反的手段对数据进行解压缩。
需要说明的是, 可选的是, 传输网络协议头部包括: 传输网络 IP协议头 部、 传输网络传输层协议头部。 传输隧道协议头部包括: GTP-U协议头部; 用户数据协议头部包括: 传输隧道协议所承载的用户数据 IP协议头部、 用户 数据传输层协议头部。 用户应用层数据包括: 用户数据传输层协议的负荷 Payload。
403、 数据传输设备对压缩后的用户数据协议负荷进行解压缩, 得到 用户应用层数据。
需要说明的是, 数据传输设备对压缩后的用户数据协议负荷进行解压 缩, 得到用户应用层数据, 具体可以包括如下步骤:
Gl、 数据传输设备接收编码端设备发送的码本, 其中, 该码本包括: 每一个数字摘要与每一个用户应用层数据片段、 以及每一个数字摘要与每 一个用户应用层数据片段的索引结构;
G2、数据传输设备根据该码本判断压缩后的用户数据协议负荷中是否 存在重复的用户应用层数据片段;
G3、 若存在, 数据传输设备将压缩后的用户数据协议负荷解码为重复 的用户应用层数据片段对应的数字摘要、 未重复的用户应用层数据片段, 然后执行步骤 G4;
G4、数据传输设备将解码得到的重复的用户应用层数据片段对应的数 字摘要还原为重复的用户应用层数据片段;
G5、数据传输设备将重复的用户应用层数据片段、 未重复的用户应用 层数据片段进行组合, 得到用户应用层数据。
404、 数据传输设备使用传输网络协议头部、 传输隧道协议头部、 用 户数据协议头部对用户应用层数据进行封装, 得到 IP数据包。
需要说明的是, 步骤 404中数据传输设备对用户应用层数据依次使用 传输网络协议头部、 传输隧道协议头部、 用户数据协议头部进行封装是与 步骤 402的解码过程是相反的。
405、 数据传输设备向核心网或基站发送 IP数据包。 在数据传输设备将接收到的 IP压缩数据包还原为 IP数据包之后, 数 据传输设备将 IP数据包向核心网或者基站发送。 在图 2中所示的实施例 中, 若步骤 204中向核心网中解码端设备发送 IP压缩数据包, 则此处数 据传输设备继续向核心网发送该 IP数据包, 若步骤 204中向基站中的解 码端设备发送 IP压缩数据包, 则此处数据传输设备继续向基站发送该 IP 数据包。
在本发明实施例中, 若数据传输设备接收到的是 IP压缩数据包, 则 数据传输设备首先对 IP压缩数据包依次按照传输网络协议头部、 传输隧 道协议头部和用户数据协议头部进行解码, 得到压缩后的用户数据协议负 荷, 需要说明的是, 在这里描述的解码的过程与前述实施例中介绍的编码 的过程是相反的, 去封装的过程与前述实施例中介绍的封装的过程也是相 反的, 部署在同一传输链路两端的两个数据传输设备是相互知悉对端的数 据传输设备是如何对数据处理的, 也就是说, 在同一传输链路的一端的数 据传输设备如何对数据压缩, 则相应的, 对端的数据传输设备就需要采用 相反的手段对数据进行解压缩。
需要说明的是,在本发明如图 2所示的实施例中数据传输设备将 IP数据 包进行压缩, 然后在传输链路进行传输, 然后发送到本发明如图 4所示的 实施例中的另一数据传输设备, 由该另一数据传输设备进行还原, 整个过 程经过了 "压缩数据-传输数据 -还原数据" 这一完整的过程。
在本发明提供的实施例中, 数据传输设备接收到压缩数据包之后, 然 后对 IP压缩数据包依次按照传输网络协议头部、 传输隧道协议头部和用户 数据协议头部进行解码, 得到压缩后的用户数据协议负荷, 然后对压缩后 的用户数据协议负荷进行解压缩, 得到用户应用层数据, 再依次按照用户 数据协议头部、 传输隧道协议头部和传输网络协议头部对所述用户应用层 数据进行封装, 得到 IP数据包。 通过如上实现方式, 实现了对 IP压缩数据 包还原, 得到 IP数据包, 实现了对传输链路上传输的压缩数据包的还原, 故可以提高 Backhaul的吞吐量。 针对前述如图 1和图 3、 图 2和图 4所示的实施例, 下面以一个实际的应 用场景进行详细说明, 接下来描述一个完整的在 Backhaul上传输数据的过 程, 请参阅图 5所示的第一数据传输设备和第二数据传输设备进行数据交 互的示意图, 需要说明的是, 第一数据传输设备具体可以指的是如图 1所 示的实施例中描述的数据传输设备, 第二数据传输设备具体可以指的是如 图 3所示的实施例中描述的数据传输设备, 此处为了区别图 1和图 3中分别 的描述的是部署在 Backhaul两端的两个数据传输设备, 故分别采用第一和 第二以作区别。 部署在 Backhaul上一端的是第一数据传输设备, 部署在 Backhaul上另一端的是第二数据传输设备, 第一数据传输设备用于实现数 据的压缩, 第二数据传输设备用于实现数据的还原。 另外, 第一数据传输 设备具体也可以指的是如图 2所示的实施例中描述的数据传输设备, 第二 数据传输设备具体也可以指的是如图 4所示的实施例中描述的数据传输设 备, 此处仅作说明。
第一数据传输设备首先对服务通用分组无线服务技术支持节点
( SGSN, Serving GPRS Support Node )或网关通用分组无线服务技术支持 节点 ( GGSN, Gateway GPRS Support Node )或服务网关 ( S-GW, Serving GateWay )接收到的 IP数据包进行 IP解析, 得到传输网络协议头部、 传输 隧道协议头部、 用户数据协议头部和用户应用层数据。
其中, 传输网络协议头部包括: 传输网络 IP协议头部、 传输网络传输 层协议头部; 传输隧道协议头部具体指的是通用分组无线服务技术隧道协 议用户面 GTP-U协议头部; 用户数据协议头部包括: 传输隧道协议所承载 的用户数据 IP协议头部、 用户数据传输层协议头部; 用户应用层数据具体 指的是用户数据传输层协议的负荷 Payload。
本发明实施例中, 第一数据传输设备将传输隧道协议头部、 用户数据 协议头部和用户应用层数据作为优化对象, 第一数据传输设备对传输隧道 协议头部、 用户数据协议头部和用户应用层数据进行压缩, 再用传输网络 协议头部进行封装, 得到 IP压缩数据包。 其中, 传输网络传输层协议的协 议类型为 UDP、 传输隧道协议的协议类型为 GTP-U, 传输网络 IP协议的协 议类型为 IP, 第一数据传输设备对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应 用层数据, 可以包括的算法为如下步骤: 第一数据传输设备接收到存在 IP分片的 IP数据包时, 对存在 IP分片的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据。
第一数据传输设备从传输网络 IP分组数据中获取到传输网络 IP协议头 部, 传输网络 IP协议包括了物理层数据和数据链路层数据, 然后根据传输 网络 IP分组数据获取到传输网络传输层协议的协议类型为 UDP , 然后执行 如下算法,
1、 初始化: 定义指针 ptr指向传输网络传输层协议头部 UDP Payload, 定义协议头长度 len=0;
2、 对 GTP-U头部切片,
2.1 ) 、 定义 GTP-U头部长度 gtp— hlen=0;
2.2 ) 、 GTP-U包括了 8字节固定头部: gtp_hlen+=8;
2.3 ) 、 根据 GTP-U的头部格式中的£、 S或 PN标志位, 判断是否有可 选字段, 若有 E、 S或 PN标志位为 1表示有 4字节的可选字段: gtp— hlen+=4;
2.4 ) 、 若有可选字段, 根据 E标志位和 Next Extension Header Type字 段判断是否有扩展头部, 若有扩展头部, 执行 2.5步, 否则跳至第 3步; 2.5 ) 、 根据扩展头部中的 Extension Header Length字段进行切片: gtp_hlen+=(Extension Header Length * 4) , 读取 (ptr+len-1)处的 Next
Extension Header Type字段, 若非 0 , 则循环执行步骤 2.4 , 直到 Next Extension Header Type字段为 0。 此时, 得到 GTP-U头部长度 gtp— hlen。
2.6 ) 、 len+=gtp_hlen;
3、 对 GTP-U承载的 IP数据包进行 IP切片重组后, 得到完整的用户数据 IP分组数据, 根据用户数据 IP分组数据头部的 Header Length字段, 对用户 数据 IP分组数据的头部进行切片: len+=(Header Length * 4);
根据 GTP-U承载的用户数据 IP协议头部中的协议类型, 若用户数据传 输层协议是 TCP ,根据 Data Offset字段对 TCP头部切片: len+=(Data Offset * 4); 若用户数据传输层协议是 UDP , 固定 8字节切片: len+=8 ;
将从指针 ptr开始, 长度为 len的数据作为一个头部组块, 该头部组块包 括了传输网络协议头部、 传输隧道协议头部、 用户数据协议头部, 也就是 说从指针 (ptr+len)往后为用户数据传输层协议的负荷 ( Payload ) 。 第一数据传输设备获取到用户应用层数据之后, 包括两种处理方式:
1 ) 和 2 ) , 接下来分别进行详细说明。
1 ) 、 第一数据传输设备可以对传输隧道协议头部、 用户数据协议头 部和用户应用层数据进行压缩, 得到了如图 5中所示的压缩后的传输网络 协议负荷, 然后再用传输网络协议头部进行封装, 得到 IP压缩数据包, 其 实现算法包括如下步骤:
1、 第一数据传输设备对传输隧道协议头部、 用户数据协议头部进行 头部压缩, 得到头部压缩的结果;
2、 将用户应用层数据进行切片, 得到 N ( N为自然数)个用户应用层 数据片段为: Datal、 Data2 DataN;
3、 为每一个用户应用层数据片段生成数字摘要, 即为 Datal生成数字 摘要 Fingerprint 1 , 为 Data2生成数字摘要 Fingerprint2 , 为 DataN生成数 字摘要 FingerprintN;
4、生成码本,在该码本中记载了 Datal、 Data2 DataN , Fingerprint 1、 Fingerprint2、…、 FingerprintN ,以及 Datal、 Data2、 -…、 DataN和 Fingerprint 1、
Fingerprint2、 . · ·、 FingerprintN的索引结构;
5、 将该码本同步发送到第二数据传输设备中, 以使第二数据传输设 备在对数据进行还原时使用该码本;
6、 根据数字摘要与用户应用层数据片段的索引结构判断 Datal、 Data2 DataN中有没有重复的用户应用层数据片段,假设 Data 1与 Data2 是重复的, 则使用 Fingerprint 1代替 Datal与 Data2。
7、 将 Fingerprintl和 Data3 DataN (即未重复的用户应用层数据 片段) 进行编码, 得到压缩后的用户应用层数据。
2 ) 、 第一数据传输设备对用户应用层数据进行压缩, 得到了如图 6 中所示的压缩后的用户数据协议负荷, 再用用户数据协议头部、 传输隧道 协议头部和传输网络协议头部对压缩后的用户数据协议负荷进行封装, 得 到 IP压缩数据包。 第一数据传输设备对用户应用层数据进行压缩, 其实 现算法包括如下步骤:
首先, 维护一个表格, 每行包括以下字段: 传输网络 IP协议头部;
传输网络传输层协议头部;
GTP-U协议头部及长度;
用户应用层的源 IP地址、 目的 IP地址、 IP标识;
其次, 实现的算法包括如下步骤:
1、 初始化:
1 )每输入一个 IP数据包, 进行 IP分片重组;
2 ) 在表格中新增一行;
3 ) 定义指针 ptr指向传输网络层的传输网络 IP协议头部;
2、根据传输网络 IP协议头部的 Header Length字段, 将传输网络 IP协议 头部保存在表格的 "传输网络 IP协议头部" 字段中; 若传输网络传输层协 议的协议类型为 UDP , 指针 ptr后移 (Header Length * 4)字节, 执行下一步;
3、 将 8个字节的 UDP数据头部保存在表格的 "传输网络传输层协议头 部" 字段, 若 UDP源端口号或目的端口号为 2132 , 指针 ptr后移 8字节, 执 行下一步;
4、 解析 GTP-U协议头部, 并得到 GTP-U的头部长度 gtp— hlen (计算方 式如前述实施例中的描述) ; 将 GTP-U的头部保存在表格的 "GTP-U协议 头部及长度" 字段中; 指针 ptr后移 gtp— hlen字节;
5、 此时指针 ptr已指向用户应用层的 IP分组数据的头部, 读取用户应 用层的源 IP地址、 目的 IP地址、 IP标识, 保存至表格的 "用户应用层的源
IP地址、 目的 IP地址、 IP标识" 字段;
6、 从指针 ptr开始至数据结尾的部分为用户应用层数据, 对用户应用 层数据进行压缩, 得到压缩后的用户数据协议负荷(其实现方式与前述的 对用户应用层数据进行压缩的方式相类似) ;
7、 将指针 ptr指向压缩后的用户数据协议负荷, 读取用户应用层的源
IP地址、 目的 IP地址、 IP标识, 查找表格的 "源 IP地址、 目的 IP地址、 IP 标识" 字段, 得到传输网络层的 GTP-U协议头部、 传输网络传输层协议头 部、 传输网络 IP协议头部。 第一数据传输设备用用户数据协议头部、 传输 隧道协议头部和传输网络协议头部对压缩后的用户数据协议负荷进行封 装, 得到 IP压缩数据包, 具体为如下 3个步骤:
a、 添加 GTP-U协议头部, 重新计算 Total Length字段;
b、添加传输网络传输层协议头部,重新计算 Length字段和 Checksum; c、 添加传输网络 IP协议头部字段, 重新计算 Total Length和 Header Checksum字段;
在压缩后的用户数据协议负荷上添加完 GTP-U协议头部、 传输网络传 输层协议头部、 传输网络 IP协议头部字段之后, 就可以得到 IP压缩数据包 了。
8、 清除已经重新封装完毕的表格项。
第二数据传输设备的实现方式与前述的第一数据传输设备恰好是相 反的处理过程, 此处不再赘述。
以上实施例介绍了本发明提供的一种数据传输方法, 接下来介绍本发明 实施例提供的另一种数据传输方法, 在一个完整的数据传输过程中, 回程链 路一端的数据传输设备用于实现对传输的数据的去重, 回程链路的另一端的 数据传输设备用于实现对传输的数据的还原, 这两个数据传输设备分别部署 在整个回程链路的两端, 用于实现在回程链路上传输的数据的压缩, 以提高 Backhaul的吞吐量, 接下来分别描述在一个完整的数据传输过程中, 用于实 现数据去重的数据传输设备和用于实现数据还原的数据传输设备具体是如何 实现本发明的, 后续将数据去重和数据还原分别以单独的实施例的方式进行 描述。
请参阅图 7所示, 本发明实施例提供的数据传输方法, 包括:
701、 获取媒体接入控制协议数据单元 MAC PDU。
在本发明实施例中, 具体的一种方式可以为数据传输设备获取按照 Iub接口协议解码后的 Uu接口媒体接入控制协议数据单元 ( MAC PDU, Medium Access Control Protocol Data Unit ) , 用于实现对数据去重的数据 传输设备部署在传输链路的一端, 数据传输设备首先获取 Uu接口 MAC PDU, Uu接口 MAC PDU为连接 Iub接口所使用的协议进行解码得到的数 据, 其中, 连接 Iub接口所使用的协议具体可以为: IP、 UDP、 成帧协议 ( FP , Frame Protocol ) 等。
需要说明的是, 在本发明实施例中, 对于步骤 501 , 数据传输设备获 取按照 lub接口协议解码后的 MAC PDU , 作为可实现的一种方式, 具体 可以包括:
HI、 数据传输设备对接收到的 lub封装数据按照 lub接口协议进行解 码, 得到 MAC PDU;
或,
H2、数据传输设备从基站的协议处理模块或者无线网络控制器( RNC , Radio Network Controller ) 的协议处理模块接收 MAC PDU。
需要说明的是, 对于步骤 H2 , 若数据传输设备从基站的协议处理模 块接收到 MAC PDU, 此时, 数据传输设备部署在基站内部, 且可以部署 在基站内部的 lub接口协议处理模块和 Uu接口协议处理模块之间, 由于 基站已经按照 lub接口协议对数据进行了解码, 故数据传输设备就可以直 接从基站处接收到 MAC PDU。 若数据传输设备从无线网络控制器接收到 到 MAC PDU, 则数据传输设备与无线网络控制器相连接, 数据传输设备 就可以从无线网络控制器的协议处理模块中接收到 MAC PDU。
在本发明实施例中, 需要说明的是, lub封装数据指的是按照 lub接 口协议解码后得到的数据。 对于步骤 HI数据传输设备对接收到的 lub封 装数据按照 lub接口协议进行解码, 得到 MAC PDU , 作为可实现的另一 种方式, 具体可以包括:
11、 当 lub封装数据是存在 IP分片的 IP数据包时, 数据传输设备对 IP数据包进行 IP分片重组, 得到完整的传输网络 IP分组数据;
12、 数据传输设备对传输网络 IP分组数据按照网际协议(IP , Internet Protocol ) 、 用户数据报协议 (UDP , User Datagram Protocol ) 进行解码, 得到 UDP负载;
13、 数据传输设备对 UDP负载按照成帧协议 ( FP , Frame Protocol ) 进行解码, 得到 MAC PDU。
需要说明的是, 在本发明实施例中, 步骤 701中数据传输设备获取到 按照 lub接口协议解码后的 MAC PDU ,本发明实施例中提供对 MAC PDU 的处理具体请参见如下步骤 702至 704的描述。
702、 对所述 MAC PDU依次按照媒体接入控制协议 MAC、 无线链路 控制协议 RLC、 分组数据汇聚协议 PDCP进行解码, 得到分组数据汇聚协 议协议数据单元 PDCP PDUo
数据传输设备对 MAC PDU依次按照 MAC、 无线链路控制 RLC、 分 组数据汇聚协议 PDCP进行解码, 得到分组数据汇聚协议协议数据单元 ( PDCP PDU, Packet Data Convergence Protocol Protocol Data Unit ) 。
数据传输设备获取到 MAC PDU之后, 按照 Uu接口协议进行解码, 得到 PDCP PDU, 需要说明的是, 在本发明实施例中, 数据传输设备对 MAC PDU依次按照 MAC、 RLC和 PDCP解码, 得到 PDCP PDU , 具体 可以包括如下步骤:
J1、 数据传输设备对 MAC PDU进行 MAC层解码, 得到 RLC PDU; J2、 数据传输设备对 RLC PDU进行 RLC层解码, 然后对解码后的
RLC PDU进行 PDCP解码重组, 得到 PDCP PDU。
其中, RLC PDU指的是按照 MAC协议对 MAC PDU进行解码得到的 数据, PDCP PDU指的是按照 RLC协议对 RLC PDU进行解码并重组后得 到的数据。
对于步骤 J1 ,数据传输设备根据 MAC协议的协议栈结构对 MAC PDU 进行解码, 得到的是 RLC PDU , 步骤 J2中也是依据各自协议的协议栈结 构进行解码后得到的结果。
需要说明的是, 若 MAC PDU承载的数据被加密, 数据传输设备对
MAC PDU进行 MAC层解码之后, 对 MAC PDU承载的数据进行解密, 然后再执行步骤 J2。若 RLC PDU承载的数据被加密,数据传输设备对 RLC
PDU进行 RLC层解码之后,对 RLC PDU承载的数据进行解密,数据传输 设备对 RLC解码数据进行解密之后再执行步骤 703。
703、 使用用户数据协议头部对所述 PDCP PDU进行解码, 得到解码 数据。
具体可以为数据传输设备使用用户数据协议头部对 PDCP PDU进行 解码, 得到 Uu解码数据。
其中, 用户数据协议头部具体可以包括: 传输隧道协议所承载的用户 数据 IP协议头部、 用户数据传输层协议头部。
Uu解码数据为连接 Uu接口所使用的协议进行解码得到的数据,其中, 连接 Uu接口所使用的协议具体可以为:媒体接入控制协议( MAC , Medium Access Control ) 、 无线链路控制协议(RLC , Radio Link Control ) 、 分组 数据汇聚协议 ( PDCP, Packet Data Convergence Protocol ) 等。
需要说明的是, 在本发明实施例中, 步骤 703具体可以包括如下步骤: Kl、 数据传输设备对 PDCP PDU进行上层协议头部解压缩, 得到用 户数据 IP分组数据;
K2、 数据传输设备对用户数据 IP分组数据的用户数据 IP协议头部、 用户数据传输层协议头部进行解码, 得到解码数据。
对于步骤 K1 ,数据传输设备对 PDCP PDU进行上层协议头部解压缩, 得到用户数据 IP分组数据, 步骤 K2中也是依据各自协议的协议栈结构进 行解码后得到的结果。
704、 对所述解码数据进行压缩, 得到压缩数据。
具体的数据传输设备对 Uu解码数据进行压缩, 得到 Uu压缩数据。 在本发明实施例中, 数据传输设备在得到解码数据之后, 数据传输设 备可以对解码数据进行压缩, 以得到压缩数据, 在传输链路中数据传输设 备对解码数据的压缩能够提高链路的吞吐量。
需要说明的是, 对于步骤 704 , 数据传输设备对解码数据进行压缩, 得到压缩数据, 具体可以包括如下步骤:
Ll、 数据传输设备对解码数据进行切片, 得到多个的解码数据片段; L2、数据传输设备对切片后得到的每一个解码数据片段生成数数字摘 要;
L3、 数据传输设备根据解码数据片段和数字摘要生成码本, 其中, 码 本包括每一个数字摘要与每一个解码数据片段、 以及每一个数字摘要与每 一个解码数据片段的索引结构;
L4、数据传输设备将码本发送到与数据传输设备属于同一传输链路的 另一数据传输设备, 该另一数据传输设备是使用该码本进行解码的解码端 设备;
L5、数据传输设备根据该码本判断多个的解码数据片段中是否存在重 复的解码数据片段;
L6、 若存在, 数据传输设备用重复的解码数据片段对应的数字摘要代 替重复的解码数据片段; L7、数据传输设备将重复的解码数据对应的数字摘要和未重复的解码 数据片段进行编码, 得到压缩数据。
需要说明的是, 在步骤 J3中, 数据传输设备需要将生成的码本同步 发送到传输链路的对端的数据传输设备, 以使两个数据传输设备中保存的 码本是完全相同的, 在数据传输设备侧对数据去重之后, 在另一数据传输 设备侧使用码本对数据进行还原。
705、 依次按照所述用户数据协议头部、 PDCP、 RLC、 MAC对所述 压缩数据进行封装, 得到封装数据。
具体的, 数据传输设备对压缩数据按照用户数据协议头部、 PDCP、 RLC、 MAC进行封装, 得到 Uu封装数据。
在本发明实施例中, 数据传输设备对解码数据进行压缩得到压缩数据 之后, 按照用户数据协议头部的协议栈结构对压缩数据再进行封装和依次 按照 PDCP、 RLC、 MAC进行封装, 得到 Uu封装数据。 根据前述的介绍, 数据传输设备对 MAC PDU依次进行 MAC、 RLC、 PDCP的解码, 此处就 可以按照相反的方式进行封装。
706、 数据传输设备向核心网或基站发送封装数据。
需要说明的是, 所述封装数据可以是 Uu封装数据。 数据传输设备向 核心网中或基站中的解码端设备发送封装数据在本发明实施例中, 数据传 输设备向核心网中或基站中的解码端设备发送 Uu封装数据具体可以包 括: 数据传输设备对 Uu封装数据进行 Iub接口协议的封装, 得到 Iub封 装数据, 或者, 数据传输设备将 Uu封装数据发送到基站的协议处理模块 或者 RNC的协议处理模块。
需要说明的是, 数据传输设备对 Uu封装数据进行 Iub接口协议的封 装, 得到 Iub封装数据, 包括:
数据传输设备对 Uu封装数据按照成帧协议 FP进行封装, 得到 FP封 装数据;
数据传输设备对 FP封装数据按照用户数据报协议 UDP、 网际协议 IP 进行封装, 得到传输网络 IP分组数据;
判断传输网络 IP分组数据的长度是否大于下层协议的最大传输单元 的长度, 若传输网络 IP分组数据的长度大于下层协议的最大传输单元的 长度, 对传输网络 IP分组数据进行 IP分片, 得到分片后的 IP分组数据, 分片后的 IP分组数据就是 Iub封装数据, 若传输网络 IP分组数据的长度 小于或者等于下层协议的最大传输单元的长度, 传输网络 IP分组数据就 是 Iub封装数据。
需要说明的是, 在本发明实施例中, 若已经对 RLC PDU承载的数据 进行了解密, 数据传输设备先对 RLC PDU承载的数据进行加密之后, 再 进行 RLC封装; 若已经对 MAC PDU承载的数据进行了解密, 数据传输 设备先对 MAC PDU承载的数据进行加密之后, 再进行 MAC封装。
在本发明提供的实施例中, 首先获取到 Iub接口协议解码后的 MAC PDU, 然后对 MAC PDU依次按照 MAC、 RLC、 PDCP进行解码, 并使用用 户数据协议头部对 PDCP PDU进行解码, 得到解码数据, 再对解码数据进 行压缩, 得到压缩数据, 之后再依次对压缩数据按照用户数据协议头部、 PDCP、 RLC、 MAC进行封装, 得到 Uu封装数据, 通过这种优化方式可以 实现对解码数据的压缩, 故可以提高 Backhaul上传输的数据的压缩量以提 高 Backhaul的吞吐量。
前述实施例介绍了本发明提供的一种数据传输方法, 接下来介绍本发 明实施例提供的另一种数据传输方法, 如图 8所示, 主要可以包括如下步 骤:
801、 数据传输设备获取媒体接入控制协议数据单元 (MAC PDU, Medium Access Control Protocol Data Unit ) 。
步骤 801与前述实施例中的步骤 701相类此, 此处再赘述。
802、 数据传输设备对 MAC PDU依次按照 MAC、 RLC进行解码, 得 到解码数据。
数据传输设备获取到 MAC PDU之后, 按照 Uu接口协议进行解码得 到解码数据,解码数据为连接 Uu接口所使用的协议进行解码得到的数据, 其中, 连接 Uu接口所使用的协议具体可以为: 媒体接入控制协议(MAC , Medium Access Control )、无线链路控制协议( RLC , Radio Link Control )。
需要说明的是, 在本发明实施例中, 数据传输设备对 MAC PDU依次 按照 MAC、 RLC解码, 得到解码数据, 具体可以包括如下步骤:
Ml、 数据传输设备对 MAC PDU进行 MAC层解码, 得到 RLC PDU; M2、 数据传输设备对 RLC PDU进行 RLC层解码, 得到解码数据。 其中, RLC PDU指的是按照 MAC协议对 MAC PDU进行解码得到的 数据。
对于步骤 Ml , 数据传输设备根据 MAC协议的协议栈结构对 MAC PDU进行解码, 得到的是 RLC PDU, 步骤 M2也是依据各自协议的协议 栈结构进行解码后得到的结果。
需要说明的是, 若 MAC PDU承载的数据被加密, 数据传输设备对 MAC PDU进行 MAC层解码之后, 对 MAC PDU承载的数据进行解密, 然后再执行步骤 M2。 若 RLC PDU承载的数据被加密, 数据传输设备对 RLC PDU进行 RLC层解码之后, 对 RLC PDU承载的数据进行解密, 数 据传输设备对 RLC解码数据进行解密之后才能得到解码数据。
803、 数据传输设备对解码数据进行压缩, 得到压缩数据。
在本发明实施例中, 数据传输设备在得到解码数据之后, 数据传输设 备可以对解码数据进行压缩, 以得到压缩数据, 在传输链路中数据传输设 备对解码数据的压缩能够提高链路的吞吐量。
需要说明的是, 对于步骤 802 , 数据传输设备对解码数据进行压缩, 得到压缩数据, 具体可以包括如下步骤:
Nl、 数据传输设备对解码数据进行切片, 得到多个的解码数据片段;
N2、数据传输设备对切片后得到的每一个解码数据片段生成数数字摘 要;
N3、 数据传输设备生成码本, 其中, 码本包括每一个数字摘要与每一 个解码数据片段、 以及每一个数字摘要与每一个解码数据片段的索引结 构;
N4、数据传输设备将码本发送到与数据传输设备属于同一传输链路的 另一数据传输设备, 该另一数据传输设备为使用码本进行解码的解码端设 备;
N5、数据传输设备根据每一个数字摘要与每一个解码数据片段的索引 结构判断是否存在重复的解码数据片段;
N6、 若存在, 数据传输设备用重复的解码数据片段对应的数字摘要代 替重复的解码数据片段; N7、数据传输设备将重复的解码数据对应的数字摘要和未重复的解码 数据片段进行编码, 得到压缩数据。
需要说明的是, 在步骤 N3中, 数据传输设备需要将生成的码本同步 发送到传输链路的对端的数据传输设备, 以使两个数据传输设备中保存的 码本是完全相同的, 在数据传输设备侧对数据去重之后, 在另一数据传输 设备对数据进行还原。
804、 数据传输设备对压缩数据按照 RLC、 MAC进行封装, 得到封装 数据。
在本发明实施例中, 数据传输设备对解码数据进行压缩得到压缩数据 之后, 按照 PDCP、 RLC、 MAC进行封装, 得到 Uu封装数据。 根据前述 的介绍, 数据传输设备对 MAC PDU依次进行 MAC、 RLC的解码, 此处 就可以按照相反的方式进行封装。
805、 数据传输设备向核心网中或基站中的解码端设备发送封装数据。 需要说明的是, 在本发明实施例中, 数据传输设备向核心网中或基站 中的解码端设备发送 Uu封装数据具体可以包括: 数据传输设备对 Uu封 装数据进行 Iub接口协议的封装, 得到 Iub封装数据, 或者, 数据传输设 备将 Uu封装数据发送到基站的协议处理模块或者 RNC的协议处理模块。
需要说明的是, 数据传输设备对 Uu封装数据进行 Iub接口协议的封 装, 得到 Iub封装数据, 包括:
数据传输设备对 Uu封装数据按照成帧协议 FP进行封装, 得到 FP封 装数据;
数据传输设备对 FP封装数据按照用户数据报协议 UDP、 网际协议 IP 进行封装, 得到传输网络 IP分组数据;
判断传输网络 IP分组数据的长度是否大于下层协议的最大传输单元 的长度, 若传输网络 IP分组数据的长度大于下层协议的最大传输单元的 长度, 对传输网络 IP分组数据进行 IP分片, 得到分片后的 IP分组数据, 分片后的 IP分组数据就是 Iub封装数据, 若传输网络 IP分组数据的长度 小于或者等于下层协议的最大传输单元的长度, 传输网络 IP分组数据就 是 Iub封装数据。
需要说明的是, 在本发明实施例中, 若已经对 RLC PDU承载的数据 进行了解密, 数据传输设备先对 RLC PDU承载的数据进行加密之后, 再 进行 RLC封装; 若已经对 MAC PDU承载的数据进行了解密, 数据传输 设备先对 MAC PDU承载的数据进行加密之后, 再进行 MAC封装。
在本发明提供的实施例中,数据传输设备首先获取到 lub接口协议解码 后的 MAC PDU, 然后对 MAC PDU依次按照 MAC、 RLC进行解码, 得到解 码数据, 再对解码数据进行压缩, 得到压缩数据, 之后再依次对压缩数据 按照 RLC、 MAC进行封装, 得到 Uu封装数据, 这种优化方式可以实现对 解码数据的压缩, 故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。 以上实施例介绍了在一个完整的数据传输过程中, 回程链路一端的数 据传输设备用于实现对传输的数据的去重, 接下来介绍位于回程链路另一 端的数据传输设备用于实现对传输的数据的还原, 请参阅图 9所示, 本发 明实施例提供的一种数据传输方法与前述图 7所示的实施例相对应, 包括: 901、 数据传输设备获取封装数据。
在本发明实施例中, 具体的, 用于数据还原的数据传输设备首先从传 输链路上接收到 Uu封装数据, Uu封装数据的介绍请参阅如图 7所示的实 施例中相应的介绍说明。
需要说明的是, 在本发明实施例中, 数据传输设备获取 Uu封装数据, 可以包括: 数据传输设备接收无线网络控制器 (RNC , Radio Network
Controller )发送的 IP数据包; 数据传输设备对 IP数据包按照 lub接口协 议进行解码, 得到 Uu封装数据。
902、 数据传输设备对封装数据依次按照 MAC、 RLC、 PDCP和用户 数据协议头部进行解码, 得到压缩数据。
具体的, 数据传输设备接收到 Uu封装数据之后, 按照前述实施例中 步骤 705对 Uu压缩数据的封装方式, 此处采用与封装方法相反的方式对 Uu封装数据进行去封装, 就可以得到 Uu压缩数据。
903、 数据传输设备对压缩数据进行解压缩, 得到解码数据。
数据传输设备按照前实施例中步骤 704中对解码数据进行压缩的方式 相反的方式, 此处数据传输设备对压缩数据进行解压缩, 就可以得到解码 数据。
需要说明的是, 在本发明实施例中, 作为其中的一种实现方式, 数据 传输设备对压缩数据进行解压缩,得到解码数据,具体可以包括如下步骤:
01、数据传输设备从与数据传输设备属于同一传输链路的另一数据传 输设备接收到码本, 其中, 码本包括每一个数字摘要与每一个解码数据片 段、 以及每一个数字摘要与每一个解码数据的索引结构, 该另一数据传输 设备为编码端设备;
02、数据传输设备根据该码本判断压缩数据中是否存在重复的解码数 据片段;
03、 若存在, 数据传输设备将压缩数据解码为重复的解码数据片段对 应的数字摘要和未重复的解码数据片段;
04、数据传输设备将解码得到的重复的解码数据片段对应的数字摘要 还原为重复的解码数据片段;
05、数据传输设备将重复的解码数据片段、 未重复的解码数据片段进 行组合, 得到解码数据。
此处步骤 01至 05描述的对数据的还原过程是与前述实施例中描述 的对数据的压缩过程是相反的, 由于数据传输设备是知悉同一传输链路的 另一数据传输设备是如何进行数据压缩的, 故此处的数据传输设备就可以 采用相反的方式对数据进行还原。
904、 数据传输设备对解码数据按照用户数据协议头部进行封装, 得 到分组数据汇聚协议协议数据单元 PDCP PDU。
905、 数据传输设备依次按照 PDCP、 RLC、 MAC对 PDCP PDU进行 封装, 得到 MAC PDU。
906、 数据传输设备向核心网或基站发送 MAC PDU。
在本发明实施例中, 数据传输设备作为解码端设备, 通过传输链路接 收到编码端设备发送的 Uu封装数据之后, 通过步骤 902至 905对 Uu封 装数据进行了还原, 得到了 MAC PDU , 然后将 MAC PDU发送到核心网 或者基站。
在本发明提供的实施例中, 数据传输设备首先获取到 Uu封装数据, 数 据传输设备依次按照 MAC、 RLC、 PDCP和用户数据协议头部进行解码, 得到压缩数据, 然后对压缩数据进行解压缩, 得到解码数据, 最后用用户 数据协议头部、 PDCP、 RLC、 MAC进行封装, 得到了 MAC PDU , 由于将 Uu封装数据还原为 MAC PDU , 故可以实现对 Backhaul上传输的数据进行 压缩以提高 Backhaul的吞吐量。
接下来介绍位于回程链路另一端的数据传输设备用于实现对传输的 数据的还原, 请参阅图 10所示, 本发明实施例提供的一种数据传输方法与 前述图 8所示的实施例相对应, 包括:
1001、 数据传输设备获取封装数据。
步骤 1001与前述实施例中步骤 901相类似, 此处不再赘述。
1002、 数据传输设备对封装数据依次按照媒体接入控制协议 MAC、 无线链路控制协议 RLC进行解码, 得到压缩数据。
具体的, 数据传输设备接收到 Uu封装数据之后, 按照前述实施例中 步骤 804对 Uu压缩数据的封装方式, 此处采用与封装方法相反的方式对 Uu封装数据进行去封装, 就可以得到 Uu压缩数据。
1003、 数据传输设备对压缩数据进行解压缩, 得到解码数据。
数据传输设备按照前实施例中步骤 803中对解码数据进行压缩的方式 相反的方式, 此处数据传输设备对压缩数据进行解压缩, 就可以得到解码 数据。
需要说明的是, 在本发明实施例中, 作为其中的一种实现方式, 数据 传输设备对压缩数据进行解压缩,得到解码数据,具体可以包括如下步骤: Pl、数据传输设备从与数据传输设备属于同一传输链路的另一数据传 输设备接收到码本, 其中, 码本包括每一个数字摘要与每一个解码数据片 段、 以及每一个数字摘要与每一个解码数据的索引结构, 另一数据传输设 备为编码端设备;
P2、数据传输设备根据该码本判断压缩数据中是否存在重复的解码数 据片段;
P3、 若存在, 数据传输设备将压缩数据解码为重复的解码数据片段对 应的数字摘要和未重复的解码数据片段;
P4、数据传输设备将解码得到的重复的解码数据片段对应的数字摘要 还原为重复的解码数据片段; P5、 数据传输设备将重复的解码数据片段、 未重复的解码数据片段进 行组合, 得到用户应用层数据。
此处步骤 P 1至 P 5描述的对数据的还原过程是与前述实施例中描述的 对数据的压缩过程是相反的, 由于数据传输设备是知悉同一传输链路的另 一数据传输设备是如何进行数据压缩的, 故此处的数据传输设备就可以采 用相反的方式对数据进行还原。
1004、 数据传输设备对解码数据依次按照 RLC、 MAC进行封装, 得 到 MAC PDU。
数据传输设备按照使用 Uu接口的协议栈结构, 数据传输设备对解码 数据进行封装, 得到 MAC PDU。
1005、 数据传输设备向核心网或基站发送 MAC PDU。
在本发明提供的实施例中, 数据传输设备首先获取到封装数据, 数据 传输设备依次按照 MAC、 RLC进行解码, 得到压缩数据, 然后对压缩数据 进行解压缩, 得到解码数据, 最后用 RLC、 MAC进行封装, 得到了 MAC PDU。 由于将 Uu封装数据还原为 MAC PDU , 故可以实现对 Backhaul上传 输的数据进行压缩以提高 Backhaul的吞吐量。
针对前述图 7和图 9、 图 8和图 10所示的实施例, 下面以一个实际的应 用场景进行详细说明, 接下来描述一个完整的在 Backhaul上传输数据的过 程, 请参阅图 11所示的第一数据传输设备和第二数据传输设备进行数据交 互的示意图, 需要说明的是, 第一数据传输设备具体可以指的是如图 7所 示的实施例中描述的数据传输设备, 第二数据传输设备具体可以指的是如 图 9所示的实施例中描述的数据传输设备, 此处为了区别图 7和图 9中分别 的描述的是部署在 Backhaul两端的两个数据传输设备, 故分别采用第一和 第二以作区别。 部署在 Backhaul上一端的是第一数据传输设备, 部署在 Backhaul上另一端的是第二数据传输设备, 第一数据传输设备用于实现数 据的压缩, 第二数据传输设备用于实现数据的还原。 另外, 第一数据传输 设备具体也可以指的是如图 8所示的实施例中描述的数据传输设备, 第二 数据传输设备具体也可以指的是如图 10所示的实施例中描述的数据传输 设备, 此处仅作说明。
第一数据传输设备首先对 RNC接收到的 IP数据包进行 IP分片重组, 得 到传输网络 IP分组数据, Phy表示物理层数据, Data Link表示数据链路层 数据。 本发明实施例中, 第一数据传输设备将传输网络层的传输网络 IP分 组数据作为优化对象, 第一数据传输设备解析传输网络 IP分组数据, 假设 lub接口协议为 IP、 UDP和 FP , Uu接口协议为 MAC、 RLC和 PDCP, 可以包 括的算法为如下步骤:
首先要建立 RLC PDU链表,
算法步骤:
1、 解析 IP/UDP协议, 得到 UDP负载;
2、 根据 3GPP TS 25.434标准, 对 UDP负载进行 FP协议的解码, 得到一 个 MAC PDU, 若 MAC层有加密, 则完成解密;
3、根据 3GPP TS 25.321标准,对 MAC PDU进行 MAC层解码,得到 RLC PDU;
4、 根据30??丁8 25.322标准, 若 RLC层有加密, 则完成 RLC解密, 得 到解密后的 RLC PDU;
5、 将 RLC PDU放入 RLC链表;
6、 循环执行步骤 2至步骤 5 , 直到解码完整个 FP数据帧;
7、 从 RLC PDU链表取出 RLC PDU , 完成重组, 得到 PDCP PDU;
8、 根据30??丁8 25.323标准, 解码 PDCP PDU , 完成上层协议头部解 压缩, 得到用户数据 IP分组数据;
9、对用户数据 IP分组数据的用户数据 IP协议头部、 用户数据传输层协 议头部进行解码, 得到解码数据;
10、对解码数据进行压缩, 得到压缩数据, 即图 1 1中所示的优化数据;
11、 逐层调用 PDCP、 RLC、 MAC封装模块, 完成 Uu接口协议封装, 得到 Uu封装数据, 并释放 RLC链表;
12、 根据步骤 2中 FP协议帧格式和 FP格式表格, 重新封装 FP数据帧;
13、 封装 UDP、 IP协议, 并重新计算 Length, Checksum字段;
14、 重新将数据发送到 Backhaul上。
第二数据传输设备的实现方式与前述的第一数据传输设备恰好是相 反的处理过程, 此处不再赘述。 下面以另一个实际的应用场景进行详细说明, 请参阅图 12所示, 以模 块形式将第一数据传输设备部署在 RNC内部的 lub接口协议处理模块和 Uu 接口协议处理模块之间, 第一数据传输设备以用户应用层数据作为内容编 码的优化对象, 因基站处已经处理了 lub接口协议,故第一数据传输设备只 需要对 Uu接口协议提供适配, 另外, 仍然需要解决加密问题, 具体可以参 阅前述算法的步骤 3 ~ 8 , 以及前述算法的步骤 11至 13。 此处介绍的方法需 要修改基站的结构,但是相对于前述实施例,减少了对 lub接口协议的解析 和封装,但仍然需要从 RNC获取密钥解密 Uu接口协议 MAC/RLC层的加密。
第二数据传输设备的实现方式与前述的第一数据传输设备恰好是相 反的处理过程, 此处不再赘述。
接下来介绍另一应用场景, 将无线网络层解密后的 RLC PDU作为内 容编码对象, 以 RLC PDU作为原始数据进行去重、编码,对应前述实施例, 第一数据传输设备的实现方式分别做如下描述:
1 )、去重算法执行前述实施例的步骤 1〜至 4 ,得到解密后的 RLC PDU , 直接将 RLC PDU进行去重、 编码后再完成 MAC层、 FP帧、 UDP/IP的封装。
2 ) 、 去重算法执行前述实施例的步骤 3 ~ 4 , 得到解密后的 RLC PDU, 直接将 RLC PDU进行去重、 编码后再完成 MAC层的封装。
第二数据传输设备的实现方式与前述的第一数据传输设备恰好是相 反的处理过程, 此处不再赘述。
以上实施例描述的是本发明实施例提供的数据传输方法, 接下来介绍 本发明实施例提供的数据传输设备,请参阅图 13所示,数据传输设备 1300 , 包括: IP数据包解析单元 1301、 压缩单元 1302、 封装单元 1303和发送单元 1304, 其中,
IP数据包解析单元 1301 ,用于对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应 用层数据;
压缩单元 1302 , 用于对所述传输隧道协议头部、 用户数据协议头部和 用户应用层数据进行压缩, 得到压缩后的传输网络协议负荷;
封装单元 1303 ,用于使用传输网络协议头部对所述压缩后的传输网络 协议负荷进行封装, 得到 IP压缩数据包;
发送单元 1304 , 用于向核心网或基站发送所述 IP压缩数据包。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1301 , 作为其中一种可实现的方式, 包括(未在图 13中示出) :
第一分片重组子单元, 用于若 IP数据包存在 IP分片时, 对存在 IP分 片的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据; 第一获取子单元, 用于根据传输网络 IP分组数据的头部获取传输网 络 IP协议头部和传输网络 IP协议头部的长度;
第二获取子单元, 用于根据所述传输网络 IP分组数据的头部的协议 类型字段判断传输网络传输层协议的协议类型, 然后再根据所述传输网络 传输层协议的协议类型获取传输网络传输层协议头部传输网络传输层协 类型获取传输网络传输层协议头部和对应的字段, 根据所述传输网络传输 层协议头部和对应的字段获取传输网络传输层协议头部的长度
第三获取子单元, 用于根据所述传输网络 IP协议头部的长度和所述 传输网络传输层协议头部的长度获取所述传输网络协议头部的长度, 所述 传输网络协议头部的长度是所述传输网络 IP协议头部的长度加上所述传 输网络传输层协议头部的长度;
第四获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部的长度获取所述传输网络协议头部, 所述传输网络协议头部是 从所述传输网络 IP分组数据的开头到长度为所述传输网络协议头部的长 度对应的数据。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1301 , 作 为其中另一种可实现的方式, 还包括(未在图 13中示出) :
计算子单元, 用于根据传输隧道协议的协议类型计算传输隧道协议的 固定头部的长度;
第一判断子单元, 用于根据所述传输隧道协议的协议类型对应的字段 判断所述传输隧道协议头部是否存在可选字段;
第五获取子单元, 用于当不存在可选字段时, 根据所述传输隧道协议 的固定头部的长度获取传输隧道协议头部的长度, 所述传输隧道协议头部 的长度为所述传输隧道协议的固定头部的长度;
第二判断子单元, 用于当存在可选字段时, 根据所述传输隧道协议的 协议类型对应的字段判断所述传输隧道协议头部是否存在扩展头部; 第六获取子单元, 用于当不存在扩展头部时, 根据所述传输隧道协议 的固定头部的长度和可选字段的长度获取传输隧道协议头部的长度, 所述 传输隧道协议头部的长度为所述传输隧道协议的固定头部的长度加上所 述可选字段的长度;
第七获取子单元, 用于当存在扩展头部时, 根据所述传输隧道协议的 固定头部的长度、 所述可选字段的长度和所述扩展头部的长度获取传输隧 道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协议的 固定头部的长度加上所述可选字段的长度再加上所述扩展头部的长度; 第八获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部获取所述传输隧道协议头部, 所述所述传输隧道协议头部是从 所述传输网络 IP分组数据中的所述传输网络协议头部之后开始到长度为 所述传输隧道协议头部的长度对应的数据。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1301 , 作 为其中另一种可实现的方式, 还包括(未在图 13中示出) :
第二分片重组子单元, 用于当传输隧道协议承载的数据存在 IP分片 时, 对所述传输隧道协议承载的数据进行 IP分片重组, 获取到完整的用 户数据 IP分组数据;
第九获取子单元, 用于根据所述用户数据 IP分组数据的头部获取用 户数据 IP协议头部的长度;
第十获取子单元, 用于根据所述用户数据 IP分组数据头部的协议类 型字段获取用户数据传输层协议的协议类型, 根据所述用户数据传输层协 议的协议类型获取所述用户数据传输层协议头部和对应的字段, 根据所述 用户数据传输层协议头部和对应的字段获取用户数据传输层协议头部的 长度;
第十一获取子单元, 用于根据所述用户数据 IP协议头部的长度和所 述用户数据传输层协议头部的长度获取用户数据协议头部的长度, 所述用 户数据协议头部的长度是所述用户数据 IP协议头部的长度加上所述用户 数据传输层协议头部的长度;
第十二获取子单元, 用于根据所述传输网络 IP分组数据和所述用户 数据协议头部的长度获取所述用户数据协议头部, 所述用户数据协议头部 是从所述传输网络 IP分组数据中的所述传输隧道协议头部之后开始到长 度为所述用户数据协议头部的长度对应的数据。
需要说明的是, 对于本发明实施例提供的压缩单元 1302 , 作为其中一 种可实现的方式, 包括(未在图 13中示出) :
第一压缩子单元, 用于对所述传输隧道协议头部、 所述用户数据协议 头部进行头部压缩, 得到头部压缩的结果;
第二压缩子单元, 用于对所述用户应用层数据进行压缩, 得到压缩后 的用户应用层数据;
编码子单元, 用于对所述头部压缩的结果和所述压缩后的用户应用层 数据进行编码, 得到所述压缩后的传输网络协议负荷。
需要说明的是, 对于本发明实施例提供的数据传输设备 1300 , 作为其 中一种可实现的方式, 还可以包括(未在图 13中示出) :
判断单元, 用于判断所述 I P压缩数据包的长度是否大于下层协议的 最大传输单元的长度;
分片单元, 用于当所述 I P压缩数据包的长度大于下层协议的最大传 输单元的长度, 对所述 IP压缩数据包进行 IP分片, 得到分片后的 IP压缩 数据包;
所述发送单元, 具体用于向核心网或基站发送所述分片后的 IP压缩 数据包。
在本发明提供的实施例中, IP数据包解析单元对接收到的 IP数据包进 行解析, 得到了传输网络协议头部、 传输隧道协议头部、 用户数据协议头 部和用户应用层数据, 然后压缩单元对传输隧道协议头部、 用户数据协议 头部和用户应用层数据进行压缩, 封装单元再用传输网络协议头部对压缩 后的传输网络协议负荷进行封装, 得到 IP压缩数据包, 通过这优化方式可 以实现对用户应用层数据的压缩, 故可以提高 Backhaul上传输的数据的压 缩量以提高 Backhaul的吞吐量。
前述实施例介绍了本发明提供的一种数据传输设备, 接下来介绍本发 明实施例提供的另一种数据传输设备, 如图 14所示, 数据传输设备 1400, 包括: IP数据包解析单元 1401、 压缩单元 1402、 封装单元 1403和发送单 元 1404 , 其中,
IP数据包解析单元 1401 , 用于对接收到的网际协议 IP数据包进行解 析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用 户应用层数据;
压缩单元 1402 , 用于对所述用户应用层数据进行压缩, 得到压缩后的 用户数据协议负荷;
封装单元 1403 , 用于使用所述用户数据协议头部、所述传输隧道协议 头部和所述传输网络协议头部对所述压缩后的用户数据协议负荷进行封 装, 得到 IP压缩数据包;
发送单元 1404 , 用于向核心网或基站发送所述 IP压缩数据包。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1401 , 作为其中一种可实现的方式, 包括(未在图 14中示出) :
第一分片重组子单元, 用于若 IP数据包存在 IP分片时, 对存在 IP分 片的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据; 第一获取子单元, 用于根据传输网络 IP分组数据的头部获取传输网 络 IP协议头部和传输网络 IP协议头部的长度;
第二获取子单元, 用于根据所述传输网络 IP分组数据的头部的协议 类型字段判断传输网络传输层协议的协议类型, 然后再根据所述传输网络 传输层协议的协议类型获取传输网络传输层协议头部和对应的字段, 根据 所述传输网络传输层协议头部和对应的字段获取传输网络传输层协议头 部的长度;
第三获取子单元, 用于根据所述传输网络 IP协议头部的长度和所述 传输网络传输层协议头部的长度获取所述传输网络协议头部的长度, 所述 传输网络协议头部的长度是所述传输网络 IP协议头部的长度加上所述传 输网络传输层协议头部的长度;
第四获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部的长度获取所述传输网络协议头部, 所述传输网络协议头部是 从所述传输网络 IP分组数据的开头到长度为所述传输网络协议头部的长 度对应的数据。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1401 , 作 为其中另一种可实现的方式, 还包括(未在图 14中示出) :
计算子单元, 用于根据传输隧道协议的协议类型计算传输隧道协议的 固定头部的长度;
第一判断子单元, 用于根据所述传输隧道协议的协议类型对应的字段 判断所述传输隧道协议头部是否存在可选字段;
第五获取子单元, 用于当不存在可选字段时, 根据所述传输隧道协议 的固定头部的长度获取传输隧道协议头部的长度, 所述传输隧道协议头部 的长度为所述传输隧道协议的固定头部的长度;
第二判断子单元, 用于当存在可选字段时, 根据所述传输隧道协议的 协议类型对应的字段判断所述传输隧道协议头部是否存在扩展头部; 第六获取子单元, 用于当不存在扩展头部时, 根据所述传输隧道协议 的固定头部的长度和可选字段的长度获取传输隧道协议头部的长度, 所述 传输隧道协议头部的长度为所述传输隧道协议的固定头部的长度加上所 述可选字段的长度;
第七获取子单元, 用于当存在扩展头部时, 根据所述传输隧道协议的 固定头部的长度、 所述可选字段的长度和所述扩展头部的长度获取传输隧 道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协议的 固定头部的长度加上所述可选字段的长度再加上所述扩展头部的长度; 第八获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部获取所述传输隧道协议头部, 所述所述传输隧道协议头部是从 所述传输网络 IP分组数据中的所述传输网络协议头部之后开始到长度为 所述传输隧道协议头部的长度对应的数据。
需要说明的是, 对于本发明实施例提供的 IP数据包解析单元 1401 , 作 为其中另一种可实现的方式, 还包括(未在图 14中示出) :
第二分片重组子单元, 用于当传输隧道协议承载的数据存在 IP分片 时, 对所述传输隧道协议承载的数据进行 IP分片重组, 获取到完整的用 户数据 IP分组数据;
第九获取子单元, 用于根据所述用户数据 IP分组数据的头部获取用 户数据 IP协议头部的长度;
第十获取子单元, 用于根据所述用户数据 IP分组数据头部的协议类 型字段获取用户数据传输层协议的协议类型, 根据所述用户数据传输层协 议的协议类型获取所述用户数据传输层协议头部和对应的字段, 根据所述 用户数据传输层协议头部和对应的字段获取用户数据传输层协议头部的 长度;
第十一获取子单元, 用于根据所述用户数据 IP协议头部的长度和所 述用户数据传输层协议头部的长度获取用户数据协议头部的长度, 所述用 户数据协议头部的长度是所述用户数据 IP协议头部的长度加上所述用户 数据传输层协议头部的长度;
第十二获取子单元, 用于根据所述传输网络 IP分组数据和所述用户 数据协议头部的长度获取所述用户数据协议头部, 所述用户数据协议头部 是从所述传输网络 IP分组数据中的所述传输隧道协议头部之后开始到长 度为所述用户数据协议头部的长度对应的数据。
需要说明的是, 对于本发明实施例提供的压缩单元 1402 , 作为其中一 种可实现的方式, 包括(未在图 14中示出) :
第三判断子单元, 用于判断所述用户数据传输层协议是否为传输控制 协议 TCP;
第十三获取子单元, 用于当所述用户数据传输层协议是 TCP时, 获取 用户应用层数据,所述用户应用层数据是指 TCP会话重组后的的数据负载 Payload;
切片子单元, 用于对所述用户应用层数据进行切片, 得到多个的用户 应用层数据片段;
摘要生成子单元, 用于分别对切片后得到的每一个用户应用层数据片 段生成一个数字摘要;
码本生成子单元, 用于根据所述用户应用层数据和所述数字摘要生成 码本, 所述码本包括每一个数字摘要与每一个用户应用层数据片段、 以及 所述每一个数字摘要与每一个用户应用层数据片段的索引结构;
码本发送子单元, 用于将所述码本发送到使用所述码本进行解码的解 码端设备, 实践中码本发送子单元为可选的组成部分; 第四判断子单元, 用于根据所述码本判断所述多个的用户应用层数据 片段中是否存在重复的用户应用层数据片段;
替换子单元, 用于当所述多个的用户应用层数据片段中存在重复的用 户应用层数据片段时, 用所述重复的用户应用层数据片段对应的数字摘要 代替所述重复的用户应用层数据片段;
编码子单元, 用于将所述重复的用户应用层数据片段对应的数字摘 要、 未重复的用户应用层数据片段进行编码, 得到压缩后的用户数据协议 负荷。
在本发明提供的另一实施例中, IP数据包解析单元对接收到的 IP数据 包进行解析, 得到了传输网络协议头部、 传输隧道协议头部、 用户数据协 议头部和用户应用层数据, 然后压缩单元对用户应用层数据进行压缩, 再 用用户数据协议头部、 传输隧道协议头部和传输网络协议头部对压缩后的 用户数据协议负荷进行封装, 得到 IP压缩数据包, 通过这优化方式可以实 现对用户应用层数据的压缩, 故可以提高 Backhaul上传输的数据的压缩量 以提高 Backhaul的吞吐量。
接下来介绍本发明实施例提供的另一种数据传输设备, 请参阅图 15所 示, 数据传输设备 1500 , 包括: 获取单元 1501、 第一解码单元 1502、 第二 解码单元 1503、 压缩单元 1504、 封装单元 1505和发送单元 1506 , 其中, 所述获取单元 1501 ,用于获取按照 Iub接口协议解码后的媒体接入控 制协议数据单元 MAC PDU;
第一解码单元 1502 ,用于对所述 MAC PDU依次按照媒体接入控制协 议 MAC、 无线链路控制协议 RLC、 分组数据汇聚协议 PDCP进行解码, 得到分组数据汇聚协议协议数据单元 PDCP PDU;
第二解码单元 1503 , 用于使用用户数据协议头部对 PDCP PDU进行 解码, 得到解码数据;
压缩单元 1504 , 用于对所述解码数据进行压缩, 得到压缩数据; 封装单元 1505 , 用于对所述压缩数据按照所述用户数据协议头部、 PDCP , RLC、 MAC进行封装, 得到 Uu封装数据;
发送单元 1506 , 用于向核心网或基站发送所述 Uu封装数据。
需要说明的是, 对于本发明实施例提供的获取单元 1501 , 作为其中一 种可实现的方式, 包括(未在图 15中示出) :
第一解码子单元, 用于对接收到的 Iub封装数据按照 Iub接口协议进 行解码, 得到所述 MAC PDU;
或,
接收子单元, 用于从基站的协议处理模块或者无线网络控制器 RNC 的协议处理模块接收所述 MAC PDU。
需要说明的是, 对于本发明实施例提供的解码子单元, 作为其中一种 可实现的方式, 包括(未在图 15中示出) :
分片重组模块, 用于当所述 Iub封装数据是存在 IP分片的 IP数据包 时, 对所述存在 IP分片的 IP数据包进行 IP分片重组, 获取到完整的传输 网络 IP分组数据;
第一解码模块, 用于对所述传输网络 IP分组数据按照网际协议 IP、 用户数据报协议 UDP进行解码, 得到 UDP负载;
第二解码模块, 用于对所述 UDP负载按照成帧协议 FP进行解码, 得 到所述 MAC PDIL
需要说明的是, 对于本发明实施例提供的第一解码单元 1502 , 作为另 一种可实现的方式, 包括(未在图 15中示出) :
第二解码子单元,用于对所述 MAC PDU进行 MAC层解码,得到 RLC PDU;
解码重组子单元, 用于对所述 RLC PDU进行 RLC层解码之后, 对解 码后的 RLC PDU进行重组, 得到 PDCP PDU。
需要说明的是, 对于本发明实施例提供的第二解码单元 1503 , 作为另 一种可实现的方式, 包括(未在图 15中示出) :
第三解码子单元, 用于对所述 PDCP PDU进行上层协议头部解压缩, 得到用户数据 IP分组数据, 所述用户数据 IP分组数据包括: 用户数据 IP 协议头部、 用户数据传输层协议头部;
第四解码子单元, 用于对用户数据 IP协议头部、 用户数据传输层协 议头部进行解码, 得到所述解码数据。
需要说明的是, 对于本发明实施例提供的数据传输设备 1500 , 作为另 一种可实现的方式, 还可以包括(未在图 15中示出) : 第一解密单元,用于所述第二解码子单元对所述 MAC PDU进行 MAC 层解码之后, 当所述 MAC PDU承载的数据被加密时, 对所述 MAC PDU 承载的数据进行解密;
第二解密单元, 用于所述解码重组子单元对所述 RLC PDU进行 RLC 层解码之后, 当所述 RLC PDU承载的数据被加密时, 对所述 RLC PDU 承载的数据进行解密。
需要说明的是, 对于本发明实施例提供的压缩单元 1502 , 作为其中一 种可实现的方式, 还可以包括(未在图 15中示出) :
切片子单元、 摘要生成子单元、 码本生成子单元、 码本发送子单元、 判断子单元、 替换子单元和编码子单元, 其中,
所述切片子单元, 用于对所述解码数据进行切片, 得到多个的解码数 据片段;
所述摘要生成子单元, 用于分别对切片后得到的每一个解码数据片段 生成数字摘要;
所述码本生成子单元, 用于生成码本, 所述码本包括每一个数字摘要 与每一个解码数据片段、 以及所述每一个数字摘要与每一个解码数据片段 的索引结构;
所述码本发送子单元, 用于将所述码本发送到使用所述码本进行解码 的解码端设备, 在本实施例中该子单元为可选的部分;
所述判断子单元, 用于根据所述码本判断是否存在重复的解码数据片 段;
所述替换子单元, 用于当存在重复的解码数据片段时, 用重复的解码 数据片段对应的数字摘要代替所述重复的解码数据片段;
所述编码子单元, 用于将所述重复的解码数据片段对应的数字摘要和 未重复的解码数据片段进行编码, 得到压缩数据。
在本发明提供的实施例中,首先获取单元获取到 Iub接口协议解码后的 MAC PDU, 然后第一解码单元对 MAC PDU依次按照 MAC、 RLC、 PDCP 进行解码, 第二解码单元使用用户数据协议头部对 PDCP PDU进行解码, 得到解码数据, 压缩单元再对解码数据进行压缩, 得到压缩数据, 之后封 装单元再依次对压缩数据按照用户数据协议头部、 PDCP、 RLC、 MAC进 行封装,得到 Uu封装数据 ,通过这种优化方式可以实现对解码数据的压缩, 故可以提高 Backhaul上传输的数据的压缩量以提高 Backhaul的吞吐量。
接下来介绍本发明实施例提供的另一种数据传输设备, 如图 16所示, 数据传输设备 1600, 包括: 获取单元 1601、 解码单元 1602、压缩单元 1603、 封装单元 1604和发送单元 1605 , 其中,
所述获取单元 1601 , 用于获取按照 Iub接口协议解码后的 Uu接口媒 体接入控制协议数据单元 MAC PDU;
所述解码单元 1602 ,用于对所述 MAC PDU依次按照媒体接入控制协 议 MAC、 无线链路控制协议 RLC进行解码, 得到解码数据;
所述压缩单元 1603 , 用于对所述解码数据进行压缩, 得到压缩数据; 所述封装单元 1604, 用于依次按照 RLC、 MAC对所述压缩数据进行 封装, 得到 Uu封装数据;
所述发送单元 1605 ,用于向核心网中或基站中的解码端设备发送所述 Uu封装数据。
需要说明的是, 对于本发明实施例提供的解码单元 1601 , 作为其中一 种可实现的方式, 包括(未在图 16中示出) :
第一解码子单元,用于对所述 MAC PDU进行 MAC层解码,得到 RLC PDU;
第二解码子单元, 用于对所述 RLC PDU进行 RLC层解码, 得到所述 解码数据。
需要说明的是, 对于本发明实施例提供的压缩单元 1603 , 作为其中一 种可实现的方式, 还可以包括(未在图 16中示出) : 切片子单元、 摘要生 成子单元、 码本生成子单元、 码本发送子单元、 判断子单元、 替换子单元 和编码子单元, 其中,
所述切片子单元, 用于对所述解码数据进行切片, 得到多个的解码数 据片段;
所述摘要生成子单元, 用于分别对切片后得到的每一个解码数据片段 生成数字摘要;
所述码本生成子单元, 用于生成码本, 所述码本包括每一个数字摘要 与每一个解码数据片段、 以及所述每一个数字摘要与每一个解码数据片段 的索引结构;
所述码本发送子单元, 用于将所述码本发送到使用所述码本进行解码 的解码端设备;
所述判断子单元, 用于根据所述码本判断是否存在重复的解码数据片 段;
所述替换子单元, 用于当存在重复的解码数据片段时, 用重复的解码 数据片段对应的数字摘要代替所述重复的解码数据片段;
所述编码子单元, 用于将所述重复的解码数据片段对应的数字摘要和 未重复的解码数据片段进行编码, 得到压缩数据。
在本发明提供的实施例中,获取单元首先获取到 Iub接口协议解码后的
MAC PDU, 然后解码单元对 MAC PDU依次按照 MAC、 RLC进行解码, 得 到解码数据, 压缩单元再对解码数据进行压缩, 得到压缩数据, 之后封装 单元再依次对压缩数据按照 RLC、 MAC进行封装, 得到 Uu封装数据, 通 过这种优化方式可以实现对解码数据的压缩, 故可以提高 Backhaul上传输 的数据的压缩量以提高 Backhaul的吞吐量。
以上实施例介绍了在一个完整的数据传输过程中, 回程链路一端的数 据传输设备用于实现对传输的数据的去重, 接下来介绍位于回程链路另一 端的数据传输设备用于实现对传输的数据的还原, 请参阅图 17所示, 本发 明实施例提供的一种数据传输设备 1700 , 图 17所示的数据传输设备实现的 数据还原方法与前述图 13所示的数据传输设备实现的数据压缩方法相对 应, 如图 17所示, 具体可以包括: 接收单元 1701、 解码单元 1702、 解压缩 单元 1703、 封装单元 1704、 发送单元 1705 , 其中,
所述接收单元 1701 , 用于接收网际协议 IP压缩数据包;
所述解码单元 1702 , 用于对 IP压缩数据包按照传输网络协议头部进 行解码, 得到压缩后的传输网络协议负荷;
所述解压缩单元 1703 , 用于对压缩后的传输网络协议负荷进行解压 缩, 依次得到传输隧道协议头部、 用户数据协议头部和用户应用层数据; 所述封装单元 1704 ,用于使用所述传输网络协议头部对所述传输隧道 协议头部、 所述用户数据协议头部和所述用户应用层数据进行封装, 得到 IP数据包; 所述发送单元 1705 , 用于向核心网或基站发送所述 IP数据包。
需要说明的是, 对于本发明实施例提供的解压缩单元 1703 , 作为其中 一种可实现的方式, 包括(未在图 17中示出) :
第一解压缩子单元, 用于按照所述传输隧道协议头部、 用户数据协议头 部依次对所述压缩后的传输网络协议负荷进行头部解压缩, 得到解压缩后的 传输隧道协议头部、 解压缩后的用户数据协议头部以及压缩后的用户应用层 数据;
第二解压缩子单元, 用于对所述压缩后的用户应用层数据进行解压缩, 得到用户应用层数据。
需要说明的是, 对于本发明实施例提供的解码单元 1702 , 作为其中一 种可实现的方式, 包括(未在图 17中示出) :
解析子单元, 用于对所述 IP压缩数据包进行解析, 获取传输网络 IP 协议头部的长度和对应的字段;
第一获取子单元, 用于根据所述传输网络 IP协议头部的长度和对应 的字段获取传输网络传输层协议头部的长度;
第二获取子单元, 用于根据所述传输网络 IP协议头部的长度和所述 传输网络传输层协议头部的长度获取所述传输网络协议头部的长度, 所述 传输网络协议头部的长度为所述传输网络 IP协议头部的长度加上所述传 输网络传输层协议头部的长度;
第三获取子单元, 用于将从所述第一 IP压缩数据包的开头到长度为 所述传输网络协议头部的长度对应的数据截去, 得到压缩后的传输网络协 议负荷。
在本发明提供的实施例中, 接收单元接收到 IP压缩数据包之后, 然后 解码单元按照传输网络协议头部对 IP压缩数据包进行解码, 得到压缩后的 传输网络协议负荷, 解压缩单元再对压缩后的传输网络协议负荷进行解压 缩, 得到了传输隧道协议头部、 用户数据协议头部和用户应用层数据, 封 装单元最后用传输网络协议头部对传输隧道协议头部、 用户数据协议头部 和用户应用层数据进行封装, 得到 IP数据包, 通过如上实现方式, 实现了 对 IP压缩数据包还原, 得到了 IP数据包, 实现了对传输链路上传输的压缩 数据包的还原, 故可以提高 Backhaul的吞吐量。
接下来介绍位于回程链路另一端的数据传输设备用于实现对传输的 数据的还原, 请参阅图 18所示, 本发明实施例提供的一种数据传输设备 1800, 图 18所示的数据传输设备实现的数据还原方法与前述图 14所示的数 据传输设备实现的数据压缩方法相对应, 如图 18所示, 具体可以包括: 接 收单元 1801、 解码单元 1802、 解压缩单元 1803、 封装单元 1804、 发送单元 1805 , 其中,
所述接收单元 1801 , 用于接收网际协议 IP压缩数据包;
所述解码单元 1802 , 用于对所述 IP压缩数据包按照传输网络协议头 部、 传输隧道协议头部、 用户数据协议头部进行解码, 得到压缩后的用户 数据协议负荷;
所述解压缩单元 1803 ,用于对所述压缩后的用户数据协议负荷进行解 压缩, 得到用户应用层数据;
所述封装单元 1804, 用于使用所述传输网络协议头部、 所述传输隧道 协议头部、 所述用户数据协议头部对所述用户应用层数据进行封装, 得到 IP数据包;
所述发送单元 1805 , 用于向核心网或基站发送所述 IP数据包。
需要说明的是, 对于本发明实施例提供的解压缩单元 1803 , 作为其中 一种可实现的方式, 包括(未在图 18中示出) :
接收子单元, 用于接收编码端设备发送的码本, 所述码本包括每一个 数字摘要与每一个用户应用层数据片段、 以及所述每一个数字摘要与每一 个用户应用层数据片段的索引结构;
判断子单元, 用于根据所述码本判断所述压缩后的用户数据协议负荷 中是否存在重复的用户应用层数据片段;
解码子单元, 用于当存在重复的用户应用层数据片段时, 将所述压缩 后的用户数据协议负荷解码为重复的用户应用层数据片段对应的数字摘 要、 未重复的用户应用层数据片段;
还原子单元, 用于将解码得到的重复的用户应用层数据片段对应的数 字摘要还原为重复的用户应用层数据片段;
组合子单元, 用于将所述重复的用户应用层数据片段、 所述未重复的 用户应用层数据片段进行组合, 得到用户应用层数据。
在本发明提供的实施例中, 数据传输设备接收到 IP压缩数据包之后, 然后依次按照传输网络协议头部、 传输隧道协议头部和用户数据协议头部 进行解码, 得到压缩后的用户数据协议负荷, 然后对压缩后的用户数据协 议负荷进行解压缩,得到用户应用层数据,再依次按照用户数据协议头部、 传输隧道协议头部和传输网络协议头部对所述用户应用层数据进行封装, 得到 IP数据包。 通过如上实现方式, 实现了对 IP压缩数据包还原得到 IP数 据包,实现了对传输链路上传输的压缩数据包的还原,故可以提高 Backhaul 的吞吐量。
接下来介绍本发明实施例提供的另一种数据传输设备, 请参阅图 19 所示, 本发明实施例提供的一种数据传输设备 1900 , 图 19所示的数据传 输设备实现的数据还原方法与前述图 15所示的数据传输设备实现的数据 压缩方法相对应, 如图 19所示, 具体可以包括: 获取单元 1901、 解码单 元 1902、 解压缩单元 1903、 第一封装单元 1904、 第二封装单元 1905、 发 送单元 1906 , 其中,
所述获取单元 1901 , 用于获取 Uu封装数据;
所述解码单元 1902 , 用于对所述 Uu封装数据依次按照媒体接入控制 协议 MAC、 无线链路控制协议 RLC、 分组数据汇聚协议 PDCP和用户数 据协议头部进行解码, 得到压缩数据;
所述解压缩单元 1903 , 用于对所述压缩数据进行解压缩, 得到解码数 据;
所述第一封装单元 1904 ,用于对所述解码数据按照所述用户数据协议 头部进行封装, 得到分组数据汇聚协议协议数据单元 PDCP PDU;
所述第二封装单元 1905 , 用于依次按照 PDCP、 RLC、 MAC对 PDCP PDU进行封装, 得到 Uu接口媒体介入控制协议数据单元 MAC PDU; 所述发送单元 1906 , 用于向核心网或基站发送所述 MAC PDU。
需要说明的是, 对于本发明实施例提供的解压缩单元 1903 , 作为其中 一种可实现的方式, 还可以包括(未在图 19中示出) :
接收子单元, 用于接收编码端设备发送的码本, 所述码本包括每一个 数字摘要与每一个解码数据片段、 以及所述每一个数字摘要与每一个解码 数据片段的索引结构;
判断子单元, 用于根据所述码本判断所述压缩数据中是否存在重复的 解码数据片段;
解码子单元, 用于当存在重复的解码数据片段时, 将所述压缩数据解 码为重复的解码数据片段对应的数字摘要、 未重复的解码数据片段;
还原子单元, 用于将解码得到的重复的解码数据片段对应的数字摘要 还原为重复的解码数据片段;
组合子单元, 用于将重复的解码数据片段、 未重复的解码数据片段进 行组合, 得到解码数据。
在本发明提供的实施例中, 数据传输设备首先获取到 Uu封装数据, 依 次按照 MAC、 RLC、 PDCP和用户数据协议头部进行解码, 得到压缩数据, 然后对压缩数据进行解压缩, 得到解码数据, 最后用用户数据协议头部、 PDCP、 RLC、 MAC进行封装, 得到了 MAC PDU , 由于将 Uu封装数据还 原为 MAC PDU, 故可以实现对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞吐量。
接下来介绍本发明实施例提供的另一种数据传输设备, 请参阅图 20所 示, 本发明实施例提供的一种数据传输设备 2000 , 图 20所示的数据传输设 备实现的数据还原方法与前述图 16所示的数据传输设备实现的数据压缩 方法相对应, 如图 20所示, 具体可以包括: 获取单元 2001、 解码单元 2002、 解压缩单元 2003、 封装单元 2004、 发送单元 2005 , 其中,
所述获取单元 2001 , 用于获取 Uu封装数据;
所述解码单元 2002 , 用于对所述 Uu封装数据依次按照媒体接入控制 协议 MAC、 无线链路控制协议 RLC进行解码, 得到压缩数据;
所述解压缩单元 2003 , 用于对所述压缩数据进行解压缩, 得到解码数 据;
所述封装单元 2004, 用于对所述解码数据按照所述 RLC、 所述 MAC 进行封装, 得到 Uu接口媒体介入控制协议数据单元 MAC PDU;
所述发送单元 2005 , 用于向核心网或基站发送所述 MAC PDU。
需要说明的是, 对于本发明实施例提供的解压缩单元 2003 , 作为其中 一种可实现的方式, 还可以包括(未在图 20中示出) :
接收子单元, 用于接收编码端设备发送的码本, 所述码本包括每一个 数字摘要与每一个解码数据片段、 以及所述每一个数字摘要与每一个解码 数据片段的索引结构;
判断子单元, 用于根据所述码本判断所述压缩数据中是否存在重复的 解码数据片段;
解码子单元, 用于当存在重复的解码数据片段时, 将所述压缩数据解 码为重复的解码数据片段对应的数字摘要、 未重复的解码数据片段;
还原子单元, 用于将解码得到的重复的解码数据片段对应的数字摘要 还原为重复的解码数据片段;
组合子单元, 用于将重复的解码数据片段、 未重复的解码数据片段进 行组合, 得到解码数据。
在本发明提供的实施例中, 数据传输设备首先获取到封装数据, 数据 传输设备依次按照 MAC、 RLC进行解码, 得到压缩数据, 然后对压缩数据 进行解压缩, 得到解码数据, 最后用 RLC、 MAC进行封装, 得到了 MAC
PDU。 由于将 Uu封装数据还原为 MAC PDU , 故可以实现对 Backhaul上传 输的数据进行压缩以提高 Backhaul的吞吐量。
接下来, 请参阅本发明实施例提供的数据传输系统, 如图 21所示, 数 据传输系统 2100包括: 第一数据传输设备 2101和第二数据传输设备 2102 , 其中,
所述第一数据传输设备 2101通过传输链路与所述第二数据传输设备 2102连接;
所述第一数据传输设备 2101如图 13所述的数据传输设备 1300、所述 第二数据传输设备 2102如图 17所述的数据传输设备 1700 ,所述第一数据 传输设备 2100为编码端设备, 所述第一数据传输设备 2101将压缩得到的 IP压缩数据包通过所述传输链路传输到所述第二数据传输设备 2102 , 所 述第二数据传输设备 2102为核心网中或基站中的解码端设备。
请参阅本发明实施例提供的另一种数据传输系统, 数据传输系统包 括: 第一数据传输设备和第二数据传输设备, 其中,
所述第一数据传输设备通过传输链路与所述第二数据传输设备连接; 所述第一数据传输设备如图 14所述的数据传输设备 1400、 所述第二 数据传输设备如图 18所述的数据传输设备 1800 , 所述第一数据传输设备 为编码端设备, 所述第一数据传输设备将压缩得到的 IP压缩数据包通过 所述传输链路传输到所述第二数据传输设备, 所述第二数据传输设备为核 心网中或基站中的解码端设备。
请参阅本发明实施例提供的另一种数据传输系统, 数据传输系统包 括: 第一数据传输设备和第二数据传输设备, 其中,
所述第一数据传输设备通过传输链路与所述第二数据传输设备连接; 所述第一数据传输设备如图 15所述的数据传输设备 1500、 所述第二 数据传输设备如图 19所述的数据传输设备 1900, 所述第一数据传输设备 为编码端设备, 所述第一数据传输设备将 Uu封装数据通过所述传输链路 传输到所述第二数据传输设备, 所述第二数据传输设备为核心网中或基站 中的解码端设备。
请参阅本发明实施例提供的另一种数据传输系统, 数据传输系统包 括: 第一数据传输设备和第二数据传输设备, 其中,
所述第一数据传输设备通过传输链路与所述第二数据传输设备连接; 所述第一数据传输设备如图 16所述的数据传输设备 1600、 所述第二 数据传输设备如图 20所述的数据传输设备 2000, 所述第一数据传输设备 为编码端设备, 所述第一数据传输设备将 Uu封装数据通过所述传输链路 传输到所述第二数据传输设备, 所述第二数据传输设备为核心网中或基站 中的解码端设备。
例如, 前述图 13的实施例所示的第一数据传输设备 2101和如前述图 17的实施例所示的第二数据传输设备 2102 , 或, 如前述图 14的实施例所 示的第一数据传输设备和如前述图 18的实施例所示的第二数据传输设备。
具体的, 所述第二数据传输设备与基站连接, 所述第一数据传输设备 和网关通用分组无线服务技术支持节点 GGSN连接, 和 /或所述第二数据 传输设备和服务通用分组无线服务技术支持节点 SGSN连接; 所述传输链 路为 lub和 /或 lu-PS接口链路,如图 22所示中给出了传输链路为 lu-PS接 口链路的情况。
具体的, 第二数据传输设备与基站连接, 所述第一数据传输设备和服 务网关 S-GW连接; 所述传输链路为 Sl-u接口链路, 如图 23所示。
具体的, 所述第二数据传输设备与基站连接或第二数据传输设备集成 到基站内部, 所述第一数据传输设备和无线网络控制器 RNC连接或第一 数据传输设备集成到 RNC内部, 所述 RNC通过传输链路与所述第一数据 传输设备连接, 如图 24所示。
具体的, 第一数据传输设备和无线网络控制器 RNC连接, 或第一数 据传输设备集成到 RNC内部, 第二数据传输设备集成到终端设备内部, 终端设备与基站之间通过空口连接, 如图 25所示。
需要说明的是, 本发明实施例中描述的传输链路上可以安装有交换 机、 路由器等节点设备, 本发明实施例中描述的传输链路包括但不限于无 线链路或有线链路, 直连链路或经过交换机、 路由器、 或其他网元连接的 链路。
需要说明的是,上述装置各模块 /单元之间的信息交互、执行过程等内容, 由于与本发明方法实施例基于同一构思, 其带来的技术效果与本发明方法实 施例相同, 具体内容可参见本发明前述所示的方法实施例中的叙述, 此处不 再赘述。
在本发明提供的实施例中, 第一数据传输设备对接收到的 IP数据包进 行解析, 然后获取到 IP压缩数据包, 然后发送到第二数据传输设备, 由第 二数据传输设备进行还原, 两种实现方式都可以对无线网络用户数据进行 压缩, 故可以实现对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞 吐量。
第一数据传输设备对获取 Iub接口协议解码后的 MAC PDU , 然后获取 到了 Uu封装数据, 然后发送给第二数据传输设备, 由第二数据传输设备进 行还原, 两种实现方式都可以对无线网络用户数据进行压缩, 故可以实现 对 Backhaul上传输的数据进行压缩以提高 Backhaul的吞吐量。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 步骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种 计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或 光盘等。
以上对本发明所提供的一种数据传输方法和相关装置进行了详细介 绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施 方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为 对本发明的限制。

Claims

权利要求 书
1、 一种数据传输方法, 其特征在于, 包括:
对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用层数据;
对所述传输隧道协议头部、 所述用户数据协议头部和所述用户应用层 数据进行压缩, 得到压缩后的传输网络协议负荷;
使用所述传输网络协议头部对所述压缩后的传输网络协议负荷进行 封装, 得到 IP压缩数据包;
向核心网或基站发送所述 IP压缩数据包。
2、 根据权利要求 1所述的方法, 其特征在于, 所述传输网络协议头 部包括: 传输网络 IP协议头部、 传输网络传输层协议头部;
所述对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头 部, 包括:
获取完整的传输网络 IP分组数据;
根据所述传输网络 IP分组数据的头部确定传输网络 IP协议头部和所 述传输网络 IP协议头部的长度;
根据所述传输网络 IP分组数据的头部的协议类型字段判断传输网络 传输层协议的协议类型, 然后再根据所述传输网络传输层协议的协议类型 确定传输网络传输层协议头部和传输网络传输层协议头部的长度;
根据所述传输网络 IP协议头部和所述传输网络传输层协议头部获取 所述传输网络协议头部的长度, 所述传输网络协议头部的长度是所述传输 网络 IP协议头部的长度加上所述传输网络传输层协议头部的长度;
根据所述传输网络 IP分组数据和所述传输网络协议头部的长度获取 所述传输网络协议头部。
3、 根据权利要求 1所述的方法, 其特征在于, 所述对接收到的网际 协议 IP数据包进行解析, 得到传输隧道协议头部, 包括:
获得传输隧道协议的协议类型并根据所述传输隧道协议的协议类型 计算传输隧道协议固定头部的长度;
根据所述传输隧道协议的协议类型判断所述传输隧道协议头部是否 存在可选字段; 若不存在可选字段, 根据所述传输隧道协议的固定头部的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度;
若存在可选字段, 根据所述传输隧道协议的协议类型对应的字段判断 所述传输隧道协议头部是否存在扩展头部, 若存在可选字段但不存在扩展 头部, 根据所述传输隧道协议的固定头部的长度和可选字段的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度加上所述可选字段的长度, 若存在可选字段并且存在 扩展头部, 根据所述传输隧道协议的固定头部的长度、 所述可选字段的长 度和扩展头部的长度确定传输隧道协议头部的长度, 所述传输隧道协议头 部的长度为所述传输隧道协议的固定头部的长度加上所述可选字段的长 度再加上所述扩展头部的长度;
根据所述传输网络 IP分组数据和所述传输隧道协议头部的长度确定 所述传输隧道协议头部。
4、 根据权利要求 1所述的方法, 其特征在于, 所述用户数据协议头 部包括用户数据 IP协议头部的长度、 用户数据传输层协议头部,
所述对接收到的网际协议 IP数据包进行解析, 得到用户数据协议头 部, 包括:
获取到完整的用户数据 IP分组数据;
根据所述用户数据 IP分组数据的头部获取用户数据 IP协议头部的长 度;
根据所述用户数据 IP分组数据头部的协议类型字段确定用户数据传 输层协议的协议类型, 根据所述用户数据传输层协议的协议类型获取所述 用户数据传输层协议头部, 根据所述用户数据传输层协议头部获取用户数 据传输层协议头部的长度;
根据所述用户数据 IP协议头部的长度和所述用户数据传输层协议头 部的长度获取用户数据协议头部的长度, 所述用户数据协议头部的长度是 所述用户数据 IP协议头部的长度加上所述用户数据传输层协议头部的长 度;
根据所述传输网络 IP分组数据和所述用户数据协议头部的长度获取 所述用户数据协议头部。
5、 根据权利要求 1-4任一权利要求所述的方法, 其特征在于, 所述对 所述传输隧道协议头部、 所述用户数据协议头部和所述用户应用层数据进 行压缩, 得到压缩后的传输网络协议负荷, 包括:
对所述传输隧道协议头部、 所述用户数据协议头部进行头部压缩, 得 到头部压缩的第一结果;
对所述用户应用层数据进行压缩, 得到压缩后的用户应用层数据; 对所述头部压缩的第一结果和所述压缩后的用户应用层数据进行编 码, 得到所述压缩后的传输网络协议负荷。
6、 根据权利要求 1或 5所述的方法, 其特征在于, 所述使用所述传 输网络协议头部对压缩后的传输网络协议负荷进行封装, 得到 IP压缩数 据包, 之后还包括:
判断所述 I P压缩数据包的长度是否大于下层协议的最大传输单元的 长度, 若所述 IP压缩数据包的长度大于下层协议的最大传输单元的长度, 对所述 IP压缩数据包进行 IP分片, 得到分片后的 IP压缩数据包,所述下 层协议包括直接用来传输 IP压缩数据包的协议;
则所述向核心网或基站发送所述 IP压缩数据包, 包括:
向核心网或基站发送所述分片后的 IP压缩数据包。
7、 一种数据传输方法, 其特征在于, 包括:
对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应用层数据;
对所述用户应用层数据进行压缩, 得到压缩后的用户数据协议负荷; 使用所述用户数据协议头部、 所述传输隧道协议头部和所述传输网络 协议头部对所述压缩后的用户数据协议负荷进行封装, 得到 IP压缩数据 包;
向核心网或基站发送所述 IP压缩数据包。
8、 根据权利要求 7所述的方法, 其特征在于, 所述传输网络协议头 部包括: 传输网络 IP协议头部、 传输网络传输层协议头部;
所述对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头 部, 包括: 获取到完整的传输网络 IP分组数据;
根据所述传输网络 IP分组数据的头部获取传输网络 IP协议头部和所 述传输网络 IP协议头部的长度;
根据所述传输网络 IP分组数据的头部的协议类型字段判断传输网络 传输层协议的协议类型, 然后再根据所述传输网络传输层协议的协议类型 获取传输网络传输层协议头部和对应的字段, 根据所述传输网络传输层协 议头部和对应的字段获取传输网络传输层协议头部的长度;
根据所述传输网络 IP协议头部和所述传输网络传输层协议头部获取 所述传输网络协议头部的长度, 所述传输网络协议头部的长度是所述传输 网络 IP协议头部的长度加上所述传输网络传输层协议头部的长度;
根据所述传输网络 IP分组数据和所述传输网络协议头部的长度获取 所述传输网络协议头部, 所述传输网络协议头部是从所述传输网络 IP分 组数据的开头到长度为传输网络协议头部的长度对应的数据。
9、 根据权利要求 7所述的方法, 其特征在于, 所述对接收到的网际 协议 IP数据包进行解析, 得到传输隧道协议头部, 包括:
获得传输隧道协议的协议类型并根据所述传输隧道协议的协议类型 计算传输隧道协议的固定头部的长度;
根据所述传输隧道协议的协议类型判断所述传输隧道协议头部是否 存在可选字段;
若不存在可选字段, 根据所述传输隧道协议的固定头部的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度;
若存在可选字段, 根据所述传输隧道协议的协议类型对应的字段判断 所述传输隧道协议头部是否存在扩展头部, 若存在可选字段但不存在扩展 头部, 根据所述传输隧道协议的固定头部的长度和可选字段的长度确定传 输隧道协议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协 议的固定头部的长度加上所述可选字段的长度, 若存在可选字段并且存在 扩展头部, 根据所述传输隧道协议的固定头部的长度、 所述可选字段的长 度和扩展头部的长度确定传输隧道协议头部的长度, 所述传输隧道协议头 部的长度为所述传输隧道协议的固定头部的长度加上所述可选字段的长 度再加上所述扩展头部的长度;
根据所述传输网络 IP分组数据和所述传输隧道协议头部的长度获取 所述传输隧道协议头部。
10、 根据权利要求 8所述的方法, 其特征在于, 所述用户数据协议头 部包括用户数据 IP协议头部的长度、 用户数据传输层协议头部,
所述对接收到的网际协议 IP数据包进行解析, 得到用户数据协议头 部, 包括:
获取到完整的用户数据 IP分组数据;
根据所述用户数据 IP分组数据的头部获取用户数据 IP协议头部的长 度;
根据所述用户数据 IP分组数据头部的协议类型字段确定用户数据传 输层协议的协议类型, 根据所述用户数据传输层协议的协议类型获取所述 用户数据传输层协议头部, 根据所述用户数据传输层协议头部获取用户数 据传输层协议头部的长度;
根据所述用户数据 IP协议头部的长度和所述用户数据传输层协议头 部的长度获取用户数据协议头部的长度, 所述用户数据协议头部的长度是 所述用户数据 IP协议头部的长度加上所述用户数据传输层协议头部的长 度;
根据所述传输网络 IP分组数据和所述用户数据协议头部的长度获取 所述用户数据协议头部。
11、根据权利要求 7-10任一权利要求所述的方法, 其特征在于, 所述 对所述用户应用层数据进行压缩,得到压缩后的用户数据协议负荷, 包括: 判断所述用户数据传输层协议是否为传输控制协议 TCP , 若是, 获取 用户应用层数据, 所述用户应用层数据为 TCP会话重组后的的数据负载 Payload;
对所述用户应用层数据进行切片, 得到多个的用户应用层数据片段; 分别对切片后得到的每一个用户应用层数据片段生成一个数字摘要; 根据所述用户应用层数据和所述数字摘要生成码本, 所述码本包括每 一个数字摘要与每一个用户应用层数据片段、 以及所述每一个数字摘要与 每一个用户应用层数据片段的索引结构; 根据所述码本判断所述多个的用户应用层数据片段中是否存在重复 的用户应用层数据片段, 若存在, 用所述重复的用户应用层数据片段对应 的数字摘要代替所述重复的用户应用层数据片段;
将所述重复的用户应用层数据片段对应的数字摘要、 未重复的用户应 用层数据片段进行编码, 得到压缩后的用户数据协议负荷。
12、 一种数据传输方法, 其特征在于, 包括:
获取媒体接入控制协议数据单元 MAC PDU;
对所述 MAC PDU依次按照媒体接入控制协议 MAC、 无线链路控制 协议 RLC、 分组数据汇聚协议 PDCP进行解码, 得到分组数据汇聚协议协 议数据单元 PDCP PDU;
使用用户数据协议头部对所述 PDCP PDU进行解码, 得到解码数据; 对所述解码数据进行压缩, 得到压缩数据;
依次按照所述用户数据协议头部、 PDCP、 RLC、 MAC对所述压缩数 据进行封装, 得到封装数据;
向核心网中或基站发送所述封装数据。
13、 根据权利要求 12所述的方法, 其特征在于, 所述获取媒体接入 控制协议数据单元 MAC PDU , 包括:
接收 Iub封装数据;
对所述接收到的 Iub封装数据按照 Iub接口协议进行解码,得到 MAC PDU;
或,
接收所述基站的协议处理模块或者无线网络控制器 RNC的协议处理 模块发送的 MAC PDU。
14、 根据权利要求 13所述的方法, 其特征在于, 所述对接收到的 Iub 封装数据按照 Iub接口协议进行解码, 得到所述 MAC PDU , 包括:
当所述 Iub封装数据是存在 IP分片的 IP数据包时, 对所述存在 IP分 片的 IP数据包进行 IP分片重组, 获取到完整的传输网络 IP分组数据; 对所述传输网络 IP分组数据按照网际协议 IP、 用户数据报协议 UDP 进行解码, 得到 UDP负载;
对所述 UDP负载按照成帧协议 FP进行解码, 得到所述 MAC PDU。
15、根据权利要求 12所述的方法,其特征在于,所述对所述 MAC PDU 依次按照媒体接入控制协议 MAC、 无线链路控制协议 RLC和分组数据汇 聚协议 PDCP解码, 得到分组数据汇聚协议协议数据单元 PDCP PDU, 包 括:
对所述 MAC PDU进行 MAC层解码, 得到 RLC PDU;
对所述 RLC PDU进行 RLC层解码, 然后对解码后的 RLC PDU进行
PDCP解码重组, 得到 PDCP PDU。
16、 根据权利要求 15所述的方法, 其特征在于, 所述使用用户数据 协议头部对所述 PDCP PDU进行解码, 得到解码数据, 包括:
对所述 PDCP PDU进行上层协议头部解压缩, 得到用户数据 IP分组 数据, 所述用户数据 IP分组数据包括: 用户数据 IP协议头部、 用户数据 传输层协议头部;
对所述用户数据 IP协议头部、 用户数据传输层协议头部进行解码, 得到所述解码数据。
17、 根据权利要求 12-16任一权利要求所述的方法, 其特征在于, 所 述对所述解码数据进行压缩, 得到压缩数据, 包括:
对所述解码数据进行切片, 得到多个的解码数据片段;
分别对切片后得到的每一个解码数据片段生成数字摘要;
根据所述解码数据片段和所述数字摘要生成码本, 所述码本包括每一 个数字摘要与每一个解码数据片段、 以及所述每一个数字摘要与每一个解 码数据片段的索引结构;
根据所述码本判断所述多个的解码数据片段中是否存在重复的解码 数据片段, 若存在, 用重复的解码数据片段对应的数字摘要代替所述重复 的解码数据片段;
将所述重复的解码数据片段对应的数字摘要和未重复的解码数据片 段进行编码, 得到压缩数据。
18、 一种数据传输方法, 其特征在于, 包括:
获取媒体接入控制协议数据单元 MAC PDU;
接入控制协议 MAC、 无线链路控制
Figure imgf000070_0001
对所述解码数据进行压缩, 得到压缩数据;
依次按照 RLC、 MAC对所述压缩数据进行封装, 得到封装数据; 向核心网中或基站发送所述封装数据。
19、根据权利要求 18所述的方法,其特征在于,所述对所述 MAC PDU 依次按照媒体接入控制协议 MAC、 无线链路控制协议 RLC进行解码, 得 到解码数据, 包括:
对所述 MAC PDU进行 MAC层解码, 得到 RLC PDU;
对所述 RLC PDU进行 RLC层解码, 得到所述解码数据。
20、 根据权利要求 18-19任一权利要求所述的方法, 其特征在于, 所 述对所述解码数据进行压缩, 得到压缩数据, 包括:
对所述解码数据进行切片, 得到多个的解码数据片段;
分别对切片后得到的每一个解码数据片段生成数字摘要;
根据所述解码数据片段和所述数字摘要生成码本, 所述码本包括每一 个数字摘要与每一个解码数据片段、 以及所述每一个数字摘要与每一个解 码数据片段的索引结构;
根据所述码本判断所述多个的解码数据片段中是否存在重复的解码 数据片段, 若存在, 用重复的解码数据片段对应的数字摘要代替所述重复 的解码数据片段;
将所述重复的解码数据片段对应的数字摘要和未重复的解码数据片 段进行编码, 得到压缩数据。
21、 一种数据传输方法, 其特征在于, 包括:
接收网际协议 IP压缩数据包;
对所述 IP压缩数据包进行传输网络协议头部解码, 得到压缩后的传 输网络协议负荷;
对所述压缩后的传输网络协议负荷进行解压缩, 依次得到传输隧道协 议头部、 用户数据协议头部和用户应用层数据;
使用所述传输网络协议头部对所述传输隧道协议头部、 所述用户数据 协议头部和所述用户应用层数据进行封装, 得到 IP数据包;
向核心网或基站发送所述 IP数据包。
22、 根据权利要求 21所述的方法, 其特征在于, 所述传输网络协议 头部包括: 传输网络 IP协议头部、 传输网络传输层协议头部, 所述对所述 IP压缩数据包进行传输网络协议头部解码, 得到压缩后 的传输网络协议负荷, 包括:
对所述 IP压缩数据包进行解析, 获取所述传输网络 IP协议头部的长 度和对应的字段;
根据所述传输网络 IP协议头部的长度和对应的字段获取传输网络传 输层协议头部的长度;
根据所述传输网络 IP协议头部的长度和所述传输网络传输层协议头 部的长度获取所述传输网络协议头部的长度, 所述传输网络协议头部的长 度为所述传输网络 IP协议头部的长度加上所述传输网络传输层协议头部 的长度;
将从所述 IP压缩数据包截去所述传输网络协议头部后得到压缩后的 传输网络协议负荷。
23、 根据权利要求 21或 22任一权利要求所述的方法, 其特征在于, 所述 对所述压缩后的传输网络协议负荷进行解压缩,依次得到传输隧道协议头部、 用户数据协议头部和用户应用层数据, 包括:
按照所述传输隧道协议头部、 用户数据协议头部依次对所述压缩后的传 输网络协议负荷进行头部解压缩, 得到解压缩后的传输隧道协议头部、 解压 缩后的用户数据协议头部以及压缩后的用户应用层数据;
对所述压缩后的用户应用层数据进行解压缩, 得到用户应用层数据。
24、 一种数据传输方法, 其特征在于, 包括:
接收网际协议 IP压缩数据包;
对所述 IP压缩数据包进行传输网络协议头部、 传输隧道协议头部、 用户数据协议头部解码, 得到压缩后的用户数据协议负荷;
对所述压缩后的用户数据协议负荷进行解压缩, 得到用户应用层数 据;
用所述传输网络协议头部、 所述传输隧道协议头部、 所述用户数据协 议头部对所述用户应用层数据进行封装, 得到 IP数据包;
向核心网或基站发送所述 IP数据包。
25、 根据权利要求 24所述的方法, 其特征在于, 所述对所述压缩后的用 户数据协议负荷进行解压缩, 得到用户应用层数据, 包括:
接收编码端设备发送的码本, 所述码本包括每一个数字摘要与每一个 用户应用层数据片段、 以及所述每一个数字摘要与每一个用户应用层数据 片段的索引结构;
根据所述码本判断所述压缩后的用户数据协议负荷中是否存在重复 的用户应用层数据片段;
若存在, 将所述压缩后的用户数据协议负荷解码为重复的用户应用层 数据片段对应的数字摘要、 未重复的用户应用层数据片段;
将解码得到的重复的用户应用层数据片段对应的数字摘要还原为重 复的用户应用层数据片段;
将所述重复的用户应用层数据片段、 所述未重复的用户应用层数据片 段进行组合, 得到用户应用层数据。
26、 一种数据传输设备, 其特征在于, 包括: IP数据包解析单元、 压 缩单元、 封装单元和发送单元, 其中,
所述 IP数据包解析单元, 用于对接收到的网际协议 IP数据包进行解 析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用 户应用层数据;
所述压缩单元, 用于对所述传输隧道协议头部、 所述用户数据协议头 部和所述用户应用层数据进行压缩, 得到压缩后的传输网络协议负荷; 所述封装单元, 用于使用所述传输网络协议头部对所述压缩后的传输 网络协议负荷进行封装, 得到 IP压缩数据包;
所述发送单元, 用于向核心网中或基站发送所述 IP压缩数据包。
27、 根据权利要求 26所述的数据传输设备, 其特征在于, 所述传输 网络协议头部包括: 传输网络 IP协议头部、 传输网络传输层协议头部, 所述 IP数据包解析单元包括:
第一分片重组子单元, 用于若所述 IP数据包存在 IP分片时, 对存在 IP分片的 IP数据包进行 IP分片重组,获取到完整的传输网络 IP分组数据; 第一获取子单元, 用于根据传输网络 IP分组数据的头部确定传输网 络 IP协议头部和传输网络 IP协议头部的长度;
第二获取子单元, 用于根据所述传输网络 IP分组数据的头部的协议 类型字段判断传输网络传输层协议的协议类型, 然后再根据所述传输网络 传输层协议的协议类型确定传输网络传输层协议头部传输网络传输层协 议头部的长度;
第三获取子单元, 用于根据所述传输网络 IP协议头部的长度和所述 传输网络传输层协议头部的长度获取所述传输网络协议头部的长度, 所述 传输网络协议头部的长度是所述传输网络 IP协议头部的长度加上所述传 输网络传输层协议头部的长度;
第四获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部的长度获取所述传输网络协议头部。
28、 根据权利要求 27所述的数据传输设备, 其特征在于, 所述 IP数 据包解析单元包括:
计算子单元, 用于根据传输隧道协议的协议类型计算传输隧道协议的 固定头部的长度;
第一判断子单元, 用于根据所述传输隧道协议的协议类型判断所述传 输隧道协议头部是否存在可选字段;
第五获取子单元, 用于当不存在可选字段时, 根据所述传输隧道协议 的固定头部的长度获取传输隧道协议头部的长度, 所述传输隧道协议头部 的长度为所述传输隧道协议的固定头部的长度;
第二判断子单元, 用于当存在可选字段时, 根据所述传输隧道协议的 协议类型判断所述传输隧道协议头部是否存在扩展头部;
第六获取子单元, 用于当不存在扩展头部时, 根据所述传输隧道协议 的固定头部的长度和可选字段的长度确定传输隧道协议头部的长度, 所述 传输隧道协议头部的长度为所述传输隧道协议的固定头部的长度加上所 述可选字段的长度;
第七获取子单元, 用于当存在扩展头部时, 根据所述传输隧道协议的 固定头部的长度、 所述可选字段的长度和扩展头部的长度获取传输隧道协 议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协议的固定 头部的长度加上所述可选字段的长度再加上所述扩展头部的长度;
第八获取子单元, 用于根据所述传输网络 IP分组数据和所述传输隧 道协议头部的长度获取所述传输隧道协议头部, 所述所述传输隧道协议头 部是从所述传输网络 IP分组数据中的所述传输网络协议头部之后开始到 长度为所述传输隧道协议头部的长度对应的数据。
29、 根据权利要求 27所述的数据传输设备, 其特征在于, 所述用户 数据协议头部包括用户数据 IP协议头部的长度、 用户数据传输层协议头 部,
所述 IP数据包解析单元包括:
第二分片重组子单元, 用于当传输隧道协议承载的数据存在 IP分片 时, 对所述传输隧道协议承载的数据进行 IP分片重组, 获取到完整的用 户数据 IP分组数据;
第九获取子单元, 用于根据所述用户数据 IP分组数据的头部获取用 户数据 IP协议头部的长度;
第十获取子单元, 用于根据所述用户数据 IP分组数据头部的协议类 型字段获取用户数据传输层协议的协议类型, 根据所述用户数据传输层协 议的协议类型获取所述用户数据传输层协议头部和对应的字段, 根据所述 用户数据传输层协议头部和对应的字段获取用户数据传输层协议头部的 长度;
第十一获取子单元, 用于根据所述用户数据 IP协议头部的长度和所 述用户数据传输层协议头部的长度获取用户数据协议头部的长度, 所述用 户数据协议头部的长度是所述用户数据 IP协议头部的长度加上所述用户 数据传输层协议头部的长度;
第十二获取子单元, 用于根据所述传输网络 IP分组数据和所述用户 数据协议头部的长度获取所述用户数据协议头部, 所述用户数据协议头部 是从所述传输网络 IP分组数据中的所述传输隧道协议头部之后开始到长 度为所述用户数据协议头部的长度对应的数据。
30、 根据权利要求 26-29任一权利要求所述的数据传输设备, 其特征 在于, 所述压缩单元, 包括:
第一压缩子单元, 用于对所述传输隧道协议头部、 所述用户数据协议 头部进行头部压缩, 得到头部压缩的第一结果;
第二压缩子单元, 用于对所述用户应用层数据进行压缩, 得到压缩后 的用户应用层数据;
编码子单元, 用于对所述头部压缩的第一结果和所述压缩后的用户应 用层数据进行编码, 得到所述压缩后的传输网络协议负荷。
31、 根据权利要求 26或 30所述的数据传输设备, 其特征在于, 所述 数据传输设备, 还包括:
判断单元, 用于判断所述 I P压缩数据包的长度是否大于下层协议的 最大传输单元的长度;
分片单元, 用于当所述 IP压缩数据包的长度大于下层协议的最大传 输单元的长度, 对所述 IP压缩数据包进行 IP分片, 得到分片后的 IP压缩 数据包, 所述下层协议包括直接用来传输 IP压缩数据包的协议;
所述发送单元, 具体用于向核心网或基站发送所述分片后的 IP压缩 数据包。
32、 一种数据传输设备, 其特征在于, 包括: IP数据包解析单元、 压 缩单元、 封装单元和发送单元, 其中,
IP数据包解析单元, 用于对接收到的网际协议 IP数据包进行解析, 得到传输网络协议头部、 传输隧道协议头部、 用户数据协议头部和用户应 用层数据;
压缩单元, 用于对所述用户应用层数据进行压缩, 得到压缩后的用户 数据协议负荷;
封装单元, 用于使用所述用户数据协议头部、 所述传输隧道协议头部 和所述传输网络协议头部对所述压缩后的用户数据协议负荷进行封装, 得 到 IP压缩数据包;
发送单元, 用于向核心网中或基站发送所述 IP压缩数据包。
33、 根据权利要求 32所述的数据传输设备, 其特征在于, 所述传输 网络协议头部包括: 传输网络 IP协议头部、 传输网络传输层协议头部; 所述 IP数据包解析单元包括:
第一分片重组子单元, 用于若所述 IP数据包存在 IP分片时, 对存在 IP分片的 IP数据包进行 IP分片重组,获取到完整的传输网络 IP分组数据; 第一获取子单元, 用于根据传输网络 IP分组数据的头部获取传输网 络 IP协议头部和传输网络 IP协议头部的长度;
第二获取子单元, 用于根据所述传输网络 IP分组数据的头部的协议 类型字段判断传输网络传输层协议的协议类型, 然后再根据所述传输网络 传输层协议的协议类型获取传输网络传输层协议头部和对应的字段, 根据 所述传输网络传输层协议头部和对应的字段获取传输网络传输层协议头 部的长度;
第三获取子单元, 用于根据所述传输网络 IP协议头部的长度和所述 传输网络传输层协议头部的长度获取所述传输网络协议头部的长度, 所述 传输网络协议头部的长度是所述传输网络 IP协议头部的长度加上所述传 输网络传输层协议头部的长度;
第四获取子单元, 用于根据所述传输网络 IP分组数据和所述传输网 络协议头部的长度获取所述传输网络协议头部, 所述传输网络协议头部是 从所述传输网络 IP分组数据的开头到长度为所述传输网络协议头部的长 度对应的数据。
34、 根据权利要求 33所述的数据传输设备, 其特征在于, 所述 IP数 据包解析单元包括:
计算子单元, 用于获得传输隧道协议的协议类型并根据传输隧道协议 的协议类型计算传输隧道协议的固定头部的长度;
第一判断子单元, 用于根据所述传输隧道协议的协议类型段判断所述 传输隧道协议头部是否存在可选字段;
第五获取子单元, 用于当不存在可选字段时, 根据所述传输隧道协议 的固定头部的长度确定传输隧道协议头部的长度, 所述传输隧道协议头部 的长度为所述传输隧道协议的固定头部的长度;
第二判断子单元, 用于当存在可选字段时, 根据所述传输隧道协议的 协议类型对应的字段判断所述传输隧道协议头部是否存在扩展头部; 第六获取子单元, 用于当不存在扩展头部时, 根据所述传输隧道协议 的固定头部的长度和可选字段的长度获取传输隧道协议头部的长度, 所述 传输隧道协议头部的长度为所述传输隧道协议的固定头部的长度加上所 述可选字段的长度;
第七获取子单元, 用于当存在扩展头部时, 根据所述传输隧道协议的 固定头部的长度、 所述可选字段的长度和扩展头部的长度获取传输隧道协 议头部的长度, 所述传输隧道协议头部的长度为所述传输隧道协议的固定 头部的长度加上所述可选字段的长度再加上所述扩展头部的长度;
第八获取子单元, 用于根据所述传输网络 IP分组数据和所述传输隧 道协议头部的长度获取所述传输隧道协议头部。
35、 根据权利要求 33所述的数据传输设备, 其特征在于, 所述用户 数据协议头部包括用户数据 IP协议头部的长度、 用户数据传输层协议头 部,
所述 IP数据包解析单元包括:
第二分片重组子单元, 用于当传输隧道协议承载的数据存在 IP分片 时, 对所述传输隧道协议承载的数据进行 IP分片重组, 获取到完整的用 户数据 IP分组数据;
第九获取子单元, 用于根据所述用户数据 IP分组数据的头部获取用 户数据 IP协议头部的长度;
第十获取子单元, 用于根据所述用户数据 IP分组数据头部的协议类 型字段获取用户数据传输层协议的协议类型, 根据所述用户数据传输层协 议的协议类型获取所述用户数据传输层协议头部, 根据所述用户数据传输 层协议头部获取用户数据传输层协议头部的长度;
第十一获取子单元, 用于根据所述用户数据 IP协议头部的长度和所 述用户数据传输层协议头部的长度获取用户数据协议头部的长度, 所述用 户数据协议头部的长度是所述用户数据 IP协议头部的长度加上所述用户 数据传输层协议头部的长度;
第十二获取子单元, 用于根据所述传输网络 IP分组数据和所述用户 数据协议头部的长度获取所述用户数据协议头部。
36、 根据权利要求 32-35任一权利要求所述的数据传输设备, 其特征 在于, 所述压缩单元, 包括:
第三判断子单元, 用于判断所述用户数据传输层协议是否为传输控制 协议 TCP;
第十三获取子单元, 用于当所述用户数据传输层协议为 TCP时, 获取 用户应用层数据,所述用户应用层数据是指 TCP会话重组后的的数据负载 Payload;
切片子单元, 用于对所述用户应用层数据进行切片, 得到多个的用户 应用层数据片段;
摘要生成子单元, 用于分别对切片后得到的每一个用户应用层数据片 段生成一个数字摘要;
码本生成子单元, 用于根据所述用户应用层数据和所述数字摘要生成 码本, 所述码本包括每一个数字摘要与每一个用户应用层数据片段、 以及 所述每一个数字摘要与每一个用户应用层数据片段的索引结构;
第四判断子单元, 用于根据所述码本判断所述多个的用户应用层数据 片段中是否存在重复的用户应用层数据片段;
替换子单元, 用于当所述多个的用户应用层数据片段中存在重复的用 户应用层数据片段时, 用所述重复的用户应用层数据片段对应的数字摘要 代替所述重复的用户应用层数据片段;
编码子单元, 用于将所述重复的用户应用层数据片段对应的数字摘 要、 未重复的用户应用层数据片段进行编码, 得到压缩后的用户数据协 议负荷。
PCT/CN2014/071415 2013-01-30 2014-01-24 一种数据传输方法和相关装置 WO2014117688A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/812,878 US9900259B2 (en) 2013-01-30 2015-07-29 Data transmission method and related apparatus to compress data to be transmitted on a network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310036734.0 2013-01-30
CN201310036734.0A CN103973645B (zh) 2013-01-30 2013-01-30 一种数据传输方法和相关装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/812,878 Continuation US9900259B2 (en) 2013-01-30 2015-07-29 Data transmission method and related apparatus to compress data to be transmitted on a network

Publications (1)

Publication Number Publication Date
WO2014117688A1 true WO2014117688A1 (zh) 2014-08-07

Family

ID=51242695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071415 WO2014117688A1 (zh) 2013-01-30 2014-01-24 一种数据传输方法和相关装置

Country Status (3)

Country Link
US (1) US9900259B2 (zh)
CN (1) CN103973645B (zh)
WO (1) WO2014117688A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI672023B (zh) * 2018-12-28 2019-09-11 致茂電子股份有限公司 網路封包處理方法及其裝置
CN112825065A (zh) * 2019-11-21 2021-05-21 北京希姆计算科技有限公司 数据处理电路、装置以及方法
CN115550470A (zh) * 2021-06-30 2022-12-30 奇安信科技集团股份有限公司 工控网络数据包解析方法、装置、电子设备与存储介质

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162656B (zh) * 2015-08-27 2018-08-21 中国电子科技集团公司第二十九研究所 一种基于局域网的ntp服务器检测方法
CN106982109B (zh) 2016-01-16 2021-02-09 华为技术有限公司 一种无线通信的回程传输方法、控制器、基站、网关
CN105739480B (zh) * 2016-01-26 2019-04-19 深圳市元征科技股份有限公司 数据压缩传输方法及装置
CN106131164B (zh) * 2016-07-01 2018-07-03 北京百度网讯科技有限公司 在云端进行协议解析的数据处理方法和装置
CN109981529B (zh) * 2017-12-27 2021-11-12 西门子(中国)有限公司 报文获取方法、装置、系统及计算机存储介质
CN111385257B (zh) * 2018-12-28 2022-03-15 致茂电子(苏州)有限公司 网络封包处理方法及其装置
US11139981B2 (en) * 2019-03-29 2021-10-05 Intel Corporation Message authentication code (MAC) based compression and decompression
US11720159B2 (en) * 2019-07-01 2023-08-08 Texas Instruments Incorporated Unified bus architecture for a voltage regulator
CN111770117B (zh) * 2020-09-01 2020-12-18 北京东方通软件有限公司 一种网络拼包的方法及装置
CN112968844B (zh) * 2021-02-05 2022-05-31 武汉绿色网络信息服务有限责任公司 一种发送分片报文的方法与装置
CN113329442B (zh) * 2021-04-20 2022-02-11 北京连山科技股份有限公司 一种通用的多链路载荷压缩与解压缩方法和系统
CN113364790B (zh) * 2021-06-12 2022-10-18 四川虹美智能科技有限公司 数据传输方法及装置
CN113709510A (zh) * 2021-08-06 2021-11-26 联想(北京)有限公司 高速率数据实时传输方法及装置、设备、存储介质
CN113641520B (zh) * 2021-08-20 2024-04-05 北京百度网讯科技有限公司 数据处理方法、系统、设备以及存储介质
US20240007548A1 (en) * 2022-06-30 2024-01-04 Mellanox Technologies, Ltd. Parsing using null header node

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263089B1 (en) * 1999-12-04 2007-08-28 Robert Bosch Gmbh Method for operating a mobile radio network
WO2008027775A2 (en) * 2006-08-29 2008-03-06 Motorola, Inc. Method, apparatus and communication network for the transmission of data
CN101663867A (zh) * 2007-04-26 2010-03-03 微软公司 在维持端点到端点认证的同时压缩数据分组
CN102075287A (zh) * 2010-11-22 2011-05-25 浪潮(北京)电子信息产业有限公司 一种数据处理方法及装置
CN102098725A (zh) * 2009-12-15 2011-06-15 中兴通讯股份有限公司 一种服务网关与中继终端间传输数据的系统及方法

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920125B1 (en) 2000-10-27 2005-07-19 Nortel Network Limited IP adaptation layer on backhaul connection of cellular network
WO2007062607A1 (fr) * 2005-12-03 2007-06-07 Huawei Technologies Co., Ltd. Systeme et procede de mise en oeuvre d'interconnexion entre reseau dsl et reseau radio
EP2247038B1 (en) * 2005-12-31 2015-04-22 Huawei Technologies Co., Ltd. A method and a system for optimizing radio network layer to implement the network interconnection, and a method for interconnection between the radio network and the wired network
US8855138B2 (en) * 2008-08-25 2014-10-07 Qualcomm Incorporated Relay architecture framework
EP2409515B1 (en) * 2009-03-20 2015-12-23 Telefonaktiebolaget L M Ericsson (publ) Radio bearer identification for self backhauling and relaying in lte advanced
CN101998511B (zh) * 2009-08-26 2013-04-24 华为技术有限公司 网络中继场景下的头压缩方法及装置
CN102143527B (zh) * 2010-02-03 2013-09-11 华为技术有限公司 嵌套协议包头的压缩方法及装置
CN102065098A (zh) 2010-12-31 2011-05-18 网宿科技股份有限公司 网络节点之间数据同步的方法和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263089B1 (en) * 1999-12-04 2007-08-28 Robert Bosch Gmbh Method for operating a mobile radio network
WO2008027775A2 (en) * 2006-08-29 2008-03-06 Motorola, Inc. Method, apparatus and communication network for the transmission of data
CN101663867A (zh) * 2007-04-26 2010-03-03 微软公司 在维持端点到端点认证的同时压缩数据分组
CN102098725A (zh) * 2009-12-15 2011-06-15 中兴通讯股份有限公司 一种服务网关与中继终端间传输数据的系统及方法
CN102075287A (zh) * 2010-11-22 2011-05-25 浪潮(北京)电子信息产业有限公司 一种数据处理方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI672023B (zh) * 2018-12-28 2019-09-11 致茂電子股份有限公司 網路封包處理方法及其裝置
CN112825065A (zh) * 2019-11-21 2021-05-21 北京希姆计算科技有限公司 数据处理电路、装置以及方法
CN115550470A (zh) * 2021-06-30 2022-12-30 奇安信科技集团股份有限公司 工控网络数据包解析方法、装置、电子设备与存储介质

Also Published As

Publication number Publication date
US20150334033A1 (en) 2015-11-19
CN103973645A (zh) 2014-08-06
CN103973645B (zh) 2017-11-24
US9900259B2 (en) 2018-02-20

Similar Documents

Publication Publication Date Title
WO2014117688A1 (zh) 一种数据传输方法和相关装置
US9125088B2 (en) Dynamic robust header compression
JP6389280B2 (ja) プロトコルスタック適合方法および装置
US8189586B2 (en) Plural telecommunications functions having sharing transaction(s)
US20070242703A1 (en) Binding/combining of plural telecommunications functions
US7733867B2 (en) Header compression for real time internet applications
WO2010142157A9 (zh) 一种分组数据汇聚协议层重建的方法和装置
WO2013167013A2 (zh) 以太网报文头的压缩及解压缩方法、压缩及解压缩设备
CN102882879A (zh) 一种适用于卫星信道的ip数据压缩传输方法
WO2015168840A1 (zh) 一种数据处理方法及装置
CN102118792A (zh) 一种传输数据包的方法及装置
WO2016004599A1 (zh) 一种数据的传输方法、系统及相关装置
CN101421973B (zh) 具有共享事务处理的多个远程通信功能的方法和装置
JP4975806B2 (ja) 共有トランザクション(群)を有する複数通信機能
Ang et al. Performance evaluation of robust header compression (ROHC) over unidirectional links using DVB-S testbed
Levy et al. General all-Layers combined with Efficient WLAN MAC Layer Headers Compression
Shivare et al. Performance Evaluation of Robust Header Compression over Mobile WiMAX
JP2019047364A (ja) パケット通信装置、パケット通信システム及びプログラム
JP2009303036A (ja) パケット送受信装置

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: 14745769

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: 14745769

Country of ref document: EP

Kind code of ref document: A1