WO2020258018A1 - 一种数据包处理方法、设备及存储介质 - Google Patents

一种数据包处理方法、设备及存储介质 Download PDF

Info

Publication number
WO2020258018A1
WO2020258018A1 PCT/CN2019/092713 CN2019092713W WO2020258018A1 WO 2020258018 A1 WO2020258018 A1 WO 2020258018A1 CN 2019092713 W CN2019092713 W CN 2019092713W WO 2020258018 A1 WO2020258018 A1 WO 2020258018A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdcp
electronic device
data packet
sending
sending electronic
Prior art date
Application number
PCT/CN2019/092713
Other languages
English (en)
French (fr)
Inventor
唐海
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2019/092713 priority Critical patent/WO2020258018A1/zh
Priority to CN201980064919.8A priority patent/CN112789839B/zh
Publication of WO2020258018A1 publication Critical patent/WO2020258018A1/zh

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of wireless communication technology, and in particular to a data packet processing method, device and storage medium.
  • embodiments of the present invention provide a data packet processing method, device, and storage medium, which can implement effective management of PDCP data packets.
  • an embodiment of the present invention provides a data packet processing method, including: a receiving electronic device receives PDCP SN and/or PDCP SN allocation rules of at least two sending electronic devices; the receiving electronic device is based on the PDCP SN and / Or PDCP SN allocation rules process PDCP data packets.
  • an embodiment of the present invention provides a transmitting electronic device, the transmitting electronic device includes: a first processing unit configured to set PDCP SN and/or state variables of a PDCP data packet based on first information; the first The information is a pre-appointed PDCP SN and/or PDCP SN allocation rule; or, the first information is the PDCP SN and/or PDCP SN allocation sent by the sending electronic device to the second sending electronic device and/or the receiving electronic device rule.
  • the second processing unit is configured to process the PDCP data packet according to the PDCP SN and/or PDCP SN allocation rule.
  • an embodiment of the present invention provides a sending electronic device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is configured to execute the computer program when the computer program is running. Sending the steps of the data packet processing method executed by the electronic device.
  • an embodiment of the present invention provides a receiving electronic device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is configured to execute the computer program when the computer program is running. The steps of the data packet processing method executed by the receiving electronic device.
  • 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 processing method executed by the sending electronic device is implemented.
  • 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, it implements the data packet processing method executed by the receiving electronic device.
  • the sending electronic device sets the PDCP SN and/or the state variable of the PDCP data packet based on first information; wherein, the first information is a pre-appointed PDCP SN and/or PDCP SN allocation Rule; or, the first information is the PDCP SN and/or PDCP SN allocation rule sent by the first sending electronic device to the second sending electronic device and/or the receiving electronic device.
  • the sending electronic device can set the PDCP SN and/or state variables of the PDCP data packet in a reasonable and orderly manner, avoiding the terminal device, source network device and The problem of incorrect handling of PDCP data packets caused by inconsistent understanding of PDCP SN by the target network device.
  • the receiving electronic device performs redundant sorting, detection, deletion, and redundancy detection on PDCP data packets according to the PDCP SN and/or PDCP SN allocation rules, avoiding the problem of delay in submitting PDCP data packets to higher layers after receiving PDCP data packets, and improving the network The overall data transmission rate of the system.
  • Fig. 1 is a schematic diagram of the flow of cell handover in the NR system of the present invention
  • Figure 2 is a schematic diagram of the flow of condition switching of the present invention
  • FIG. 3 is a schematic diagram of the processing flow of receiving and sending PDCP data packets according to the present invention.
  • FIG. 4 is a schematic diagram of the format of COUNT of the present invention.
  • FIG. 5 is a schematic diagram of the composition 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 processing method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of PDCP control PDU type and type indication according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another optional processing flow of a data packet processing method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a detailed processing flow of a PDCP data packet processing method according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a PDCP SN or PDCP SN allocation rule for interaction between a source network device and a target network device according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of transmission between a source network device and a target network device and a terminal device according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of the format of a PDCP control PDU carrying a PDCP SN bitmap indication according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of another detailed processing flow of the PDCP data packet processing method according to an embodiment of the present invention.
  • Fig. 15a is a schematic diagram 1 of the format of PDCP PDU carrying actual PDCP SN and virtual PDCP SN;
  • Figure 15b is a second schematic diagram of the PDCP PDU format carrying the actual PDCP SN and the virtual PDCP SN;
  • Fig. 15c is a third schematic diagram of the format of the PDCP PDU carrying the actual PDCP SN and the virtual PDCP SN;
  • FIG. 16 is a schematic diagram of the PDCP PDU of the PDCP entity sent by the source network device and the target network device to the terminal device in the embodiment of the present invention both carrying the actual PDCP SN and the virtual PDCP SN;
  • FIG. 17 is a schematic diagram of the composition structure of a transmitting electronic device according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of the composition structure of a receiving electronic device according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of the hardware composition structure of an electronic device according to an embodiment of the present invention.
  • the New Radio (NR) system supports the handover process of connected terminal devices.
  • a terminal device that is using network services moves from one cell to another, or due to wireless transmission service load adjustment, activation operation and maintenance, equipment failure, etc., in order to ensure communication continuity and service quality, the system must The communication link between the terminal equipment and the original cell is transferred to the new cell, that is, the handover process is performed.
  • Phase 1 including steps 1 to 5
  • handover preparation including measurement control and reporting, handover request and confirmation
  • Phase 3 (including steps 9 to 12), the handover is completed: the target cell and the (Acess and Mobility Management Function, AMF) and the user plane function (User Port Function, UPF) execute the path switch (Path Switch), and release the terminal of the source network device Device context.
  • AMF Access and Mobility Management Function
  • UPF User Port Function
  • conditional handover The following is a brief description of conditional handover.
  • the terminal device and the source network device perform cell measurement, configuration, and reporting; the source network device and the target network device prepare for handover; when the terminal device meets the trigger condition, it switches to the target network device.
  • the handover (HO) command command
  • the handover (HO) command is configured in advance for the terminal device to avoid the problem that the handover preparation time is too long and the terminal device is too late to switch.
  • the running track of the terminal device is specific, so the source network device can allocate the target network device to the terminal device in advance, and the HO command includes the conditions used to trigger the terminal device to switch, when the configured When conditions are met, the terminal device initiates an access request to the target network device.
  • the 3GPP RAN2#104 meeting has agreed to conditional handover and supports the configuration of multiple target cells in the handover command for conditional handover.
  • the terminal device determines which target cell to access based on the configured conditions.
  • the terminal equipment User Equipment, UE
  • the terminal equipment receives the conditional handover command, it continues to maintain the connection with the source network device, and at the same time initiates random access to the target network device until the terminal device and the target network The connection of the source base station is released after the device is connected.
  • the PDCP entity transmitter receives a PDCP SDU from the upper layer, and associates the received PDCP SDU count value (COUNT) with TX_NEXT, Set the PDCP SN corresponding to the PDCP SDU to TX_NEXT modulo 2 [pdcp-SN-SizeUL] , and TX_NEXT plus 1.
  • COUNT PDCP SDU count value
  • the data packet processing method of the embodiment of this application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, and broadband code division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), LTE system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (Time Division) Duplex, TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system, etc.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA broadband code division Multiple Access
  • GPRS General Packet Radio Service
  • LTE system LTE Frequency Division Duplex
  • FDD Frequency Division Duplex
  • Time Division Duplex Time Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • 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 the 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, a vehicle-mounted device, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in the future evolution of the Public Land Mobile Network (PLMN), etc.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • LTE Long Term Evolutional Node B
  • eNB evolved base station
  • CRAN Cloud Radio Access Network
  • the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches
  • the communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110.
  • the "terminal equipment” used here includes but is not limited to connection via wired lines, such as via public switched telephone networks (PSTN), digital subscriber lines (Digital Subscriber Line, DSL), digital cables, and direct cable connections ; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and/or another terminal device that is set to receive/send communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN public switched telephone networks
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL
  • a terminal device set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellites or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio phone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in the future evolution of PLMN, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.
  • the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • Figure 5 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 with a communication function and a terminal device 120.
  • 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 other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the application.
  • An optional processing procedure of the data packet processing method provided by the embodiment of the present invention, as shown in FIG. 6, includes the following steps:
  • Step S201 The first sending electronic device sets the PDCP SN and/or state variables of the PDCP data packet based on the first information.
  • the first information is a pre-appointed PDCP SN and/or PDCP SN allocation rule, that is, the PDCP SN and/or PDCP SN allocation rule may be predefined; or, the first information is the The PDCP SN and/or PDCP SN allocation rule sent by the first sending electronic device to the second sending electronic device and/or the receiving electronic device.
  • the first sending electronic device periodically sends PDCP SN and/or PDCP SN allocation rules to the second sending electronic device and/or the receiving electronic device; or, the first sending electronic device sends to the second based on the event The electronic device and/or the PDCP SN and/or PDCP SN allocation rules sent by the electronic device.
  • the event includes at least one of the following: notification of subsequent shared PDCP SN list/PDCP SN identification/PDCP SN bitmap/PDCP SN pattern (pattern), PDCP SN pattern change and PDCP SN allocation rules change.
  • the pre-appointed PDCP SN or the PDCP SN sent by the first sending electronic device to the second sending electronic device and/or the receiving electronic device includes at least one of the following: PDCP SN, PDCP SN list, PDCP SN Bitmap, PDCP SN pattern.
  • the PDCP SN allocation rule refers to how to allocate PDCP SN to PDCP data packets.
  • the PDCP SN and/or PDCP SN allocation rules are sent through at least one of the following: RRC signaling, MAC CE, physical layer signaling bearer, and PDCP package; wherein, the PDCP package includes: PDCP control At least one of a packet and a PDCP data packet. That is, the first sending electronic device sends PDCP SN and/or to the second sending electronic device and/or receiving electronic device through any one of RRC signaling, MAC CE, physical layer signaling bearer, PDCP control packet, and PDCP data packet. Or PDCP SN allocation rules.
  • the PDCP SN interacting between the first sending electronic device, the second sending electronic device, and the receiving electronic device can also be replaced with a COUNT corresponding to the PDCP SN; that is, the first sending electronic device sends the second sending electronic device to the second sending electronic device or The receiving electronic device sends the COUTN corresponding to the PDCP SN.
  • first receiving entity and the second receiving entity in the terminal device may also be implemented by functional modules in the terminal device.
  • the PDCP SN and/or PDCP SN allocation rule is determined by the first sending electronic device, or the PDCP SN is determined by the second sending electronic device, or the PDCP SN is determined by the The first sending electronic device and the second sending electronic device are jointly determined.
  • the PDCP SN and/or PDCP SN allocation rules are determined according to at least one of the following: service characteristics, quality of service (Quality of Service, QoS) requirements, scheduling conditions, semi-persistent scheduling (Semi-Persistent Scheduling, SPS) configuration information, Configured Grant (CG) configuration information, activated carrier information, activated SPS information, activated CG information, service volume, service type, cell load, cell interference, and cell channel quality .
  • QoS Quality of Service
  • SPS semi-persistent scheduling
  • CG Configured Grant
  • the PDCP control PDU has at least one of the following attributes:
  • the PDCP control PDU carries the information of the PDCP SN, and/or carries the indication of the control information type of the included PDCP SN information.
  • the PDCP control PDU is a new PDCP control PDU type that is different from the existing PDCP control PDU type.
  • the new PDCP control PDU type is a type other than ROHC feedback and PDCP status report; optionally, the new PDCP control PDU type is used to indicate that the PDU carries PDCP SN information; for example, PDCP control
  • the PDU contains the indication of the control information type of PDCP SN information.
  • the schematic diagram of PDCP control PDU type and type indication as shown in Figure 7, when the bit value of the type indication is 000, the corresponding PDCP control PDU type is the PDCP status report; when the bit value of the type indication is 001, the corresponding PDCP control PDU The type is ROHC feedback; when the bit value of the type indicator is 010, the corresponding PDCP control PDU type is PDCP SN; when the bit value of the type indicator is 011 to 111, the corresponding PDCP control PDU type is a reserved value.
  • the new PDCP control PDU carries the information of the PDCP SN.
  • the PDCP control PDU may include at least one of the following information: the position of the PDCP SN in the PDCP data packet, for example, the PDCP SN is located in the header of the PDCP data packet or in the data packet.
  • the PDCP SN that is jointly maintained is carried in the PDCP control PDU.
  • At least one of the PDCP SN Bitmap, the starting SN corresponding to the PDCP SN Bitmap, and the ending SN corresponding to the PDCP SN Bitmap is carried in the PDCP control PDU.
  • At least one of the PDCP SN pattern, the starting SN corresponding to the PDCP SN pattern, and the ending SN corresponding to the PDCP SN pattern is carried in the PDCP control PDU.
  • the PDCP control PDU carries the start SN and the end SN in the jointly maintained PDCP SN.
  • the length or period of the jointly maintained PDCP SN pattern is carried in the PDCP control PDU;
  • the first sending electronic device sets the PDCP SN and/or state variables of the PDCP data packet
  • the processing flow includes:
  • Step 1a Set the value of TX-NEXT and/or the initial value of TX-NEXT based on the first information.
  • the initial value of TX-NEXT is not necessarily 0; the initial value of TX-NEXT is related to the pre-appointed PDCP SN and/or PDCP SN allocation rule; or, the initial value of TX-NEXT is related to the first transmitting electronic device
  • the PDCP SN and/or PDCP SN allocation rules sent to the second sending electronic device and/or the receiving electronic device are related.
  • Step 1b Associate the COUNT of the PDCP data packet with the value of TX-NEXT.
  • Step 1c Set the PDCP SN of the PDCP data packet to a value obtained by modulating a function of the size of the PDCP SN using TX-NEXT.
  • the PDCP SN of the PDCP data packet can be set to TX-NEXT modulo 2 [PDCPSN-SizeUL] .
  • Step 1d Set the value of TX-NEXT as the next PDCP SN adjacent to the current PDCP SN based on the first information.
  • the receiving electronic device uses the second PDCP SN to process PDCP data packets between PDCP entities;
  • the first transmitting electronic device and the second transmitting electronic device use their own first PDCP SN to perform PDCP data packet grouping, PDCP data packet transmission, PDCP SN setting, PDCP data packet state variable maintenance, and PDCP entity At least one item of PDCP data packet processing; wherein the first sending electronic device sets the PDCP SN of the PDCP data packet according to the first PDCP SN, which means that the first sending electronic device only considers its own PDCP SN and does not The impact of PDCP entities.
  • the first PDCP SN of the first sending electronic device is a continuous integer starting from 0, and the initial value of TX-NEXT is 0.
  • the value of TX-NEXT is increased by 1.
  • the sending mode of the first PDCP SN and the second PDCP SN Including any of the following:
  • the first PDCP SN and the second PDCP SN are carried in the PDCP data packet;
  • the first PDCP SN is carried in the header of the PDCP data packet, and the second PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the second PDCP SN is carried in the header of the PDCP data packet, and the first PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the first PDCP SN is carried in a header or a data packet of the PDCP data packet, and the second PDCP SN is sent through dedicated signaling;
  • the second PDCP SN is carried in a header or a data packet of the PDCP data packet, and the first PDCP SN is sent through dedicated signaling;
  • the first PDCP SN and the second PDCP SN are sent through dedicated signaling.
  • the type of the PDCP data packet refers to whether the PDCP data packet is an existing PDCP data packet type or a new PDCP data packet type; the format of the PDCP data packet refers to whether the PDCP data packet is new The format is still the original format, which PDCP SN is included, and at least one of several PDCP SNs is included; the PDCP SN information carried in the PDCP data packet refers to the PDCP SN carried in the PDCP data packet, such as the PDCP The data packet carries the first PDCP SN, or the second PDCP SN, or carries the first PDCP SN and the second PDCP SN.
  • the PDCP SN information carried in the PDCP data packet is that the PDCP data packet carries the first PDCP SN or the second PDCP SN
  • another PDCP SN not carried in the PDCP data packet may be sent by dedicated signaling or No other PDCP SN exists or is not used.
  • the R bit in the PDCP data packet may be used to identify the first indication information.
  • the PDCP data packet includes the first PDCP SN, whether the PDCP data packet includes the second PDCP SN, whether the first PDCP SN is in the header of the PDCP data packet or in the data packet, the first PDCP data packet
  • the second PDCP SN is in the packet header of the PDCP data packet or the sequence of the second PDCP SN and the first PDCP SN in the data packet.
  • the sequence of the second PDCP SN and the first PDCP SN refers to that when the second PDCP SN and the first PDCP SN both carry one of the following, they are both in the PDCP data packet and are in the data In the header of the packet, one in the header of the data packet and one in the data packet, the first PDCP SN is in the front, and the second PDCP SN is in the back; or, the first PDCP SN is in the back, and the first PDCP SN is in the back.
  • the two PDCP SN are in front.
  • the source network device When the source network device generates the second PDCP SDU, according to the current TX-NEXT value 1, it is determined that the COUNT value of the PDCP PDU corresponding to the second PDCP SDU is 1, the PDCP SN is 1; the value of TX-NEXT Add 1 to the current 1, that is, the value of TX-NEXT is 2; and so on.
  • Step 2a Set the value of TX-NEXT based on the first PDCP SN.
  • Step 2b Set the initial value of TX-NEXT based on the first PDCP SN.
  • the initial value of TX-NEXT is not necessarily 0; the initial value of TX-NEXT is related to the pre-appointed first PDCP SN and/or PDCP SN allocation rule; or, the initial value of TX-NEXT is related to the first transmission
  • the first PDCP SN and/or PDCP SN allocation rules sent by the electronic device to the second sending electronic device and/or the receiving electronic device are related.
  • Step 2c Associating the count value COUNT of the PDCP data packet with the value of TX-NEXT;
  • Step 2d Set the PDCP SN of the PDCP data packet to a value obtained by modulating a function of the size of the PDCP SN using TX-NEXT.
  • the PDCP SN of the PDCP data packet can be set to TX-NEXT modulo 2 [PDCPSN-SizeDL] .
  • the PDCP SN of the PDCP data packet can be set to TX-NEXT modulo 2 [PDCPSN-SizeUL] .
  • Step 2e Set the value of TX-NEXT to the next PDCP SN adjacent to the current PDCP SN based on the first PDCP SN.
  • any of the above steps 2a to 2d is optional.
  • Another optional processing procedure of the data packet processing method provided by the embodiment of the present invention, as shown in FIG. 9, includes the following steps:
  • Step S301 The receiving electronic device receives PDCP SN and/or PDCP SN allocation rules of at least two sending electronic devices.
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices may be sent to the receiving electronic device by any one sending electronic device.
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices may be sent to the receiving electronic device by a specific one sending electronic device.
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices may be sent by each sending electronic device to the receiving electronic device; that is, the first sending electronic device sends the PDCP SN of the at least two sending electronic devices And/or the PDCP SN allocation rule is sent to the receiving electronic device, and the second sending electronic device also sends the PDCP SN and/or PDCP SN allocation rules of at least two sending electronic devices to the receiving electronic device.
  • the first sending electronic device not only sends the PDCP SN and/or PDCP SN allocation rules of the first electronic device to the receiving electronic device, but also sends the PDCP SN and/or PDCP SN allocation rules of the second electronic device to the receiving electronic device ;
  • the second electronic device not only sends the PDCP SN and/or PDCP SN allocation rules of the second electronic device to the receiving electronic device, but also sends the PDCP SN and/or PDCP SN allocation rules of the first electronic device to the receiving electronic device.
  • the first sending electronic device sends the PDCP SN and/or PDCP SN allocation rule of the second electronic device to the receiving electronic device
  • the second sending electronic device sends the PDCP SN and/or PDCP SN allocation rule of the first electronic device to Receiving electronic equipment.
  • the description of the PDCP SN and PDCP SN allocation rules in the embodiment of the present invention is the same as the foregoing step S201, and will not be repeated here.
  • the description of PDCP SN and PDCP SN allocation rules can include at least one or more of the following: who determines the PDCP SN and PDCP SN allocation rules, what parameters are the PDCP SN and PDCP SN allocation rules determined, and PDCP SN And the form and content of PDCP SN allocation rules.
  • Step S302 The receiving electronic device processes the PDCP data packet according to the PDCP SN and/or PDCP SN allocation rule.
  • the receiving electronic device receives the first PDCP data packet sent by the first sending electronic device and the second PDCP data packet sent by the second sending electronic device; the receiving electronic device processes the first PDCP data packet as in PDCP
  • the PDCP data packet is processed in the entity, and the processing of the second PDCP data packet by the receiving electronic device is processing the PDCP data packet in the PDCP entity; the processing performed by the receiving electronic device on the first PDCP data packet and the second PDCP data packet To process PDCP data packets between PDCP entities.
  • the receiving electronic device needs to receive the PDCP data packet and/or PDCP control PDU first.
  • the receiving electronic device processes the PDCP data packet according to the PDCP SN, including:
  • the receiving electronic device performs PDCP entity processing on the PDCP data packet according to the first PDCP SN; and/or, the receiving electronic device performs processing on the PDCP data packet according to the second PDCP SN Processing between PDCP entities.
  • the receiving electronic device replaces the first PDCP SN with the second PDCP SN corresponding to the first PDCP SN after completing the PDCP entity processing on the PDCP data packet.
  • whether the receiving electronic device processes the PDCP data packet in the PDCP entity and/or between the PDCP entities is preset, or configured by the network device, or the receiving electronic device is based on the PDCP SN And at least one of the state variables.
  • the network device configures the receiving electronic device to deliver PDCP data packets to the higher layer in order.
  • the processing of the receiving electronic device for the PDCP data packet sent by the first sending electronic device, or the processing of the receiving electronic device for the PDCP data packet sent by the first sending entity of the sending electronic device belongs to the processing of the PDCP data packet in the PDCP entity .
  • the processing of the receiving electronic device for the PDCP data packet sent by the second sending electronic device or the processing of the receiving electronic device for the PDCP data packet sent by the second sending entity of the sending electronic device belongs to the PDCP data packet in the PDCP entity deal with.
  • the receiving electronic device After the receiving electronic device performs intra-entity processing on the PDCP data packets sent by the first sending electronic device and the second sending electronic device, or the receiving electronic device separately sends PDCP data sent by the first sending entity and the second sending entity of the sending electronic device
  • the packet is processed in the entity
  • the PDCP data packets sent by the first sending electronic device and the second sending electronic device are processed uniformly, or the PDCP data packets sent by the first sending entity and the second sending entity of the sending electronic device are unified
  • the processing is called the processing of PDCP data packets between PDCP entities.
  • the processing within the PDCP entity may not be performed, and only the processing between the PDCP entities may be performed, or, the processing between the PDCP entities may not be performed, and only the processing within the PDCP entity may be performed.
  • the receiving entity in the terminal device may be the first PDCP entity of the terminal device and/or the second PDCP entity of the terminal device; or, the receiving entity in the terminal device may also be It is the first functional module in the PDCP entity of the terminal device and/or the second functional module in the PDCP entity of the terminal device.
  • the sending electronic device is a terminal device
  • the sending entity in the terminal device may be the first PDCP entity in the terminal device and/or the second PDCP entity in the terminal device, or the sending entity in the terminal device may also It may be the first functional module in the PDCP entity in the terminal device and/or the second functional module in the PDCP entity in the terminal device.
  • the receiving electronic device is a terminal device, and the sending electronic device is a source network device and/or a target network device; or, the receiving electronic device is the first receiving entity in the terminal device, and the The sending electronic device is the first sending entity in the terminal device; or, the receiving electronic device is the source network device and/or the target network device, and the sending electronic device is the terminal device; or, the receiving electronic device is the target network Device, the sending electronic device is a source network device; or, the receiving electronic device is a source network device, and the sending electronic device is a target network device; or, the receiving electronic device is a source network device, and the sending electronic device The device is the first sending entity and/or the second sending entity in the terminal device; or, the receiving electronic device is the target network device, and the sending electronic device is the first sending entity and/or the second sending entity in the terminal device. entity.
  • a detailed processing flow of the PDCP data packet processing method includes:
  • Step S401 The source network device and the target network device exchange PDCP SN or PDCP SN allocation rules.
  • the source network device can be considered as the first sending electronic device, and the target network device is the second sending electronic device.
  • the PDCP SN or PDCP SN allocation rules are exchanged between the source network device and the target network device to determine the PDCP SN used by the source network device when the source network device and the terminal device perform DRB or SRB bearer transmission; and determine the target network device and the terminal device The PDCP SN used by the target network device during DRB bearer or SRB bearer transmission.
  • the source network device and the target network device interact with PDCP SN and/or PDCP SN allocation rules, which refer to the PDCP SN and/or PDCP SN and/or that the source network device will determine when the target network device and the terminal device perform DRB bearer or SRB bearer transmission Or the PDCP SN allocation rules are sent to the target network device; or, the source network device uses the PDCP SN and/or PDCP SN allocation rules when transmitting the DRB bearer or SRB bearer between itself and the terminal device, and the determined distribution rules between the target network device and the target network device
  • the PDCP SN and/or PDCP SN allocation rules adopted by the terminal device for DRB bearer or SRB bearer transmission are sent to the target network device; or the source network device carries itself with the terminal device for data bearer (DRB) or signaling
  • the PDCP SN and/or PDCP SN allocation rules used in the bearer (Signal Resource Bearer, SRB) transmission are sent to the target
  • the source network device and the target network device exchange PDCP SN or PDCP SN allocation rules, which may be the PDCP SN or PDCP SN allocation rule exchange between the PDCP entity of the source network device and the PDCP entity of the target network device.
  • PDCP SN or PDCP SN allocation rules which may be the PDCP SN or PDCP SN allocation rule exchange between the PDCP entity of the source network device and the PDCP entity of the target network device.
  • the source network device determines to perform a handover process in which the terminal device and two network devices perform simultaneous transmission, such as enhanced mobile broadband (eMBB) based on conditional switching.
  • eMBB enhanced mobile broadband
  • the source network device determines to adopt the bearer split method for transmission between the source network device and the target network device and the terminal device; as shown in Figure 12, according to the order of PDCP SDU, the first, third, fifth, and seventh...
  • One PDCP SDU is transmitted from the source network device, and the corresponding PDCP SN list is 1, 3, 5, 7...
  • the PDCP SN pattern is ⁇ 010101.. ⁇ ; the 0th, 2, 4, and 6th PDCP SDUs are from the target For network device transmission, the corresponding PDCP SN list is 0, 2, 4, 6... or the PDCP SN pattern is ⁇ 101010.. ⁇ .
  • the source and target network exchanges the determined PDCP SN list or PDCP SN pattern and PDCP SDU transmitted by the target target network to the target network device.
  • the interactive PDCP SN and/or PDCP SN allocation rule may be determined by the source network device, may also be determined by the target network device, or may be jointly determined by the source network device and the target network device.
  • it can be based on service characteristics, QoS requirements, scheduling conditions, SPS configuration information, CG configuration information, activated carrier information, activated SPS information, activated CG information, service volume, service type, cell load, and cell interference , Cell channel quality, etc., determine the respective PDCP SN and/or PDCP SN of the source network device and the target network device.
  • the interactive SN can also be replaced by the COUNT corresponding to the SN.
  • Step S402 The source network device and the target network device set the PDCP SN and/or state variables of the PDCP data packet according to the PDCP SN or PDCP SN allocation rule.
  • Step S403 The source network device sends the interactive PDCP SN or PDCP SN allocation rule to the terminal device.
  • the source network device uses different PDCP control PDUs to send the PDCP SN pattern or PDCP SN bitmap or PDCP SN list used by the source network device or the target network device to the terminal device.
  • the PDCP control PDU includes at least one PDCP SN.
  • the terminal device determines the PDCP SN used by the source network device and/or the target network device according to the PDCP SN pattern or PDCP SN bitmap or PDCP SN list sent by the source network device.
  • the source network device may also send the PDCP SN pattern or PDCP SN bitmap or PDCP SN list to the terminal device through RRC signaling, MAC CE, physical layer signaling bearer, and PDCP data packet.
  • Step S404 The terminal device determines whether to deliver the PDCP data packet to the higher layer according to the interactive PDCP SN or PDCP SN allocation rule.
  • the terminal device determines the PDCP SN information of the PDCP data packet transmitted between the terminal device and the source network device, as well as the terminal device and the target network device according to the received PDCP SN bitmap, PDCP SN list, or PDCP SN pattern PDCP and SN information of the PDCP data packets transmitted between. For example, the terminal device determines that the PDCP SN used by the source network device is 1, 3, 5, 7..., and the PDCP SN used by the target network device is 0, 2, 4, 6, 8,....
  • DRB bearer or SRB bearer when the terminal device supports two-path transmission with the source network device and the target network device at the same time, the source network device sends the DRB bearer or SRB bearer to the terminal device, and the target network device also sends the DRB bearer to the terminal device.
  • SRB bearer the PDCP data packet processing method in the embodiment of the present invention will be described in detail.
  • the first PDCP SN is the virtual PDCP SN
  • the second PDCP SN is the actual PDCP SN
  • Step S501 The source network device and the target network device exchange PDCP SN or PDCP SN allocation rules.
  • step S502 the source network device and the target network device use the virtual PDCP SN and the actual PDCP SN to perform PDCP data packet grouping, transmission, and maintenance of the sending end PDCPSN and/or state variables.
  • the PDCP PDU can also carry the actual PDCP SN value.
  • the actual PDCP SN value carried in the PDCP PDU sent by the source network device is 1, 3, 5, 7...
  • the actual PDCP SN value carried in the PDCP PDU sent by the target network device The PDCP SN value is 2, 4, 6, 8....
  • Step S503 The terminal device receives the PDCP PDUs from the source network device and the target network device respectively, and processes the PDCP PDU in the entity based on the virtual PDCP SN.
  • the terminal device performs operations such as reordering within the entity and sequential delivery within the entity according to the virtual PDCP SN.
  • whether to perform reordering within the entity and order delivery within the entity may be predefined or configured by the network device.
  • Step S504 The terminal device performs inter-entity processing on the PDCP PDU based on the actual PDCP SN.
  • the PDCP PDU of the PDCP entity sent by the source network device and the target network device to the terminal device for example, the PDCP data PDU carries the actual PDCP SN and the virtual PDCP SN.
  • Both the source network device and the target network device are based on the virtual PDCP SN to sort the PDCP PDU in the entity, and the specific network entity or layer (such as a layer above the source network device PDCP and the target network device PDCP) is based on the actual PDCP
  • the SN performs PDCP PDU sequencing between entities.
  • the terminal device supports two-path transmission with the source network device and the target network device at the same time, the source network device sends the DRB bearer or SRB bearer to the terminal device, and the target network device
  • the DRB bearer or the SRB bearer is also sent to the terminal device
  • the embodiments of the present invention are also applicable to the case where the terminal device supports two-path transmission with the source network device and the target network device at the same time.
  • the terminal device sends the DRB bearer or the SRB bearer to the source network device, and the terminal device also transmits to the target network.
  • the device also sends a scenario of DRB bearer or SRB bearer; in this scenario, the terminal device can interact with the network device PDCP SN and/or PDCP SN allocation rules.
  • the PDCP SN (such as PDCP SN pattern or PDCP SN bitmap or PDCP SN list) and/or PDCP SN allocation rules can be sent through RRC signaling, MAC CE, physical layer signaling bearer, PDCP control PDU, PDCP data packet To network equipment.
  • the transmitting electronic device may be a PDCP entity inside the terminal device
  • the receiving electronic device may be another PDCP entity inside the terminal device.
  • a PDCP entity or PDCP function module of the terminal device when transmitting uplink data, sends a PDCP data packet to the source network device, and another PDCP entity or PDCP function module of the terminal device sends a PDCP data packet to the target network device;
  • a PDCP entity or PDCP function module of the terminal device can interact with another PDCP entity or PDCP function module of the terminal device for PDCP SN and/or PDCP SN allocation rules.
  • the data packet processing method provided by the embodiment of the present invention clarifies that the terminal device and the source network device and the target network device perform data transmission at the same time, especially how to deal with PDCP data packets when there are two corresponding PDCP entity transmission buffers and/or reception buffers.
  • the PDCP SN and PDCP data packet state variables are managed. It avoids the problem of inconsistent understanding of PDCP SN by the terminal device, source network device and target network device due to the incorrect setting of the PDCP SN and/or state variables of the PDCP data packet, and the problem of incorrect processing of the received PDCP data packet. At the same time, it avoids the problem of delay in submitting to the upper layer after receiving the PDCP data packet, and ensures the overall data transmission rate of the system.
  • an embodiment of the present invention provides a sending electronic device.
  • the composition structure of the sending electronic device 600 includes:
  • the first processing unit 601 is configured to set the PDCP SN and/or state variables of the PDCP data packet based on the first information; the first information is a pre-appointed PDCP SN and/or PDCP SN allocation rule; or, the first The information is the PDCP SN and/or PDCP SN allocation rule sent by the sending electronic device to the second sending electronic device and/or the receiving electronic device.
  • the sending electronic device 600 further includes:
  • the sending electronic device 600 further includes:
  • the second sending unit 603 is configured to send PDCP SN and/or PDCP SN allocation rules to the receiving electronic device.
  • the PDCP packet is a PDCP control PDU
  • the PDCP control PDU carries the information of the PDCP SN, and/or carries the indication of the type of control information contained in the PDCP SN information;
  • the PDCP control PDU carries a jointly maintained PDCP SN
  • a PDCP SN pattern, a starting SN corresponding to the PDCP SN pattern, and a terminating SN corresponding to the PDCP SN pattern are carried in the PDCP control PDU;
  • the PDCP control PDU carries the start SN and the end SN in the PDCP SN that are maintained together;
  • the number of PDCP SNs that are jointly maintained is carried in the PDCP control PDU;
  • the length of the PDCP SN Bitmap maintained jointly is carried in the PDCP control PDU;
  • a jointly maintained PDCP SN list is carried in the PDCP control PDU.
  • the first processing unit 601 is configured to perform at least one of the following:
  • TX-NEXT Setting the value of TX-NEXT and/or the initial value of TX-NEXT based on the first information
  • TX-NEXT Set the value of TX-NEXT to the next PDCP SN adjacent to the current PDCP SN based on the first information.
  • the PDCP SN includes: a first PDCP SN and a second PDCP SN;
  • the first PDCP SN is used for at least one of the following: the first sending electronic device performs PDCP data packet grouping and transmission, setting the PDCP SN and/or state variables of the PDCP data packet, and receiving electronic device performs PDCP data packet processing in the PDCP entity;
  • the second PDCP SN is used to receive the electronic device for PDCP data packet processing between PDCP entities.
  • the first PDCP SN and the second PDCP SN are carried in the PDCP data packet
  • the first PDCP SN is carried in the header of the PDCP data packet
  • the second PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the second PDCP SN is carried in the header of the PDCP data packet
  • the first PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the second PDCP SN is carried in a header or a data packet of the PDCP data packet, and the first PDCP SN is sent through dedicated signaling;
  • the first PDCP SN and the second PDCP SN are sent through dedicated signaling.
  • the PDCP data packet further includes first indication information, and the first indication information is used to indicate at least one of the following: the type of the PDCP data packet, the format of the PDCP data packet, and the The PDCP SN information carried in the PDCP data packet.
  • the PDCP data packet further includes second indication information, and the second indication information is used to indicate at least one of the following:
  • the PDCP data packet includes the first PDCP SN, whether the PDCP data packet includes the second PDCP SN, whether the first PDCP SN is in the header of the PDCP data packet or in the data packet, the first PDCP data packet
  • the second PDCP SN is in the packet header of the PDCP data packet or the sequence of the second PDCP SN and the first PDCP SN in the data packet.
  • the first processing unit 601 is further configured to determine at least one of the following information according to instructions or predefined information of the network device:
  • the first processing unit 601 is configured to perform at least one of the following:
  • TX-NEXT based on the first PDCP SN, and the initial value may be 0;
  • TX-NEXT TX-NEXT plus 1 based on the first PDCP SN.
  • the PDCP SN and/or PDCP SN allocation rule is sent periodically or based on events.
  • the event includes at least one of the following: PDCP SN pattern change and PDCP SN allocation rule change.
  • the sending electronic device is a source network device, and the receiving electronic device is a terminal device;
  • the first sending electronic device is a source network device
  • the second sending electronic device is a target network device
  • the receiving electronic device is a first receiving entity and/or a second receiving entity in the terminal device
  • the sending electronic device is a source network device
  • the receiving electronic device is a target network device
  • the sending electronic device is a source network device
  • the second sending electronic device is a target network device
  • the receiving electronic device is a terminal device
  • the sending electronic device is a target network device
  • the receiving electronic device is a terminal device
  • the first sending electronic device is a target network device
  • the second sending electronic device is a source network device
  • the receiving electronic device is a first receiving entity and/or a second receiving entity in the terminal device
  • the sending electronic device is a target network device
  • the second sending electronic device is a source network device
  • the receiving electronic device is a terminal device
  • the sending electronic device is a target network device, and the receiving electronic device is a source network device; or, the sending electronic device is a terminal device, and the receiving electronic device is a target network device and/or a source network device;
  • the sending electronic device is the first sending entity in the terminal device
  • the receiving electronic device is the first receiving entity in the terminal device
  • the sending electronic device is a first sending entity in the terminal device
  • the second sending electronic device is a second sending entity in the terminal device
  • the receiving electronic device is a target network device and a source network equipment.
  • the pre-appointed PDCP SN or the PDCP SN sent by the first sending electronic device to the second sending electronic device and/or the receiving electronic device includes at least one of the following: PDCP SN, PDCP SN list, PDCP SN Bitmap, PDCP SN pattern.
  • an embodiment of the present invention provides a receiving electronic device.
  • the composition structure of the receiving electronic device 800 includes:
  • the receiving unit 801 is configured to receive PDCP serial numbers SN and/or PDCP SN allocation rules of at least two sending electronic devices;
  • the second processing unit 802 is configured to process PDCP data packets according to the PDCP SN and/or PDCP SN allocation rule.
  • the PDCP SN and/or PDCP SN allocation rule of the sending electronic device includes: a first PDCP SN and a second PDCP SN;
  • the first PDCP SN is used for at least one of the following: the sending electronic device performs PDCP data packet grouping and transmission, setting the PDCP SN and/or state variables of the PDCP data packet, and the receiving electronic device performs PDCP PDCP data packet processing in the entity;
  • the second PDCP SN is used by the receiving electronic device to perform PDCP data packet processing between PDCP entities.
  • the second processing unit 802 is configured to perform processing in the PDCP entity on the PDCP data packet according to the first PDCP SN;
  • the second PDCP SN perform PDCP-entity processing on the PDCP data packet.
  • the first PDCP SN and the second PDCP SN are carried in the PDCP data packet
  • the first PDCP SN is carried in the header of the PDCP data packet
  • the second PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the second PDCP SN is carried in the header of the PDCP data packet
  • the first PDCP SN is carried in the header of the PDCP data packet or in the PDCP data packet;
  • the first PDCP SN is carried in a header or a data packet of the PDCP data packet, and the second PDCP SN is sent through dedicated signaling;
  • the second PDCP SN is carried in a header or a data packet of the PDCP data packet, and the first PDCP SN is sent through dedicated signaling;
  • the first PDCP SN and the second PDCP SN are sent through dedicated signaling.
  • the PDCP data packet further includes first indication information, and the first indication information is used to indicate at least one of the following:
  • the type of the PDCP data packet, the format of the PDCP data packet, and the PDCP SN information carried in the PDCP data packet is not limited.
  • the PDCP data packet further includes second indication information, and the second indication information is used to indicate at least one of the following:
  • the PDCP data packet includes the first PDCP SN, whether the PDCP data packet includes the second PDCP SN, whether the first PDCP SN is in the header of the PDCP data packet or in the data packet, the first PDCP data packet
  • the second PDCP SN is in the packet header of the PDCP data packet or the sequence of the second PDCP SN and the first PDCP SN in the data packet.
  • the second processing unit 802 is further configured to replace the first PDCP SN with the second PDCP SN.
  • the receiving unit 801 is further configured to receive PDCP data packets and/or PDCP control PDUs.
  • whether the receiving electronic device processes the PDCP data packet in a PDCP entity and/or between PDCP entities is preset, or configured by a network device, or determined by the second processing unit according to Is determined by at least one of the PDCP SN and state variables.
  • the second processing unit in the case that the t-reordering timer expires, is configured to determine to deliver the PDCP data packets to a higher layer in order;
  • the second processing unit is configured to determine to deliver the PDCP data packets to the higher layer in order.
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices are sent to the receiving electronic device by any one sending electronic device;
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices are sent to the receiving electronic device by a designated one sending electronic device;
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices are all sent by each sending electronic device to the receiving electronic device;
  • the PDCP SN and/or PDCP SN allocation rule of each sending electronic device is sent to the receiving electronic device by the sending electronic device itself and/or other sending electronic devices.
  • the PDCP SN and/or PDCP SN allocation rules of the at least two transmitting electronic devices are determined by any one of the transmitting electronic devices;
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices are determined by a designated one of the sending electronic devices;
  • the PDCP SN and/or PDCP SN allocation rules of the at least two sending electronic devices are jointly determined by the at least two sending electronic devices.
  • the PDCP SN and/or PDCP SN allocation rules are determined according to at least one of the following: service characteristics, QoS requirements, scheduling conditions, SPS configuration information, CG configuration information, activated carrier information, activation SPS information, activated CG information, business volume, business type, cell load, cell interference, and cell channel quality.
  • the PDCP SN and/or PDCP SN allocation rule is received through at least one of the following: RRC signaling, MAC CE, physical layer signaling bearer, and PDCP packet.
  • the PDCP packet is a PDCP control PDU
  • the PDCP control PDU carries the information of the PDCP SN, and/or carries the indication of the type of control information contained in the PDCP SN information;
  • the PDCP control PDU carries a jointly maintained PDCP SN
  • a PDCP SN Bitmap, a starting SN corresponding to the PDCP SN Bitmap, and a terminating SN corresponding to the PDCP SN Bitmap are carried in the PDCP control PDU;
  • the PDCP control PDU carries the start SN and the end SN in the PDCP SN that are maintained together;
  • the number of PDCP SNs that are jointly maintained is carried in the PDCP control PDU;
  • the length of the PDCP SN Bitmap maintained jointly is carried in the PDCP control PDU;
  • the length or period of the PDCP SN pattern maintained together is carried in the PDCP control PDU;
  • a jointly maintained PDCP SN list is carried in the PDCP control PDU.
  • the receiving electronic device is a terminal device
  • the sending electronic device is a source network device and/or a target network device
  • the receiving electronic device is the first receiving entity in the terminal device
  • the sending electronic device is the first sending entity in the terminal device
  • the receiving electronic device is a source network device and/or a target network device
  • the sending electronic device is a terminal device
  • the receiving electronic device is a target network device
  • the sending electronic device is a source network device
  • the receiving electronic device is a source network device
  • the sending electronic device is a target network device
  • the receiving electronic device is a source network device
  • the sending electronic device is a first sending entity and/or a second sending entity in a terminal device
  • the receiving electronic device is a target network device
  • the sending electronic device is a first sending entity and/or a second sending entity in a terminal device.
  • the PDCP serial numbers SN of the at least two sending electronic devices include at least one of the following: PDCP SN, PDCP SN list, PDCP SN Bitmap, PDCP SN pattern.
  • the embodiment of the present invention also provides a sending electronic device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the computer program when the computer program is executed.
  • a sending electronic device including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the computer program when the computer program is executed. The steps of the packet processing method.
  • An embodiment of the present invention also provides a receiving electronic device, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to run the computer program to execute the above-mentioned network device execution The steps of the packet processing method.
  • 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 the 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 clarity of description, various buses are marked as the bus system 705 in FIG. 19.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and 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 Memory), magnetic surface memory, optical disk, or CD-ROM -ROM, Compact Disc Read-Only Memory); Magnetic surface memory can be disk storage or tape storage.
  • the volatile memory may be 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 enhanced -Type synchronous dynamic random access memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • direct memory bus random access memory DRRAM, Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 702 described in the embodiment of the present invention is intended to include but not limited to these and any other suitable types of memory.
  • 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, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 701 or instructions in the form of software.
  • the aforementioned processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the processor 701 may implement or execute various methods, steps, and logical block diagrams disclosed 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 can be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and 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.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Abstract

