A method for sending data packets and a compression device

By dynamically switching the sending of the data packet according to specific conditions in the NR-U spectrum, switching from a complete data packet to a compressed data packet or vice versa, the problem that the EHC feedback information cannot be sent in time when the carrier is occupied, and the data packet is improved. Send speed.

CN115039438BActive Publication Date: 2025-01-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202080095077.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-15
Publication Date
2025-01-28
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

In the NR-U spectrum, before the decompression device sends the positively confirmed EHC feedback information, it is necessary to perform carrier sensing on the feedback path that transmits the EHC feedback information, resulting in the EHC feedback information being unable to be sent in time when the carrier is occupied, affecting the data The packet sending rate.

Method used

By satisfying specific conditions, it will increase the sending rate of the data packet from sending a complete data packet to sending a compressed data packet, or switching from sending a compressed data packet to sending a complete data packet. Specific conditions include continuously sending a certain amount of data packets, LBT results of compressed feedback paths, and no feedback information in the preset duration.

Benefits of technology

It can still increase the sending rate of the data packet when the carrier is occupied. By dynamically switching the sending state of the packet, the rate of rates caused by EHC feedback can not be sent in time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115039438B_ABST
    Figure CN115039438B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method for sending data packets and a compression device, which are applied to the field of communication technology and can improve the rate of sending data packets. The embodiment of the present invention includes: sending a first type of data packet; sending a second type of data packet when a first condition is met, and the first condition includes at least one of the following: continuously sending M first type of data packets, sending N first type of data packets, compression feedback path LBT result, not receiving compression feedback information within a first preset time length, receiving predetermined compression feedback information within a second preset time length, exceeding the first time length, and whether the environment is controlled; wherein the first time length is the waiting time length for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method for sending a data packet and a compression device. Background Art

[0002] At present, in the industrial Internet scenario of the fifth-generation (5G) communication system, in order to increase the rate of sending data packets, in some cases, the header of the data packet can be compressed before sending. For example, for Ethernet data packets, the compression end device (hereinafter referred to as the compression device) can establish the context information (context) of Ethernet header compression (EHC) and associate a context identity document (CID), and then the compression device transmits a full header packet, which contains the CID and the original header information. After the decompression device receives the data packet, it can establish the context corresponding to the CID according to the information in the packet, and then transmit the EHC feedback information of positive confirmation to the compression device to indicate that the compression device context is successfully established. After receiving the EHC feedback information of positive confirmation, the compression device can start sending a compressed data packet (compressedheader packet), which will contain the compressed header information and the uncompressed header information not stored in the EHC context. When the decompression device receives the compressed data packet, the decompression device will restore the original packet header of the compressed data packet based on the CID and the stored original packet header information corresponding to the CID.

[0003] In the new radio unlicensed (NR-U) spectrum, before transmitting a data packet, it is necessary to use the Listen Before Talk (LBT) mechanism to first listen to whether the carrier is idle. Only when it is detected that the carrier is idle can the data packet be transmitted through the carrier. If it is detected that the carrier is occupied, it is necessary to wait for a while and continue to listen until the carrier is idle before sending the data packet.

[0004] In the above-mentioned NR-U spectrum, before the decompression device sends the EHC feedback information of positive confirmation, it is necessary to perform carrier sensing on the feedback path of the EHC feedback information of positive confirmation. When the carrier is occupied, the EHC feedback information cannot be sent to the compression device in time, especially after the EHC feedback information of positive confirmation has been packaged in the media access control protocol data unit (MAC PDU), it cannot be transmitted to the compression device from other carriers. The compression device can only send all the data packets, resulting in a low rate of sending data packets. Summary of the invention

[0005] The embodiment of the present invention provides a method for sending a data packet, which can improve the rate of sending the data packet.

[0006] In a first aspect, a method for sending a data packet is provided, comprising:

[0007] Send the first type of data packet;

[0008] When the first condition is met, sending the second type of data packet;

[0009] The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing feedback path LBT results, not receiving compressed feedback information within a first preset time length, receiving predetermined compressed feedback information within a second preset time length, exceeding the first time length, and being in an uncontrolled environment;

[0010] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0011] Optionally, the first category of data packets are complete data packets, and the second category of data packets are compressed data packets, or the first category of data packets are compressed data packets, and the second category of data packets are complete data packets.

[0012] In the embodiment of the present invention, when the first condition is met, the state of sending a complete data packet is switched to sending a compressed data packet, or, the state of sending a compressed data packet is switched to sending a complete data packet. Through this solution, after carrier sensing is performed on the feedback path for transmitting EHC feedback information, when the carrier is occupied, although the EHC feedback information cannot be sent to the compression device in time, the compression device can trigger the switching state of sending the data packet under the first condition, that is, switching from sending a complete data packet to sending a compressed data packet, or, switching from sending a compressed data packet to sending a complete data packet, thereby increasing the rate of sending data packets.

[0013] In a second aspect, a compression device is provided, comprising:

[0014] A sending module, used for sending a first type of data packet; when a first condition is met, sending a second type of data packet;

[0015] The first condition includes at least one of the following: continuously sending M first-class data packets, sending first-class data packets, compressed feedback path LBT result, no compressed feedback information is received within a first preset time length, predetermined compressed feedback information is received within a second preset time length, exceeding the first time length, and whether the environment is controlled;

[0016] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0017] In a third aspect, a compression device is provided, comprising:

[0018] A transmitter, configured to send a first type of data packet; and send a second type of data packet when a first condition is met;

[0019] The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing feedback path LBT results, not receiving compressed feedback information within a first preset time length, receiving predetermined compressed feedback information within a second preset time length, exceeding the first time length, and whether the environment is controlled;

[0020] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0021] In a fourth aspect, a computer-readable storage medium is provided, comprising: computer instructions, which, when executed on a computer, enable the computer to execute the method of the first aspect described above.

[0022] In a fifth aspect, a computer program product is provided, comprising computer instructions. When the computer program product is run on a computer, the computer executes the computer instructions so that the computer executes the method of the first aspect described above.

[0023] In a sixth aspect, a chip is provided, which is coupled to a memory in a terminal device, so that the chip calls program instructions stored in the memory during operation, so that the terminal device executes the method of the first aspect as described above.

[0024] Any one of the second to sixth aspects can achieve the same technical effect as the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1A schematic diagram of the architecture of a 5G user plane protocol stack provided by an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of an EHC processing flow provided by an embodiment of the present invention;

[0027] Figure 3 A schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present invention;

[0028] Figure 4 A method for sending a data packet provided by an embodiment of the present invention is shown in FIG. Figure 1 ;

