WO2021227026A1 - Method for transmitting data packets and compression device - Google Patents

Method for transmitting data packets and compression device Download PDF

Info

Publication number
WO2021227026A1
WO2021227026A1 PCT/CN2020/090546 CN2020090546W WO2021227026A1 WO 2021227026 A1 WO2021227026 A1 WO 2021227026A1 CN 2020090546 W CN2020090546 W CN 2020090546W WO 2021227026 A1 WO2021227026 A1 WO 2021227026A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
compressed
type
feedback path
compression
Prior art date
Application number
PCT/CN2020/090546
Other languages
French (fr)
Chinese (zh)
Inventor
付喆
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2020/090546 priority Critical patent/WO2021227026A1/en
Priority to CN202080095077.5A priority patent/CN115039438A/en
Publication of WO2021227026A1 publication Critical patent/WO2021227026A1/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of communication technology, and in particular to a method and compression device for sending data packets.
  • the header of the data packet may be compressed before being sent.
  • the compression end device (hereinafter referred to as the compression device) can establish the context information (context) of Ethernet header compression (Ethernet headerconpression, 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.
  • the decompression device 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 positively confirmed EHC feedback information to the compression device to indicate that the compression device context is successfully established. After receiving the positively confirmed EHC feedback information, the compression device can start to send a compressed header packet.
  • the compressed header packet will contain compressed header information and uncompressed header information that is not stored in the EHC context.
  • the decompression device will restore the original header of the compressed data packet based on the CID and the stored original header information corresponding to the CID.
  • LBT Listen Before Talk
  • the decompression device before the decompression device sends the positively confirmed EHC feedback information, it needs to perform carrier sensing on the feedback path that transmits the positively confirmed EHC feedback information.
  • the EHC feedback information cannot be sent in time when the carrier is occupied.
  • To the compression device especially after the EHC feedback information is confirmed to be 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 it all the time. Finished data packets, resulting in a lower rate of sending data packets.
  • MAC PDU media access control protocol data unit
  • the embodiment of the present invention provides a method for sending data packets, which can increase the rate of sending data packets.
  • a method for sending data packets including:
  • the second type of data packet is sent
  • the first condition includes at least one of the following: continuously sending M first-type data packets, sending N first-type data packets, compressing the feedback path LBT result, and not receiving compressed feedback information within the first preset time period , Receiving predetermined compressed feedback information within the second preset duration, exceeding the first duration, and being in an uncontrolled environment;
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • the first type of data packet is a complete data packet
  • the second type of data packet is a compressed data packet
  • the first type of data packet is a compressed data packet
  • the second type of data packet is a complete data packet
  • the compression device when the first condition is met, 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.
  • a compression device including:
  • the sending module is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
  • the first condition includes at least one of the following: continuously sending M first-type data packets, sending one first-type data packet, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time period, The predetermined compressed feedback information is received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • a compression device including:
  • the transmitter is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
  • the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • a computer-readable storage medium including computer instructions, which when run on a computer, cause the computer to execute the method of the first aspect described above.
  • a computer program product which includes computer instructions.
  • the computer program product runs on a computer, the computer runs the computer instructions to cause the computer to execute the method in the first aspect described above.
  • a chip is provided, which is coupled with a memory in a terminal device, so that the chip invokes program instructions stored in the memory during operation, so that the terminal device executes the method of the first aspect described above.
  • FIG. 1 is a schematic diagram of the architecture of a 5G user plane protocol stack provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an EHC processing flow provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present invention.
  • FIG. 4 is a first schematic diagram of a method for sending data packets according to an embodiment of the present invention.
  • FIG. 5 is a second schematic diagram of a method for sending data packets according to an embodiment of the present invention.
  • FIG. 6 is a third schematic diagram of a method for sending data packets according to an embodiment of the present invention.
  • FIG. 7 is a first structural diagram of a compression device provided by an embodiment of the present invention.
  • FIG. 8 is a second structural diagram of a compression device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • 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.
  • Protocol data unit session type packet data unit senssion type, PDU session type
  • PDU session refers to the association between a terminal device and a network device that provides PDU connection services.
  • the type of this association may be Internet Protocol Version 4 (IPv4), Internet Protocol Version 6 (Internet Protocol Version 6, IPv6), or Ethernet (Ethernet), etc.
  • IPv4 Internet Protocol Version 4
  • IPv6 Internet Protocol Version 6
  • Ethernet Ethernet
  • Complete data package also called complete package: It can be an Ethernet data package, which contains complete Ethernet header information, and context and other information (context ID is currently confirmed, indicating whether it is a compressed data packet or a complete data packet) .
  • the context information is used for packet header compression and/or decompression.
  • Compressed data packet also known as compressed packet: it can be a kind of Ethernet data packet, which contains the compressed Ethernet packet header information and context and other information (the context ID is currently confirmed, indicating whether it is a compressed data packet or a complete data packet) .
  • the context information is used for packet header compression and/or decompression.
  • data packets are not limited to Ethernet data packets, and may also be other types of data packets.
  • the feedback packet (referred to as compressed feedback information in this embodiment) is a data packet sent by the decompression device to the compression device to indicate whether to compress the data packet.
  • the data packet is a data packet related to the context information, and is used to change the state of the data packet sent by the compression device or the decompression device.
  • TSN time sensitive network
  • TSC time sensitive communication
  • IP Internet Protocol
  • the introduction of the Ethernet frame issue is because the existing communication system only supports header compression for data packets whose PDU session is an IP data packet.
  • the type of PDU session can be not only an IP data packet type, but also an Ethernet data packet type.
  • FIG. 1 is a schematic diagram of the architecture of a 5G user plane protocol stack.
  • user equipment includes an application layer, a PDU layer and 5G access.
  • Network protocol layer (5G-AN protocol layers).
  • the 5G access network (5G-AN) is equipped with relay equipment, and the relay equipment 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 (UDP)/IP, L2 and L1.
  • GPRS tunneling protocol-user GPRS tunneling protocol-user
  • GTP- U user datagram protocol
  • UDP user datagram protocol
  • L2 can be 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.
  • L1 can be the physical layer .
  • the User Port Function (UPF) in the core network can be used 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: Above 5G encapsulation (5G UP encapsulation) protocol, UDP/IP, L2 and L1.
  • 5G UP encapsulation 5G encapsulation
  • the PDU session anchor When used as a PDU session anchor, it includes protocol stacks including: 5G UP encapsulation protocol, UDP/IP, L2, and L1.
  • the data packet corresponding to the PDU session is IPv4 packet (IPv4packets); when the PDU session type is IPv4, the data packet corresponding to the PDU session is IPv6 data packets (IPv4packets)
  • IPv4v6 IPv6 data packets
  • the PDU session type is IPv4v6
  • the data packets corresponding to the PDU session are IPv6 data packets and IPv4 data packets;
  • the PDU session type is Ethernet, the data packets corresponding to the PDU session are corresponding to Ethernet Net frame.
  • a new header compression mechanism (a completely 3GPP internal mechanism) can be used to perform Ethernet header compression (EHC) processing on Ethernet data packets.
  • EHC Ethernet header compression
  • 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 for each group of EHC context information. , CID). 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 the context corresponding to the CID according to 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.
  • EHC feedback EHC feedback information
  • the compression device After receiving the EHC feedback, the compression device starts to send a compressed header (compressed header) data packet (also called a CH packet).
  • the CH packet contains header information and compressed header information that are not stored in the EHC context.
  • the decompression device 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. Wherein, the packet type indication information can occupy 1 bit.
  • Fig. 2 shows the form in which three sets of context identifiers (CIDx, CIDy, and CIDz, respectively) are associated with corresponding EHC context information.
  • the 3GPP RAN working group agreed to the establishment of a new radio (NR) unlicensed spectrum working method (the label of the project is: WID RP-182878).
  • the goal of the project is to make NR work in unlicensed spectrum , Including the following work scenarios:
  • Scenario A Carrier aggregation scenario, the primary cell (primary cell, PCell) works in the licensed frequency band, and the secondary cell (SCell) working on the unlicensed spectrum is aggregated through carrier aggregation;
  • PCell primary cell
  • SCell secondary cell
  • Scenario B dual-connection working scenario, PCell works in the licensed frequency band in the long-term evolution (long-term evolution, LTE) system, and the primary and secondary cell (PSCell) works in the NR unlicensed spectrum;
  • PCell works in the licensed frequency band in the long-term evolution (long-term evolution, LTE) system
  • PSCell primary and secondary cell
  • Scenario C Independent work scenario, NR works as an independent cell in an unlicensed spectrum
  • Scenario D NR single cell scenario, the uplink works in the licensed frequency band, and the downlink works in the unlicensed spectrum;
  • Scenario E Dual-connection working scenario, PCell is an NR licensed frequency band, and PScell is an NR unlicensed spectrum.
  • NR-U the working band of NR-U is 5GHz unlicensed spectrum and 6GHz unlicensed spectrum.
  • the design of NR-U should ensure fairness with other systems (such as WiFi) that are already working on these unlicensed spectrums.
  • the principle of fairness is that the impact of NR-U on systems that have been deployed on unlicensed spectrum cannot exceed the impact between these systems.
  • the general energy detection mechanism is the LBT mechanism, and the basic principle of the mechanism is that the base station or terminal (transmitting end) needs to listen for a period of time according to regulations before transmitting data on the unlicensed spectrum. If the result of the monitoring indicates that the carrier (or channel) is in an idle state, the sending end can transmit data to the receiving end through the carrier. If the detection result indicates that the carrier is in an occupied state, the transmitting end needs to wait for a period of time before continuing to listen to the carrier until the carrier detection result is in an idle state before transmitting data to the receiving end.
  • Mechanism 1 Direct transmission mechanism
  • This mechanism is used by the transmission side to quickly transmit after the switching gap within the COT of the channel occupation time, where the switching gap refers to the switching time when the transmission is received.
  • the switching gap refers to the switching time when the transmission is received.
  • its typical value does not exceed 16us.
  • Mechanism 2 LBT mechanism without random back-off
  • This mechanism means that the time for the user equipment to listen to the channel is determined, which is generally relatively short, such as 25 us.
  • Mechanism 3 LBT mechanism with random back-off
  • the contention window is fixed.
  • the transmission side randomly selects a random value in the contention window to determine the time to listen to the channel.
  • Mechanism 4 Random back-off LBT mechanism (the competition window is not fixed)
  • the transmission side randomly selects a random value in the contention window to determine the time to listen to the channel, and the contention window is variable.
  • the embodiment of the present invention provides a data packet sending method and compression device.
  • the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time period, If the predetermined compressed feedback information is received within the second preset time period, the first time period is exceeded, and 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.
  • the compression device can trigger the switching transmission under the first condition
  • the state of the data packet is to switch 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, so as to increase the rate of sending data packets.
  • the interaction between the compression device and the decompression device is involved, where 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
  • the core network device may be a session management function (Session Management Function, SMF) entity.
  • SMF Session Management Function
  • the terminal equipment may be referred to as 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, and a personal digital assistant (personal digital assistant). Digital assistant, PDA) and other devices.
  • the terminal device can also be a mobile phone, mobile station (MS), mobile terminal (mobile terminal), and notebook computer, etc.
  • the terminal device can be accessed via a wireless access network (radio access network, RAN) communicates with one or more core networks.
  • the terminal device may be a mobile phone (or called a "cellular" phone) or a computer with a mobile terminal.
  • the terminal device may also be a portable, pocket-sized, handheld, built-in computer or vehicle-mounted mobile device. Exchange voice and/or data with the wireless access network.
  • the terminal device may 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-mentioned base station may be an LTE system, an NR communication system, or an evolved base station (evolutional node B, which may be referred to as eNB or e-NodeB) in an authorized auxiliary access long-term evolution (LAA-LTE) system.
  • eNB evolved base station
  • LAA-LTE authorized auxiliary access long-term evolution
  • Macro base station micro base station (also called “small base station"), pico base station, access point (AP), transmission point (TP) or new generation Node B (gNodeB), etc.
  • the method for sending data packets provided by the embodiment of the present invention may be applied to a wireless communication system.
  • FIG. 3 it is a schematic diagram of a system architecture of a wireless communication system provided by an embodiment of the present invention.
  • the wireless communication system includes a terminal device and a base station.
  • the terminal device in Figure 1 is used as a compression device and the base station is a decompression device.
  • the base station can generate a positive Confirm compressed feedback information, and perform LBT detection on the compressed feedback path that is unlicensed spectrum (that is, the path used to carry compressed feedback information).
  • the terminal device can switch from sending the complete data packet to sending the compressed data packet instead of sending the complete data packet all the time. Packets, which can improve the efficiency of sending data packets.
  • the connection between the aforementioned terminal device and the base station may be a wireless connection.
  • the terminal device is used as a compression device and the base station is a decompression device as an example to illustrate the method for sending data packets provided in the embodiment of the present invention.
  • the terminal device may send the first type data packet to the base station; in the case that the first condition is met, the terminal device sends the second type data packet to the base station.
  • the first condition includes at least one of the following: M first type data packets are sent continuously, N first type data packets are sent, the LBT result of the compressed feedback path is compressed, and the compressed feedback information is not received within the first preset time period , Receiving predetermined compressed feedback information within the second preset time period, exceeding the first time period, and whether the terminal device is in an uncontrolled environment.
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • the first type of data packet is a complete data packet
  • the second type of data packet is a compressed data packet
  • the first type of data packet is a compressed data packet
  • the second type of data packet is a complete data packet
  • Whether the terminal device is in a controlled environment refers to whether the time-frequency resource used by the terminal device is interfered by other cells or other communication systems when sending or receiving data.
  • other communication systems are communication systems other than the communication system where the terminal device is located, for example, a Wi-Fi system).
  • the compressed feedback path for the terminal device to receive compressed feedback information may be occupied by other cells or systems, causing LBT failure. At this time, the terminal device can be considered to be in an uncontrolled environment. ; In the time period when the network load is small, the compressed feedback path for the terminal equipment to receive compressed feedback information is usually in an idle state and will not be occupied by other cells or systems, so the terminal equipment can be considered to be in a controlled environment.
  • the terminal device can determine that the environment it is in is an uncontrolled environment/controlled environment, or change it to an uncontrolled environment/controlled environment according to the instructions of the base station, and the terminal device can also determine by itself that the environment it is in is non-controlled environment/controlled environment. Controlled environment/controlled environment.
  • the judgment condition may be instructed by the base station.
  • the foregoing compression feedback information not received within the first preset time period may include one of the following:
  • the compressed feedback information of positive confirmation is not received within the first preset time period, and the compressed feedback information of negative confirmation is not received within the first preset time period.
  • the first preset duration is the continuous duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  • the state transition timer expires, and the duration of the state transition timer is set to the first duration.
  • the aforementioned feedback information that a positive confirmation is not received within the preset time period means that the compressed feedback information is not received through the compressed feedback path within the preset time period.
  • the compressed feedback path is a path used to carry compressed feedback information.
  • the compressed feedback path may be one of the paths associated with the path through which the terminal device sends uplink data, or may be a dedicated path for sending compressed feedback information.
  • the compressed feedback path may be a carrier in an unlicensed spectrum.
  • the downlink carrier associated with the carrier currently sending uplink data is a carrier in the NR-U spectrum, or the path used to send compressed feedback information includes a carrier in the NR-U spectrum, or the terminal device is in an uncontrolled scenario .
  • the terminal device When the terminal device is in an uncontrolled scene, it means whether the time-frequency resource used by the terminal device is affected by other cells or other communication systems (communication systems other than the communication system where the terminal device is located, such as Wi-Fi). System).
  • the compression feedback information may include one of EHC feedback information, ROHC feedback information, and uplink data compression (UDC) feedback information.
  • EHC feedback information may include one of EHC feedback information, ROHC feedback information, and uplink data compression (UDC) feedback information.
  • ROHC feedback information may include one of EHC feedback information, ROHC feedback information, and uplink data compression (UDC) feedback information.
  • UDC uplink data compression
  • the first case of switching from sending a complete data packet to sending a compressed data packet is supported, and the first case of switching from sending a compressed data packet to sending a complete data packet is also supported.
  • an exemplary description will be given below for each of these two cases.
  • the first type of data packet is a complete data packet
  • the second type of data packet is a compressed data packet
  • FIG. 4 it is a method for sending a data packet provided by an embodiment of the present invention, and the method includes:
  • the base station sends compression configuration information to the terminal device.
  • the compression configuration information is used to indicate whether to compress the data packet.
  • the compression configuration information may also include compression parameters.
  • 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.
  • the data packet (including the complete data packet and the compressed data packet) in the embodiment of the present invention may be an Ethernet data packet or an IP data packet.
  • the compressed configuration information may be EHC configuration information, and the configuration information may indicate whether the uplink RoHC is configured, or whether the downlink RoHC is configured, and the corresponding configuration parameters, etc. .
  • the following 102 can be continued to initially send a complete data packet to the base station, so that the base station can establish context information.
  • the terminal device sends the complete data packet.
  • the compression configuration information received by the terminal indicates to compress the data packet, then the terminal device can establish context information and store it in association with the CID at this time.
  • the above-mentioned first condition is specifically a first target condition, and the first target condition includes at least one of the following:
  • M is an integer greater than or equal to 2.
  • the terminal device has continuously sent M complete data packets starting from sending the initial complete data packet.
  • N complete data packets There are two possible situations when N complete data packets are sent. One possible situation is: N complete data packets are sent continuously; the other possible situation is: N complete data packets are sent discontinuously in total .
  • N is an integer greater than or equal to 1.
  • N 1
  • the terminal device has initially sent the first data packet
  • the data packet is a complete data packet
  • the terminal device has sent a complete data packet, but the complete data packet
  • the packet is not the first data packet initially sent by the terminal device.
  • the initially sent data packet may refer to the first data packet sent by the terminal device according to an indication of the compression configuration information after receiving the compression configuration information.
  • the compression feedback path LBT fails.
  • the compression feedback path LBT fails through at least one of the following information:
  • the shared channel occupancy time may include at least two of the start time of the shared channel occupancy, the end time of the shared information occupancy, and the duration of the shared channel occupancy.
  • the LBT detection information of the compressed feedback path can be used to learn the LBT failure of the compressed feedback path.
  • the compressed feedback path can be shared information. In this case, it can be judged whether compressed feedback information or other information is received within the shared channel occupation time after the complete data packet is sent. If it is not received, then it can be considered as compressed feedback. The path LBT failed.
  • the LBT detection information of the compressed feedback path includes: channel occupation time of the compressed feedback path, or an LBT failure indication of the compressed feedback path.
  • the channel occupation time includes at least two of the following:
  • the start time of channel occupation The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  • the foregoing LBT detection information and LBT indication may be for the carrier or for a partial bandwidth (bandwidth part, BWP).
  • the compressed feedback information is not received within the first preset time period.
  • the compression feedback information includes one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information, or the aforementioned data compression UDC feedback information.
  • the first preset duration is the continuous duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  • the second duration is greater than the duration of channel occupation of the compressed feedback path, or the second duration is less than the duration of channel occupation of the compressed feedback path.
  • 4a may include at least one of the following:
  • the second duration may be greater than the duration of channel occupation, and the second duration may also be less than the duration of channel occupation.
  • the start time of the second duration may be the start time of the channel occupation duration.
  • the compressed feedback information of affirmative confirmation is received within the second preset time period.
  • the second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  • the third duration is greater than the duration of channel occupation of the compressed feedback path, or the third duration is less than the duration of channel occupation of the compressed feedback path.
  • the start time of the third duration may be the start time of the channel occupation duration.
  • the third duration and the second duration may be the same or different.
  • the state transition timer expires, and the duration of the state transition timer is set to the first duration.
  • the target situation includes at least one of the following:
  • the compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and at the first moment.
  • the first moment includes at least one of the following moments:
  • P is an integer greater than or equal to 2
  • Q is an integer greater than or equal to 1.
  • the terminal equipment is 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.
  • the terminal device sends the compressed data packet.
  • the terminal device when the terminal device determines that the first target condition is satisfied, the terminal device can switch from the uncompressed state to the compressed state at this time, that is, start to send compressed data packets.
  • the base station 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 relationship between the CID and the context information pre-stored in the base station, and based on the context information Restore the compressed data packet to obtain complete data packet information.
  • the first condition when the first condition is met, switching from sending a complete data packet to sending a compressed data packet is realized.
  • the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
  • the compression device can trigger the switching transmission under the first condition
  • the state of the data packet is to switch 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, so as to increase the rate of sending data packets.
  • the first type of data packet is a compressed data packet
  • the second type of data packet is a complete data packet
  • the terminal device determines that the second target condition and the second condition are satisfied.
  • 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.
  • the state switching can be performed when any one of the second target condition and the second condition is satisfied, that is, the terminal device sends a complete data packet.
  • the second target condition includes at least one of the following:
  • M is an integer greater than or equal to 2.
  • the terminal device has continuously sent M compressed data packets starting from sending the compressed data packet.
  • N compressed data packets are sent.
  • Sending N compressed data packets can include two possible situations. One possible situation is: N compressed data packets are sent continuously; the other possible situation is: N compressed data packets are sent discontinuously in total .
  • N is an integer greater than or equal to 1.
  • N 1
  • the terminal device has sent the first data packet
  • the data packet is a compressed data packet
  • the terminal device has sent a compressed data packet, but the compressed data packet It is not the first data packet initially sent by the terminal device.
  • the compression feedback path LBT is successful.
  • the LBT detection information of the compressed feedback path includes: the channel occupation time of the compressed feedback path, or the LBT success indication of the compressed feedback path.
  • the compressed feedback information is not received within the first preset time period.
  • the compressed feedback information of negative confirmation is received within the second preset time period.
  • 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.
  • Exceeding 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.
  • the state transition timer is started at a second moment, and the second moment includes at least one of the following moments:
  • X is an integer greater than or equal to 2
  • Y is an integer greater than or equal to 1.
  • the second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  • the terminal equipment is in a controlled environment.
  • the terminal device when it is in a controlled environment, after sending one or more compressed data packets, it can be converted from the uncompressed state to the compressed state, that is, start to send the complete data packet.
  • the terminal device sends a complete data packet.
  • the above 105a and 106a may not be executed after the above 104. That is to say, the methods 105a and 106a can be applied to all current scenarios where compressed data packets are sent, and are not limited to the exemplary explanation in the embodiment of the present invention.
  • the first condition when the first condition is met, switching from sending a compressed data packet to sending a complete data packet is realized.
  • the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
  • the compression device can trigger the switching transmission under the first condition
  • the state of the data packet is to switch 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, so as to increase the rate of sending data packets.
  • the method for sending a data packet provided by the embodiment of the present invention may further include 105b and 106b.
  • the terminal device determines that the second condition is met, and receives positively confirmed compressed feedback information within the second preset time period.
  • the terminal device sends the compressed data packet.
  • the base station after switching from sending a complete data packet to sending a compressed data packet based on the first target condition, if a positive confirmation of compressed feedback information is received within the second preset time period, the base station can continue Send compressed data packets.
  • the method for sending data packets provided by the embodiments of the present invention provides a mechanism for flexibly sending data packets, which can increase the rate of sending data packets.
  • an embodiment of the present invention provides a compression device, and the compression device includes:
  • the sending module 201 is configured to send a first type of data packet; if the first condition is met, send a second type of data packet;
  • the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded;
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • the first type of data packet is a complete data packet
  • the second type of data packet is a compressed data packet
  • the first type of data packet is a compressed data packet
  • the second type of data packet is a complete data packet
  • the compression feedback information not received within the first preset time period includes at least one of the following:
  • the compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
  • the first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  • the state transition timer expires, and the duration of the state transition timer is set to the first duration.
  • the compression device 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:
  • the processing module 202 is used to start the state transition timer in the target situation
  • the target situation includes at least one of the following:
  • the compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and at the first moment.
  • the first moment includes at least one of the following moments:
  • P is an integer greater than or equal to 2
  • Q is an integer greater than or equal to 1.
  • the processor is further configured to learn that the compression feedback path LBT fails through at least one of the following information:
  • the LBT detection information of the compressed feedback path includes at least one of the following:
  • receiving the predetermined compression feedback information within the second preset time period includes:
  • Affirmatively confirmed compressed feedback information is received within the second preset time period
  • the second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  • the compressed feedback path LBT result is that the compressed feedback path LBT fails.
  • the compression device also includes:
  • the receiving module 203 is configured 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;
  • the sending module 201 is specifically configured to send a complete data packet if the compression configuration information is used to instruct to compress the data packet.
  • the state transition timer is started at the second moment, and the second moment includes at least one of the following moments:
  • X is an integer greater than or equal to 2
  • Y is an integer greater than or equal to 1.
  • it also includes:
  • the processing module 202 is configured to learn that the compression feedback path LBT is successful through at least one of the following information:
  • the LBT detection information of the compressed feedback path includes: the channel occupation time of the compressed feedback path, or the LBT success indication of the compressed feedback path.
  • receiving predetermined compression feedback information within the second preset time period includes:
  • the compressed feedback message of negative confirmation is received within the second preset time period
  • the second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  • the compressed feedback path LBT result is that the compressed feedback path LBT succeeds.
  • the sending module 201 is specifically configured to send the complete data packet when the first condition and the second condition are met ;
  • the second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  • the channel occupation time includes at least two of the following:
  • the start time of channel occupation The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  • 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.
  • an embodiment of the present invention provides a compression device, and the compression device includes:
  • a memory 301 storing executable program codes
  • a processor 302 coupled with the memory 301;
  • 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.
  • the compression device in the embodiment of the present invention may be a mobile phone.
  • the mobile phone may include: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, The processor 1180, and the power supply 1190 and other components.
  • the radio frequency circuit 1110 includes a receiver 1111 and a transmitter 1112.
  • the RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1180; in addition, the designed uplink data is sent to the base station.
  • 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, and the like.
  • the RF circuit 1110 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division multiple access, GSM) multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • GSM code division multiple access
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • email short messaging service
  • SMS short messaging service
  • the memory 1120 may 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 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 1130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 1130 may include a touch panel 1131 and other input devices 1132.
  • the touch panel 1131 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, 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 contact coordinates, and then sends it To the processor 1180, and can receive and execute the commands sent by the processor 1180.
  • the touch panel 1131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
  • the display unit 1140 may 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.
  • the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 1131 can cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it transmits it to the processor 1180 to determine the type of touch event, and then the processor 1180 responds to the touch event. The type provides corresponding visual output on the display panel 1141.
  • the touch panel 1131 and the display panel 1141 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated. Realize the input and output functions of the mobile phone.
  • the mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1141 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1141 and/or when the mobile phone is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes).
  • It can detect the magnitude and direction of gravity when it is stationary, and can be used to identify mobile phone posture applications (such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, percussion), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in mobile phones, I won’t be here anymore. Go into details.
  • mobile phone posture applications such as horizontal and vertical screen switching, related Games, magnetometer posture calibration
  • vibration recognition-related functions such as pedometer, percussion
  • sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc.
  • 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 electrical signal converted from the received audio data to the speaker 1161, which is converted into a sound signal by the speaker 1161 for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After being received, it is converted into audio data, and then processed by the audio data output processor 1180, and sent to, for example, another mobile phone via the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
  • WiFi is a short-distance 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. It provides users with wireless broadband Internet access.
  • 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.
  • 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. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole.
  • the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1180.
  • the mobile phone also includes a power source 1190 (such as a battery) for supplying power to various components.
  • a power source 1190 such as a battery
  • the power source can be logically connected to the processor 1180 through a power management system, so that functions such as charging, discharging, and power management are realized through the power management system.
  • the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
  • the RF circuit 1110 is used to send a first type of data packet; when the first condition is met, the second type of data packet is sent;
  • the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
  • the first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet
  • M is an integer greater than or equal to 2
  • N is an integer greater than or equal to 1.
  • the first type of data packet is a complete data packet
  • the second type of data packet is a compressed data packet
  • the first type of data packet is a compressed data packet
  • the second type of data packet is a complete data packet
  • the compression feedback information not received within the first preset time period includes at least one of the following:
  • the compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
  • the first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  • the state transition timer expires, and the duration of the state transition timer is set to the first duration.
  • the processor 1180 is configured to start the state transition timer in the target situation;
  • the target situation includes at least one of the following:
  • the compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and is in the first moment;
  • the first moment includes at least one of the following moments:
  • P is an integer greater than or equal to 2
  • Q is an integer greater than or equal to 1.
  • the processor 1180 is further configured to learn that the compression feedback path LBT fails through at least one of the following information:
  • the LBT detection information of the compressed feedback path includes at least one of the following:
  • receiving predetermined compression feedback information within the second preset time period includes:
  • Affirmatively confirmed compressed feedback information is received within the second preset time period
  • the second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  • the compressed feedback path LBT result is that the compressed feedback path LBT fails.
  • it also includes:
  • the RF circuit 1110 is configured 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;
  • the RF circuit 1110 is specifically configured to send a complete data packet if the compression configuration information is used to indicate to compress the data packet.
  • the state transition timer is started at the second moment, and the second moment includes at least one of the following moments:
  • X is an integer greater than or equal to 2
  • Y is an integer greater than or equal to 1.
  • the processor 1180 is configured to learn that the compressed feedback path LBT is successful through at least one of the following information:
  • the LBT detection information of the compressed feedback path includes at least one of the following:
  • receiving predetermined compression feedback information within the second preset time period includes:
  • the compressed feedback message of negative confirmation is received within the second preset time period
  • the second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  • the compressed feedback path LBT result is that the compressed feedback path LBT succeeds.
  • the transmitter is specifically configured to send the complete data packet when the first condition and the second condition are met;
  • the second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  • the channel occupation time includes at least two of the following:
  • the start time of channel occupation The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  • 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.
  • the compression device can implement all the processes in the method embodiment and can achieve the same technical effect.
  • the description of the technical effect of the compression device refer to the description of the technical effect in the method embodiment. Go into details again.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention are 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.
  • Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

