WO2021087729A1 - 一种指示解压缩对象的方法及装置、通信设备 - Google Patents

一种指示解压缩对象的方法及装置、通信设备 Download PDF

Info

Publication number
WO2021087729A1
WO2021087729A1 PCT/CN2019/115614 CN2019115614W WO2021087729A1 WO 2021087729 A1 WO2021087729 A1 WO 2021087729A1 CN 2019115614 W CN2019115614 W CN 2019115614W WO 2021087729 A1 WO2021087729 A1 WO 2021087729A1
Authority
WO
WIPO (PCT)
Prior art keywords
header
packet
empty
information
indication information
Prior art date
Application number
PCT/CN2019/115614
Other languages
English (en)
French (fr)
Inventor
付喆
卢前溪
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2019/115614 priority Critical patent/WO2021087729A1/zh
Priority to CN201980099736.XA priority patent/CN114303355B/zh
Publication of WO2021087729A1 publication Critical patent/WO2021087729A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the embodiments of the present application relate to the field of mobile communication technology, and in particular to a method and device for indicating decompression objects, and communication equipment.
  • NR New Radio
  • NR supports the simultaneous mapping of two or more types of data packets in a bearer, such as simultaneous mapping of IP packets, Ethernet packets, and Ethernet-based IP packets
  • the receiving end that is, the decompressing end
  • how to determine which type of packet the data packet is is uncertain, that is, the receiving end (ie, the decompressing end) cannot distinguish the data packet, resulting in the inability to use an appropriate method for the data packet Decode or decompress.
  • the embodiments of the present application provide a method and device for indicating decompression objects, and communication equipment.
  • the first device sends a data packet to the second device, the data packet carries instruction information, and the instruction information indicates at least one of the following:
  • Discarded headers non-discarded headers, decompressed headers, non-decompressed headers, headers with empty content, headers with non-empty content, headers with valid information, headers without valid information, the data
  • the package type information of the package
  • the second device receives a data packet sent by the first device, the data packet carries instruction information, and the instruction information indicates at least one of the following: discarded header, non-discarded header, decompressed header, and non-decompressed header Packet header, packet header with empty content, packet header with non-empty content, packet header with valid information, packet header without valid information, and packet type information of the data packet;
  • the second device decompresses the data packet according to the instruction information.
  • the device for instructing decompression objects provided in the embodiment of the present application is applied to a first device, and the device includes:
  • the sending unit is configured to send a data packet to the second device, where the data packet carries instruction information, and the instruction information indicates at least one of the following:
  • Discarded headers non-discarded headers, decompressed headers, non-decompressed headers, headers with empty content, headers with non-empty content, headers with valid information, headers without valid information, the data
  • the package type information of the package
  • the device for instructing decompression objects provided by the embodiment of the present application is applied to a second device, and the device includes:
  • the receiving unit is configured to receive a data packet sent by the first device, the data packet carrying instruction information, and the instruction information indicates at least one of the following: a header to be discarded, a header not to be discarded, a header to be decompressed, and a header not to be decompressed. Decompressed header, header with empty content, header with not empty content, header with valid information, header without valid information, and packet type information of the data packet;
  • the processing unit is configured to decompress the data packet according to the instruction information.
  • the communication device provided in the embodiment of the present application includes a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the above-mentioned method of instructing to decompress an object.
  • the chip provided in the embodiment of the present application is used to implement the above-mentioned method of indicating decompression objects.
  • the chip includes a processor, which is used to call and run a computer program from the memory, so that the device installed with the chip executes the above-mentioned method of instructing to decompress an object.
  • the computer-readable storage medium provided by the embodiments of the present application is used to store a computer program, and the computer program causes the computer to execute the above-mentioned method of instructing to decompress an object.
  • the computer program product provided by the embodiment of the present application includes computer program instructions that cause a computer to execute the above-mentioned method of instructing to decompress an object.
  • the computer program provided by the embodiment of the present application when it runs on a computer, causes the computer to execute the above-mentioned method of instructing to decompress an object.
  • FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
  • FIG. 2 is a diagram of a communication protocol architecture provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for indicating a decompression object provided by an embodiment of the application
  • Figure 4-1 is a first schematic diagram of instruction information provided by an embodiment of the present application.
  • Figure 4-2 is the second schematic diagram of the instruction information provided by the embodiment of the present application.
  • Figure 4-3 is the third schematic diagram of the instruction information provided by the embodiment of the present application.
  • Figure 4-4 is a fourth schematic diagram of the instruction information provided by an embodiment of the present application.
  • Figure 5-1 is a fifth schematic diagram of instruction information provided by an embodiment of the present application.
  • Figure 5-2 is a sixth schematic diagram of instruction information provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram 1 of the structural composition of an apparatus for indicating a decompression object provided by an embodiment of the application;
  • FIG. 7 is a schematic diagram 2 of the structural composition of an apparatus for indicating a decompression object provided by an embodiment of the application;
  • FIG. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a communication system provided by an embodiment of the present application.
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • 5G communication system 5G communication system or future communication system.
  • the communication system 100 applied in the embodiment of the present application is shown in FIG. 1.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal 120 (or called a communication terminal or terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminals located in the coverage area.
  • the network device 110 may be an evolved base station (Evolutional Node B, eNB, or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or
  • the network equipment can be a mobile switching center, a relay station, an access point, an in-vehicle device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future communication system, etc.
  • the communication system 100 also includes at least one terminal 120 located within the coverage area of the network device 110.
  • the "terminal” used here includes, but is not limited to, connection via a wired line, such as via a public switched telephone network (PSTN), digital subscriber line (Digital Subscriber Line, DSL), digital cable, and direct cable connection; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM-FM Broadcast transmitter; and/or another terminal's device configured to receive/send communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN public switched telephone network
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • a terminal set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellite or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio telephone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal can refer to access terminal, user equipment (UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user Device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks, or terminals in the future evolution of PLMN, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • direct terminal connection (Device to Device, D2D) communication may be performed between the terminals 120.
  • the 5G communication system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • FIG. 1 exemplarily shows one network device and two terminals.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminals. This embodiment of the present application There is no restriction on this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 and a terminal 120 with communication functions, and the network device 110 and the terminal 120 may be the specific devices described above, which will not be repeated here; communication
  • the device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • Header compression Compresses the header of a data packet to improve the transmission efficiency of user data.
  • the packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer uses robust header compression (RoHC, Robust Header Compression) to compress the header of the data packet.
  • RoHC Robust Header Compression
  • Protocol Data Unit (PDU) session refers to the association between a terminal device and a data network that provides PDU connection services.
  • the type of this association can be IPv4, IPv6, Ethernet, etc.
  • IIoT 5G Industrial Internet of Things
  • TSN Time Sensitive Network
  • IP packets IP packets
  • the introduction of the Ethernet frame is because the current communication system only supports header compression for data packets whose PDU session type is the IP type.
  • the type of PDU session can be not only IP type, but also Ethernet type.
  • FIG. 2 is a schematic diagram of the protocol architecture between the UE, the 5G access network (5G-AN, 5G-Access Network), and the core network (specifically, the user plane function (UPF, User Plane Function)).
  • the PDU session type is IP type (for example, IPv4, or IPv6, or IPv4v6)
  • IPv4 data packet IPv4packets
  • IPv6packets IPv6 data packet
  • the PDU session type is Ethernet
  • the data packet corresponding to the PDU session is an Ethernet frame.
  • the PDCP protocol introduces header compression and decompression functions to implement header compression and decompression on IP packets.
  • RoHC is configured for Data Resource Bearer (DRB).
  • DRB Data Resource Bearer
  • the compression end and the decompression end use different header compression and decompression parameters according to the configured profile, and the RoHC protocol is used to compress and decompress the header of the data packet.
  • a new header compression mechanism (a mechanism internal to 3GPP) is used to perform header compression and decompression processing on Ethernet packets.
  • Ethernet packet and IP over Ethernet packet are simultaneously mapped in a bearer (such as DRB)
  • a bearer such as DRB
  • the Ethernet packet and/or IP packet header decompression configuration is configured Parameter, after receiving a data packet, how to determine which type of packet the data packet is is uncertain, that is, the receiving end (ie decompressing end) cannot distinguish the data packet , Resulting in the inability to decompress the data packet in a suitable way.
  • the technical solution of the embodiment of this application considers that when different types of data packets (such as IP packets, Ethernet packets, IP over Ethernet packets, Ethernet over IP packets) in a bearer adopt different header compression algorithms, the receiving end ( That is, the decompression end) distinguishes data packets. For this reason, a method of distinguishing data packets is proposed to avoid decompression (or decoding) failure, thereby avoiding unnecessary data transmission errors and retransmissions. At the same time, it also This avoids the waste of air interface resources and the problems of terminal equipment dropping out of the network.
  • data packets such as IP packets, Ethernet packets, IP over Ethernet packets, Ethernet over IP packets
  • Fig. 3 is a schematic flowchart of a method for instructing an object to be decompressed according to an embodiment of the application. As shown in Fig. 3, the method for instructing an object to be decompressed includes the following steps:
  • Step 301 The first device sends a data packet to the second device, and the second device receives the data packet sent by the first device.
  • the data packet carries instruction information, and the instruction information indicates at least one of the following: discarded header, no Discarded headers, headers that are decompressed, headers that are not decompressed, headers whose content is empty, headers whose content is not empty, headers with valid information, headers without valid information, and the packet type information of the data packet .
  • the first device and the second device can be implemented in the following situations:
  • the first device is a terminal device
  • the second device is a network device.
  • the data packet is an uplink data packet.
  • the network device may be a base station, such as a gNB.
  • the first device is a network device
  • the second device is a terminal device.
  • the data packet is a downlink data packet.
  • the network device may be a base station, such as a gNB.
  • the first device is a first terminal device
  • the second device is a second terminal device.
  • the data packet is a side-line data packet (or a data packet transmitted between terminal devices in a D2D communication mode).
  • the first device it can also be called the compression end or the sending end of the data packet; for the second device, it can also be called the decompression end or the receiving end of the data packet.
  • the instruction information carried in the data packet can be implemented in any of the following ways.
  • the first device sends a PDCP PDU to the second device, and the PDCP PDU carries a first packet header and a second packet header;
  • the first packet header carries first indication information
  • the first indication information is used to indicate at least one of the following: whether to discard the first packet header, whether to decompress the first packet header, and whether the first packet header Is empty, whether the first header has valid information, and the packet type information of the data packet; specifically, the first indication information is used to indicate at least one of the following: discarding the first header, not correcting the first header Decompress a packet header, the first packet header is empty, the first packet header has no valid information, and the packet type information of the data packet; or, the first indication information is used to indicate at least one of the following: no discard The first packet header, decompressing the first packet header, the first packet header is not empty, the first packet header has valid information, and the packet type information of the data packet;
  • the second packet header carries second indication information
  • the second indication information is used to indicate at least one of the following: whether to discard the second packet header, whether to decompress the second packet header, and whether the second packet header Is empty, whether the second header has valid information, and the packet type information of the data packet; specifically, the second indication information is used to indicate at least one of the following: discarding the second header, not correcting the first
  • the second packet header is decompressed, the second packet header is empty, the second packet header has no valid information, and the packet type information of the data packet; or, the second indication information is used to indicate at least one of the following: no discard The second packet header is decompressed, the second packet header is not empty, the second packet header has valid information, and the packet type information of the data packet.
  • the PDCP PDU further includes a PDCP header.
  • the positional relationship between the PDCP header and the first header and the second header may be: 1) The PDCP header is located before the first header, and the first A packet header is located before the second packet header; or, 2) the PDCP packet header is located before the second packet header, and the second packet header is located before the first packet header.
  • the first packet header is an Ethernet packet header
  • the second packet header is an IP packet header
  • the first indication information carried in the first packet header (ie, the Ethernet packet header) is used to indicate at least one of the following: discarding the first packet header, not decompressing the first packet header, and Is empty, the first packet header has no valid information, and the packet type of the data packet is an IP packet;
  • the first indication information carried in the second header (that is, the IP header) is used to indicate at least one of the following: not discarding the second header, decompressing the second header, and It is not empty, the second packet header has valid information, and the packet type of the data packet is an IP packet.
  • the first indication information carried in the first packet header (ie, the Ethernet packet header) is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, and The packet header is not empty, the first packet header has valid information, and the packet type of the data packet is an Ethernet packet;
  • the first indication information carried in the second header (ie, the IP header) is used to indicate at least one of the following: discard the second header, not decompress the second header, and the second header is Empty, the second packet header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the first packet header ie, the Ethernet packet header
  • the second packet header ie, the IP packet header
  • the first indication information carried in the first packet header (ie, the Ethernet packet header) is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, and The packet header is not empty, the first packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet;
  • the first indication information carried in the second header (that is, the IP header) is used to indicate at least one of the following: not discarding the second header, decompressing the second header, and It is not empty, the second packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet.
  • the second packet header ie, the IP packet header
  • the first packet header ie, the Ethernet packet header
  • the first indication information carried in the first packet header (ie, the Ethernet packet header) is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, and The packet header is not empty, the first packet header has valid information, and the packet type of the data packet is an Ethernet over IP packet;
  • the first indication information carried in the second header (that is, the IP header) is used to indicate at least one of the following: not discarding the second header, decompressing the second header, and It is not empty, the second header has valid information, and the packet type of the data packet is an Ethernet over IP packet.
  • the first device sends a PDCP PDU to the second device, and a specific packet header in the PDCP PDU carries third indication information before or in the specific packet header, and the third indication information is used to indicate at least one of the following: discarded
  • the header, the header that is not discarded, the header that is decompressed, the header that is not decompressed, the header with empty content, the header with not empty content, the header with valid information, the header without valid information, the existing header, the non-empty header The existing packet header and packet type information of the data packet.
  • the third indication information is used to indicate at least one of the following: whether to discard the first header and/or the second header, whether to decompress the first header and/or the second header, the first header and/or Whether the second packet header is empty, whether the first packet header and/or the second packet header has valid information, whether the first packet header and/or the second packet header exists, and the packet type information of the data packet.
  • the PDCP PDU further includes a PDCP header, and the positional relationship between the PDCP header and the specific header may be: the PDCP header is located before the specific header.
  • the third indication information is carried before the specific header, and the specific header is the first header or the second header. specifically:
  • the PDCP header (the PDCP header is located before the specific header) carries the third indication information. or,
  • the third indication information is carried between the PDCP header and the specific header (such as the first header or the second header); further, optionally, the specific header is the first one after the PDCP header Baotou. or,
  • the third indication information is carried between the first packet header and the second packet header. It should be noted that for 1.3), it is for the case where the first packet header and the second packet header are included in the PDCP PDU (such as IP over Ethernet packet, Ethernet over IP packet).
  • the specific header carries the third indication information, and the specific header is the first header, the second header, or the PDCP header. specifically:
  • the PDCP header carries the third indication information. or,
  • the first packet header carries the third indication information; it should be noted that for 2.2), it is for the case where the first packet header is included in the PDCP PDU (such as Ethernet packets, IP over Ethernet packets, Ethernet over IP packet). or,
  • the second packet header carries the third indication information; it should be noted that for 2.3), it is for the case where the second packet header is included in the PDCP PDU (such as IP packet, IP over Ethernet packet, Ethernet over IP packet).
  • the first packet header is an Ethernet packet header
  • the second packet header is an IP packet header
  • the PDCP PDU includes the second packet header (that is, the IP packet header);
  • the third indication information is used to indicate at least one of the following: do not discard the second header, decompress the second header, the second header is not empty, the second header has valid information, the first header does not exist and the second header
  • the PDCP PDU includes the first packet header (that is, the Ethernet packet header); where,
  • the third indication information is used to indicate at least one of the following: do not discard the first header, decompress the first header, the first header is not empty, the first header has valid information, the second header does not exist and the first header The header exists, the first header exists, the second header is discarded, the second header is not decompressed, the second header is empty, the second header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the PDCP PDU For an IP over Ethernet packet, the PDCP PDU includes the first packet header (ie, the Ethernet packet header) and the second packet header (ie, the IP packet header), and the first packet header is located before the second packet header, among them,
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an IP over Ethernet packet.
  • the PDCP PDU For Ethernet over IP, the PDCP PDU includes the first header (that is, the Ethernet header) and the second header (that is, the IP header), and the second header is located before the first header, where ,
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an Ethernet over IP packet.
  • Step 302 The second device decompresses the data packet according to the instruction information.
  • the second device determines whether to discard the header, and/or whether to decompress the header, and/or whether the header is empty, and/or whether the header has valid information, and/or the packet header Types of. If it is determined that the header is discarded, and/or the header is not decompressed, and/or the header is empty, and/or the header has no valid information, the second device directly ignores the header, or considers the header and/or the header to correspond The data of does not exist; otherwise, the second device considers that the header exists and decompresses the header.
  • the indication information in the embodiment of this application (such as at least one of the first indication information, the second indication information and the third indication information in the above solution) is based on the indication information at the receiving end or the decompression end. After determining the packet type and other information, it is discarded or not passed to the upper layer.
  • both the Ethernet header and the IP header are added, and indication information is added to the two headers to indicate at least one of the following: discarded headers, non-discarded headers, and decompressed headers , The header that is not decompressed, the header with empty content, the header with not empty content, the header with valid information, the header without valid information, and the packet type information of the data packet.
  • the network side maps different types of data packets to the same DRB, such as mapping at least two of IP packets, Ethernet packets, IP over Ethernet packets, and Ethernet over IP packets to the same DRB, and configure the Related configuration parameters for header compression of IP packets and/or Ethernet packets (referred to as header compression parameters).
  • the base station notifies the terminal equipment of the configured header compression parameters through the RRC message.
  • the terminal equipment confirms which types of data packets (such as IP packets, Ethernet packets, IP over Ethernet packets, Ethernet over IP packets) are carried in a certain or certain DRB; and determine whether the corresponding data
  • the packet undergoes header compression processing and corresponding header compression parameters.
  • the terminal device receives the data packet sent by the higher layer (such as the application layer of the terminal device) and determines the packet type of the data packet (such as IP packet, Ethernet packet, IP over Ethernet packet, Ethernet over IP packet). Before sending PDCP PDU to the RLC layer, according to the packet type, the terminal device carries indication information in the data packet (such as PDCP PDU), indicating at least one of the following: discarded header, non-discarded header, decompressed header, and no The header for decompression, the header with empty content, the header with not empty content, the header with valid information, the header without valid information, and the packet type information of the data packet.
  • the higher layer such as the application layer of the terminal device
  • the packet type of the data packet such as IP packet, Ethernet packet, IP over Ethernet packet, Ethernet over IP packet.
  • the terminal device carries indication information in the data packet (such as PDCP PDU), indicating at least one of the following: discarded header, non-discarded header, decompressed header, and no The header for decompression,
  • the terminal device is in the data packet Both carry the Ethernet header and the IP header, and add instruction information to both the Ethernet header and the IP header.
  • the first indication information in the Ethernet header is used to indicate at least one of the following: whether to discard the Ethernet header, whether to decompress the Ethernet header, whether the Ethernet header is empty, and whether the Ethernet header has Valid information, data packet type information;
  • the second indication information in the IP header is used to indicate at least one of the following: whether to discard the IP header, whether to decompress the IP header, whether the IP header is empty, whether the IP header is present Valid information, type information of the data packet.
  • the terminal device parses the high-level data packet, and determines whether the packet type of the data packet is an IP packet or an Ethernet packet or an IP over Ethernet packet or an Ethernet over IP packet according to the data packet format.
  • the terminal device determines the packet type of the data packet, it will group PDCP PDU according to the packet type. Specifically, before the terminal device sends the PDCP PDU to the RLC layer, regardless of the type of the received data packet, or for any type of data packet, the terminal device processes the PDCP PDU according to the Ethernet header and the IP header. That is, the terminal device carries the Ethernet packet header and the IP packet header in the PDCP PDU, and each indicates information in the Ethernet packet header and the IP packet header.
  • the first indication information in the Ethernet header is used to indicate at least one of the following: whether to discard the Ethernet header, whether to decompress the Ethernet header, whether the Ethernet header is empty, whether the Ethernet header has valid information, data Packet type information;
  • the second indication information in the IP header is used to indicate at least one of the following: whether to discard the IP header, whether to decompress the IP header, whether the IP header is empty, whether the IP header has valid information, data Package type information.
  • the Ethernet packet header is located before the IP packet header, and the PDCP packet header is located before the Ethernet packet header; or, the IP packet header is located before the Ethernet packet header, and the PDCP packet header is located before the IP packet header.
  • the terminal device receives an IP packet, add an Ethernet header after the PDCP header.
  • the Ethernet header only carries the first indication information, indicating at least one of the following: discard the Ethernet header, The Ethernet header is not decompressed, the Ethernet header is empty, the Ethernet header has no valid information, and the type of the data packet is an IP packet.
  • the first indication information may be represented by two bits or one bit, for example, the value of the bit may be 00 or 0.
  • an IP header is placed after the Ethernet header.
  • the IP header also carries second indication information, indicating at least one of the following: do not discard the IP header, decompress the IP header, and the IP header is not empty ,
  • the IP packet header has valid information, and the type of the data packet is an IP packet.
  • the second indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • the terminal device receives an Ethernet packet, place the Ethernet packet header after the PDCP packet header.
  • the Ethernet packet header also carries the first indication information, indicating at least the following One: Do not discard the Ethernet packet header, decompress the Ethernet packet header, the Ethernet packet header is not empty, the Ethernet packet header has valid information, and the type of the data packet is an Ethernet packet.
  • the first indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • an IP header is added after the Ethernet header.
  • the IP header only carries second indication information, indicating at least one of the following: discarding the IP header, not decompressing the IP header, empty IP header, no valid information in the IP header, data
  • the type of packet is an Ethernet packet.
  • the second indication information may be represented by two bits or one bit, for example, the value of the bit may be 00 or 0.
  • the terminal device receives an IP over Ethernet packet, place the Ethernet header after the PDCP header.
  • the Ethernet header carries the first indication information, indicating the following At least one: do not discard the Ethernet header, decompress the Ethernet header, the Ethernet header is not empty, the Ethernet header has valid information, and the data packet type is IP over Ethernet packet.
  • the first indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • an IP header is placed after the Ethernet header.
  • the IP header In addition to the IP header field information, the IP header also carries second indication information indicating at least one of the following: do not discard the IP header, decompress the IP header, and the IP header is not Empty, the IP header has valid information, and the data packet type is IP over Ethernet packet.
  • the second indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • the terminal device receives an Ethernet over IP packet, place an IP header after the PDCP header.
  • the IP header also carries second indication information, indicating at least the following One: Do not discard the IP header, decompress the IP header, the IP header is not empty, the IP header has valid information, and the data packet type is Ethernet over IP packet.
  • the second indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • an Ethernet packet header is placed after the IP packet header.
  • the Ethernet packet header also carries first indication information indicating at least one of the following: not discarding the Ethernet packet header, decompressing the Ethernet packet header, and Ethernet packet header
  • first indication information indicating at least one of the following: not discarding the Ethernet packet header, decompressing the Ethernet packet header, and Ethernet packet header
  • the packet header is not empty, the Ethernet packet header has valid information, and the data packet type is Ethernet over IP packet.
  • the first indication information may be represented by two bits or one bit, for example, the value of the bit may be 01 or 1.
  • the base station receives the PDCP PDU from the terminal device, and determines whether to discard the packet header, and/or whether to decompress the packet header, and/or whether the packet header is empty according to the instruction information carried in the Ethernet header and IP header in the PDCP PDU , And/or whether there is valid information in the packet header, and/or the packet type of the data packet, and then perform corresponding decompression processing (ie, decoding and parsing processing) on the data packet.
  • decompression processing ie, decoding and parsing processing
  • the base station as the receiving end or decompressing end, only indicates the headers of the indication information (that is, the first indication information or the second indication information in the above solution) that exist (for example, the value of the indication information is 01 or 1), and the corresponding packet header is reserved.
  • the base station ignores the header , And/or discard the header, and/or do not decompress the header, and/or think that the header is empty, and/or think that the header has no valid information, and/or think that the header does not exist, and/or think The data corresponding to the header does not exist, and/or the header is not delivered to the higher layer.
  • the indication information for example, the value of the indication information is 00 or 0
  • the base station ignores the header , And/or discard the header, and/or do not decompress the header, and/or think that the header is empty, and/or think that the header has no valid information, and/or think that the header does not exist, and/or think The data corresponding to the header does not exist, and/or the header is not delivered to the higher layer.
  • the base station If the instruction information (for example, the value of the instruction information is 01 or 1) indicates not to discard the header, and/or decompress the header, and/or the header is not empty, and/or the header has valid information, the base station retains the header, And/or decompress the header, and/or think that the header is not empty, and/or think that the header has valid information, and/or think that the header exists, and/or think that the data corresponding to the header exists, and / Or the processed header is submitted to the higher level.
  • the base station serves as the receiving end or the decompressing end, and determines the packet type according to the indication information (that is, the first indication information or the second indication information in the above solution). According to the packet type, determine how to decode, how to unpack, etc.
  • indication information is carried in front of or in the header of a specific header to indicate at least one of the following: whether to discard the first header and/or the second header, and whether to correct the first header and/or the second header Perform decompression, whether the first header and/or the second header are empty, whether the first header and/or the second header have valid information, whether the first header and/or the second header exist, and the packet type of the data packet information.
  • the specific header is an Ethernet header or an IP header or a PDCP header.
  • the first packet header is an Ethernet packet header
  • the second packet header is an IP packet header.
  • the network side maps different types of data packets to the same DRB, such as mapping at least two of IP packets, Ethernet packets, IP over Ethernet packets, and Ethernet over IP packets to the same DRB, and configure the Related configuration parameters for header compression of IP packets and/or Ethernet packets (referred to as header compression parameters).
  • the base station notifies the terminal equipment of the configured header compression parameters through the RRC message.
  • the terminal equipment confirms which types of data packets (such as IP packets, Ethernet packets, IP over Ethernet packets, Ethernet over IP packets) are carried in a certain or certain DRB; and determine whether the corresponding data
  • the packet undergoes header compression processing and corresponding header compression parameters.
  • the terminal device receives the data packet sent by the higher layer (such as the application layer of the terminal device) and determines the packet type of the data packet (such as IP packet, Ethernet packet, IP over Ethernet packet, Ethernet over IP packet).
  • the terminal device carries indication information (that is, the third indication information) in the data packet (such as PDCP PDU) to indicate at least one of the following: discarded header, non-discarded header, The header that is decompressed, the header that is not decompressed, the header whose content is empty, the header whose content is not empty, the header with valid information, the header without valid information, the packet type information of the data packet, the header here Including the first header and/or the second header.
  • the terminal device is Indication information (that is, third indication information) carried before or in the header of the packet is used to indicate at least one of the following: whether to discard the first header and/or the second header, and whether to decompress the first header and/or the second header , Whether the first header and/or the second header are empty, whether the first header and/or the second header has valid information, whether the first header and/or the second header exists, and the packet type information of the data packet.
  • the specific header is an Ethernet header or an IP header or a PDCP header.
  • the first packet header is an Ethernet packet header
  • the second packet header is an IP packet header.
  • the third indication information may occupy 2 bits, and the packet type of the data packet or whether the data packet contains an Ethernet packet header and/or an IP packet header can be determined through the third indication information. For example, 00 means not including Ethernet header and IP header, 01 means including IP header but not Ethernet header, 10 means including Ethernet header but not IP header, and 11 means including Ethernet header and IP header. Or, the high bit represents whether the Ethernet header is included, the low bit represents whether the IP header is included, etc.
  • the terminal device parses the high-level data packet, and determines whether the packet type of the data packet is an IP packet or an Ethernet packet or an IP over Ethernet packet or an Ethernet over IP packet according to the data packet format.
  • the terminal device determines the packet type of the data packet, it will group PDCP PDU according to the packet type. Specifically, before the terminal device sends the PDCP PDU to the RLC layer, regardless of the type of the received data packet, or for any type of data packet, the terminal device carries the third indication information in the specific header of the PDCP PDU, The third indication information can determine whether the data packet includes an Ethernet packet header and/or an IP packet header.
  • the third indication information is carried in the PDCP header, or the third indication information is carried in the first header after the PDCP header (refer to Figure 5-1) (for example, the third indication information is located at the end of the first header after the PDCP header Location or extension field), or carry third indication information between the PDCP header and the first header (Ethernet header or IP header) after the PDCP header (refer to Figure 5-2), or between the Ethernet header and the IP header
  • the third instruction information is carried between.
  • the Ethernet packet header is located before the IP packet header, and the PDCP packet header is located before the Ethernet packet header (such as IP over Ethernet packet); or, the IP packet header is located before the Ethernet packet header, and the PDCP packet header It is located before the IP packet header (such as Ethernet over IP packet).
  • the third indication information is carried in the PDCP header, the IP header, or between the PDCP header and the IP header, indicating that the Ethernet header does not exist, but only the IP header.
  • the bit value of the third indication information may be 00.
  • the third indication information is carried in the PDCP header or the Ethernet packet or between the PDCP header and the Ethernet header, indicating that the IP header does not exist, but only the Ethernet header .
  • the bit value of the third indication information may be 01.
  • the third indication is carried in the PDCP header or the Ethernet header or the IP header or between the PDCP header and the Ethernet header or between the Ethernet header and the IP header Information indicating that the Ethernet header and the IP header exist.
  • the bit value of the third indication information may be 10.
  • the third indication information is carried in the PDCP header or the IP header or the Ethernet header or between the PDCP header and the IP header or between the IP header and the Ethernet header , Indicating that the Ethernet header and the IP header are present.
  • the bit value of the third indication information may be 11.
  • the base station receives the PDCP PDU from the terminal device, determines the packet type according to the third indication information carried in the PDCP PDU, and then performs the corresponding decoding or decompression processing on the data packet (ie, decoding, parsing, and restoring the header, etc.) deal with).
  • the base station as the receiving end or decompressing end, considers that the packet type of the data packet is an IP packet, and performs decompression processing on the IP packet header. If the third indication information indicates that the Ethernet packet header exists, the base station, as the receiving end or decompression end, considers that the packet type of the data packet is an Ethernet packet, and performs decompression processing on the Ethernet packet header. If the third indication information indicates that both the Ethernet packet header and the IP packet header exist and the Ethernet packet header is located before the IP packet header, the base station, as the receiving end or decompressing end, considers the packet type of the data packet to be an IP over Ethernet packet. The IP header is decompressed.
  • the base station as the receiving end or decompressing end considers the packet type of the data packet to be Ethernet over IP packet.
  • the header is decompressed.
  • FIG. 6 is a schematic diagram 1 of the structural composition of an apparatus for indicating a decompression object provided by an embodiment of the application, which is applied to a first device.
  • the apparatus for indicating a decompression object includes:
  • the sending unit 601 is configured to send a data packet to a second device, where the data packet carries instruction information, and the instruction information indicates at least one of the following:
  • Discarded headers non-discarded headers, decompressed headers, non-decompressed headers, headers with empty content, headers with non-empty content, headers with valid information, headers without valid information, the data
  • the package type information of the package
  • the sending unit 601 is configured to send a PDCP PDU to the second device, and the PDCP PDU carries a first packet header and a second packet header;
  • the first packet header carries first indication information, and the first indication information is used to indicate at least one of the following: discarding the first packet header, not decompressing the first packet header, the first packet header being empty, The first packet header does not have valid information, the packet type information of the data packet; or, the first indication information is used to indicate at least one of the following: not discarding the first packet header, deciphering the first packet header Compression, the first packet header is not empty, the first packet header has valid information, and the packet type information of the data packet;
  • the second packet header carries second indication information, and the second indication information is used to indicate at least one of the following: discarding the second packet header, not decompressing the second packet header, the second packet header being empty, The second packet header does not have valid information, the packet type information of the data packet; or, the second indication information is used to indicate at least one of the following: not discarding the second packet header, deciphering the second packet header Compression, the second packet header is not empty, the second packet header has valid information, and the packet type information of the data packet.
  • the PDCP packet header is located before the first packet header, and the first packet header is located before the second packet header; or,
  • the PDCP packet header is located before the second packet header, and the second packet header is located before the first packet header.
  • the first header is an Ethernet header
  • the second header is an IP header
  • the packet type of the data packet is an IP packet
  • the first indication information carried in the first packet header is used to indicate at least one of the following: discard the first packet header, do not decompress the first packet header, the first packet header is empty, and the first packet header A packet header has no valid information, and the packet type of the data packet is an IP packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an IP packet.
  • the packet type of the data packet is an Ethernet packet
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an Ethernet packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: discard the second header, not decompress the second header, the second header is empty, and the first header
  • the second packet header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the packet type of the data packet is an IP over Ethernet packet
  • the first packet header is located before the second packet header
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet.
  • the second packet header is located before the first packet header
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an Ethernet over IP packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an Ethernet over IP packet.
  • the sending unit 601 is configured to send a PDCP PDU to the second device, and a specific packet header in the PDCP PDU carries third indication information before or in a specific packet header, and the third indication Information is used to indicate at least one of the following: discarded headers, non-discarded headers, decompressed headers, non-decompressed headers, headers with empty content, headers with non-empty content, headers with valid information, The packet header without valid information, the existing packet header, the non-existent packet header, and the packet type information of the data packet.
  • the specific header is a first header or a second header.
  • the PDCP packet header is located before the specific packet header
  • the third indication information carried before the specific header includes:
  • the PDCP packet header carries the third indication information; or,
  • the third indication information is carried between the PDCP header and the specific header.
  • the specific header is the first header after the PDCP header.
  • the first header is an Ethernet header
  • the second header is an IP header
  • the PDCP PDU when the packet type of the data packet is an IP packet, the PDCP PDU includes the second packet header;
  • the third indication information is used to indicate at least one of the following: do not discard the second header, decompress the second header, the second header is not empty, the second header has valid information, the first header does not exist and the second header
  • the PDCP PDU when the packet type of the data packet is an Ethernet packet, the PDCP PDU includes the first packet header;
  • the third indication information is used to indicate at least one of the following: do not discard the first header, decompress the first header, the first header is not empty, the first header has valid information, the second header does not exist and the first header The header exists, the first header exists, the second header is discarded, the second header is not decompressed, the second header is empty, the second header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the PDCP PDU when the packet type of the data packet is an IP over Ethernet packet, the PDCP PDU includes the first packet header and the second packet header, and the first packet header is located in the first packet header.
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an IP over Ethernet packet.
  • the PDCP PDU when the packet type of the data packet is an Ethernet over IP packet, the PDCP PDU includes the first packet header and the second packet header, and the second packet header is located in the first packet header.
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an Ethernet over IP packet.
  • the first device is a terminal device, and the second device is a network device; or,
  • the first device is a network device, and the second device is a terminal device; or,
  • the first device is a first terminal device
  • the second device is a second terminal device.
  • FIG. 7 is a schematic diagram 2 of the structural composition of an apparatus for indicating a decompression object provided by an embodiment of the application, which is applied to a second device.
  • the apparatus for indicating a decompression object includes:
  • the receiving unit 701 is configured to receive a data packet sent by a first device, where the data packet carries instruction information, and the instruction information indicates at least one of the following: a header to be discarded, a header not to be discarded, a header to be decompressed, and no The header of the decompressed packet, the header with empty content, the header with not empty content, the header with valid information, the header without valid information, and the packet type information of the data packet;
  • the processing unit 702 is configured to decompress the data packet according to the instruction information.
  • the receiving unit 701 is configured to receive a PDCP PDU sent by the first device, and the PDCP PDU carries a first packet header and a second packet header;
  • the first packet header carries first indication information, and the first indication information is used to indicate at least one of the following: discarding the first packet header, not decompressing the first packet header, the first packet header being empty, The first packet header does not have valid information, the packet type information of the data packet; or, the first indication information is used to indicate at least one of the following: not discarding the first packet header, deciphering the first packet header Compression, the first packet header is not empty, the first packet header has valid information, and the packet type information of the data packet;
  • the second packet header carries second indication information, and the second indication information is used to indicate at least one of the following: discarding the second packet header, not decompressing the second packet header, the second packet header being empty, The second packet header does not have valid information, the packet type information of the data packet; or, the second indication information is used to indicate at least one of the following: not discarding the second packet header, deciphering the second packet header Compression, the second packet header is not empty, the second packet header has valid information, and the packet type information of the data packet.
  • the PDCP packet header is located before the first packet header, and the first packet header is located before the second packet header; or,
  • the PDCP packet header is located before the second packet header, and the second packet header is located before the first packet header.
  • the first header is an Ethernet header
  • the second header is an IP header
  • the packet type of the data packet is an IP packet
  • the first indication information carried in the first packet header is used to indicate at least one of the following: discard the first packet header, do not decompress the first packet header, the first packet header is empty, and the first packet header A packet header has no valid information, and the packet type of the data packet is an IP packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an IP packet.
  • the packet type of the data packet is an Ethernet packet
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an Ethernet packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: discard the second header, not decompress the second header, the second header is empty, and the first header
  • the second packet header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the packet type of the data packet is an IP over Ethernet packet
  • the first packet header is located before the second packet header
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an IP over Ethernet packet.
  • the second packet header is located before the first packet header
  • the first indication information carried in the first packet header is used to indicate at least one of the following: not discarding the first packet header, decompressing the first packet header, the first packet header is not empty, so The first packet header has valid information, and the packet type of the data packet is an Ethernet over IP packet;
  • the first indication information carried in the second header is used to indicate at least one of the following: not discarding the second header, decompressing the second header, the second header is not empty, so The second packet header has valid information, and the packet type of the data packet is an Ethernet over IP packet.
  • the receiving unit 701 is configured to receive a PDCP PDU sent by the first device, and a specific header in the PDCP PDU carries third indication information before or in a specific header.
  • the indication information is used to indicate at least one of the following: discarded headers, non-discarded headers, decompressed headers, not decompressed headers, headers with empty content, headers with non-empty content, headers with valid information , The packet header without valid information, the existing packet header, the non-existent packet header, and the packet type information of the data packet.
  • the specific header is a first header or a second header.
  • the PDCP packet header is located before the specific packet header
  • the third indication information carried before the specific header includes:
  • the PDCP packet header carries the third indication information; or,
  • the third indication information is carried between the PDCP header and the specific header.
  • the specific header is the first header after the PDCP header.
  • the first header is an Ethernet header
  • the second header is an IP header
  • the PDCP PDU when the packet type of the data packet is an IP packet, the PDCP PDU includes the second packet header;
  • the third indication information is used to indicate at least one of the following: do not discard the second header, decompress the second header, the second header is not empty, the second header has valid information, the first header does not exist and the second header
  • the PDCP PDU when the packet type of the data packet is an Ethernet packet, the PDCP PDU includes the first packet header;
  • the third indication information is used to indicate at least one of the following: do not discard the first header, decompress the first header, the first header is not empty, the first header has valid information, the second header does not exist and the first header The header exists, the first header exists, the second header is discarded, the second header is not decompressed, the second header is empty, the second header has no valid information, and the packet type of the data packet is an Ethernet packet.
  • the PDCP PDU when the packet type of the data packet is an IP over Ethernet packet, the PDCP PDU includes the first packet header and the second packet header, and the first packet header is located in the first packet header.
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an IP over Ethernet packet.
  • the PDCP PDU when the packet type of the data packet is an Ethernet over IP packet, the PDCP PDU includes the first packet header and the second packet header, and the second packet header is located in the first packet header.
  • the third indication information is used to indicate at least one of the following: do not discard the first header and the second header, decompress the first header and the second header, the first header and the second header are not empty, and the first header There is valid information with the second header, both the first header and the second header exist, and the packet type of the data packet is an Ethernet over IP packet.
  • the first device is a terminal device, and the second device is a network device; or,
  • the first device is a network device, and the second device is a terminal device; or,
  • the first device is a first terminal device
  • the second device is a second terminal device.
  • FIG. 8 is a schematic structural diagram of a communication device 800 provided by an embodiment of the present application.
  • the communication device may be a terminal device or a network device.
  • the communication device 800 shown in FIG. 8 includes a processor 810.
  • the processor 810 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the communication device 800 may further include a memory 820.
  • the processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
  • the memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
  • the communication device 800 may further include a transceiver 830, and the processor 810 may control the transceiver 830 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.
  • the transceiver 830 may include a transmitter and a receiver.
  • the transceiver 830 may further include an antenna, and the number of antennas may be one or more.
  • the communication device 800 may specifically be a network device in an embodiment of the present application, and the communication device 800 may implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, it will not be repeated here. .
  • the communication device 800 may specifically be a mobile terminal/terminal device of an embodiment of the application, and the communication device 800 may implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiment of the application.
  • I won’t repeat it here.
  • FIG. 9 is a schematic structural diagram of a chip of an embodiment of the present application.
  • the chip 900 shown in FIG. 9 includes a processor 910, and the processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
  • the chip 900 may further include a memory 920.
  • the processor 910 can call and run a computer program from the memory 920 to implement the method in the embodiment of the present application.
  • the memory 920 may be a separate device independent of the processor 910, or may be integrated in the processor 910.
  • the chip 900 may further include an input interface 930.
  • the processor 910 can control the input interface 930 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
  • the chip 900 may further include an output interface 940.
  • the processor 910 can control the output interface 940 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
  • the chip can be applied to the network device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip can implement the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application.
  • the chip mentioned in the embodiment of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip, or a system-on-chip.
  • FIG. 10 is a schematic block diagram of a communication system 1000 according to an embodiment of the present application. As shown in FIG. 10, the communication system 1000 includes a terminal device 1010 and a network device 1020.
  • the terminal device 1010 can be used to implement the corresponding function implemented by the terminal device in the above method
  • the network device 1020 can be used to implement the corresponding function implemented by the network device in the above method. For brevity, it will not be repeated here. .
  • the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), and electrically available Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (Random Access Memory, RAM), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • DDR SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • Enhanced SDRAM, ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • Synchronous Link Dynamic Random Access Memory Synchronous Link Dynamic Random Access Memory
  • DR RAM Direct Rambus RAM
  • the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is to say, the memory in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the embodiment of the present application also provides a computer-readable storage medium for storing computer programs.
  • the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application , For the sake of brevity, I won’t repeat it here.
  • the embodiments of the present application also provide a computer program product, including computer program instructions.
  • the computer program product can be applied to the network device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the computer program product can be applied to the mobile terminal/terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, For the sake of brevity, I will not repeat them here.
  • the embodiment of the present application also provides a computer program.
  • the computer program can be applied to the network device in the embodiment of the present application.
  • the computer program runs on the computer, it causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • I won’t repeat it here.
  • the computer program can be applied to the mobile terminal/terminal device in the embodiment of the present application.
  • the computer program runs on the computer, the computer executes each method in the embodiment of the present application. For the sake of brevity, the corresponding process will not be repeated here.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory,) ROM, random access memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

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

