Data receiving method, data transmission method, data receiving device, data transmission device and communication equipment

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.

CN118694486APending Publication Date: 2024-09-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310302396.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

During the data transmission process, data packet discarding causes unnecessary reassembly delay at the receiving end, reducing data reception efficiency.

Method used

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 reception efficiency.

Benefits of technology

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 data packet discarding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694486A
    Figure CN118694486A
Patent Text Reader

Abstract

The invention discloses a data receiving method, a data transmission method, a data transmission device and communication equipment. The data receiving method comprises the following steps: a receiving end acquires information of discarded target radio link control (RLC) layer data; and the receiving end updates the data receiving state of the RLC layer based on the information of the discarded target RLC layer data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data receiving method, a data transmission method, a device and a communication device. Background Art

[0002] In some circumstances, the data transmitter or receiver may trigger packet discarding due to congestion control and / or packet dependency. In the existing RLC receiving mechanism, the receiver of the RLC layer maintains a receiving window based on state variables to receive packets falling within the window. If the radio link control (RLC) layer of the transmitter discards packets, the RLC layer of the receiver will generate an RLC sequence number interval (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, the behavior of discarding data will occur frequently, causing frequent delays at the data receiving end, resulting in low data receiving efficiency at the data receiving end. Summary of the invention

[0003] 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.

[0004] In a first aspect, a data receiving method is provided, the method comprising: a 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.

[0005] In a second aspect, a data transmission method is provided, the method comprising: a transmitting end discards target RLC layer data; the transmitting end provides first indication information to a receiving end, wherein the first indication information is used to indicate that the target RLC layer data is discarded.

[0006] 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.

[0007] 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.

[0008] 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, 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.

[0009] 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 as described in the first aspect are implemented, or the steps of the data transmission method as described in the second aspect are implemented.

[0010] 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.

[0011] In an eighth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or 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.

[0012] In the ninth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product 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.

[0013] 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 reorganization 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

[0014] Figure 1 is a block diagram of a wireless communication system to which the embodiments of the present application can be applied;

[0015] Figure 2 It is a flow chart of a data receiving method in an embodiment of the present application;

[0016] Figure 3 It is a flow chart of a data transmission method in an embodiment of the present application;

[0017] Figure 4 is another flow chart of the data transmission method in the embodiment of the present application;

[0018] Figure 5 is a structural schematic diagram of a data receiving device in an embodiment of the present application;

[0019] Figure 6 is a structural schematic diagram of a data transmission device in an embodiment of the present application;

[0020] Figure 7 is a structural diagram of a communication device in an embodiment of the present application;

[0021] Figure 8 is a schematic diagram of the hardware structure of a terminal in an embodiment of the present application;

[0022] Fig. 9 It is a schematic diagram of the hardware structure of a network side device in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0024] The terms "first", "second", etc. of the present 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 one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The term "indication" in this application can be 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, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0026] 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 illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.

[0027] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and 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 referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B, a 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 terms. It should be noted that in the embodiments 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.

[0028] (1) Introduction to AM RLC Reception Mechanism

[0029] AM RLC is a confirmed reception mode RLC. In this reception mechanism, AM RLC needs to successfully receive each data packet, so the receiving end maintains a sliding window based on the lower boundary push. In this reception mechanism, the AM RLC reception window can slide forward only when the data packet at the lower boundary is successfully received. In the existing protocol, the length of the reception window is specified by the protocol, which is essentially related to the length of the sequence number SN of the RLC layer. For example, if AM RLC SN = 12bit, then the AM RLC window length is AM_Window_Size = 2048, which means that 2048 data packets can be received.

[0030] To maintain the sliding receive window, AM RLC maintains the following receive state variables:

[0031] 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 data packets waiting to be received in sequence;

[0032] b.RX_Next_Highest: The highest number state variable, used to record the sum of the maximum number of data packets received by the receiver and 1;

[0033] c.RX_Next_Status_Trigger: timer status variable, used to record the sum of the packet number that triggers the timer to start and 1;

[0034] 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;

[0035] (2) Introduction to UM RLC Reception Mechanism

