Data receiving method and apparatus, data transmitting method and apparatus, and communication device
By obtaining and updating the discarded target RLC layer data information at the receiving end, the problem of low receiving end efficiency caused by packet discarding is solved and more efficient data reception is achieved.
Patent Information
- Application Number
- PCT/CN2024/083014
- 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
During the data transmission process, data packet discarding causes unnecessary reassembly delay at the receiving end, reducing data reception efficiency.
The receiving end obtains the discarded target RLC layer data information and updates the data reception status of the RLC layer based on this information to avoid waiting for discarded data packets, thereby reducing reassembly delay and improving data reception efficiency.
By updating the data reception status of the RLC layer, the receiving end avoids unnecessary reassembly delays, improves data reception efficiency, and solves the inefficiency problem caused by packet discarding.
Smart Images

Figure CN2024083014_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 202310302396.4 filed in China on March 24, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present 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 RLC receiving mechanism in the related art, the receiving end of the RLC layer maintains a receiving window based on state variables to receive data packets that fall within the window. If the radio link control (RLC) layer of the transmitter discards data packets, the RLC layer of the receiver will generate an RLC sequence number gap (SN). In this case, the receiver will continue to wait for the discarded data, which may cause unnecessary reassembly delays at the data receiving end. In some circumstances, data discarding occurs frequently, causing frequent delays at the data receiving end, resulting in low data receiving efficiency at the data receiving end.
[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 solve the problem of low data receiving efficiency at a data receiving end due to data packets.
[0007] In a first aspect, a data receiving method is provided, which includes: a receiving end obtaining information of discarded target radio link control RLC layer data; and the receiving end updating the data receiving status of the RLC layer based on the information of the discarded target RLC layer data.
[0008] In a second aspect, a data transmission method is provided, which includes: a transmitting end discarding target RLC 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 RLC 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 radio link control RLC layer data; and an update module for updating the data receiving status of the RLC layer based on the information of the discarded target RLC layer data.
[0010] In a fourth aspect, a data transmission device is provided, which includes: a processing module for discarding target RLC 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 RLC layer data is discarded.
[0011] In a fifth aspect, a communication device 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, it implements the steps of the data receiving method as described in the first aspect, or implements the steps of the data transmission method as described in the second aspect.
[0012] In a sixth 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 data receiving method described in the first aspect are implemented, or the steps of the data transmission method described in the second aspect are implemented.
[0013] In the seventh aspect, a data transmission system is provided, comprising: a transmitting end and a receiving end, wherein the receiving end can be used to execute the steps of the data receiving method as described in the first aspect, and the transmitting end can be used to execute the steps of the data transmission method as described in the second aspect.
[0014] In the eighth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instructions to implement the steps of the data receiving method as described in the first aspect, or to implement the steps of the data transmission method as described in the second aspect.
[0015] In the ninth 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 data receiving method as described in the first aspect, or to implement the steps of the data transmission method as described in the second aspect.
[0016] In an embodiment of the present application, the receiving end obtains information about the discarded target RLC layer data, and then updates the data receiving status of the RLC layer based on the information about the discarded target RLC layer data, thereby enabling the receiving end to update the data receiving status of the RLC layer when it is learned that the RLC layer data cannot be successfully transmitted. This can reduce or avoid unnecessary reassembly delays incurred by the receiving end, improve the data receiving efficiency of the receiving end, and solve the problem of low data receiving efficiency at the data receiving end due to the data sending end discarding the data packet. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] FIG1 is a block diagram of a wireless communication system to which embodiments of the present application may be applied;
[0018] FIG2 is a flow chart of a data receiving method according to an embodiment of the present application;
[0019] FIG3 is a flow chart of a data transmission method in an embodiment of the present application;
[0020] FIG4 is another flow chart of the data transmission method in an embodiment of the present application;
[0021] FIG5 is a schematic structural diagram of a data receiving device according to an embodiment of the present application;
[0022] FIG6 is a schematic structural diagram of a data transmission device in an embodiment of the present application;
[0023] FIG7 is a schematic structural diagram of a communication device in an embodiment of the present application;
[0024] FIG8 is a schematic diagram of the hardware structure of a terminal in an embodiment of the present application;
[0025] FIG9 is a schematic diagram of the hardware structure of a network-side device 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 described technology 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 example 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) communication systems.
[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 (WLAN) access point (AS) or a 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] (1) Introduction to AM RLC Receiving Mechanism
[0032] AM RLC is an acknowledged RLC. In this reception mechanism, AM RLC requires the successful reception of every data packet. Therefore, the receiver maintains a sliding window based on a lower bound. In this reception mechanism, the AM RLC receive window advances only when the data packets at the lower bound are successfully received. In related technologies, the receive window length is protocol-specified and is essentially related to the length of the RLC layer's sequence number (SN). For example, if the AM RLC SN is 12 bits, then the AM RLC window length is AM_Window_Size = 2048, allowing the reception of 2048 data packets.
[0033] To maintain the sliding receive window, AM RLC maintains the following receive state variables:
[0034] a.RX_Next: This state variable is the lower boundary state variable, corresponding to the lower boundary of the receive window, and is used to record the minimum number of packets waiting to be received in sequence;
[0035] b.RX_Next_Highest: The highest numbered state variable, used to record the sum of the maximum number of data packets received by the receiver and 1;
[0036] c.RX_Next_Status_Trigger: Timer status variable, used to record the sum of the packet number that triggered the timer start and 1;
[0037] d.RX_Highest_Status: The highest status transmission status variable, used to record the maximum number of packets that can indicate the receive status in the status report;
[0038] (2) Introduction to UM RLC Receiving Mechanism
[0039] UM RLC is an unacknowledged receive mode. In this reception mechanism, UM RLC does not necessarily require successful reception of every data packet. Therefore, the receiver maintains a sliding window based on an upper bound. In this reception mechanism, the UM RLC receive window slides forward as soon as a data packet at the upper bound is successfully received. In related technologies, the receive window length is protocol-specified and is essentially related to the length of the RLC layer sequence number (SN). For example, if the UM RLC SN is 12 bits, then the AM RLC window length is UM_Window_Size = 2048, allowing the reception of 2048 data packets.
[0040] To maintain the sliding receive window, the UM RLC maintains the following receive state variables:
[0041] a.RX_Next_Reassembly: reassembly state variable, used to record the minimum number of packets still waiting for reassembly;
[0042] b.RX_Next_Highest: upper boundary state variable, corresponding to the upper boundary of the receive window, used to record the sum of the maximum number of data packets received by the receiver and 1;
[0043] c.RX_Timer_Trigger: Timer status variable, used to record the sum of the packet number that triggers the timer to start and 1.
[0044] The data receiving method, apparatus, terminal, and network-side equipment provided in the embodiments of the present application are described in detail below with reference to some embodiments and their application scenarios in conjunction with the accompanying drawings.
[0045] Figure 2 shows a flow chart of a data receiving method in an embodiment of the present application. The method 200 can be executed by a receiving end, which can be a terminal or a network-side device. As shown in Figure 2, the method 200 can include the following steps.
[0046] Step 210: The receiving end obtains information about the discarded target Radio Link Control (RLC) layer data.
[0047] Step 220: The receiving end updates the data receiving status of the RLC layer based on the information of the discarded target RLC layer data.
[0048] In an embodiment of the present application, the receiving end determines whether data has been discarded by obtaining information about the target RLC layer data that has been discarded during data transmission. The receiving end then updates the data reception status of the RLC layer based on the information about the discarded target RLC layer data, so that the receiving end does not wait for the discarded target RLC layer data, thereby avoiding unnecessary reassembly delays, improving the data reception efficiency of the receiving end, and solving the problem of low data reception efficiency at the data receiving end due to the data sending end discarding data packets.
[0049] In an optional implementation, the manner in which the receiving end obtains the information of the discarded target radio link control RLC layer data may include at least one of the following:
[0050] (1) Receive first indication information sent by a transmitting end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.
[0051] For example, the RLC layer of the data sending end sends indication information to the RLC layer of the data receiving end, which indicates that the RLC layer data packet numbered 2 has been discarded by the data sending end, and the RLC layer of the data receiving end learns that the data packet numbered 2 has been discarded.
[0052] (2) Obtaining second indication information provided by a medium access control (MAC) layer of the receiving end, wherein the second indication information is used to indicate that the target RLC layer data is discarded.
[0053] Optionally, the second indication information may be indication information provided by the MAC layer of the data receiving end to the RLC layer of the data receiving end, and the indication information indicates that specific data is discarded, for example, indicating that an RLC protocol data unit (PDU) data packet is discarded.
[0054] Exemplarily, the MAC entity at the data transmitter notifies the MAC entity at the data receiver that the MAC PDU carrying RLC data packet #2 has been discarded. The MAC layer at the data receiver provides indication information to the RLC layer at the data receiver indicating that the RLC layer data packet numbered 2 has been discarded. The RLC layer at the data receiver then learns that the RLC layer data packet numbered 2 has been discarded. In an optional implementation, the target RLC layer data includes at least one of the following:
[0055] (1) RLC Protocol Data Unit (PDU); that is, the discarded RLC data may be one or more RLC PDUs.
[0056] (2) RLC Service Data Unit (SDU); that is, the discarded RLC data may be one or more RLC SDUs.
[0057] (3) RLC data packet fragments: That is, the discarded RLC data may be fragments of one or more RLC data packets.
[0058] Among them, the loss situation of the target RLC layer data indicated by the first indication information sent by the above-mentioned data sending end includes the loss situation of at least one of RLC PDU, RLC SDU and RLC data packet fragment; the loss situation of the target RLC layer data indicated by the second indication information provided by the MAC layer of the above-mentioned data receiving end includes the loss situation of at least one of RLC PDU, RLC SDU and RLC data packet fragment.
[0059] In an optional implementation, when the target RLC layer data is a fragment of a first data packet, the data receiving end discards other fragments of the first data packet that have been received.
[0060] Among them, when the discarded RLC data obtained by the data receiving end is a fragment of the first data packet, the data receiving end can determine that it will not be able to receive the complete first data packet. Therefore, other fragments of the first data that the data receiving end has received are also discarded to avoid unnecessary data processing.
[0061] In an optional implementation, the above-mentioned step 220 in which the receiving end updates the data reception status of the RLC layer based on the information of the discarded target RLC layer data may include: updating the state variable corresponding to the data reception window based on the information of the discarded target RLC layer data.
[0062] In an embodiment of the present application, when the receiving end obtains information about the discarded target RLC layer data, the state variable corresponding to the data receiving window is updated according to the information about the discarded target RLC layer data, thereby updating the data receiving state of the RLC layer. The receiving end no longer waits for the discarded target RLC layer data, thereby avoiding unnecessary reassembly delays and improving the data receiving efficiency of the receiving end.
[0063] It should be noted that, as mentioned in the present application, updating the state variable corresponding to the data receiving window can be understood as the receiving end skipping the reception of the target RLC layer data determined to have been discarded, or the receiving end treating the target RLC layer data determined to have been discarded as having been received and processing it. Alternatively, the receiving end triggers a preset delay or timer based on the determination of the target RLC layer data being discarded, and after the preset delay or timer expires (expires), the receiving end skips the reception of the target RLC layer data determined to have been discarded, or the receiving end treats the target RLC layer data determined to have been discarded as having been received and processing it. Of course, updating the state variable corresponding to the data receiving window can also be understood as reconfiguring or updating relevant parameters corresponding to the receiving window.
[0064] In an optional implementation, when the receiving end is an Acknowledged Mode (AM) RLC entity, updating the state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data may include at least one of the following:
[0065] (1) When the packet number of the discarded target RLC layer data is greater than or equal to the highest-numbered state variable (also referred to as the highest-numbered packet state variable) of the data receiving window (also referred to as the RLC window), the highest-numbered state variable is updated 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 RLC layer data and 1, that is, the first state variable value is the maximum packet number of the discarded target RLC layer data + 1.
[0066] For example, if the packet number of the discarded target RLC layer data is 0, and the highest numbered state variable RX_Next_Highest at this time is 0, the packet number 0 of the discarded target RLC layer data is equal to the highest numbered state variable RX_Next_Highest received in the data receiving window is 0, then RX_Next_Highest is updated to RX_Next_Highest = 1.
[0067] For another example, if the data packets of the discarded target RLC layer data are numbered 2 / 3 / 4 / 5, and the highest numbered state variable RX_Next_Highest at this time is 2, and the data packet numbers 2 / 3 / 4 / 5 of the discarded target RLC layer data are all greater than or equal to the highest numbered state variable RX_Next_Highest=2 received in the data receiving window, then RX_Next_Highest is updated to RX_Next_Highest=6.
[0068] Correspondingly, if the packet number of the discarded target RLC layer data is 2 / 3, and the highest numbered state variable RX_Next_Highest at this time is 4, and the packet number 2 / 3 of the discarded target RLC layer data is less than the highest numbered state variable RX_Next_Highest received in the data receiving window is 4, then RX_Next_Highest will not be updated.
[0069] (2) When the number of the discarded target RLC layer data packet is greater than or equal to the lower boundary state variable of the data receiving window, the lower boundary state variable is updated to a second state variable value, wherein the second state variable value is the number of the first non-discarded RLC layer data packet after the discarded target RLC layer data packet, or the second state variable value is the number of the first RLC data packet waiting to be received after the discarded target RLC layer data packet. For example, if the number of the discarded target RLC layer data packet is 0, and the lower boundary state variable RX_NEXT=0 at this time, and the number of the discarded target RLC layer data packet 0 is equal to the lower boundary state variable RX_NEXT=0 of the data receiving window, then RX_NEXT is updated to RX_NEXT=1.
[0070] It should be noted that the first RLC data packet waiting to be received may be the data packet with the smallest number among the data packets that the receiving end is waiting to receive completely.
[0071] For example, if the packet number of the discarded target RLC layer data is 0, and the lower boundary state variable RX_NEXT=0 at this time, the received data packets include packet fragments with RLC SN=1, complete data packets with RLC SN=2, and RLC SN=3 data packets that have not been received. Since the packet number 0 of the discarded target RLC layer data is equal to the lower boundary state variable RX_NEXT=0 of the data receiving window, RX_NEXT needs to be updated to RX_NEXT=1 at this time, corresponding to the data packet with RLC SN=1, which has not been completely received.
[0072] For the AM RLC entity, the receiving window can be moved forward by updating the lower boundary state variable, avoiding unnecessary delay caused by waiting for the data packet corresponding to the window lower boundary state variable that has been discarded.
[0073] For another example, if the packet number of the discarded target RLC layer data is 2 / 3 / 4 / 5, and the lower boundary state variable RX_NEXT=2 at this time, the packet number of the discarded target RLC layer data 2 / 3 / 4 / 5 is greater than or equal to the lower boundary state variable RX_NEXT=2, then RX_NEXT is updated to RX_NEXT=6.
[0074] (3) When the number of the discarded data packet of the target RLC layer data is greater than or equal to the highest state transmission state variable of the data receiving window, the highest state transmission state variable is updated to a third state variable value, wherein the third state variable value is the number of the first non-discarded RLC layer data packet after the discarded data packet of the target RLC layer data, or the third state variable value is the number of the first RLC data packet waiting to be received after the discarded data packet of the target RLC layer data.
[0075] It should be noted that the first RLC data packet waiting to be received may be the data packet with the smallest number among the data packets that the receiving end is waiting to receive completely.
[0076] For example, if the packet number of the discarded target RLC layer data is 2 / 3, and the highest state transmission status variable RX_Highest_Status=1 at this time, the packet number 2 / 3 of the discarded target RLC layer data is greater than the highest state transmission status variable RX_Highest_Status=1, then RX_Highest_Status is updated to 3+1=4.
[0077] In another optional implementation, when the receiving end is a confirmed AM RLC entity, updating the state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data may include:
[0078] When the reassembly timer is running, if a first condition is met, the reassembly timer is stopped, where the first condition may include one of the following:
[0079] (1) The state variable value corresponding to the timer variable is equal to the lower boundary state variable value of the data receiving window;
[0080] (2) the timer state variable is outside the data receiving window and the state variable value of the highest-numbered state variable is not equal to the upper boundary value of the window;
[0081] (3) The state variable value of the timer state variable is equal to the sum of the lower boundary state variable of the data receiving window and 1, and only the last fragment of the data packet corresponding to the lower boundary state variable has not been received.
[0082] In the above conditions, since there is no reception gap at the receiving end, and the reassembly timer is used to detect the reception gap to wait for data packets to arrive in sequence, the receiving end needs to stop the reassembly timer in the above conditions.
[0083] In the embodiment of the present application, the receiving end is to confirm the AM RLC entity. When the reassembly timer is running and one of the above conditions (1)(2)(3) is met, the state variable corresponding to the data receiving window has been updated. In order to avoid unnecessary waiting, the reassembly timer is stopped and the discarded target RLC data is no longer waited.
[0084] In another optional implementation, when the receiving end is an AM RLC entity, updating the state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data may include: when the reassembly timer is not running, if a second condition is met, starting the reassembly timer and updating the timer state variable to a fourth state variable value, wherein the second condition includes one of the following:
[0085] (1) The value of the highest-numbered state variable is greater than the sum of the lower boundary state variable value of the data receiving window and 1;
[0086] (2) The value of the highest-numbered state variable is equal to the sum of the value of the lower boundary state variable of the data receiving window and 1, and the data packet corresponding to the lower boundary state variable has at least one data packet fragment that has not been received;
[0087] The fourth state variable value is equal to the state variable value corresponding to the highest-numbered state variable.
[0088] In the above conditions, since a reception gap occurs at the receiving end, and the reassembly timer is used to detect the reception gap to wait for data packets to arrive in sequence, the receiving end needs to start the reassembly timer in the above conditions.
[0089] In the embodiment of the present application, the receiving end is a confirmed AM RLC entity. When the reassembly timer is not running and one of the conditions (1) and (2) above is met, the target RLC layer data is discarded, then the reassembly timer is started and the timer state variable is updated to the highest numbered state variable to update the state variable corresponding to the data receiving window.
[0090] For example, if the highest numbered state variable RX_Next_Highest is greater than or equal to the lower boundary state variable RX_NEXT+1 of the data receiving window, the reassembly timer is restarted and the timer state variable RX_Next_Status_Trigger is updated to a fourth state variable value, which is equal to the RX_Next_Highest value.
[0091] In an optional implementation, when the receiving end is an unacknowledged mode (UM) RLC layer, updating the state variable corresponding to the data receiving window based on the discarded target RLC layer data may include at least one of the following:
[0092] (1) When the packet number of the discarded target RLC layer data is greater than or equal to the state variable of the packet to be reassembled, the state variable of the packet to be reassembled is updated to a fifth state variable value, wherein the value of the fifth state variable is the number of the first non-discarded RLC layer packet after the discarded packet of the target RLC layer data, or the value of the fifth state variable is the number of the first RLC layer packet after the discarded packet of the target RLC layer data that is still waiting for reassembly.
[0093] For example, if the packet number of the discarded target RLC layer data is 0, and the state variable of the packet to be reassembled RX_Next_Reassembly=0 at this time, the packet number 0 of the discarded target RLC layer data is equal to the state variable of the packet to be reassembled RX_Next_Reassembly=0, then RX_Next_Reassembly is updated to RX_Next_Reassembly=1.
[0094] For another example, if the packet number of the discarded target RLC layer data is 2 / 3 / 4 / 5, and the state variable of the packet to be reassembled RX_Next_Reassembly = 2 at this time, the packet number of the discarded target RLC layer data 2 / 3 / 4 / 5 is greater than or equal to the state variable of the packet to be reassembled RX_Next_Reassembly = 2, then RX_Next_Reassembly is updated to RX_Next_Reassembly = 6.
[0095] Through the above implementation, when the packet number of the discarded target RLC layer data is greater than or equal to the state variable of the packet to be reassembled, the state variable of the packet to be reassembled is updated to the fifth state variable value, thereby avoiding unnecessary reassembly delay caused by the RLC SN interval due to packet discard.
[0096] (2) When the packet number of the discarded target RLC layer data is greater than or equal to the upper boundary state variable of the data receiving window, the upper boundary state variable is updated to a sixth state variable value, wherein the sixth state variable value is the number of the first RLC data packet waiting to be received after the discarded packet of the target RLC layer data (which can be understood as the smallest number among the data packets that have not been discarded).
[0097] It should be noted that the first RLC data packet waiting to be received may be the data packet with the smallest number among the data packets that the receiving end is waiting to receive completely.
[0098] For example, if the number of discarded data packets is 2 / 3 / 4 / 5, the value of the sixth state variable is 6. For another example, if the number of discarded data packets is 2 / 4 / 5, the value of the sixth state variable is 3. With this implementation, when the number of discarded data packets is greater than or equal to the upper boundary state variable RX_Next_Highest of the data receiving window, the RX_Next_Highest can be updated to the value of the second state variable, thereby moving the data receiving window forward and avoiding unnecessary waiting caused by the RLC SN interval due to packet discards.
[0099] In another optional implementation, when the receiving end is a non-confirmed UM RLC layer, updating the state variable corresponding to the data receiving window based on the discarded target RLC layer data may include: when the state variable of the data packet to be reassembled falls outside the data receiving window, updating the state variable of the data packet to be reassembled to a seventh state variable value, wherein the seventh state variable value is the smallest number corresponding to the data packets waiting for reassembly in the data receiving window.
[0100] The situation where the state variable RX_Next_Reassembly of the data packet to be reassembled falls outside the data receiving window may include that RX_Next_Reassembly is less than RX_Next_Highest-UM_Window.
[0101] In another optional implementation, when the receiving end is an unacknowledged UM RLC layer, updating the state variable corresponding to the data receiving window based on the discarded target RLC layer data may include: when the reassembly timer is running, if a third condition is met, stopping the reassembly timer, where the third condition includes one of the following:
[0102] (1) The timer state variable is less than or equal to the state variable of the packet to be reassembled;
[0103] (2) the timer state variable falls outside the data receiving window and the state variable value of the timer state variable is not equal to the upper boundary state variable value of the data receiving window;
[0104] (3) The upper boundary state variable value of the data receiving window is equal to the sum of the state variable value of the data packet to be reassembled and 1, and only the last fragment of the data packet corresponding to the data packet to be reassembled state variable has not been received.
[0105] In the embodiment of the present application, the receiving end is a non-confirmed UM RLC layer. When the reassembly timer is running and one of the above conditions (1), (2), and (3) is met, the state variable corresponding to the data receiving window has been updated. In order to avoid unnecessary waiting, the reassembly timer is stopped and the discarded target RLC data is no longer waited.
[0106] In another optional implementation, when the receiving end is an unacknowledged UM RLC layer, updating the state variable corresponding to the data receiving window based on the discarded target RLC layer data may include: when the reassembly timer is not running, if a fourth condition is met, restarting the reassembly timer and updating the timer state variable to an eighth state variable value, wherein the fourth condition may include one of the following:
[0107] (1) The state variable value of the upper boundary state variable of the data receiving window is greater than the sum of the state variable value of the state variable to be reorganized and 1;
[0108] (2) The state variable value of the upper boundary state variable of the data receiving window is equal to the sum of the state variable value of the state variable to be reassembled and 1, and at least one fragment of the data packet corresponding to the state variable of the data packet to be reassembled has not been received;
[0109] The eighth state variable value is equal to the state variable value of the upper boundary state variable.
[0110] In the embodiment of the present application, the receiving end is a non-confirmed UM RLC layer. When the reassembly timer is not running and one of the conditions (1) and (2) above is met, the target RLC layer data is discarded, then the reassembly timer is started and the timer state variable is updated to the highest numbered state variable to update the state variable corresponding to the data receiving window.
[0111] In an embodiment of the present application, the receiving end obtains information about the target RLC layer data discarded during data transmission by receiving the first indication information sent by the sending end or the second indication information provided by the MAC layer of the receiving end, and determines whether data discard occurs. Then, the receiving end updates the data receiving window of the RLC layer based on the discarded target RLC layer data, such as updating the data receiving status of the RLC layer, or discards other fragments of the first data packet when the discarded RLC layer data is a fragment of the first data packet. At this time, the receiving end does not wait for the discarded target RLC data, thereby avoiding unnecessary reassembly delay at the receiving end, improving the data receiving efficiency of the receiving end, and solving the problem of low data receiving efficiency at the data receiving end due to the discarding of data packets by the data sending end.
[0112] Figure 3 shows a flow chart of a data receiving method in an embodiment of the present application. The method 300 can be executed by the data sending end, which can be a terminal or a network side device. As shown in Figure 3, the method 300 can include the following steps.
[0113] Step 310: The transmitting end discards the target RLC layer data.
[0114] Step 320: The transmitting end provides first indication information to the receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.
[0115] In an embodiment of the present application, after discarding the target RLC layer data, the data transmitting end may provide first indication information to the receiving end, thereby indicating, through the first indication information, that the target RLC layer data packet has been discarded. The receiving end may then obtain information about the target RLC layer data discarded during data transmission through the first indication information, and then update the RLC layer data reception status based on the information about the discarded target RLC layer data, thereby avoiding unnecessary reassembly delays at the receiving end and improving data reception efficiency at the receiving end.
[0116] In an optional implementation, the target RLC layer data includes at least one of the following:
[0117] (1) RLC protocol data unit;
[0118] (2) RLC service data unit;
[0119] (3) RLC data packet fragment.
[0120] The discarding condition of the target RLC layer data indicated by the first indication information sent by the data transmitting end includes the discarding condition of at least one of the RLC PDU, RLC SDU and RLC data packet fragment.
[0121] FIG4 shows another flow chart of the data transmission method in an embodiment of the present application in an optional implementation manner. As shown in FIG4 , the method 400 may include the following steps.
[0122] Step 410: The transmitting end discards the target RLC layer data. This step is the same as the above step 310. For details, please refer to the description of the above method 300.
[0123] In step 420, the AM RLC entity at the transmitting end updates the lower boundary state variable of the data sending window to a ninth state variable value, wherein the ninth state variable value is the number of the first non-discarded RLC layer data packet after the discarded target RLC layer data or the number of the first data packet after the discarded target RLC layer data that is waiting for feedback of successful transmission from the receiving end.
[0124] It should be noted that the first RLC data packet waiting to be received may be the data packet with the smallest number among the data packets that the receiving end is waiting to receive completely.
[0125] For example, if the number of data packets discarded by the data transmitter is 2 / 3, and at this time the lower boundary state variable TX_Next_Ack of the data transmission window of the data transmitter is 2, then TX_Next_Ack is updated to TX_Next_Ack=4.
[0126] In step 430, the transmitting end provides first indication information to the receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded. This step is the same as step 320 above, and for details, please refer to the description of method 300 above.
[0127] In an embodiment of the present application, after the sending end discards the target RLC layer data, the sending end first updates the lower boundary state variable of the data sending window to the number of the first RLC layer data packet that has not been discarded, and then provides the first indication information to the receiving end to indicate that the target RLC layer data has been discarded. When the receiving end receives the first indication information, it determines that the target RLC layer data has been discarded, thereby updating the target RLC layer data reception status, avoiding unnecessary reassembly delays at the receiving end, and improving the data reception efficiency of the receiving end.
[0128] In an optional implementation, the first indication information includes at least one of the following:
[0129] (1) The number of the RLC layer data packet, such as the RLC sequence number (SN).
[0130] (2) The number range of RLC layer data packets, such as the RLC SN range.
[0131] (3) RLC layer segment information, such as at least one of the starting position and the ending position of the RLC layer segment in the RLC data packet.
[0132] (4) The number of RLC layer data packets is used to indicate the number of consecutive complete RLC layer data packets that have been discarded. For example, if the transmitter indicates that the RLC layer data packet numbered 1 and the number of data packets numbered 1 is 3, then the receiver will know that data packets 1 / 2 / 3 have all been discarded.
[0133] Exemplarily, the first indication information may include the number of the RLC layer data packet. For example, if the RLC layer discards data packets numbered #1, #2, and #3, the first indication information may carry RLC SN=1, 2, and 3.
[0134] Exemplarily, the first indication information may include the number of the RLC layer data packet and the number of RLC data packets. For example, if the RLC layer discards data packets numbered #1, #2, and #3, the first indication information may carry RLC SN=1 and number number=3, so that the receiving end can know that the RLC data packets numbered #1, #2, and #3 are discarded.
[0135] Exemplarily, the first indication information may include a number range of RLC layer data packets. For example, if the RLC layer discards data packets numbered #1, #2, and #3, the first indication information may carry the RLC number range #1 to 3.
[0136] In an optional implementation, the sending end providing the first indication information to the receiving end in step 320 may include one of the following:
[0137] (1) The transmitting end sends the first indication information via an RLC control protocol data unit (control PDU);
[0138] For example, the data transmitting end sends indication information that the target RLC data is discarded to the receiving end by setting the control protocol data unit type (CPT) field, so as to inform the data receiving end that the RLC control PDU target RLC data is discarded.
[0139] (2) The transmitting end sends the first indication information through an RLC data protocol data unit.
[0140] The RLC PDU data in the first indication information sent by the data transmitting end through the RLC data protocol data unit may be a data packet that does not contain a data payload.
[0141] In an optional implementation, when the sending end delivers a data packet to the bottom layer, the data packet carrying the first indication information has the highest priority.
[0142] Among them, the sending end gives priority to transmitting the data packet carrying the above-mentioned first indication information when submitting the data packet to the bottom layer, so that the data receiving end gives priority to receiving and processing the information of the discarded target RLC layer data, further improving the data receiving efficiency of the data receiving end.
[0143] In an optional implementation, when the transmitting end delivers a data packet to the bottom layer, the data packet carrying the discarded target RLC layer data has the lowest priority.
[0144] When delivering data packets to the bottom layer, the transmitting end gives the lowest priority to the data packets carrying the discarded target RLC layer data, so that the data packets that are not discarded are delivered first, thereby improving data transmission efficiency.
[0145] Optionally, when the transmitting end delivers a data packet to the bottom layer, it may not transmit a retransmission data packet carrying the discarded target RLC layer data packet / fragment.
[0146] In one implementation, before the sending end provides the first indication information to the receiving end, the sending end obtains any one of the following information:
[0147] (1) first switch indication information, where the first switch indication information is used to enable or disable a function of the RLC entity at the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0148] (2) second switch indication information, where the second switch indication information is used to enable or disable a function of the AM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0149] (3) third switch indication information, the third switch indication information being used to enable or disable a function of the UM RLC entity of the transmitting end sending the first indication information to the receiving end when discarding RLC data;
[0150] (4) first configuration information, wherein the first configuration information configures the AM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0151] (5) Second configuration information, where the second configuration information configures the AM RLC entity and the UM RLC entity of the transmitting end to send the first indication information to the receiving end when RLC data is discarded.
[0152] The first configuration information and the second configuration information may be agreed upon by a protocol or configured by a network.
[0153] In an embodiment of the present application, before providing the first indication information to the receiving end, the sending end obtains any one of the above information (1)(2)(3)(4)(5) to indicate whether the sending end enables the function of sending indication information to the receiving end in various situations, and whether the sending end sends indication information to the receiving end.
[0154] 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 data receiving device executing the data receiving method as an example.
[0155] FIG5 shows a schematic structural diagram of a data receiving device in an embodiment of the present application. The device 500 is applied to a receiving end. As shown in FIG5 , the device 500 includes: an acquisition module 51 and an update module 52 .
[0156] The acquisition module 51 is used to acquire information of discarded target radio link control RLC layer data; the update module 52 is used to update the data reception status of the RLC layer based on the information of the discarded target RLC layer data.
[0157] In one implementation, the acquisition module 51 may be used for at least one of the following:
[0158] (1) receiving first indication information sent by a transmitting end, wherein the first indication information is used to indicate that the target RLC layer data is discarded;
[0159] (2) Obtaining second indication information provided by the MAC layer of the receiving end, wherein the second indication information is used to indicate that the target RLC layer data is discarded.
[0160] In one implementation, the target RLC layer data includes at least one of the following:
[0161] (1) RLC protocol data unit;
[0162] (2) RLC service data unit;
[0163] (3) RLC data packet fragment.
[0164] In one implementation, the data receiving device 500 further includes a discarding module, configured to cause the data receiving end to discard other received fragments of the first data packet when the target RLC layer data is a fragment of the first data packet.
[0165] In one implementation, the updating module 52 may be configured to update a state variable corresponding to a data receiving window based on information about the discarded target RLC layer data.
[0166] In one implementation, when the receiving end is a confirmed AM RLC entity, the updating module 52 may be used for at least one of the following:
[0167] (1) when the packet number of the discarded target RLC layer data is greater than or equal to the highest-numbered state variable of the data receiving window, updating the highest-numbered 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 RLC layer data and 1;
[0168] (2) when the number of the discarded data packet of the target RLC layer data is greater than or equal to the lower boundary state variable of the data receiving window, updating the lower boundary state variable to a second state variable value, wherein the second state variable value is the number of the first non-discarded RLC layer data packet after the discarded data packet of the target RLC layer data, or the second state variable value is the number of the first RLC data packet waiting to be received after the discarded data packet of the target RLC layer data;
[0169] (3) When the number of the discarded data packet of the target RLC layer data is greater than or equal to the highest state transmission state variable of the data receiving window, the highest state transmission state variable is updated to a third state variable value, wherein the third state variable value is the number of the first non-discarded RLC layer data packet after the discarded data packet of the target RLC layer data, or the third state variable value is the number of the first RLC data packet waiting to be received after the discarded data packet of the target RLC layer data.
[0170] In another implementation, when the receiving end is a confirmed AM RLC entity, the updating module 52 may be configured to: when the reassembly timer is running, stop the reassembly timer if a first condition is satisfied, wherein the first condition includes one of the following:
[0171] (1) The state variable value corresponding to the timer state variable is equal to the lower boundary state variable value of the data receiving window;
[0172] (2) the timer state variable is outside the data receiving window and the state variable value of the highest-numbered state variable is not equal to the upper boundary value of the window;
[0173] (3) The state variable value of the timer state variable is equal to the sum of the lower boundary state variable of the data receiving window and 1, and only the last fragment of the data packet corresponding to the lower boundary state variable has not been received.
[0174] In another implementation, when the receiving end is a confirmed AM RLC entity, the updating module 52 may be configured to: when the reassembly timer is not running, start the reassembly timer and update the timer state variable to a fourth state variable value if a second condition is met, wherein the second condition includes one of the following:
[0175] (1) The value of the highest-numbered state variable is greater than the sum of the lower boundary state variable value of the data receiving window and 1;
[0176] (2) The value of the highest-numbered state variable is equal to the sum of the value of the lower boundary state variable of the data receiving window and 1, and the data packet corresponding to the lower boundary state variable has at least one data packet fragment that has not been received;
[0177] The fourth state variable value is equal to the state variable value corresponding to the highest-numbered state variable.
[0178] In one implementation, when the receiving end is a non-acknowledged UM RLC layer, the updating module 52 may be used for at least one of the following:
[0179] (1) when the number of the discarded target RLC layer data packet is greater than or equal to the state variable of the packet to be reassembled, updating the state variable of the packet to be reassembled to a fifth state variable value, wherein the value of the fifth state variable is the number of the first RLC layer data packet that is not discarded after the discarded target RLC layer data packet, or the value of the fifth state variable is the number of the first RLC layer data packet that is still waiting for reassembly after the discarded target RLC layer data packet;
[0180] (2) When the number of the discarded data packet of the target RLC layer data is greater than or equal to the upper boundary state variable of the data receiving window, the upper boundary state variable is updated to a sixth state variable value, wherein the sixth state variable value is the number of the first RLC data packet that is not waiting to be received after the discarded data packet of the target RLC layer data.
[0181] In one implementation, when the receiving end is a non-acknowledged UM RLC layer, the updating module 52 may be configured to update the state variable of the data packet to be reassembled to a seventh state variable value when the state variable of the data packet to be reassembled falls outside the data receiving window, wherein the seventh state variable value is the smallest number corresponding to the data packets to be reassembled within the data receiving window.
[0182] In another implementation, when the receiving end is an unacknowledged UM RLC layer, the updating module 52 may be configured to: when the reassembly timer is running, stop the reassembly timer if a third condition is satisfied, wherein the third condition includes one of the following:
[0183] (1) The timer state variable is less than or equal to the state variable of the packet to be reassembled;
[0184] (2) the timer state variable falls outside the data receiving window and the state variable value of the timer state variable is not equal to the upper boundary state variable value of the data receiving window;
[0185] (3) The upper boundary state variable value of the data receiving window is equal to the sum of the state variable value of the data packet to be reassembled and 1, and only the last fragment of the data packet corresponding to the data packet to be reassembled state variable has not been received.
[0186] In another implementation, when the receiving end is an unacknowledged UM RLC layer, the updating module 52 may be configured to: when the reassembly timer is not running, restart the reassembly timer and update the timer state variable to an eighth state variable value if a fourth condition is met, wherein the fourth condition includes one of the following:
[0187] (1) The state variable value of the upper boundary state variable of the data receiving window is greater than the sum of the state variable value of the state variable to be reorganized and 1;
[0188] (2) The state variable value of the upper boundary state variable of the data receiving window is equal to the sum of the state variable value of the state variable to be reassembled and 1, and at least one fragment of the data packet corresponding to the state variable of the data packet to be reassembled has not been received;
[0189] The eighth state variable value is equal to the state variable value of the upper boundary state variable.
[0190] The data receiving device provided in the embodiment of the present application can implement each process implemented in the data receiving method embodiment of Figure 2 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0191] 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 data transmission method performed by a data transmission device is taken as an example to illustrate the data transmission device provided in the embodiment of the present application.
[0192] FIG6 shows a schematic structural diagram of a data transmission device in an embodiment of the present application. The device 600 is applied to a transmitting end. As shown in FIG6 , the device 600 includes: a processing module 61 and a providing module 62 .
[0193] The processing module 61 is used to discard the target RLC layer data; the providing module 62 is used to provide first indication information to the receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.
[0194] In one implementation, the target RLC layer data packet includes at least one of the following:
[0195] (1) RLC protocol data unit;
[0196] (2) RLC service data unit;
[0197] (3) RLC data packet fragment.
[0198] In one implementation, the above-mentioned data transmission device 600 also includes a second update module, which is used to update the lower boundary state variable of the data sending window to a ninth state variable value, wherein the ninth state variable value is the number of the first RLC layer data packet that is not discarded or the number of the first data packet waiting for feedback from the receiving end for successful transmission.
[0199] In one implementation, the first indication information includes at least one of the following:
[0200] (1) Number of RLC layer data packets;
[0201] (2) The number range of RLC layer data packets;
[0202] (3) RLC layer segment information;
[0203] (4) The number of RLC layer data packets is used to indicate the number of consecutive complete RLC layer data packets that are discarded.
[0204] In one implementation, the providing module 62 may be used for one of the following:
[0205] (1) sending the first indication information through an RLC control protocol data unit;
[0206] (2) Sending the first indication information via an RLC data protocol data unit.
[0207] In one implementation, when the sending end delivers a data packet to the bottom layer, the data packet carrying the first indication information has the highest priority.
[0208] In one implementation, when the transmitting end delivers a data packet to the bottom layer, the data packet carrying the discarded target RLC layer data has the lowest priority.
[0209] In one implementation, the data transmission device 600 further includes an acquisition module configured to acquire any one of the following information:
[0210] (1) first switch indication information, where the first switch indication information is used to enable or disable a function of the RLC entity at the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0211] (2) second switch indication information, where the second switch indication information is used to enable or disable a function of the AM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0212] (3) third switch indication information, the third switch indication information being used to enable or disable a function of the UM RLC entity of the transmitting end sending the first indication information to the receiving end when discarding RLC data;
[0213] (4) first configuration information, wherein the first configuration information configures the AM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding RLC data;
[0214] (5) Second configuration information, where the second configuration information configures the AM RLC entity and the UM RLC entity of the transmitting end to send the first indication information to the receiving end when RLC data is discarded.
[0215] The first configuration information and the second configuration information may be agreed upon by a protocol or configured by a network.
[0216] The data transmission device provided in the embodiment of the present application can implement the various processes implemented in the method embodiments of Figures 3 to 4 and achieve the same technical effects. To avoid repetition, they will not be described here.
[0217] The data receiving device and 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 a 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.
[0218] As shown in Figure 7, an embodiment of the present application further provides a communication device 700, including a processor 701 and a memory 702. The memory 702 stores a program or instruction that can be run on the processor 701. For example, when the communication device 700 is a terminal, the program or instruction, when executed by the processor 701, implements the various steps of the above-mentioned data receiving method embodiment or the various steps of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. When the communication device 700 is a network-side device, the program or instruction, when executed by the processor 701, implements the various steps of the above-mentioned data receiving method embodiment or 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.
[0219] The present application also provides a terminal including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps in the data receiving method embodiment shown in FIG2 , or to implement the steps in the data transmission method embodiment shown in FIG3 to FIG4 . This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, FIG8 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of the present application.
[0220] The terminal 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809 and at least some of the components of the processor 810.
[0221] Those skilled in the art will appreciate that the terminal 800 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 810 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG8 does not limit the terminal. The terminal may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0222] It should be understood that in an embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0223] In the embodiment of the present application, after receiving downlink data from a network-side device, the radio frequency unit 801 may transmit the data to the processor 810 for processing. Furthermore, the radio frequency unit 801 may send uplink data to the network-side device. Typically, the radio frequency unit 801 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.
[0224] The memory 809 can be used to store software programs or instructions and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0225] Processor 810 may include one or more processing units. Optionally, processor 810 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 810.
[0226] The processor 810 is configured to: obtain information about the discarded target radio link control (RLC) layer data; and update the data reception status of the RLC layer based on the information about the discarded target RLC layer data. Or,
[0227] The processor 810 is used to discard the target RLC layer data; the radio frequency unit 801 is used to provide first indication information to the receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.
[0228] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the data receiving method embodiment or the relevant description of the data transmission method embodiment, and achieve the same or corresponding technical effects. To avoid repetition, it will not be repeated here.
[0229] The present application also provides a network-side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the steps of the data receiving method embodiment shown in FIG2 , or to implement the steps of the data transmission method embodiment shown in FIG3 and FIG4 . This network-side device embodiment corresponds to the aforementioned network-side device method embodiment, and each implementation process and implementation method of the aforementioned method embodiment are applicable to this network-side device embodiment and can achieve the same technical effects.
[0230] Specifically, embodiments of the present application also provide a network-side device. As shown in Figure 9, the network-side device 900 includes an antenna 91, a radio frequency device 92, a baseband device 93, a processor 94, and a memory 95. Antenna 91 is connected to radio frequency device 92. In the uplink direction, radio frequency device 92 receives information via antenna 91 and sends the received information to baseband device 93 for processing. In the downlink direction, baseband device 93 processes the information to be transmitted and sends it to radio frequency device 92. Radio frequency device 92 processes the received information and then sends it through antenna 91.
[0231] The method executed by the network-side device in the above embodiment may be implemented in the baseband device 93 , which includes a baseband processor.
[0232] The baseband device 93 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 9, one of the chips is, for example, a baseband processor, which is connected to the memory 95 through a bus interface to call the program in the memory 95 and execute the network device operations shown in the above method embodiment.
[0233] The network side device may further include a network interface 96, which is, for example, a Common Public Radio Interface (CPRI).
[0234] Specifically, the network side device 900 of the embodiment of the present application also includes: instructions or programs stored in the memory 95 and can be run on the processor 94. The processor 94 calls the instructions or programs in the memory 95 to execute the methods executed by the modules shown in Figures 5 to 6 and achieve the same technical effects. To avoid repetition, they will not be repeated here.
[0235] An embodiment of the present application also provides a data transmission system, including a transmitting end and a receiving end, wherein the transmitting end is used to implement the various processes of the above-mentioned data transmission method embodiment; the receiving end is used to implement the various processes of the above-mentioned data receiving method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0236] 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.
[0237] 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.
[0238] 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 achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0239] 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.
[0240] 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).
[0241] 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.
[0242] 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.
[0243] 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.
[0244] 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 radio link control RLC layer data; The receiving end updates the data receiving state of the RLC layer based on the information of the discarded target RLC layer data.
2. The method according to claim 1, wherein: The receiving end obtains the information of the discarded target radio link control RLC layer data in a manner including at least one of the following: Receiving first indication information sent by a transmitting end, wherein the first indication information is used to indicate that the target RLC layer data is discarded; Acquire second indication information provided by the MAC layer of the receiving end, wherein the second indication information is used to indicate that the target RLC layer data is discarded.
3. The method according to claim 1, wherein: The target RLC layer data includes at least one of the following: RLC protocol data unit; RLC service data unit; RLC data packet fragment.
4. The method according to claim 3, wherein: The method comprises: In the case that the target RLC layer data is a fragment of the first data packet, the data receiving end discards other fragments of the first data packet that have been received.
5. The method according to claim 1 or 4, wherein: The receiving end updates the data receiving state of the RLC layer based on the information of the discarded target RLC layer data, including: Based on the information of the discarded target RLC layer data, a state variable corresponding to the data receiving window is updated.
6. The method according to claim 5, wherein: In the case where the receiving end is a confirmed AM RLC entity, updating the state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data includes at least one of the following: In a case where the packet number of the discarded target RLC layer data is greater than or equal to the highest numbered state variable of the data receiving window, updating the highest numbered 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 RLC layer data and 1; In the case where the number of the discarded data packet of the target RLC layer data is greater than or equal to the lower boundary state variable of the data receiving window, updating the lower boundary state variable to a second state variable value, wherein the second state variable value is the number of the first non-discarded RLC layer data packet after the discarded data packet of the target RLC layer data, or the second state variable value is the number of the first RLC data packet waiting to be received after the discarded data packet of the target RLC layer data; When the number of the discarded data packet of the target RLC layer data is greater than or equal to the highest state transmission state variable of the data receiving window, the highest state transmission state variable is updated to a third state variable value, wherein the third state variable value is the number of the first non-discarded RLC layer data packet after the discarded data packet of the target RLC layer data, or the third state variable value is the number of the first RLC data packet waiting to be received after the discarded data packet of the target RLC layer data.
7. The method according to claim 1 or 6, wherein: In a case where the receiving end is an AM RLC entity, updating a state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data includes: When the reassembly timer is running, if a first condition is met, the reassembly timer is stopped, wherein the first condition includes one of the following: The state variable value corresponding to the timer state variable is equal to the lower boundary state variable value of the data receiving window; The timer state variable is located outside the data receiving window and the state variable value of the highest numbered state variable is not equal to the upper boundary value of the window; The state variable value of the timer state variable is equal to the sum of the lower boundary state variable of the data receiving window and 1, and only the last fragment of the data packet corresponding to the lower boundary state variable has not been received.
8. The method according to claim 1, 6 or 7, wherein: In a case where the receiving end is an AM RLC entity, updating a state variable corresponding to the data receiving window based on the information of the discarded target RLC layer data includes: When the reassembly timer is not running, if the second condition is met, the reassembly timer is started and the timer state variable is updated to a fourth state variable value, wherein the second condition includes one of the following: The value of the highest numbered state variable is greater than the sum of the lower boundary state variable value of the data receiving window and 1; The value of the highest numbered state variable is equal to the sum of the lower boundary state variable value of the data receiving window and 1, and the data packet corresponding to the lower boundary state variable has at least one data packet fragment that has not been received; The fourth state variable value is equal to the state variable value corresponding to the highest numbered state variable.
9. The method according to claim 5, wherein: In the case where the receiving end is a non-confirmed UM RLC layer, updating the state variable corresponding to the data receiving window based on the discarded target RLC layer data includes at least one of the following: In the case where the number of the packet of the discarded target RLC layer data is greater than or equal to the state variable of the packet to be reassembled, the state variable of the packet to be reassembled is updated to a fifth state variable value, wherein the value of the fifth state variable is the number of the first RLC layer data packet that is not discarded after the packet of the discarded target RLC layer data, or the value of the fifth state variable is the number of the first RLC layer data packet that is still waiting for reassembly after the packet of the discarded target RLC layer data; When the packet number of the discarded target RLC layer data is greater than or equal to the upper boundary state variable of the data receiving window, the upper boundary state variable is updated to a sixth state variable value, wherein the sixth state variable value is the number of the first RLC data packet waiting to be received after the discarded packet of the target RLC layer data.
10. The method according to claim 9, wherein: In a case where the receiving end is a non-confirmed UM RLC layer, updating a state variable corresponding to the data receiving window based on the discarded target RLC layer data includes: When the state variable of the data packet to be reassembled falls outside the data receiving window, the state variable of the data packet to be reassembled is updated to a seventh state variable value, wherein the seventh state variable value is the minimum number corresponding to the data packets waiting for reassembly in the data receiving window.
11. The method according to claim 5 or 10, wherein: In a case where the receiving end is a non-confirmed UM RLC layer, updating a state variable corresponding to the data receiving window based on the discarded target RLC layer data includes: When the reassembly timer is running, if a third condition is met, the reassembly timer is stopped, wherein the third condition includes one of the following: The timer state variable is less than or equal to the state variable of the packet to be reassembled; The timer state variable falls outside the data receiving window and the state variable value of the timer state variable is not equal to the upper boundary state variable value of the data receiving window; The upper boundary state variable value of the data receiving window is equal to the sum of the state variable value of the data packet state variable to be reassembled and 1, and only the last fragment of the data packet corresponding to the data packet state variable to be reassembled has not been received.
12. The method according to claim 5, 10 or 11, wherein: In a case where the receiving end is a non-confirmed UM RLC layer, updating a state variable corresponding to the data receiving window based on the discarded target RLC layer data includes: When the reassembly timer is not running, if the fourth condition is met, the reassembly timer is restarted and the timer state variable is updated to an eighth state variable value, wherein the fourth condition includes one of the following: The state variable value of the upper boundary state variable of the data receiving window is greater than the sum of the state variable value of the state variable to be reorganized and 1; The state variable value of the upper boundary state variable of the data receiving window is equal to the sum of the state variable value of the state variable to be reassembled and 1, and at least one fragment of the data packet corresponding to the state variable of the data packet to be reassembled has not been received; The eighth state variable value is equal to the state variable value of the upper boundary state variable.
13. A data transmission method, comprising: The sending end discards the target RLC 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 RLC layer data is discarded.
14. The method according to claim 13, wherein: The target RLC layer data includes at least one of the following: RLC protocol data unit; RLC service data unit; RLC data packet fragment.
15. The method according to claim 13, wherein: In the case where the transmitting end discards the target RLC layer data, the method further includes: The AM RLC entity at the transmitting end updates the lower boundary state variable of the data sending window to a ninth state variable value, wherein the ninth state variable value is the number of the first non-discarded RLC layer data packet after the discarded target RLC layer data packet or the number of the first data packet waiting for feedback of successful transmission from the receiving end after the discarded target RLC layer data packet.
16. The method according to any one of claims 12 to 15, wherein: The first indication information includes at least one of the following: The number of the RLC layer data packet; The number range of RLC layer data packets; RLC layer data packet fragment information; The number of RLC layer data packets is used to indicate the number of consecutive complete RLC layer data packets that are discarded.
17. The method according to any one of claims 12 to 15, 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 an RLC control protocol data unit; The transmitting end sends the first indication information via an RLC data protocol data unit.
18. The method according to any one of claims 12 to 15, wherein: When the sending end delivers a data packet to the bottom layer, the data packet carrying the first indication information has the highest priority.
19. The method according to any one of claims 12 to 15, wherein: When the transmitting end delivers a data packet to the bottom layer, the data packet carrying the discarded target RLC layer data has the lowest priority.
20. The method according to claim 12, wherein: Before the sending end provides the first indication information to the receiving end, the sending end obtains any one of the following information: first switch indication information, where the first switch indication information is used to enable or disable a function of the RLC entity of the transmitting end sending the first indication information to the receiving end when discarding RLC data; second switch indication information, where the second switch indication information is used to enable or disable a function of the AM RLC entity of the transmitting end sending the first indication information to the receiving end when discarding RLC data; third switch indication information, where the third switch indication information is used to enable or disable a function of the UM RLC entity of the transmitting end sending the first indication information to the receiving end when discarding RLC data; first configuration information, where the first configuration information configures the AM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding RLC data; second configuration information, where the second configuration information configures the AM RLC entity and the UM RLC entity of the transmitting end to send the first indication information to the receiving end when discarding the RLC data; The first configuration information and the second configuration information may be agreed upon by a protocol or configured by a network.
21. A data receiving device, comprising: An acquisition module, used for acquiring information of discarded target radio link control RLC layer data; An updating module is used to update the data receiving state of the RLC layer based on the information of the discarded target RLC layer data.
22. A data transmission device, comprising: A processing module, used for discarding target RLC layer data; A module is provided, used to provide first indication information to a receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.
23. 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, it implements the steps of the data receiving method as described in any one of claims 1 to 12, or implements the steps of the data transmission method as described in any one of claims 13 to 20.
24. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the data receiving method according to any one of claims 1 to 12, or implements the steps of the data transmission method according to any one of claims 13 to 20.
Citation Information
Patent Citations
Method for enhancing transmission reliability of RLC AM mode
CN104836646A
Data transmission method and device, electronic equipment and storage medium
CN114268991A
Method for holding packet data protocol convergence sublayer sequence number synchronization
CN1829187A
Method for link control layer consulting drop-out in radio communication system
CN1832389A
Discard procedure for service data unit in radio linkcontrol
KR1020020028095A