本发明公开了一种数据包处理方法,包括:第一发送电子设备基于第一信息设置分组数据汇聚协议(PDCP)数据包的PDCP序列号(SN)和/或状态变量;所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。本发明还公开了另一种数据包处理方法、设备及存储介质。

Description

一种数据包处理方法、设备及存储介质 技术领域
本发明涉及无线通信技术领域,尤其涉及一种数据包处理方法、设备及存储介质。
背景技术
相关技术中,在对分组汇聚数据协议(Packet Data Convergence Protocol,PDCP)数据包进行传输时,接收电子设备接收到的PDCP数据包可能来自不同发送电子设备的PDCP实体;如接收电子设备接收源网络设备的PDCP实体和目标网络设备的PDCP实体发送的PDCP数据包。为了实现对PDCP数据包的有效管理,发送电子设备如何设置PDCP序号(Serial Number,SN),以及接收电子设备如何基于PDCP SN对接收的PDCP数据包进行处理,目前尚无有效解决方案。
发明内容
为解决上述技术问题,本发明实施例提供一种数据包处理方法、设备及存储介质,能够实现对PDCP数据包的有效管理。
第一方面,本发明实施例提供一种数据包处理方法,包括:第一发送电子设备基于第一信息设置PDCP数据包的PDCP SN和/或状态变量;所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。
第二方面,本发明实施例提供一种数据包处理方法,包括:接收电子设备接收至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则;所述接收电子设备根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
第三方面,本发明实施例提供一种发送电子设备,所述发送电子设备包括:第一处理单元,配置为基于第一信息设置PDCP数据包的PDCP SN和/或状态变量;所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。
第四方面,本发明实施例提供一种接收电子设备,所述接收电子设备包括:接收单元,配置为接收至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则;
第二处理单元,配置为根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
第五方面,本发明实施例提供一种发送电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述发送电子设备执行的数据包处理方法的步骤。
第六方面,本发明实施例提供一种接收电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述接收电子设备执行的数据包处理方法的步骤。
第七方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述发送电子设备执行的数据包处理方法。
第八方面,本发明实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述接收电子设备执行的数据包处理方法。
本发明实施例提供的数据包处理方法,发送电子设备基于第一信息设置PDCP数据包的PDCP SN和/或状态变量;其中,所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。如此,使得终端设备与源网络设备和目标网络设备同时进行数据传输时,发送电子设备能够对PDCP数据包的PDCP SN和/或状态变量进行合理有序的设置,避免终端设备、 源网络设备和目标网络设备对PDCP SN的理解不一致导致的对PDCP数据包进行错误处理的问题。接收电子设备根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行冗余排序、检测、删除、冗余检测,避免了接收到PDCP数据包后向高层递交延迟的问题,提高了网络系统整体的数据传输速率。
附图说明
图1为本发明NR系统中小区切换的流程示意图;
图2为本发明条件切换的流程示意图;
图3为本发明针对PDCP数据包的收发处理流程示意图;
图4为本发明COUNT的格式示意图;
图5为本发明实施例通信系统的组成结构示意图;
图6为本发明实施例数据包处理方法的一种可选处理流程示意图;
图7为本发明实施例PDCP control PDU类型及类型指示的示意图示意图;
图8为本发明实施例第一发送电子设备设置所述PDCP数据包的PDCP SN和/或状态变量的处理流程示意图;
图9为本发明实施例数据包处理方法的另一种可选处理流程示意图;
图10为本发明实施例PDCP数据包处理方法的一种详细处理流程示意图;
图11为本发明实施例源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则示意图;
图12为本发明实施例源网络设备和目标网络设备与终端设备的传输示意图;
图13为本发明实施例携带PDCP SN bitmap指示的PDCP control PDU的格式示意图;
图14为本发明实施例PDCP数据包处理方法的另一种详细处理流程示意图;
图15a携带有实际的PDCP SN和虚拟的PDCP SN的PDCP PDU的格式示意图一;
图15b携带有实际的PDCP SN和虚拟的PDCP SN的PDCP PDU的格式示意图二;
图15c携带有实际的PDCP SN和虚拟的PDCP SN的PDCP PDU的格式示意图三;
图16为本发明实施例源网络设备和目标网络设备发送给终端设备的PDCP实体的PDCP PDU中均携带实际的PDCP SN和虚拟的PDCP SN的示意图;
图17为本发明实施例发送电子设备的组成结构示意图;
图18为本发明实施例接收电子设备的组成结构示意图;
图19为本发明实施例电子设备的硬件组成结构示意图。
具体实施方式
为了能够更加详尽地了解本发明实施例的特点和技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。
在对本发明实施例提供的数据处理方法进行详细说明之前,先对相关技术数据处理过程进行简要说明。
新无线(New Radio,NR)系统系统支持连接态终端设备的切换过程。当正在使用网络服务的终端设备从一个小区移动到另一个小区,或由于无线传输业务负荷量调整、激活操作维护、设备故障等原因,为了保证通信的连续性和服务的质量,系统要将该终端设备与原小区的通信链路转移到新的小区上,即执行切换过程。
以Xn接口切换过程为例,适用于长期演进(Long Term Evolution,LTE)系统以及NR系统的小区切换过程,如图1所示,分为以下三个阶段:
阶段1(包括步骤1至5),切换准备:包括测量控制和汇报,切换请求以及确认
阶段2(包括步骤6至8),切换执行:终端设备在收到切换命令后立即执行切换过程,即终端设备断开源小区并与目标小区连接(如执行随机接入,发送无线资源控制(Radio Resource Control,RRC)切换完成消息给目标网络设备等);辅节点(Secondary Node,SN)状态转移,数据转发。
阶段3(包括步骤9至12),切换完成:目标小区与(Acess and Mobility Management Function,AMF)和用户面功能(User Port Function,UPF)执行路径切换(Path Switch),释放源网络设备的终端设备上下文。
下面对conditional handover进行简要说明。
针对高速移动场景和高频部署场景存在频繁切换以及切换容易失败的问题,3GPP当前正在讨论为LTE和NR系统引入conditional handover。如图2所示,终端设备与源网络设备进行小区测量、配置和报告;源网络设备和目标网络设备进行切换准备;当终端设备满足触发条件切换到目标网络设备。Conditional handover中,通过为终端设备提前配置切换(Handover,HO)命令(command),避免了切换准备时间过长而导致的终端设备要切换的时候已经过晚的问题。并且,对于高铁场景,终端设备的运行轨迹是特定的,所以源网络设备可以提前把目标网络设备配给终端设备,并且在HO command中包含用于触发终端设备进行切换的条件,当满足所配的条件时,终端设备向目标网络设备发起接入请求。
3GPP RAN2#104次会议已经同意条件切换,并支持在条件切换的切换命令中配置多个目标小区,终端设备基于所配置的条件判断接入哪个目标小区。
在3GPP移动性增强课题中,提出了对于小区切换时减小中断时间的优化方法,包括以下两种架构:
1)在进行小区切换时,先把目标网络设备添加为辅节点,再通过role change信令来把辅节点变为主节点,最后释放源网络设备;从而达到小区切换时中断时间减小的效果。
2)基于现有的切换流程,终端设备(User Equipment,UE)在收到条件切换命令时,继续保持和源网络设备的连接,同时向目标网络设备发起随机接入,直至终端设备与目标网络设备接入完成才释放源基站的连接。
针对PDCP数据包的收发处理流程,如图3所示,以终端设备为例,PDCP实体发送端在从上层接收到一个PDCP SDU后,将接收的PDCP SDU的计数值(COUNT)与TX_NEXT关联,设置该PDCP SDU对应的PDCP SN为TX_NEXT modulo 2 [pdcp-SN-SizeUL],TX_NEXT加1。
PDCP实体接收端基于t-reordering定时器对接收到的PDCP PDU进行重排序,并在t-reordering超时时或状态变量满足条件时(如RCVD_COUNT=RX_DELIV时),向高层按序递交PDCP SDU。具体的,在收到PDCP PDU,且RX_DELIV<RX_NEXT且t-reordering未运行时,开启t-reordering,设置RX_REOERD为RX_NEXT。在t-reordering超时时,向高层按序PDCP SDU。
其中,TX_NEXT,指示待发送的下一个PDCP SDU的COUNT值;RX_REOERD,表示触发t-reordering的PDCP data PDU对应的COUNT值;RX_NEXT,指示待接收的下一个PDCP SDU的COUNT值;RX_DELIV,指示第一个仍旧处于等待确认状态,未递交到upper layer的COUNT值;RCVD_COUNT,标识当前收到的PDCP数据PDU的COUNT值。COUNT的长度为32bit,COUNT的格式示意图,如图4所示,由超帧号(Hyper Frame Number,HFN)和PDCP SN共同组成,其为[HFN,SN]。HFN长度为32-PDCP SN长度。
本申请实施例的数据包处理方法可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、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数据包的PDCP SN和/或状态变量。
本发明实施例中,所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则即PDCP SN和/或PDCP SN分配规则可以是预定义的;或者,所述第一信息为所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。在具体实施时,第一发送电子设备周期性的向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则;或者,第一发送电子设备基于事件向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。其中,所述事件至少包括下述中的一项:通知后续共享的PDCP SN list/PDCP SN标识/PDCP SN比特图(bitmap)/PDCP SN图样(pattern),PDCP SN图样变更和PDCP SN分配规则变更。
其中,所述预先约定的PDCP SN,或者所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括下述至少之一:PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。PDCP SN分配规则是指如何对PDCP数据包分配PDCP SN。
在具体实施时,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种发送:RRC信令、MAC CE、物理层信令承载和PDCP包;其中,PDCP包包括:PDCP控制包和PDCP数据包中的至少一种。即第一发送电子设备通过RRC信令、MAC CE、物理层信令承载、PDCP控制包、和PDCP数据包中的任意一种向第二发送电子设备和/或接收电子设备发送PDCP SN和/或PDCP SN分配规则。可选地,所述第一发送电子设备与第二发送电子设备、接收电子设备之间交互的PDCP SN也可以用PDCP SN对应的COUNT代替;即第一发送电子设备向第二发送电子设备或接收电子设备发送PDCP SN对应的COUTN。
本发明实施例中,所述第一发送电子设备为源网络设备、所述接收电子设备为终端设备。或者,所述第一发送电子设备为源网络设备,所述接收电子设备为目标网络设备。或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为终端设备。或者,所述第一发送电子设备为目标网络设备、所述接收电子设备为终端设备。或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为终端设备。或者,所述第一发送电子设备为目标网络设备,所述接收电子设备为源网络设备。或者,所述第一发送电子设备为终端设备,所述接收电子设备为目标网络设备和/或源网络设备。或者,所述第一发送电子设备为终端设备内的第一发送实体,所述接收电子设备为所述终端设备内的第一接收实体。或者,所述第一发送电子设备为所述终端设备内的第一发送实体,所述第二发送电子设备为所述终 端设备内的第二发送实体,所述接收电子设备为目标网络设备和源网络设备;或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体。或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体。
需要说明的是,终端设备内的第一接收实体和第二接收实体实现的功能,也可以由终端设备内的功能模块实现。
在一些实施例中,所述PDCP SN和/或PDCP SN分配规则由所述第一发送电子设备确定、或者所述PDCP SN由所述第二发送电子设备确定、或者所述PDCP SN由所述第一发送电子设备和所述第二发送电子设备共同确定。在具体实施时,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:业务特征、服务质量(Quality of Service,QoS)需求、调度情况、半静态调度(Semi-Persistent Scheduling,SPS)配置信息、配置授权(Configured Grant,CG)配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
本发明实施例中,所述PDCP包为PDCP control PDU时,PDCP control PDU具有下述属性中的至少之一:
1)所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示。其中,所述PDCP control PDU为与已有的PDCP control PDU类型不同的、新的PDCP control PDU类型。可选的,新的PDCP control PDU类型为除ROHC反馈,PDCP状态报告之外的类型;可选的,新的PDCP control PDU类型的作用为指示该PDU中携带的是PDCP SN信息;如PDCP control PDU中包含的是PDCP SN信息的控制信息类型的指示。PDCP control PDU类型及类型指示的示意图,如图7所示,类型指示的比特值为000时,对应的PDCP control PDU类型为PDCP状态报告;类型指示的比特值为001时,对应的PDCP control PDU类型为ROHC反馈;类型指示的比特值为010时,对应的PDCP control PDU类型为PDCP SN;类型指示的比特值为011~111时,对应的PDCP control PDU类型为预留值。
新的PDCP control PDU携带所述PDCP SN的信息。其中,PDCP control PDU中可以包括以下信息至少之一:PDCP SN在PDCP数据包中的位置,如PDCP SN位于PDCP数据包的包头或者数据包内。
2)在所述PDCP control PDU中携带共同维护的PDCP SN。
3)在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个。
4)在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个。
5)在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN。
6)在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
7)在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
8)在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
9)在所述PDCP control PDU中携带共同维护的PDCP SN list。
可选的,所述PDCP control PDU中包括至少一个PDCP SN。
其中,为第一发送电子设备分配的PDCP SN/PDCP SN Bitmap/PDCP SN pattern/PDCP SN list,或者第一发送电子设备使用的PDCP SN/PDCP SN Bitmap/PDCP SN pattern/PDCP SN list;和/或为第二电子设备分配的PDCP SN/PDCP SN Bitmap/PDCP SN pattern/PDCP SN list,或者第二发送电子设备使用的PDCP SN/PDCP SN Bitmap/PDCP SN pattern/PDCP SN list,属于共同维护的PDCP SN/PDCP SN Bitmap/PDCP SN pattern/PDCP SN list。举例来说,为第一发送电子设备分配的PDCP SN list为1、3、5,和/或为第二发送电子设备分配的PDCP SN list为0、2、4;则0、2、4,或者,1、3、5,或者0、1、2、3、4、5属于共同维护的PDCP SN list。
本发明实施例中,第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括两种:第一种是实际的PDCP SN,第二种是实际的PDCP SN和虚拟的PDCP SN。实际的PDCP SN在本实施例中也称为第二PDCP SN,虚拟的PDCP SN在本实施例中也称为第一PDCP SN。其中,第一发送电子设备的第一PDCP SN是指第一发送电子设备自身维护的PDCP SN,与第二发送电子设备的第一PDCP SN没有关联关系。
当第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN为实际的PDCP SN时,所述第一发送电子设备设置所述PDCP数据包的PDCP SN和/或状态变量的处理流程,如图8所示,包括:
步骤1a,基于所述第一信息设置TX-NEXT的值和/或TX-NEXT的初始值。
这里,所述TX-NEXT的初始值不一定是0;TX-NEXT的初始值与预先约定的PDCP SN和/或PDCP SN分配规则相关;或者,TX-NEXT的初始值与第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则相关。
步骤1b,将所述PDCP数据包的COUNT与TX-NEXT的值进行关联。
步骤1c,设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN大小的函数取模得到的值。
在一些实施例中,可设置PDCP数据包的PDCP SN为TX-NEXT modulo 2 [PDCPSN-SizeDL]
在另一些实施例中,可设置PDCP数据包的PDCP SN为TX-NEXT modulo 2 [PDCPSN-SizeUL]
步骤1d,基于所述第一信息设置TX-NEXT的值为与当前PDCP SN相邻的下一个PDCP SN。
可选的是,上述步骤1a至1d中的任一步骤均是可选的。
当第一发送电子设备向第二发送电子设备及接收电子设备发送的PDCP SN为第一PDCP SN和第二PDCP SN时,接收电子设备利用第二PDCP SN进行PDCP实体间的PDCP数据包处理;第一发送电子设备和第二发送电子设备使用自身的第一PDCP SN进行PDCP数据包的组包、PDCP数据包的传输、PDCP SN的设置、PDCP数据包的状态变量的维护、以及PDCP实体内的PDCP数据包处理中的至少一项;其中,第一发送电子设备根据第一PDCP SN进行PDCP数据包的PDCP SN的设置,是指第一发送电子设备仅考虑自身的PDCP SN,不受其他PDCP实体的影响。即使第一发送电子设备和第二发送电子设备均向接收电子设备发送PDCP SN,但是,第一发送电子设备的第一PDCP SN是从0开始的连续整数,TX-NEXT的初始值为0,每生成一个PDCP PDU,TX-NEXT的值加1。
当第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN为第一PDCP SN和第二PDCP SN时,所述第一PDCP SN和所述第二PDCP SN的发送方式包括下述中的任意一种:
所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
当第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN为第一PDCP SN和第二PDCP SN时,或者仅一个PDCP SN时,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。其中,所述PDCP数据包的类型是指所述PDCP数据包为已有的PDCP数据包类型,还是新的PDCP数据包类型;所述PDCP数据包的格式,是指所述PDCP数据包是新格式还是原来的格式,包含的是哪种PDCP SN,包含几种PDCP SN至少之一;所述PDCP数据包携带的PDCP SN信息是指所述PDCP数据包所携带的PDCP SN,如所述PDCP数据包携带第一PDCP SN、或者第二PDCP SN、或者携带第一PDCP SN和第二PDCP SN。当所述PDCP数据包携带的PDCP SN信息为所述PDCP数据包携带第一PDCP SN或第二PDCP SN时,PDCP数据包中未携带的另外一种PDCP SN可以由专用信令发送,也可以不存在或不使用另外一种PDCP SN。这里,可以用PDCP数据包中的R比特标识所述第一指示信息。
在一些实施例中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数 据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。其中,所述第二PDCP SN和所述第一PDCP SN的先后顺序是指,所述第二PDCP SN和所述第一PDCP SN都携带以下之一时,都在PDCP数据包内,都在数据包的包头内,一个在数据包的包头内一个在数据包内,所述第一PDCP SN在前面,所述第二PDCP SN在后面;或者,所述第一PDCP SN在后面,所述第二PDCP SN在前面。
在具体实施时,所述第一指示信息和/或所述第二指示信息所指示的内容,可由网络设备的指示确定,或者根据预定义信息确定。即网络设备向第一发送设备和/或第二发送设备发送第一指示信息和/或第二指示信息所指示的内容;或者,第一发送电子设备根据预定义信息确定第一指示信息和/或第二指示信息所指示的内容。
当第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括实际的PDCP SN和虚拟的PDCP SN时,第一发送电子设备根据虚拟的PDCP SN设置PDCP数据包的状态变量的另一个可选处理流程,包括以下至少之一:源网络设备设置TX-NEXT的初始值为0,当源网络设备生成第一个PDCP SDU时,设置第一个PDCP SDU对应的PDCP SN为0,即TX-NEXT modulo2 [12];假设PDCP-SN-SizeDL=12,COUNT为1,HFN=0,令TX-NEXT=0+1=1。当源网络设备生成第二个PDCP SDU时,根据当前的TX-NEXT的取值1,确定对应第二个PDCP SDU的PDCP PDU的COUNT值为1,PDCP SN为1;TX-NEXT的取值在当前1的基础上再加1,即TX-NEXT的取值为2;以此类推。
当第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN为第一PDCP SN和第二PDCP SN时,第一发送电子设备设置PDCP数据包的状态变量的另一个可选处理流程,如下所示,包括:
步骤2a,基于第一PDCP SN设置TX-NEXT的值。
步骤2b,基于第一PDCP SN设置TX-NEXT的初始值。
这里,所述TX-NEXT的初始值不一定是0;TX-NEXT的初始值与预先约定的第一PDCP SN和/或PDCP SN分配规则相关;或者,TX-NEXT的初始值与第一发送电子设备向第二发送电子设备和/或接收电子设备发送的第一PDCP SN和/或PDCP SN分配规则相关。
步骤2c,将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
步骤2d,设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN大小的函数取模得到的值。
在一些实施例中,可设置PDCP数据包的PDCP SN为TX-NEXT modulo 2 [PDCPSN-SizeDL]
在另一些实施例中,可设置PDCP数据包的PDCP SN为TX-NEXT modulo 2 [PDCPSN-SizeUL]
步骤2e,基于第一PDCP SN设置TX-NEXT的值为与当前PDCP SN相邻的下一个PDCP SN。
可选的是,上述步骤2a至2d中的任一步骤均是可选的。
本发明实施例提供的数据包处理方法的另一种可选处理流程,如图9所示,包括以下步骤:
步骤S301,接收电子设备接收至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则。
本发明实施例中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,可以由任意一个发送电子设备发送至接收电子设备。
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,可以由特定的一个发送电子设备发送至接收电子设备。
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,可以由每个发送电子设备发送至接收电子设备;即第一发送电子设备将至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备,第二发送电子设备也将至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备。
或者,每个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述发送电子设备自身和/或其他的发送电子设备发送至所述接收电子设备;即第一发送电子设备将第一电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备,第二电子设备将第二电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备。或者,第一发送电子设备除了将第一电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备,还将第二电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备;而第二电子设备除了将第二电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备,还将第一电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备。或者,第一发送电子设备将第二电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备,第二发送电子设备将第一电子设备的PDCP SN和/或PDCP SN分配规则发送至接收电子设备。
需要说明的是,本发明实施例中针对PDCP SN和PDCP SN分配规则的说明,与上述步骤S201相同,这里不再赘述。其中,针对PDCP SN和PDCP SN分配规则的说明至少可以包括下述中的一项或多项:PDCP SN和PDCP SN分配规则由谁确定、PDCP SN和PDCP SN分配规则根据什么参数确定、PDCP SN和PDCP SN分配规则的形式、内容。
步骤S302,接收电子设备根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
本发明实施例中,所述对PDCP数据包进行处理,包括在PDCP实体内对PDCP数据包进行处理,以及在PDCP实体间对PDCP数据包进行处理的至少之一。其中,处理包括下述中的至少一项:PDCP数据包的重排序、PDCP数据包的冗余检测、PDCP数据包的删除。举例来说,若接收电子设备接收到第一发送电子设备发送的第一PDCP数据包和第二发送电子设备发送的第二PDCP数据包;接收电子设备针对第一PDCP数据包的处理为在PDCP实体内对PDCP数据包进行处理,接收电子设备针对第二PDCP数据包的处理为在PDCP实体内对PDCP数据包进行处理;接收电子设备针对第一PDCP数据包和第二PDCP数据包进行的处理为在PDCP实体间对PDCP数据包进行处理。相应的,接收电子设备在对所述PDCP数据包进行处理之前,需要先接收收PDCP数据包和/或PDCP control PDU。
当所述PDCP SN包括第一PDCP SN和第二PDCP SN时,接收电子设备根据所述PDCP SN对PDCP数据包进行处理,包括:
所述接收电子设备根据所述第一PDCP SN,对所述PDCP数据包进行PDCP实体内的处理;和/或,所述接收电子设备根据所述第二PDCP SN,对所述PDCP数据包进行PDCP实体间的处理。
在一些实施例中,接收电子设备在对PDCP数据包完成PDCP实体内处理后,将第一PDCP SN替换为与第一PDCP SN对应的第二PDCP SN。
本发明实施例中,对PDCP数据包进行PDCP实体间处理和实体内处理的说明,与上述步骤S201中的相关说明相同,这里不再赘述。
在具体实施时,接收电子设备是否在PDCP实体内和/或在PDCP实体间对所述PDCP数据包处理,由预先设定、或网络设备配置、或由所述接收电子设备根据所述PDCP SN及状态变量的至少之一来确定的。举例来说,网络设备配置接收电子设备向高层按序递交PDCP数据包,如配置PDCP实体内的按序递交,则在t-reordering定时器超时的情况下,所述接收电子设备的PDCP实体向高层按序递交所述PDCP数据包;和/或,RCVD-COUNT=RX-DELIV的情况下,所述接收电子设备的PDCP实体向高层按序递交所述PDCP数据包。
其中,接收电子设备针对第一发送电子设备发送的PDCP数据包的处理、或者接收电子设备针对发送电子设备的第一发送实体发送的PDCP数据包的处理,属于PDCP数据包在PDCP实体内的处理。同理,接收电子设备针对第二发送电子设备发送的PDCP数据包的处理、或者接收电子设备针对发送电子设备的第二发送实体发送的PDCP数据包的处理,属于PDCP数据包在PDCP实体内的处理。接收电子设备分别对第一发送电子设备和第二发送电子设备发送的PDCP数据包进行实体内处理之后,或者接收电子设备分别对发送电子设备的第一发送实体和第二发送实体发送的PDCP数据包进行实体内处理之后,对第一发送电子设备和第二发送电子设备发送的PDCP数据包统一的进行处理,或者对发送电子设备的第一发送实体和第二发送实体发送的PDCP数据包统一的进行处理称为PDCP数据包在PDCP实体间的处理。可选的,可以不进行PDCP实体内的处理,只进行PDCP实体间的处理,或者,也可以不进行PDCP实体间的处理,只进行PDCP实体内的处理。
需要说明的是,当接收电子设备为终端设备时,终端设备内的接收实体可以为终端设备的第一PDCP实体和/或终端设备的第二PDCP实体;或者,终端设备内的接收实体也可以为终端设备的PDCP实体内的第一功能模块和/或终端设备的PDCP实体内第二功能模块。相应的,当发送电子设备为终端设备时,终端设备内的发送实体可以为终端设备内的的第一PDCP实体和/或终端设备内的第二PDCP实体,或者,终端设备内的发送实体也可以为终端设备内的PDCP实体内的第一功能模块和/或终端设备内的PDCP实体内第二功能模块。
本发明实施例中,所述接收电子设备为终端设备,所述发送电子设备为源网络设备和/或目标网络设备;或者,所述接收电子设备为终端设备内的第一接收实体,所述发送电子设备为终端设备内的第一发送实体;或者,所述接收电子设备为源网络设备和/或目标网络设备,所述发送电子设备为终端设备;或者,所述接收电子设备为目标网络设备,所述发送电子设备为源网络设备;或者,所述接收电子设备为源网络设备,所述发送电子设备为目标网络设备;或者,所述接收电子设备为源网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体;或者,所述接收 电子设备为目标网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体。
下面针对DRB承载或SRB承载,终端设备支持同时与源网络设备和目标网络设备两条路径传输的情况,源网络设备向终端设备发送DRB承载或SRB承载,目标网络设备也向终端设备发送DRB承载或SRB承载的情景,对本发明实施例的PDCP数据包处理方法进行详细说明。
以源网络设备与目标网络设备交互的PDCP SN为实际的PDCP SN为例,PDCP数据包处理方法的一种详细处理流程,如图10所示,包括:
步骤S401,源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则。
本发明实施例中,可以认为源网络设备为第一发送电子设备,目标网络设备为第二发送电子设备。通过源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则,确定源网络设备与终端设备进行DRB承载或SRB承载传输时,源网络设备使用的PDCP SN;以及确定目标网络设备与终端设备进行DRB承载或SRB承载传输时,目标网络设备使用的PDCP SN。其中,源网络设备与目标网络设备交互PDCP SN和/或PDCP SN分配规则,是指源网络设备将确定的由目标网络设备与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;或者,源网络设备将自身与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则,以及确定的由目标网络设备与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;或者源网络设备将自身与终端设备进行数据承载(Data Resource Bearer,DRB)或信令承载(Signal Resource Bearer,SRB)传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;以及,目标网络设备将自身与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至源网络设备。如图11所示,源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则,可以是源网络设备的PDCP实体与目标网络设备的PDCP实体之间交互PDCP SN或PDCP SN分配规则。
举例来说,在切换过程中,源网络设备确定执行终端设备和两个网络设备进行同时传输的切换过程,如基于条件切换的增强移动宽带(Enhanced mobile broadband,eMBB)。对于DRB 1,源网络设备确定采用承载split的方式,进行源网络设备和目标网络设备与终端设备的传输;如图12所示,按照PDCP SDU的顺序,第1,3,5,7..个PDCP SDU从源网络设备传输,对应PDCP SN list为1,3,5,7...或PDCP SN pattern为{010101..};第0,2,4,6..个PDCP SDU从目标网络设备传输,对应PDCP SN list为0,2,4,6...或PDCP SN pattern为{101010..}。源目标网络将所确定的由目标目标网络传输的PDCP SN list或PDCP SN pattern,以及PDCP SDU交互给目标网络设备。
其中,交互的PDCP SN和/或PDCP SN分配规则可以是源网络设备确定的,也可以是目标网络设备确定的,也可以是源网络设备和目标网络设备共同确定的。可选的,可以依据业务特征、QoS需求、调度情况、SPS配置信息、CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小,业务类型,小区负荷,小区干扰,小区信道质量等,确定源网络设备和目标网络设备各自的PDCP SN和/或PDCP SN。
需要说明的是,交互的SN也可以使用SN对应的COUNT代替。
步骤S402,源网络设备和目标网络设备根据所述PDCP SN或PDCP SN分配规则,进行PDCP数据包的PDCP SN和/或状态变量的设置。
以源网络设备为例,当源网络设备生成第一个PDCP SDU时,将根据确定的PDCP SN list或PDCP SN pattern,确定第一个PDCP SDU对应的PDCP数据包的PDCP SN为1,TX_NEXT为1,COUNT为1(假设HFN=0)。当源网络设备生成第二个PDCP SDU时,将根据确定的PDCP SN list或PDCP SN pattern,确定第二个PDCP SDU对应的PDCP数据包的PDCP SN为3,TX_NEXT为3,COUNT为3(假设HFN=0),以此类推。
步骤S403,源网络设备将交互PDCP SN或PDCP SN分配规则发送给终端设备。
在一些实施例中,源网络设备采用PDCP control PDU向终端设备发送源网络设备使用的PDCP SN pattern或PDCP SN bitmap或PDCP SN list。可选的,PDCP control PDU中至少包括一个PDCPSN。相应的,终端设备根据源网络设备发送的PDCP SN pattern或PDCP SN bitmap或PDCP SN list,确定目标网络设备使用的PDCP SN;如连续的从0开始的PDCP SN去掉源网络设备使用的PDCP SN,即为目标网络设备使用的PDCP SN。
在另一些实施例中,源网络设备采用不同的PDCP control PDU向终端设备发送源网络设备或目标网络设备使用的PDCP SN pattern或PDCP SN bitmap或PDCP SN list。可选的,PDCP control PDU中至少包括一个PDCP SN。相应的,终端设备根据源网络设备发送的PDCP SN pattern或PDCP SN bitmap或PDCP SN list,确定源网络设备和/或目标网络设备使用的PDCP SN。具体的,源网络设备 还可以通过RRC信令、MAC CE、物理层信令承载、PDCP数据包将PDCP SN pattern或PDCP SN bitmap或PDCP SN list发送至终端设备。
在具体实施时,携带PDCP SN bitmap指示的PDCP control PDU的格式示意图,如图13所示。其中,D/C取值为1,代表PDCP PDU为PDCP control PDU,PDU type取值为SN交互类型或PDCP SN类型;Start FMC,代表交互的起始SN对应的COUNT;PDCP SN bitmap指示从起始SN开始的每一个SN是否被源网络设备使用。
步骤S404,终端设备根据交互的PDCP SN或PDCP SN分配规则,确定是否向高层递交PDCP数据包。
在一些实施例中,终端设备根据接收到的PDCP SN bitmap、PDCP SN list或PDCP SN pattern,确定终端设备和源网络设备之间传输的PDCP数据包的PDCP SN信息,以及终端设备和目标网络设备之间传输的PDCP数据包的PDCP SN信息。例如,终端设备确定源网络设备使用的PDCP SN为1、3、5、7…,目标网络设备使用的PDCP SN为0、2、4、6、8…。
终端设备根据接收端的状态变量、PDCP SN list或PDCP SN pattern或PDCP SN bitmap、以及PDCP数据包的PDCP SN,确定是否满足向高层递交PDCP数据包的条件。若此时t-reordering=10ms,比t-reordering超时更早的,就满足RCVD_COUNT=RX_EDLIV的条件,如RCVD_COUNT=RX_DELIV=7时,终端设备的PDCP实体,如对应源网络设备的终端设备PDCP实体或功能模块触发向高层按PDCP SN的顺序递交PDCP数据包。本发明实施例中,终端设备在递交PDCP数据包前,需要对接收到的PDCP数据包进行重排序处理、冗余检测处理和删除处理。
下面针对DRB承载或SRB承载,终端设备支持同时与源网络设备和目标网络设备两条路径传输的情况,源网络设备向终端设备发送DRB承载或SRB承载,目标网络设备也向终端设备发送DRB承载或SRB承载的情景,对本发明实施例的PDCP数据包处理方法进行详细说明。
以源网络设备与目标网络设备交互的PDCP SN为第一PDCP SN和第二PDCP SN为例,第一PDCP SN为虚拟的PDCP SN,第二PDCP SN为实际的PDCP SN;PDCP数据包处理方法的另一种详细处理流程,如图14所示,包括:
步骤S501,源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则。
本发明实施例中,可以认为源网络设备为第一发送电子设备,目标网络设备为第二发送电子设备。通过源网络设备与目标网络设备交互PDCP SN或PDCP SN分配规则,确定源网络设备与终端设备进行DRB承载或SRB承载传输时,源网络设备使用的PDCP SN;以及确定目标网络设备与终端设备进行DRB承载或SRB承载传输时,目标网络设备使用的PDCP SN。其中,源网络设备与目标网络设备交互PDCP SN和/或PDCP SN分配规则,是指源网络设备将确定的由目标网络设备与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;或者,源网络设备将自身与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则,以及确定的由目标网络设备与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;或者源网络设备将自身与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至目标网络设备;以及,目标网络设备将自身与终端设备进行DRB承载或SRB承载传输时所采用的PDCP SN和/或PDCP SN分配规则发送至源网络设备。
步骤S502,源网络设备和目标网络设备使用虚拟的PDCP SN和实际的PDCP SN进行PDCP数据包的组包、传输、发送端PDCPSN和/或状态变量的维护。
以下以源网络设备举例进行说明,目标网络设备执行的操作与源网络设备相同。
源网络设备使用虚拟的PDCP SN进行PDCP数据包的组包、PDCP PDU的传输、发送端PDCP SN和/或状态变量的维护。举例来说,源网络设备设置TX_NEXT初始值为0;当源网络设备生成第一个PDCP SDU时,设置第一个PDCP SDU对应的PDCP SN为0,即TX_NEXT modulo 2 [12],假设,PDCP-SN-SizeDL=12,COUNT为1(假设HFN=0);而后,另一个TX_NEXT=0+1=1。当源网络设备生成第二个PDCP SDU时,根据当前的TX_NEXT的取值(1),确定第二个PDCP PDU的COUNT为1,SN为1。而后,TX_NEXT取值加1,变为2,以此类推。
在PDCP PDU中可以携带虚拟的PDCP SN值,如源网络设备发送的PDCP PDU中携带的虚拟的PDCP SN值为1’、2’、3’、4’…,为一组有序排列的数值或字母或标识等。
在PDCP PDU中还可以携带实际的PDCP SN值,如源网络设备发送的PDCP PDU中携带的实际的PDCP SN值为1、3、5、7…,目标网络设备发送的PDCP PDU中携带的实际的PDCP SN值为2、4、6、8….。
携带有实际的PDCP SN和虚拟的PDCP SN的PDCP PDU的格式示意图一、示意图二和示意图三,分别如图15a、图15b和图15c所示。在图15a和图15b中,虚拟的PDCP SN均位于第一个字节和第二个字节,实际的PDCP SN均位于第三个字节和第四个字节。在图15c中,虚拟的PDCP SN位于第一个字节、第二个字节和第三个字节,实际的PDCP SN位于第四个字节、第五个字节和第六个字节,或者虚拟的PDCP SN位于第一个字节和第二个字节,实际的PDCP SN位于第五个字节和第六个字节,第三个字节既有实际的PDCP SN,又有虚拟的PDCP SN。可选的,虚拟的PDCP SN在前,时际的PDCP SN在后;当然,也可以虚拟的PDCP SN在后,时际的PDCP SN在前。
步骤S503,终端设备接收分别来自源网络设备和目标网络设备的PDCP PDU,基于虚拟的PDCP SN对PDCP PDU进行实体内的处理。
本发明实施例中,终端设备按照虚拟的PDCP SN执行实体内的重排序,以及实体内的按序递交等操作。其中,是否执行实体内的重排序以及实体内的按序递交,可以是预定义的,也可以是网络设备配置的。
对PDCP PDU进行处理包括:终端设备基于虚拟的PDCP SN进行t-reordering的维护,实体内重排序。基于虚拟的PDCP SN设置RX_COUNT。基于虚拟的PDCP SN维护状态变量,如RX_NEXT,RX_REORD,RX_DELIV。基于虚拟的PDCP SN执行实体内的冗余包删除,即删除接收到的虚拟的PDCP SN相同的数据包。基于虚拟的PDCP SN执行实体内的按序递交。在执行实体内按序递交,或者向上层递交PDCP数据包时,可选的,将虚拟的PDCP SN替换为实际的PDCP SN。按照虚拟的PDCP SN进行PDCP数据包的解压缩。按照虚拟的PDCP SN进行PDCP数据包的解密。按照虚拟的PDCP SN执行PDCP数据包的完整性保护验证。
在具体实施时,设置初始的RX_NEXT=0.RX_DELIV=0。假设应收到的PDCP数据包的虚拟的PDCP SN为0.1.2.3.4.。当前收到的PDCP PDU的虚拟的PDCP SN为4,COUNT=RCVD_COUNT=4,由于RCVD_COUNT>=RX_NEXT,设置RX_NEXT=4+1=5.由于t-Reordering未运行,且RX_DELIV<RX_NEXT,则开启重排序定时器,设置RX_REORD=RX_NEXT=5。而后,终端设备又接收到SN=2的PDCP PDU。则对应的COUNT=RCVD_COUNT=2,放入重排序缓存队列中,并不更新RX_NEXT;此时,RCVD_COUNT<RX_NEXT。在定时器超时,将COUNT=2和5的PDCP PDU按照升序,递交到上层。
步骤S504,终端设备基于实际的PDCP SN对PDCP PDU进行实体间的处理。
本发明实施例中,PDCP实体间的处理,包括实体间重排序、实体间的按序递交、实体间冗余包删除等操作。
如图16所示,源网络设备和目标网络设备发送给终端设备的PDCP实体的PDCP PDU,如PDCP data PDU中均携带实际的PDCP SN和虚拟的PDCP SN。源网络设备和目标网络设备均基于虚拟的PDCP SN进行实体内的PDCP PDU排序,特定的网络实体或层(如位于源网络设备PDCP和目标网络设备PDCP之上的某一层)基于实际的PDCP SN进行实体间的PDCP PDU排序。
需要说明的是,上述针对下面针对DRB承载或SRB承载,终端设备支持同时与源网络设备和目标网络设备两条路径传输的情况,源网络设备向终端设备发送DRB承载或SRB承载,目标网络设备也向终端设备发送DRB承载或SRB承载的情景,对本发明实施例的PDCP数据包处理方法进行详细说明。在实际应用中,本发明实施例还适用于终端设备支持同时与源网络设备和目标网络设备两条路径传输的情况,终端设备向源网络设备发送DRB承载或SRB承载,终端设备也向目标网络设备也发送DRB承载或SRB承载的情景;在这种场景下,终端设备可以向网络设备交互PDCP SN和/或PDCP SN分配规则。具体的,可以通过RRC信令、MAC CE、物理层信令承载、PDCP control PDU,PDCP数据包将PDCP SN(如PDCP SN pattern或PDCP SN bitmap或PDCP SN list)和/或PDCP SN分配规则发送至网络设备。
在以上各情景下,发送电子设备可以为终端设备内部的一个PDCP实体,接收电子设备可以为终端设备内部的另一个PDCP实体。在具体实施时,对上行数据传输时,终端设备的一个PDCP实体或PDCP功能模块向源网络设备发送PDCP数据包,终端设备的另一个PDCP实体或PDCP功能模块向目标网络设备发送PDCP数据包;此外,终端设备的一个PDCP实体或PDCP功能模块可以与终端设备的另一个PDCP实体或PDCP功能模块进行PDCP SN和/或PDCP SN分配规则的交互。对下行数据传输时,源网络设备向终端设备的一个PDCP实体或PDCP功能模块发送PDCP数据包,目标网络设备向终端设备的另一个PDCP实体或PDCP功能模块发送PDCP数据包;此外,终端设备的一个PDCP实体或PDCP功能模块还可以与终端设备的另一个PDCP实体或PDCP功能模块进行PDCP SN和/或PDCP SN分配规则的交互。
本发明实施例提供的数据包处理方法,明确了终端设备与源网络设备和目标网络设备同时进行数据传输,尤其是存在对应的两个PDCP实体传输缓存和/或接收缓存时如何对PDCP数据包的PDCP SN和PDCP数据包的状态变量进行管理。避免了由于PDCP数据包的PDCP SN和/或状态变量设置错误,导致的终端设备、源网络设备和目标网络设备对PDCP SN的理解不一致,以及对接收到的PDCP数据包进行错误处理的问题。同时,避免了接收到PDCP数据包后向高层递交延迟的问题,保证了系统整体的数据传输速率。
为实现上述数据包处理方法,本发明实施例提供一种发送电子设备,所述发送电子设备600的组成结构,如图17所示,包括:
第一处理单元601,配置为基于第一信息设置PDCP数据包的PDCP SN和/或状态变量;所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。
本发明实施例中,所述发送电子设备600还包括:
第一发送单元602,配置为向第二发送电子设备发送PDCP SN和/或PDCP SN分配规则。
本发明实施例中,所述发送电子设备600还包括:
第二发送单元603,配置为向接收电子设备发送PDCP SN和/或PDCP SN分配规则。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则由所述发送电子设备确定、或者所述PDCP SN由所述第二发送电子设备确定、或者所述PDCP SN由所述发送电子设备和所述第二发送电子设备共同确定。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:业务特征、QoS需求、调度情况、SPS配置信息、CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种发送:RRC信令、MAC CE、物理层信令承载和PDCP包。
本发明实施例中,在所述PDCP包为PDCP control PDU时,
所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
本发明实施例中,所述第一处理单元601配置为执行下述至少之一:
基于所述第一信息设置TX-NEXT的值和/或TX-NEXT的初始值;
将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN大小的函数取模得到的值;
基于所述第一信息设置TX-NEXT的值为与当前PDCP SN相邻的下一个PDCP SN。
本发明实施例中,所述PDCP SN包括:第一PDCP SN和第二PDCP SN;
所述第一PDCP SN用于以下至少之一:所述第一发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
所述第二PDCP SN用于接收电子设备进行PDCP实体间的PDCP数据包处理。
本发明实施例中,所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
本发明实施例中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
本发明实施例中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
本发明实施例中,所述第一处理单元601,还配置为根据网络设备的指示或预定义信息,确定以下信息至少之一:
所述PDCP数据包的类型、所述PDCP数据包的格式、所述PDCP数据包的携带的PDCP SN信息、所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
本发明实施例中,所述第一处理单元601,配置为执行以下至少之一:
基于所述第一PDCP SN设置TX-NEXT的值;
基于所述第一PDCP SN设置TX-NEXT的初始值,初始值可以为0;
将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN的大小取模得到的值;
基于所述第一PDCP SN设置TX-NEXT的值为TX-NEXT加1。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则被周期性发送,或基于事件被发送。
本发明实施例中,所述事件至少包括下述中的一项:PDCP SN图样变更和PDCP SN分配规则变更。
本发明实施例中,所述发送电子设备为源网络设备、所述接收电子设备为终端设备;
或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
或者,所述发送电子设备为源网络设备,所述接收电子设备为目标网络设备;
或者,所述发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为终端设备;
或者,所述发送电子设备为目标网络设备、所述接收电子设备为终端设备;
或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
或者,所述发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为终端设备;
或者,所述发送电子设备为目标网络设备,所述接收电子设备为源网络设备;或者,所述发送电子设备为终端设备,所述接收电子设备为目标网络设备和/或源网络设备;
或者,所述发送电子设备为终端设备内的第一发送实体,所述接收电子设备为所述终端设备内的第一接收实体;
或者,所述发送电子设备为所述终端设备内的第一发送实体,所述第二发送电子设备为所述终端设备内的第二发送实体,所述接收电子设备为目标网络设备和源网络设备。
本发明实施例中,所述预先约定的PDCP SN,或所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括下述至少之一:PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
为实现上述数据包处理方法,本发明实施例提供一种接收电子设备,所述接收电子设备800的组成结构,如图18所示,包括:
接收单元801,配置为接收至少两个发送电子设备的PDCP序列号SN和/或PDCP SN分配规 则;
第二处理单元802,配置为根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
本发明实施例中,所述发送电子设备的PDCP SN和/或PDCP SN分配规则包括:第一PDCP SN和第二PDCP SN;
所述第一PDCP SN用于下述至少之一:所述发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
所述第二PDCP SN用于所述接收电子设备进行PDCP实体间的PDCP数据包处理。
本发明实施例中,所述第二处理单元802,配置为根据所述第一PDCP SN,对所述PDCP数据包进行PDCP实体内的处理;
和/或,根据所述第二PDCP SN,对所述PDCP数据包进行PDCP实体间的处理。
本发明实施例中,所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
本发明实施例中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:
所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
本发明实施例中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
本发明实施例中,所述第二处理单元802,还配置为利用所述第二PDCP SN替换所述第一PDCP SN。
本发明实施例中,所述接收单元801,还配置为接收PDCP数据包和/或PDCP control PDU。
本发明实施例中,所述接收电子设备是否在PDCP实体内和/或在PDCP实体间对所述PDCP数据包处理,由预先设定、或网络设备配置、或由所述第二处理单元根据所述PDCP SN及状态变量的至少之一来确定的。
本发明实施例中,在t-reordering定时器超时的情况下,所述第二处理单元,配置为确定向高层按序递交所述PDCP数据包;
和/或,RCVD-COUNT=RX-DELIV的情况下,所述第二处理单元,配置为确定向高层按序递交所述PDCP数据包。
本发明实施例中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备发送至所述接收电子设备;
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备发送至所述接收电子设备;
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,均由每个发送电子设备发送至所述接收电子设备;
或者,每个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述发送电子设备自身和/或其他的发送电子设备发送至所述接收电子设备。
本发明实施例中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备确定;
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备确定;
或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述至少两个发送电子设备共同确定。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:业务特征、QoS需求、调度情况、SPS配置信息、CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
本发明实施例中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种接收:RRC信令、MAC CE、物理层信令承载和PDCP包。
本发明实施例中,在所述PDCP包为PDCP control PDU时,
所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
本发明实施例中,所述接收电子设备为终端设备,所述发送电子设备为源网络设备和/或目标网络设备;
或者,所述接收电子设备为终端设备内的第一接收实体,所述发送电子设备为终端设备内的第一发送实体;
或者,所述接收电子设备为源网络设备和/或目标网络设备,所述发送电子设备为终端设备;
或者,所述接收电子设备为目标网络设备,所述发送电子设备为源网络设备;
或者,所述接收电子设备为源网络设备,所述发送电子设备为目标网络设备;
或者,所述接收电子设备为源网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体;
或者,所述接收电子设备为目标网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体。
本发明实施例中,所述至少两个发送电子设备的PDCP序列号SN,包括下述至少之一:PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
本发明实施例还提供一种发送电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述终端设备执行的数据包处理方法的步骤。
本发明实施例还提供一种接收电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述网络设备执行的数据包处理方法的步骤。
图19是本发明实施例的电子设备(发送电子设备和接收电子设备)的硬件组成结构示意图,电子设备700包括:至少一个处理器701、存储器702和至少一个网络接口704。电子设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图19中将各种总线都标为总线系统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 (74)

  1. 一种数据包处理方法,所述方法包括:
    第一发送电子设备基于第一信息设置分组数据汇聚协议PDCP数据包的PDCP序列号SN和/或状态变量;
    所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    所述第一发送电子设备向所述第二发送电子设备发送PDCP SN和/或PDCP SN分配规则。
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    所述第一发送电子设备向所述接收电子设备发送PDCP SN和/或PDCP SN分配规则。
  4. 根据权利要求1至3任一项所述的方法,其中,所述PDCP SN和/或PDCP SN分配规则由所述第一发送电子设备确定、或者所述PDCP SN由所述第二发送电子设备确定、或者所述PDCP SN由所述第一发送电子设备和所述第二发送电子设备共同确定。
  5. 根据权利要求1至4任一项所述的方法,其中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:
    业务特征、服务质量QoS需求、调度情况、半静态调度SPS配置信息、配置授权CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
  6. 根据权利要求1至5任一项所述的方法,其中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种发送:
    无线资源控制RRC信令、媒体接入控制控制单元MAC CE、物理层信令承载和PDCP包。
  7. 根据权利要求6所述的方法,其中,在所述PDCP包为PDCP control PDU时,
    所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
    和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
  8. 根据权利要求1至7任一项所述的方法,其中,所述设置所述PDCP数据包的PDCP SN和/或状态变量,包括以下至少之一:
    基于所述第一信息设置TX-NEXT的值和/或TX-NEXT的初始值;
    将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
    设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN大小的函数取模得到的值;
    基于所述第一信息设置TX-NEXT的值为与当前PDCP SN相邻的下一个PDCP SN。
  9. 根据权利1至7任一项所述的方法,其中,所述PDCP SN包括:第一PDCP SN和第二PDCP SN;
    所述第一PDCP SN用于以下至少之一:所述第一发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
    所述第二PDCP SN用于接收电子设备进行PDCP实体间的PDCP数据包处理。
  10. 根据权利要求9所述的方法,其中,
    所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
    或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
  11. 根据权利要求9或10所述的方法,其中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
  12. 根据权利要求9至11任一项所述的方法,其中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
    所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  13. 根据权利要求9至12任一项所述的方法,其中,所述方法还包括:所述第一发送电子设备根据网络设备的指示或预定义信息,确定以下信息至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式、所述PDCP数据包的携带的PDCP SN信息、所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  14. 根据权利要求9至13任一项所述的方法,其中,所述设置所述PDCP数据包的状态变量,包括以下至少之一:
    基于所述第一PDCP SN设置TX-NEXT的值;
    基于所述第一PDCP SN设置TX-NEXT的初始值,初始值可以为0;
    将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
    设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN的大小取模得到的值;
    基于所述第一PDCP SN设置TX-NEXT的值为TX-NEXT加1。
  15. 根据权利要求1至14任一项所述的方法,其中,所述第一发送电子设备周期性的发送PDCP SN和/或PDCP SN分配规则;
    或者,所述第一发送电子设备基于事件发送PDCP SN和/或PDCP SN分配规则。
  16. 根据权利要求15所述的方法,其中,所述事件至少包下述中的一项:
    PDCP SN图样变更和PDCP SN分配规则变更。
  17. 根据权利要求1至16任一项所述的方法,其中,
    所述第一发送电子设备为源网络设备、所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为源网络设备,所述接收电子设备为目标网络设备;
    或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
    或者,所述第一发送电子设备为目标网络设备、所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
    或者,所述第一发送电子设备为目标网络设备,所述接收电子设备为源网络设备;
    或者,所述第一发送电子设备为终端设备,所述接收电子设备为目标网络设备和/或源网络设备;
    或者,所述第一发送电子设备为终端设备内的第一发送实体,所述接收电子设备为所述终端设备内的第一接收实体;
    或者,所述第一发送电子设备为所述终端设备内的第一发送实体,所述第二发送电子设备为所述终端设备内的第二发送实体,所述接收电子设备为目标网络设备和/或源网络设备。
  18. 根据权利要求1至17任一项所述的方法,其中,所述预先约定的PDCP SN,或所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括下述至少之一:
    PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
  19. 一种数据包处理方法,所述方法包括:
    接收电子设备接收至少两个发送电子设备的分组数据汇聚协议序列号PDCP SN和/或PDCP SN分配规则;
    所述接收电子设备根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
  20. 根据权利要求19所述的方法,其中,所述发送电子设备的PDCP SN和/或PDCP SN分配规则包括:第一PDCP SN和第二PDCP SN;
    所述第一PDCP SN用于下述至少之一:所述发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
    所述第二PDCP SN用于所述接收电子设备进行PDCP实体间的PDCP数据包处理。
  21. 根据权利要求19或20所述的方法,其中,所述接收电子设备根据所述PDCP SN对PDCP数据包进行处理,包括:
    所述接收电子设备根据所述第一PDCP SN,对所述PDCP数据包进行PDCP实体内的处理;
    和/或,所述接收电子设备根据所述第二PDCP SN,对所述PDCP数据包进行PDCP实体间的处理。
  22. 根据权利要求21所述的方法,其中,所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
    或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
  23. 根据权利要求21或22所述的方法,其中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
  24. 根据权利要求21至23任一项所述的方法,其中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
    所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  25. 根据权利要求19至24任一项所述的方法,其中,所述方法还包括:
    所述接收电子设备利用所述第二PDCP SN替换所述第一PDCP SN。
  26. 根据权利要求19至25任一项所述的方法,其中,所述方法还包括:
    所述接收电子设备接收PDCP数据包和/或PDCP control PDU。
  27. 根据权利要求19至26任一项所述的方法,其中,所述接收电子设备是否在PDCP实体内和/或在PDCP实体间对所述PDCP数据包处理,由预先设定、或网络设备配置、或由所述接收电子设备根据所述PDCP SN及状态变量的至少之一来确定的。
  28. 根据权利要求27所述的方法,其中,在t-reordering定时器超时的情况下,所述接收电子设备确定向高层按序递交所述PDCP数据包;
    和/或,RCVD-COUNT=RX-DELIV的情况下,所述接收电子设备确定向高层按序递交所述PDCP数据包。
  29. 根据权利要求19至28任一项所述的方法,其中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备发送至所述接收电子设备;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备发送至所述接收电子设备;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,均由每个发送电子设备发送至所述接收电子设备;
    或者,每个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述发送电子设备自身和/或其他的发送电子设备发送至所述接收电子设备。
  30. 根据权利要求19至29任一项所述的方法,其中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备确定;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备确定;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述至少两个发送电子设备共同确定。
  31. 根据权利要求19至30任一项所述的方法,其中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:
    业务特征、QoS需求、调度情况、SPS配置信息、配置授权CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
  32. 根据权利要求19至31任一项所述的方法,其中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种接收:
    无线资源控制RRC信令、媒体接入控制控制单元MAC CE、物理层信令承载、PDCP包。
  33. 根据权利要求32所述的方法,其中,在所述PDCP包为PDCP control PDU时,
    所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
    和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
  34. 根据权利要求19至33任一项所述的方法,其中,
    所述接收电子设备为终端设备,所述发送电子设备为源网络设备和/或目标网络设备;
    或者,所述接收电子设备为终端设备内的第一接收实体,所述发送电子设备为终端设备内的第一发送实体;
    或者,所述接收电子设备为源网络设备和/或目标网络设备,所述发送电子设备为终端设备;
    或者,所述接收电子设备为目标网络设备,所述发送电子设备为源网络设备;
    或者,所述接收电子设备为源网络设备,所述发送电子设备为目标网络设备;
    或者,所述接收电子设备为源网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体;
    或者,所述接收电子设备为目标网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体。
  35. 根据权利要求19至34任一项所述的方法,其中,所述至少两个发送电子设备的PDCP序列号SN,包括下述至少之一:
    PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
  36. 一种发送电子设备,所述发送电子设备包括:
    第一处理单元,配置为基于第一信息设置分组数据汇聚协议PDCP数据包的PDCP序列号SN和/或状态变量;
    所述第一信息为预先约定的PDCP SN和/或PDCP SN分配规则;或者,所述第一信息为所述发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN和/或PDCP SN分配规则。
  37. 根据权利要求36所述的发送电子设备,其中,所述发送电子设备还包括:
    第一发送单元,配置为向所述第二发送电子设备发送PDCP SN和/或PDCP SN分配规则。
  38. 根据权利要求36或37所述的发送电子设备,其中,所述发送电子设备还包括:
    第二发送单元,配置为向所述接收电子设备发送PDCP SN和/或PDCP SN分配规则。
  39. 根据权利要求36至38任一项所述的发送电子设备,其中,所述PDCP SN和/或PDCP SN分配规则由所述发送电子设备确定、或者所述PDCP SN由所述第二发送电子设备确定、或者所述PDCP SN由所述发送电子设备和所述第二发送电子设备共同确定。
  40. 根据权利要求36至39任一项所述的发送电子设备,其中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:
    业务特征、QoS需求、调度情况、SPS配置信息、配置授权CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
  41. 根据权利要求36至40任一项所述的发送电子设备,其中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种发送:
    无线资源控制RRC信令、媒体接入控制控制单元MAC CE、物理层信令承载和PDCP包。
  42. 根据权利要求41所述的发送电子设备,其中,在所述PDCP包为PDCP control PDU时,所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
    和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
  43. 根据权利要求36至42任一项所述的发送电子设备,其中,所述第一处理单元配置为执行下述至少之一:
    基于所述第一信息设置TX-NEXT的值和/或TX-NEXT的初始值;
    将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
    设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN大小的函数取模得到的值;
    基于所述第一信息设置TX-NEXT的值为与当前PDCP SN相邻的下一个PDCP SN。
  44. 根据权利要求36至42任一项所述的发送电子设备,其中,所述PDCP SN包括:第一PDCP SN和第二PDCP SN;
    所述第一PDCP SN用于以下至少之一:所述第一发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
    所述第二PDCP SN用于接收电子设备进行PDCP实体间的PDCP数据包处理。
  45. 根据权利要求44所述的发送电子设备,其中,
    所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
    或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
  46. 根据权利要求44或45所述的发送电子设备,其中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
  47. 根据权利要求44至46任一项所述的发送电子设备,其中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
    所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  48. 根据权利要求44至47任一项所述的发送电子设备,其中,所述第一处理单元,还配置为根据网络设备的指示或预定义信息,确定以下信息至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式、所述PDCP数据包的携带的PDCP SN信息、所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  49. 根据权利要求44至48任一项所述的发送电子设备,其中,所述第一处理单元,配置为执行以下至少之一:
    基于所述第一PDCP SN设置TX-NEXT的值;
    基于所述第一PDCP SN设置TX-NEXT的初始值,初始值可以为0;
    将所述PDCP数据包的计数值COUNT与TX-NEXT的值进行关联;
    设置所述PDCP数据包的PDCP SN为利用TX-NEXT对PDCP SN的大小取模得到的值;
    基于所述第一PDCP SN设置TX-NEXT的值为TX-NEXT加1。
  50. 根据权利要求36至49任一项所述的发送电子设备,其中,所述PDCP SN和/或PDCP SN分配规则被周期性发送,或基于事件被发送。
  51. 根据权利要求50所述的发送电子设备,其中,所述事件至少包括下述中的一项:
    PDCP SN图样变更和PDCP SN分配规则变更。
  52. 根据权利要求36至51任一项所述的发送电子设备,其中,所述发送电子设备为源网络设备、所述接收电子设备为终端设备;
    或者,所述发送电子设备为源网络设备,所述接收电子设备为目标网络设备;
    或者,所述发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为源网络设备,所述第二发送电子设备为目标网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
    或者,所述发送电子设备为目标网络设备、所述接收电子设备为终端设备;
    或者,所述发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为终端设备;
    或者,所述第一发送电子设备为目标网络设备,所述第二发送电子设备为源网络设备,所述接收电子设备为所述终端设备内的第一接收实体和/或第二接收实体;
    或者,所述发送电子设备为目标网络设备,所述接收电子设备为源网络设备;
    或者,所述发送电子设备为终端设备,所述接收电子设备为目标网络设备和/或源网络设备;
    或者,所述发送电子设备为终端设备内的第一发送实体,所述接收电子设备为所述终端设备内的第一接收实体;
    或者,所述发送电子设备为所述终端设备内的第一发送实体,所述第二发送电子设备为所述终端设备内的第二发送实体,所述接收电子设备为目标网络设备和源网络设备。
  53. 根据权利要求36至52任一项所述的发送电子设备,其中,所述预先约定的PDCP SN,或所述第一发送电子设备向第二发送电子设备和/或接收电子设备发送的PDCP SN包括下述至少之一:
    PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
  54. 一种接收电子设备,所述接收电子设备包括:
    接收单元,配置为接收至少两个发送电子设备的分组数据汇聚协议序列号PDCP SN和/或PDCP SN分配规则;
    第二处理单元,配置为根据所述PDCP SN和/或PDCP SN分配规则对PDCP数据包进行处理。
  55. 根据权利要求54所述的接收电子设备,其中,所述发送电子设备的PDCP SN和/或PDCP SN分配规则包括:第一PDCP SN和第二PDCP SN;
    所述第一PDCP SN用于下述至少之一:所述发送电子设备进行PDCP数据包的组包和传输、设置所述PDCP数据包的PDCP SN和/或状态变量,以及接收电子设备进行PDCP实体内的PDCP数据包处理;
    所述第二PDCP SN用于所述接收电子设备进行PDCP实体间的PDCP数据包处理。
  56. 根据权利要求54或55所述的接收电子设备,其中,所述第二处理单元,配置为根据所述第一PDCP SN,对所述PDCP数据包进行PDCP实体内的处理;
    和/或,根据所述第二PDCP SN,对所述PDCP数据包进行PDCP实体间的处理。
  57. 根据权利要求56所述的接收电子设备,其中,所述第一PDCP SN和所述第二PDCP SN携带于所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内,所述第二PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内,所述第一PDCP SN携带于所述PDCP数据包的包头内或所述PDCP数据包内;
    或者,所述第一PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第二PDCP SN通过专用信令发送;
    或者,所述第二PDCP SN携带于所述PDCP数据包的包头内或数据包内,所述第一PDCP SN通过专用信令发送;
    或者,所述第一PDCP SN和所述第二PDCP SN通过专用信令发送。
  58. 根据权利要求56或57所述的接收电子设备,其中,所述PDCP数据包还包括第一指示信息,所述第一指示信息用于指示下述至少之一:
    所述PDCP数据包的类型、所述PDCP数据包的格式和所述PDCP数据包携带的PDCP SN信息。
  59. 根据权利要求56至58任一项所述的接收电子设备,其中,所述PDCP数据包还包括第二指示信息,所述第二指示信息用于指示下述至少之一:
    所述PDCP数据包是否包含所述第一PDCP SN、所述PDCP数据包是否包含所述第二PDCP SN、所述第一PDCP SN在所述PDCP数据包的包头还是数据包内、所述第二PDCP SN在PDCP数据包的包头还是数据包内、所述第二PDCP SN和所述第一PDCP SN的先后顺序。
  60. 根据权利要求54至59任一项所述的接收电子设备,其中,所述第二处理单元,还配置为利用所述第二PDCP SN替换所述第一PDCP SN。
  61. 根据权利要求54至60任一项所述的接收电子设备,其中,所述接收单元,还配置为接收PDCP数据包和/或PDCP control PDU。
  62. 根据权利要求54至61任一项所述的接收电子设备,其中,所述接收电子设备是否在PDCP实体内和/或在PDCP实体间对所述PDCP数据包处理,由预先设定、或网络设备配置、或由所述第二处理单元根据所述PDCP SN及状态变量的至少之一来确定的。
  63. 根据权利要求62所述的接收电子设备,其中,在t-reordering定时器超时的情况下,所述第二处理单元,配置为确定向高层按序递交所述PDCP数据包;
    和/或,RCVD-COUNT=RX-DELIV的情况下,所述第二处理单元,配置为确定向高层按序递交所述PDCP数据包。
  64. 根据权利要求根据权利要求54至63任一项所述的接收电子设备,其中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备发送至所述接收电子设备;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备发送至所述接收电子设备;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,均由每个发送电子 设备发送至所述接收电子设备;
    或者,每个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述发送电子设备自身和/或其他的发送电子设备发送至所述接收电子设备。
  65. 根据权利要求54至64任一项所述的接收电子设备,其中,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由任意一个发送电子设备确定;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由指定的一个发送电子设备确定;
    或者,所述至少两个发送电子设备的PDCP SN和/或PDCP SN分配规则,由所述至少两个发送电子设备共同确定。
  66. 根据权利要求54至65任一项所述的接收电子设备,其中,所述PDCP SN和/或PDCP SN分配规则根据下述中的至少一种确定:
    业务特征、QoS需求、调度情况、SPS配置信息、配置授权CG配置信息、激活的载波信息、激活的SPS信息、激活的CG信息、业务量大小、业务类型、小区负荷、小区干扰、以及小区信道质量。
  67. 根据权利要求54至66任一项所述的接收电子设备,其中,所述PDCP SN和/或PDCP SN分配规则通过下述中的至少一种接收:
    无线资源控制RRC信令、媒体接入控制控制单元MAC CE、物理层信令承载和PDCP包。
  68. 根据权利要求67所述的接收电子设备,其中,在所述PDCP包为PDCP control PDU时,所述PDCP control PDU携带所述PDCP SN的信息,和/或携带包含的PDCP SN信息的控制信息类型的指示;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN;
    和/或,在所述PDCP control PDU中携带PDCP SN Bitmap,所述PDCP SN Bitmap对应的起始SN,和所述PDCP SN Bitmap对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带PDCP SN pattern,所述PDCP SN pattern对应的起始SN,和所述PDCP SN pattern对应的终止SN中的至少一个;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN中的起始SN和终止SN;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN的个数;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN Bitmap的长度;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN pattern的长度或周期;
    和/或,在所述PDCP control PDU中携带共同维护的PDCP SN list。
  69. 根据权利要求54至68任一项所述的接收电子设备,其中,所述接收电子设备为终端设备,所述发送电子设备为源网络设备和/或目标网络设备;
    或者,所述接收电子设备为终端设备内的第一接收实体,所述发送电子设备为终端设备内的第一发送实体;
    或者,所述接收电子设备为源网络设备和/或目标网络设备,所述发送电子设备为终端设备;
    或者,所述接收电子设备为目标网络设备,所述发送电子设备为源网络设备;
    或者,所述接收电子设备为源网络设备,所述发送电子设备为目标网络设备;
    或者,所述接收电子设备为源网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体;
    或者,所述接收电子设备为目标网络设备,所述发送电子设备为终端设备内的第一发送实体和/或第二发送实体。
  70. 根据权利要求54至69任一项所述的接收电子设备,其中,所述至少两个发送电子设备的PDCP序列号SN,包括下述至少之一:
    PDCP SN、PDCP SN list、PDCP SN Bitmap、PDCP SN pattern。
  71. 一种发送电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求1至18任一项所述的数据包处理方法的步骤。
  72. 一种接收电子设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求19至35任一项所述的数据包处理方法 的步骤。
  73. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求1至18任一项所述的数据包处理方法。
  74. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求19至35任一项所述的数据包处理方法。
