Data receiving method and apparatus, data transmission method and apparatus, and communication device
By updating the PDCP layer status at the receiving end and providing discard information at the transmitting end, the reordering delay problem at the receiving end caused by data discarding at the PDCP layer is solved and the data reception efficiency is improved.
Patent Information
- Application Number
- PCT/CN2024/083019
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-24
- Filing Date
- 2024-03-21
- Publication Date
- 2024-10-03
AI Technical Summary
When PDCP layer data is discarded, the receiving end will cause unnecessary reordering delays and reduce data reception efficiency.
The receiving end obtains the discarded target PDCP layer data information and updates the data reception status of the PDCP layer based on this. The sending end provides indication information to the receiving end to confirm that the data is discarded.
Reduce or avoid unnecessary reordering delays caused by waiting for discarded data, and improve the data reception efficiency of the receiving end.
Smart Images

Figure CN2024083019_03102024_PF_FP_ABST
Abstract
Description
Data receiving method, data transmission method, device and communication equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application number 202310302417.2 filed in China on March 24, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application belongs to the field of communication technology and specifically relates to a data receiving method, a data transmission method, an apparatus and a communication device. Background Art
[0004] In some circumstances, the data transmitter or receiver may trigger packet discarding due to congestion control and / or packet dependency. In the PDCP receiving mechanism of the related art, the receiver of the PDCP layer maintains a receiving window based on state variables to receive packets that fall within the window. If packet discard occurs at the Packet Data Convergence Protocol (PDCP) layer of the transmitter, it will cause a gap in the PDCP sequence number (SN). In this case, the receiver will continue to wait for the discarded data, resulting in unnecessary reordering delays at the receiver. In some circumstances, packet discarding occurs frequently, resulting in low data reception efficiency at the receiver.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a data receiving method, a data transmission method, an apparatus, and a communication device, which can increase the data reception rate of a receiving end when PDCP layer data is discarded.
[0007] In a first aspect, a data receiving method is provided, which includes: a receiving end obtaining information of discarded target Packet Data Convergence Protocol (PDCP) layer data; and the receiving end updating a data receiving state of the PDCP layer based on the information of the discarded target PDCP layer data.
[0008] In a second aspect, a data transmission method is provided, which includes: a transmitting end discarding target PDCP layer data; the transmitting end providing first indication information to a receiving end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
[0009] In a third aspect, a data receiving device is provided, which includes: an acquisition module for acquiring information of discarded target Packet Data Convergence Protocol (PDCP) layer data; and an update module for updating the data receiving status of the PDCP layer based on the information of the discarded target PDCP layer data.
[0010] In a fourth aspect, a data transmission device is provided, which includes: a discarding module for discarding target PDCP layer data; and a providing module for providing first indication information to a receiving end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
[0011] In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0012] In a sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect, and the communication interface is used to communicate with an external device.
[0013] In the seventh aspect, a network side device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0014] In the eighth aspect, a network side device is provided, comprising a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect, and the communication interface is used to communicate with an external device.
[0015] In the ninth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0016] In the tenth aspect, a data transmission system is provided, comprising: a receiving end and a transmitting end, wherein the receiving end can be used to execute the steps of the method described in the first aspect, and the transmitting end can be used to execute the steps of the method described in the second aspect.
[0017] In the eleventh aspect, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method as described in the first aspect, or to implement the method as described in the second aspect.
[0018] In the twelfth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0019] In an embodiment of the present application, when the receiving end determines that the target PDCP layer data is discarded based on the information of the acquired target PDCP layer data, the receiving end updates the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data, which can reduce or avoid unnecessary reordering delays caused by waiting for discarded data, thereby improving the data reception efficiency of the receiving end. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 shows a block diagram of a wireless communication system to which embodiments of the present application may be applied;
[0021] FIG2 is a schematic diagram showing a flow chart of a data receiving method provided in an embodiment of the present application;
[0022] FIG3 shows a flow chart of a data transmission method according to an embodiment of the present application;
[0023] FIG4 shows a schematic structural diagram of a data receiving device provided in an embodiment of the present application;
[0024] FIG5 shows a schematic structural diagram of a data transmission device provided in an embodiment of the present application;
[0025] FIG6 shows a schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0027] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0028] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.
[0029] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) systems. thGeneration, 6G) communication system.
[0030] FIG1 is a block diagram of a wireless communication system applicable to an embodiment of the present application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR), a virtual reality (VR) device, a robot, a wearable device (Wearable Device), an aircraft (Flight Vehicle), a vehicle-mounted device (VUE), a ship-mounted device, a pedestrian user equipment (PUE), a smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), an ATM, or a self-service machine, or other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be called a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station can be referred to as Node B (NB), Evolved Node B (eNB), the next generation Node B (gNB), New Radio Node B (NR Node B), access point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B (home evolved Node B), Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
[0031] The core network device may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application server discovery function (EASDF), unified data management (UDM), unified data storage (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BNSF), network access function (UE ... Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.But not limited to at least one of the following: core network node, core network function, Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized Network Configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), Binding Support Function (BSF), Application Function (AF), etc. It should be noted that in the embodiments of this application, only the core network equipment in the NR system is introduced as an example, and the specific type of the core network equipment is not limited.
[0032] In order to better understand the technical solution provided by this application, the technology involved in this application is first introduced.
[0033] (1) Introduction to PDCP Receiving Mechanism
[0034] In related technologies, the length of the receive window is specified by the protocol and is essentially related to the length of the PDCP layer sequence number SN. For example, if PDCP SN = 18 bits, then the PDCP window length is Window_Size = 2. [pdcp- SN-SizeDL]–1. To maintain the sliding receive window, PDCP maintains the following receive state variables:
[0035] a.RX_NEXT: a waiting-for-receive state variable used to record the number of the next data packet that PDCP expects to receive.
[0036] b.RX_DELIV: pending delivery state variable, used to record the minimum number of data packets that PDCP has not yet delivered to the upper layer.
[0037] c.RX_REORD: Reordering state variable, used to record the sum of the number of the data packet that triggered the reordering timing and 1.
[0038] The data receiving method, data transmission method, apparatus, and communication device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.
[0039] Figure 2 illustrates a flow chart of a data receiving method according to an embodiment of the present application. This method 200 can be executed at a data receiving end during data transmission, where the data receiving end can be a terminal or a network-side device, though this is not specifically limited in the present embodiment. In other words, the method can be executed by software or hardware installed on the receiving end. As shown in Figure 2, the method may include the following steps.
[0040] S210: The receiving end obtains information of discarded target Packet Data Convergence Protocol (PDCP) layer data.
[0041] The PDCP layer is a layer in Long Term Evolution (LTE) wireless networks responsible for transmitting Internet Protocol (IP) packets over radio links. The PDCP layer aggregates data blocks to reduce the number of packets transmitted over the radio link. After being processed at the PDCP layer (referred to as PDCP layer data packets), these packets are transmitted to the next layer.
[0042] In step S210, the receiving end obtains information about the discarded target PDCP layer data, thereby determining the discarded target PDCP layer data and avoiding further waiting for the discarded target PDCP layer data.
[0043] In one implementation, the target PDCP layer data satisfies at least one of the following:
[0044] (1) Data packet collection.
[0045] It is understandable that a data packet set (eg, a PDU set) includes multiple data packets, such as PDCP PDUs.
[0046] (2) PDCP Protocol Data Unit (PDU).
[0047] The PDCP protocol data unit refers to a data unit transmitted in the PDCP layer, and is a type of data being transmitted. The PDCP protocol data unit is created and processed in the PDCP layer.
[0048] (3) PDCP Service Data Unit (SDU).
[0049] It should be noted that the PDCP service data unit is a data unit received from the upper layer and contains the data of the upper layer application.
[0050] In one implementation, when the target PDCP layer data belongs to a first data packet set, the data receiving end discards other received data packets belonging to the first data packet set.
[0051] It can be understood that the discarded target PDCP layer data can be all the data in the data packet set, that is, in the embodiment of the present application, the data of the PDCP layer is divided into data packet sets, and the entire data packet set can be discarded. Alternatively, the discarded target PDCP layer data can include PDCP PDU or PDP SDU. Exemplarily, the first data packet set includes a data packet of target PDCP layer data numbered 1, a data packet of target PDCP layer data numbered 2, and a data packet of target PDCP layer data numbered 3. At this time, the receiving end has received the data packets of target PDCP layer data numbered 1 and 2, but if the sending end indicates that the data packet of target PDCP layer data numbered 3 is discarded, the receiving end discards the data packets of target PDCP layer data numbered 1 and 2.
[0052] In one implementation, step S210 includes at least one of the following (1) to (3):
[0053] (1) The receiving end receives first indication information sent by the transmitting end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
[0054] It is understandable that, according to the network side configuration or protocol agreement, in the case where the data transmitting end discards the target PDCP layer data, the data transmitting end may send a first indication message to the data receiving end, and the first indication message is used to indicate that the target PDCP layer data is discarded. For example, if the PDCP entity of the data transmitting end discards the target PDCP layer data, the PDCP entity provides the first indication message to the PDCP entity of the receiving end, or if the transmitting end discards the target PDCP layer data with a data packet number of 2, the transmitting end sends a first indication message to the receiving end indicating that the target PDCP layer data with a data packet number of 2 is discarded.
[0055] (2) The receiving end obtains second indication information provided by a lower layer of the receiving end, wherein the second indication information is used to indicate that the target PDCP layer data is discarded.
[0056] The bottom layer may include a radio link control layer (Radio Link Control, RLC) or a media access control layer (Media Access Control, MAC).
[0057] Exemplarily, the RLC layer at the receiving end provides second indication information to the PDCP layer at the receiving end, where the second indication information is used to indicate that target PDCP layer data (e.g., PDCP data PDU) is discarded. For example, if the indication information provided by the RLC entity at the receiving end indicates that the data packet numbered 2 has been discarded by the transmitting end, the PDCP entity at the receiving end determines that the data packet numbered 2 of the target PDCP layer data is discarded.
[0058] (3) The receiving end obtains the integrity detection result of the data packet set, wherein the integrity detection of the data packet set is used to determine whether all data belonging to the same data packet set are successfully received.
[0059] It can be understood that the data packet set includes multiple data packets. When receiving data, the receiving end can perform integrity detection on each data packet set, that is, detect whether the data packets in the data packet set are completely received. If the integrity detection result is that the data belonging to the same data packet set is not completely received successfully, the receiving end can determine that the data packets in the data packet set are discarded, that is, obtain information about the discarded target PDCP layer data, for example, the identifier of the data packet set.
[0060] S220: The receiving end updates the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data.
[0061] It can be understood that when the receiving end obtains information about the discarded target PDCP layer data, in order to avoid the delay caused by continuing to wait for the discarded data packet, the receiving end can update the data reception status of the PDCP layer based on the information about the discarded target PDCP layer data to restore data reception and improve data efficiency.
[0062] In one implementation, S220 includes: updating a state variable corresponding to a data receiving window based on information about the discarded target PDCP layer data.
[0063] It can be understood that when the receiving end determines that the target PDCP layer data has been discarded, in order to avoid the delay caused by continuing to wait for the discarded data packet, the receiving end accelerates the window movement by updating the data reception status of the PDCP layer to avoid waiting for the discarded data packet. Here, updating the data reception status of the PDCP layer may include updating the state variable corresponding to the data reception window.
[0064] It should be noted that the window movement mentioned in the present application can be understood as the receiving end skipping the reception of the target PDCP layer data that is determined to have been discarded, or, it can also be understood as the receiving end treating the target PDCP layer data that is determined to have been discarded as having been received and processing it. It can also be that the receiving end triggers a preset delay or timer based on the target PDCP layer data that is determined to have been discarded. After the preset delay or timer expires (expires), the receiving end skips the reception of the target PDCP layer data that is determined to have been discarded, or, the receiving end treats the target PDCP layer data that is determined to have been discarded as having been received and processing it.
[0065] In one implementation, updating the state variable corresponding to the data receiving window may include: when the packet number of the target PDCP layer data is greater than or equal to the to-be-received state variable of the receiving window, the receiving end updates the to-be-received state variable to a first state variable value, wherein the first state variable value corresponds to the sum of the maximum packet number of the discarded PDCP layer data and 1.
[0066] It is understood that if the packet number of the discarded target PDCP layer data is greater than or equal to the pending-receive state variable of the receive window, the value of the pending-receive state variable is updated to the number next to the maximum packet number of the discarded target PDCP layer data (i.e., the maximum packet number of the discarded target PDCP layer data + 1). In the PDCP layer, each data packet has a unique number that identifies the order of the data packet during transmission. For the transmitter, the maximum packet number is the largest number of the data packets already sent by the transmitter, and the next number is the number of the data packet to be sent. For the receiver, the maximum packet number is the largest number of the data packets already received or the largest number of the currently lost data packets, and the next number is the number of the data packet to be received. Exemplarily, the pending-receive state variable can be RX_NEXT. If the packet number of the discarded target PDCP layer data is 0, if the pending-receive state variable RX_NEXT = 0, then RX_NEXT = 1 is updated; or, if the packet numbers of the discarded target PDCP layer data are 2, 3, 4, or 5, if RX_NEXT = 2, then RX_NEXT = 6 is updated. It should be noted that, if the data packets of the discarded target PDCP layer data are numbered 2 and 3, and if RX_NEXT=4, RX_NEXT is not updated.
[0067] In one implementation, updating the state variable corresponding to the data receiving window may include: when the packet number of the target PDCP layer data is greater than or equal to the pending state variable of the receiving window, the receiving end updates the pending state variable to a second state variable value, wherein the second state variable value is the packet number of the first PDCP layer data waiting to be delivered to the upper layer at the receiving end after the discarded packet of the target PDCP layer data, or the second state variable value corresponds to the sum of the maximum packet number of the discarded target PDCP layer data and 1.
[0068] It is understandable that, when the packet number of the discarded target PDCP layer data is greater than or equal to the pending state variable of the receive window, the value of the pending state variable is updated to the packet number of the first PDCP layer data waiting to be delivered to the upper layer of the receiving end, or the value of the second state variable corresponds to the sum of the maximum packet number of the discarded data and 1. Exemplarily, the pending state variable can be RX_DELIV. If the packet number of the discarded target PDCP layer data is 0, if RX_DELIV=0, then RX_DELIV=1 is updated; or, if the packet numbers of the discarded target PDCP layer data are 2, 3, 4, and 5, if RX_NEXT=2, then RX_DELIV=6 is updated; or, if the packet numbers of the discarded target PDCP layer data are 3, 4, and 5, if RX_NEXT=3, then RX_DELIV=6 is updated.
[0069] In this implementation, the receiving end can change the parameters of the receiving window based on the information of the target PDCP layer data currently being discarded, thereby updating the current receiving window without waiting for the discarded data until the rescheduling timer expires, thereby improving the receiving efficiency.
[0070] In one implementation, to further improve reception efficiency, a reordering timer may be processed. Updating a state variable corresponding to a data receiving window based on information about the target PDCP layer data may further include: when the reordering timer is running, if the pending state variable of the receiving window is greater than or equal to the reordering state variable, stopping the reordering timer by the receiving end.
[0071] It is understandable that after the receiving end updates the state variable corresponding to the data receiving window based on the information of the discarded target PDCP layer data, if the updated pending state variable is greater than or equal to the reordering state variable and the reordering timer is running, the reordering timer is stopped. Exemplarily, the reordering state variable can be RX_REORD. If the data packets of the discarded target PDCP layer data are numbered 2, 3, 4, and 5, if the pending state variable RX_NEXT = 2 and the reordering state variable RX_REORD = 2, then the pending state variable RX_DELIV is updated to 6. At this time, the updated RX_DELIV is greater than RX_REORD, which means that the data packets of the target PDCP layer data with numbers less than RX_DELIV are no longer waiting to be received, that is, the reordering timer started before the RX_DELIV update needs to be stopped.
[0072] As you can understand, the reordering timer is used to detect data gaps, meaning it should typically be started when the data receiving end detects that data has been received out of order. Therefore, if the pending state variable is greater than or equal to the reordering state variable, packets with numbers less than the reordering state variable are considered to have been delivered to the upper layer or are no longer waiting, and the reordering timer should be stopped.
[0073] In another implementation, to further improve reception efficiency, a reordering timer may be processed. Updating the state variable corresponding to the data receiving window based on the target PDCP layer data may further include: when the reordering timer is not running, if the pending delivery state variable of the receiving window is less than the pending reception state variable, the receiving end updating the reordering state variable to a third state variable value and starting the reordering timer; the third state variable value is equal to the state variable value of the pending reception state variable.
[0074] It can be understood that if the state variable to be delivered is smaller than the state variable to be received, it means that there is a numbering gap between the first data packet that the receiving end is waiting to deliver and the next data packet expected to be received, which means that a data packet is discarded. At this time, the receiving end restarts the timer instead of waiting, and updates the reordering state variable parameter to the third state variable value, and the third state variable value is equal to the state variable value to be received.
[0075] In this implementation, when a data packet is discarded during transmission at the receiving end, the reordering timer can be restarted instead of continuing to wait for the reordering timer to time out, thereby reducing the waiting time at the receiving end and improving the efficiency of data transmission.
[0076] In the above implementation, the receiving end takes corresponding measures based on the acquired information of the discarded target PDCP layer data, thereby avoiding further waiting for the arrival of the target PDCP layer data, thereby ensuring the delay size and performance of data transmission.
[0077] In one implementation, the above implementation may further include at least one of the following (1) to (3):
[0078] (1) The receiving end delivers the PDCP layer data whose data packet number is smaller than the state variable to be delivered to the upper layer of the receiving end.
[0079] Among them, the pending state variable is the first data packet number that has not yet been submitted to the upper layer, and the PDCP layer data with a data packet number smaller than the pending state variable is a data packet that has been received by the receiving end. The receiving end submits the PDCP layer data with a data packet number smaller than the pending state variable to the upper layer.
[0080] (2) The receiving end delivers a second data packet set to an upper layer of the receiving end, wherein the data packet number of the PDCP layer data in the second data packet set is less than the to-be-delivered state variable, and all data packets in the second data packet set are successfully received.
[0081] For example, if the second data packet set includes PDCP layer data with data packet numbers 1, 2, and 3, and if the value of the state variable to be delivered is 4, then the received PDCP layer data with data packet numbers 1, 2, and 3 are delivered to the upper layer, that is, the second data packet set is delivered to the upper layer.
[0082] (3) discarding or storing a third data packet set in a data cache, wherein the data packet number of the PDCP layer data in the third data packet set is less than the to-be-delivered state variable, and at least one data packet in the third data packet set is not successfully received.
[0083] For example, if the third data packet set includes PDCP layer data with data packet numbers 1, 2, 3, 4 and 5, wherein the target PDCP layer data with data packet numbers 4 and 5 are discarded, then the third data packet set is incomplete, and therefore, the third data packet set is discarded or stored in the data cache, and the third data packet set includes PDCP layer data with data packet numbers 1, 2, and 3.
[0084] In this implementation, after determining the discarded data, the receiving end still transmits the received data to the upper layer. Even if a certain data is discarded, the receiving end may have received the data before the data. Therefore, when it is determined that the set of data packets to which each data belongs is complete, the receiving end needs to transmit the received data packets to the upper layer so that the upper layer can continue to process the data or perform other operations to ensure the integrity and correctness of data transmission.
[0085] In one implementation, the target PDCP layer data includes at least one of the following: PDCP layer data discarded by the transmitting end, PDCP layer data discarded by the bottom layer of the receiving end, and PDCP layer data discarded by the PDCP layer of the receiving end.
[0086] It is understandable that during data transmission, data packets may be lost due to various reasons, such as network congestion, transmission errors, hardware failures, etc. Therefore, the discarded PDCP layer data may be determined by the sending end, or by the bottom layer of the receiving end, or by the PDCP layer of the receiving end.
[0087] In one implementation, the PDCP layer data discarded by the PDCP layer at the receiving end may include: data packets of discarded data obtained by the PDCP layer at the receiving end based on an integrity check result of a data packet set. In other words, the PDCP layer at the receiving end may discard data packets in a data packet set based on the integrity check result of the data packet set if the integrity check result of a data packet set indicates that the data packet set is incomplete.
[0088] In an embodiment of the present application, when the receiving end determines that the target PDCP layer data is discarded based on the information of the acquired target PDCP layer data, the receiving end updates the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data, which can accelerate the movement of the receiving window, thereby improving the data reception efficiency of the receiving end and avoiding unnecessary reordering delays.
[0089] Figure 3 illustrates a flow chart of a data transmission method according to an embodiment of the present application. This method 300 can be executed by a data transmitting end during data transmission, including but not limited to the terminal or network-side device shown in Figure 1 . In other words, the method can be executed by software or hardware installed on the transmitting end. As shown in Figure 3 , the method may include the following steps.
[0090] S310: The transmitting end discards the target PDCP layer data.
[0091] In one implementation, the target PDCP layer data satisfies at least one of the following:
[0092] (1) Data packet collection.
[0093] That is to say, the target PDCP layer data to be discarded can be all data packets in a data packet set, where a data packet set can include multiple data packets. For example, the data packet set can be a PDU set, that is, a data packet set includes multiple PDUs. Of course, it is not limited to this. The data packet set can also be an SDU set.
[0094] (2)PDCP protocol data unit.
[0095] That is, the target PDCP layer data to be discarded may be a PDCP PDU, wherein the PDCP PDU represents data that will be transferred to the next layer after the SDU of the current layer is processed in a specific format.
[0096] (3)PDCP service data unit.
[0097] That is, the target PDCP layer data to be discarded may be a PDCP SDU, wherein the PDCP SDU represents data that is transferred from an upper layer to the PDCP layer and has not yet been processed.
[0098] S320: The transmitting end provides first indication information to the receiving end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
[0099] In one implementation, the first indication information may include at least one of the following:
[0100] (1) The number of the data packet set.
[0101] For example, if the transmitter discards the entire data set based on congestion control, the transmitter provides the receiver with indication information of the data packet set, such as the PDU set SN. It is understood that the PDU set SN refers to the sequence number used to identify the data packet in the PDCP layer. In the PDCP layer, each data packet is assigned a unique PDU set SN. This sequence number is assigned during the packet data convergence protocol to ensure the correctness and integrity of the data packet during transmission. The PDU set SN can be used to detect data packet loss and duplication, thereby ensuring the reliability of data transmission.
[0102] (2) the number range of the data packet set;
[0103] For example, PDU Set SN range refers to the range of PDU Set SN in the PDCP layer.
[0104] (3) The number of the first data packet in the data packet set.
[0105] For example, the SN of the start PDU of the PDU Set refers to the SN of the first PDU in a PDU Set. For example, the transmitting end may indicate (2) and (3), and the receiving end may determine the numbers of all data packets in the data packet set based on the number of the first data packet in the data packet set indicated by the first indication information and the number range of the data packet set.
[0106] (4) The number of the last data packet in the data packet set.
[0107] For example, the SN of the end PDU of the PDU set refers to the SN of the last PDU in a PDU Set. For example, the sender may indicate (2) and (4), and the receiver may determine the numbers of all packets in the packet set based on the number of the last packet in the packet set indicated by the first indication information and the number range of the packet set.
[0108] (5) The number of any one or more data packets in the data packet set.
[0109] For example, the SN of the PDU within the PDU set refers to the SN of a PDU in the PDU Set. For example, the sender can indicate the numbers of one or more discarded packets in the packet set.
[0110] (6) The range of data packet numbers in the data packet set.
[0111] For example, SN of the PDU within the PDU set range refers to the range of data packet numbers in the PDCP layer.
[0112] (7)PDCP layer sequence number.
[0113] For example, PDCP SN refers to a sequence number used to identify a data packet in the PDCP layer.
[0114] (8) Range of PDCP layer sequence numbers.
[0115] For example, PDCP SN range refers to the sequence number range of data packets in the PDCP layer.
[0116] (9) The number of PDCP layer data packets is used to indicate the number of consecutive PDCP layer data packets that are discarded.
[0117] It should be noted that the multiple consecutive PDCP layer data packets may be across data packet sets. For example, if the last two data packets in data packet set 1 and the first data packet in data packet set 2 are discarded, the number of PDCP layer data packets is 3.
[0118] Optionally, when discarding one or more consecutive data packets, the transmitting end may also provide, through the first indication information, information about the discarded data packet of the target PDCP layer data with the highest number. For example, if the PDCP transmitting end discards data packets of the target PDCP layer data with data numbers 1, 2, and 3, the first indication information may only carry information about the data packet of the target PDCP layer data with data number 3.
[0119] (10) The number of data packet sets is used to indicate the number of consecutive data packet sets that were discarded. For example, if the sender discards two consecutive data packet sets, the number of consecutive discarded data packet sets can be provided as two through the first indication information.
[0120] Optionally, when discarding one or more consecutive data packet sets, the transmitting end may also provide information about the discarded data packet set with the highest number through the first indication information. For example, if the PDCP transmitting end discards data packet sets numbered 1, 2, and 3, the first indication information may only carry information about the data packet set numbered 2.
[0121] In one implementation, the transmitting end provides the receiving end with first indication information, including at least one of the following (1) to (2):
[0122] (1) The transmitting end sends the first indication information through a PDCP control protocol data unit.
[0123] Exemplarily, the transmitting end may inform the data receiving end that the PDCP control protocol data unit PDCP control PDU is used to indicate that a specific data packet is discarded by setting the PDU Type.
[0124] (2) The transmitting end sends the first indication information through a PDCP data protocol data unit.
[0125] Exemplarily, the PDCP data protocol data unit (PDCP data PDU) may be a data packet that does not include a data payload. For example, the transmitting end may send the first indication information via a header of the PDCP data PDU.
[0126] In one implementation, the sending end provides the first indication information to the receiving end, which may include any one of the following (1) to (2):
[0127] (1) The PDCP entity of the transmitting end provides the first indication information to the receiving end through a primary path associated with the PDCP entity.
[0128] In one implementation, the primary path may be determined according to a first rule or configured by a network-side device.
[0129] For example, the first rule includes one or more of the following:
[0130] The transmission path located in the primary cell group is the primary path;
[0131] The transmission path with the smallest path number is the main path;
[0132] The transmission path with the largest path number is the main path;
[0133] The transmission path carrying high-priority data is the primary path;
[0134] The transmission path carrying high-importance data is the primary path.
[0135] (2) The PDCP entity of the transmitting end provides the first indication information to the receiving end through any path associated with the PDCP entity.
[0136] The arbitrary paths refer to other paths in addition to the main path. In addition to providing the first indication information to the receiving end, these paths can also be used for specific tasks and functions, such as data detection, correction, encryption, decryption, etc.
[0137] In one implementation, before the sending end provides the first indication information to the receiving end, the sending end performs at least one of the following (1) to (2):
[0138] (1) Acquire first switch indication information, where the first indication information is used by the transmitting end to enable or disable a function of sending the first indication information when discarding target PDCP layer data.
[0139] It is understandable that after the transmitting end discards the target PDCP layer data, it obtains the first switch indication information and, if the first switch indication information indicates that the function of sending the first indication information is enabled, sends the first indication information; if the first switch indication information indicates that the function of sending the first indication information is disabled, does not send the first indication information. This implementation allows the first switch indication information to be flexibly set according to actual application needs.
[0140] (2) Obtaining second configuration information, where the second configuration information is used to configure the transmitting end to send the first indication information when a first event is satisfied, wherein the first event includes any one of the following: a switching event, an uplink data switching event, and a connection reestablishment event.
[0141] The handover event may include the handover of a wireless interface, the uplink data handover event may include the handover of a terminal from one base station to another, and the connection reestablishment event may include the process in which the terminal needs to reestablish a connection with a base station after the terminal is connected to the base station. All of the above events may result in data transmission loss, so the transmitting end sends the first indication information to the receiving end by obtaining the second configuration information when the first event is satisfied.
[0142] In an embodiment of the present application, the sending end can notify the receiving end of the discarded data information when the data is discarded. When the receiving end learns that the data cannot be successfully transmitted, it can accelerate the window movement and prepare to receive the next data packet, thereby avoiding unnecessary reordering delays and improving the data reception efficiency of the receiving end.
[0143] The data receiving method provided in the embodiment of the present application can be executed by a data receiving device. In the embodiment of the present application, the data receiving device provided in the embodiment of the present application is described by taking the method of performing data reception by the data receiving device as an example.
[0144] FIG4 shows a schematic structural diagram of a data receiving device provided in an embodiment of the present application. As shown in FIG4 , the device 400 mainly includes: an acquisition module 410 and an update module 420 .
[0145] In an embodiment of the present application, the acquisition module 410 is used to obtain information of the discarded target Packet Data Convergence Protocol PDCP layer data; the update module 420 is used to update the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data.
[0146] In one implementation, the acquisition module 410 obtains information about the discarded target Packet Data Convergence Protocol (PDCP) layer data, including at least one of the following: receiving first indication information sent by the transmitting end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded; obtaining second indication information provided by the bottom layer of the receiving end, wherein the second indication information is used to indicate that the target PDCP layer data is discarded; the receiving end obtains the integrity detection result of the data packet set, wherein the integrity detection of the data packet set is used to determine whether the data belonging to the same data packet set are all successfully received.
[0147] In one implementation, the target PDCP layer data satisfies at least one of the following: a data packet set; a PDCP protocol data unit; or a PDCP service data unit.
[0148] In one implementation, the updating module 420 includes: when the target PDCP layer data belongs to a first data packet set, discarding other received data packets belonging to the first data packet set.
[0149] In one implementation, the update module 420 updates the data reception state of the PDCP layer based on the information of the discarded target PDCP layer data, including: updating the state variable corresponding to the data reception window based on the information of the discarded target PDCP layer data.
[0150] In one implementation, the update module 420 updates the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data, including at least one of the following: when the packet number of the target PDCP layer data is greater than or equal to the to-be-received state variable of the receiving window, the receiving end updates the to-be-received state variable to a first state variable value, wherein the first state variable value corresponds to the sum of the maximum packet number of the discarded target PDCP layer data and 1; when the packet number of the target PDCP layer data is greater than or equal to the to-be-delivered state variable of the receiving window, the receiving end updates the to-be-delivered state variable to a second state variable value, wherein the second state variable value is the packet number of the first PDCP layer data waiting to be delivered to the upper layer of the receiving end after the packet of the discarded target PDCP layer data, or the second state variable value corresponds to the sum of the maximum packet number of the discarded target PDCP layer data and 1.
[0151] In one implementation, the updating module 420 is further configured to: when the reordering timer is running, if the pending state variable of the receiving window is greater than or equal to the reordering state variable, the receiving end stops the reordering timer.
[0152] In one implementation, the update module 420 is also used to: when the reordering timer is not running, if the to-be-delivered state variable of the receiving window is less than the to-be-received state variable, the receiving end updates the reordering state variable to a third state variable value and starts the reordering timer; the third state variable value is equal to the state variable value of the to-be-received state variable.
[0153] In one implementation, the update module 420 is also used for at least one of the following: the receiving end delivers the PDCP layer data whose packet number is less than the state variable to be delivered to the upper layer of the receiving end; the receiving end delivers a second packet set to the upper layer of the receiving end, wherein the packet number of the PDCP layer data in the second packet set is less than the state variable to be delivered, and all packets in the second packet set are successfully received; the third packet set is discarded or stored in a data cache, wherein the packet number of the PDCP layer data in the third packet set is less than the state variable to be delivered, and at least one packet in the third packet set is not successfully received.
[0154] The data receiving device in the embodiments of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal, or it can be other devices other than a terminal. For example, the terminal can include but is not limited to the types of terminal 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.
[0155] The data receiving device provided in the embodiment of the present application can implement the various processes implemented by the receiving end in the method embodiment shown in Figure 2 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0156] The data transmission method provided in the embodiment of the present application can be executed by a data transmission device. In the embodiment of the present application, the method of executing data transmission by a data transmission device is taken as an example to illustrate the data transmission device provided in the embodiment of the present application.
[0157] FIG5 shows a schematic structural diagram of a data transmission device provided in an embodiment of the present application. As shown in FIG5 , the device 500 mainly includes: a discarding module 510 and a providing module 520 .
[0158] In an embodiment of the present application, the discarding module 510 is used to discard the target PDCP layer data; the providing module 520 is used to provide first indication information to the receiving end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
[0159] In one implementation, the target PDCP layer data satisfies at least one of the following: a data packet set; a PDCP protocol data unit; or a PDCP service data unit.
[0160] In one implementation, the first indication information includes at least one of the following: the number of the data packet set; the number range of the data packet set; the first data packet number in the data packet set; the last data packet number in the data packet set; the number of any one or any multiple data packets in the data packet set; the data packet number range in the data packet set; the PDCP layer sequence number; the range of PDCP layer sequence numbers; the number of PDCP layer data packets, used to indicate the number of consecutive multiple PDCP layer data packets that are discarded; the number of data packet sets, used to indicate the number of consecutive multiple data packet sets that are discarded.
[0161] In one implementation, the providing module 520 provides the first indication information to the receiving end, including one of the following: sending the first indication information through a PDCP control protocol data unit; sending the first indication information through a PDCP data protocol data unit.
[0162] In one implementation, the providing module 520 provides the first indication information to the receiving end, including any one of the following: providing the first indication information to the receiving end through the main path associated with the PDCP entity; the sending end provides the first indication information to the receiving end through any path associated with the PDCP entity.
[0163] In one implementation, the primary path is determined according to a first rule or configured by a network-side device.
[0164] In one implementation, the first rule includes one or more of the following: the transmission path located in the main cell group is the main path; the transmission path with the smallest path number is the main path; the transmission path with the largest path number is the main path; the transmission path carrying high-priority data is the main path; the transmission path carrying high-importance data is the main path.
[0165] In one implementation, the providing module 520 is further configured to perform at least one of the following: obtaining first switch indication information, the first indication information being used to enable or disable a function of sending the first indication information when the target PDCP layer data is discarded; obtaining second configuration information, the second configuration information being used to configure the sending of the first indication information when a first event is satisfied, wherein the first event includes any one of the following: a switching event, an uplink data switching event, a connection reestablishment event
[0166] The data transmission device in the embodiments of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the terminal can include but is not limited to the types of terminal 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.
[0167] The data transmission device provided in the embodiment of the present application can implement the various processes implemented by the sending end in the method embodiment shown in Figure 3 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0168] As shown in Figure 6, an embodiment of the present application further provides a communication device 600, including a processor 601 and a memory 602. The memory 602 stores a program or instruction that can be run on the processor 601. For example, when the communication device 600 is a terminal, the program or instruction, when executed by the processor 601, implements the various steps of the above-mentioned data receiving method embodiment, or implements the various steps of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. When the communication device 600 is a network-side device, the program or instruction, when executed by the processor 601, implements the various steps of the above-mentioned data receiving method embodiment, or implements the various steps of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0169] An embodiment of the present application also provides a data transmission system, including: a receiving end and a transmitting end, wherein the receiving end implements the various processes of the above-mentioned data receiving method embodiment when executed, and the transmitting end implements the various processes of the above-mentioned data transmission method embodiment when executed.
[0170] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data receiving method embodiment or the various processes of the above-mentioned data transmission method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0171] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.
[0172] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data receiving method embodiment, or to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0173] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0174] It should be noted that the various embodiments and implementation methods of the present application can be applied to various scenarios discussed and involved in 3GPP, including Extended Reality (XR).
[0175] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned data receiving method embodiment, or to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0176] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0177] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.
[0178] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.
Claims
1. A data receiving method, comprising: The receiving end obtains information of discarded target packet data convergence protocol PDCP layer data; The receiving end updates the data reception status of the PDCP layer based on the information of the discarded target PDCP layer data.
2. The method according to claim 1, wherein: The receiving end obtains information of discarded target Packet Data Convergence Protocol (PDCP) layer data, including at least one of the following: The receiving end receives first indication information sent by the transmitting end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded; The receiving end obtains second indication information provided by a bottom layer of the receiving end, wherein the second indication information is used to indicate that the target PDCP layer data is discarded; The receiving end obtains the integrity detection result of the data packet set, wherein the integrity detection of the data packet set is used to determine whether data belonging to the same data packet set are all successfully received.
3. The method according to claim 1, wherein: The target PDCP layer data satisfies at least one of the following: Data packet collection; PDCP protocol data unit; PDCP service data unit.
4. The method according to claim 3, wherein: The method further comprises: In a case where the target PDCP layer data belongs to a first data packet set, the data receiving end discards other received data packets belonging to the first data packet set.
5. The method according to claim 1 or 4, wherein: The receiving end updating the data reception state of the PDCP layer based on the information of the discarded target PDCP layer data includes: Based on the information of the discarded target PDCP layer data, a state variable corresponding to the data receiving window is updated.
6. The method according to claim 5, wherein: Based on the information of the discarded target PDCP layer data, updating the state variable corresponding to the data receiving window includes at least one of the following: In a case where the packet number of the target PDCP layer data is greater than or equal to the to-be-received state variable of the receiving window, the receiving end updates the to-be-received state variable to a first state variable value, wherein the first state variable value corresponds to the sum of the maximum packet number of the discarded target PDCP layer data and 1; When the packet number of the target PDCP layer data is greater than or equal to the pending state variable of the receiving window, the receiving end updates the pending state variable to a second state variable value, wherein the second state variable value is the packet number of the first PDCP layer data of the receiving end waiting to be delivered to the upper layer after the discarded packet of the target PDCP layer data, or the second state variable value corresponds to the sum of the maximum packet number of the discarded target PDCP layer data and 1.
7. The method according to claim 5 or 6, wherein: The updating of the state variable corresponding to the data receiving window based on the information of the target PDCP layer data includes: When the reordering timer is running, if the pending state variable of the receiving window is greater than or equal to the reordering state variable, the receiving end stops the reordering timer.
8. The method according to claim 5, 6 or 7, wherein: The updating of the state variable corresponding to the data receiving window based on the information of the target PDCP layer data includes: When the reordering timer is not running, if the to-be-delivered state variable of the receiving window is less than the to-be-received state variable, the receiving end updates the reordering state variable to a third state variable value and starts the reordering timer; The third state variable value is equal to the state variable value of the to-be-received state variable.
9. The method according to claim 1 or 6, wherein: The method further comprises at least one of the following: The receiving end delivers the PDCP layer data whose data packet number is less than the state variable to be delivered to the upper layer of the receiving end; The receiving end delivers a second data packet set to an upper layer of the receiving end, wherein a data packet number of the PDCP layer data in the second data packet set is less than a state variable to be delivered, and all data packets in the second data packet set are successfully received; The third data packet set is discarded or stored in a data cache, wherein the data packet number of the PDCP layer data in the third data packet set is smaller than the to-be-delivered state variable, and at least one data packet in the third data packet set is not successfully received.
10. A data transmission method, comprising: The sender discards the target PDCP layer data; The transmitting end provides first indication information to the receiving end, wherein the first indication information is used to indicate that the target PDCP layer data is discarded.
11. The method according to claim 10, wherein: The target PDCP layer data satisfies at least one of the following: Data packet collection; PDCP protocol data unit; PDCP service data unit.
12. The method according to claim 11, wherein: The first indication information includes at least one of the following: The number of the data packet set; The number range of the data packet set; The number of the first data packet in the data packet set; The number of the last data packet in the data packet set; The serial number of any one or more data packets in the data packet set; A range of data packet numbers in the data packet set; PDCP layer sequence number; The range of PDCP layer sequence numbers; The number of packets of PDCP layer data, used to indicate the number of consecutive packets of PDCP layer data that are discarded; The number of data packet sets is used to indicate the number of consecutive data packet sets that are discarded.
13. The method according to any one of claims 10 to 12, wherein: The sending end provides the first indication information to the receiving end, including one of the following: The transmitting end sends the first indication information through a PDCP control protocol data unit; The transmitting end sends the first indication information via a PDCP data protocol data unit.
14. The method according to claim 13, wherein: The sending end provides the first indication information to the receiving end, including any one of the following: The PDCP entity of the transmitting end provides the first indication information to the receiving end through a primary path associated with the PDCP entity; The PDCP entity of the transmitting end provides the first indication information to the receiving end through any path associated with the PDCP entity.
15. The method according to claim 14, wherein: The primary path is determined according to a first rule or configured by a network-side device.
16. The method according to claim 15, wherein: The first rule includes one or more of the following: The transmission path located in the primary cell group is the primary path; The transmission path with the smallest path number is the main path; The transmission path with the largest path number is the main path; The transmission path carrying high priority data is the primary path; The transmission path that carries high-importance data is the primary path.
17. The method according to claim 10, wherein: Before the sending end provides the first indication information to the receiving end, the sending end performs at least one of the following: Acquire first switch indication information, where the first indication information is used by the transmitting end to enable or disable a function of sending the first indication information when discarding target PDCP layer data; Obtain second configuration information, where the second configuration information is used to configure the sending end to send the first indication information when a first event is satisfied, wherein the first event includes any one of the following: a switching event, an uplink data switching event, and a connection reconstruction event.
18. A data receiving device, comprising: An acquisition module, used for acquiring information of discarded target packet data convergence protocol PDCP layer data; An updating module is used to update the data receiving status of the PDCP layer based on the information of the discarded target PDCP layer data.
19. A data transmission device, comprising: A discarding module, used for discarding target PDCP layer data; A providing module is used to provide first indication information to a receiving end, wherein the first indication information is used to indicate The target PDCP layer data is discarded.
20. A communication device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data receiving method according to any one of claims 1 to 9 are implemented, or the steps of the data transmission method according to any one of claims 10 to 17 are implemented.
21. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by the processor, implements the steps of the data receiving method according to any one of claims 1 to 9, or implements the steps of the data transmission method according to any one of claims 10 to 17.
22. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the data receiving method as described in any one of claims 1 to 9, or to implement the steps of the data transmission method as described in any one of claims 10 to 17.
23. A computer program product, wherein the program product is executed by at least one processor to implement the steps of the data receiving method according to any one of claims 1 to 9, or the steps of the data transmission method according to any one of claims 10 to 17.
Citation Information
Patent Citations
Data transmission method and device, electronic equipment and storage medium
CN114268991A
Method for processing data packet and communication device
CN114451007A
Method for holding packet data protocol convergence sublayer sequence number synchronization
CN1829187A
Method for handling state variables of a PDCP entity in wireless communication system and a device therefor
US20190044880A1
