WO2020124540A1 - 一种数据包重排序方法、电子设备及存储介质 - Google Patents

一种数据包重排序方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2020124540A1
WO2020124540A1 PCT/CN2018/122606 CN2018122606W WO2020124540A1 WO 2020124540 A1 WO2020124540 A1 WO 2020124540A1 CN 2018122606 W CN2018122606 W CN 2018122606W WO 2020124540 A1 WO2020124540 A1 WO 2020124540A1
Authority
WO
WIPO (PCT)
Prior art keywords
reordering
data packets
entity
electronic device
pdcp
Prior art date
Application number
PCT/CN2018/122606
Other languages
English (en)
French (fr)
Inventor
卢前溪
尤心
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2018/122606 priority Critical patent/WO2020124540A1/zh
Priority to CN201880097568.6A priority patent/CN112703815B/zh
Publication of WO2020124540A1 publication Critical patent/WO2020124540A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path

Definitions

  • the invention relates to the technical field of wireless communication, in particular to a data packet reordering method, an electronic device and a storage medium.
  • PDCP Packet Data Convergence Protocol
  • RoHC Robust Header Compression
  • embodiments of the present invention provide a data packet reordering method, an electronic device, and a storage medium, so that data packets can be decompressed correctly.
  • an embodiment of the present invention provides a method for reordering data packets.
  • the method includes: an electronic device reorders the data packets at least once according to the first information.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes:
  • the processing unit is configured to reorder the data packets at least once according to the first information.
  • an embodiment of the present invention provides an electronic device, including: a processor and a memory for storing a computer program that can run on the processor, where the processor executes the above when the processor is used to run the computer program The steps of the packet reordering method.
  • an embodiment of the present invention provides a storage medium that stores an executable program, and when the executable program is executed by a processor, the foregoing data packet reordering method is implemented.
  • the electronic device reorders the data packet at least once according to the first information, so that when the data packet transmitted to the decompression end of PDCP RoHC does not arrive in order, the electronic device passes the data packet Reordering allows data packets to be decompressed correctly.
  • FIG. 1 is a schematic diagram of a cell switching process in the related art
  • FIG. 2 is a schematic diagram of a cell switching architecture based on dual connectivity according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a cell switching architecture based on enhanced mobile broadband according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a cell handover process combining dual connectivity and enhanced mobile broadband according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of the structure of a communication system according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an optional processing flow of a data packet reordering method according to an embodiment of the present invention.
  • FIG. 7 is an optional schematic diagram of reordering data packets according to an embodiment of the present invention.
  • FIG. 8 is another schematic diagram of reordering data packets according to an embodiment of the present invention.
  • FIG. 9 is another schematic diagram of reordering data packets according to an embodiment of the present invention.
  • 10a is an optional schematic diagram of reordering data packets during uplink transmission according to an embodiment of the present invention.
  • 10b is another schematic diagram of reordering data packets during uplink transmission according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a default RLC entity of a terminal device performing data packet reordering according to an embodiment of the present invention
  • 12a is an optional schematic diagram of reordering data packets during downlink transmission according to an embodiment of the present invention.
  • 12b is another optional schematic diagram of reordering data packets during downlink transmission according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of a hardware composition structure of an electronic device according to an embodiment of the present invention.
  • the schematic diagram of the cell switching process in the related art when the terminal device receives the Radio Resource Control (RRC) reconfiguration (Reconfiguration) message, it reconfigures the packet data aggregation protocol (Packet Data) according to the switching configuration Convergence Protocol (PDCP) layer/Radio Link Control (Radio Link Control, RLC) layer/Media Access Control (MAC) layer/Physical (Physical, PHY) layer, etc.
  • RRC Radio Resource Control
  • RLC Radio Link Control
  • MAC Media Access Control
  • protocol stacks corresponding to the target network device , And send status reports; meanwhile, stop sending and receiving uplink (Up Link, UL) and/or downlink (Down Link, DL) data on the source network device.
  • the terminal equipment maintains only one set of PDCP/RLC/MAC/PHY protocol stack during the entire handover process.
  • the terminal device receives the switching command
  • the source network device and the terminal device are disconnected; correspondingly, the protocol stack between the terminal device and the source network device is also released, and the terminal device and the source network device do not exist at the same time.
  • the handover command is used as the demarcation point for explanation: before receiving the handover command, there is only a single link between the terminal device and the source network device. After the header is compressed, the sender encrypts the data, and then sends the data using the air interface; after the receiver decrypts the data, it completes the reordering and decompresses it. After receiving the switching command, the terminal device establishes a connection with the target network device; at this time, there is only a single link between the terminal device and the target network device.
  • a dual connection is used in cell switching to achieve a switching delay of 0 ms; at this time, the terminal device maintains two sets of protocol stacks (such as two sets of PDCP/RLC/MAC/PHY protocol stacks), and two sets The protocol stack is used to maintain data or signaling operations between the terminal device and the source network device and the target network device, respectively.
  • protocol stacks such as two sets of PDCP/RLC/MAC/PHY protocol stacks
  • the mobility enhancement includes at least the following schemes: one scheme is based on the dual connectivity (DualConnectivity, DC) cell switching architecture schematic diagram, as shown in Figure 2; the other scheme is based on enhanced mobile broadband (Enhanced Mobile Broadband, eMBB) cell switching architecture diagram, as shown in Figure 3. Another solution is based on the combination of DC and eMBB cell handover.
  • dual connectivity DualConnectivity, DC
  • eMBB enhanced Mobile Broadband
  • eMBB-related handover enhancement architectures such as eMBB architecture, such as a schematic diagram of a cell handover process combining DC and eMBB, as shown in FIG. 4, there are two sets of PHY/MAC/RLC/PDCP protocol stacks and/or two sets of robust Robust Header Compression (RoHC) functional entity.
  • eMBB architecture such as a schematic diagram of a cell handover process combining DC and eMBB, as shown in FIG. 4
  • RoHC Robust Header Compression
  • the two RoHC functional entities When two RoHC functional entities exist in the terminal device, the two RoHC functional entities respectively process data packets with the source network device and the target network device; and/or, when the source network device and the target network device respectively have the RoHC functional entity, the two RoHC The functional entity processes the data packets of the terminal device and the source network device, as well as the data packets of the terminal device and the target network device; at this time, if the data packet transmitted to the decompression end of PDCP RoHC does not arrive in order, such as the PDCP data packet SN The number is 0.10.4.8.2, which may cause the problem that the data packet cannot be decompressed correctly.
  • the present invention provides a method for reordering data packets.
  • the method for reordering data packets according to the embodiments of the present application can be applied to various communication systems, such as: Global System (Mobile) (GSM) system and code Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (LTE) ) System, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunications System (Universal Mobile Telecommunication System, UMTS), Worldwide Interoperability for Microwave Access, WiMAX) communication system or 5G system, etc.
  • GSM Global System
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • Universal Mobile Telecommunications System Universal Mobile Telecommunications System
  • the communication system 100 applied in the embodiment of the present application is shown in FIG. 5.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or referred to as a communication terminal, terminal).
  • the network device 110 can provide communication coverage for a specific geographic area, and can communicate with terminal devices located within the coverage area.
  • the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system (Evolutional Node B, eNB or eNodeB), or a wireless controller in the Cloud Radio Access Network (CRAN), or the network equipment can be a mobile switching center, a relay station, an access point, an in-vehicle device, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks or network devices in future public land mobile networks (Public Land Mobile Network, PLMN), etc.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • LTE Long Term Evolutional Node B
  • eNodeB evolved base station in an LTE system
  • CRAN Cloud Radio Access Network
  • the network equipment can be a mobile switching center, a relay station, an access point, an in-veh
  • the communication system 100 also includes at least one terminal device 120 within the coverage of the network device 110.
  • terminal equipment includes, but is not limited to, connections via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Lines (Digital Subscriber Line, DSL), digital cables, direct cable connections ; And/or another data connection/network; and/or via wireless interfaces, such as for cellular networks, wireless local area networks (Wireless Local Area Network, WLAN), digital TV networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and/or another terminal device configured to receive/transmit communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN Public Switched Telephone Networks
  • DSL Digital Subscriber Line
  • WLAN wireless local area networks
  • DVB-H networks wireless local area networks
  • satellite networks satellite networks
  • AM- FM broadcast transmitter AM- FM broadcast transmitter
  • IoT Internet of Things
  • a terminal device configured to communicate through a wireless interface may be referred to as a "wireless communication terminal", “wireless terminal”, or “mobile terminal”.
  • mobile terminals include but are not limited to satellite or cellular telephones; Personal Communication Systems (PCS) terminals that can combine cellular radiotelephones with data processing, facsimile, and data communication capabilities; may include radiotelephones, pagers, Internet/internal PDA with networked access, web browser, notepad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palm-type receivers or others including radiotelephone transceivers Electronic device.
  • PCS Personal Communication Systems
  • GPS Global Positioning System
  • Terminal equipment can refer to access terminal, user equipment (User Equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or User device.
  • Access terminals can be cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital processing (Personal Digital Assistant (PDA), wireless communication Functional handheld devices, computing devices, or other processing devices connected to a wireless modem, in-vehicle devices, wearable devices, terminal devices in a 5G network, or terminal devices in a PLMN that will evolve in the future, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • terminal device 120 may perform direct terminal (Device to Device, D2D) communication.
  • D2D Direct terminal
  • the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • FIG. 5 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and each network device may include other numbers of terminal devices within the coverage area. This application The embodiment does not limit this.
  • the communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
  • network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 and a terminal device 120 with a communication function, and the network device 110 and the terminal device 120 may be the specific devices described above, which will not be repeated here.
  • the communication device may also include other devices in the communication system 100, such as network controllers, mobility management entities, and other network entities, which are not limited in the embodiments of the present application.
  • the optional processing flow of the data packet reordering method provided by the embodiment of the present invention, as shown in FIG. 6, includes the following steps:
  • Step S201 The electronic device reorders the data packets at least once according to the first information.
  • the at least one reordering is configurable, such as activating the data packet reordering function, and/or configuring configuration information of the data packet reordering;
  • the configuration information includes at least one of the following: reordering The number of times, and the data packets targeted for reordering; wherein, the data packets targeted for reordering include: reordering data packets for uplink transmission, or reordering data packets for downlink transmission, or reordering for uplink transmission Data packets and downstream data packets.
  • the first information includes at least: PDCP SN and/or RLC SN.
  • the PDCP SN includes at least one of the following: an SN after SN assignment (Assignment), a PDCP shared between entities, and a SN dedicated for one-time reordering.
  • an SN after SN assignment assignment
  • a PDCP shared between entities a PDCP shared between entities
  • a SN dedicated for one-time reordering For example, using the new PDCP PDU format, two sets of PDCP SNs are carried in the PDCP PDU, one set is the SN after the SN assignment, and the other set is the SN used within the entity and dedicated to one-time reordering.
  • the entity includes at least one of the following: RLC entity, PDCP entity, SDAP entity, first entity corresponding to the first protocol layer between the RLC layer and the PDCP layer, SDAP layer and PDCP layer The second entity corresponding to the second protocol layer and the third entity corresponding to the third protocol layer above the SDAP layer.
  • the at least one reordering includes at least one of the following: intra-entity reordering, inter-entity reordering, intra-network device reordering, and inter-network device reordering.
  • the first reordering of the at least one reordering is to reorder the data packets before RoHC decompression. For example, before the RoHC is decompressed, the data packets are reordered within the entity and/or within the network device.
  • the entity includes at least one of the following: an RLC entity, a PDCP entity, and a first entity corresponding to the first protocol layer between the RLC layer and the PDCP layer.
  • the reordering other than the first reordering in the at least one reordering is to reorder the data packets after the RoHC is decompressed. After the RoHC is decompressed, the data packets are reordered between entities and/or reordered between network devices.
  • the entity includes at least one of the following: a PDCP entity, an SDAP entity, a second entity corresponding to the second protocol layer between the SDAP layer and the PDCP layer, and a third protocol layer above the SDAP layer. The third entity.
  • the electronic device reordering the data packet at least once according to the first information may occur before the electronic device decrypts the data packet, or may occur when the electronic device Before the integrity authentication of the data packet, or before the electronic device removes the PDCP header.
  • the data packets to be reordered may be uplink transmission data packets, or downlink transmission data packets, or uplink transmission data packets and downlink transmission data packets.
  • the data packet reordering method provided by the embodiment of the present invention can be applied to a cell handover scenario
  • the electronic device that executes the data packet reordering method provided by the embodiment of the present invention may be a terminal device or a network device
  • the network device includes a source network device and a target network device.
  • the receiving end involved in the embodiment of the present invention is a terminal device
  • the sending end is a source network device and/or a target network device.
  • the receiving end involved in the embodiment of the present invention is the source network device and/or the target network device
  • the sending end is a terminal device.
  • step S301 the source network device sends a switching command to the terminal device to trigger the terminal device to initiate a switching process.
  • the instruction information or configuration information of the eMBB handover may be carried at the same time; and/or the instruction information or configuration information to activate the data packet reordering function is carried.
  • the indication information or configuration information carried to activate the data packet reordering function may also be indicated by other special information; the special information may be information for the terminal device or information for the terminal device group where the terminal device is located.
  • the indication information or the configuration information may be directed only to the data packet for uplink transmission, or only for the data packet for downlink transmission, or for the data packet for uplink transmission and the data packet for downlink transmission. And/or, the indication information or the configuration information may respectively indicate data packets for different transmission directions for different reordering functions.
  • the indication information or configuration information may indicate that the data packets are reordered once, or the data packets are reordered more than twice.
  • the data packet reordering function may be at the PDCP layer of the electronic device, or by the RLC layer, or by the SDAP layer, or by the newly added protocol layer between the PDCP layer and the SDAP layer, or by the PDCP layer and the RLC layer.
  • the added protocol layer, or the new protocol layer above the SDAP layer that is, the PDCP entity of the electronic device, or the RLC entity, or the entity corresponding to the newly added protocol layer between the PDCP entity and the RLC layer, or the SDAP layer
  • the entities above the newly added protocol layer perform packet reordering.
  • the second reordering function of the data packet may be performed by the PDCP entity of the electronic device, or by the SDAP entity, or by an entity corresponding to the newly added protocol layer between the PDCP layer and the SDAP layer, or by the terminal device-wireless The entity corresponding to the newly added protocol layer between the access networks executes.
  • the first reordering function of the data packet may be performed by the PDCP entity of the electronic device, or by the RLC entity, or by an entity corresponding to the newly added protocol layer between the PDCP layer and the RLC layer.
  • the source network device may configure which entity of the terminal device performs the data packet reordering operation; if the PDCP entity is configured to perform the data packet reordering function, the PDCP entity performs the data packet reordering operation.
  • the source network device can configure which entity of the terminal device performs which layer of data packet reordering operation; if the PDCP entity is configured to perform the first packet reordering function, the PDCP entity performs the first packet For the reordering operation, the PDCP entity is configured to perform the second reordering function of the data packet, and the PDCP entity performs the second reordering operation of the data packet.
  • the data packet reordering function can be used for data packets in at least one of RLC unacknowledged mode (UM), RLC confirmed mode (AM), and RLC transparent mode (TM).
  • Step S302 the terminal device performs cell handover.
  • the terminal device performs cell handover according to the received RRC message.
  • Step S303 In the process of cell handover, the terminal device separately transmits data packets with the source network device and the target network device.
  • the SN information of the data packet needs to be exchanged.
  • the sending end implicitly or explicitly sends related SN information to the receiving end.
  • the receiving end uses the SN information to perform the first reordering and/or the second reordering and repeated detection.
  • the sending end explicitly sends the relevant SN information to the receiving end, which means that the information content sent by the sending end to the receiving end is directly SN information, for example, if the sending end sends the first information to the receiving end, the content carried in the first information SN information.
  • the sending end implicitly sends the relevant SN information to the receiving end, which means that the information content sent by the sending end to the receiving end is not SN information, but the receiving end can obtain the SN information through the information content; for example, the sending end sends the second to the receiving end
  • a letter sequence carried by the second information such as abcdef
  • abcdef can be obtained by querying the mapping table between the preset letter sequence and SN information
  • the SN information carried by the second information can be obtained.
  • the sending end sends the second information to the receiving end, the content carried in the second information is a mapping relationship table, and through the mapping relationship table and the SN in the currently received PDU, the first layer reordering can be learned SN information.
  • the sending end sends the result of the SN assignment to the receiving end, so that the receiving end judges the continuity of the received SN, for example, the receiving end uses the result of the SN assignment to reorder the data packets within the entity and between entities Reordering.
  • the PDCP SN number is 0.2.4.8.10
  • the terminal device sends the SN assignment results to the source network device and the target network device.
  • the sequence corresponding to the data packets received by the source network device is 0.10.4.8.2, and then the source network device uses the result of the SN assignment to reorder and obtain an ordered SN of 0.2.4.8.10.
  • the source network device determines that there is no data packet that has not been received between data packets with an SN of 0.2.4.8.10. Or packets that have not been reordered. Or the data packet reordering is completed. Or the packet reordering is completed for the first time.
  • the corresponding sequence of the data packets received by the target network device is 9,3,5,6,7,1, then the target network device uses the result of the SN assignment to reorder and obtain the sequential SN of 1,3,5,6,7, 9.
  • the target network device determines that there is no data packet that has not been received, or a data packet that has not been reordered, or the data packet reordering is completed, or the data packet is reordered for the first time between the data packets with the SN of 1.3.5.6.7.9 carry out. Then, the target network device reorders the received data packets between entities (second reordering) to obtain sequential data packets whose corresponding SN sequence is 0.1.2.3.4.5.6.7.8.9.10.
  • the receiving end uses the result of the SN assignment sent by the sending end to reorder the data packets between entities.
  • the receiving end may use an independent PDCP SN to reorder the data packets within the PDCP entity; the PDCP SN and SN assignment have a corresponding relationship, and the corresponding relationship is sent by the sending end to the receiving end.
  • the PDCP PDU may also carry a set of PDCP SN, and/or the correspondence between PDCP SN and SN assignment.
  • the PDCP PDU can also carry a set of PDCP SN, and the sending end separately informs the correspondence between PDCP SN and SN assignment through dedicated information.
  • the PDCP PDU can also carry two sets of PDCP SN, one set of PDCP SN is the SN after the SN assignment, and the other set of PDCP SN is the independent PDCP SN between the terminal device and the network device.
  • inter-entity reordering refers to the ordering between two peer entities, such as the PDCP entity of the target network device and the PDCP entity of the source network device.
  • Inter-entity reordering refers to the ordering between two peer devices, such as the target network device and the source network device.
  • data packets are transmitted upstream, and the reordering of data packets in an entity/network device will be described as an example.
  • the PDCP entity of the terminal device After the SN assignment is completed, the PDCP entity of the terminal device performs header compression, integrity protection, encryption and other operations, and then sends a data packet to the RLC entity of the terminal device; The air interface is then used to send upstream data packets to the source network device.
  • the source network device submits the data packet to the PDCP entity through the MAC entity and the RLC entity; after the PDCP entity performs operations such as packet reordering, decryption, integrity verification, and decompression, the data packet is submitted upward.
  • the PDCP entity of the terminal device After the SN assignment is completed, the PDCP entity of the terminal device performs header compression, integrity protection, encryption and other operations, and then sends a data packet to the RLC entity of the terminal device; The air interface is then used to send uplink data packets to the target network device.
  • the target network device submits the data packet to the PDCP entity through the MAC entity and the RLC entity; after the PDCP entity performs operations such as packet reordering, decryption, integrity verification, and decompression, the data packet is submitted upward.
  • the PDCP entity can reorder the data packets based on the PDCP SN or counter (COUNT) value; for example, the PDCP entity can reorder the data packets for the first time based on the PDCP SN or COUNT value, and/or the PDCP entity can be based on the PDCP SN or
  • the COUNT value reorders the packets for the second time.
  • the COUNT value corresponds to the SN number one by one, and the SN number is its low-order bit.
  • reordering of data packets can be performed at different processing nodes.
  • the entities that process at least two reorders may be the same or different.
  • the PDCP entity reorders the PDCP PDU twice before decrypting or decompressing the data packet; where the second reordering occurs after decompressing the data packet, the first reordering Sorting occurs before decompressing the packet and after decrypting the packet.
  • the PDCP entity reorders the PDCP PDU twice; where the second reordering occurs after decompressing the data packet, the first reordering occurs before decompressing the data packet, and the data Before the packet is decrypted.
  • the reordering of the PDCP PDU by the PDCP entity may also occur before the PDCP header is removed, or before the integrity authentication is performed on the data packet, or when the PDCP header is removed, or When the integrity authentication is performed on the data packet, or when the data packet is decrypted, it may also occur after the PDCP header is removed, or after the integrity authentication is performed on the data packet.
  • the node that performs the reordering of the data packets may also occur when the PDCP entity reorders the PDCP PDU when the PDCP header is removed, or before the PDCP header is removed, or Occurs after removing the PDCP header, or before decrypting the data packet, or when decrypting the data packet, or after decrypting the data packet, or occurs when decrypting the data packet Before the integrity authentication is performed on the data packet, or when the integrity authentication is performed on the data packet, or after the integrity authentication is performed on the data packet, or before the data packet is decompressed , Or when decompressing the data packet.
  • a reordering module may be added before or after the corresponding module, and the reordering module is used to perform a reordering operation of the data packet; a reordering module may also be added inside the corresponding module, or the reordering may be made As part of this module, the reordering module is used to perform reordering of data packets.
  • the following re-orders the data packets between the entities/network devices for uplink transmission data packets as an example.
  • the target network device is the anchor of the uplink data packet.
  • a process for reordering between entities is: the target network device sends the uplink data packet to the core network, and the source network device sends the decompressed PDCP SDU to the target network device PDCP entity; then the target network device performs PDCP SDU reordering operation.
  • Another processing flow for reordering between entities is: the source network device submits the decompressed PDCP SDU to the corresponding SDAP entity, and the source network device's SDAP entity or newly added entity sends the data packet to the target network device. Entity; then the entity corresponding to the target network device performs the reordering operation of the data packet.
  • the source network device is the anchor of the uplink data packet.
  • a processing flow for reordering between entities is: the source network device performs a reordering operation between data entities. It should be noted that, when the data packets supporting the uplink transmission are respectively submitted from the target network device and the source network device to the core network, the reordering operation between the entities of the data packets may not be performed. Through the reordering between the entities/network devices, it can ensure that the data packets between the terminal device and the wireless access network can be submitted to the higher layer or the core network in order.
  • Step S304 After the connection between the terminal device and the source network device is disconnected, the terminal device maintains the connection with the target network device and performs data packet transmission.
  • the reordering of the PDCP PDU by the PDCP entity can also occur when the PDCP header is removed, or when the PDCP header is Before the removal, or after removing the PDCP header, or before decrypting the data packet, or when decrypting the data packet, or after decrypting the data packet, or Before the integrity authentication is performed on the data packet, or when the integrity authentication is performed on the data packet, or after the integrity authentication is performed on the data packet, or on the data packet Before decompressing, or when decompressing the data packet.
  • a reordering module may be added before or after the corresponding module, and the reordering module is used to perform a reordering operation of the data packet; a reordering module may also be added inside the corresponding module, or the reordering may be made As part of this module, the reordering module is used to perform reordering of data packets.
  • the first reordering of the data packet before decompressing the data packet reordering the data packet for the second time After the packet is decompressed; optionally, the first reordering of the data packet is sent before decrypting the data packet, and optionally, the first reordering of the data packet is sent before the header is deheaded
  • the first reordering of the data packets is sent before the integrity authentication of the data packets.
  • FIG. 10a when the data packets are reordered for the first time, two different entities in the terminal device reorder the data packets from the source network device and the target network device, respectively. In FIG.
  • an entity in the terminal device reorders the data packets from the source network device and the target network device.
  • the entities used to reorder the data packets are similar to the upstream data packet processing.
  • the PDCP entity of the electronic device is either the RLC entity, the SDAP entity, or the PDCP layer and the SDAP layer.
  • the entity corresponding to the newly added protocol layer, or the entity corresponding to the newly added protocol layer between the PDCP layer and the RLC layer, or the entity corresponding to the newly added protocol layer above the SDAP layer; may also be performed in at least one of the foregoing entities.
  • step S401 the source network device sends a switching command to the terminal device to trigger the terminal device to initiate a switching process.
  • step S301 the relevant description of the switching command is the same as step S301, and details are not described here.
  • the difference from step S301 is that the entity that the terminal device performs the reordering function by default is an RLC entity; or, the entity that the terminal device performs the first reordering function by default is an RLC entity; or, the network device
  • the entity configuring the terminal device to perform the reordering function is an RLC entity and/or entity identifier; the terminal device performs the data packet reordering function when receiving the first indication information; wherein, the first indication information includes but is not limited to one of the following : Special data packet reordering function activation instruction and switching command.
  • the data packet reordering function can be used for RLC UM, RLC AM, and RLC TM data packets.
  • Step S402 the terminal device performs cell handover.
  • the terminal device performs cell handover according to the received RRC message.
  • Step S403 In the process of cell handover, the terminal device separately transmits data packets with the source network device and the target network device.
  • the following is an example of reordering of upstream transmission data packets within an entity/network device.
  • the terminal device defaults or is configured to perform a data packet reordering function in the RLC entity, and the network device reorders the received data packets through the RLC entity, and reorders the reordered data packets Submitted to the PDCP entity, the PDCP entity performs data reordering, decryption, integrity verification, decompression and other operations.
  • the RLC SN may be used to reorder the data packets.
  • LTE RLC UM reordering to reorder data packets.
  • LTE RLC AM reordering to reorder data packets.
  • the data packets mapped to the NR UM mode and the data packets mapped to the NR AM mode are reordered in the same manner, for example, the LTE RLC AM method is used for reordering.
  • a node that performs data packet reordering for downlink transmission may add a reordering module before or after copying the cache module, or may add a reordering in the copy cache module
  • the module that is, the copy cache module will add a reordering function; the reordering module is used to perform the reordering operation of the data packet.
  • the node for reordering data packets for uplink transmission may be the same as or different from the node for reordering data packets for downlink transmission. For the same, please refer to FIG. 12a and FIG. 12b.
  • the data packets between the entity/network device are reordered.
  • the reordering of data packets between entities/network devices is the same as that in step S303 above, and will not be repeated here.
  • Step S404 after the connection between the terminal device and the source network device is disconnected, the terminal device maintains the connection with the target network device and performs data packet transmission.
  • the electronic device may be a network device or a terminal device.
  • the data packet reordering methods corresponding to the embodiments of the present invention are applicable to uplink data packet transmission and downlink data packet transmission; accordingly, the drawings corresponding to the embodiments of the present invention are also applicable to uplink data packet transmission and downlink data packet transmission. .
  • An embodiment of the present invention also provides an electronic device.
  • the composition structure of the electronic device 500 as shown in FIG. 13, includes:
  • the processing unit 501 is configured to reorder the data packets at least once according to the first information.
  • the first information includes at least: PDCP SN and/or RLC SN.
  • the at least one reordering includes at least one of the following: intra-entity reordering, inter-entity reordering, intra-network device reordering, and inter-network device reordering.
  • the entity includes at least one of the following: RLC entity, PDCP entity, SDAP entity, first entity corresponding to the first protocol layer between the RLC layer and the PDCP layer, SDAP layer and PDCP layer The second entity corresponding to the second protocol layer and the third entity corresponding to the third protocol layer above the SDAP layer.
  • the first reordering in the at least one reordering is to reorder the data packets before RoHC decompression.
  • the processing unit 501 is configured to perform intra-entity reordering and/or intra-network device reordering on the data packets.
  • the entity includes at least one of the following: an RLC entity, a PDCP entity, and a first entity corresponding to the first protocol layer between the RLC layer and the PDCP layer.
  • the reordering other than the first reordering in the at least one reordering includes: reordering the data packets after the RoHC is decompressed.
  • the processing unit 501 is configured to reorder the data packets between entities and/or between network devices.
  • the entity includes at least one of the following: a PDCP entity, a SDAP entity, a second entity corresponding to the second protocol layer between the SDAP layer and the PDCP layer, and a third entity corresponding to the third protocol layer above the SDAP layer .
  • the processing unit 501 is configured to reorder the data packets before decrypting the data packets.
  • the processing unit 501 is configured to reorder the data packets before performing integrity authentication on the data packets.
  • the processing unit 501 is configured to reorder the data packets before removing the PDCP header.
  • the reordering is for uplink transmission data packets; or the reordering is for downlink transmission data packets; or the reordering is for uplink transmission data packets and downlink transmission data packets.
  • the at least one reordering is configurable.
  • the network device includes: a target network device and a source network device.
  • An embodiment of the present invention further provides an electronic device, including a processor and a memory for storing a computer program that can be run on the processor, where the processor is used to execute a data packet reordering method when the computer program is run A step of.
  • the electronic device 700 includes: at least one processor 701, a memory 702, and at least one network interface 704.
  • the various components in the electronic device 700 are coupled together through a bus system 705. It can be understood that the bus system 705 is used to implement connection and communication between these components.
  • the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 705 in FIG. 14.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • non-volatile memory may be ROM, programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), electrically erasable Programmable read-only memory (EEPROM, Electrically Erasable, Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash), magnetic surface memory, compact disc, or read-only compact disc (CD -ROM, Compact, Disc, Read-Only, Memory); the magnetic surface memory can be disk storage or tape storage.
  • the volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Double Data Rate, Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • DRRAM Direct Rambus Random Access Random Access Memory
  • DRRAM Direct Rambus Random Access Random Access Memory
  • the memory 702 described in this embodiment of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
  • the memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device 700. Examples of these data include: any computer program for operating on the electronic device 700, such as an application program 7022.
  • the program for implementing the method of the embodiment of the present invention may be included in the application program 7022.
  • the method disclosed in the foregoing embodiment of the present invention may be applied to the processor 701, or implemented by the processor 701.
  • the processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or an instruction in the form of software.
  • the foregoing processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the processor 701 may implement or execute the disclosed methods, steps, and logical block diagrams in the embodiments of the present invention.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented and completed by a hardware decoding processor, or may be implemented and completed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • the storage medium is located in the memory 702.
  • the processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.
  • the electronic device 700 may be one or more application specific integrated circuits (ASIC, Application Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components to implement the aforementioned method.
  • ASIC Application specific integrated circuits
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD Complex programmable logic device
  • FPGA general-purpose processor
  • controller MCU, MPU, or other electronic components to implement the aforementioned method.
  • Embodiments of the present application also provide a computer-readable storage medium for storing computer programs.
  • the computer-readable storage medium may be applied to the network device in the embodiments of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiments of the present application.
  • the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiments of the present application.
  • the computer-readable storage medium may be applied to the terminal device in the embodiments of the present application, and the computer program causes the computer to execute the corresponding process implemented by the terminal device in each method of the embodiments of the present application. No longer.
  • each flow and/or block in the flowchart and/or block diagram and a combination of the flow and/or block in the flowchart and/or block diagram may be implemented by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
  • the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种数据包重排序方法,包括:电子设备根据第一信息对所述数据包进行至少一次重排序。本发明还公开了一种电子设备及存储介质。

Description

一种数据包重排序方法、电子设备及存储介质 技术领域
本发明涉及无线通信技术领域,尤其涉及一种数据包重排序方法、电子设备及存储介质。
背景技术
相关技术中,在超可靠低时延(Ultra-Reliable Low latency Communication,URLLC)业务的切换场景下,可能存在两个(Packet Data Convergence Protocol,PDCP)实体和/或两个健壮性包头压缩(Robust Header Compression,RoHC)功能。当终端设备(User Equipment,UE)存在的两个RoHC实体时,两个RoHC实体分别处理与源基站和目标基站的数据包。当源基站和目标基站分别存在一个RoHC实体时,两个RoHC实体分别处理UE与源基站的数据包以及UE与目标基站的数据包。但是,当传输到PDCP RoHC的解压缩端的数据包不是按顺序到达时,将会导致数据包不能够被正确的解压缩。
发明内容
为解决上述技术问题,本发明实施例提供一种数据包重排序方法、电子设备及存储介质,使得数据包能够正确的被解压缩。
第一方面,本发明实施例提供一种数据包重排序方法,所述方法包括:电子设备根据第一信息对所述数据包进行至少一次重排序。
第二方面,本发明实施例提供一种电子设备,所述电子设备包括:
处理单元,配置为根据第一信息对所述数据包进行至少一次重排序。
第三方面,本发明实施例提供一种电子设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述数据包重排序方法的步骤。
第四方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述数据包重排序方法。
本发明实施例提供的数据包重排序方法,电子设备根据第一信息对数据包进行至少一次重排序,使得传输到PDCP RoHC的解压缩端的数据包不是按顺序到达时,电子设备通过对数据包重排序,使得数据包能够被正确的解压缩。
附图说明
图1为相关技术中的小区切换流程示意图;
图2为本发明实施例基于双连接的小区切换架构示意图;
图3为本发明实施例基于增强移动宽带的小区切换架构示意图;
图4为本发明实施例双连接与增强移动宽带结合的小区切换流程示意图;
图5为本发明实施例通信系统的组成结构示意图;
图6为本发明实施例数据包重排序方法的可选处理流程示意图;
图7为本发明实施例对数据包进行重排序的一个可选示意图;
图8为本发明实施例对数据包进行重排序的另一个可选示意图;
图9为本发明实施例对数据包进行重排序的又一个可选示意图;
图10a为本发明实施例上行传输时,对数据包重排序的一个可选示意图;
图10b为本发明实施例上行传输时,对数据包重排序的另一个可选示意图;
图11为本发明实施例终端设备默认RLC实体执行数据包重排序的示意图;
图12a为本发明实施例下行传输时,对数据包重排序的一个可选示意图;
图12b为本发明实施例下行传输时,对数据包重排序的另一个可选示意图;
图13为本发明实施例电子设备的组成结构示意图;
图14为本发明实施例电子设备的硬件组成结构示意图。
具体实施方式
为了能够更加详尽地了解本发明实施例的特点和技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。
在对本发明实施例进行详细描述之前,首先对相关技术中的小区切换流程进行说明。相关技术中的小区切换流程示意图,如图1所示,当终端设备接收到无线资源控制(Radio Resource Control,RRC)重配置(reconfiguration)消息后,按照切换配置重新配置分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层/无线链路层控制(Radio Link Control,RLC)层/媒体接入控制(Media Access Control,MAC)层/物理(Physical,PHY)层等为对应目标网络设备的协议栈,并发送状态报告;同时停止在源网络设备的上行链路(Up Link,UL)和/或下行链路(Down Link,DL)数据的收发。终端设备在整个切换过程中仅维持一套PDCP/RLC/MAC/ PHY的协议栈。
可以理解为,当终端设备收到切换命令后,源网络设备和终端设备断开连接;相应的,终端设备与源网络设备的协议栈也被释放了,不会同时存在终端设备和源网络设备和目标网络设备同时连接的情况。此时以切换命令为分界点进行说明:在收到切换命令前,只存在终端设备和源网络设备之间的单链路。发送端在头压缩后,对数据进行加密,然后利用空口发送数据;接收端在对数据进行解密后,完成重排序之后解压缩。在收到切换命令后,终端设备与目标网络设备建立连接;此时只存在终端设备和目标网络设备之间的单链路。
另一种方案中,小区切换时采用双连接的方式以实现0ms的切换时延;此时,终端设备维持两套协议栈(如两套PDCP/RLC/MAC/PHY的协议栈),两套协议栈分别用于维护终端设备与源网络设备和目标网络设备之间的数据或信令传输等的操作。
为了缩小切换时延的移动性增强至少包含了下述方案:一种方案是基于双连接(Dual Connectivity,DC)的小区切换架构示意图,如图2所示;另一种方案是基于增强移动宽带(Enhanced Mobile Broadband,eMBB)的小区切换架构示意图,如图3所示。还有一种方案是基于DC和eMBB结合的小区切换。
针对eMBB相关的切换增强架构来说,如eMBB架构,如DC与eMBB结合的小区切换流程示意图,如图4所示,存在两套PHY/MAC/RLC/PDCP协议栈和/或存在两套健壮性包头压缩(Robust Header Compression,RoHC)功能实体。当终端设备存在两个RoHC功能实体,两个RoHC功能实体分别处理与源网络设备和目标网络设备的数据包;和/或,当源网络设备和目标网络设备分别存在RoHC功能实体,两个RoHC功能实体分别处理终端设备与源网络设备的数据包,以及终端设备和目标网络设备的数据包;此时,若传输到PDCP RoHC的解压缩端的数据包不是按顺序到达的,如PDCP数据包SN号为0.10.4.8.2,则可能导致数据包不能被正确解压缩的问题。
基于上述问题,本发明提供一种数据包重排序方法,本申请实施例的数据包重排序方法可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统或5G系统等。
示例性的,本申请实施例应用的通信系统100如图5所示。该通信系 统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该网络设备110可以是GSM系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端设备120。作为在此使用的“终端设备”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端设备的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端设备可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端设备可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进的PLMN中的终端设备等。
可选地,终端设备120之间可以进行终端直连(Device to Device,D2D)通信。
可选地,5G系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。
图5示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图5示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。
本发明实施例提供的数据包重排序方法的可选处理流程,如图6所示,包括以下步骤:
步骤S201,电子设备根据第一信息对数据包进行至少一次重排序。
本发明实施例中,所述至少一次重排序可配置,如激活数据包重排序功能,和/或配置数据包重排序的配置信息;所述配置信息包括下述中的至少一项:重排序的次数、重排序的所针对的数据包;其中,所述重排序所针对的数据包包括:重排序针对上行传输的数据包、或重排序针对下行传输的数据包、或重排序针对上行传输的数据包和下行传输的数据包。
所述第一信息至少包括:PDCP SN和/或RLC SN。其中,PDCP SN包括以下至少一项:SN分配(assignment)后的SN、实体间共用的PDCP SN、专用一次重排序的SN。举例来说,采用新的PDCP PDU格式,在PDCP PDU中携带两套PDCP SN,一套为SN assignment后的SN,另一套为实体内使用的、专用于一次重排序的SN。
本发明实施例中,所述实体包括下述中的至少一项:RLC实体、PDCP实体、SDAP实体、RLC层与PDCP层之间的第一协议层对应的第一实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。相应的,所述至少一次重排序包括下述中的至少一项:实体内重排序、实体间重排序、网络设备内重排序,和网络设备间重排序。
在一些实施例中,所述至少一次重排序中的第一次重排序为,在RoHC解压缩之前对所述数据包进行重排序。如在RoHC解压缩之前,对所述数据包进行实体内重排序和/或网络设备内重排序。此时,所述实体包括下述中的至少一项:RLC实体、PDCP实体、以及RLC层与PDCP层之间的第一协议层对应的第一实体。
在另一些实施例中,所述至少一次重排序中除第一次重排序以外的重排序为,在RoHC解压缩之后对所述数据包进行重排序。如在RoHC解压缩之后,对所述数据包进行实体间重排序和/或网络设备间重排序。此时, 所述实体包括下述中的至少一项:PDCP实体、SDAP实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
本发明实施例中,所述电子设备根据第一信息对所述数据包进行至少一次重排序可以发生在所述电子设备在对所述数据包进行解密之前,或者发生在所述电子设备在对所述数据包进行完整性鉴权之前,或者发生在所述电子设备在对PDCP头去除之前。进行重排序的数据包可以是上行传输的数据包、或者下行传输的数据包、或者上行传输的数据包和下行传输的数据包。
需要说明的是,本发明实施例提供的数据包重排序方法可以应用于小区切换的场景中,执行本发明实施例提供的数据包重排序方法的电子设备可以是终端设备,也可以是网络设备,所述网络设备包括源网络设备和目标网络设备。当所述电子设备为终端设备时,本发明实施例中所涉及的接收端为终端设备,发送端为源网络设备和/或目标网络设备。当所述电子设备为源网络设备和/或目标网络设备时,本发明实施例中所涉及的接收端为源网络设备和/或目标网络设备,发送端为终端设备。
实施例一
下面基于小区切换的场景,对本发明实施例提供的数据包重排序方法的处理流程进行详细说明。
步骤S301,源网络设备向终端设备发送切换命令,触发终端设备发起切换流程。
本发明实施例中,在切换命令中,可以同时携带eMBB切换的指示信息或者配置信息;和/或,携带激活数据包重排序功能的指示信息或者配置信息。
这里,所携带激活数据包重排序功能的指示信息或者配置信息也可以是利用其它专用信息指示的;所述专用信息可以是针对终端设备的信息,或者针对终端设备所在的终端设备组的信息。
所述指示信息或者配置信息可以仅针对上行传输的数据包,或者仅针对下行传输的数据包,或者针对上行传输的数据包和下行传输的数据包。和/或,所述指示信息或所述配置信息可以针对不同次的重排序功能分别指示针对不同传输方向的数据包。
本发明实施例中,所述指示信息或者配置信息可以指示对数据包进行一次重排序,或者对所述数据包进行两次以上的重排序。
所述数据包重排序功能可以在电子设备的PDCP层,或者由RLC层,或者由SDAP层,或者由PDCP层和SDAP层之间新增的协议层,或者由PDCP层和RLC层之间新增的协议层,或者SDAP层之上的新增协议层实现;即由电子设备的PDCP实体,或者由RLC实体,或者由PDCP实体和RLC层之间新增协议层对应的实体,或者SDAP层之上的新增协议层对应 的实体执行数据包重排序。
所述数据包第二次重排序功能可以由电子设备的PDCP实体执行,或者由SDAP实体执行,或者由PDCP层和SDAP层之间新增的协议层对应的实体执行,或者由终端设备-无线接入网之间的新增的协议层对应的实体执行。
所述数据包第一次重排序功能可以由电子设备的PDCP实体执行,或者由RLC实体执行,或者由PDCP层和RLC层之间新增的协议层对应的实体执行。
本发明实施例中,在切换过程中源网络设备可以配置终端设备的哪个实体执行数据包重排序的操作;如配置PDCP实体执行数据包重排序功能,则由PDCP实体执行数据包重排序操作。在切换过程中,源网络设备可以配置终端设备的哪个实体执行哪一层数据包重排序的操作;如配置PDCP实体执行数据包第一次重排序功能,则由PDCP实体执行数据包第一次重排序操作,配置PDCP实体执行数据包第二次重排序功能,则由PDCP实体执行数据包第二次重排序操作。可选的,所述数据包重排序功能可用于处于RLC非确认模式(UM)、RLC确认模式(AM)和RLC透明模式(TM)中至少一种的数据包。
步骤S302,终端设备执行小区切换。
本发明实施例中,所述终端设备根据接收的RRC消息执行小区切换。
步骤S303,在小区切换过程中,终端设备分别与源网络设备和目标网络设备进行数据包传输。
在数据传输过程中,需要对数据包进行SN信息的交互。如,发送端将相关SN信息隐式或显式发送给接收端。接收端使用SN信息进行第一次重排序和/或第二重重排序、重复检测。其中,发送端将相关SN信息显式发送给接收端,是指发送端向接收端发送的信息内容直接为SN信息,如发送端向接收端发送第一信息,所述第一信息携带的内容为SN信息。发送端将相关SN信息隐式发送给接收端,是指发送端向接收端发送的信息内容不是SN信息,但是接收端通过所述信息内容能够获取SN信息;如发送端向接收端发送第二信息,通过第二信息携带的内容一个字母序列,如abcdef,通过查询预设的字母序列与SN信息的映射关系表,能够获知第二信息携带的SN信息。又如,发送端向接收端发送第二信息,通过第二信息携带的内容为一个映射关系表,通过映射关系表和当前收到的PDU中的SN,能够获知用于第一层重排序的SN信息。
在一些实施例中,发送端将SN assignment的结果发送给接收端,以便接收端判断接收到的SN的连续性,如接收端利用SN assignment的结果对数据包进行实体内的重排序和实体间的重排序。举例来说,终端设备与源网络设备之间用PDCP SN号为0.2.4.8.10,终端设备与目标网络设备之间用PDCP SN号为1,3,5,6,7,9。针对上行数据包,终端设备将SN assignment结 果发给源网络设备和目标网络设备。源网络设备接收的数据包对应的顺序为0.10.4.8.2,则源网络设备利用SN assignment的结果重排序后得到按序的SN为0.2.4.8.10。源网络设备判断SN为0.2.4.8.10的数据包之间没有还没有收到的数据包。或者还没有进行重排序的数据包。或者数据包重排序完成。或者数据包第一次重排序完成。目标网络设备接收的数据包对应顺序为9,3,5,6,7,1,则目标网络设备利用SN assignment的结果重排序后得到按序的SN为1,3,5,6,7,9。目标网络设备判断SN为1.3.5.6.7.9的数据包之间没有还没有收到的数据包,或者还没有进行重排序的数据包,或者数据包重排序完成,或者数据包第一次重排序完成。然后,目标网络设备对接收的数据包进行实体间的重排序(第二次重排序),得到按顺序的数据包,其对应的SN顺序为0.1.2.3.4.5.6.7.8.9.10。
又或者,这里,接收端采用发送端发送的SN assignment的结果对数据包进行实体间的重排序。而在实体内重排序时,接收端可采用独立的PDCP SN在PDCP实体内对数据包进行重排序;所述PDCP SN与SN assignment具有对应关系,所述对应关系由发送端发送至接收端。比如,PDCP PDU中还可以携带一套PDCP SN,和/或PDCP SN与SN assignment的对应关系。或者,PDCP PDU中还可以携带一套PDCP SN,发送端单独通过专用信息通知PDCP SN与SN assignment的对应关系。可选地,PDCP PDU中还可以携带两套PDCP SN,其中一套PDCP SN为SN assignment后的SN,另一套PDCP SN为终端设备与网络设备间独立的PDCP SN。
需要说明的是,实体间重排序是指对等的两个实体之间的排序,如目标网络设备的PDCP实体和源网络设备的PDCP实体。实体间重排序是指对等的两个设备之间的排序,如目标网络设备和源网络设备。
下面以上行传输数据包,对实体内/网络设备内的数据包重排序为例进行说明。针对终端设备与源网络设备之间的链路来说:在SN assignment完成后,终端设备的PDCP实体执行头压缩、完整性保护、加密等操作后,发送数据数据包到终端设备的RLC实体;再利用空口向源网络设备发送上行数据包。源网络设备通过MAC实体和RLC实体将数据包递交到PDCP实体;由PDCP实体执行数据包重排序、解密、完整性验证、解压缩等操作后,进行数据包向上递交。
针对终端设备与目标网络设备之间的链路来说:在SN assignment完成后,终端设备的PDCP实体执行头压缩、完整性保护、加密等操作后,发送数据数据包到终端设备的RLC实体;再利用空口向目标网络设备发送上行数据包。目标网络设备通过MAC实体和RLC实体将数据包递交到PDCP实体;由PDCP实体执行数据包重排序、解密、完整性验证、解压缩等操作后,进行数据包向上递交。
PDCP实体可以基于PDCP SN或者计数器(COUNT)值对数据包进行重排序;如PDCP实体可以基于PDCP SN或者COUNT值对数据包进行第 一次重排序,和/或,PDCP实体可以基于PDCP SN或者COUNT值对数据包进行第二次重排序。其中,COUNT值与SN号一一对应,SN号为其低比特(bit)位。
另外,对数据包进行重排序可以在不同的处理节点进行。可选的,处理至少两次重排序的实体可以相同或者不同。
如图7所示,PDCP实体在对数据包未解密、也未解压缩之前,对PDCP PDU进行两次重排序;其中,第二次重排序发生在对数据包解压缩之后,第一次重排序发生在对数据包解压缩之前,以及对数据包解密之后。
如图8所示,PDCP实体对PDCP PDU进行两次重排序;其中,第二次重排序发生在对数据包解压缩之后,第一次重排序发生在对数据包解压缩之前、以及对数据包解密之前。
当然,PDCP实体对PDCP PDU进行的重排序也可以发生在对PDCP头去除之前,或者发生在对所述数据包进行完整性鉴权之前,也可以发生在对PDCP头去除之时,或者发生在对所述数据包进行完整性鉴权之时,或者发生在对数据包解密之时,也可以发生在对PDCP头去除之后,或者发生在对所述数据包进行完整性鉴权之后。
在另一些实施例中,进行数据包重排序的节点,如图9所示,PDCP实体对PDCP PDU进行的重排序也可以发生在对PDCP头去除时,或者发生在对PDCP头去除之前,或者发生在对PDCP头去除之后,或者发生在对所述数据包进行解密之前,或者发生在对所述数据包进行解密时,或者发生在对所述数据包进行解密之后,或者发生在对所述数据包进行完整性鉴权之前,或者发生在对所述数据包进行完整性鉴权时,或者发生在对所述数据包进行完整性鉴权后,或者发生在对所述数据包进行解压缩之前,或者发生在对所述数据包进行解压缩之时。在具体实施时,也可以在相应的模块之前或之后增加重排序模块,所述重排序模块用于执行数据包的重排序操作;也可以在相应的模块内部增加重排序模块,或者使得重排序成为该模块的一部分,所述重排序模块用于执行数据包的重排序操作。
针对上行传输数据包,实体内/网络设备内的数据包重排序之后,下面再针对上行传输数据包,对实体间/网络设备间的数据包重排序为例进行说明。
在一些实施例中,对于上行传输的数据包,目标网络设备为上行传输数据包的锚点。实体间的重排序的一种处理流程为:由目标网络设备将上行数据包发送给核心网,源网络设备将完成解压缩的PDCP SDU发送给目标网络设备的PDCP实体;再由目标网络设备进行PDCP SDU的重排序操作。实体间的重排序的另一种处理流程为:源网络设备将完成解压缩的PDCP SDU递交到对应的SDAP实体,源网络设备的SDAP实体或者新增实体将数据包发送给目标网络设备对应的实体;再由目标网络设备对应的实体进行数据包的重排序操作。
在另一些实施例中,对于上行传输的数据包,源网络设备为上行传输数据包的锚点。实体间的重排序的一种处理流程为:由源网络设备进行数据包的实体间的重排序操作。需要说明的是,在支持上行传输的数据包从目标网络设备和源网络设备分别向核心网递交时,也可以不进行数据包的实体间的重排序操作。通过实体间/网络设备间的重排序,能够保证终端设备到无线接入网之间的数据包能够按照顺序向高层或核心网递交。
步骤S304,终端设备与源网络设备之间的连接断开后,终端设备与目标网络设备保持连接,并进行数据包传输。
上述对数据包的重排序均是以上行传输数据包为例进行说明;针对下行传输数据包,PDCP实体对PDCP PDU进行的重排序也可以发生在对PDCP头去除时,或者发生在对PDCP头去除之前,或者发生在对PDCP头去除之后,或者发生在对所述数据包进行解密之前,或者发生在对所述数据包进行解密时,或者发生在对所述数据包进行解密之后,或者发生在对所述数据包进行完整性鉴权之前,或者发生在对所述数据包进行完整性鉴权时,或者发生在对所述数据包进行完整性鉴权后,或者发生在对所述数据包进行解压缩之前,或者发生在对所述数据包进行解压缩之时。在具体实施时,也可以在相应的模块之前或之后增加重排序模块,所述重排序模块用于执行数据包的重排序操作;也可以在相应的模块内部增加重排序模块,或者使得重排序成为该模块的一部分,所述重排序模块用于执行数据包的重排序操作。如图10a和如图10b所示,对数据包进行两次重排序时,对数据包进行第一次重排序在对数据包进行解压缩之前,对数据包进行第二次重排序在对数据包进行解压缩之后;可选地,对数据包进行第一次重排序发送在对数据包进行解密之前,可选地,对数据包进行第一次重排序发送在对数据包进行去头之前;可选地,对数据包进行第一次重排序发送在对数据包进行完整性鉴权之前。其中,图10a中对数据包进行第一次重排序时,由终端设备内的两个不同实体分别对来自源网络设备和来自目标网络设备的数据包进行重排序。图10b中对数据包进行第一次重排序时,由终端设备内的一个实体对来自源网络设备和来自目标网络设备的数据包进行重排序。对DL数据包,对数据包进行重排序所使用的实体,与上行数据包处理时类似,如电子设备的PDCP实体,或者由RLC实体,或者由SDAP实体,或者由PDCP层和SDAP层之间新增的协议层对应的实体,或者由PDCP层和RLC层之间新增的协议层对应的实体,或者SDAP层之上的新增协议层对应的实体;也可以在上述至少一个实体进行。
实施例二
下面基于小区切换的场景,对本发明实施例提供的数据包重排序方法的处理流程进行详细说明。
步骤S401,源网络设备向终端设备发送切换命令,触发终端设备发起切换流程。
本发明实施例中,针对所述切换命令的相关说明与步骤S301相同,这里不再赘述。
本发明实施例中,与步骤S301的不同之处在于,终端设备默认执行重排序功能的实体为RLC实体;或者,终端设备默认执行第一次重排序功能的实体为RLC实体;或者,网络设备配置终端设备执行重排序功能的实体为RLC实体和/或实体标识;终端设备在接收到第一指示信息时执行数据包重排序功能;其中,所述第一指示信息包括但不限于以下之一:专用数据包重排序功能激活指示和切换命令。
可选地,所述数据包重排序功能可用于RLC UM、RLC AM以及RLC TM数据包。
步骤S402,终端设备执行小区切换。
本发明实施例中,所述终端设备根据接收的RRC消息执行小区切换。
步骤S403,在小区切换过程中,终端设备分别与源网络设备和目标网络设备进行数据包传输。
下面以上行传输数据包在实体内/网络设备内的重排序为例进行说明。
如图11所示,在小区切换过程中,终端设备默认在或者配置在RLC实体执行数据包重排序功能,网络设备通过RLC实体对接收到的数据包进行重排序,将重排序后的数据包递交到PDCP实体,由PDCP实体执行重排序,解密,完整性验证,解压缩等操作后进行数据递交。
可选地,在对数据包进行重排序时,可以使用RLC SN对数据包进行重排序。或者采用LTE RLC UM的重排序方式进行数据包重排序。或者采用LTE RLC AM的重排序方式进行数据包重排序。或者对映射到NR UM模式的数据包和对映射到NR AM模式的数据包采用相同的方式进行重排序,如都采用LTE RLC AM方式进行重排序。
在另一些实施例中,针对下行传输进行数据包重排序的节点,如图12a和图12b所示,可以在复制缓存模块之前或之后增加重排序模块,也可以在复制缓存模块内增加重排序模块,即将复制缓存模块增加重排序功能;所述重排序模块用于执行数据包的重排序操作。可选的,针对上行传输进行数据包重排序的节点可以与针对下行传输进行数据包重排序的节点相同或者不同。如相同,可参看图12a和图12b。
针对上行传输数据包,实体内/网络设备内的数据包重排序之后,再对实体间/网络设备间的数据包重排序。实体间/网络设备间的数据包重排序与上述步骤S303中的相同,这里不再赘述。
步骤S404,终端设备与源网络设备之间的连接断开后,终端设备与目标网络设备保持连接,并进行数据包传输。
需要说明的是,所述电子设备可以为网络设备,也可以为终端设备。
本发明各实施例对应的数据包重排序方法均适用于上行数据包传输以及下行数据包传输;相应的,本发明各实施例对应的附图也均适用于上行 数据包传输以及下行数据包传输。
本发明实施例还提供一种电子设备,所述电子设备500的组成结构,如图13所示,包括:
处理单元501,配置为根据第一信息对数据包进行至少一次重排序。
本发明实施例中,所述第一信息至少包括:PDCP SN和/或RLC SN。
本发明实施例中,所述至少一次重排序包括下述中的至少一项:实体内重排序、实体间重排序、网络设备内重排序,和网络设备间重排序。
本发明实施例中,所述实体包括下述中的至少一项:RLC实体、PDCP实体、SDAP实体、RLC层与PDCP层之间的第一协议层对应的第一实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
本发明实施例中,所述至少一次重排序中的第一次重排序为,在RoHC解压缩之前对所述数据包进行重排序。
本发明实施例中,所述处理单元501,配置为对所述数据包进行实体内重排序和/或网络设备内重排序。此时,所述实体包括下述中的至少一项:RLC实体、PDCP实体、以及RLC层与PDCP层之间的第一协议层对应的第一实体。
本发明实施例中,所述至少一次重排序中除第一次重排序以外的重排序包括:在RoHC解压缩之后对所述数据包进行重排序。此时,所述处理单元501,配置为对所述数据包进行实体间重排序和/或网络设备间重排序。所述实体包括下述中的至少一项:PDCP实体、SDAP实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
本发明实施例中,所述处理单元501,配置为在对所述数据包进行解密之前,对所述数据包进行重排序。
本发明实施例中,所述处理单元501,配置为在对所述数据包进行完整性鉴权之前,对所述数据包进行重排序。
本发明实施例中,所述处理单元501,配置为在对PDCP头去除之前,对所述数据包进行重排序。
本发明实施例中,所述重排序针对上行传输的数据包;或所述重排序针对下行传输的数据包;或所述重排序针对上行传输的数据包和下行传输的数据包。
本发明实施例中,所述至少一次重排序可配置。
本发明实施例中,所述网络设备包括:目标网络设备和源网络设备。
本发明实施例还提供一种电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行数据包重排序方法的步骤。
图14是本发明实施例的电子设备(网络设备或终端设备)的硬件组成 结构示意图,电子设备700包括:至少一个处理器701、存储器702和至少一个网络接口704。电子设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图14中将各种总线都标为总线系统705。
可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。
本发明实施例中的存储器702用于存储各种类型的数据以支持电子设备700的操作。这些数据的示例包括:用于在电子设备700上操作的任何计算机程序,如应用程序7022。实现本发明实施例方法的程序可以包含在应用程序7022中。
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器 可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、MPU、或其他电子元件实现,用于执行前述方法。
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。
可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机可读存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (34)

  1. 一种数据包重排序方法,所述方法包括:
    电子设备根据第一信息对数据包进行至少一次重排序。
  2. 根据权利要求1所述的方法,其中,所述第一信息至少包括:
    分组数据汇聚协议序列号PDCP SN,和/或无线链路控制协议RLC SN。
  3. 根据权利要求1或2所述的方法,其中,所述至少一次重排序包括下述中的至少一项:
    实体内重排序、实体间重排序、网络设备内重排序,和网络设备间重排序。
  4. 根据权利要求3所述的方法,其中,所述实体包括下述中的至少一项:
    RLC实体、PDCP实体、SDAP实体、RLC层与PDCP层之间的第一协议层对应的第一实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
  5. 根据权利要求1至3任一项所述的方法,其中,所述至少一次重排序中的第一次重排序为,在健壮性包头压缩RoHC解压缩之前对所述数据包进行重排序。
  6. 根据权利要求5所述的方法,其中,所述在RoHC解压缩之前对所述数据包进行重排序,包括:
    对所述数据包进行实体内重排序和/或网络设备内重排序。
  7. 根据权利要求6所述的方法,其中,所述实体包括下述中的至少一项:
    RLC实体、PDCP实体、以及RLC层与PDCP层之间的第一协议层对应的第一实体。
  8. 根据权利要求1至3任一项所述的方法,其中,所述至少一次重排序中除第一次重排序以外的重排序包括:
    在RoHC解压缩之后对所述数据包进行重排序。
  9. 根据权利要求8所述的方法,其中,所述在RoHC解压缩之后对所述数据包进行重排序,包括:
    对所述数据包进行实体间重排序和/或网络设备间重排序。
  10. 根据权利要求9所述的方法,其中,所述实体包括下述中的至少一项:
    PDCP实体、SDAP实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
  11. 根据权利要求1至3任一项所述的方法,其中,所述电子设备根据第一信息对所述数据包进行至少一次重排序包括:
    所述电子设备在对所述数据包进行解密之前,对所述数据包进行重排序。
  12. 根据权利要求1至3任一项所述的方法,其中,所述电子设备根据第一信息对所述数据包进行至少一次重排序包括:
    所述电子设备在对所述数据包进行完整性鉴权之前,对所述数据包进行重排序。
  13. 根据权利要求1至3任一项所述的方法,其中,所述电子设备根据第一信息对所述数据包进行至少一次重排序包括:
    所述电子设备在对PDCP头去除之前,对所述数据包进行重排序。
  14. 根据权利要求1至13任一项所述的方法,其中,所述至少一次重排序针对上行传输的数据包;
    或所述重排序针对下行传输的数据包;
    或所述重排序针对上行传输的数据包和下行传输的数据包。
  15. 根据权利要求1至14任一项所述的方法,其中,所述至少一次重排序可配置。
  16. 根据权利要求3、4、6或7所述的方法,其中,所述网络设备包括:
    目标网络设备和源网络设备。
  17. 一种电子设备,所述电子设备包括:
    处理单元,配置为根据第一信息对数据包进行至少一次重排序。
  18. 根据权利要求17所述的电子设备,其中,所述第一信息至少包括:
    分组数据汇聚协议序列号PDCP SN,和/或无线链路控制协议RLC SN。
  19. 根据权利要求17或18所述的电子设备,其中,所述至少一次重排序包括下述中的至少一项:
    实体内重排序、实体间重排序、网络设备内重排序,和网络设备间重排序。
  20. 根据权利要求19所述的电子设备,其中,所述实体包括下述中的至少一项:
    RLC实体、PDCP实体、SDAP实体、RLC层与PDCP层之间的第一协议层对应的第一实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
  21. 根据权利要求17至19任一项所述的电子设备,其中,所述至少一次重排序中的第一次重排序为,在健壮性包头压缩RoHC解压缩之前对所述数据包进行重排序。
  22. 根据权利要求21所述的电子设备,其中,所述处理单元,配置为对所述数据包进行实体内重排序和/或网络设备内重排序。
  23. 根据权利要求22所述的电子设备,其中,所述实体包括下述中的至少一项:
    RLC实体、PDCP实体、以及RLC层与PDCP层之间的第一协议层对应的第一实体。
  24. 根据权利要求17至19任一项所述的电子设备,其中,所述至少一次重排序中除第一次重排序以外的重排序包括:
    在RoHC解压缩之后对所述数据包进行重排序。
  25. 根据权利要求24所述的电子设备,其中,所述处理单元,配置为对所述数据包进行实体间重排序和/或网络设备间重排序。
  26. 根据权利要求25所述的电子设备,其中,所述实体包括下述中的至少一项:
    PDCP实体、SDAP实体、SDAP层与PDCP层之间的第二协议层对应的第二实体和SDAP层之上的第三协议层对应的第三实体。
  27. 根据权利要求17至19任一项所述的电子设备,其中,所述处理单元,配置为在对所述数据包进行解密之前,对所述数据包进行重排序。
  28. 根据权利要求17至19任一项所述的电子设备,其中,所述处理单元,配置为在对所述数据包进行完整性鉴权之前,对所述数据包进行重排序。
  29. 根据权利要求17至19任一项所述的电子设备,其中,所述处理单元,配置为在对PDCP头去除之前,对所述数据包进行重排序。
  30. 根据权利要求17至29任一项所述的电子设备,其中,所述重排序针对上行传输的数据包;
    或所述重排序针对下行传输的数据包;
    或所述重排序针对上行传输的数据包和下行传输的数据包。
  31. 根据权利要求17至30任一项所述的电子设备,其中,所述至少一次重排序可配置。
  32. 根据权利要求19、20、22或23所述的电子设备,其中,所述网络设备包括:
    目标网络设备和源网络设备。
  33. 一种电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求1至16任一项所述的数据包重排序方法的步骤。
  34. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求1至16任一项所述的数据包重排序方法。
PCT/CN2018/122606 2018-12-21 2018-12-21 一种数据包重排序方法、电子设备及存储介质 WO2020124540A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/122606 WO2020124540A1 (zh) 2018-12-21 2018-12-21 一种数据包重排序方法、电子设备及存储介质
CN201880097568.6A CN112703815B (zh) 2018-12-21 2018-12-21 一种数据包重排序方法、电子设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/122606 WO2020124540A1 (zh) 2018-12-21 2018-12-21 一种数据包重排序方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020124540A1 true WO2020124540A1 (zh) 2020-06-25

Family

ID=71102924

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122606 WO2020124540A1 (zh) 2018-12-21 2018-12-21 一种数据包重排序方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN112703815B (zh)
WO (1) WO2020124540A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704769A (zh) * 2016-04-01 2016-06-22 京信通信技术(广州)有限公司 基站内小区间切换的方法及系统
CN107079005A (zh) * 2014-12-18 2017-08-18 Lg 电子株式会社 在无线通信系统中重新配置pdcp重排序定时器的方法及其设备
CN107852768A (zh) * 2015-08-06 2018-03-27 高通股份有限公司 用于增强型分量载波下的分组数据汇聚协议(pdcp)重排序的方法、装置和计算机可读介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10764781B2 (en) * 2016-05-03 2020-09-01 Qualcomm Incorporated Systems and methods for reordering data received from a plurality of radio access technologies (RATs)
CN108282248B (zh) * 2017-01-05 2020-11-27 电信科学技术研究院 一种数据传输方法、网络侧设备及用户设备
CN108632229B (zh) * 2017-03-24 2020-07-07 电信科学技术研究院 一种多连接中的头压缩方法、解头压缩方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079005A (zh) * 2014-12-18 2017-08-18 Lg 电子株式会社 在无线通信系统中重新配置pdcp重排序定时器的方法及其设备
CN107852768A (zh) * 2015-08-06 2018-03-27 高通股份有限公司 用于增强型分量载波下的分组数据汇聚协议(pdcp)重排序的方法、装置和计算机可读介质
CN105704769A (zh) * 2016-04-01 2016-06-22 京信通信技术(广州)有限公司 基站内小区间切换的方法及系统

Also Published As

Publication number Publication date
CN112703815B (zh) 2023-06-23
CN112703815A (zh) 2021-04-23

Similar Documents

Publication Publication Date Title
WO2020146991A1 (zh) 一种数据流处理方法、设备及存储介质
JP7035094B2 (ja) データを伝送するための方法、端末装置及びネットワーク装置
WO2020224631A1 (zh) 处理数据包的方法和装置
WO2020057044A1 (zh) 一种连接释放方法、数据处理方法、设备及存储介质
WO2014166053A1 (zh) 一种通讯方法和终端
WO2019014916A1 (zh) 处理数据的方法和设备
WO2020087421A1 (zh) 协议数据单元会话状态指示方法、终端设备及存储介质
TW202027478A (zh) 一種資料包處理方法、實體及儲存媒介
TW201911901A (zh) 資料傳輸的方法、終端設備和網路設備
WO2019237315A1 (zh) 一种控制安全功能的方法及装置、网络设备、终端设备
WO2018209675A1 (zh) 用于传输数据的方法和设备
WO2020258018A1 (zh) 一种数据包处理方法、设备及存储介质
WO2020082643A1 (zh) 一种区分数据格式的方法及装置、通信设备
WO2020024301A1 (zh) 一种保证数传输可靠性的方法及装置、网络设备
WO2020042038A1 (zh) 通信方法和设备
WO2019153209A1 (zh) 处理无线链路失败rlf的方法和终端设备
US11381963B2 (en) Wireless communication method and device
WO2020124540A1 (zh) 一种数据包重排序方法、电子设备及存储介质
WO2020061943A1 (zh) 一种数据传输方法、终端设备及网络设备
WO2020082327A1 (zh) 一种切换过程中的信令交互方法及装置、网络设备
WO2020024296A1 (zh) 一种基站切换方法及装置、网络设备
TW202010299A (zh) 一種訊息指示方法及裝置、終端
WO2023197799A1 (zh) 业务数据传输方法、终端、网络节点和存储介质
WO2023005919A1 (zh) 分组数据汇聚协议状态报告发送方法、设备及装置
WO2020107340A1 (zh) 一种数据处理方法、设备及存储介质

Legal Events

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

Ref document number: 18943928

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

Country of ref document: EP

Kind code of ref document: A1