Abstract

本申请实施例提供一种指示解压缩对象的方法及装置、通信设备,该方法包括:第一设备向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。

Description

一种指示解压缩对象的方法及装置、通信设备 技术领域
本申请实施例涉及移动通信技术领域,具体涉及一种指示解压缩对象的方法及装置、通信设备。
背景技术
在新无线(New Radio,NR)系统中,支持一个承载中同时映射两种以上类型数据包的情况,如一个承载内同时映射IP包、以太网(Ethernet)包以及基于以太网的IP包(IP over Ethernet包)中的至少两种类型数据包的情况,对于这种情况,若配置了对Ethernet包和/或IP包进行头解压缩的相关配置参数,则接收端(即解压缩端)收到一个数据包后,如何确定该数据包是哪种类型的包是不确定的,即接收端(即解压缩端)不能对此数据包进行区分,导致无法使用合适的方式对该数据包进行解码或者解压缩。
发明内容
本申请实施例提供一种指示解压缩对象的方法及装置、通信设备。
本申请实施例提供的指示解压缩对象的方法,包括:
第一设备向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:
丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
本申请实施例提供的指示解压缩对象的方法,包括:
第二设备接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息;
所述第二设备根据所述指示信息对所述数据包进行解压缩。
本申请实施例提供的指示解压缩对象的装置,应用于第一设备,所述装置包括:
发送单元,用于向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:
丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
本申请实施例提供的指示解压缩对象的装置,应用于第二设备,所述装置包括:
接收单元,用于接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息;
处理单元,用于根据所述指示信息对所述数据包进行解压缩。
本申请实施例提供的通信设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述的指示解压缩对象的方法。
本申请实施例提供的芯片,用于实现上述的指示解压缩对象的方法。
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述的指示解压缩对象的方法。
本申请实施例提供的计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述的指示解压缩对象的方法。
本申请实施例提供的计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述的指示解压缩对象的方法。
本申请实施例提供的计算机程序,当其在计算机上运行时,使得计算机执行上述的指示解压缩对象的方法。
通过上述技术方案,避免了解压缩端对数据包的解压缩失败,进而避免了不必要的数据传输错误和重传,另一方面,也避免了空口资源的浪费以及终端设备掉网等问题。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是本申请实施例提供的一种通信系统架构的示意性图;
图2是本申请实施例提供的一种通信协议架构图;
图3为本申请实施例提供的指示解压缩对象的方法的流程示意图;
图4-1是本申请实施例提供的指示信息的示意图一;
图4-2是本申请实施例提供的指示信息的示意图二;
图4-3是本申请实施例提供的指示信息的示意图三;
图4-4是本申请实施例提供的指示信息的示意图四;
图5-1是本申请实施例提供的指示信息的示意图五;
图5-2是本申请实施例提供的指示信息的示意图六;
图6为本申请实施例提供的指示解压缩对象的装置的结构组成示意图一;
图7为本申请实施例提供的指示解压缩对象的装置的结构组成示意图二;
图8是本申请实施例提供的一种通信设备示意性结构图;
图9是本申请实施例的芯片的示意性结构图;
图10是本申请实施例提供的一种通信系统的示意性框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、系统、5G通信系统或未来的通信系统等。
示例性的,本申请实施例应用的通信系统100如图1所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端进行通信。可选地,该网络设备110可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来通信系统中的网络设备等。
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端120。作为在此使用的“终端”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、 移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端或者未来演进的PLMN中的终端等。
可选地,终端120之间可以进行终端直连(Device to Device,D2D)通信。
可选地,5G通信系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。
图1示例性地示出了一个网络设备和两个终端,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端,本申请实施例对此不做限定。
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端120,网络设备110和终端120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
为便于理解本申请实施例的技术方案,以下对本申请实施例相关的技术方案进行说明。
Figure PCTCN2019115614-appb-000001
关键术语
头压缩(header compression):对数据包的包头进行压缩,用于提高用户数据的传输效率。在LTE和NR中,在分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层采用健壮性包头压缩(RoHC,Robust Header Compression)对数据包的包头进行压缩。
协议数据单元(Protocol Data Unit,PDU)会话:PDU会话指终端设备与提供PDU连接服务的数据网络之间的关联。这种关联的类型可以为IPv4、IPv6、Ethernet等。
Figure PCTCN2019115614-appb-000002
相关技术
5G工业互联网(Industrial intenet of Things,IIoT)中需求支持工业自动化,传输自动化、智能电力等业务在5G系统的传输。基于其时延和可靠性的传输需求,IIoT引入了时间敏感性网络(Time sensitive network,TSN)的概念,并且需要对TSN业务进行头压缩处理。TSN业务可以由以太帧(Ethernet frame)承载,也可由IP包承载。
其中,以太帧的引入是因为目前的通信系统中仅支持对PDU会话的类型为IP类型的数据包进行头压缩。而在5G NR系统中,PDU会话的类型不仅可以为IP类型,也可以为Ethernet类型。
图2为UE、5G接入网(5G-AN,5G-Access Network)、以及核心网(具体为用户平面功能(UPF,User Plane Function))之间的协议架构示意图,对于PDU层来说,当PDU会话的类型为IP类型(例如IPv4、或IPv6、或IPv4v6),该PDU会话对应的数据包为IPv4数据包(IPv4packets)和/或IPv6数据包(IPv6packets);当PDU会话的类型为Ethernet类型时,该PDU会话对应的数据包为以太帧。
一方面,PDCP协议中引入了头压缩和解压缩功能,以实现对IP包进行头压缩和解压缩。RoHC是针对数据无线承载(Data Resource Bearer,DRB)配置的,压缩端和解压缩端根据配置的profile使用不同的头压缩和解压缩参数,采用RoHC协议对数据包的包头进行压缩和解压缩处理。另一方面,使用一种新的头压缩机制(3GPP内部的机制),对以太网包进行头压缩和解压缩处理。
对于一个承载(如DRB)内同时映射IP包、以太网包以及IP over Ethernet包中的至少两种类型数据包的情况,若配置了对Ethernet包和/或IP包进行头解压缩的相关配置参数,则接收端(即解压缩端)收到一个数据包后,如何确定该数据包是哪种类型的包是不确定的,即接收端(即解压缩端)不能对此数据包进行区分,导致无法使用合适的方式对该数据包进行解压缩。为此,提出了本申请实施例的以下技术方案。
本申请实施例的技术方案,考虑到当一个承载中不同类型的数据包(如IP包、Ethernet包、IP over Ethernet包、Ethernet over IP包),采用不同的头压缩算法,则需要接收端(即解压缩端)对数据包进行区分,为此,提出了一种数据包的区分方式,避免了解压缩(或者说解码)失败,进而避免了不必要的数据传输错误和重传,同时,也避免了空口资源的浪费以及终端设备掉网等问题。
图3为本申请实施例提供的指示解压缩对象的方法的流程示意图,如图3所示,所述指示解压 缩对象的方法包括以下步骤:
步骤301:第一设备向第二设备发送数据包,第二设备接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
本申请实施例中,所述第一设备和所述第二设备的实现有如下几种情况:
1)所述第一设备为终端设备,所述第二设备为网络设备。
这种情况,所述数据包为上行数据包。可选地,所述网络设备可以是基站,如gNB。
2)所述第一设备为网络设备,所述第二设备为终端设备。
这种情况,所述数据包为下行数据包。可选地,所述网络设备可以是基站,如gNB。
3)所述第一设备为第一终端设备,所述第二设备为第二终端设备。
这种情况,所述数据包为侧行数据包(或者说终端设备之间采用D2D通信方式传输的数据包)。
对于第一设备来说,也可以称之为数据包的压缩端或者发送端;对于第二设备来说,也可以称之为数据包的解压缩端或者接收端。
本申请实施例中,所述数据包中携带的指示信息,可以通过以下任意一种方式来实现。
Figure PCTCN2019115614-appb-000003
方式一
所述第一设备向所述第二设备发送PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:是否丢弃所述第一包头、是否对所述第一包头进行解压缩、所述第一包头是否为空、所述第一包头是否有有效信息、所述数据包的包类型信息;具体地,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:是否丢弃所述第二包头、是否对所述第二包头进行解压缩、所述第二包头是否为空、所述第二包头是否有有效信息、所述数据包的包类型信息;具体地,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
本申请实施例中,所述PDCP PDU还包括PDCP包头,PDCP包头和所述第一包头以及所述第二包头的位置关系可以是:1)PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,2)PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
在本申请一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。基于此,以下结合不同的包类型对所述第一指示信息和所述第二指示信息具体指示的内容进行描述。
◆所述数据包的包类型为IP包的情况:
所述第一包头(即以太网包头)中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
所述第二包头(即IP包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
◆所述数据包的包类型为以太网包的情况:
所述第一包头(即以太网包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
所述第二包头(即IP包头)中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所 述数据包的包类型为以太网包。
◆所述数据包的包类型为IP over Ethernet包的情况:
对于IP over Ethernet包来说,所述第一包头(即以太网包头)位于所述第二包头(即IP包头)之前,其中,
所述第一包头(即以太网包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
所述第二包头(即IP包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
◆所述数据包的包类型为Ethernet over IP包的情况:
对于Ethernet over IP包来说,所述第二包头(即IP包头)位于所述第一包头(即以太网包头)之前,其中,
所述第一包头(即以太网包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
所述第二包头(即IP包头)中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
Figure PCTCN2019115614-appb-000004
方式二
所述第一设备向所述第二设备发送PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。具体地,所述第三指示信息用于指示以下至少之一:是否丢弃第一包头和/或第二包头、是否对第一包头和/或第二包头进行解压缩、第一包头和/或第二包头是否为空、第一包头和/或第二包头是否有有效信息、第一包头和/或第二包头是否存在、所述数据包的包类型信息。
本申请实施例中,所述PDCP PDU还包括PDCP包头,PDCP包头和所述特定包头的位置关系可以是:PDCP包头位于所述特定包头之前。
在一可选实施方式中,所述特定包头前携带所述第三指示信息,所述特定包头为第一包头或第二包头。具体地:
1.1)所述PDCP包头(PDCP包头位于特定包头之前)携带所述第三指示信息。或者,
1.2)所述PDCP包头与所述特定包头(如第一包头或第二包头)之间携带所述第三指示信息;进一步,可选地,所述特定包头为所述PDCP包头之后的首个包头。或者,
1.3)第一包头与第二包头之间携带所述第三指示信息。需要说明的是,对于1.3)来说,是针对PDCP PDU中同时包含所述第一包头和所述第二包头的情况(如IP over Ethernet包、Ethernet over IP包)。
在另一可选实施方式中,所述特定包头中携带所述第三指示信息,所述特定包头为第一包头或第二包头或PDCP包头。具体地:
2.1)所述PDCP包头携带所述第三指示信息。或者,
2.2)所述第一包头携带所述第三指示信息;需要说明的是,对于2.2)来说,是针对PDCP PDU中包含所述第一包头的情况(如以太网包、IP over Ethernet包、Ethernet over IP包)。或者,
2.3)所述第二包头携带所述第三指示信息;需要说明的是,对于2.3)来说,是针对PDCP PDU中包含所述第二包头的情况(如IP包、IP over Ethernet包、Ethernet over IP包)。
在本申请一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。基于此,以下结合不同的包类型对所述第三指示信息具体指示的内容进行描述。
◆所述数据包的包类型为IP包的情况:
对于IP包来说,所述PDCP PDU包括所述第二包头(即IP包头);其中,
所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型 为IP包。
◆所述数据包的包类型为以太网包的情况:
对于以太网包来说,所述PDCP PDU包括所述第一包头(即以太网包头);其中,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
◆所述数据包的包类型为IP over Ethernet包的情况:
对于IP over Ethernet包来说,所述PDCP PDU包括所述第一包头(即以太网包头)和所述第二包头(即IP包头),且所述第一包头位于所述第二包头之前,其中,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
◆所述数据包的包类型为Ethernet over IP包的情况:
对于Ethernet over IP来说,所述PDCP PDU包括所述第一包头(即以太网包头)和所述第二包头(即IP包头),且所述第二包头位于所述第一包头之前,其中,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
步骤302:所述第二设备根据所述指示信息对所述数据包进行解压缩。
具体地,所述第二设备根据指示信息确定是否丢弃包头、和/或是否对包头进行解压缩、和/或包头是否为空、和/或包头是否有有效信息、和/或数据包的包类型。若确定丢弃包头、和/或不对包头进行解压缩、和/或包头为空、和/或包头没有有效信息,则所述第二设备直接忽略该包头,或认为该包头和/或该包头对应的数据不存在;否则,所述第二设备认为该包头存在,并对该包头进行解压缩。
需要说明的是,本申请实施例中的指示信息(如上述方案中的第一指示信息、第二指示信息和第三指示信息中的至少之一),在接收端或者解压缩端根据指示信息确定包类型等信息后,进行丢弃或者不会传递到上层(upper layer)。
以下结合具体示例对本申请实施例的技术方案进行举例说明。
示例一
对任一类型的数据包,均携带以太网包头和IP包头,并在这两个包头中添加指示信息,用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
以下对上行数据包的头压缩处理(终端设备为压缩端/发送端,基站为解压缩端/接收端)进行说明,下行数据包的头压缩处理(基站为压缩端/发送端,终端设备为解压缩端/接收端)与之类似。
1.网络侧将不同类型的数据包映射到同一个DRB中,如将IP包、以太网包、IP over Ethernet包、Ethernet over IP包中的至少两种映射到同一个DRB中,并配置对IP包和/或以太网包进行头压缩的相关配置参数(简称头压缩参数)。基站通过RRC消息将配置的头压缩参数通知给终端设备。
2.终端设备根据基站的指示,确认某个或某些DRB中承载哪些类型的数据包(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包);并且确定是否对对应的数据包进行头压缩处理以及相应的头压缩参数。
3.终端设备接收高层(如终端设备的应用层)发送的数据包,确定该数据包的包类型(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包)。终端设备根据包类型,在向RLC层发送PDCP PDU前,在数据包(如PDCP PDU)中携带指示信息,指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
·具体地,不论终端设备收到的数据包的类型是什么,或者对任一类型的数据包(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包),终端设备在数据包中均携带以太网包头和IP包头,并在以太网包头和IP包头中均添加指示信息。
·具体地,在以太网包头中的第一指示信息,用于指示以下至少之一:是否丢弃以太网包头、是否对以太网包头进行解压缩、以太网包头是否为空、以太网包头是否有有效信息、数据包的类型 信息;在IP包头中的第二指示信息,用于指示以下至少之一:是否丢弃IP包头、是否对IP包头进行解压缩、IP包头是否为空、IP包头是否有有效信息、数据包的类型信息。
具体实现时,可采用如下步骤:
■3.1)终端设备对高层的数据包进行解析,根据数据包格式确定数据包的包类型是IP包还是以太网包还是IP over Ethernet包还是Ethernet over IP包。
■3.2)当终端设备确定数据包的包类型后,根据包类型组包PDCP PDU。具体地,终端设备在向RLC层发送PDCP PDU前,不论收到的数据包的类型是什么,或者对任一类型的数据包,终端设备在PDCP PDU中按照有以太网包头和IP包头进行处理,即,终端设备在PDCP PDU中携带以太网包头和IP包头,并在以太网包头和IP包头中各自一个指示信息。在以太网包头中的第一指示信息,用于指示以下至少之一:是否丢弃以太网包头、是否对以太网包头进行解压缩、以太网包头是否为空、以太网包头是否有有效信息、数据包的类型信息;在IP包头中的第二指示信息,用于指示以下至少之一:是否丢弃IP包头、是否对IP包头进行解压缩、IP包头是否为空、IP包头是否有有效信息、数据包的类型信息。
在PDCP PDU中,以太网包头位于IP包头之前,PDCP包头位于以太网包头之前;或者,IP包头位于以太网包头之前,PDCP包头位于IP包头之前。
→例如,参照图4-1,若终端设备收到的是IP包,在PDCP包头后增加以太网包头,该以太网包头仅携带第一指示信息,指示以下至少之一:丢弃以太网包头、不对以太网包头进行解压缩、以太网包头为空、以太网包头没有有效信息、数据包的类型为IP包。可选地,所述第一指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为00或0。进一步,在以太网包头后放置IP包头,IP包头中除了包头域信息外,同时携带第二指示信息,指示以下至少之一:不丢弃IP包头、对IP包头进行解压缩、IP包头不为空、IP包头有有效信息、数据包的类型为IP包。可选地,所述第二指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。
→又例如,参照图4-2,若终端设备收到的是以太网包,在PDCP包头后放置以太网包头,该以太网包头除了包头域信息外,同时携带第一指示信息,指示以下至少之一:不丢弃以太网包头、对以太网包头进行解压缩、以太网包头不为空、以太网包头有有效信息、数据包的类型为以太网包。可选地,所述第一指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。进一步,在以太网包头后增加IP包头,IP包头中仅携带第二指示信息,指示以下至少之一:丢弃IP包头、不对IP包头进行解压缩、IP包头为空、IP包头没有有效信息、数据包的类型为以太网包。可选地,所述第二指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为00或0。
→又例如,参照图4-3,若终端设备收到的是IP over Ethernet包,在PDCP包头后放置以太网包头,该以太网包头除了包头域信息外,同时携带第一指示信息,指示以下至少之一:不丢弃以太网包头、对以太网包头进行解压缩、以太网包头不为空、以太网包头有有效信息、数据包的类型为IP over Ethernet包。可选地,所述第一指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。进一步,在以太网包头后放置IP包头,该IP包头除了IP包头域信息外,同时携带第二指示信息,指示以下至少之一:不丢弃IP包头、对IP包头进行解压缩、IP包头不为空、IP包头有有效信息、数据包的类型为IP over Ethernet包。可选地,所述第二指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。
→又例如,参照图4-4,若终端设备收到的是Ethernet over IP包,在PDCP包头后放置IP包头,该IP包头除了IP包头域信息外,同时携带第二指示信息,指示以下至少之一:不丢弃IP包头、对IP包头进行解压缩、IP包头不为空、IP包头有有效信息、数据包的类型为Ethernet over IP包。可选地,所述第二指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。进一步,在IP包头后放置以太网包头,该以太网包头除了包头域信息外,同时携带第一指示信息,指示以下至少之一:不丢弃以太网包头、对以太网包头进行解压缩、以太网包头不为空、以太网包头有有效信息、数据包的类型为Ethernet over IP包。可选地,所述第一指示信息可以通过两个比特位或1个比特位表示,如比特位的取值可为01或1。
4.基站接收来自终端设备的PDCP PDU,根据PDCP PDU中以太网包头和IP包头中分别携带的指示信息,确定是否丢弃包头、和/或是否对包头进行解压缩、和/或包头是否为空、和/或包头是否有有效信息、和/或数据包的包类型,而后对数据包进行相应的解压缩处理(即解码、解析处理)。
这里,基站作为接收端或解压缩端仅对指示信息(即上述方案中的第一指示信息或第二指示信息)指示为存在(如指示信息取值为01或1)的包头,保留对应的包头,以及对该包头进行解压缩等。具体地,若指示信息(如指示信息取值为00或0)指示丢弃包头、和/或不对包头进行解压缩、 和/或包头为空、和/或包头没有有效信息,则基站忽略该包头、和/或丢弃该包头、和/或不对该包头进行解压缩、和/或认为该包头为空、和/或认为该包头没有有效信息、和/或认为该包头不存在、和/或认为该包头对应的数据不存在、和/或不将该包头递交到高层。若指示信息(如指示信息取值为01或1)指示不丢弃包头、和/或对包头进行解压缩、和/或包头不为空、和/或包头有有效信息,则基站保留该包头、和/或对该包头进行解压缩、和/或认为该包头不为空、和/或认为该包头有有效信息、和/或认为该包头存在、和/或认为该包头对应的数据存在、和/或处理后的包头递交到高层。或者,基站作为接收端或解压缩端,根据指示信息(即上述方案中的第一指示信息或第二指示信息),确定包类型。根据包类型,确定如何解码,如何解包等。
示例二
对任一类型的数据包,在特定包头前或包头中携带指示信息,用于指示以下至少之一:是否丢弃第一包头和/或第二包头、是否对第一包头和/或第二包头进行解压缩、第一包头和/或第二包头是否为空、第一包头和/或第二包头是否有有效信息、第一包头和/或第二包头是否存在、所述数据包的包类型信息。这里,特定包头为以太网包头或IP包头或PDCP包头。第一包头为以太网包头,第二包头为IP包头。
以下对上行数据包的头压缩处理(终端设备为压缩端/发送端,基站为解压缩端/接收端)进行说明,下行数据包的头压缩处理(基站为压缩端/发送端,终端设备为解压缩端/接收端)与之类似。
1.网络侧将不同类型的数据包映射到同一个DRB中,如将IP包、以太网包、IP over Ethernet包、Ethernet over IP包中的至少两种映射到同一个DRB中,并配置对IP包和/或以太网包进行头压缩的相关配置参数(简称头压缩参数)。基站通过RRC消息将配置的头压缩参数通知给终端设备。
2.终端设备根据基站的指示,确认某个或某些DRB中承载哪些类型的数据包(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包);并且确定是否对对应的数据包进行头压缩处理以及相应的头压缩参数。
3.终端设备接收高层(如终端设备的应用层)发送的数据包,确定该数据包的包类型(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包)。终端设备根据包类型,在向RLC层发送PDCP PDU前,在数据包(如PDCP PDU)中携带指示信息(即第三指示信息),指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息,这里的包头包括第一包头和/或第二包头。
·具体地,不论终端设备收到的数据包的类型是什么,或者对任一类型的数据包(如IP包、以太网包、IP over Ethernet包、Ethernet over IP包),终端设备在在特定包头前或包头中携带指示信息(即第三指示信息),用于指示以下至少之一:是否丢弃第一包头和/或第二包头、是否对第一包头和/或第二包头进行解压缩、第一包头和/或第二包头是否为空、第一包头和/或第二包头是否有有效信息、第一包头和/或第二包头是否存在、所述数据包的包类型信息。这里,特定包头为以太网包头或IP包头或PDCP包头。第一包头为以太网包头,第二包头为IP包头。
·具体地,第三指示信息可以占用2比特,通过第三指示信息可以确定数据包的包类型或者数据包是否包含以太网包头和/或IP包头。例如,00代表不包含以太网包头和IP包头,01代表包含IP包头而不包含以太网包头,10代表包含以太网包头而不包含IP包头,11代表包含以太网包头和IP包头。或者,高位代表是否包含以太网包头,低位代表是否包含IP包头,等。
具体实现时,可采用如下步骤:
■3.1)终端设备对高层的数据包进行解析,根据数据包格式确定数据包的包类型是IP包还是以太网包还是IP over Ethernet包还是Ethernet over IP包。
■3.2)当终端设备确定数据包的包类型后,根据包类型组包PDCP PDU。具体地,终端设备在向RLC层发送PDCP PDU前,不论收到的数据包的类型是什么,或者对任一类型的数据包,终端设备在PDCP PDU中的特定包头中携带第三指示信息,该第三指示信息可以确定数据包中是否包括以太网包头和/或IP包头。例如在PDCP包头中携带第三指示信息,或者在PDCP包头后的首个包头中携带第三指示信息(参照图5-1)(例如,第三指示信息位于PDCP包头后的首个包头的最后位置或扩展域中),或者在PDCP包头与PDCP包头后的首个包头(以太网包头或IP包头)之间携带第三指示信息(参照图5-2)、或者在以太网包头和IP包头之间携带第三指示信息。
在PDCP PDU中,若以太网包和IP包头都存在,以太网包头位于IP包头之前,PDCP包头位于以太网包头之前(如IP over Ethernet包);或者,IP包头位于以太网包头之前,PDCP包头位于IP包头之前(如Ethernet over IP包)。
→例如,若终端设备收到的是IP包,在PDCP包头中或IP包头中或PDCP包头与IP包头之间携带第三指示信息,指示以太网包头不存在,仅有IP包头。可选地,第三指示信息的比特取值可为00。
→又例如,若终端设备收到的是以太网包,在PDCP包头中或以太网包中或PDCP包头与以太网包头之间携带第三指示信息,指示IP包头不存在,仅有以太网包头。可选地,第三指示信息的比特取值可为01。
→又例如,若终端设备收到的是IP over Ethernet包,在PDCP包头中或以太网包头中或IP包头中或PDCP包头与以太网包头之间或以太网包头与IP包头之间携带第三指示信息,指示以太网包头和IP包头存在。可选地,第三指示信息的比特取值可为10。
→又例如,若终端设备收到的是Ethernet over IP包,在PDCP包头中或IP包头中或以太网包头中或PDCP包头与IP包头之间或IP包头与以太网包头之间携带第三指示信息,指示以太网包头和IP包头存在。可选地,第三指示信息的比特取值可为11。
4.基站接收来自终端设备的PDCP PDU,根据PDCP PDU中携带的第三指示信息,确定包类型是哪种,而后对数据包进行相应的解码或解压缩处理(即解码、解析、恢复包头等处理)。
这里,若第三指示信息指示IP包头存在,则基站作为接收端或解压缩端认为数据包的包类型为IP包,对IP包头进行解压缩处理。若第三指示信息指示以太网包头存在,则基站作为接收端或解压缩端认为数据包的包类型为以太网包,对以太网包头进行解压缩处理。若第三指示信息指示以太网包包头和IP包头均存在且以太网包头位于IP包头之前,则基站作为接收端或解压缩端认为数据包的包类型为IP over Ethernet包,对以太网包头和IP包头进行解压缩处理。若第三指示信息指示IP包头和以太网包头均存在且IP包头位于以太网包头之前,则基站作为接收端或解压缩端认为数据包的包类型为Ethernet over IP包,对以太网包头和IP包头进行解压缩处理。
图6为本申请实施例提供的指示解压缩对象的装置的结构组成示意图一,应用于第一设备,如图6所示,所述指示解压缩对象的装置,包括:
发送单元601,用于向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:
丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
在一可选实施方式中,所述发送单元601,用于向所述第二设备发送PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
在一可选实施方式中,在所述PDCP PDU中,
PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
在一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。
在一可选实施方式中,所述数据包的包类型为IP包的情况,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
在一可选实施方式中,所述数据包的包类型为以太网包的情况,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所 述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
在一可选实施方式中,所述数据包的包类型为IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
在一可选实施方式中,所述数据包的包类型为Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
在一可选实施方式中,所述发送单元601,用于向所述第二设备发送PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
在一可选实施方式中,所述特定包头为第一包头或第二包头。
在一可选实施方式中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
所述特定包头前携带所述第三指示信息,包括:
所述PDCP包头携带所述第三指示信息;或者,
所述PDCP包头与所述特定包头之间携带所述第三指示信息。
在一可选实施方式中,所述特定包头为所述PDCP包头之后的首个包头。
在一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。
在一可选实施方式中,所述数据包的包类型为IP包的情况,所述PDCP PDU包括所述第二包头;
所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
在一可选实施方式中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
在一可选实施方式中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
在一可选实施方式中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包 括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
在一可选实施方式中,所述第一设备为终端设备,所述第二设备为网络设备;或者,
所述第一设备为网络设备,所述第二设备为终端设备;或者,
所述第一设备为第一终端设备,所述第二设备为第二终端设备。
本领域技术人员应当理解,本申请实施例的上述指示解压缩对象的装置的相关描述可以参照本申请实施例的指示解压缩对象的方法的相关描述进行理解。
图7为本申请实施例提供的指示解压缩对象的装置的结构组成示意图二,应用于第二设备,如图7所示,所述指示解压缩对象的装置,包括:
接收单元701,用于接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息;
处理单元702,用于根据所述指示信息对所述数据包进行解压缩。
在一可选实施方式中,所述接收单元701,用于接收所述第一设备发送的PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
在一可选实施方式中,在所述PDCP PDU中,
PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
在一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。
在一可选实施方式中,所述数据包的包类型为IP包的情况,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
在一可选实施方式中,所述数据包的包类型为以太网包的情况,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
在一可选实施方式中,所述数据包的包类型为IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对 所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
在一可选实施方式中,所述数据包的包类型为Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
在一可选实施方式中,所述接收单元701,用于接收所述第一设备发送的PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
在一可选实施方式中,所述特定包头为第一包头或第二包头。
在一可选实施方式中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
所述特定包头前携带所述第三指示信息,包括:
所述PDCP包头携带所述第三指示信息;或者,
所述PDCP包头与所述特定包头之间携带所述第三指示信息。
在一可选实施方式中,所述特定包头为所述PDCP包头之后的首个包头。
在一可选实施方式中,所述第一包头为以太网包头,所述第二包头为IP包头。
在一可选实施方式中,所述数据包的包类型为IP包的情况,所述PDCP PDU包括所述第二包头;
所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
在一可选实施方式中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
在一可选实施方式中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
在一可选实施方式中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
在一可选实施方式中,所述第一设备为终端设备,所述第二设备为网络设备;或者,
所述第一设备为网络设备,所述第二设备为终端设备;或者,
所述第一设备为第一终端设备,所述第二设备为第二终端设备。
本领域技术人员应当理解,本申请实施例的上述指示解压缩对象的装置的相关描述可以参照本申请实施例的指示解压缩对象的方法的相关描述进行理解。
图8是本申请实施例提供的一种通信设备800示意性结构图。该通信设备可以是终端设备,也可以是网络设备,图8所示的通信设备800包括处理器810,处理器810可以从存储器中调用并运 行计算机程序,以实现本申请实施例中的方法。
可选地,如图8所示,通信设备800还可以包括存储器820。其中,处理器810可以从存储器820中调用并运行计算机程序,以实现本申请实施例中的方法。
其中,存储器820可以是独立于处理器810的一个单独的器件,也可以集成在处理器810中。
可选地,如图8所示,通信设备800还可以包括收发器830,处理器810可以控制该收发器830与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。
其中,收发器830可以包括发射机和接收机。收发器830还可以进一步包括天线,天线的数量可以为一个或多个。
可选地,该通信设备800具体可为本申请实施例的网络设备,并且该通信设备800可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该通信设备800具体可为本申请实施例的移动终端/终端设备,并且该通信设备800可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
图9是本申请实施例的芯片的示意性结构图。图9所示的芯片900包括处理器910,处理器910可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。
可选地,如图9所示,芯片900还可以包括存储器920。其中,处理器910可以从存储器920中调用并运行计算机程序,以实现本申请实施例中的方法。
其中,存储器920可以是独立于处理器910的一个单独的器件,也可以集成在处理器910中。
可选地,该芯片900还可以包括输入接口930。其中,处理器910可以控制该输入接口930与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。
可选地,该芯片900还可以包括输出接口940。其中,处理器910可以控制该输出接口940与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。
可选地,该芯片可应用于本申请实施例中的网络设备,并且该芯片可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该芯片可应用于本申请实施例中的移动终端/终端设备,并且该芯片可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
图10是本申请实施例提供的一种通信系统1000的示意性框图。如图10所示,该通信系统1000包括终端设备1010和网络设备1020。
其中,该终端设备1010可以用于实现上述方法中由终端设备实现的相应的功能,以及该网络设备1020可以用于实现上述方法中由网络设备实现的相应的功能为了简洁,在此不再赘述。
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink  DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。
可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机可读存储介质可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。
可选的,该计算机程序产品可应用于本申请实施例中的网络设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机程序产品可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序。
可选的,该计算机程序可应用于本申请实施例中的网络设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机程序可应用于本申请实施例中的移动终端/终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或 者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。