[0029] Figure 5 A method for sending a data packet provided by an embodiment of the present invention is shown in FIG. Figure 2 ;

[0030] Figure 6 A method for sending a data packet provided by an embodiment of the present invention is shown in FIG. Figure 3 ;

[0031] Figure 7 A schematic diagram of a compression device provided in an embodiment of the present invention Figure 1 ;

[0032] Figure 8 A schematic diagram of a compression device provided in an embodiment of the present invention Figure 2 ;

[0033] Fig. 9 A schematic structural diagram of a mobile phone provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present invention will be described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0035] In the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0036] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0037] In the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0038] To facilitate understanding, some terms involved in the embodiments of the present invention are first explained.

[0039] Header compression: compresses the header of a data packet to improve the transmission efficiency of user data. New radio unlicensed (NR-U) spectrum header compression includes: robust header compression (ROHC) and EHC.

[0040] Packet data unit session type (PDU session type): A PDU session refers to the association between a terminal device and a network device that provides a PDU connection service. The type of this association can be Internet Protocol version 4 (IPv4), Internet Protocol version 6 (IPv6), or Ethernet.

[0041] A complete data packet, also called a full packet, may be an Ethernet data packet that contains complete Ethernet packet header information and context information (currently, it is determined that there is a context ID, indicating whether it is a compressed data packet or a full data packet). The context information is used for packet header compression and / or decompression.

[0042] A compressed data packet, also called a compressed packet, may be an Ethernet data packet that contains compressed Ethernet packet header information and context information (currently, it is determined that there is a context ID, indicating whether it is a compressed data packet or a complete data packet). The context information is used for header compression and / or decompression.

[0043] It should be noted that, in the embodiment of the present invention, the data packet (including the complete data packet and the compressed data packet) is not limited to the Ethernet data packet, and it can also be other types of data packets.

[0044] Feedback packet (in this embodiment, referred to as compression feedback information), a data packet sent by the decompression device to the compression device to indicate whether to compress the data packet. This data packet is a data packet related to context information and is used to change the state of the compression device or decompression device sending the data packet.

[0045] The 5G Industrial Internet of Things (IIoT) scenario requires the support of industrial automation (factory automation), transport automation (transport industry), smart power (electrical power distribution) and other services in the 5G system. Based on its transmission requirements for latency and reliability, IIoT introduces the concept of time sensitive network (TSN) or time sensitive communication (TSC), and requires header compression for TSN services. Among them, TSC services can be carried by Ethernet frames or Internet Protocol (IP) packets.

[0046] The Ethernet frame topic is introduced because the existing communication system only supports header compression of data packets whose PDU sessions are IP data packets. In the 5G NR system, the type of PDU session can be not only IP data packet type, but also Ethernet data packet type.

[0047] For example, Figure 1 FIG. 1 is a schematic diagram of the architecture of a 5G user plane protocol stack. Figure 1The user equipment (UE) includes an application layer, a PDU layer and 5G-AN protocol layers. A relay device is set in the 5G access network (5G-AN), and the relay device includes 5G-AN protocol layers. The protocol stack includes from top to bottom: user plane GPRS tunneling protocol-user (GPRS tunneling protocol-user, GTP-U), user datagram protocol (user datagram protocol, UDP) / IP, L2 and L1. Among them, L2 can be a radio link control layer protocol (radio link control, RLC), media access control protocol (media access control, MAC) and packet data convergence protocol (Packet Data Convergence Protocol, PDCP), etc., and L1 can be a physical layer. The user port function (User Port Function, UPF) in the core network can serve as a relay device or as a PDU session anchor (PDU session anchor). When used as a relay device, it includes the protocol stacks GTP-U, UDP / IP, L2 and L1 corresponding to the access network, and includes the protocol stacks of the core network corresponding to the protocol stacks of these access networks, including: 5G UP encapsulation protocol, UDP / IP, L2 and L1. When used as a PDU session anchor, the protocol stacks it includes include: 5G UP encapsulation protocol, UDP / IP, L2 and L1. For the PDU layer, when the PDU session type is IPv4, the data packets corresponding to the PDU session are IPv4 data packets; when the PDU session type is IPv4, the data packets corresponding to the PDU session are IPv6 data packets; when the PDU session type is IPv4v6, the data packets corresponding to the PDU session are IPv6 data packets and IPv4 data packets; when the PDU session type is Ethernet, the data packets corresponding to the PDU session are Ethernet frames.

[0048] Furthermore, according to the conclusion of the RAN2#105bis meeting, a new header compression mechanism (a completely internal mechanism of 3GPP) can be used to perform Ethernet header compression (EHC) processing on Ethernet data packets.

[0049] For example, Figure 2 As shown in FIG. 1 , the EHC processing flow is as follows: For an Ethernet data packet, the EHC compression device establishes EHC context information (context) and associates a context identity document (CID) with each set of EHC context information. Then, the EHC compression device transmits a full header packet (also called an FH packet), which contains the CID and the original header information. The decompression end receives the FH packet and establishes a context corresponding to the CID based on the information in the packet. After the decompression end establishes the context, it transmits EHC feedback (EHC feedback information) to the compression device to indicate that the compression device context is successfully established. After receiving the EHC feedback, the compression device starts to send a compressed header data packet (also called a CH packet), which contains the header information not stored in the EHC context and the compressed header information. When the decompression device receives the CH packet, the decompression device will restore the original header of the CH packet based on the CID and the stored original header information corresponding to the CID. The decompression device can determine whether the received data packet is a CH packet or an FH packet according to the packet type indication information in the carried packet header. The packet type indication information can occupy 1 bit. Figure 2 , the form in which three groups of context identifiers (CIDx, CIDy and CIDz, respectively) are associated with the corresponding EHC context information is shown.

[0050] In December 2018, the 36PP RAN Working Group agreed to the establishment of a new radio (NR) unlicensed spectrum operation mode project (project number: WID RP-182878). The goal of this project is to enable NR to operate in unlicensed spectrum, including the following operating scenarios:

[0051] Scenario A: Carrier aggregation scenario, the primary cell (PCell) operates in the licensed frequency band, and the secondary cells (SCell) operating in the unlicensed spectrum are aggregated through carrier aggregation;

[0052] Scenario B: Dual connectivity scenario, PCell works in the licensed frequency band of the long-term evolution (LTE) system, and the primary secondary cell (PSCell) works in the NR unlicensed spectrum;

[0053] Scenario C: Independent working scenario, NR works as an independent cell in unlicensed spectrum;

[0054] Scenario D: NR single-cell scenario, the uplink works in the licensed frequency band and the downlink works in the unlicensed spectrum;

[0055] Scenario E: Dual-connectivity working scenario, PCell is the NR licensed spectrum, and PScell ​​is the NR unlicensed spectrum.