PCT/CN2019/092713 2019-06-25 2019-06-25 一种数据包处理方法、设备及存储介质 WO2020258018A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/092713 WO2020258018A1 (zh) 2019-06-25 2019-06-25 一种数据包处理方法、设备及存储介质
CN201980064919.8A CN112789839B (zh) 2019-06-25 2019-06-25 一种数据包处理方法、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/092713 WO2020258018A1 (zh) 2019-06-25 2019-06-25 一种数据包处理方法、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020258018A1 true WO2020258018A1 (zh) 2020-12-30

Family

ID=74061159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/092713 WO2020258018A1 (zh) 2019-06-25 2019-06-25 一种数据包处理方法、设备及存储介质

Country Status (2)

Country Link
CN (1) CN112789839B (zh)
WO (1) WO2020258018A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115942301A (zh) * 2021-09-18 2023-04-07 维沃移动通信有限公司 多播业务的状态变量指示方法和设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400156A (zh) * 2007-09-29 2009-04-01 华为技术有限公司 基于s1切换的下行及上行数据包转发方法
US20090086677A1 (en) * 2007-10-01 2009-04-02 Qualcomm Incorporated Systems and methods for in-order delivery in downlink during handover
CN109151918A (zh) * 2017-06-13 2019-01-04 华为技术有限公司 切换控制方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500289A (zh) * 2008-01-29 2009-08-05 华为技术有限公司 下行数据包转发方法、系统及演进基站
CN103533586B (zh) * 2012-07-03 2016-07-20 电信科学技术研究院 切换过程中的信令交互及层重建的方法和设备
CN107438273B (zh) * 2016-05-26 2021-07-30 中兴通讯股份有限公司 承载转移中数据处理状态的确定方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400156A (zh) * 2007-09-29 2009-04-01 华为技术有限公司 基于s1切换的下行及上行数据包转发方法
US20090086677A1 (en) * 2007-10-01 2009-04-02 Qualcomm Incorporated Systems and methods for in-order delivery in downlink during handover
CN109151918A (zh) * 2017-06-13 2019-01-04 华为技术有限公司 切换控制方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Downlink Reordering at Intra-LTE Mobility", 3GPP TSG-RAN WG3 #57 R3-071506, 15 August 2007 (2007-08-15), XP050162326, DOI: 20200305194326 *
HUAWEI ET AL.: "Discussion on Duplication during Handover Procedure", 3GPP TSG-RAN WG2 #106 R2-1907434, 3 May 2019 (2019-05-03), XP051711716, DOI: 20200305194427X *