Claims (77)

  1. 一种指示解压缩对象的方法,所述方法包括:
    第一设备向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:
    丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
  2. 根据权利要求1所述的方法,其中,所述第一设备向第二设备发送数据包,包括:
    所述第一设备向所述第二设备发送分组数据汇聚协议PDCP分组数据单元PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
    所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
    所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
  3. 根据权利要求2所述的方法,其中,在所述PDCP PDU中,
    PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
    PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
  4. 根据权利要求2或3所述的方法,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  5. 根据权利要求4所述的方法,其中,所述数据包的包类型为IP包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
  6. 根据权利要求4所述的方法,其中,所述数据包的包类型为以太网包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
  7. 根据权利要求4所述的方法,其中,所述数据包的包类型为基于以太网的IP包IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
  8. 根据权利要求4所述的方法,其中,所述数据包的包类型为基于IP的以太网包Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
  9. 根据权利要求1所述的方法,其中,所述第一设备向第二设备发送数据包,包括:
    所述第一设备向所述第二设备发送PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
  10. 根据权利要求9所述的方法,其中,所述特定包头为第一包头或第二包头。
  11. 根据权利要求9或10所述的方法,其中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
    所述特定包头前携带所述第三指示信息,包括:
    所述PDCP包头携带所述第三指示信息;或者,
    所述PDCP包头与所述特定包头之间携带所述第三指示信息。
  12. 根据权利要求11所述的方法,其中,所述特定包头为所述PDCP包头之后的首个包头。
  13. 根据权利要求10至12中任一项所述的方法,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  14. 根据权利要求13所述的方法,其中,所述数据包的包类型为IP包的情况,所述PDCP PDU包括所述第二包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
  15. 根据权利要求13所述的方法,其中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
  16. 根据权利要求13所述的方法,其中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
  17. 根据权利要求13所述的方法,其中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
  18. 根据权利要求1至17中任一项所述的方法,其中,
    所述第一设备为终端设备,所述第二设备为网络设备;或者,
    所述第一设备为网络设备,所述第二设备为终端设备;或者,
    所述第一设备为第一终端设备,所述第二设备为第二终端设备。
  19. 一种指示解压缩对象的方法,所述方法包括:
    第二设备接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息;
    所述第二设备根据所述指示信息对所述数据包进行解压缩。
  20. 根据权利要求19所述的方法,其中,所述第二设备接收第一设备发送的数据包,包括:
    所述第二设备接收所述第一设备发送的PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
    所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
    所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
  21. 根据权利要求20所述的方法,其中,在所述PDCP PDU中,
    PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
    PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
  22. 根据权利要求20或21所述的方法,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  23. 根据权利要求22所述的方法,其中,所述数据包的包类型为IP包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
  24. 根据权利要求22所述的方法,其中,所述数据包的包类型为以太网包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
  25. 根据权利要求22所述的方法,其中,所述数据包的包类型为IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
  26. 根据权利要求22所述的方法,其中,所述数据包的包类型为Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
  27. 根据权利要求19所述的方法,其中,所述第二设备接收第一设备发送的数据包,包括:
    所述第二设备接收所述第一设备发送的PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信 息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
  28. 根据权利要求27所述的方法,其中,所述特定包头为第一包头或第二包头。
  29. 根据权利要求27或28所述的方法,其中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
    所述特定包头前携带所述第三指示信息,包括:
    所述PDCP包头携带所述第三指示信息;或者,
    所述PDCP包头与所述特定包头之间携带所述第三指示信息。
  30. 根据权利要求29所述的方法,其中,所述特定包头为所述PDCP包头之后的首个包头。
  31. 根据权利要求28至30中任一项所述的方法,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  32. 根据权利要求31所述的方法,其中,所述数据包的包类型为IP包的情况,所述PDCP PDU包括所述第二包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
  33. 根据权利要求31所述的方法,其中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
  34. 根据权利要求31所述的方法,其中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
  35. 根据权利要求31所述的方法,其中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
  36. 根据权利要求19至35中任一项所述的方法,其中,
    所述第一设备为终端设备,所述第二设备为网络设备;或者,
    所述第一设备为网络设备,所述第二设备为终端设备;或者,
    所述第一设备为第一终端设备,所述第二设备为第二终端设备。
  37. 一种指示解压缩对象的装置,应用于第一设备,所述装置包括:
    发送单元,用于向第二设备发送数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:
    丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、
    内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息。
  38. 根据权利要求37所述的装置,其中,所述发送单元,用于向所述第二设备发送PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
    所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
    所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类 型信息。
  39. 根据权利要求38所述的装置,其中,在所述PDCP PDU中,
    PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
    PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
  40. 根据权利要求38或39所述的装置,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  41. 根据权利要求40所述的装置,其中,所述数据包的包类型为IP包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
  42. 根据权利要求40所述的装置,其中,所述数据包的包类型为以太网包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
  43. 根据权利要求40所述的装置,其中,所述数据包的包类型为IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
  44. 根据权利要求40所述的装置,其中,所述数据包的包类型为Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
  45. 根据权利要求37所述的装置,其中,所述发送单元,用于向所述第二设备发送PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
  46. 根据权利要求45所述的装置,其中,所述特定包头为第一包头或第二包头。
  47. 根据权利要求45或46所述的装置,其中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
    所述特定包头前携带所述第三指示信息,包括:
    所述PDCP包头携带所述第三指示信息;或者,
    所述PDCP包头与所述特定包头之间携带所述第三指示信息。
  48. 根据权利要求47所述的装置,其中,所述特定包头为所述PDCP包头之后的首个包头。
  49. 根据权利要求46至48中任一项所述的装置,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  50. 根据权利要求49所述的装置,其中,所述数据包的包类型为IP包的情况,所述PDCP PDU 包括所述第二包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
  51. 根据权利要求49所述的装置,其中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型为以太网包。
  52. 根据权利要求49所述的装置,其中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
  53. 根据权利要求49所述的装置,其中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
  54. 根据权利要求37至53中任一项所述的装置,其中,
    所述第一设备为终端设备,所述第二设备为网络设备;或者,
    所述第一设备为网络设备,所述第二设备为终端设备;或者,
    所述第一设备为第一终端设备,所述第二设备为第二终端设备。
  55. 一种指示解压缩对象的装置,应用于第二设备,所述装置包括:
    接收单元,用于接收第一设备发送的数据包,所述数据包携带指示信息,所述指示信息用指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、所述数据包的包类型信息;
    处理单元,用于根据所述指示信息对所述数据包进行解压缩。
  56. 根据权利要求55所述的装置,其中,所述接收单元,用于接收所述第一设备发送的PDCP PDU,所述PDCP PDU中携带第一包头和第二包头;其中,
    所述第一包头携带第一指示信息,所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型信息;或者,所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型信息;
    所述第二包头携带第二指示信息,所述第二指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型信息;或者,所述第二指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型信息。
  57. 根据权利要求56所述的装置,其中,在所述PDCP PDU中,
    PDCP包头位于所述第一包头之前,所述第一包头位于所述第二包头之前;或者,
    PDCP包头位于所述第二包头之前,所述第二包头位于所述第一包头之前。
  58. 根据权利要求56或57所述的装置,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  59. 根据权利要求58所述的装置,其中,所述数据包的包类型为IP包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第一包头、不对所述第一包头进行解压缩、所述第一包头为空、所述第一包头没有有效信息、所述数据包的包类型为IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP包。
  60. 根据权利要求58所述的装置,其中,所述数据包的包类型为以太网包的情况,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为以太网包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:丢弃所述第二包头、不对所述第二包头进行解压缩、所述第二包头为空、所述第二包头没有有效信息、所述数据包的包类型为以太网包。
  61. 根据权利要求58所述的装置,其中,所述数据包的包类型为IP over Ethernet包的情况,所述第一包头位于所述第二包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为IP over Ethernet包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为IP over Ethernet包。
  62. 根据权利要求58所述的装置,其中,所述数据包的包类型为Ethernet over IP包的情况,所述第二包头位于所述第一包头之前,
    所述第一包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第一包头、对所述第一包头进行解压缩、所述第一包头不为空、所述第一包头有有效信息、所述数据包的包类型为Ethernet over IP包;
    所述第二包头中携带的所述第一指示信息用于指示以下至少之一:不丢弃所述第二包头、对所述第二包头进行解压缩、所述第二包头不为空、所述第二包头有有效信息、所述数据包的包类型为Ethernet over IP包。
  63. 根据权利要求55所述的装置,其中,所述接收单元,用于接收所述第一设备发送的PDCP PDU,所述PDCP PDU中的特定包头前或特定包头中携带第三指示信息,所述第三指示信息用于指示以下至少之一:丢弃的包头、不丢弃的包头、进行解压缩的包头、不进行解压缩的包头、内容为空的包头、内容不为空的包头、有有效信息的包头、没有有效信息的包头、存在的包头、不存在的包头、所述数据包的包类型信息。
  64. 根据权利要求63所述的装置,其中,所述特定包头为第一包头或第二包头。
  65. 根据权利要求63或64所述的装置,其中,在所述PDCP PDU中,PDCP包头位于所述特定包头之前;
    所述特定包头前携带所述第三指示信息,包括:
    所述PDCP包头携带所述第三指示信息;或者,
    所述PDCP包头与所述特定包头之间携带所述第三指示信息。
  66. 根据权利要求65所述的装置,其中,所述特定包头为所述PDCP包头之后的首个包头。
  67. 根据权利要求64至66中任一项所述的装置,其中,所述第一包头为以太网包头,所述第二包头为IP包头。
  68. 根据权利要求67所述的装置,其中,所述数据包的包类型为IP包的情况,所述PDCP PDU包括所述第二包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第二包头、对第二包头进行解压缩、第二包头不为空、第二包头有有效信息、第一包头不存在且第二包头存在、第二包头存在、丢弃第一包头、不对第一包头进行解压缩、第一包头为空、第一包头没有有效信息、所述数据包的包类型为IP包。
  69. 根据权利要求67所述的装置,其中,所述数据包的包类型为以太网包的情况,所述PDCP PDU包括所述第一包头;
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头、对第一包头进行解压缩、第一包头不为空、第一包头有有效信息、第二包头不存在且第一包头存在、第一包头存在、丢弃第二包头、不对第二包头进行解压缩、第二包头为空、第二包头没有有效信息、所述数据包的包类型 为以太网包。
  70. 根据权利要求67所述的装置,其中,所述数据包的包类型为IP over Ethernet包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第一包头位于所述第二包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为IP over Ethernet包。
  71. 根据权利要求67所述的装置,其中,所述数据包的包类型为Ethernet over IP包的情况,所述PDCP PDU包括所述第一包头和所述第二包头,且所述第二包头位于所述第一包头之前,
    所述第三指示信息用于指示以下至少之一:不丢弃第一包头和第二包头、对第一包头和第二包头进行解压缩、第一包头和第二包头不为空、第一包头和第二包头有有效信息、第一包头和第二包头均存在、所述数据包的包类型为Ethernet over IP包。
  72. 根据权利要求55至71中任一项所述的装置,其中,
    所述第一设备为终端设备,所述第二设备为网络设备;或者,
    所述第一设备为网络设备,所述第二设备为终端设备;或者,
    所述第一设备为第一终端设备,所述第二设备为第二终端设备。
  73. 一种通信设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至18中任一项所述的方法,或者权利要求19至36中任一项所述的方法。
  74. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至18中任一项所述的方法,或者权利要求19至36中任一项所述的方法。
  75. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至18中任一项所述的方法,或者权利要求19至36中任一项所述的方法。
  76. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至18中任一项所述的方法,或者权利要求19至36中任一项所述的方法。
  77. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至18中任一项所述的方法,或者权利要求19至36中任一项所述的方法。