[0056] Generally speaking, NR-U operates in the 5GHz unlicensed spectrum and the 6GHz unlicensed spectrum. In the unlicensed spectrum, the design of NR-U should ensure fairness with other systems that have already worked in these unlicensed spectrums (such as WiFi). The principle of fairness is that the impact of NR-U on the systems that have been deployed in the unlicensed spectrum cannot exceed the impact between these systems.

[0057] In order to ensure fair coexistence between systems on the unlicensed spectrum, energy detection has been agreed as a basic coexistence mechanism. The general energy detection mechanism is the LBT mechanism. The basic principle of this mechanism is that before the base station or terminal (transmitter) transmits data on the unlicensed spectrum, it needs to listen for a period of time as required. If the listening result indicates that the carrier (or channel) is idle, the transmitter can transmit data to the receiver through the carrier. If the listening result indicates that the carrier is occupied, the transmitter needs to wait for a period of time and then continue to listen to the carrier until the carrier listening result shows that it is idle before transmitting data to the receiver.

[0058] Currently, four channel access mechanisms are defined in NR-U, please refer to TR38.889:

[0059] Mechanism 1: Direct transmission mechanism

[0060] This mechanism is used for the transmission side to quickly transmit after the switching gap within the channel occupation time COT, where the switching gap refers to the switching time from receiving to transmitting. It is optional and its typical value is no more than 16us.

[0061] Mechanism 2: LBT mechanism without random back-off

[0062] This mechanism means that the time for the user equipment to monitor the channel is fixed, and is generally short, such as 25us.

[0063] Mechanism 3: LBT mechanism with random back-off

[0064] In this mechanism, the contention window is fixed. In the LBT process, the transmission side randomly selects a random value in the contention window to determine the time to monitor the channel.

[0065] Mechanism 4: LBT mechanism with random back-off (contention window is not fixed)

[0066] In the LBT process, the transmission side randomly takes a random value in the contention window to determine the time to listen to the channel. The contention window is variable.

[0067] In summary, in the NR-U spectrum, before data transmission, it is necessary to use the LBT mechanism to first monitor whether the carrier is idle. Only when the carrier is idle can data be transmitted through the carrier. If the carrier is occupied, it is necessary to wait for a while and continue to monitor until the carrier is idle before sending data. In this way, in the NR-U spectrum, when EHC is used to process data packets, before the decompression end sends EHC feedback information, it is necessary to perform carrier sensing on the feedback path for transmitting EHC feedback information. If the carrier is occupied, the EHC feedback information cannot be sent to the compression device in time, especially after the EHC feedback information has been packaged in the media access control protocol data unit (MAC PDU), it cannot be transmitted from other carriers to the compression device. The compression device can only send all data packets, resulting in a low rate of sending data packets.

[0068] The embodiment of the present invention provides a data packet sending method and a compression device, which switches from sending a complete data packet to sending a compressed data packet, or from sending a compressed data packet to sending a complete data packet, when a first condition is met, wherein the first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, LBT result of a compression feedback path, not receiving compression feedback information within a first preset time length, receiving predetermined compression feedback information within a second preset time length, exceeding the first time length, and whether the environment is controlled, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. Through this scheme, after carrier sensing is performed on the feedback path for transmitting EHC feedback information, if the carrier is occupied, although the EHC feedback information cannot be sent to the compression device in time, the compression device can trigger the switching state of sending data packets under the first condition, that is, switching from sending a complete data packet to sending a compressed data packet, or from sending a compressed data packet to sending a complete data packet, thereby improving the rate of sending data packets.

[0069] In the embodiment of the present invention, the interaction between a compression device and a decompression device is involved, wherein the compression device may be a terminal device, an access network device or a core network device. The access network device may be a base station, and the core network device may be a Session Management Function (SMF) entity.

[0070] Among them, the terminal device can be called user equipment (UE). The terminal device can be a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) and other devices. The terminal device can also be a mobile phone, a mobile station (MS), a mobile terminal and a laptop computer. The terminal device can communicate with one or more core networks via a radio access network (RAN). For example, the terminal device can be a mobile phone (or a "cellular" phone) or a computer with a mobile terminal. For example, the terminal device can also be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges voice and / or data with a wireless access network. The terminal device can also be a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved network, etc. The above is just an example and is not limited to this in practical applications.

[0071] The above-mentioned base stations can be evolved base stations (evolutional node B, eNB or e-NodeB for short) in LTE systems, NR communication systems or authorized auxiliary access long-term evolution (LAA-LTE) systems, macro base stations, micro base stations (also called "small base stations"), pico base stations, access points (AP), transmission points (TP) or new generation base stations (new generation Node B, gNodeB), etc.

[0072] A method for sending a data packet provided in an embodiment of the present invention can be applied to a wireless communication system. For example, Figure 3 FIG. 1 is a schematic diagram of a system architecture of a wireless communication system provided by an embodiment of the present invention. Figure 3 In the wireless communication system, the wireless communication system includes a terminal device and a base station. Figure 1In the case where the terminal device is a compression device and the base station is a decompression device, after the terminal device sends a complete data packet to the base station, the base station can generate compressed feedback information with positive confirmation, and perform LBT detection on the compressed feedback path of the unlicensed spectrum (i.e., the path used to carry the compressed feedback information). When the compressed feedback path is occupied, the generated compressed feedback information with positive confirmation cannot be sent to the terminal device in time. At this time, the terminal device can switch from sending a complete data packet to sending a compressed data packet, instead of sending a complete data packet all the time, through the method for sending a data packet provided by an embodiment of the present invention, when the first condition is met, thereby improving the efficiency of sending data packets. In actual applications, the connection between the above-mentioned terminal device and the base station can be a wireless connection.

[0073] It should be noted that the method for sending a data packet provided in an embodiment of the present invention is exemplarily described below by taking a terminal device as a compression device and a base station as a decompression device as an example.

[0074] In the method for sending a data packet provided by an embodiment of the present invention, the terminal device may send a first type of data packet to the base station; and when the first condition is met, the terminal device sends a second type of data packet to the base station. The first condition includes at least one of the following: M first type of data packets are sent continuously, N first type of data packets are sent, the result of the compression feedback path LBT, no compression feedback information is received within a first preset time length, predetermined compression feedback information is received within a second preset time length, the first time length is exceeded, and whether the terminal device is in an uncontrolled environment.

[0075] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0076] Optionally, the first category of data packets are complete data packets, and the second category of data packets are compressed data packets, or the first category of data packets are compressed data packets, and the second category of data packets are complete data packets.