Also Published As

Publication number Publication date
CN112789839A (zh) 2021-05-11
CN112789839B (zh) 2023-01-24

Similar Documents

Publication Publication Date Title
US11751112B2 (en) Handover method and device
US20190028151A1 (en) Data transmission method, base station, and user equipment
EP3664507B1 (en) Communication methods for a master base station and a terminal
WO2021027931A1 (zh) 小区切换方法以及用户设备
WO2020146991A1 (zh) 一种数据流处理方法、设备及存储介质
WO2017166293A1 (zh) 移动性管理的方法、装置和系统
US20210385905A1 (en) Entity Establishment Processing Method and Apparatus
WO2014194841A1 (zh) 数据传输方法及装置
WO2020258018A1 (zh) 一种数据包处理方法、设备及存储介质
WO2020057044A1 (zh) 一种连接释放方法、数据处理方法、设备及存储介质
WO2020024301A1 (zh) 一种保证数传输可靠性的方法及装置、网络设备
WO2021051284A1 (zh) 一种上行重传处理方法、电子设备及存储介质
WO2021016790A1 (zh) 无线通信的方法、终端设备和网络设备
WO2020223972A1 (zh) 一种无线资源控制消息的处理方法、设备及存储介质
WO2020155157A1 (zh) 切换过程中安全信息的处理方法及装置、网络设备、终端
WO2024000110A1 (zh) 一种小区切换方法及装置、终端设备、网络设备
WO2022120541A1 (zh) 数据传输的方法和装置
WO2020124540A1 (zh) 一种数据包重排序方法、电子设备及存储介质
WO2023005919A1 (zh) 分组数据汇聚协议状态报告发送方法、设备及装置
WO2021051384A1 (zh) 一种切换处理方法、网络设备
WO2020107340A1 (zh) 一种数据处理方法、设备及存储介质
WO2021087799A1 (zh) 信道质量反馈的方法及装置
KR20150110259A (ko) 복수의 캐리어들을 지원하는 이동 통신 시스템에서 신호 송/수신 방법 및 장치
CN115968003A (zh) 一种数据传输方法及通信装置
CA3235117A1 (en) Data transmission method and communication apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1