The embodiments of the present invention are applied to the technical field of communications, and provided therein are a method for transmitting data packets, and a compression device. The method can improve the rate of data packet transmission. An embodiment of the present invention comprises: transmitting type 1 data packets; and transmitting type 2 data packets when a first condition is met, the first condition comprising at least one of the following: M type 1 data packets are continuously transmitted; transmitting N type 1 data packets; compressing a feedback path LBT result; not receiving compression feedback information within a first preset duration; receiving predetermined compression feedback information within a second preset duration; exceeding a first duration; and whether the environment is under control. The first duration is a waiting duration for triggering a handover from transmitting the type 1 data packets to transmitting the type 2 data packets; M is an integer greater than or equal to 2; and N is an integer greater than or equal to 1.

Description

一种发送数据包的方法及压缩设备Method for sending data packets and compression equipment 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种发送数据包的方法及压缩设备。The present invention relates to the field of communication technology, and in particular to a method and compression device for sending data packets.
背景技术Background technique
目前,第五代(5th-Generation,5G)通信系统的工业互联网场景中为了提高发送数据包的速率,在一些情况下可以对数据包的包头进行压缩之后再发送。例如,对以太网数据包说,压缩端设备(以下称为压缩设备)可以建立以太包头压缩(Ethernet header conpression,EHC)的上下文信息(context),并关联一个上下文标识(context identity document,CID),而后压缩设备传输完整数据包(full header packet),其中包含CID和原始的包头信息。解压缩设备接收到数据包,后可以根据该包中的信息建立对应CID的context,然后传输肯定确认的EHC反馈信息到压缩设备,以指示压缩设备context建立成功。压缩设备在收到肯定确认的EHC反馈信息后,可以开始发送压缩数据包(compressed header packet),压缩数据包中将包含压缩的包头信息和未存储在EHC context的不压缩的包头信息。当解压缩设备收到压缩数据包后,解压缩设备将基于CID和存储的对应这个CID的原始包头信息,对这个压缩数据包进行原始包头恢复。At present, in the industrial Internet scenario of the fifth-generation (5th-Generation, 5G) communication system, in order to increase the rate of sending data packets, in some cases, the header of the data packet may be compressed before being sent. 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 (Ethernet headerconpression, 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 positively confirmed EHC feedback information to the compression device to indicate that the compression device context is successfully established. After receiving the positively confirmed EHC feedback information, the compression device can start to send a compressed header packet. The compressed header packet will contain compressed header information and uncompressed header information that is not stored in the EHC context. When the decompression device receives the compressed data packet, the decompression device will restore the original header of the compressed data packet based on the CID and the stored original header information corresponding to the CID.
在新无线非授权(new radio unlicensed,NR-U)频谱中,进行数据包传输之前需要通过先侦听后传输(Listen Before Talk,LBT)机制,先侦听载波是否空闲,在侦听到载波空闲的情况下,才可以通过该载波传输数据包,若侦听到载波被占用,则需要等待一段时间继续侦听,直到侦听到载波空闲才可以发送数据包。In the new radio unlicensed (NR-U) spectrum, it is necessary to pass the Listen Before Talk (LBT) mechanism before data packet transmission. When it is idle, data packets can be transmitted through the carrier. If the carrier is detected to be occupied, it needs to wait for a period of time to continue listening, and data packets can be sent until the carrier is detected to be idle.
上述NR-U频谱中,在解压缩设备发送肯定确认的EHC反馈信息之前,需要对传输肯定确认的EHC反馈信息的反馈路径进行载波侦听,在载波被占用的情况下EHC反馈信息无法及时发送至压缩设备,尤其是在肯定确认的EHC反馈信息已经在媒体访问控制协议数据单元(media access control packet data unit,MAC PDU)组包后无法从其他载波传输给压缩设备,压缩设备只能一直发送完数据包,因此导致发送数据包的速率较低。In the above NR-U spectrum, before the decompression device sends the positively confirmed EHC feedback information, it needs to perform carrier sensing on the feedback path that transmits the positively confirmed EHC feedback information. The EHC feedback information cannot be sent in time when the carrier is occupied. To the compression device, especially after the EHC feedback information is confirmed to be 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 it all the time. Finished data packets, resulting in a lower rate of sending data packets.
发明内容Summary of the invention
本发明实施例提供了一种发送数据包的方法,可以提高发送数据包的速率。The embodiment of the present invention provides a method for sending data packets, which can increase the rate of sending data packets.
第一方面,提供一种发送数据包的方法,包括:In the first aspect, a method for sending data packets is provided, including:
发送第一类数据包;Send the first type of data packet;
在满足第一条件的情况下,发送第二类数据包;In the case that the first condition is met, the second type of data packet is sent;
其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及处于非受控环境;Wherein, the first condition includes at least one of the following: continuously sending M first-type data packets, sending N first-type data packets, compressing the feedback path LBT result, and not receiving compressed feedback information within the first preset time period , Receiving predetermined compressed feedback information within the second preset duration, exceeding the first duration, and being in an uncontrolled environment;
第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
可选的,第一类数据包为完整数据包,第二类数据包为压缩数据包,或者,第一类数据包为压缩数据包,第二类数据包为完整数据包。Optionally, the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet.
本发明实施例中,在满足第一条件的情况下,从发送完整数据包切换至发送压缩数据包,或者,从发送压缩数据包至发送完整数据包。通过该方案,对传输EHC反馈信息的反馈路径进行载波侦听后,在载波被占用的情况下,虽然无法及时发送EHC反馈信息给压缩 设备,但是压缩设备可以在第一条件下,触发切换发送数据包的状态,即实现从发送完整数据包切换至发送压缩数据包,或者实现从发送压缩数据包至发送完整数据包,从而可以提高发送数据包的速率。In the embodiment of the present invention, when the first condition is met, 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. With 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 transmission under the first condition The state of the data packet is to switch 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, so as to increase the rate of sending data packets.
第二方面,提供一种压缩设备,包括:In a second aspect, a compression device is provided, including:
发送模块,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;The sending module is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及所处环境是否受控;Wherein, the first condition includes at least one of the following: continuously sending M first-type data packets, sending one first-type data packet, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time period, The predetermined compressed feedback information is received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
第三方面,提供一种压缩设备,包括:In a third aspect, a compression device is provided, including:
发送器,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;The transmitter is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
其中,第一条件包括以下的至少一种:连续发送M个的第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及所处环境是否受控;Wherein, the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
第四方面,提供一种计算机可读存储介质,包括:计算机指令,当其在计算机上运行时,使得计算机执行如上述第一方面的方法。In a fourth aspect, a computer-readable storage medium is provided, including computer instructions, which when run on a computer, cause the computer to execute the method of the first aspect described above.
第五方面,提供一种计算机程序产品,包括,计算机指令,当计算机程序产品在计算机上运行时,计算机运行计算机指令,使得计算机执行如上述第一方面的方法。In a fifth aspect, a computer program product is provided, which includes computer instructions. When the computer program product runs on a computer, the computer runs the computer instructions to cause the computer to execute the method in the first aspect described above.
第六方面,提供一种芯片,芯片与终端设备中的存储器耦合,使得芯片在运行时调用存储器中存储的程序指令,使得终端设备执行如上述第一方面的方法。In a sixth aspect, a chip is provided, which is coupled with a memory in a terminal device, so that the chip invokes program instructions stored in the memory during operation, so that the terminal device executes the method of the first aspect described above.
第二方面至第六方面中任一方面可以实现与第一方面相同的技术效果,此处不再赘述。Any one of the second aspect to the sixth aspect can achieve the same technical effect as the first aspect, which will not be repeated here.
附图说明Description of the drawings
图1为本发明实施例提供的一种5G用户面协议栈的架构示意图;FIG. 1 is a schematic diagram of the architecture of a 5G user plane protocol stack provided by an embodiment of the present invention;
图2为本发明实施例提供的一种EHC处理流程示意图;2 is a schematic diagram of an EHC processing flow provided by an embodiment of the present invention;
图3为本发明实施例提供的一种无线通信系统的架构示意图;FIG. 3 is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present invention;
图4为本发明实施例提供的一种发送数据包的方法示意图一;FIG. 4 is a first schematic diagram of a method for sending data packets according to an embodiment of the present invention;
图5为本发明实施例提供的一种发送数据包的方法示意图二;FIG. 5 is a second schematic diagram of a method for sending data packets according to an embodiment of the present invention;
图6为本发明实施例提供的一种发送数据包的方法示意图三;FIG. 6 is a third schematic diagram of a method for sending data packets according to an embodiment of the present invention;
图7为本发明实施例提供的一种压缩设备的结构示意图一;FIG. 7 is a first structural diagram of a compression device provided by an embodiment of the present invention;
图8为本发明实施例提供的一种压缩设备的结构示意图二;FIG. 8 is a second structural diagram of a compression device provided by an embodiment of the present invention;
图9为本发明实施例提供的一种手机的结构示意图。FIG. 9 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释 为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is only an association relationship describing the associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, exist alone B these three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
在本发明的描述中,除非另有说明,“多个”的含义是指两个或两个以上。In the description of the present invention, unless otherwise specified, the meaning of "plurality" means two or more.
为了便于理解,首先对本发明实施例中涉及的一些术语进行解释。To facilitate understanding, some terms involved in the embodiments of the present invention are first explained.
头压缩(header compression):对数据包的包头进行压缩,用于提高用户数据的传输效率。新无线非授权(new radio unlicensed,NR-U)频谱头压缩包括:健壮性包头压缩(robust header compression ROHC)和EHC。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.
协议数据单元会话类型(packet data unit senssion type,PDU session type):PDU会话指终端设备与提供PDU连接服务的网络设备之间的关联。这种关联的类型可以为互联网协议版本4(internet protocol version 4,IPv4)、互联网协议版本6(internet protocol version 6,Ipv6)或者以太网(Ethernet)等。Protocol data unit session type (packet data unit senssion type, PDU session type): PDU session refers to the association between a terminal device and a network device that provides PDU connection services. The type of this association may be Internet Protocol Version 4 (IPv4), Internet Protocol Version 6 (Internet Protocol Version 6, IPv6), or Ethernet (Ethernet), etc.
完整数据包,也称为完整包:可以是一种Ethernet数据包,该包中包含完整的Ethernet包头信息,和上下文等信息(目前确定有context ID,是压缩数据包还是完整数据包的指示)。该上下文信息,用于包头压缩和/或解压缩。Complete data package, also called complete package: It can be an Ethernet data package, which contains complete Ethernet header information, and context and other information (context ID is currently confirmed, indicating whether it is a compressed data packet or a complete data packet) . The context information is used for packet header compression and/or decompression.
压缩数据包,也称为压缩包:可以是一种Ethernet数据包,该包中包含被压缩的Ethernet包头信息和上下文等信息(目前确定有context ID,是压缩数据包还是完整数据包的指示)。该上下文信息,用于包头压缩和/或解压缩。Compressed data packet, also known as compressed packet: it can be a kind of Ethernet data packet, which contains the compressed Ethernet packet header information and context and other information (the context ID is currently confirmed, indicating whether it is a compressed data packet or a complete data packet) . The context information is used for packet header compression and/or decompression.
需要说明的是,本发明实施例中,数据包(包括完整数据包和压缩数据包)不限于Ethernet数据包,其还可以为其他类型的数据包。It should be noted that, in this embodiment of the present invention, data packets (including complete data packets and compressed data packets) are not limited to Ethernet data packets, and may also be other types of data packets.
反馈包(本实施例中,称为压缩反馈信息),解压缩设备向压缩设备发送的指示是否对数据包进行压缩的数据包。该数据包为与上下文信息相关的数据包,用于更改压缩设备或解压缩设备发送数据包的状态。The feedback packet (referred to as compressed feedback information in this embodiment) is a data packet sent by the decompression device to the compression device to indicate whether to compress the data packet. The data packet is a data packet related to the context information, and is used to change the state of the data packet sent by the compression device or the decompression device.
5G工业互联网(industrial interest of Things,IIoT)场景中需求支持工业自动化(factory automation),传输自动化(transport industry),智能电力(electrical power distribution)等业务在5G系统的传输。基于其时延和可靠性的传输需求,IIoT引入了时间敏感性网络(Time sensitive network,TSN)网络或时间敏感通信(time sentive communication,TSC)的概念,并且需要对TSN业务进行头压缩处理。其中,TSC业务可以由以太帧(Ethernet frame)承载,也可由网际互连协议(Internet Protocol,IP)包承载。In the 5G industrial Internet (industrial interest of Things, IIoT) scenario, it is required to support the transmission of services such as factory automation, transport industry, and electrical power distribution in the 5G system. Based on its transmission requirements for delay and reliability, IIoT introduces the concept of time sensitive network (TSN) network or time sensitive communication (TSC), and requires header compression processing for TSN services. Among them, the TSC service can be carried by an Ethernet frame (Ethernet frame), and can also be carried by an Internet Protocol (IP) packet.
其中,Ethernet frame议题的引入是因为现有的通信系统中仅支持对PDU会话为IP数据包的数据包进行头压缩。而在5G NR系统中,PDU会话的类型不仅可以为IP数据包类型,也可以为以太网数据包类型。Among them, the introduction of the Ethernet frame issue is because the existing communication system only supports header compression for data packets whose PDU session is an IP data packet. In the 5G NR system, the type of PDU session can be not only an IP data packet type, but also an Ethernet data packet type.
示例性的,如图1所示为一种5G用户面协议栈的架构示意图,图1中用户设备(user equipment,UE)包括有应用层(application),PDU层(PDU layer)和5G接入网协议层(5G-AN protocol layers)。5G接入网(5G-AN)中设置中继设备,中继设备中包括5G-AN protocol layers,其中,协议栈自上而下包括:用户面GPRS隧道协议(GPRS tunneling protocol-user,GTP-U)、用户数据报协议(user datagram protocol,UDP)/IP、L2和L1。其中,L2可以为无线链路控制层协议(radio link control,RLC)、媒体访问控制协议(media access control,MAC)和分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)等,L1可以为物理层。核心网中的用户端口功能(User Port Function,UPF)可以作为中继设备也可以作为PDU会话锚点(PDU session anchor)。在作为中继设 备时,其包括对应于接入网的协议栈GTP-U、UDP/IP、L2和L1,并且包括有与这些接入网的协议栈对应的核心网的协议栈,包括:5G以上封装(5G UP encapsulation)协议、UDP/IP、L2和L1。在作为PDU会话锚点时,其包括的协议栈包括:5G以上封装(5G UP encapsulation)协议、UDP/IP、L2和L1。对于其中的PDU层(PDU layer)来说,当PDU会话类型为IPv4时,PDU会话对应的数据包为IPv4数据包(IPv4packets);当PDU会话类型为IPv4时,该PDU会话对应的数据包为IPv6数据包(IPv4packets)当PDU会话类型为IPv4v6时,PDU会话对应的数据包为IPv6数据包和IPv4数据包;当PDU会话类型为为Ethernet时,该PDU会话对应的数据包为对应的为以太网帧。Exemplarily, as shown in Figure 1 is a schematic diagram of the architecture of a 5G user plane protocol stack. In Figure 1, user equipment (UE) includes an application layer, a PDU layer and 5G access. Network protocol layer (5G-AN protocol layers). The 5G access network (5G-AN) is equipped with relay equipment, and the relay equipment 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 (UDP)/IP, L2 and L1. Among them, L2 can be 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., L1 can be the physical layer . The User Port Function (UPF) in the core network can be used 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: Above 5G encapsulation (5G UP encapsulation) protocol, UDP/IP, L2 and L1. When used as a PDU session anchor, it includes protocol stacks including: 5G UP encapsulation protocol, UDP/IP, L2, and L1. For the PDU layer, when the PDU session type is IPv4, the data packet corresponding to the PDU session is IPv4 packet (IPv4packets); when the PDU session type is IPv4, the data packet corresponding to the PDU session is IPv6 data packets (IPv4packets) 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 corresponding to Ethernet Net frame.
进一步的,根据RAN2#105bis会议结论,可以使用一种新的头压缩机制(完全3GPP内部的机制),对Ethernet数据包进行以太包头压缩(Ethernet header conpression,EHC)处理。Further, according to the conclusion of the RAN2#105bis meeting, a new header compression mechanism (a completely 3GPP internal mechanism) can be used to perform Ethernet header compression (EHC) processing on Ethernet data packets.
示例性的,如图2所示,EHC处理流程如下:对一个以太网数据包来说,EHC压缩设备建立EHC上下文信息(context),并针对每组EHC上下文信息关联一个上下文标识(context identity document,CID)。而后,EHC压缩设备传输完整数据(full header)包(也称为FH包),其中包含CID和原始的包头信息。解压缩端接收到FH包,根据该包中的信息建立对应CID的context。当解压缩端建立context后,传输EHC feedback(EHC反馈信息)到压缩设备,以指示压缩设备context建立成功。压缩设备收到EHC feedback后,开始发送压缩包头(compressed header)的数据包(也称为CH包),CH包中包含未存储在EHC context的包头信息和压缩的包头信息。当解压缩设备收到CH包后,解压缩设备将基于CID和存储的对应这个CID的原始包头信息,对这个CH包进行原始包头恢复。解压缩设备可以根据携带的包头中的包类型指示信息,确定接收到的数据包为CH包还是FH包。其中,该包类型指示信息可以占用1比特,图2中示出了三组上下文标识(分别为CIDx、CIDy和CIDz)与对应的EHC上下文信息关联的形式。Exemplarily, as shown in Figure 2, 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 for each group of EHC context information. , CID). 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 the context corresponding to the CID according to 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 (compressed header) data packet (also called a CH packet). The CH packet contains header information and compressed header information that are not stored in the EHC context. 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. Wherein, the packet type indication information can occupy 1 bit. Fig. 2 shows the form in which three sets of context identifiers (CIDx, CIDy, and CIDz, respectively) are associated with corresponding EHC context information.
3GPP RAN工作组在2018年12月份同意了新无线(new radio,NR)非授权频谱工作方式的立项(项目的标号为:WID RP-182878),该项目的目标是使得NR工作在非授权频谱,其中,包括如下几种工作场景:In December 2018, the 3GPP RAN working group agreed to the establishment of a new radio (NR) unlicensed spectrum working method (the label of the project is: WID RP-182878). The goal of the project is to make NR work in unlicensed spectrum , Including the following work scenarios:
场景A:载波聚合场景,主小区(primary cell,PCell)工作在授权频段,通过载波聚合方式聚合工作在非授权频谱上的辅小区(secondary cell,SCell);Scenario A: Carrier aggregation scenario, the primary cell (primary cell, PCell) works in the licensed frequency band, and the secondary cell (SCell) working on the unlicensed spectrum is aggregated through carrier aggregation;
场景B:双连接工作场景,PCell工作在长期演进(long-term evolution,LTE)系统中的授权频段,主辅小区(primary secondary cell,PSCell)工作在NR非授权频谱;Scenario B: dual-connection working scenario, PCell works in the licensed frequency band in the long-term evolution (long-term evolution, LTE) system, and the primary and secondary cell (PSCell) works in the NR unlicensed spectrum;
场景C:独立工作场景,NR作为一个独立小区工作在非授权频谱;Scenario C: Independent work scenario, NR works as an independent cell in an unlicensed spectrum;
场景D:NR单小区场景,上行工作在授权频段,下行工作在非授权频谱;Scenario D: NR single cell scenario, the uplink works in the licensed frequency band, and the downlink works in the unlicensed spectrum;
场景E:双连接工作场景,PCell为NR授权频段,PScell为NR非授权频谱。Scenario E: Dual-connection working scenario, PCell is an NR licensed frequency band, and PScell is an NR unlicensed spectrum.
一般来说,NR-U的工作频带(band)为5GHz非授权频谱和6GHz非授权频谱。在非授权频谱上,NR-U的设计应该保证与其他已经工作在这些非授权频谱上的系统(比如WiFi)之间的公平性等。公平性的原则是,NR-U对于已经部署在非授权频谱上的系统的影响不能超过这些系统之间的影响。Generally speaking, the working band of NR-U is 5GHz unlicensed spectrum and 6GHz unlicensed spectrum. On unlicensed spectrum, the design of NR-U should ensure fairness with other systems (such as WiFi) that are already working on these unlicensed spectrums. The principle of fairness is that the impact of NR-U on systems that have been deployed on unlicensed spectrum cannot exceed the impact between these systems.
为了保证在非授权频谱上各系统之间的公平性共存,能量检测已经被同意作为一个基本的共存机制。一般的能量检测机制为LBT机制,该机制的基本原理为:基站或者终端(发送端)在非授权频谱上传输数据之前,需要先按照规定侦听一段时间。如果侦听的结果表示载波(或信道)为空闲状态,则发送端可以通过该载波给接收端传输数据。如果侦听的结果表示载波为占用状态,则发送端需要根据等待一段时间再继续侦听载波,直到载波侦听结果为空闲状态,才能向接收端传输数据。In order to ensure fair coexistence between systems on unlicensed spectrum, energy detection has been agreed as a basic coexistence mechanism. The general energy detection mechanism is the LBT mechanism, and the basic principle of the mechanism is that the base station or terminal (transmitting end) needs to listen for a period of time according to regulations before transmitting data on the unlicensed spectrum. If the result of the monitoring indicates that the carrier (or channel) is in an idle state, the sending end can transmit data to the receiving end through the carrier. If the detection result indicates that the carrier is in an occupied state, the transmitting end needs to wait for a period of time before continuing to listen to the carrier until the carrier detection result is in an idle state before transmitting data to the receiving end.
目前在NR-U中定了四种信道接入机制,可参考TR38.889:Currently, four channel access mechanisms are defined in NR-U, please refer to TR38.889:
机制1:直接传输机制Mechanism 1: Direct transmission mechanism
这种机制用于传输侧可以在信道占用时间COT内的交换时隙(switching gap)之后迅速传输,其中,Switching gap是指接收到传输的转换时间。可选的,其典型值为不超过16us。This mechanism is used by the transmission side to quickly transmit after the switching gap within the COT of the channel occupation time, where the switching gap refers to the switching time when the transmission is received. Optionally, its typical value does not exceed 16us.
机制2:不需要随机回退(back-off)的LBT机制Mechanism 2: LBT mechanism without random back-off
这种机制是指用户设备侦听信道的时间是确定的,一般比较短,例如25us。This mechanism means that the time for the user equipment to listen to the channel is determined, which is generally relatively short, such as 25 us.
机制3:随机back-off的LBT机制Mechanism 3: LBT mechanism with random back-off
该机制中竞争窗口固定,在LBT流程中,传输侧随机的在竞争窗口中去一个随机值来决定侦听信道的时间。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 listen to the channel.
机制4:随机back-off的LBT机制(竞争窗口不固定)Mechanism 4: Random back-off LBT mechanism (the competition window is not fixed)
在LBT流程中,传输侧随机的在竞争窗口中取一个随机值来决定侦听信道的时间,竞争窗口是可变的。In the LBT process, the transmission side randomly selects a random value in the contention window to determine the time to listen to the channel, and the contention window is variable.
综上,在NR-U频谱中,进行数据传输之前需要通过LBT机制,先侦听载波是否空闲,在侦听到载波空闲的情况下,才可以通过该载波传输数据,若侦听到载波被占用,则需要等待一段时间继续侦听,直到侦听到载波空闲才可以发送数据。这样在NR-U频谱中,应用EHC处理数据包时,解压缩端发送EHC反馈信息之前,需要对传输EHC反馈信息的反馈路径进行载波侦听,在载波被占用的情况下EHC反馈信息无法及时发送至压缩设备,尤其是在EHC反馈信息已经在媒体访问控制协议数据单元(media access control packet data unit,MAC PDU)组包后无法从其他载波传输给压缩设备,压缩设备只能一直发送完数据包,因此导致发送数据包的速率较低。In summary, in the NR-U spectrum, before data transmission, it is necessary to use the LBT mechanism to detect whether the carrier is idle. When the carrier is detected to be idle, data can be transmitted through the carrier. Occupied, you need to wait for a period of time to continue listening until the carrier is detected to be free before data can be sent. In this way, in the NR-U spectrum, when EHC is used to process data packets, the decompression end needs to perform carrier sensing on the feedback path that transmits EHC feedback information before sending EHC feedback information. EHC feedback information cannot be timely when the carrier is occupied. Send to the compression device, 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 the data all the time. Packets, resulting in a lower rate of sending data packets.
本发明实施例提供一种数据包的发送方法及压缩设备,在满足第一条件的情况下,从发送完整数据包切换至发送压缩数据包,或者从发送压缩数据包至发送完整数据包,其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及以及所处环境是否受控,M为大于或等于2的整数,N为大于或等于1的整数。通过该方案,对传输EHC反馈信息的反馈路径进行载波侦听后,在载波被占用的情况下,虽然无法及时发送EHC反馈信息给压缩设备,但是压缩设备可以在第一条件下,触发切换发送数据包的状态,即实现从发送完整数据包切换至发送压缩数据包,或者实现从发送压缩数据包至发送完整数据包,从而可以提高发送数据包的速率。The embodiment of the present invention provides a data packet sending method and compression device. When the first condition is met, 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, wherein , The first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, not receiving compressed feedback information within the first preset time period, If the predetermined compressed feedback information is received within the second preset time period, the first time period is exceeded, and 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. With 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 transmission under the first condition The state of the data packet is to switch 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, so as to increase the rate of sending data packets.
本发明实施例中,涉及到压缩设备和解压缩设备之间的交互,其中,压缩设备可以为终端设备、接入网设备或者核心网设备。其中,接入网设备可以为基站,核心网设备可以为话管理功能(Session Management Function,SMF)实体。In the embodiment of the present invention, the interaction between the compression device and the decompression device is involved, where the compression device may be a terminal device, an access network device, or a core network device. Among them, the access network device may be a base station, and the core network device may be a session management function (Session Management Function, SMF) entity.
其中,终端设备可以称之为用户设备(user equipment,UE)。该终端设备可以为个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)等设备,该终端设备也可以为手机、移动台(mobile station,MS)、移动终端(mobile terminal)和笔记本电脑等,该终端设备可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信。例如,终端设备可以是移动电话(或称为“蜂窝”电话)或具有移动终端的计算机等,例如,终端设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。终端设备还可以为有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的网络中的终端设备等。上述仅仅是一种示例, 实际应用中不限于此。Among them, the terminal equipment may be referred to as 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, and a personal digital assistant (personal digital assistant). Digital assistant, PDA) and other devices. The terminal device can also be a mobile phone, mobile station (MS), mobile terminal (mobile terminal), and notebook computer, etc. The terminal device can be accessed via a wireless access network (radio access network, RAN) communicates with one or more core networks. For example, the terminal device may be a mobile phone (or called a "cellular" phone) or a computer with a mobile terminal. For example, the terminal device may also be a portable, pocket-sized, handheld, built-in computer or vehicle-mounted mobile device. Exchange voice and/or data with the wireless access network. The terminal device may 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 foregoing is only an example, and the actual application is not limited to this.
上述基站可以为LTE系统、NR通信系统或者授权辅助接入长期演进(authorized auxiliary access long-term evolution,LAA-LTE)系统中的演进型基站(evolutional node B,简称可以为eNB或e-NodeB)宏基站、微基站(也称为“小基站”)、微微基站、接入站点(access point,AP)、传输站点(transmission point,TP)或新一代基站(new generation Node B,gNodeB)等。The above-mentioned base station may be an LTE system, an NR communication system, or an evolved base station (evolutional node B, which may be referred to as eNB or e-NodeB) in an authorized auxiliary access long-term evolution (LAA-LTE) system. Macro base station, micro base station (also called "small base station"), pico base station, access point (AP), transmission point (TP) or new generation Node B (gNodeB), etc.
本发明实施例提供的一种发送数据包的方法,可以应用于无线通信系统。示例性的,如图3所示,为本发明实施例提供的一种无线通信系统的系统架构示意图。在图3中,该无线通信系统包括终端设备和基站,以图1中的终端设备为压缩设备,基站为解压缩设备的情况下,在终端设备向基站发送完整数据包之后,基站可以生成肯定确认的压缩反馈信息,并对为非授权频谱的压缩反馈路径(即用于承载压缩反馈信息的路径)进行LBT检测,在压缩反馈路径被占用时,无法及时给终端设备发送该生成的肯定确认的压缩反馈信息,这时终端设备可以通过本发明实施例提供的发送数据包的方法,在满足第一条件的情况下,从发送完整数据包切换为发送压缩数据包,而不是一直发送完整数据包,从而可以提高发送数据包的效率。在实际应用中上述终端设备与基站之间的连接可以为无线连接。The method for sending data packets provided by the embodiment of the present invention may be applied to a wireless communication system. Exemplarily, as shown in FIG. 3, it is a schematic diagram of a system architecture of a wireless communication system provided by an embodiment of the present invention. In Figure 3, the wireless communication system includes a terminal device and a base station. The terminal device in Figure 1 is used as 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 a positive Confirm compressed feedback information, and perform LBT detection on the compressed feedback path that is unlicensed spectrum (that is, the path used to carry compressed feedback information). When the compressed feedback path is occupied, the generated positive confirmation cannot be sent to the terminal device in time When the first condition is met, the terminal device can switch from sending the complete data packet to sending the compressed data packet instead of sending the complete data packet all the time. Packets, which can improve the efficiency of sending data packets. In practical applications, the connection between the aforementioned terminal device and the base station may be a wireless connection.
需要说明的是,下面以终端设备为压缩设备,基站为解压缩设备为例对本发明实施例提供的发送数据包的方法,进行实例性的说明。It should be noted that the terminal device is used as a compression device and the base station is a decompression device as an example to illustrate the method for sending data packets provided in the embodiment of the present invention.
本发明实施例提供的发送数据包的方法中,终端设备可以向基站发送第一类数据包;在满足第一条件的情况下,终端设备向基站发送第二类数据包。其中,第一条件包括以下的至少一种:连续发送了M第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及终端设备是否处于非受控环境。In the method for sending data packets provided by the embodiment of the present invention, the terminal device may send the first type data packet to the base station; in the case that the first condition is met, the terminal device sends the second type data packet to the base station. Wherein, the first condition includes at least one of the following: M first type data packets are sent continuously, N first type data packets are sent, the LBT result of the compressed feedback path is compressed, and the compressed feedback information is not received within the first preset time period , Receiving predetermined compressed feedback information within the second preset time period, exceeding the first time period, and whether the terminal device is in an uncontrolled environment.
其中第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
可选的,第一类数据包为完整数据包,第二类数据包为压缩数据包,或者,第一类数据包为压缩数据包,第二类数据包为完整数据包。Optionally, the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet.
终端设备是否处于受控环境是指,终端设备发送或接受数据时,所采用的时频资源是否受到其他小区或者其他通信系统的干扰。其中,其他通信系统为除终端设备所在通信系统之外的通信系统,例如,Wi-Fi系统)。Whether the terminal device is in a controlled environment refers to whether the time-frequency resource used by the terminal device is interfered by other cells or other communication systems when sending or receiving data. Among them, other communication systems are communication systems other than the communication system where the terminal device is located, for example, a Wi-Fi system).
示例性的,在网络负荷较大的时间段,终端设备接收压缩反馈信息的压缩反馈路径可能会因为被其他小区或系统所占用,而导致LBT失败,此时可以认为终端设备处于非受控环境;在网络负荷较小的时间段,终端设备接收压缩反馈信息的压缩反馈路径通常处于空闲状态,不会被其他小区或系统所占用,从而可以认为终端设备处于受控环境。Exemplarily, during a time period when the network load is heavy, the compressed feedback path for the terminal device to receive compressed feedback information may be occupied by other cells or systems, causing LBT failure. At this time, the terminal device can be considered to be in an uncontrolled environment. ; In the time period when the network load is small, the compressed feedback path for the terminal equipment to receive compressed feedback information is usually in an idle state and will not be occupied by other cells or systems, so the terminal equipment can be considered to be in a controlled environment.
可选的,终端设备可以根据基站的指示确定所处的环境为非受控环境/受控环境,或者变更为非受控环境/受控环境,终端设备也可以自己确定所处的环境为非受控环境/受控环境。Optionally, the terminal device can determine that the environment it is in is an uncontrolled environment/controlled environment, or change it to an uncontrolled environment/controlled environment according to the instructions of the base station, and the terminal device can also determine by itself that the environment it is in is non-controlled environment/controlled environment. Controlled environment/controlled environment.
其中,在终端设备判断所处的环境是否为非受控环境时,判断条件可以为基站指示的。Wherein, when the terminal device judges whether the environment in which it is located is an uncontrolled environment, the judgment condition may be instructed by the base station.
可选的,上述在第一预设时长内未接收到压缩反馈信息可以包括以下一种:Optionally, the foregoing compression feedback information not received within the first preset time period may include one of the following:
在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息。The compressed feedback information of positive confirmation is not received within the first preset time period, and the compressed feedback information of negative confirmation is not received within the first preset time period.
其中,第一预设时长为压缩反馈路径的信道占用持续时长,或者,第一预设时长为第二时长。Wherein, the first preset duration is the continuous duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
可选的,超过第一时长为状态转换定时器超时,状态转换定时器的时长设置为第一时长。Optionally, if the first duration is exceeded, the state transition timer expires, and the duration of the state transition timer is set to the first duration.
需要说明的是,上述在预设时长内未收到肯定确认的反馈信息是指在预设时长内未通过压缩反馈路径接收到压缩反馈信息。It should be noted that the aforementioned feedback information that a positive confirmation is not received within the preset time period means that the compressed feedback information is not received through the compressed feedback path within the preset time period.
其中,压缩反馈路径为用于承载压缩反馈信息的路径。Among them, the compressed feedback path is a path used to carry compressed feedback information.
本发明实施例中,压缩反馈路径可以为与终端设备发送上行数据的路径相关联的路径中的一个路径,或者,可以为用于发送压缩反馈信息的专用路径。In the embodiment of the present invention, the compressed feedback path may be one of the paths associated with the path through which the terminal device sends uplink data, or may be a dedicated path for sending compressed feedback information.
可选的,该压缩反馈路径可以为非授权频谱中的载波。例如,与当前发送上行数据的载波关联的下行载波为NR-U频谱中的载波,或者,用于发送压缩反馈信息的路径包括NR-U频谱中的载波,或者,终端设备处于非受控场景。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 used to send compressed feedback information includes a carrier in the NR-U spectrum, or the terminal device is in an uncontrolled scenario .
终端设备处于非受控场景是指,终端设备发送或接受数据时,所采用的时频资源是否受到其他小区或者其他通信系统(除终端设备所在通信系统之外的通信系统,例如,Wi-Fi系统)的干扰。When the terminal device is in an uncontrolled scene, it means whether the time-frequency resource used by the terminal device is affected by other cells or other communication systems (communication systems other than the communication system where the terminal device is located, such as Wi-Fi). System).
例如,终端设备接收压缩反馈信息的压缩反馈路径是否会因为被其他系统中的设备发送的数据包所占用,而导致LBT失败。For example, whether the compressed feedback path for the terminal device to receive compressed feedback information is occupied by data packets sent by devices in other systems, causing LBT to fail.
例如,终端设备接收压缩反馈信息的压缩反馈路径是否会因为被其他小区中的设备发送的数据包所占用,而导致传输失败。For example, whether the compressed feedback path for the terminal device to receive the compressed feedback information will be occupied by data packets sent by devices in other cells, resulting in transmission failure.
可选的,本发明实施例中,压缩反馈信息可以包括:EHC反馈信息、ROHC反馈信息和上行数据压缩(uplink data compression,UDC)反馈信息中的一种。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 (UDC) feedback information.
可以看出,本发明实施例提供的发送数据包的方法中,支持从发送完整数据包切换为发送压缩数据包的第一种情况,也支持从发送压缩数据包切换为发送完整数据包的第二种情况,下面将针对这两种情况分别进行示例性的说明。It can be seen that in the method for sending data packets provided by the embodiment of the present invention, the first case of switching from sending a complete data packet to sending a compressed data packet is supported, and the first case of switching from sending a compressed data packet to sending a complete data packet is also supported. In the two cases, an exemplary description will be given below for each of these two cases.
针对第一种情况:第一类数据包为完整数据包,第二类数据包为压缩数据包。For the first case: the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet.
如图4所示,为本发明实施例提供的发送数据包的方法,该方法包括:As shown in FIG. 4, it is a method for sending a data packet provided by an embodiment of the present invention, and the method includes:
101、基站向终端设备发送压缩配置信息。101. The base station sends compression configuration information to the terminal device.
其中,该压缩配置信息用于指示是否对数据包进行压缩。Wherein, the compression configuration information is used to indicate whether to compress the data packet.
可选的,该压缩配置信息中还可以包括压缩参数。Optionally, the compression configuration information may also include compression parameters.
本发明实施例中,对数据包进行压缩可以包括对数据包的包头进行压缩,还可以包括对数据包中除包头外的其他部分进行压缩。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.
本发明实施例中的数据包(包括完整数据包和压缩数据包)可以为以太网数据包,也可以为IP数据包。The data packet (including the complete data packet and the compressed data packet) in the embodiment of the present invention may be an Ethernet data packet or an IP data packet.
可选的,在上述数据包为以太网数据包时,上述压缩配置信息可以为EHC配置信息,该配置信息中可以指示上行RoHC是否配置,或者,指示下行RoHC是否配置,以及相应的配置参数等。Optionally, when the data packet is an Ethernet data packet, the compressed configuration information may be EHC configuration information, and the configuration information may indicate whether the uplink RoHC is configured, or whether the downlink RoHC is configured, and the corresponding configuration parameters, etc. .
需要说明的是,上述101为可选的步骤。It should be noted that the above 101 is an optional step.
本发明实施例中,若压缩配置信息指示对数据包进行压缩,那么可以继续执行下述102,以初始发送完整数据包给基站,以使得基站可以建立上下文信息。In the embodiment of the present invention, if the compression configuration information indicates that the data packet is compressed, the following 102 can be continued to initially send a complete data packet to the base station, so that the base station can establish context information.
102、若压缩配置信息指示对数据包进行压缩,终端设备发送完整数据包。102. If the compression configuration information indicates to compress the data packet, the terminal device sends the complete data packet.
其中,终端接收到的压缩配置信息指示对数据包进行压缩,那么此时终端设备可以建立上下文信息并与CID关联存储。Wherein, the compression configuration information received by the terminal indicates to compress the data packet, then the terminal device can establish context information and store it in association with the CID at this time.
103、确定满足第一目标条件。103. Determine that the first target condition is met.
针对第一种情况,上述第一条件具体为第一目标条件,该第一目标条件包括以下至少一种:For the first situation, the above-mentioned first condition is specifically a first target condition, and the first target condition includes at least one of the following:
a1、连续发送M个的完整数据包。a1. Continuously send M complete data packets.
其中,M为大于或等于2的整数。Wherein, M is an integer greater than or equal to 2.
可选的,可以是指终端设备从发送初始的完整数据包开始,连续发送了M个完整数据 包。Optionally, it may mean that the terminal device has continuously sent M complete data packets starting from sending the initial complete data packet.
a2、发送了N个完整数据包。a2. N complete data packets are sent.
发送了N个完整数据包可以包括两种可能的情况,一种可能的情况为:连续发送了N个完整数据包;另一种可能的情况为:总共不连续的发送了N个完整数据包。There are two possible situations when N complete data packets are sent. One possible situation is: N complete data packets are sent continuously; the other possible situation is: N complete data packets are sent discontinuously in total .
其中,N为大于或等于1的整数。Wherein, N is an integer greater than or equal to 1.
示例性的,在N为1时,可以理解为终端设备初始发送了第一个数据包,且该数据包是完整数据包,也可以理解为终端设备发送了一个完整数据包,但该完整数据包并不是终端设备初始发送的第一个数据包。Exemplarily, when N is 1, it can be understood that the terminal device has initially sent the first data packet, and the data packet is a complete data packet, or it can be understood that the terminal device has sent a complete data packet, but the complete data packet The packet is not the first data packet initially sent by the terminal device.
可选的,本发明实施例中,初始发送的数据包可以是指终端设备在接收压缩配置信息之后根据压缩配置信息的指示发送的第一个数据包。Optionally, in this embodiment of the present invention, the initially sent data packet may refer to the first data packet sent by the terminal device according to an indication of the compression configuration information after receiving the compression configuration information.
a3、压缩反馈路径LBT失败。a3. The compression feedback path LBT fails.
可选的,本发明实施例中,可以通过以下至少一种信息获知压缩反馈路径LBT失败:Optionally, in this embodiment of the present invention, it can be learned that the compression feedback path LBT fails through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
其中,共享信道占用时间可以包括:共享信道占用的起始时间,共享信息占用的终止时间和共享信道占用持续时长中的至少两种。The shared channel occupancy time may include at least two of the start time of the shared channel occupancy, the end time of the shared information occupancy, and the duration of the shared channel occupancy.
可选的,无论压缩反馈信息是否为共享信道,都可以通过压缩反馈路径的LBT检测信息来获知压缩反馈路径LBT失败。Optionally, regardless of whether the compressed feedback information is a shared channel, the LBT detection information of the compressed feedback path can be used to learn the LBT failure of the compressed feedback path.
可选的,压缩反馈路径可以为共享信息,这种情况下可以判断在发送完整数据包后,在共享信道占用时间内是否接受到压缩反馈信息或者其他信息,若未接收到那么可以认为压缩反馈路径LBT失败。Optionally, the compressed feedback path can be shared information. In this case, it can be judged whether compressed feedback information or other information is received within the shared channel occupation time after the complete data packet is sent. If it is not received, then it can be considered as compressed feedback. The path LBT failed.
可选的,压缩反馈路径的LBT检测信息包括:压缩反馈路径的信道占用时间,或者,压缩反馈路径的LBT失败指示。Optionally, the LBT detection information of the compressed feedback path includes: channel occupation time of the compressed feedback path, or an LBT failure indication of the compressed feedback path.
可选的,信道占用时间包括以下至少两种:Optionally, the channel occupation time includes at least two of the following:
信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
上述LBT检测信息和LBT指示可以是针对载波的也可以是针对部分带宽(band width part,BWP)的。The foregoing LBT detection information and LBT indication may be for the carrier or for a partial bandwidth (bandwidth part, BWP).
a4、在第一预设时长内未接收到压缩反馈信息。a4. The compressed feedback information is not received within the first preset time period.
其中,压缩反馈信息包括以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息或上述数据压缩UDC反馈信息中的一种。The compression feedback information includes one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information, or the aforementioned data compression UDC feedback information.
其中,第一预设时长为压缩反馈路径的信道占用持续时长,或者,第一预设时长为第二时长。Wherein, the first preset duration is the continuous duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
可选的,第二时长大于压缩反馈路径的信道占用持续时长,或者,第二时长小于压缩反馈路径的信道占用持续时长。Optionally, the second duration is greater than the duration of channel occupation of the compressed feedback path, or the second duration is less than the duration of channel occupation of the compressed feedback path.
其中、4a可以包括以下的至少一种:Among them, 4a may include at least one of the following:
a4.1、在信道占用持续时长内未收到肯定确认的压缩反馈信息。a4.1. The compressed feedback message that affirmative confirmation is not received within the duration of channel occupation.
a4.2、在信道占用持续时长内未收到否定确认的压缩反馈信息。a4.2. The compressed feedback message of negative confirmation is not received within the duration of channel occupation.
可以理解,在同时满足a4.1和a4.2时即可以理解为在信道占用持续时长内没有接收到任何压缩反馈信息。It can be understood that when both a4.1 and a4.2 are satisfied at the same time, it can be understood that no compressed feedback information has been received within the duration of channel occupancy.
a4.3、在第二时长内未收到肯定确认的压缩反馈信息。a4.3. The compressed feedback message of affirmative confirmation is not received within the second time period.
a4.4、在第二时长内未收到否定确认的压缩反馈信息。a4.4. The compressed feedback message of negative confirmation is not received within the second time period.
可以理解,在同时满足a4.3和a4.4时即可以理解为在第二时长内没有接收到任何压缩反馈信息。It can be understood that when both a4.3 and a4.4 are satisfied, it can be understood that no compressed feedback information is received within the second time period.
其中,第二时长可以大于信道占用持续时长,第二时长也可以小于信道占用持续时长。Wherein, the second duration may be greater than the duration of channel occupation, and the second duration may also be less than the duration of channel occupation.
其中,第二时长的起始时间可以为信道占用持续时长的起始时间。Wherein, the start time of the second duration may be the start time of the channel occupation duration.
a5、在第二预设时长内接收到肯定确认的压缩反馈信息。a5. The compressed feedback information of affirmative confirmation is received within the second preset time period.
其中,第二预设时长为压缩反馈路径的信道占用持续时长,或者,第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
可选的,第三时长大于压缩反馈路径的信道占用持续时长,或者,第三时长小于压缩反馈路径的信道占用持续时长。Optionally, the third duration is greater than the duration of channel occupation of the compressed feedback path, or the third duration is less than the duration of channel occupation of the compressed feedback path.
可选的,第三时长的起始时间可以为信道占用持续时长的起始时间。Optionally, the start time of the third duration may be the start time of the channel occupation duration.
本发明实施例中,第三时长与第二时长可以相同也可以不同。In the embodiment of the present invention, the third duration and the second duration may be the same or different.
a6、超过第一时长。a6. Exceed the first time period.
可选的,超过第一时长为状态转换定时器超时,状态转换定时器的时长设置为第一时长。Optionally, if the first duration is exceeded, the state transition timer expires, and the duration of the state transition timer is set to the first duration.
可选的,在目标情况下,开启状态转换定时器;Optionally, in the target situation, start the state transition timer;
目标情况包括以下至少一种:The target situation includes at least one of the following:
压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻。The compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and at the first moment.
其中,第一时刻包括以下的至少一种时刻:Wherein, the first moment includes at least one of the following moments:
连续发送P个的完整数据包时,连续发送P个的完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知压缩反馈路径LBT失败时,以及获知压缩反馈路径LBT失败后。When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when the compressed feedback path LBT is known to fail, and the compressed feedback path LBT is known After the failure.
其中,P为大于或等于2的整数、Q为大于或等于1的整数。Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.
a7、终端设备处于非受控环境。a7. The terminal equipment is in an uncontrolled environment.
在非受控环境下,终端设备可以在发一个或多个完整数据包后,从非压缩态转换为压缩态,也即开始发送压缩数据包。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.
104、终端设备发送压缩数据包。104. The terminal device sends the compressed data packet.
本发明实施例中,在终端设备确定满足第一目标条件的情况下,此时终端设备可以从非压缩太转换为压缩态,即开始发送压缩数据包。In the embodiment of the present invention, when the terminal device determines that the first target condition is satisfied, the terminal device can switch from the uncompressed state to the compressed state at this time, that is, start to send compressed data packets.
相应的,在基站接收终端设备发送的压缩数据包之后,可以基于压缩数据包中的CID,以及预先保存在基站中的CID与上下文信息的关联关系,确定对应的上下文信息,并基于该上下文信息对压缩数据包进行恢复,以获取到完整的数据包信息。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 relationship between the CID and the context information pre-stored in the base station, and based on the context information Restore the compressed data packet to obtain complete data packet information.
本发明实施例中,在满足第一条件的情况下,实现从发送完整数据包切换至发送压缩数据包。其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送了N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息,以及超过第一时长,M为大于或等于2的整数,N为大于或等于1的整数。通过该方案,对传输EHC反馈信息的反馈路径进行载波侦听后,在载波被占用的情况下,虽然无法及时发送EHC反馈信息给压缩设备,但是压缩设备可以在第一条件下,触发切换发送数据包的状态,即实现从发送完整数据包切换至发送压缩数据包,或者实现从发送压缩数据包至发送完整数据包,从而可以提高发送数据包的速率。In the 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 realized. Wherein, the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. With 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 transmission under the first condition The state of the data packet is to switch 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, so as to increase the rate of sending data packets.
针对第二种情况:第一类数据包为压缩数据包,第二类数据包为完整数据包。For the second case: the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet.
结合图4,如图5所示,在上述104之后,可以包括105a和106a。With reference to FIG. 4, as shown in FIG. 5, after the above 104, it may include 105a and 106a.
105a、终端设备确定满足第二目标条件和第二条件。105a. The terminal device determines that the second target condition and the second condition are satisfied.
需要说明的是,可选的,上述105a也可以替换为终端设备确定满足第二目标条件和/或满足第二条件。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.
也就是说,本发明实施例中,可以在满足第二目标条件和第二条件中的任意一个时,进行状态切换,也即终端设备发送完整数据包。That is to say, in the embodiment of the present invention, the state switching can be performed when any one of the second target condition and the second condition is satisfied, that is, the terminal device sends a complete data packet.
第二目标条件包括以下至少一种:The second target condition includes at least one of the following:
b1、连续发送了M个压缩数据包。b1. M compressed data packets are continuously sent.
其中,M为大于或等于2的整数。Wherein, M is an integer greater than or equal to 2.
可选的,可以是指终端设备从发送压缩数据包开始,连续发送了M个压缩数据包。Optionally, it may mean that the terminal device has continuously sent M compressed data packets starting from sending the compressed data packet.
b2、发送了N个压缩数据包。b2. N compressed data packets are sent.
发送了N个压缩数据包可以包括两种可能的情况,一种可能的情况为:连续发送了N个压缩数据包;另一种可能的情况为:总共不连续的发送了N个压缩数据包。Sending N compressed data packets can include two possible situations. One possible situation is: N compressed data packets are sent continuously; the other possible situation is: N compressed data packets are sent discontinuously in total .
其中,N为大于或等于1的整数。Wherein, N is an integer greater than or equal to 1.
示例性的,在N为1时,可以理解为终端设备发送了第一个数据包,且该数据包是压缩数据包,也可以理解为终端设备发送了一个压缩数据包,但该压缩数据包并不是终端设备初始发送的第一个数据包。Exemplarily, when N is 1, it can be understood that the terminal device has sent the first data packet, and the data packet is a compressed data packet, and it can also be understood that the terminal device has sent a compressed data packet, but the compressed data packet It is not the first data packet initially sent by the terminal device.
b3、压缩反馈路径LBT成功。b3. The compression feedback path LBT is successful.
还包括通过以下至少一种信息获知压缩反馈路径LBT成功:It also includes knowing the success of the compressed feedback path LBT through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
压缩反馈路径的LBT检测信息包括:压缩反馈路径的信道占用时间,或者,压缩反馈路径的LBT成功指示。The LBT detection information of the compressed feedback path includes: the channel occupation time of the compressed feedback path, or the LBT success indication of the compressed feedback path.
b4、在第一预设时长内未接收到压缩反馈信息。b4. The compressed feedback information is not received within the first preset time period.
b5、在第二预设时长内接收到否定确认的压缩反馈信息。b5. The compressed feedback information of negative confirmation is received within the second preset time period.
需要说明的是,针对第二时长,第一预设时长和第二预设时长的描述可以参照上述第一种情况中的描述,此处不再赘述。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.
b6、超过第一时长。b6. Exceed the first time period.
超过第一时长为状态转换定时器超时,状态转换定时器的时长设置为第一时长。Exceeding 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.
可选的,状态转换定时器为在第二时刻开启的,第二时刻包括以下的至少一种时刻:Optionally, the state transition timer is started at a second moment, and the second moment includes at least one of the following moments:
连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境。When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And enter a controlled environment.
其中,X为大于或等于2的整数,Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.
可选的,第二条件为从发送完整数据包转换至发送压缩数据包是在满足第一条件的情况下触发的。Optionally, the second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
b7、终端设备处于受控环境。b7. The terminal equipment is in a controlled environment.
可选的,在终端设备处于受控环境下时,可以在发送一个或多个压缩数据包后,从非压缩态转换为压缩态,也即开始发送完整数据包。Optionally, when the terminal device is in a controlled environment, after sending one or more compressed data packets, it can be converted from the uncompressed state to the compressed state, that is, start to send the complete data packet.
106a、终端设备发送完整数据包。106a. The terminal device sends a complete data packet.
需要说明的是,上述105a和106a也可以不再上述104之后执行。也就是说105a和106a的方法可以应用在所有当前发送压缩数据包的场景,而不限于本发明实施例中的示例性解释。It should be noted that the above 105a and 106a may not be executed after the above 104. That is to say, the methods 105a and 106a can be applied to all current scenarios where compressed data packets are sent, and are not limited to the exemplary explanation in the embodiment of the present invention.
本发明实施例中,在满足第一条件的情况下,实现从发送压缩数据包切换至发送完整数据包。其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送了N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息,以及超过第一时长,M为大于或等于2的整数,N为大于或等于1的整数。通过该方案,对传输EHC反馈信息的反馈路径进行载波侦听后,在载波被占用的情况下,虽然无法及时发送EHC反馈信息给压缩设备,但是压缩设备可以在第一条件下,触发切换发送数据包的状态,即实现从发送完整数据包切换至发送压缩数据包,或者实现从发送压缩数据包至发送完整数据包,从而可以提高发送数据包的速率。In the 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 realized. Wherein, the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. With 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 transmission under the first condition The state of the data packet is to switch 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, so as to increase the rate of sending data packets.
进一步的,除了一种由于LBT失败转换终端设备到压缩状态(发送压缩数据包)后,又回退到非压缩状态发送完整数据包的方式,避免了压缩端判断失误导致的无法接受数据 包的完整信息的问题,保证了终端设备与基站之间数据传输的可靠性和灵活性。Further, except for a method in which the terminal device is switched to the compressed state (sending compressed data packets) due to the failure of LBT, and then reverts to the uncompressed state to send the complete data packet, which avoids the unacceptable data packet caused by the judgment error of the compression end The issue of complete information ensures the reliability and flexibility of data transmission between terminal equipment and base stations.
另外,针对第二种情况,还存在在从发送完整数据包切换为发送压缩数据包之后,在满足上述第二目标条件的情况下,依然发送压缩数据包的可能的实现方式。In addition, for the second case, after switching from sending a complete data packet to sending a compressed data packet, there is a possible implementation manner in which the compressed data packet is still sent when the above-mentioned second target condition is met.
结合图4,如图6所示,在上述104之后,本发明实施例提供的发送数据包的方法还可以包括105b和106b。With reference to FIG. 4, as shown in FIG. 6, 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.
105b、终端设备确定满足第二条件,且在第二预设时长内收到肯定确认的压缩反馈信息。105b. The terminal device determines that the second condition is met, and receives positively confirmed compressed feedback information within the second preset time period.
106b、终端设备发送压缩数据包。106b. The terminal device sends the compressed data packet.
也就是说,本发明实施例中,在基于第一目标条件从发送完整数据包切换为发送压缩数据包之后,若在第二预设时长内收到肯定确认的压缩反馈信息,那么基站可以继续发送压缩数据包。That is to say, 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 of compressed feedback information is received within the second preset time period, the base station can continue Send compressed data packets.
本发明实施例提供的发送数据包的方法,提供了一种灵活发送数据包的机制,可以提高发送数据包的速率。The method for sending data packets provided by the embodiments of the present invention provides a mechanism for flexibly sending data packets, which can increase the rate of sending data packets.
如图7所示,本发明实施例提供一种压缩设备,该压缩设备包括:As shown in FIG. 7, an embodiment of the present invention provides a compression device, and the compression device includes:
发送模块201,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;The sending module 201 is configured to send a first type of data packet; if the first condition is met, send a second type of data packet;
其中,第一条件包括以下的至少一种:连续发送M个第一类数据包、发送了N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息,以及超过第一时长;Wherein, the first condition includes at least one of the following: consecutively sending M first-class data packets, sending N first-class data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information is received within the second preset time period, and the first time period is exceeded;
第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
可选的,第一类数据包为完整数据包,第二类数据包为压缩数据包,或者,第一类数据包为压缩数据包,第二类数据包为完整数据包。Optionally, the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet.
可选的,在第一预设时长内未接收到压缩反馈信息包括以下至少一种:Optionally, the compression feedback information not received within the first preset time period includes at least one of the following:
在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息;The compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
第一预设时长为压缩反馈路径的信道占用持续时长,或者,第一预设时长为第二时长。The first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
可选的,超过第一时长为状态转换定时器超时,状态转换定时器的时长设置为第一时长。Optionally, if the first duration is exceeded, the state transition timer expires, and the duration of the state transition timer is set to the first duration.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,压缩设备还包括: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:
处理模块202,用于在目标情况下,开启状态转换定时器;The processing module 202 is used to start the state transition timer in the target situation;
目标情况包括以下至少一种:The target situation includes at least one of the following:
压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻。The compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and at the first moment.
其中,第一时刻包括以下的至少一种时刻:Wherein, the first moment includes at least one of the following moments:
连续发送P个的完整数据包时,连续发送P个的完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知压缩反馈路径LBT失败时,以及获知压缩反馈路径LBT失败后;When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when the compressed feedback path LBT is known to fail, and the compressed feedback path LBT is known After failure
其中,P为大于或等于2的整数、Q为大于或等于1的整数。Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.
可选的,处理器,还用于通过以下至少一种信息获知压缩反馈路径LBT失败:Optionally, the processor is further configured to learn that the compression feedback path LBT fails through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
可选的,压缩反馈路径的LBT检测信息包括以下至少一种:Optionally, the LBT detection information of the compressed feedback path includes at least one of the following:
压缩反馈路径的信道占用时间和压缩反馈路径的LBT失败指示。The channel occupation time of the compressed feedback path and the LBT failure indication of the compressed feedback path.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,在第二预设 时长内接收到预定的压缩反馈信息包括: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 the predetermined compression feedback information within the second preset time period includes:
在第二预设时长内接收到肯定确认的压缩反馈信息;Affirmatively confirmed compressed feedback information is received within the second preset time period;
第二预设时长为压缩反馈路径的信道占用持续时长,或者,第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,压缩反馈路径LBT结果为压缩反馈路径LBT失败。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 compressed feedback path LBT result is that the compressed feedback path LBT fails.
可选的,压缩设备还包括:Optionally, the compression device also includes:
接收模块203,用于在发送模块201发送第一类数据包之前,接收压缩配置信息,压缩配置信息用于指示是否对数据包进行压缩;The receiving module 203 is configured 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;
发送模块201,具体用于若压缩配置信息用于指示对数据包进行压缩,则发送完整数据包。The sending module 201 is specifically configured to send a complete data packet if the compression configuration information is used to instruct to compress the data packet.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,状态转换定时器为在第二时刻开启的,第二时刻包括以下的至少一种时刻: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 the second moment, and the second moment includes at least one of the following moments:
连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境。When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And enter a controlled environment.
其中,X为大于或等于2的整数,Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.
可选的,还包括:Optionally, it also includes:
处理模块202,用于通过以下至少一种信息获知压缩反馈路径LBT成功:The processing module 202 is configured to learn that the compression feedback path LBT is successful through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
可选的,压缩反馈路径的LBT检测信息包括:压缩反馈路径的信道占用时间,或者,压缩反馈路径的LBT成功指示。Optionally, the LBT detection information of the compressed feedback path includes: the channel occupation time of the compressed feedback path, or the LBT success indication of the compressed feedback path.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,在第二预设时长内接收到预定的压缩反馈信息包括: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:
在第二预设时长内接收到否定确认的压缩反馈信息;The compressed feedback message of negative confirmation is received within the second preset time period;
第二预设时长为压缩反馈路径的信道占用持续时长,或者,第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,压缩反馈路径LBT结果为压缩反馈路径LBT成功。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 compressed feedback path LBT result is that the compressed feedback path LBT succeeds.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,发送模块201,具体用于在满足第一条件和第二条件的情况下,发送完整数据包;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 ;
第二条件为从发送完整数据包转换至发送压缩数据包是在满足第一条件的情况下触发的。The second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
可选的,信道占用时间包括以下至少两种:Optionally, the channel occupation time includes at least two of the following:
信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
可选的,压缩反馈信息包括:以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息或上行数据压缩UDC反馈信息中的一种。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.
如图8所示,本发明实施例提供一种压缩设备,该压缩设备包括:As shown in FIG. 8, an embodiment of the present invention provides a compression device, and the compression device includes:
存储有可执行程序代码的存储器301;A memory 301 storing executable program codes;
与存储器301耦合的处理器302;A processor 302 coupled with the memory 301;
处理器302调用存储器301中存储的可执行程序代码,执行本发明实施例中的发送数据包的方法。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.
本发明实施例中的压缩设备可以为手机。如图9所示,手机可以包括:射频(radio frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电 源1190等部件。其中,射频电路1110包括接收器1111和发送器1112。本领域技术人员可以理解,图9中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The compression device in the embodiment of the present invention may be a mobile phone. As shown in FIG. 9, the mobile phone may include: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, The processor 1180, and the power supply 1190 and other components. The radio frequency circuit 1110 includes a receiver 1111 and a transmitter 1112. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 9 does not constitute a limitation on the mobile phone, and may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements.
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1180处理;另外,将设计上行的数据发送给基站。通常,RF电路1110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(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)、电子邮件、短消息服务(short messaging service,SMS)等。The RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1180; 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, and the like. In addition, the RF circuit 1110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division multiple access, GSM) multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1120 may 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 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元1130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触控面板1131以及其他输入设备1132。触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上或在触控面板1131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1130 may be used to receive inputted digital or character information, and generate key signal input related to 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 called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connection device according to the preset 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 position, 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 contact coordinates, and then sends it To the processor 1180, and can receive and execute the commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. 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 buttons, switch buttons, etc.), trackball, mouse, and joystick.
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1140可包括显示面板1141,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-Emitting diode,OLED)等形式来配置显示面板1141。进一步的,触控面板1131可覆盖显示面板1141,当触控面板1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图9中,触控面板1131与显示面板1141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1131与显示面板1141集成而实现手机的输入和输出功能。The display unit 1140 may 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 can cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it transmits it to the processor 1180 to determine the type of touch event, and then the processor 1180 responds to the touch event. The type provides corresponding visual output on the display panel 1141. Although in FIG. 9, the touch panel 1131 and the display panel 1141 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴) 加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。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. The ambient light sensor can adjust the brightness of the display panel 1141 according to the brightness of the ambient light. The proximity sensor can close the display panel 1141 and/or when the mobile phone is moved to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when it is stationary, and can be used to identify mobile phone posture applications (such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, percussion), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in mobile phones, I won’t be here anymore. Go into details.
音频电路1160、扬声器1161,传声器1162可提供用户与手机之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一手机,或者将音频数据输出至存储器1120以便进一步处理。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 electrical signal converted from the received audio data to the speaker 1161, which is converted into a sound signal by the speaker 1161 for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After being received, it is converted into audio data, and then processed by the audio data output processor 1180, and sent to, for example, another mobile phone via the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图15示出了WiFi模块1170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance 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. It 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.
处理器1180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1180可包括一个或多个处理单元;优选的,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。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. Various functions and processing data of the mobile phone can be used to monitor 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, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1180.
手机还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。The mobile phone also includes a power source 1190 (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor 1180 through a power management system, so that functions such as charging, discharging, and power management are realized through the power management system. Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
在本发明实施例中,RF电路1110,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;In the embodiment of the present invention, the RF circuit 1110 is used to send a first type of data packet; when the first condition is met, the second type of data packet is sent;
其中,第一条件包括以下的至少一种:连续发送M个的第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及所处环境是否受控;Wherein, the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the feedback path LBT result, and not receiving compressed feedback within the first preset time period Information, the predetermined compressed feedback information received within the second preset time period, the first time period is exceeded, and whether the environment is controlled;
第一时长为触发从发送第一类数据包切换为发送第二类数据包的等待时长,M为大于或等于2的整数,N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to the second type data packet, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1.
可选的,第一类数据包为完整数据包,第二类数据包为压缩数据包,或者,第一类数据包为压缩数据包,第二类数据包为完整数据包。Optionally, the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet.
可选的,在第一预设时长内未接收到压缩反馈信息包括以下至少一种:Optionally, the compression feedback information not received within the first preset time period includes at least one of the following:
在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息;The compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
第一预设时长为压缩反馈路径的信道占用持续时长,或者,第一预设时长为第二时长。The first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
可选的,超过第一时长为状态转换定时器超时,状态转换定时器的时长设置为第一时长。Optionally, if the first duration is exceeded, the state transition timer expires, and the duration of the state transition timer is set to the first duration.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,处理器1180,用于在目标情况下,开启状态转换定时器;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 the state transition timer in the target situation;
目标情况包括以下至少一种:The target situation includes at least one of the following:
压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻;The compressed feedback path is the carrier in the unlicensed spectrum, the terminal equipment is in an uncontrolled environment and is in the first moment;
第一时刻包括以下的至少一种时刻:The first moment includes at least one of the following moments:
连续发送P个的完整数据包时,连续发送P个的完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知压缩反馈路径先侦听后传输LBT失败时,以及获知压缩 反馈路径LBT失败后。When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when it is learned that the compression feedback path listens first and then fails to transmit LBT, and After learning that the compression feedback path LBT has failed.
其中,P为大于或等于2的整数、Q为大于或等于1的整数。Wherein, P is an integer greater than or equal to 2, and Q is an integer greater than or equal to 1.
可选的,处理器1180,还用于通过以下至少一种信息获知压缩反馈路径LBT失败:Optionally, the processor 1180 is further configured to learn that the compression feedback path LBT fails through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
可选的,压缩反馈路径的LBT检测信息包括以下至少一种:Optionally, the LBT detection information of the compressed feedback path includes at least one of the following:
压缩反馈路径的信道占用时间和压缩反馈路径的LBT失败指示。The channel occupation time of the compressed feedback path and the LBT failure indication of the compressed feedback path.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,在第二预设时长内接收到预定的压缩反馈信息包括: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:
在第二预设时长内接收到肯定确认的压缩反馈信息;Affirmatively confirmed compressed feedback information is received within the second preset time period;
第二预设时长为压缩反馈路径的信道占用持续时长,或者,第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
可选的,在第一类数据包为完整数据包,第二类数据包为压缩数据包时,压缩反馈路径LBT结果为压缩反馈路径LBT失败。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 compressed feedback path LBT result is that the compressed feedback path LBT fails.
可选的,还包括:Optionally, it also includes:
RF电路1110,用于在发送器发送第一类数据包之前,接收压缩配置信息,压缩配置信息用于指示是否对数据包进行压缩;The RF circuit 1110 is configured 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;
RF电路1110,具体用于若压缩配置信息用于指示对数据包进行压缩,则发送完整数据包。The RF circuit 1110 is specifically configured to send a complete data packet if the compression configuration information is used to indicate to compress the data packet.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,状态转换定时器为在第二时刻开启的,第二时刻包括以下的至少一种时刻: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 the second moment, and the second moment includes at least one of the following moments:
连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境。When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And enter a controlled environment.
其中,X为大于或等于2的整数,Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and Y is an integer greater than or equal to 1.
可选的,处理器1180,用于通过以下至少一种信息获知压缩反馈路径LBT成功:Optionally, the processor 1180 is configured to learn that the compressed feedback path LBT is successful through at least one of the following information:
共享信道占用时间和压缩反馈路径的LBT检测信息。Shared channel occupancy time and compressed feedback path LBT detection information.
可选的,压缩反馈路径的LBT检测信息包括以下至少一种:Optionally, the LBT detection information of the compressed feedback path includes at least one of the following:
压缩反馈路径的信道占用时间和压缩反馈路径的LBT成功指示。The channel occupation time of the compressed feedback path and the LBT success indication of the compressed feedback path.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,在第二预设时长内接收到预定的压缩反馈信息包括: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:
在第二预设时长内接收到否定确认的压缩反馈信息;The compressed feedback message of negative confirmation is received within the second preset time period;
第二预设时长为压缩反馈路径的信道占用持续时长,或者,第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,压缩反馈路径LBT结果为压缩反馈路径LBT成功。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 compressed feedback path LBT result is that the compressed feedback path LBT succeeds.
可选的,在第一类数据包为压缩数据包,第二类数据包为完整数据包时,发送器,具体用于在满足第一条件和第二条件的情况下,发送完整数据包;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;
第二条件为从发送完整数据包转换至发送压缩数据包是在满足第一条件的情况下触发的。The second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
可选的,信道占用时间包括以下至少两种:Optionally, the channel occupation time includes at least two of the following:
信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
可选的,压缩反馈信息包括:以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息或上行数据压缩UDC反馈信息中的一种。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.
本发明实施例中,压缩设备可以实现方法实施例中的所有过程,并且能够达到相同的技术效果,对于压缩设备的技术效果的描述,可以参照方法实施例中对技术效果的描述,此处不再赘述。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, refer to the description of the technical effect in the method embodiment. Go into details again.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present invention are 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. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, without having to use To describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in a sequence other than the content illustrated or described herein. In addition, the terms "including" and "having" and any variations of them 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 clearly listed. Those steps or units may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.

Claims (55)

  1. 一种发送数据包的方法,其特征在于,包括:A method for sending data packets, which is characterized in that it includes:
    发送第一类数据包;Send the first type of data packet;
    在满足第一条件的情况下,发送第二类数据包;In the case that the first condition is met, the second type of data packet is sent;
    其中,所述第一条件包括以下的至少一种:连续发送M个的第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及终端设备是否处于非受控环境;Wherein, the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the LBT result of the feedback path, and not receiving within the first preset time period Compressed feedback information, received predetermined compressed feedback information within a second preset time period, exceeded the first time period, and whether the terminal device is in an uncontrolled environment;
    所述第一时长为触发从发送所述第一类数据包切换为发送所述第二类数据包的等待时长,所述M为大于或等于2的整数,所述N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to sending the second type data packet, the M is an integer greater than or equal to 2, and the N is greater than or equal to 1. Integer.
  2. 根据权利要求1所述的方法,其特征在于,所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包,或者,所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包。The method according to claim 1, wherein the first type of data packet is a complete data packet, the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data packet , The second type of data packet is a complete data packet.
  3. 根据权利要求1或2所述的方法,其特征在于,在第一预设时长内未接收到压缩反馈信息包括以下一种:The method according to claim 1 or 2, wherein the compression feedback information not received within the first preset time period comprises one of the following:
    在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息;The compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
    所述第一预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第一预设时长为第二时长。The first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述超过第一时长为状态转换定时器超时,所述状态转换定时器的时长设置为所述第一时长。The method according to any one of claims 1 to 3, wherein the exceeding the first duration is a state transition timer timeout, and the duration of the state transition timer is set to the first duration.
  5. 根据权利要求4所述的方法,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述方法还包括:在目标情况下,开启所述状态转换定时器;The method according to claim 4, wherein 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 comprises: in the target case, Start the state transition timer;
    所述目标情况包括以下至少一种:The target situation includes at least one of the following:
    所述压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻;The compressed feedback path is the carrier in the unlicensed spectrum, and the terminal device is in an uncontrolled environment and at the first moment;
    其中,所述第一时刻包括以下的至少一种时刻:Wherein, the first moment includes at least one of the following moments:
    连续发送P个完整数据包时,连续发送P个完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知所述压缩反馈路径先侦听后传输LBT失败时,以及获知所述压缩反馈路径LBT失败后;When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when it is learned that the compression feedback path first listens and then fails to transmit LBT, and After learning that the compression feedback path LBT fails;
    其中,所述P为大于或等于2的整数、所述Q为大于或等于1的整数。Wherein, the P is an integer greater than or equal to 2, and the Q is an integer greater than or equal to 1.
  6. 根据权利要求5所述的方法,其特征在于,还包括通过以下至少一种信息获知所述压缩反馈路径LBT失败:The method according to claim 5, further comprising learning that the compressed feedback path LBT fails through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  7. 根据权利要求6所述的方法,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The method according to claim 6, wherein the LBT detection information of the compressed feedback path includes at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT失败指示。The channel occupation time of the compressed feedback path and the LBT failure indication of the compressed feedback path.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The method according to any one of claims 1 to 7, wherein 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 It is assumed that the predetermined compression feedback information received within the time period includes:
    在第二预设时长内接收到肯定确认的压缩反馈信息;Affirmatively confirmed compressed feedback information is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时 长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述压缩反馈路径LBT结果为压缩反馈路径LBT失败。The method according to any one of claims 1 to 8, wherein 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 compressed feedback path LBT The result is that the compression feedback path LBT fails.
  10. 根据权利要求1至9任一项所述的方法,其特征在于,所述发送第一类数据包之前,所述方法还包括:The method according to any one of claims 1 to 9, characterized in that, before the sending the first-type data packet, the method further comprises:
    接收压缩配置信息,所述压缩配置信息用于指示是否对数据包进行压缩;Receiving compression configuration information, where the compression configuration information is used to indicate whether to compress the data packet;
    所述发送第一类数据包,包括:The sending of the first type of data packet includes:
    若所述压缩配置信息用于指示对数据包进行压缩,则发送所述完整数据包。If the compression configuration information is used to indicate to compress the data packet, the complete data packet is sent.
  11. 根据权利要求4所述的方法,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述状态转换定时器为在第二时刻开启的,所述第二时刻包括以下的至少一种时刻:The method according to claim 4, wherein 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 set to be at the second moment When turned on, the second moment includes at least one of the following moments:
    连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境;When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And access to a controlled environment;
    其中,X为大于或等于2的整数,所述Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and the Y is an integer greater than or equal to 1.
  12. 根据权利要求11所述的方法,其特征在于,还包括通过以下至少一种信息获知压缩反馈路径LBT成功:The method according to claim 11, further comprising learning that the compressed feedback path LBT is successful through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  13. 根据权利要求12所述的方法,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The method according to claim 12, wherein the LBT detection information of the compressed feedback path includes at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT成功指示。The channel occupation time of the compressed feedback path and the LBT success indication of the compressed feedback path.
  14. 根据权利要求1至4任一项所述的方法,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The method according to any one of claims 1 to 4, wherein 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 It is assumed that the predetermined compression feedback information received within the time period includes:
    在第二预设时长内接收到否定确认的压缩反馈信息;The compressed feedback message of negative confirmation is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  15. 根据权利要求1至4任一项所述的方法,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时;The method according to any one of claims 1 to 4, wherein when the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet;
    所述压缩反馈路径LBT结果为所述压缩反馈路径LBT成功。The result of the compressed feedback path LBT is that the compressed feedback path LBT succeeds.
  16. 根据权利要求1至4任一项所述的方法,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述在满足第一条件的情况下,发送第二类数据包,包括:The method according to any one of claims 1 to 4, wherein 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 In the case of conditions, send the second type of data packet, including:
    在满足所述第一条件和第二条件的情况下,发送完整数据包;If the first condition and the second condition are met, send a complete data packet;
    所述第二条件为从发送完整数据包转换至发送压缩数据包是在满足所述第一条件的情况下触发的。The second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  17. 根据权利要求7或13所述的方法,所述信道占用时间包括以下至少两种:According to the method of claim 7 or 13, the channel occupation time includes at least two of the following:
    信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  18. 根据权利要求1至17任一项所述的方法,其特征在于,所述压缩反馈信息包括:以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息和上行数据压缩UDC反馈信息中的一种。The method according to any one of claims 1 to 17, wherein the compression feedback information includes one of Ethernet header compression EHC feedback information, robust header compression ROHC feedback information, and uplink data compression UDC feedback information. kind.
  19. 一种压缩设备,其特征在于,包括:A compression device, characterized in that it comprises:
    发送模块,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;The sending module is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
    其中,所述第一条件包括以下的至少一种:连续发送M个的第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及终端设备处于非受控环境;Wherein, the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the LBT result of the feedback path, and not receiving within the first preset time period Compressed feedback information, received predetermined compressed feedback information within a second preset time period, exceeded the first time period, and the terminal device is in an uncontrolled environment;
    所述第一时长为触发从发送所述第一类数据包切换为发送所述第二类数据包的等待时长,所述M为大于或等于2的整数,所述N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to sending the second type data packet, the M is an integer greater than or equal to 2, and the N is greater than or equal to 1. Integer.
  20. 根据权利要求19所述的压缩设备,其特征在于,所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包,或者,所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包。The compression device according to claim 19, wherein the first type of data packet is a complete data packet, the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data Package, the second type of data package is a complete data package.
  21. 根据权利要求19或20所述的压缩设备,其特征在于,在第一预设时长内未接收到压缩反馈信息包括以下至少一种:The compression device according to claim 19 or 20, wherein the compression feedback information not received within the first preset time period comprises at least one of the following:
    在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息;The compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
    所述第一预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第一预设时长为第二时长。The first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  22. 根据权利要求19至21所述的压缩设备,其特征在于,所述超过第一时长为状态转换定时器超时,所述状态转换定时器的时长设置为所述第一时长。The compression device according to claims 19 to 21, wherein the exceeding the first duration is a state transition timer timeout, and the duration of the state transition timer is set to the first duration.
  23. 根据权利要求22所述的压缩设备,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述压缩设备还包括:The compression device according to claim 22, wherein 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 comprises:
    处理模块,用于在目标情况下,开启所述状态转换定时器;A processing module, which is used to start the state transition timer in the target situation;
    所述目标情况包括以下至少一种:The target situation includes at least one of the following:
    所述压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻;The compressed feedback path is the carrier in the unlicensed spectrum, and the terminal device is in an uncontrolled environment and at the first moment;
    其中,所述第一时刻包括以下的至少一种时刻:Wherein, the first moment includes at least one of the following moments:
    连续发送P个完整数据包时,连续发送P个完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知所述压缩反馈路径先侦听后传输LBT失败时,以及获知所述压缩反馈路径LBT失败后;When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when it is learned that the compression feedback path first listens and then fails to transmit LBT, and After learning that the compression feedback path LBT fails;
    其中,所述P为大于或等于2的整数、所述Q为大于或等于1的整数。Wherein, the P is an integer greater than or equal to 2, and the Q is an integer greater than or equal to 1.
  24. 根据权利要求23所述的压缩设备,其特征在于,The compression device according to claim 23, wherein:
    所述处理器,还用于通过以下至少一种信息获知所述压缩反馈路径LBT失败:The processor is further configured to learn that the compressed feedback path LBT fails through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  25. 根据权利要求24所述的压缩设备,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The compression device according to claim 24, wherein the LBT detection information of the compression feedback path includes at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT失败指示。The channel occupation time of the compressed feedback path and the LBT failure indication of the compressed feedback path.
  26. 根据权利要求19至25任一项所述的压缩设备,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The compression device according to any one of claims 19 to 25, wherein 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 second type of data packet is The predetermined compressed feedback information received within the preset time period includes:
    在第二预设时长内接收到肯定确认的压缩反馈信息;Affirmatively confirmed compressed feedback information is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  27. 根据权利要求19至26任一项所述的压缩设备,其特征在于,所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包;The compression device according to any one of claims 19 to 26, wherein the first type of data packet is a complete data packet, and the second type of data packet is a compressed data packet;
    所述压缩反馈路径LBT结果为压缩反馈路径LBT失败。The result of the compressed feedback path LBT is that the compressed feedback path LBT fails.
  28. 根据权利要求19至27任一项所述的压缩设备,其特征在于,所述压缩设备还包括:The compression device according to any one of claims 19 to 27, wherein the compression device further comprises:
    接收模块,用于在发送模块发送第一类数据包之前,接收压缩配置信息,所述压缩配置信息用于指示是否对数据包进行压缩;The receiving module is configured to receive compression configuration information before the sending module sends the first type of data packet, where the compression configuration information is used to indicate 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.
  29. 根据权利要求22所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述状态转换定时器为在第二时刻开启的,所述第二时刻包括以下的至少一种时刻:The compression device according to claim 22, wherein 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 set to be in the second type. When the time is on, the second time includes at least one of the following:
    连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境;When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And access to a controlled environment;
    其中,X为大于或等于2的整数,所述Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and the Y is an integer greater than or equal to 1.
  30. 根据权利要求29所述的压缩设备,其特征在于,还包括:The compression device according to claim 29, further comprising:
    处理模块,用于通过以下至少一种信息获知压缩反馈路径LBT成功:The processing module is used to learn that the compression feedback path LBT is successful through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  31. 根据权利要求30所述的压缩设备,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The compression device according to claim 30, wherein the LBT detection information of the compression feedback path includes at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT成功指示。The channel occupation time of the compressed feedback path and the LBT success indication of the compressed feedback path.
  32. 根据权利要求19至22任一项所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The compression device according to any one of claims 19 to 22, wherein 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 second type of data packet is The predetermined compressed feedback information received within the preset time period includes:
    在第二预设时长内接收到否定确认的压缩反馈信息;The compressed feedback message of negative confirmation is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  33. 根据权利要求19至22任一项所述的压缩设备,其特征在于,所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包;The compression device according to any one of claims 19 to 22, wherein the first type of data packet is a compressed data packet, and the second type of data packet is a complete data packet;
    所述压缩反馈路径LBT结果为所述压缩反馈路径LBT成功。The result of the compressed feedback path LBT is that the compressed feedback path LBT succeeds.
  34. 根据权利要求19至22任一项所述的压缩设备,其特征在于,所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包;The compression device according to any one of claims 19 to 22, wherein 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 is specifically configured to send a complete data packet when the first condition and the second condition are met;
    所述第二条件为从发送完整数据包转换至发送压缩数据包是在满足所述第一条件的情况下触发的。The second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  35. 根据权利要求25或31所述的压缩设备,其特征在于,所述信道占用时间包括以下至少两种:The compression device according to claim 25 or 31, wherein the channel occupation time includes at least two of the following:
    信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  36. 根据权利要求19至35任一项所述的压缩设备,其特征在于,所述压缩反馈信息包括:以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息和上行数据压缩UDC反馈信息中的一种。The compression device according to any one of claims 19 to 35, wherein the compression feedback information includes: Ethernet header compression EHC feedback information, robust header compression ROHC feedback information, and uplink data compression UDC feedback information. A sort of.
  37. 一种压缩设备,其特征在于,包括:A compression device, characterized in that it comprises:
    发送器,用于发送第一类数据包;在满足第一条件的情况下,发送第二类数据包;The transmitter is used to send the first type of data packet; when the first condition is met, the second type of data packet is sent;
    其中,所述第一条件包括以下的至少一种:连续发送M个的第一类数据包、发送N个第一类数据包、压缩反馈路径LBT结果、在第一预设时长内未接收到压缩反馈信息、在第二预设时长内接收到预定的压缩反馈信息、超过第一时长,以及终端设备处于非受控环境;Wherein, the first condition includes at least one of the following: continuously sending M first type data packets, sending N first type data packets, compressing the LBT result of the feedback path, and not receiving within the first preset time period Compressed feedback information, received predetermined compressed feedback information within a second preset time period, exceeded the first time period, and the terminal device is in an uncontrolled environment;
    所述第一时长为触发从发送所述第一类数据包切换为发送所述第二类数据包的等待时长,所述M为大于或等于2的整数,所述N为大于或等于1的整数。The first duration is the waiting duration for triggering the switch from sending the first type data packet to sending the second type data packet, the M is an integer greater than or equal to 2, and the N is greater than or equal to 1. Integer.
  38. 根据权利要求37所述的压缩设备,其特征在于,所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包,或者,所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包。The compression device according to claim 37, wherein the first type of data packet is a complete data packet, the second type of data packet is a compressed data packet, or the first type of data packet is a compressed data Package, the second type of data package is a complete data package.
  39. 根据权利要求37或38所述的压缩设备,其特征在于,在第一预设时长内未接收到压缩反馈信息包括以下至少一种:The compression device according to claim 37 or 38, wherein the compression feedback information not received within the first preset time period comprises at least one of the following:
    在第一预设时长内未收到肯定确认的压缩反馈信息、在第一预设时长内未接收到否定确认的压缩反馈信息;The compressed feedback information with a positive confirmation is not received within the first preset time period, and the compressed feedback information with a negative confirmation is not received within the first preset time period;
    所述第一预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第一预设时长为第二时长。The first preset duration is the duration of channel occupation of the compressed feedback path, or the first preset duration is the second duration.
  40. 根据权利要求37至39任一项所述的压缩设备,其特征在于,所述超过第一时长为状态转换定时器超时,所述状态转换定时器的时长设置为所述第一时长。The compression device according to any one of claims 37 to 39, wherein the exceeding the first duration is a state transition timer timeout, and the duration of the state transition timer is set to the first duration.
  41. 根据权利要求40所述的压缩设备,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述压缩设备还包括:The compression device according to claim 40, wherein 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 comprises:
    处理器,用于在目标情况下,开启所述状态转换定时器;A processor, configured to start the state transition timer in a target situation;
    所述目标情况包括以下至少一种:The target situation includes at least one of the following:
    所述压缩反馈路径为非授权频谱中的载波、终端设备处于非受控环境和处于第一时刻;其中,所述第一时刻包括以下的至少一种时刻:The compressed feedback path is the carrier in the unlicensed spectrum, the terminal device is in an uncontrolled environment and at the first moment; wherein, the first moment includes at least one of the following moments:
    连续发送P个完整数据包时,连续发送P个完整数据包后、发送Q个完整数据包时、发送Q个完整数据包后、获知所述压缩反馈路径先侦听后传输LBT失败时,以及获知所述压缩反馈路径LBT失败后;When P complete data packets are continuously sent, after P complete data packets are continuously sent, Q complete data packets are sent, Q complete data packets are sent, when it is learned that the compression feedback path first listens and then fails to transmit LBT, and After learning that the compression feedback path LBT fails;
    其中,所述P为大于或等于2的整数、所述Q为大于或等于1的整数。Wherein, the P is an integer greater than or equal to 2, and the Q is an integer greater than or equal to 1.
  42. 根据权利要求41所述的压缩设备,其特征在于,The compression device according to claim 41, wherein:
    所述处理器,还用于通过以下至少一种信息获知所述压缩反馈路径LBT失败:The processor is further configured to learn that the compressed feedback path LBT fails through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  43. 根据权利要求42所述的压缩设备,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The compression device according to claim 42, wherein the LBT detection information of the compression feedback path includes at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT失败指示。The channel occupation time of the compressed feedback path and the LBT failure indication of the compressed feedback path.
  44. 根据权利要求37至43任一项所述的压缩设备,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The compression device according to any one of claims 37 to 43, wherein 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 second type of data packet is a compressed data packet. The predetermined compressed feedback information received within the preset time period includes:
    在第二预设时长内接收到肯定确认的压缩反馈信息;Affirmatively confirmed compressed feedback information is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  45. 根据权利要求37至44任一项所述的压缩设备,其特征在于,在所述第一类数据包为完整数据包,所述第二类数据包为压缩数据包时,所述压缩反馈路径LBT结果为压缩反馈路径LBT失败。The compression device according to any one of claims 37 to 44, wherein 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 The LBT result is that the compression feedback path LBT fails.
  46. 根据权利要求37至45任一项所述的压缩设备,其特征在于,所述压缩设备还包括:The compression device according to any one of claims 37 to 45, wherein the compression device further comprises:
    接收器,用于在发送器发送第一类数据包之前,接收压缩配置信息,所述压缩配置信息用于指示是否对数据包进行压缩;The receiver is configured 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;
    所述发送器,具体用于若所述压缩配置信息用于指示对数据包进行压缩,则发送所述完整数据包。The transmitter is specifically configured to send the complete data packet if the compression configuration information is used to instruct to compress the data packet.
  47. 根据权利要求40所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述状态转换定时器为在第二时刻开启的,所 述第二时刻包括以下的至少一种时刻:The compression device according to claim 40, wherein 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 set to be in the second type. When the time is on, the second time includes at least one of the following:
    连续发送X个压缩数据包时,连续发送X个压缩数据包后,发送Y个压缩数据包时、发送Y个压缩数据包后、获知压缩反馈路径LBT成功时、获知压缩反馈路径LBT成功后,以及进入受控环境;When X compressed data packets are sent continuously, after X compressed data packets are sent continuously, Y compressed data packets are sent, Y compressed data packets are sent, when the compressed feedback path LBT is learned, and the compressed feedback path LBT is learned successfully, And access to a controlled environment;
    其中,X为大于或等于2的整数,所述Y为大于或等于1的整数。Wherein, X is an integer greater than or equal to 2, and the Y is an integer greater than or equal to 1.
  48. 根据权利要求47所述的压缩设备,其特征在于,还包括:The compression device according to claim 47, further comprising:
    处理器,用于通过以下至少一种信息获知压缩反馈路径LBT成功:The processor is configured to learn that the compression feedback path LBT is successful through at least one of the following information:
    共享信道占用时间和所述压缩反馈路径的LBT检测信息。Shared channel occupancy time and LBT detection information of the compressed feedback path.
  49. 根据权利要求48所述的压缩设备,其特征在于,所述压缩反馈路径的LBT检测信息包括以下至少一种:The compression device according to claim 48, wherein the LBT detection information of the compression feedback path comprises at least one of the following:
    所述压缩反馈路径的信道占用时间和所述压缩反馈路径的LBT成功指示。The channel occupation time of the compressed feedback path and the LBT success indication of the compressed feedback path.
  50. 根据权利要求37至40任一项所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述在第二预设时长内接收到预定的压缩反馈信息包括:The compression device according to any one of claims 37 to 40, wherein 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 second type of data packet is The predetermined compressed feedback information received within the preset time period includes:
    在第二预设时长内接收到否定确认的压缩反馈信息;The compressed feedback message of negative confirmation is received within the second preset time period;
    所述第二预设时长为所述压缩反馈路径的信道占用持续时长,或者,所述第二预设时长为第三时长。The second preset duration is the duration of channel occupation of the compressed feedback path, or the second preset duration is the third duration.
  51. 根据权利要求37至40任一项所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述压缩反馈路径LBT结果为所述压缩反馈路径LBT成功。The compression device according to any one of claims 37 to 40, wherein 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 compression feedback path The LBT result is that the compressed feedback path LBT succeeds.
  52. 根据权利要求37至40任一项所述的压缩设备,其特征在于,在所述第一类数据包为压缩数据包,所述第二类数据包为完整数据包时,所述发送器,具体用于在满足所述第一条件和第二条件的情况下,发送完整数据包;The compression device according to any one of claims 37 to 40, wherein 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, Specifically used to send a complete data packet when the first condition and the second condition are met;
    所述第二条件为从发送完整数据包转换至发送压缩数据包是在满足所述第一条件的情况下触发的。The second condition is that the transition from sending a complete data packet to sending a compressed data packet is triggered when the first condition is met.
  53. 根据权利要求43或49所述的压缩设备,其特征在于,所述信道占用时间包括以下至少两种:The compression device according to claim 43 or 49, wherein the channel occupation time includes at least two of the following:
    信道占用的起始时间、信道占用的终止时间和信道占用持续时长。The start time of channel occupation, the end time of channel occupation, and the duration of channel occupation.
  54. 根据权利要求37至53任一项所述的压缩设备,其特征在于,所述压缩反馈信息包括:以太网包头压缩EHC反馈信息、健壮性包头压缩ROHC反馈信息和上行数据压缩UDC反馈信息中的一种。The compression device according to any one of claims 37 to 53, wherein the compression feedback information includes: Ethernet header compression EHC feedback information, robust header compression ROHC feedback information, and uplink data compression UDC feedback information. A sort of.
  55. 一种计算机可读存储介质,包括:计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行如权利要求1至18中任一项所述的方法。A computer-readable storage medium, comprising: computer instructions, when the computer instructions run on a computer, cause the computer to execute the method according to any one of claims 1 to 18.
PCT/CN2020/090546 2020-05-15 2020-05-15 Method for transmitting data packets and compression device WO2021227026A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/090546 WO2021227026A1 (en) 2020-05-15 2020-05-15 Method for transmitting data packets and compression device
CN202080095077.5A CN115039438A (en) 2020-05-15 2020-05-15 Method for sending data packet and compression equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/090546 WO2021227026A1 (en) 2020-05-15 2020-05-15 Method for transmitting data packets and compression device

Publications (1)

Publication Number Publication Date
WO2021227026A1 true WO2021227026A1 (en) 2021-11-18

Family

ID=78526257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/090546 WO2021227026A1 (en) 2020-05-15 2020-05-15 Method for transmitting data packets and compression device

Country Status (2)

Country Link
CN (1) CN115039438A (en)
WO (1) WO2021227026A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130315209A1 (en) * 2011-01-26 2013-11-28 Kyocera Corporation Mobile communication method and base station
WO2017041223A1 (en) * 2015-09-08 2017-03-16 华为技术有限公司 Packet processing method and base station
CN106856424A (en) * 2015-12-09 2017-06-16 普天信息技术有限公司 The ROHC message transmitting method for compressing and system in a kind of VOLTE systems
CN110875909A (en) * 2018-08-31 2020-03-10 上海华为技术有限公司 Data transmission method and related device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130315209A1 (en) * 2011-01-26 2013-11-28 Kyocera Corporation Mobile communication method and base station
WO2017041223A1 (en) * 2015-09-08 2017-03-16 华为技术有限公司 Packet processing method and base station
CN106856424A (en) * 2015-12-09 2017-06-16 普天信息技术有限公司 The ROHC message transmitting method for compressing and system in a kind of VOLTE systems
CN110875909A (en) * 2018-08-31 2020-03-10 上海华为技术有限公司 Data transmission method and related device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA; NOKIA SHANGHAI BELL: "Ethernet Header Compression remaining issues", 3GPP DRAFT; R2-2001051, vol. RAN WG2, 14 February 2020 (2020-02-14), pages 1 - 6, XP051849460 *

Also Published As

Publication number Publication date
CN115039438A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110167201B (en) Data transmission method, related device and system
JP7160498B2 (en) Reset method and terminal
WO2021184489A1 (en) Icon display method, storage medium, and electronic terminal
JP2020512762A (en) Communication method and terminal for implementing dual SIM dual active
WO2020164516A1 (en) Determining method and device
WO2019184787A1 (en) Method for selecting sidelink transmission resource, configuration method, terminal, and network apparatus
RU2749306C1 (en) Data transfer method and related product
US20200275325A1 (en) Handover method
WO2021174596A1 (en) Icon display method and apparatus, storage medium and electronic device
CN110234124B (en) Information transmission method and terminal equipment
WO2021258659A1 (en) Icon display method, storage medium, and electronic terminal
WO2019242482A1 (en) Command processing method and terminal device
US20210250960A1 (en) Data processing method and device
WO2021227026A1 (en) Method for transmitting data packets and compression device
US20220248257A1 (en) Method and apparatus for configuring quality of service parameter
WO2021190476A1 (en) Wireless link monitoring method, terminal, and network side device
WO2020192512A1 (en) Uplink grant modification method, information sending method, and communication apparatus
CN111132293B (en) Information transmission method, equipment and system
WO2019242481A1 (en) Bwp deactivation timer control method and terminal device
WO2020063282A1 (en) Information indication method, indication receiving method, terminal, and network-side device
CN109565645B (en) Multicast service transmission method, terminal, base station and communication system
WO2021174457A1 (en) Method for determining replication transmission resource, terminal device and network device
CN111800832B (en) Data transmission method, User Equipment (UE) and medium
CN111615146B (en) Processing method and device
JP7342254B2 (en) Information processing method and terminal

Legal Events

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

Ref document number: 20935828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20935828

Country of ref document: EP

Kind code of ref document: A1