[0077] Whether the terminal device is in a controlled environment refers to whether the time-frequency resources used by the terminal device when sending or receiving data are interfered with by other cells or other communication systems. Among them, other communication systems are communication systems other than the communication system where the terminal device is located, for example, Wi-Fi system).

[0078] For example, during a time period when the network load is heavy, the compressed feedback path through which the terminal device receives compressed feedback information may be occupied by other cells or systems, resulting in LBT failure. At this time, the terminal device can be considered to be in an uncontrolled environment; during a time period when the network load is light, the compressed feedback path through which the terminal device receives compressed feedback information is usually idle and will not be occupied by other cells or systems. Therefore, the terminal device can be considered to be in a controlled environment.

[0079] Optionally, the terminal device can determine whether its environment is an uncontrolled environment / controlled environment, or change it to an uncontrolled environment / controlled environment according to the instructions of the base station. The terminal device can also determine whether its environment is an uncontrolled environment / controlled environment by itself.

[0080] When the terminal device determines whether the environment in which it is located is an uncontrolled environment, the determination condition may be indicated by the base station.

[0081] Optionally, the failure to receive compression feedback information within the first preset time period may include one of the following:

[0082] No compressed feedback information of positive confirmation is received within the first preset time period, and no compressed feedback information of negative confirmation is received within the first preset time period.

[0083] The first preset duration is the duration of channel occupancy of the compression feedback path, or the first preset duration is the second duration.

[0084] Optionally, if the first duration is exceeded, the state transition timer times out, and the duration of the state transition timer is set to the first duration.

[0085] It should be noted that the above-mentioned feedback information of which positive confirmation is not received within the preset time period refers to the compressed feedback information not being received through the compressed feedback path within the preset time period.

[0086] The compression feedback path is a path used to carry compression feedback information.

[0087] In the embodiment of the present invention, the compression feedback path may be a path among the paths associated with the path for the terminal device to send uplink data, or may be a dedicated path for sending compression feedback information.

[0088] Optionally, the compressed feedback path may be a carrier in an unlicensed spectrum. For example, the downlink carrier associated with the carrier currently sending uplink data is a carrier in the NR-U spectrum, or the path for sending compressed feedback information includes a carrier in the NR-U spectrum, or the terminal device is in an uncontrolled scenario.

[0089] The terminal device is in an uncontrolled scenario, which means that when the terminal device sends or receives data, whether the time and frequency resources used are interfered with by other cells or other communication systems (communication systems other than the communication system where the terminal device is located, for example, a Wi-Fi system).

[0090] For example, whether a compression feedback path for receiving compression feedback information by a terminal device is occupied by data packets sent by devices in other systems, resulting in LBT failure.

[0091] For example, whether a compression feedback path for receiving compression feedback information by a terminal device may be occupied by data packets sent by devices in other cells, resulting in transmission failure.

[0092] Optionally, in the embodiment of the present invention, the compression feedback information may include: one of EHC feedback information, ROHC feedback information and uplink data compression (uplink data compression, UDC) feedback information.

[0093] It can be seen that the method for sending data packets provided in an embodiment of the present invention supports the first case of switching from sending a complete data packet to sending a compressed data packet, and also supports the second case of switching from sending a compressed data packet to sending a complete data packet. The following will provide exemplary descriptions of these two cases respectively.

[0094] For the first case: the first type of data packets are complete data packets, and the second type of data packets are compressed data packets.

[0095] like Figure 4 As shown, a method for sending a data packet provided by an embodiment of the present invention includes:

[0096] 101. The base station sends compression configuration information to the terminal device.

[0097] The compression configuration information is used to indicate whether to compress the data packet.

[0098] Optionally, the compression configuration information may also include compression parameters.

[0099] In the embodiment of the present invention, compressing the data packet may include compressing the header of the data packet, and may also include compressing other parts of the data packet except the header.

[0100] The data packets (including complete data packets and compressed data packets) in the embodiment of the present invention may be Ethernet data packets or IP data packets.

[0101] Optionally, when the above-mentioned data packet is an Ethernet data packet, the above-mentioned compression configuration information may be EHC configuration information, which may indicate whether uplink RoHC is configured, or whether downlink RoHC is configured, as well as corresponding configuration parameters, etc.

[0102] It should be noted that the above 101 is an optional step.

[0103] In the embodiment of the present invention, if the compression configuration information indicates to compress the data packet, then the following 102 may be executed to initially send the complete data packet to the base station so that the base station can establish context information.

[0104] 102. If the compression configuration information indicates to compress the data packet, the terminal device sends the complete data packet.

[0105] The compression configuration information received by the terminal indicates to compress the data packet. At this time, the terminal device can establish context information and store it in association with the CID.

[0106] 103. Determine whether the first target condition is met.

[0107] For the first case, the first condition is specifically a first target condition, and the first target condition includes at least one of the following:

[0108] a1. Send M complete data packets continuously.

[0109] Wherein, M is an integer greater than or equal to 2.

[0110] Optionally, it may mean that the terminal device sends M complete data packets successively starting from sending an initial complete data packet.

[0111] a2. N complete data packets are sent.

[0112] Sending N complete data packets may include two possible situations, one possible situation is: sending N complete data packets continuously; another possible situation is: sending N complete data packets discontinuously in total.

[0113] Wherein, N is an integer greater than or equal to 1.

[0114] Exemplarily, when N is 1, it can be understood that the terminal device initially sends the first data packet, and the data packet is a complete data packet. It can also be understood that the terminal device sends a complete data packet, but the complete data packet is not the first data packet initially sent by the terminal device.

[0115] Optionally, in an embodiment of the present invention, the initially sent data packet may refer to the first data packet sent by the terminal device according to the instruction of the compression configuration information after receiving the compression configuration information.

[0116] a3. The compression feedback path LBT fails.

[0117] Optionally, in the embodiment of the present invention, the failure of the compression feedback path LBT may be known through at least one of the following information:

[0118] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0119] The shared channel occupation time may include at least two of: the start time of the shared channel occupation, the end time of the shared information occupation and the duration of the shared channel occupation.

[0120] Optionally, no matter whether the compressed feedback information is a shared channel or not, the LBT failure of the compressed feedback path can be known through the LBT detection information of the compressed feedback path.

[0121] Optionally, the compression feedback path may be shared information, in which case it may be determined whether compression feedback information or other information is received within the shared channel occupancy time after the complete data packet is sent. If not, it may be considered that the compression feedback path LBT has failed.

[0122] Optionally, the LBT detection information of the compression feedback path includes: a channel occupancy time of the compression feedback path, or an LBT failure indication of the compression feedback path.

[0123] Optionally, the channel occupancy time includes at least two of the following:

[0124] The start time, end time and duration of the channel occupation.