PCT/CN2019/115614 2019-11-05 2019-11-05 一种指示解压缩对象的方法及装置、通信设备 WO2021087729A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/115614 WO2021087729A1 (zh) 2019-11-05 2019-11-05 一种指示解压缩对象的方法及装置、通信设备
CN201980099736.XA CN114303355B (zh) 2019-11-05 2019-11-05 一种指示解压缩对象的方法及装置、通信设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/115614 WO2021087729A1 (zh) 2019-11-05 2019-11-05 一种指示解压缩对象的方法及装置、通信设备

Publications (1)

Publication Number Publication Date
WO2021087729A1 true WO2021087729A1 (zh) 2021-05-14

Family

ID=75849065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115614 WO2021087729A1 (zh) 2019-11-05 2019-11-05 一种指示解压缩对象的方法及装置、通信设备

Country Status (2)

Country Link
CN (1) CN114303355B (zh)
WO (1) WO2021087729A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4187984A1 (en) * 2021-11-30 2023-05-31 Texas Instruments Incorporated Bluetooth low energy connection power consumption

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585379A (zh) * 2004-05-25 2005-02-23 华中科技大学 一种数据包的快速解析方法
CN101212404A (zh) * 2006-12-27 2008-07-02 大唐移动通信设备有限公司 鲁棒头压缩分组数据传输的方法及系统
US7643505B1 (en) * 2006-11-30 2010-01-05 Qlogic, Corporation Method and system for real time compression and decompression
CN102131234A (zh) * 2010-01-18 2011-07-20 华为技术有限公司 Ip数据包的压缩及解压缩方法和装置
CN102413506A (zh) * 2010-09-20 2012-04-11 华为技术有限公司 一种压缩方法与装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118792B (zh) * 2009-12-31 2015-01-21 华为技术有限公司 一种传输数据包的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585379A (zh) * 2004-05-25 2005-02-23 华中科技大学 一种数据包的快速解析方法
US7643505B1 (en) * 2006-11-30 2010-01-05 Qlogic, Corporation Method and system for real time compression and decompression
CN101212404A (zh) * 2006-12-27 2008-07-02 大唐移动通信设备有限公司 鲁棒头压缩分组数据传输的方法及系统
CN102131234A (zh) * 2010-01-18 2011-07-20 华为技术有限公司 Ip数据包的压缩及解压缩方法和装置
CN102413506A (zh) * 2010-09-20 2012-04-11 华为技术有限公司 一种压缩方法与装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4187984A1 (en) * 2021-11-30 2023-05-31 Texas Instruments Incorporated Bluetooth low energy connection power consumption