[0036] UM RLC is a non-confirmed reception mode RLC. In this reception mechanism, UM RLC does not need to successfully receive every data packet, so the receiving end will maintain a sliding window based on the upper boundary. In this reception mechanism, as long as the data packet at the upper boundary is successfully received, the UM RLC reception window will slide forward. In the existing protocol, the length of the reception window is specified by the protocol and is essentially related to the length of the sequence number SN of the RLC layer. For example, if the UM RLC SN = 12bit, then the AM RLC window length is UM_Window_Size = 2048, which means that 2048 data packets can be received.

[0037] To maintain the sliding receive window, the UM RLC maintains the following receive state variables:

[0038] a.RX_Next_Reassembly: reassembly state variable, used to record the minimum number of packets still waiting for reassembly;

[0039] b.RX_Next_Highest: upper boundary state variable, corresponding to the upper boundary of the receiving window, used to record the sum of the maximum number of data packets received by the receiving end and 1;

[0040] c.RX_Timer_Trigger: Timer state variable, used to record the sum of the packet number that triggers the timer to start and 1.

[0041] 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 the accompanying drawings through some embodiments and their application scenarios.

[0042] Figure 2 A flow chart of a data receiving method in an embodiment of the present application is shown. The method 200 can be executed by a receiving end, which can be a terminal or a network side device, such as Figure 2 As shown, the method 200 may include the following steps.

[0043] Step 210, the receiving end obtains information of the discarded target Radio Link Control (RLC) layer data;

[0044] 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.

[0045] 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 receiving 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 receiving efficiency of the receiving end, and solving the problem of low data receiving efficiency at the data receiving end due to the data sending end discarding the data packet.

[0046] In an optional implementation manner, 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:

[0047] (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.

[0048] For example, the RLC layer of the data transmitting end sends indication information to the RLC layer of the data receiving end, and the indication information indicates that the RLC layer data packet numbered 2 has been discarded by the data transmitting end, then the RLC layer of the data receiving end learns that the data packet numbered 2 has been discarded.

[0049] (2) Acquire 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.

[0050] 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.

[0051] Exemplarily, the MAC entity at the data transmitting end notifies the MAC entity at the data receiving end that the MAC PDU carrying the RLC data packet #2 is discarded, and the indication information provided by the MAC layer at the data receiving end to the RLC layer at the data receiving end indicates that the RLC layer data packet numbered 2 is discarded, and then the RLC layer at the data receiving end learns that the RLC layer data packet numbered 2 is discarded. In an optional implementation manner, the target RLC layer data includes at least one of the following:

[0052] (1) RLC Protocol Data Unit (PDU); that is, the discarded RLC data may be one or some RLC PDUs.

[0053] (2) RLC Service Data Unit (SDU); that is, the discarded RLC data may be one or some RLC SDUs.

[0054] (3) RLC data packet fragments: That is, the discarded RLC data may be fragments of one or more RLC data packets.

[0055] Among them, the discard situation of the target RLC layer data indicated by the first indication information sent by the above-mentioned data sending end includes the discard situation of at least one of RLC PDU, RLC SDU and RLC data packet fragments; the discard 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 discard situation of at least one of RLC PDU, RLC SDU and RLC data packet fragments.

[0056] 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.

[0057] 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.

[0058] In an optional implementation, the above-mentioned step 220 in which the receiving end updates the data reception state 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.

[0059] 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, so as to update the data receiving state of the RLC layer. The receiving end no longer waits for the discarded target RLC layer data, thereby avoiding unnecessary reorganization delays and improving the data receiving efficiency of the receiving end.

[0060] It should be noted that the state variable corresponding to the updating data receiving window mentioned in the present application can be understood as the receiving end skipping the reception of the target RLC layer data determined to have been discarded, or it can also be understood as the receiving end treating the target RLC layer data determined to have been discarded as having been received and processed, or it can also be that the receiving end triggers a preset delay or timer based on the target RLC layer data determined to have been 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 processed. Of course, updating the state variable corresponding to the data receiving window can also be understood as reconfiguring or updating the relevant parameters corresponding to the receiving window.

[0061] In an optional implementation manner, 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:

[0062] (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.

[0063] 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, and 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.

[0064] 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.

[0065] Correspondingly, if the packet number of the discarded target RLC layer data is 2 / 3, and the highest numbered state variable RX_Next_Highest=4 at this time, and the packet number 2 / 3 of the discarded target RLC layer data is smaller than the highest numbered state variable RX_Next_Highest=4 received in the data receiving window, RX_Next_Highest will not be updated.

[0066] (2) When the number of the packet of the discarded target RLC layer data is greater than or equal to the lower boundary state variable of the data receiving window, update the lower boundary state variable to a second state variable value, wherein the second state variable value is the number of the first RLC layer data packet that is not discarded after the discarded 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 packet of the target RLC layer data. For example, if the number of the packet of the discarded target RLC layer data is 0, and the lower boundary state variable RX_NEXT=0 at this time, and the number of the packet of the discarded target RLC layer data 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.

[0067] 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.

[0068] 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 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.

[0069] 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.

[0070] For another example, if the data 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, and the data 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.

[0071] (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.

[0072] 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.

[0073] 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, and 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.

[0074] 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:

[0075] When the reassembly timer is running, if a first condition is met, the reassembly timer is stopped, wherein the first condition may include one of the following:

[0076] (1) The state variable value corresponding to the timer variable is equal to the lower boundary state variable value of the data receiving window;

[0077] (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;

[0078] (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.

[0079] 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 the data packets to arrive in sequence, the receiving end needs to stop the reassembly timer in the above conditions.

[0080] In the embodiment of the present application, the receiving end confirms 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.

[0081] 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 the 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:

[0082] (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;

[0083] (2) 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;

[0084] The fourth state variable value is equal to the state variable value corresponding to the highest numbered state variable.

[0085] In the above conditions, since a receiving gap occurs at the receiving end, and the reassembly timer is used to detect the receiving gap to wait for data packets to arrive in sequence, the receiving end needs to start the reassembly timer in the above conditions.

[0086] In the embodiment of the present application, the receiving end is to confirm the AM RLC entity. When the reassembly timer is not running and one of the conditions (1) or (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.

[0087] 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.

[0088] In an optional implementation manner, 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:

[0089] (1) When 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 has not been 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.

[0090] 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.

[0091] For another example, if the data packet number of the discarded target RLC layer data is 2 / 3 / 4 / 5, and the state variable of the data packet to be reassembled RX_Next_Reassembly=2 at this time, and the data packet number 2 / 3 / 4 / 5 of the discarded target RLC layer data is greater than or equal to the state variable of the data packet to be reassembled RX_Next_Reassembly=2, then RX_Next_Reassembly is updated to RX_Next_Reassembly=6.

[0092] Through the above implementation method, 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.

[0093] (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, update the upper boundary state variable 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).

[0094] 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.

[0095] For example, if the discarded data packets are 2 / 3 / 4 / 5, the value of the sixth state variable is 6. For another example, if the discarded data packets are 2 / 4 / 5, the value of the sixth state variable is 3. Through this implementation, when the discarded data packet number 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 second state variable value, thereby pulling the data receiving window forward and avoiding unnecessary waiting caused by the RLCSN interval due to the discarded data packets.

[0096] 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 minimum number corresponding to the data packets waiting for reassembly in the data receiving window.

[0097] 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.

[0098] 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 reassembly timer is running, if a third condition is met, stopping the reassembly timer, wherein the third condition includes one of the following:

[0099] (1) The timer state variable is less than or equal to the state variable of the packet to be reassembled;

[0100] (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;

[0101] (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 the data packet corresponding to the state variable of the data packet to be reassembled has only the last fragment not received.

[0102] 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.

[0103] 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 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:

[0104] (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;

[0105] (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 to-be-reassembled state variable and 1, and at least one fragment of the data packet corresponding to the to-be-reassembled data packet state variable has not been received;

[0106] The eighth state variable value is equal to the state variable value of the upper boundary state variable.

[0107] 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.

[0108] 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 is discarded. 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 reorganization 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.

[0109] Figure 3 A flow chart of a data receiving method in an embodiment of the present application is shown. The method 300 can be executed by a data sending end, which can be a terminal or a network side device, such as Figure 3 As shown, the method 300 may include the following steps.

[0110] Step 310: The transmitting end discards the target RLC layer data.

[0111] 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.

[0112] In the embodiment of the present application, after discarding the target RLC layer data, the data transmitting end may provide the first indication information to the receiving end, so as to indicate that the target RLC layer data packet is discarded through the first indication information. Then the receiving end may obtain the information of the target RLC layer data discarded in the data transmission through the first indication information, and then update the data receiving state of the RLC layer based on the information of the discarded target RLC layer data, so as to avoid unnecessary reassembly delay in the receiving end and improve the data receiving efficiency of the receiving end.

[0113] In an optional implementation manner, the target RLC layer data includes at least one of the following:

[0114] (1) RLC protocol data unit;

[0115] (2) RLC service data unit;

[0116] (3) RLC data packet fragment.

[0117] 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, the RLC SDU and the RLC data packet fragment.

[0118] Figure 4 In an optional implementation, another flow chart of the data transmission method in the embodiment of the present application is shown, such as Figure 4 As shown, the method 400 may include the following steps.

[0119] Step 410: The transmitting end discards the target RLC layer data. This step is the same as the above step 310, and please refer to the description in the above method 300 for details.

[0120] 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.

[0121] 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.

[0122] For example, if the number of data packets discarded by the data transmitting end is 2 / 3, and at this time the lower boundary state variable TX_Next_Ack=2 of the data transmitting window of the data transmitting end, then TX_Next_Ack is updated to TX_Next_Ack=4.

[0123] 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 the above step 320, and please refer to the description in the above method 300 for details.

[0124] In an embodiment of the present application, after the transmitting end discards the target RLC layer data, the transmitting 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 is discarded. When the receiving end receives the first indication information, it determines that the target RLC layer data is discarded, thereby updating the receiving status of the target RLC layer data, avoiding unnecessary reorganization delays at the receiving end, and improving the data receiving efficiency of the receiving end.

[0125] In an optional implementation manner, the first indication information includes at least one of the following:

[0126] (1) The number of the RLC layer data packet, such as the RLC sequence number (SN).

[0127] (2) The number range of RLC layer data packets, such as the RLC SN range.

[0128] (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.

[0129] (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 transmitting end indicates that the RLC layer data packet numbered 1 and the number of data packets numbered 1 is 3, then when the receiving end obtains this information, it can be known that data packets 1 / 2 / 3 have all been discarded.

[0130] Exemplarily, the first indication information may include the number of the RLC layer data packet. For example, if the RLC layer discards the data packets numbered #1, #2, and #3, the first indication information may carry RLC SN=1, 2, and 3.

[0131] Exemplarily, the first indication information may include the number of the RLC layer data packet and the number of the RLC data packets. For example, if the RLC layer discards the 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 may know that the RLC data packets numbered #1, #2, and #3 are discarded;

[0132] 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 an RLC number range of #1 to 3.

[0133] 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:

[0134] (1) The transmitting end sends the first indication information through an RLC control protocol data unit (control PDU);

[0135] 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.

[0136] (2) The sending end sends the first indication information through an RLC data protocol data unit.

[0137] 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.

[0138] In an optional implementation, when the sending end submits a data packet to the bottom layer, the data packet carrying the first indication information has the highest priority.

[0139] 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.

[0140] 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.

[0141] When delivering data packets to the bottom layer, the transmitting end gives the data packets carrying the discarded target RLC layer data the lowest priority, so that the data packets that are not discarded are delivered first, thereby improving data transmission efficiency.

[0142] 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.

[0143] 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:

[0144] (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 sending the first indication information to the receiving end when discarding RLC data;

[0145] (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 sending the first indication information to the receiving end when discarding RLC data;

[0146] (3) 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 sending end to send the first indication information to the receiving end when discarding RLC data;

[0147] (4) first configuration information, where the first configuration information configures the AM RLC entity at the transmitting end to send the first indication information to the receiving end when discarding RLC data;

[0148] (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 discarding RLC data.

[0149] The first configuration information and the second configuration information may be agreed upon by a protocol or configured by a network.

[0150] 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.

[0151] 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 method executed by the data receiving device as an example.

[0152] Figure 5 A schematic diagram of the structure of a data receiving device in an embodiment of the present application is shown. The device 500 is applied to a receiving end, such as Figure 5 As shown, the device 500 includes: an acquisition module 51 and an update module 52.

[0153] The acquisition module 51 is used to acquire the information of the 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.

[0154] In one implementation, the acquisition module 51 may be used for at least one of the following:

[0155] (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;

[0156] (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.

[0157] In one implementation, the target RLC layer data includes at least one of the following:

[0158] (1) RLC protocol data unit;

[0159] (2) RLC service data unit;

[0160] (3) RLC data packet fragment.

[0161] In one implementation, the above-mentioned data receiving device 500 further includes a discarding module, which is used for the data receiving end to discard other fragments of the first data packet that have been received when the target RLC layer data is a fragment of the first data packet.

[0162] In one implementation, the updating module 52 may be configured to update a state variable corresponding to a data receiving window based on information of the discarded target RLC layer data.

[0163] 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:

[0164] (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;

[0165] (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 RLC layer data packet that is not discarded 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;

[0166] (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.

[0167] 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, if a first condition is met, stop the reassembly timer, wherein the first condition includes one of the following:

[0168] (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;

[0169] (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;

[0170] (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.

[0171] 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, if a second condition is met, start the reassembly timer and update the timer state variable to a fourth state variable value, wherein the second condition includes one of the following:

[0172] (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;

[0173] (2) 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;

[0174] The fourth state variable value is equal to the state variable value corresponding to the highest numbered state variable.

[0175] In one implementation, when the receiving end is a non-confirmed UM RLC layer, the updating module 52 may be used for at least one of the following:

[0176] (1) when the number of the discarded data packet of the target RLC layer data is greater than or equal to the state variable of the data packet to be reassembled, updating the state variable of the data 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 data packet of the 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 discarded data packet of the target RLC layer data;

[0177] (2) When the number of the discarded target RLC layer data packet is greater than or equal to the upper boundary state variable of the data receiving window, update the upper boundary state variable to a sixth state variable value, wherein the sixth state variable value is the number of the first RLC data packet after the discarded target RLC layer data packet that is not yet waiting to be received.

[0178] In one implementation, when the receiving end is a non-confirmed UM RLC layer, the above-mentioned updating module 52 can be used to: when the state variable of the data packet to be reassembled falls outside the data receiving window, update the state variable of the data packet to be reassembled 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.

[0179] In another implementation, when the receiving end is a non-confirmed UM RLC layer, the updating module 52 may be configured to: when the reassembly timer is running, if a third condition is met, stop the reassembly timer, wherein the third condition includes one of the following:

[0180] (1) The timer state variable is less than or equal to the state variable of the packet to be reassembled;

[0181] (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;

[0182] (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 the data packet corresponding to the state variable of the data packet to be reassembled has only the last fragment not received.

[0183] In another implementation, when the receiving end is a non-confirmed UM RLC layer, the updating module 52 may be configured to: when the reassembly timer is not running, if a fourth condition is met, restart the reassembly timer and update the timer state variable to an eighth state variable value, wherein the fourth condition includes one of the following:

[0184] (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;

[0185] (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 to-be-reassembled state variable and 1, and at least one fragment of the data packet corresponding to the to-be-reassembled data packet state variable has not been received;

[0186] The eighth state variable value is equal to the state variable value of the upper boundary state variable.

[0187] The data receiving device provided in the embodiment of the present application can achieve Figure 2 The various processes implemented in the data receiving method embodiment achieve the same technical effect and will not be described again here to avoid repetition.

[0188] 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 executed by a data transmission device is taken as an example to illustrate the data transmission device provided in the embodiment of the present application.

[0189] Figure 6 A schematic diagram of the structure of a data transmission device in an embodiment of the present application is shown. The device 600 is applied to a sending end, such as Figure 6 As shown, the device 600 includes: a processing module 61 and a providing module 62.

[0190] 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.

[0191] In one implementation, the target RLC layer data packet includes at least one of the following:

[0192] (1) RLC protocol data unit;

[0193] (2) RLC service data unit;

[0194] (3) RLC data packet fragment.

[0195] 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 has not been discarded or the number of the first data packet waiting for feedback from the receiving end on successful transmission.

[0196] In one implementation, the first indication information includes at least one of the following:

[0197] (1) Number of RLC layer data packets;

[0198] (2) The number range of RLC layer data packets;

[0199] (3) RLC layer segment information;

[0200] (4) The number of RLC layer data packets is used to indicate the number of consecutive complete RLC layer data packets that are discarded.

[0201] In one implementation, the providing module 62 may be used for one of the following:

[0202] (1) sending the first indication information through an RLC control protocol data unit;

[0203] (2) Sending the first indication information through an RLC data protocol data unit.

[0204] 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.

[0205] 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.

[0206] In one implementation, the data transmission device 600 further includes an acquisition module, which is used to acquire any one of the following information:

[0207] (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 sending the first indication information to the receiving end when discarding RLC data;

[0208] (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 sending the first indication information to the receiving end when discarding RLC data;

[0209] (3) 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 sending end to send the first indication information to the receiving end when discarding RLC data;

[0210] (4) first configuration information, where the first configuration information configures the AM RLC entity at the transmitting end to send the first indication information to the receiving end when discarding RLC data;

[0211] (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 discarding RLC data.

[0212] The first configuration information and the second configuration information may be agreed upon by a protocol or configured by a network.

[0213] The data transmission device provided in the embodiment of the present application can achieve Figure 3 to Figure 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0214] The data receiving device and the data transmission device in the embodiment 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 it can be other devices other than a terminal. Exemplarily, the terminal can include but is not limited to the types of terminals 11 listed above, and other devices can be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of the present application.

[0215] like Figure 7 As shown, the embodiment of the present application also provides a communication device 700, including a processor 701 and a memory 702, and 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 is executed by the processor 701 to implement 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 is executed by the processor 701 to implement 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.

[0216] The embodiment of 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 used to run a program or instruction to implement the following Figure 2 The steps in the data receiving method embodiment shown in FIG. Figure 3 to Figure 4 The steps in the data transmission method embodiment shown in the figure. 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, Figure 8 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0217] 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 a processor 810.

[0218] Those skilled in the art will appreciate that the terminal 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0219] It should be understood that in the 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 a joystick, which will not be repeated here.

[0220] In the embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 801 can transmit the data to the processor 810 for processing; in addition, the radio frequency unit 801 can send uplink data to the network side device. Generally, 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, etc.

[0221] 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, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), 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 a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory 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.

[0222] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.

[0223] The processor 810 is configured to: obtain information about the discarded target radio link control RLC layer data; and update the data receiving state of the RLC layer based on the information about the discarded target RLC layer data. Or,

[0224] 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.

[0225] 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 effect. To avoid repetition, it will not be repeated here.

[0226] The embodiment of 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 used to run a program or instruction to implement the following Figure 2 The steps of the data receiving method embodiment shown in FIG. Figure 3 to Figure 4 The steps of the data transmission method embodiment are shown. The network side device embodiment corresponds to the above network side device method embodiment, and each implementation process and implementation mode of the above method embodiment can be applied to the network side device embodiment and can achieve the same technical effect.

[0227] Specifically, the embodiment of the present application also provides a network side device. Fig. 9 As shown, 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. The antenna 91 is connected to the radio frequency device 92. In the uplink direction, the radio frequency device 92 receives information through the antenna 91 and sends the received information to the baseband device 93 for processing. In the downlink direction, the baseband device 93 processes the information to be sent and sends it to the radio frequency device 92. The radio frequency device 92 processes the received information and sends it out through the antenna 91.

[0228] 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.

[0229] The baseband device 93 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig. 9 As shown, 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 to execute the network device operations shown in the above method embodiment.

[0230] The network side device may further include a network interface 96, which is, for example, a Common Public Radio Interface (CPRI).

[0231] Specifically, the network side device 900 of the embodiment of the present application further includes: instructions or programs stored in the memory 95 and executable on the processor 94, and the processor 94 calls the instructions or programs in the memory 95 to execute. Figures 5 and 6 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0232] 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.

[0233] 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 are implemented, 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.

[0234] 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-transient readable storage medium.

[0235] 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.

[0236] 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.

[0237] 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 (Extended Reality, XR).

[0238] The embodiments of the present application further provide a computer program / program product, which is stored in a storage medium, and 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.

[0239] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment 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 reverse 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.

[0240] Through the description of the above implementation methods, 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 hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0241] 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 the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A data receiving method, characterized in that: include: 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: include: 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that 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, characterized in that: include: 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, characterized in that: include: 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, characterized in that: It includes a processor and a memory, 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, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it 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

Cited By

  • Data packet transmit window adjustment method, data packet receive window adjustment method, communication device, and storage medium

    WO2026065453A1

  • Data transmission method, terminal, network device, apparatus, medium and program product

    WO2026066219A1

  • Wireless communication methods, wireless communication apparatuses, device, and storage medium

    WO2026103803A1