[0125] The above LBT detection information and LBT indication may be for a carrier or for a bandwidth part (BWP).

[0126] a4. No compression feedback information is received within the first preset time period.

[0127] The compression feedback information includes one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information or the above-mentioned data compression UDC feedback information.

[0128] The first preset duration is the duration of channel occupancy of the compression feedback path, or the first preset duration is the second duration.

[0129] Optionally, the second duration is greater than a duration during which the channel of the compressed feedback path is occupied, or the second duration is less than a duration during which the channel of the compressed feedback path is occupied.

[0130] Wherein, 4a may include at least one of the following:

[0131] a4.1. No positive confirmation compression feedback information is received within the duration of channel occupancy.

[0132] a4.2. No negative confirmation compressed feedback information is received within the channel occupation duration.

[0133] It can be understood that when a4.1 and a4.2 are satisfied at the same time, it can be understood that no compression feedback information is received during the channel occupation duration.

[0134] a4.3. No compression feedback information with positive confirmation is received within the second time period.

[0135] a4.4. No negative confirmation compression feedback information is received within the second time period.

[0136] It can be understood that when a4.3 and a4.4 are satisfied at the same time, it can be understood that no compression feedback information is received within the second time period.

[0137] The second duration may be greater than the duration of channel occupation, or may be less than the duration of channel occupation.

[0138] The start time of the second duration may be the start time of the channel occupation duration.

[0139] a5. Receive compressed feedback information of positive confirmation within the second preset time period.

[0140] The second preset duration is the duration of channel occupancy of the compression feedback path, or the second preset duration is the third duration.

[0141] Optionally, the third duration is greater than a duration during which the channel of the compressed feedback path is occupied, or the third duration is less than a duration during which the channel of the compressed feedback path is occupied.

[0142] Optionally, the start time of the third duration may be the start time of the channel occupation duration.

[0143] In the embodiment of the present invention, the third duration may be the same as or different from the second duration.

[0144] a6. Exceed the first duration.

[0145] Optionally, if the first duration is exceeded, the state transition timer times out, and the duration of the state transition timer is set to the first duration.

[0146] Optionally, in the target case, start the state transition timer;

[0147] Target situations include at least one of the following:

[0148] The compressed feedback path is a carrier in an unlicensed spectrum, the terminal device is in an uncontrolled environment and is at a first moment.

[0149] The first moment includes at least one of the following moments:

[0150] When P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when it is known that the compression feedback path LBT fails, and after it is known that the compression feedback path LBT fails.

[0151] Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.

[0152] a7. The terminal equipment is in an uncontrolled environment.

[0153] In an uncontrolled environment, the terminal device can switch from the uncompressed state to the compressed state after sending one or more complete data packets, that is, start sending compressed data packets.

[0154] 104. The terminal device sends a compressed data packet.

[0155] In the embodiment of the present invention, when the terminal device determines that the first target condition is met, the terminal device can be converted from a non-compressed state to a compressed state, that is, start sending compressed data packets.

[0156] Correspondingly, after the base station receives the compressed data packet sent by the terminal device, it can determine the corresponding context information based on the CID in the compressed data packet and the association between the CID and the context information pre-stored in the base station, and restore the compressed data packet based on the context information to obtain complete data packet information.

[0157] In an embodiment of the present invention, when the first condition is met, switching from sending a complete data packet to sending a compressed data packet is achieved. The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time length, receiving the predetermined compressed feedback information within the second preset time length, and exceeding the first time length, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. Through this scheme, after carrier sensing is performed on the feedback path for transmitting EHC feedback information, when the carrier is occupied, although the EHC feedback information cannot be sent to the compression device in time, the compression device can trigger the switching state of sending data packets under the first condition, that is, switching from sending a complete data packet to sending a compressed data packet, or from sending a compressed data packet to sending a complete data packet, thereby increasing the rate of sending data packets.

[0158] For the second case: the first type of data packets are compressed data packets, and the second type of data packets are complete data packets.

[0159] Combination Figure 4 ,like Figure 5 As shown, after the above 104, 105a and 106a may be included.

[0160] 105a. The terminal device determines that the second target condition and the second condition are satisfied.

[0161] It should be noted that, optionally, the above 105a may also be replaced by the terminal device determining that the second target condition is satisfied and / or the second condition is satisfied.

[0162] That is to say, in the embodiment of the present invention, when any one of the second target condition and the second condition is met, the state switching can be performed, that is, the terminal device sends a complete data packet.

[0163] The second target condition includes at least one of the following:

[0164] b1. M compressed data packets are sent continuously.

[0165] Wherein, M is an integer greater than or equal to 2.

[0166] Optionally, it may mean that the terminal device sends M compressed data packets continuously starting from sending the compressed data packet.

[0167] b2. N compressed data packets are sent.

[0168] Sending N compressed data packets may include two possible situations. One possible situation is: N compressed data packets are sent continuously; and another possible situation is: N compressed data packets are sent discontinuously in total.

[0169] Wherein, N is an integer greater than or equal to 1.

[0170] Exemplarily, when N is 1, it can be understood that the terminal device sends the first data packet, and the data packet is a compressed data packet. It can also be understood that the terminal device sends a compressed data packet, but the compressed data packet is not the first data packet initially sent by the terminal device.

[0171] b3. The compression feedback path LBT is successful.

[0172] The method also includes obtaining the success of the compression feedback path LBT through at least one of the following information:

[0173] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0174] The LBT detection information of the compression feedback path includes: the channel occupancy time of the compression feedback path, or the LBT success indication of the compression feedback path.

[0175] b4. No compression feedback information is received within the first preset time period.

[0176] b5. Receive compressed feedback information of negative confirmation within a second preset time period.

[0177] It should be noted that, for the second duration, the description of the first preset duration and the second preset duration can refer to the description in the first case above, and will not be repeated here.

[0178] b6. Exceeding the first duration.

[0179] If the first duration is exceeded, the state transition timer times out, and the duration of the state transition timer is set to the first duration.

[0180] Optionally, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments:

[0181] When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the compression feedback path LBT success is known, after the compression feedback path LBT success is known, and entering the controlled environment.

[0182] Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

[0183] Optionally, the second condition is that the switching from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.

[0184] b7. The terminal equipment is in a controlled environment.

[0185] Optionally, when the terminal device is in a controlled environment, it can be converted from a non-compressed state to a compressed state after sending one or more compressed data packets, that is, start sending complete data packets.

[0186] 106a. The terminal device sends a complete data packet.

[0187] It should be noted that the above 105a and 106a may also be performed after the above 104. That is to say, the methods of 105a and 106a can be applied to all current scenarios of sending compressed data packets, and are not limited to the exemplary explanations in the embodiments of the present invention.