Also Published As

Publication number Publication date
CN114303355A (zh) 2022-04-08
CN114303355B (zh) 2024-03-29

Similar Documents

Publication Publication Date Title
EP3920491B1 (en) Service processing method, device and computer readable storage medium
US11844010B2 (en) Relay transmission method and relay node
WO2020063318A1 (zh) 通信方法与设备
WO2020155115A1 (zh) 一种头压缩的处理方法及装置、通信设备
WO2019019150A1 (zh) 数据传输的方法、终端设备和网络设备
US20220150332A1 (en) Method for transmitting data, sending end device and receiving end device
WO2021087729A1 (zh) 一种指示解压缩对象的方法及装置、通信设备
CN107211404B (zh) 一种数据传输方法及装置
WO2019085920A1 (zh) 信息传输方法和通信设备
WO2020010619A1 (zh) 数据传输方法、终端设备和网络设备
US11575776B2 (en) Information transmission method and apparatus, and communication device
WO2022036601A1 (zh) 一种上报终端能力的方法及装置、终端、网络设备
WO2020211549A1 (zh) 传输数据的方法和装置
WO2021097686A1 (zh) 用于传输以太网压缩包的方法和设备
CN112399477B (zh) 一种通信方法及设备
CN112673601B (zh) 一种处理帧头的方法及装置、通信设备
WO2020164019A1 (zh) 一种承载配置方法及装置、网络设备
WO2020087546A1 (zh) 一种网络信息传输方法、获取方法、网络设备及终端设备
WO2019136933A1 (zh) 中继传输的方法和中继节点
WO2019153210A1 (zh) 用于上行和下行的数据传输的方法和装置
WO2024016279A1 (zh) 通信方法、装置、设备、存储介质、芯片、产品及程序
WO2024011463A1 (zh) 一种处理数据的方法及装置、通信设备
WO2022041127A1 (en) Method and apparatus for multicast and broadcast services
US20240236619A1 (en) Method and apparatus for multicast and broadcast services
WO2021088264A1 (zh) 一种配置信息确定方法及装置、终端

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

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

Country of ref document: EP

Kind code of ref document: A1