[0188] In an embodiment of the present invention, when the first condition is met, switching from sending a compressed data packet to sending a complete data packet is achieved. The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time length, receiving the predetermined compressed feedback information within the second preset time length, and exceeding the first time length, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. Through this scheme, after carrier sensing is performed on the feedback path for transmitting EHC feedback information, when the carrier is occupied, although the EHC feedback information cannot be sent to the compression device in time, the compression device can trigger the switching state of sending the data packet under the first condition, that is, switching from sending a complete data packet to sending a compressed data packet, or from sending a compressed data packet to sending a complete data packet, thereby increasing the rate of sending data packets.

[0189] Furthermore, in addition to a method in which the terminal device is converted to a compressed state (sending a compressed data packet) due to an LBT failure and then falls back to a non-compressed state to send a complete data packet, the problem of being unable to receive the complete information of the data packet due to misjudgment on the compression end is avoided, thereby ensuring the reliability and flexibility of data transmission between the terminal device and the base station.

[0190] In addition, for the second situation, there is also a possible implementation method of still sending a compressed data packet after switching from sending a complete data packet to sending a compressed data packet when the above-mentioned second target condition is met.

[0191] Combination Figure 4 ,like Figure 6 As shown, after the above 104, the method for sending a data packet provided by the embodiment of the present invention may further include 105b and 106b.

[0192] 105b. The terminal device determines that the second condition is met and receives compressed feedback information of positive confirmation within a second preset time period.

[0193] 106b. The terminal device sends a compressed data packet.

[0194] That is, in the embodiment of the present invention, after switching from sending a complete data packet to sending a compressed data packet based on the first target condition, if a positive confirmation compression feedback information is received within the second preset time length, the base station can continue to send the compressed data packet.

[0195] The method for sending a data packet provided in the embodiment of the present invention provides a mechanism for sending data packets flexibly, and can improve the rate of sending data packets.

[0196] like Figure 7As shown, an embodiment of the present invention provides a compression device, the compression device comprising:

[0197] The sending module 201 is used to send a first type of data packet; if the first condition is met, send a second type of data packet;

[0198] The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing feedback path LBT results, not receiving compression feedback information within a first preset time length, receiving predetermined compression feedback information within a second preset time length, and exceeding the first time length;

[0199] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0200] Optionally, the first category of data packets are complete data packets, and the second category of data packets are compressed data packets, or the first category of data packets are compressed data packets, and the second category of data packets are complete data packets.

[0201] Optionally, the failure to receive compression feedback information within the first preset time period includes at least one of the following:

[0202] No positive confirmation compressed feedback information is received within the first preset time length, and no negative confirmation compressed feedback information is received within the first preset time length;

[0203] The first preset duration is the duration of channel occupancy of the compression feedback path, or the first preset duration is the second duration.

[0204] Optionally, if the first duration is exceeded, the state transition timer times out, and the duration of the state transition timer is set to the first duration.

[0205] Optionally, when the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, the compression device further includes:

[0206] The processing module 202 is used to start a state transition timer in a target situation;

[0207] Target situations include at least one of the following:

[0208] The compressed feedback path is a carrier in an unlicensed spectrum, the terminal device is in an uncontrolled environment and is at a first moment.

[0209] The first moment includes at least one of the following moments:

[0210] When P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when a compression feedback path LBT failure is learned, and after a compression feedback path LBT failure is learned;

[0211] Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.

[0212] Optionally, the processor is further configured to obtain information that the compression feedback path LBT fails through at least one of the following information:

[0213] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0214] Optionally, the LBT detection information of the compression feedback path includes at least one of the following:

[0215] The channel occupancy time of the compression feedback path and the LBT failure indication of the compression feedback path.

[0216] Optionally, when the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, receiving predetermined compression feedback information within the second preset time period includes:

[0217] Receiving compression feedback information of positive confirmation within a second preset time period;

[0218] The second preset duration is the duration of channel occupancy of the compression feedback path, or the second preset duration is a third duration.

[0219] Optionally, when the first type of data packets are complete data packets and the second type of data packets are compressed data packets, the compression feedback path LBT result is that the compression feedback path LBT fails.

[0220] Optionally, the compression device also includes:

[0221] The receiving module 203 is used to receive compression configuration information before the sending module 201 sends the first type of data packet, where the compression configuration information is used to indicate whether to compress the data packet;

[0222] The sending module 201 is specifically configured to send a complete data packet if the compression configuration information is used to indicate that the data packet is to be compressed.

[0223] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments:

[0224] When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the compression feedback path LBT success is known, after the compression feedback path LBT success is known, and entering the controlled environment.

[0225] Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

[0226] Optionally, also include:

[0227] The processing module 202 is configured to obtain the success of the compression feedback path LBT through at least one of the following information:

[0228] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0229] Optionally, the LBT detection information of the compressed feedback path includes: a channel occupancy time of the compressed feedback path, or an LBT success indication of the compressed feedback path.

[0230] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, receiving predetermined compression feedback information within the second preset time period includes:

[0231] Receiving negative confirmation compressed feedback information within a second preset time period;

[0232] The second preset duration is the duration of channel occupancy of the compression feedback path, or the second preset duration is a third duration.

[0233] Optionally, when the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the compression feedback path LBT result is that the compression feedback path LBT is successful.

[0234] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the sending module 201 is specifically configured to send the complete data packet when the first condition and the second condition are met;

[0235] The second condition is that the switching from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.

[0236] Optionally, the channel occupancy time includes at least two of the following:

[0237] The start time, end time and duration of the channel occupation.

[0238] Optionally, the compression feedback information includes: one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information or uplink data compression UDC feedback information.

[0239] like Figure 8 As shown, an embodiment of the present invention provides a compression device, the compression device comprising:

[0240] A memory 301 storing executable program codes;

[0241] a processor 302 coupled to the memory 301;

[0242] The processor 302 calls the executable program code stored in the memory 301 to execute the method for sending a data packet in the embodiment of the present invention.

[0243] The compression device in the embodiment of the present invention may be a mobile phone. Fig. 9 As shown, the mobile phone may include: radio frequency (RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, sensor 1150, audio circuit 1160, wireless fidelity (WiFi) module 1170, processor 1180, power supply 1190 and other components. Among them, the RF circuit 1110 includes a receiver 1111 and a transmitter 1112. Those skilled in the art will understand that Fig. 9 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0244] The RF circuit 1110 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 1180 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 1110 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 1110 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0245] The memory 1120 can be used to store software programs and modules. The processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120. The memory 1120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0246] The input unit 1130 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1131 or near the touch panel 1131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1180, and can receive and execute the command sent by the processor 1180. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1131, the input unit 1130 may also include other input devices 1132. Specifically, other input devices 1132 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0247] The display unit 1140 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1140 may include a display panel 1141. Optionally, the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 1131 may cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it is transmitted to the processor 1180 to determine the type of touch event. Subsequently, the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of touch event. Although in Fig. 9 In the embodiment, the touch panel 1131 and the display panel 1141 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated to realize the input and output functions of the mobile phone.

[0248] The mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1141 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0249] The audio circuit 1160, the speaker 1161, and the microphone 1162 can provide an audio interface between the user and the mobile phone. The audio circuit 1160 can transmit the received audio data to the speaker 1161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1160 and converted into audio data, and then the audio data is output to the processor 1180 for processing, and then sent to another mobile phone through the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.

[0250] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access. Although FIG. 15 shows the WiFi module 1170, it is understandable that it is not a necessary component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0251] The processor 1180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 1120, and calling data stored in the memory 1120, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1180.

[0252] The mobile phone also includes a power supply 1190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1180 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. Although not shown, the mobile phone can also include a camera, a Bluetooth module, etc., which will not be repeated here.

[0253] In the embodiment of the present invention, the RF circuit 1110 is used to send a first type of data packet; if the first condition is met, send a second type of data packet;

[0254] The first condition includes at least one of the following: continuously sending M first-class data packets, sending N first-class data packets, compressing feedback path LBT results, not receiving compressed feedback information within a first preset time length, receiving predetermined compressed feedback information within a second preset time length, exceeding the first time length, and whether the environment is controlled;

[0255] The first duration is the waiting duration for triggering the switch from sending the first type of data packet to sending the second type of data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.

[0256] Optionally, the first category of data packets are complete data packets, and the second category of data packets are compressed data packets, or the first category of data packets are compressed data packets, and the second category of data packets are complete data packets.

[0257] Optionally, the failure to receive compression feedback information within the first preset time period includes at least one of the following:

[0258] No positive confirmation compressed feedback information is received within the first preset time length, and no negative confirmation compressed feedback information is received within the first preset time length;

[0259] The first preset duration is the duration of channel occupancy of the compression feedback path, or the first preset duration is the second duration.

[0260] Optionally, if the first duration is exceeded, the state transition timer times out, and the duration of the state transition timer is set to the first duration.

[0261] Optionally, when the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, the processor 1180 is configured to start a state transition timer in a target situation;

[0262] Target situations include at least one of the following:

[0263] The compressed feedback path is a carrier in an unlicensed spectrum, the terminal device is in an uncontrolled environment and is at a first moment;

[0264] The first moment includes at least one of the following moments:

[0265] When P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when it is known that the compression feedback path listens first and then transmits LBT fails, and after it is known that the compression feedback path LBT fails.

[0266] Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.

[0267] Optionally, the processor 1180 is further configured to obtain information that the compression feedback path LBT fails through at least one of the following information:

[0268] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0269] Optionally, the LBT detection information of the compression feedback path includes at least one of the following:

[0270] The channel occupancy time of the compression feedback path and the LBT failure indication of the compression feedback path.

[0271] Optionally, when the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, receiving predetermined compression feedback information within the second preset time period includes:

[0272] Receiving compression feedback information of positive confirmation within a second preset time period;

[0273] The second preset duration is the duration of channel occupancy of the compression feedback path, or the second preset duration is a third duration.

[0274] Optionally, when the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, the compression feedback path LBT result is a compression feedback path LBT failure.

[0275] Optionally, also include:

[0276] The RF circuit 1110 is used to receive compression configuration information before the transmitter sends the first type of data packet, where the compression configuration information is used to indicate whether to compress the data packet;

[0277] The RF circuit 1110 is specifically configured to send a complete data packet if the compression configuration information is used to indicate that the data packet is to be compressed.

[0278] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments:

[0279] When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the compression feedback path LBT success is known, after the compression feedback path LBT success is known, and entering the controlled environment.

[0280] Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

[0281] Optionally, the processor 1180 is configured to obtain information that the compression feedback path LBT is successful through at least one of the following information:

[0282] Shares the channel occupancy time and LBT detection information of the compression feedback path.

[0283] Optionally, the LBT detection information of the compression feedback path includes at least one of the following:

[0284] The channel occupancy time of the compressed feedback path and the LBT success indication of the compressed feedback path.

[0285] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, receiving predetermined compression feedback information within the second preset time period includes:

[0286] Receiving negative confirmation compressed feedback information within a second preset time period;

[0287] The second preset duration is the duration of channel occupancy of the compression feedback path, or the second preset duration is a third duration.

[0288] Optionally, when the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the compression feedback path LBT result is that the compression feedback path LBT is successful.

[0289] Optionally, when the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the transmitter is specifically configured to send the complete data packet when the first condition and the second condition are met;

[0290] The second condition is that the switching from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.

[0291] Optionally, the channel occupancy time includes at least two of the following:

[0292] The start time, end time and duration of the channel occupation.

[0293] Optionally, the compression feedback information includes: one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information or uplink data compression UDC feedback information.

[0294] In the embodiment of the present invention, the compression device can implement all the processes in the method embodiment and can achieve the same technical effect. For the description of the technical effect of the compression device, reference can be made to the description of the technical effect in the method embodiment, which will not be repeated here.

[0295] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0296] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

Claims

1. A method for sending a data packet, characterized in that: include: Send the first type of data packet; When the first condition is met, sending the second type of data packet; The first condition includes at least one of the following: a compressed feedback path LBT result, and a first duration is exceeded; The first duration is a waiting duration for triggering switching from sending the first type of data packet to sending the second type of data packet; When the first type of data packets are complete data packets and the second type of data packets are compressed data packets, the compression feedback path LBT result is a compression feedback path LBT failure; When the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the compression feedback path LBT result is that the compression feedback path LBT is successful; The exceeding of the first duration is the timeout of the state transition timer, and the duration of the state transition timer is set to the first duration; When the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, the method further includes: in a target situation, starting the state transition timer, the target situation includes at least one of the following: the compressed feedback path is a carrier in an unlicensed spectrum, and the terminal device is in an uncontrolled environment and at a first moment; wherein the first moment includes at least one of the following moments: when P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when it is known that the compressed feedback path first listens and then transmits LBT fails, and after the compressed feedback path LBT fails; wherein P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1; When the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments: when X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the success of the compression feedback path LBT is known, after the success of the compression feedback path LBT is known, and entering a controlled environment; wherein X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

2. The method according to claim 1, characterized in that The method further includes obtaining information that the compression feedback path LBT fails through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

3. The method according to claim 2, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT failure indication of the compression feedback path.

4. The method according to any one of claims 1 to 3, characterized in that: Before sending the first type of data packet, the method further includes: receiving compression configuration information, where the compression configuration information is used to indicate whether to compress a data packet; The sending of the first type of data packet comprises: If the compression configuration information is used to instruct to compress the data packet, the complete data packet is sent.

5. The method according to claim 1, characterized in that The method also includes obtaining the success of the compression feedback path LBT through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

6. The method according to claim 5, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT success indication of the compression feedback path.

7. The method according to claim 1, characterized in that When the first-category data packet is a compressed data packet and the second-category data packet is a complete data packet, sending the second-category data packet when the first condition is met includes: When the first condition and the second condition are met, sending a complete data packet; The determination of the second condition is triggered when the first condition is met by switching from sending a complete data packet to sending a compressed data packet.

8. The method according to claim 3 or 6, wherein the channel occupancy time includes at least two of the following: The start time, end time and duration of the channel occupation.

9. A compression device, characterized in that: include: A sending module, used for sending a first type of data packet; when a first condition is met, sending a second type of data packet; The first condition includes at least one of the following: a compressed feedback path LBT result, and a first duration is exceeded; The first duration is a waiting duration for triggering switching from sending the first type of data packet to sending the second type of data packet; When the first type of data packets are complete data packets and the second type of data packets are compressed data packets, the compression feedback path LBT result is a compression feedback path LBT failure; When the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the compression feedback path LBT result is that the compression feedback path LBT is successful; The exceeding of the first duration is the timeout of the state transition timer, and the duration of the state transition timer is set to the first duration; When the first type of data packet is a complete data packet and the second type of data packet is a compressed data packet, the compression device further includes: a processing module, which is used to start the state transition timer under a target situation; the target situation includes at least one of the following: the compression feedback path is a carrier in an unlicensed spectrum, and the terminal device is in an uncontrolled environment and at a first moment; wherein the first moment includes at least one of the following moments: when P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when it is known that the compression feedback path first listens and then transmits LBT fails, and after the compression feedback path LBT fails; wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1; When the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments: when X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the success of the compression feedback path LBT is known, after the success of the compression feedback path LBT is known, and entering a controlled environment; wherein X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

10. The compression device according to claim 9, characterized in that The processing module is further configured to obtain information that the compression feedback path LBT fails through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

11. The compression device according to claim 10, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT failure indication of the compression feedback path.

12. The compression device according to any one of claims 9 to 11, characterized in that The compression device also includes: A receiving module, used for receiving compression configuration information before the sending module sends the first type of data packet, wherein the compression configuration information is used for indicating whether to compress the data packet; The sending module is specifically configured to send the complete data packet if the compression configuration information is used to instruct to compress the data packet.

13. The compression device according to claim 9, characterized in that Also includes: The processing module is configured to obtain information that the compression feedback path LBT is successful through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

14. The compression device according to claim 13, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT success indication of the compression feedback path.

15. The compression device according to claim 9, characterized in that The first type of data packets are compressed data packets, and the second type of data packets are complete data packets; The sending module is specifically configured to send a complete data packet when the first condition and the second condition are met; The determination of the second condition is triggered when the first condition is met by switching from sending a complete data packet to sending a compressed data packet.

16. The compression device according to claim 11 or 14, characterized in that The channel occupancy time includes at least two of the following: The start time, end time and duration of the channel occupation.

17. A compression device, characterized in that: include: A transmitter, configured to send a first type of data packet; and send a second type of data packet when a first condition is met; The first condition includes at least one of the following: a compressed feedback path LBT result, and a first duration is exceeded; The first duration is a waiting duration for triggering switching from sending the first type of data packet to sending the second type of data packet; When the first type of data packets are complete data packets and the second type of data packets are compressed data packets, the compression feedback path LBT result is a compression feedback path LBT failure; When the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the compression feedback path LBT result is that the compression feedback path LBT is successful; The exceeding of the first duration is the timeout of the state transition timer, and the duration of the state transition timer is set to the first duration; When the first type of data packets are complete data packets and the second type of data packets are compressed data packets, the compression device further includes: A processor, configured to start the state transition timer under a target condition; the target condition includes at least one of the following: the compressed feedback path is a carrier in an unlicensed spectrum, and the terminal device is in an uncontrolled environment and at a first moment; wherein the first moment includes at least one of the following moments: when P complete data packets are sent continuously, after P complete data packets are sent continuously, when Q complete data packets are sent, after Q complete data packets are sent, when it is learned that the compressed feedback path first listens and then transmits LBT fails, and after it is learned that the compressed feedback path LBT fails; wherein P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1; When the first type of data packet is a compressed data packet and the second type of data packet is a complete data packet, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments: when X compressed data packets are sent continuously, after X compressed data packets are sent continuously, when Y compressed data packets are sent, after Y compressed data packets are sent, when the success of the compression feedback path LBT is known, after the success of the compression feedback path LBT is known, and entering a controlled environment; wherein X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.

18. The compression device according to claim 17, characterized in that The processor is further configured to obtain information that the compression feedback path LBT fails through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

19. The compression device according to claim 18, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT failure indication of the compression feedback path.

20. The compression device according to any one of claims 17 to 19, characterized in that The compression device also includes: A receiver, used for receiving compression configuration information before the transmitter sends the first type of data packet, wherein the compression configuration information is used for indicating whether to compress the data packet; The transmitter is specifically configured to send the complete data packet if the compression configuration information is used to indicate that the data packet is to be compressed.

21. The compression device according to claim 17, characterized in that Also includes: The processor is configured to obtain information that the compression feedback path LBT is successful through at least one of the following information: The channel occupancy time and the LBT detection information of the compression feedback path are shared.

22. The compression device according to claim 21, characterized in that The LBT detection information of the compression feedback path includes at least one of the following: The channel occupancy time of the compression feedback path and the LBT success indication of the compression feedback path.

23. The compression device according to claim 17, characterized in that When the first type of data packets are compressed data packets and the second type of data packets are complete data packets, the transmitter is specifically configured to send the complete data packets when the first condition and the second condition are met; The determination of the second condition is triggered when the first condition is met by switching from sending a complete data packet to sending a compressed data packet.

24. The compression device according to claim 19 or 22, characterized in that The channel occupancy time includes at least two of the following: The start time, end time and duration of the channel occupation.

25. A computer-readable storage medium, comprising: Computer instructions, when the computer instructions are executed on a computer, cause the computer to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Packet transmission method and system for ROHC header compression in VOLTE system

    CN106856424A

  • Access method and device for unlicensed frequency band channel

    CN108882267A

  • Data transmission method and related equipment

    CN110875909A