Data processing method, data processing device, and computer-readable storage medium.

By generating PDCP PDUs from correctly received and recovered RLC PDUs, the method addresses the issue of incomplete PDCP PDUs due to lost RLC segments, improving user experience through reduced data loss.

BR112019020346B1Active Publication Date: 2026-07-07HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
BR · BR
Patent Type
Patents
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2017-04-01
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In the LTE user plane protocol stack, if an RLC PDU is lost and cannot be recovered through retransmission, all related RLC PDU segments in a PDCP PDU are discarded, affecting user experience.

Method used

Generate a PDCP PDU based on correctly received RLC PDUs, including recovered RLC PDUs if necessary, to assemble a complete PDCP PDU, even if some RLC PDUs are lost or incorrectly received.

Benefits of technology

This approach reduces data loss and improves user experience by ensuring a complete PDCP PDU is generated, even when some RLC PDUs are missing, thereby enhancing subjective quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000081_0000
    Figure 00000081_0000
  • Figure 00000082_0000
    Figure 00000082_0000
  • Figure 00000083_0000
    Figure 00000083_0000
Patent Text Reader

Abstract

The embodiments of the present invention provide a data processing method and device for obtaining a pdcp pdu based on some correctly received rlc pdus in the pdcp pdu. The method includes obtaining (201) n correctly received radio link control pdus, rlc, in a packet data convergence protocol, pdcp, pdu; and generating (202) the pdcp pdu based on n correctly received rlc pdus, wherein the pdcp pdu includes m rlc pdus, n being positive integers, en < m. In this way, the pdcp pdu can be generated based on some correctly received rlc pdus in the pdcp pdu, and there is no need to assemble all the rlc pdus to obtain the pdcp pdu. Therefore, even if an RLC PDU that does not need to be used is incorrectly received or lost, the generation of the PDCP PDU is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

Descriptive Report of the Invention Patent for DATA PROCESSING METHOD, DATA PROCESSING DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM. TECHNICAL FIELD

[0001] The present invention relates to the field of communications, and in particular, to a method and device for data processing. BACKGROUND

[0002] The Long Term Evolution (LTE) user plane protocol stack includes a Packet Data Convergence Protocol (PDCP), a Radio Link Protocol (RLC), and a Media Access Control (MAC) protocol. An RLC layer is located between a PDCP layer and a MAC layer. The RLC layer communicates with the PDCP layer using a Service Access Point (SAP) and communicates with the MAC layer through a logical channel. On a receiving side, a PDCP PDU includes a plurality of RLC PDUs. If at least one of the RLC PDUs included in the PDCP PDU is lost, the MAC layer retransmits the RLC PDU. If the lost RLC PDU cannot be recovered through retransmission, all RLC PDU segments related to the PDCP PDU are discarded. Therefore, a user's subjective experience is affected. SUMMARY

[0003] The embodiments of the present invention provide a method and device for data processing, to obtain a complete PDCP PDU based on some correctly received RLC PDUs in the PDCP PDU, thereby improving a user's subjective experience.

[0004] According to a first aspect, a modality of Petition 870240028419, dated 01 / 04 / 2024, page 9 / 91 2 / 76 The present invention provides a data processing method, wherein the method includes obtaining N correctly received radio link control RLC PDUs into a packet-converged data convergence protocol (PDCP) data unit PDU; and generating the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDCP PDU includes M RLC PDUs, N and M are positive integers, and N < M. A correctly received RLC PDU is an RLC PDU obtained from a correctly received MAC PDU, and a correctly received MAC PDU is a MAC PDU in which a corresponding CRC check is correct.

[0005] In this way, the PDCP PDU can be generated based on some correctly received RLC PDUs in the PDCP PDU, and there is no need to assemble all RLC PDUs to obtain the PDCP PDU. Therefore, even if an RLC PDU that does not need to be used is received incorrectly or lost, the generation of the PDCP PDU is not affected.

[0006] With reference to the first aspect, in a first possible implementation, the generation of the PDCP PDU, based on the N correctly received RLC PDUs, includes: obtaining at least one recovered RLC PDU; and generating the PDCP PDU based on the N correctly received RLC PDUs and the recovered RLC PDU. Since only some RLC PDUs are correctly received, the recovered RLC PDU still needs to be obtained, so that the recovered RLC PDU and the correctly received RLC PDUs are assembled to obtain the PDCP PDU. For example, after an RLC PDU in the PDCP PDU is lost, a recovered RLC PDU is obtained to replace the RLC PDU, thus implementing the assembly of the PDCP PDU. Certainly, regardless of whether the RLC PDU was lost or not, a device can obtain the PDCP PDU by assembling only some correctly received RLC PDUs and one recovered RLC PDU. Petition 870240028419, dated 01 / 04 / 2024, p. 10 / 91 3 / 76

[0007] With reference to the first possible implementation of the first aspect, in a second possible implementation, the generation of the PDCP PDU based on N correctly received RLC PDUs includes: determining if an RLC PDU in the PDCP PDU is lost; if the RLC PDU in the PDCP PDU to be mounted is lost, obtaining at least one recovered RLC PDU, where the recovered RLC PDU is used to recover the lost RLC PDU; and generating the PDCP PDU based on the N correctly received RLC PDUs and the recovered RLC PDU. To be specific, when the RLC PDU is lost, the device uses the recovered RLC PDU as recovery for the lost RLC PDU.

[0008] With reference to the first or second possible implementation of the first aspect, in a third possible implementation, obtaining at least one retrieved RLC PDU includes obtaining data in a data field, where the data in the data field is data that is in a data field and that is of an RLC PDU type; and obtaining an RLC header. In other words, parts of the RLC PDU are obtained respectively. Therefore, the retrieved RLC PDU is generated based on the RLC header and the data in the data field.

[0009] With reference to the first or second possible implementation of the first aspect, in a fourth possible implementation, since a loss of the RLC PDU is caused by an incorrectly received MAC PDU, speech data is obtained from the incorrectly received MAC PDU to be used as data in the recovered RLC PDU. To be specific, the data in the recovered RLC PDU is a speech payload obtained from the incorrectly received MAC PDU. The incorrectly received MAC PDU is a MAC PDU in which a corresponding CRC check is incorrect. An RLC PDU included in the incorrectly received MAC PDU and the RLC PDU lost in the PDCP PDU may be the same RLC PDU.

[0010] Despite data in the PDU MAC being incorrectly received Petition 870240028419, dated 01 / 04 / 2024, page 11 / 91 4 / 76 includes an error; the recovered RLC PDU can be obtained based on the data that includes the error. Then, the PDCP PDU to be discarded is reserved based on the recovered RLC PDU. Therefore, speech data loss is reduced, and the subjective speech experience for a user is improved.

[0011] With reference to the third possible implementation of the first aspect, in a fifth possible implementation, obtaining data in a data field includes obtaining a target MAC PDU, wherein the target MAC PDU is a MAC PDU verified as incorrect by the use of CRC verification, and an RLC PDU included in the target MAC PDU is the RLC PDU lost in the PDCP PDU to be mounted; and obtaining a speech payload from the target MAC PDU. By performing such an operation, it can be implemented that the data in the retrieved RLC PDU is a speech payload obtained from one or more incorrectly received MAC PDUs.

[0012] With reference to the fifth possible implementation of the first aspect, in a sixth possible implementation, obtaining a speech payload from the target MAC PDU includes: when the lost RLC PDU is not located at an end location in the PDCP PDU and an RLC PDU is lost; obtaining a length of a speech payload from the lost RLC PDU by calculating based on a length of speech data from correctly received RLC PDUs, and a predetermined speech frame length; and for the target MAC PDU, extracting, from back to front, a speech payload whose length is equal to the length of the speech payload from the lost RLC PDU. When the lost RLC PDU is not located at the end location in the PDCP PDU and an RLC PDU is lost, the speech data from the target MAC PDU, corresponding to the lost RLC PDU, extends to one end of the target MAC PDU. In this case, after the speech data from the lost RLC PDU is obtained, the speech data whose length Petition 870240028419, dated 01 / 04 / 2024, page 12 / 91 5 / 76 ment coincides with the length of the speech data from the lost RLC PDU that can be obtained from the target MAC PDU in a backward order.

[0013] With reference to the fifth possible implementation of the first aspect, in a possible seventh implementation, obtaining a speech payload from the target MAC PDU includes: when the missing RLC PDU is not located at a final location on the PDCP PDU to be mounted, determining a MAC header length of the target MAC PDU; and obtaining the speech payload by removing the MAC header length of the target MAC PDU and a predetermined RLC header length. In this way, the speech payload of the target MAC PDU can be obtained by removing the header length of the target MAC PDU. This method is particularly applicable to a situation in which a plurality of RLC PDUs is missing, since it is difficult to determine a speech payload from each missing RLC PDU in such cases.

[0014] With reference to the fifth possible implementation of the first aspect, in an eighth possible implementation, obtaining a speech payload from the MAC PDU includes: when the missing RLC PDU is located at a final location in the PDCP PDU to be mounted, determining a final location and a starting location of the speech payload in the target MAC PDU; and extracting, based on the starting and ending locations, the speech payload from the target MAC PDU. Since a MAC PDU corresponding to the RLC PDU located at the final location includes a MAC header and an RLC header, and a padding bit is located at one end of the MAC PDU, the speech data from the target MAC PDU can be obtained by removing both types of data at the beginning and end of the target MAC PDU.

[0015] With reference to the fifth possible implementation of the first aspect, in a ninth possible implementation, obtain at least Petition 870240028419, dated 01 / 04 / 2024, page 13 / 91 6 / 76 A recovered RLC PDU includes: when the RLC PDU in the PDCP PDU is lost, determining receive times T1 and T2, where T1 is a receive time of a correctly received RLC PDU that is located before the lost RLC PDU in the PDCP PDU, and T2 is a receive time of a correctly received RLC PDU that is located after the lost RLC PDU in the PDCP PDU; determining, in the incorrectly received MAC PDUs, a target medium access control MAC PDU whose receive time is between T1 and T2, where a receive time of an RLC PDU is a receive time of a MAC PDU to which the RLC PDU belongs, and the receive time of the MAC PDU is a recorded time when the MAC PDU is received, to be specific, a recorded time when a receiving end receives the MAC PDU; obtaining a speech payload from the target MAC PDU;and generate a recovered RLC PDU based on the speech payload, where the recovered RLC PDU is used to replace the lost RLC PDU. For example, one or more medium access control MAC PDUs, and a cyclic redundancy check (CRC), which is used to verify the MAC PDUs, are obtained; the receive moments of the MAC PDUs are recorded; a target match between a MAC PDU and a receive moment is obtained, where the MAC PDU includes the RLC PDU; when the CRC check is correct, a first MAC PDU obtains a correctly received RLC PDU, where the first MAC PDU is a MAC PDU that is in the MAC PDUs and is verified by using the CRC matching the correct check; when the CRC check is incorrect, a second MAC PDU is stored, where the second MAC PDU is a MAC PDU that is in the MAC PDUs and is verified as incorrect by using the CRC check;The receiving times T1 and T2 are determined based on the target match, where T1 is one; Petition 870240028419, dated 01 / 04 / 2024, page 14 / 91 7 / 76 is the moment of receipt of a correctly received RLC PDU that is located before the lost RLC PDU in the PDCP PDU to be assembled, and T2 is the moment of receipt of a correctly received RLC PDU that is located after the lost RLC PDU in the PDCP PDU to be assembled; the target MAC PDU, whose moment of receipt is between T1 and T2, is selected from one or more second MAC PDUs based on the target match; a speech payload is obtained from the target MAC PDU; and the recovered RLC PDU is generated based on the speech payload.

[0016] In this way, it can be implemented that the target MAC PDU corresponding to the lost RLC PDU is selected from a plurality of incorrectly received and obtained MAC PDUs. In other words, the reason for the loss of the RLC PDU is the incorrect receipt of the target MAC PDU.

[0017] With reference to the first possible implementation of the first aspect, in a tenth possible implementation, the data in the recovered RLC PDU is a sequence of zeros or a sequence of random bits. In this way, data recovery must also be performed on the lost RLC PDU.

[0018] With reference to the first aspect, in a possible eleventh implementation, the data in the N correctly received RLC PDUs includes a significant bit in the PDCP PDU. Since the correctly received RLC PDUs include the significant bit in the PDCP PDU, even if recovery that includes an error is performed on the lost RLC PDU, the data as a whole in the PDCP PDU is not significantly affected. The significant bit can be a bit whose speech quality parameter is greater than a predetermined speech quality threshold, such as a bit belonging to a substream A.

[0019] With reference to the third possible implementation of the first aspect, in a twelfth possible implementation, the Petition 870240028419, dated 01 / 04 / 2024, p. 15 / 91 8 / 76 data retrieval in a data field includes: calculating the length of a lost RLC PDU speech payload based on the length of speech data from the N correctly received RLC PDUs and a predetermined speech frame length; and obtaining a random bit sequence whose length matches the length of the speech payload. In this way, it can be implemented that the data in the recovered RLC PDU is the random bit sequence.

[0020] With reference to the third possible implementation of the first aspect, in a thirteenth possible implementation, the RLC header includes an RLCSN and FI, and obtaining an RLC header includes: determining the RLCSN of the RLC header based on an RLCSN of a correctly received RLC PDU that is located before the lost RLC PDU and / or an RLCSN of a correctly received RLC PDU that is located after the lost RLC PDU. When the lost RLC PDU is located at an end location in the PDCP PDU to be mounted, the FI of the RLC header is determined to be equal to 10. When the last RLC PDU is not located at the end location in the PDCP PDU to be mounted, the FI of the RLC header is determined to be equal to 11. In this way, it can be implemented that the RLC header is obtained.

[0021] With reference to the second possible implementation of the first aspect, in a fourteenth possible implementation, determining whether an RLC PDU in the PDCP PDU was lost includes: determining an initial RLC PDU and a final RLC PDU in the PDCP PDU to be assembled, based on the FI of an RLC PDU within an RLC packet range. The RLC packet range includes correctly received RLC PDUs. Alternatively, the RLC packet range includes an initial RLC PDU in a subsequent PDCP PDU following the PDCP PDU to be assembled and correctly received RLC PDUs. Petition 870240028419, dated 01 / 04 / 2024, page 16 / 91 9 / 76

[0022] If all RLC PDUs within a range from the initial RLC PDU RLCSN to the final RLC PDU RLCSN are included in the RLC PDU packet range, it is determined. If not all RLC PDUs within the range from the initial RLC PDU RLCSN to the final RLC PDU RLCSN are included in the RLC PDU packet range, one RLC PDU in the PDCP PDU to be mounted is lost. Therefore, whether an RLC PDU in the PDCP PDU is lost can be determined by the use of RLCSNs.

[0023] With reference to the first aspect, in a possible fifteenth implementation, the method of this implementation also includes: Obtain a PDU MAC corresponding to a non-significant bit in the PDCP PDU; and if the number of retransmissions of the PDU MAC corresponding to the non-significant bit reaches a number of retransmissions that occur until the retransmission is terminated, send an ACK message to a transmitting end where the number of retransmissions until the retransmission is terminated is less than a maximum number of retransmissions of the PDU MAC. The PDU MAC corresponding to the non-significant bit may be a PDU MAC whose speech data belongs to a substream bit B. The maximum number of retransmissions of the PDU MAC may be a value determined by a system.After sending the ACK message, a receiving end that obtains the MAC PDU can prevent a transmitting end from retransmitting the MAC PDU that corresponds to the insignificant bit, so that the MAC PDU retransmission is terminated prematurely, and there is no need to terminate the MAC PDU retransmission until the maximum number of retransmissions has been reached. Therefore, an increase in transmission latency at a higher layer is avoided and a packet loss rate at the upper layer is reduced. Petition 870240028419, dated 01 / 04 / 2024, page 17 / 91 10 / 76 of. Furthermore, the retransmission of the PDU MAC corresponding to the insignificant bit is terminated prematurely. Therefore, even if such a bit includes an error, the subjective user experience is less affected.

[0024] According to a second aspect, an embodiment of this application provides a data processing device, wherein the data processing device has a data processing device function in the above method. The function may be implemented by hardware, or it may be implemented by hardware through the execution of corresponding software. Hardware and software include one or more modules corresponding to the function.

[0025] In one possible implementation, the data processing device includes: a get unit, configured to obtain N correctly received Radio Link Control (RLC) PDUs into a Packet Data Convergence Protocol (PDCP) Data Unit (PDU); and a generate unit, configured to generate the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDCP PDU includes M RLC PDUs, N and M being positive integers, and N < M.

[0026] In another possible implementation, the data processing device includes: A transceiver and a processor; wherein the transceiver performs the following action: obtain N correctly received RLC radio link control PDUs into a packet-based Data Convergence Protocol (PDCP) PDU; and the processor performs the following action: generate the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDU Petition 870240028419, dated 01 / 04 / 2024, page 18 / 91 11 / 76 PDCP includes M PDUs RLC, where N and M are positive integers and N < M.

[0027] According to another aspect of this application, a computer-readable storage medium is provided. The computer-readable storage medium stores an instruction. When the instruction runs on a computer, the computer performs the method according to the aspects described above.

[0028] According to another aspect of this application, a computer program product including an instruction is provided. When the computer program product runs on a computer, the computer performs the method according to the aspects above.

[0029] In the technical solutions provided in the embodiments of the present invention, a device obtains the N correctly received RLC PDUs in the PDCP PDU, and then generates the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDCP PDU includes M RLC PDUs, N and M are positive integers, and N < M. In this way, the PDCP PDU can be generated based on some correctly received RLC PDUs in the PDCP PDU, and there is no need to assemble all the RLC PDUs to obtain the PDCP PDU. Therefore, even if an RLC PDU that does not need to be used is incorrectly received or lost, the generation of the PDCP PDU is not affected. DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a block diagram of an existing LTE user plane protocol;

[0031] Figure 1b is a schematic diagram of a packet format for a speech frame existing in VoLTE;

[0032] Figure 1c is a schematic segmentation and concatenation diagram of an existing RLC SDU;

[0033] Figure 2 is a method flowchart of a data processing method according to an embodiment of the present invention; Petition 870240028419, dated 01 / 04 / 2024, page 19 / 91 12 / 76

[0034] Figure 3a is a method flowchart of a data processing method according to an embodiment of the present invention;

[0035] Figure 3b is a diagram comparing the prior art and a data processing method in an embodiment of the present invention according to an embodiment of the present invention;

[0036] Figure 4 is a method flowchart of a data processing method according to an embodiment of the present invention;

[0037] Figure 5 is a method flowchart of a data processing method, according to an embodiment of the present invention;

[0038] Figure 6a is a schematic diagram of an envelope in which only one subflow segment B is lost, according to an embodiment illustrated in Figure 5;

[0039] Figure 6b is a schematic diagram of a case in which a plurality of consecutive B subflow segments are lost according to an embodiment illustrated in Figure 5;

[0040] Figure 6c is a schematic diagram of a case in which a plurality of non-consecutive B subflow segments are lost, according to an embodiment illustrated in Figure 5;

[0041] Figure 7 is a method flowchart of a relay termination method according to an embodiment of the present invention;

[0042] Figure 8a is a schematic diagram of a MOS marking of a substream B that includes an error bit when AMR-WB is 12.65 k according to an embodiment of the present invention;

[0043] Figure 8b is a schematic diagram of a MOS marking of a substream B that includes an error bit when AMR-WB is Petition 870240028419, dated 01 / 04 / 2024, p. 20 / 91 13 / 76 equals 23.85 k, according to an embodiment of the present invention;

[0044] Figure 8c is a schematic diagram of a MOS-vs-BER curve, according to an embodiment of the present invention;

[0045] Figure 9a is a gain diagram of a data processing method, according to an embodiment of the present invention;

[0046] Figure 9b is a schematic diagram of the performance comparison between a data processing method in which the data in a data field are obtained based on an incorrectly received MAC PDU and a data processing method through random retrieval according to an embodiment of the present invention;

[0047] Figure 10a is a schematic structural diagram of a data processing device according to an embodiment of the present invention;

[0048] Figure 10b is a partial schematic structural diagram of a data processing device illustrated in Figure 10a; and

[0049] Figure 11 is a schematic structural hardware diagram of a data processing device, according to an embodiment of the present invention. DESCRIPTION OF THE MODALITIES

[0050] The technical solutions in the embodiments of the present invention are described clearly and completely below with reference to the drawings attached to the embodiments of the present invention. Apparently, the embodiments described are merely some, but not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort shall fall within the scope of protection of the present invention. Petition 870240028419, dated 01 / 04 / 2024, p. 21 / 91 14 / 76

[0051] In the specification, embodiments and drawings attached to the present invention, the terms first, second, third, fourth and so forth (if any) are intended to distinguish between similar objects, but not necessarily to indicate a specific order or sequence. It should be understood that the data used in such a way are interchangeable under appropriate circumstances so that the embodiments described herein may be implemented in orders other than the order illustrated or described herein. Furthermore, the terms include, contain and any other variations mean to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a list of steps or units is not necessarily limited to those expressly listed steps or units, but may include other steps or units not expressly listed or inherent in such process, method, product or device.

[0052] Figure 1a is a block diagram of a plane protocol in LTE (Long Term Evolution), and illustrates the protocol layers related to a user plane in an LTE transmission process. The functions of an RLC layer are described below.

[0053] RLC functions in LTE can be classified as follows: segmentation or resegmentation, concatenation, reordering, and regrouping.

[0054] Segmentation is performed only at one transmission end of a UM / AM entity. As illustrated in Figure 1c, when the size of a PDU (Protocol Data Unit) of an RLC (Radio Link Control), which is indicated by a MAC (Medium Access Control) layer, is smaller than the size of an SDU (Service Data Unit). Petition 870240028419, dated 01 / 04 / 2024, page 22 / 91 15 / 76 vice data unit), an RLC entity performs a segmentation operation on the RLC SDU so that the size of a generated RLC PDU can match the size of an RLC SDU segment. This segmentation is performed only at the transmission end of the AM entity. An AM RLC entity supports ARQ retransmission. When the size of a retransmitted RLC PDU cannot match the total size of RLC PDUs indicated by the MAC layer, the RLC layer performs a segmentation operation on the retransmitted RLC PDU based on the situation, so that the size of a generated RLC PDU segment can match the total size of RLC PDUs indicated by the MAC layer. This concatenation is performed only at the transmission end of an AM / UM entity.When the total size of the RLC PDUs indicated by the MAC layer is greater than the size of the RLC SDU, the RLC layer performs a concatenation operation on the RLC SDUs based on the situation, so that one RLC SDU is concatenated with another RLC SDU or a segment of another RLC SDU. In this case, the size of an RLC PDU may coincide with the concatenated RLC SDUs. Segmentation, re-segmentation, and concatenation are completed on the transmit end (a UE (User Equipment) in Figure 1a), and the corresponding reordering and reassembly functions are implemented on the receive end (an eNodeB (Evolved NodeB) in Figure 1a).

[0055] Reordering: RLC SDUs sent from the transmitting end based on RLCSN numbers arrive at the receiving end in disarray due to HARQ (Hybrid Automatic Repeat Request) retransmission. In this case, the eNodeB checks the RLCSN numbers, any repeatedly received RLC SDUs are discarded first, and the RLC SDUs are discarded. Petition 870240028419, dated 01 / 04 / 2024, p. 23 / 91 16 / 76 are classified based on RLCSN numbers.

[0056] Reordered RLC SDUs are reassembled based on information about an SN bit and an FI bit in an RLC header, to obtain a complete PDCP SDU, and the complete PDCP SDU is sent to an upper layer. However, if at least one RLC PDU segment is lost, all other RLC PDU segments in the entire PDCP that are related to the lost RLC PDU segment are discarded.

[0057] For an intuitive explanation, an AMR (Adaptive Multi-Rate) situation is described first.

[0058] In a conventional communications system, most speech coding systems used are based on narrowband speech, and a frequency band is generally limited within 200 Hz to 3400 Hz. The inherent bandwidth limitation has further limited the improvement of speech quality since humans implemented telephone communication. To implement high-quality voice communication, the bandwidth limitation needs to be overcome. Furthermore, increasing breakthroughs in digital communications network technologies, for example, the emergence of 3rd generation mobile communication, provide more scope for the application of broadband speech coding.AMR-WB (Adaptive Multi-Rate Wideband) speech coding is a form of broadband speech coding originally designed for GSM (Global System for Mobile Communication) and WCDMA (Wideband Code Division Multiple Access) 3rd generation mobile communication systems, and subsequently adopted by the ITU (International Telecommunication Union) as a new standard. Petition 870240028419, dated 01 / 04 / 2024, page 24 / 91 17 / 76 High-quality digital broadband speech coding standard. Currently, AMR-WB speech coding is widely used in VoLTE (Voice over LTE). Therefore, in the history of communication, AMR-WB speech coding is a first speech coding system that can be used for both wired and wireless services. Unlike previous forms of speech coding where a bit rate is fixed, the bit rate of AMR-WB is not fixed but varies with different transmission environments. This is why AMR-WB speech coding is adaptive. In AMR-WB, a speech bandwidth is 500 to 7000 Hz and a sampling rate is 16 kHz. Compared to a conventional bandwidth of 200 to 3400 Hz, an extended portion from 50 to 200 Hz makes voices sound more natural and comfortable, and an extended portion from 3400 to 7000 Hz in a high-frequency band improves friction discrimination.In this way, speech intelligibility is improved. Therefore, AMR-WB is a high-quality digital wideband speech coding system.

[0059] The bits sent by an AMR speech encoder are reordered based on the subjective meaning of the bits. Subjective meaning refers to the impact of an error (bit flip or drop) that occurs during bit transmission on speech quality. Because a human's subjective experience can vary greatly or slightly based on a bit location, the meaning of bits in different locations is different for subjective speech quality experience.

[0060] To better distinguish between the differences in subjective experience caused by different bit locations, the AMR encoder divides the bits generated through encoding into three parts, which are referred to as substream A, substream B, and substream C. Of all the bits recorded, a bit included in substream A is a bit more sensitive to error. When an error occurs Petition 870240028419, dated 01 / 04 / 2024, page 25 / 91 18 / 76 in a bit encoded in this way severely damages a speech frame. In this case, not only is the subjective experience of speech greatly deteriorated, but a problem can also arise where decoding cannot be performed correctly on the receiving side. Therefore, in the protocol (3GPP TS 26.201), additional CRC is performed to check substream A. When errors occur in speech bits in substream B and substream C, the subjective experience of speech is reduced in descending order based on bit order. Unlike substream A, when substream B and substream C contain errors, a decoder on the receiving side can normally complete decoding. The sensitivities of substream A, substream B, and substream C to a bit error are classified as follows: Subflow A > subflow B > subflow C.

[0061] Furthermore, the significance of the bits in each of substream A, substream B, and substream C is reduced sequentially. In the 3GPP TS 26.201 protocol, the division of substream A, substream B, and substream C at each rate is listed, and AMR-WB is used as an example, as illustrated in Table 1: Table 1 Frame type | Mode | Codec | AMR-WB | Total number of bits | Class A | Class B | Class C | 0 | 6.6 | 132 | 54 | 78 | 0 | 1 | 8.85 | 177 | 64 | 113 | 0 | 2 | 12.65 | 253 | 72 | 181 | 0 | 3 | 14.25 | 285 | 72 | 213 | 0 | 4 | 15.85 | 317 | 72 | 245 | 0 | 5 | 18.25 | 365 | 72 | 293 | 0 | 6 | 19.85 | 397 | 72 | 325 | 0 | 7 | 23.05 | 461 | 72 | 389 | 0 | 8 | 23.85 | 477 | 72 | 405 | 0 Petition 870240028419, dated 01 / 04 / 2024, page 26 / 91 19 / 76

[0062] In VoLTE, a detailed speech transmission format is illustrated in figure 1b.

[0063] Figure 1b illustrates a typical packet format of a VoLTE speech frame. An RTP payload in the upper part of Figure 1b represents the speech frame data. A specific structure of the RTP payload is illustrated in the lower part of Figure 1b, and includes three substreams: A, B, and C. A specific length value for each substream corresponds to a requirement in 3GPP TS 26.201. AMR-WB is used as an example. As illustrated in Table 1, the length of substream C is equal to 0, so a speech frame includes only substream A and substream B.

[0064] It is determined, based on a segmentation and re-segmentation mechanism, that when at least one of the segments belonging to the same PDCP (Packet Data Convergence Protocol) SDU is lost, all RLC segments related to the PDCP PDU are discarded. In a VoLTE situation, as illustrated in Figure 1a, it is considered that the entire PDCP PDU is divided into [0,...,n-1] RLC SDUs. In this case, if an RLC SDU (n-1) is lost during transmission, all n RLC SDUs are discarded based on an RLC layer processing mechanism, where n is a positive integer.

[0065] It can be learned from the AR encoding form that, in this case, the RLC (n-1) SDU is in substream B or substream C of the speech frame. The impact of the bits encoded in substream B or substream C on the subjective experience of speech is less than that of substream A.

[0066] Compared to a solution in which an incorrect RLC SDU is reserved and a PDCP containing an error is assembled and submitted to a PDCP layer, a solution in which all related RLC SDUs are lost and, eventually, a speech packet Petition 870240028419, dated 01 / 04 / 2024, p. 27 / 91 20 / 76 When PDCP is lost, it causes a greater loss to the subjective experience. For example, in an instance where a speech rate of 23.85 kbps in AMR-WB is used, the total length of a speech frame is 476 bits, and currently, the average TB size of RLC SDUs is 100 bits. In this situation, when an error occurs in all 100 bits, discarding all 476 bits results in a lesser subjective speech experience than if all 476 bits were reserved.

[0067] It can be understood that the above situation is described using AMR as an example, and is also applicable to a field such as video frame transmission.

[0068] Therefore, to avoid a problem of relatively large data loss that is caused by discarding all RLC PDUs in a PDCP PDU when an RLC PDU in the PDCP PDU is lost, an embodiment of the present invention provides a data processing method to recover a lost RLC PDU, so as to prevent all RLC PDUs in a corresponding PDCP from being discarded, thereby reducing frame data loss and improving a user's subjective experience.

[0069] Figure 2 is a method flowchart of a data processing method according to an embodiment of the present invention. The method includes the following steps.

[0070] Step 201: Obtain N correctly received RLC PDUs in a PDCP PDU.

[0071] A data processing device needs to get some correctly received RLC PDUs into the PDCP PDU before generating the PDCP PDU.

[0072] A correctly received PDU RLC is a PDU RLC that belongs to a PDU MAC in which a CRC (Cyclic Redundancy Check) verification is correct; to be specific, a PDU RLC extracted from the PDU MAC in which the verification Petition 870240028419, dated 01 / 04 / 2024, page 28 / 91 21 / 76 CRC is correct. The PDU MAC is a correctly transmitted / received PDU MAC.

[0073] In this embodiment of the present invention, the data processing device may be a device such as a base station or UE. This is not specifically limited in this embodiment of the present invention.

[0074] Step 202: Generate the PDCP PDU based on the N correctly received RLC PDUs.

[0075] The PDCP PDU includes M RLC PDUs, N and are positive integers, and N < M.

[0076] Even if the PDCP includes data that contains an error, the PDCP can be reserved, or even if the PDCP PDU is not completely obtained, the PDCP can be generated based on at least one correctly received and obtained RLC PDU, provided that the data processing device obtains only one correctly received RLC PDU, which indicates that the data processing device obtains valid data from the PDCP to which the RLC PDU belongs. Alternatively, the data processing device can obtain the PDCP based on some RLC PDUs within the correctly received and obtained RLC PDUs.

[0077] Step 202 in this embodiment of the present invention can be implemented in a plurality of ways. For example, after some correctly received RLC PDUs are obtained, the PDCP can be generated by using these correctly received RLC PDUs.

[0078] In some embodiments of the present invention, generating the PDCP PDU based on N correctly received RLC PDUs includes: obtaining at least one recovered RLC PDU, and generating the PDCP PDU based on N correctly received RLC PDUs and the recovered RLC PDU. Petition 870240028419, dated 01 / 04 / 2024, p. 29 / 91 22 / 76

[0079] When a data recovery device obtains the correctly received RLC PDUs in the PDCP PDU, to generate the PDCP PDU, the data recovery device needs to obtain a quantity of RLC PDUs required by the PDCP, which includes the correctly received RLC PDUs and a predetermined quantity of recovered RLC PDUs. The recovered RLC PDUs and the correctly received RLC PDUs can be used as all the RLC PDUs included in the PDCP PDU. Therefore, the PDCP PDU can be generated based on N correctly received RLC PDUs and the recovered RLC PDUs.

[0080] There is a plurality of data sources or types in a retrieved RLC PDU data field. For example, the data in the retrieved RLC PDU is a speech payload obtained from an incorrectly received MAC PDU, or the data in the retrieved RLC PDU is a sequence of zeros or a sequence of random bits.

[0081] In some embodiments of the present invention, the data in the correctly received N RLC PDUs includes a significant bit in the PDCP PDU. Therefore, the PDCP PDU can be generated provided the significant bit is obtained. A remaining insignificant bit can be filled in another way, for example, by using a predetermined bit sequence, or obtained from the incorrectly received MAC PDU.

[0082] In some embodiments of the present invention, an RLC PDU in the PDCP PDU to be assembled in this embodiment of the present invention is lost, and after some correctly received RLC PDUs are obtained, a recovered RLC PDU is used to recover the lost RLC PDU. In this case, a process for carrying out the data processing method in this embodiment of the present invention is described below.

[0083] Figure 3a is a method flowchart of a method of Petition 870240028419, dated 01 / 04 / 2024, p. 30 / 91 23 / 76 data processing according to an embodiment of the present invention. With reference to Figure 3a, the data processing method in this embodiment of the present invention includes the following steps.

[0084] Step 301: Obtain at least one correctly received RLC PDU in a PDCP PDU to be assembled.

[0085] A correctly received RLC PDU belonging to a MAC PDU where a CRC check is correct, i.e., an RLC PDU extracted from a MAC PDU where the CRC (Cyclic Redundancy Check) check is correct. The MAC PDU is a correctly transmitted / received MAC PDU.

[0086] Step 302: Determine if an RLC PDU in the PDCP PDU to be assembled is missing, and if the RLC PDU in the PDCP PDU to be assembled is missing, perform step 303.

[0087] After a data recovery device obtains at least one correctly received RLC PDU in the PDCP PDU to be mounted, the data recovery device determines if an RLC PDU in the PDCP PDU to be mounted is missing. If the RLC PDU in the PDCP PDU to be mounted is missing, the data recovery device attempts to recover the missing RLC PDU. For a specific recovery method, refer to the detailed descriptions in steps 303 to 305. If no RLC PDUs in the PDCP PDU to be mounted are missing, the PDCP PDU is obtained by mounting these correctly received RLC PDUs.

[0088] There is a plurality of specific determination methods. This is not specifically limited to this embodiment of the present invention. The following examples are provided.

[0089] (1) After an RLCSN of an initial PDU RLC and a RLCSN of a final RLC PDU in the PDCP PDU to be assembled are determined, when not all RLC PDUs within a range Petition 870240028419, dated 01 / 04 / 2024, p. 31 / 91 24 / 76 of the RLCSN from the initial RLC PDU to the final RLC PDU are included in an RLC layer of the data recovery device. An RLC PDU that is not included in the range is a lost RLC PDU; in other words, it indicates that the RLC PDU in the PDCP PDU being mounted is lost. Otherwise, no RLC PDU in the PDCP PDU is lost.

[0090] (2) After obtaining some RLC PDUs in the package PDCP, the data recovery device, stops acquiring a remaining RLC PDU. In this case, it is determined that the RLC PDU in the PDCP PDU has been lost. The reason for stopping could be that the device actively interrupts acquisition, or the device stops acquiring due to a failure.

[0091] It can be understood that there are one or more missing RLC PDUs, and this is not specifically limited in this embodiment of the present invention. Furthermore, one type of missing RLC PDU is not specifically limited in this embodiment of the present invention.

[0092] In some embodiments of the present invention, step 32 is specifically performed to determine whether a predetermined RLC PDU in the PDCP PDU to be assembled has been lost. The predetermined RLC PDU is an RLC PDU whose speech quality parameter of the speech data is less than a predetermined quality threshold. Alternatively, the predetermined RLC PDU is an RLC PDU whose speech data in a data field belongs to a substream bit A. In other words, the data recovery device recovers the lost RLC PDU only when a specific RLC PDU is lost. Otherwise, the data recovery device does not recover the lost RLC PDU. Thus, when an RLC PDU that is inconveniently recovered is lost, the data recovery device stops recovering the RLC PDU. Petition 870240028419, dated 01 / 04 / 2024, p. 32 / 91 25 / 76 dida, and directly discards the PDCP PDU package to be assembled. In this way, selective recovery for the RLC PDU lost in the PDCP PDU is implemented, and the flexibility of the method in this embodiment of the present invention is improved, thus improving the efficiency of execution.

[0093] Step 303: Get data that is in a data field and is of type PDU RLC.

[0094] When the RLC PDU in the PDCP PDU to be assembled is lost, the data in the data field of the RLC PDU is retrieved, and the data in the data field is used to recover the data in a data field of the lost RLC PDU.

[0095] There are a plurality of specific methods for obtaining data in the PDU RLC data field. This is not specifically limited to this embodiment of the present invention. The following examples are provided.

[0096] (1) A random bit sequence is used as the data in the RLC PDU data field. In this case, a length of the random bit sequence needs to match a length of the RLC PDU data field.

[0097] (2) A predetermined bit sequence is used as the data in the RLC PDU data field. In this case, the length of the predetermined bit sequence must match the length of the lost RLC PDU data field. The predetermined bit sequence can be a sequence composed entirely of zeros, or a bit sequence that is obtained through statistical analysis and that has a beneficial recovery effect on the data, such as speech or video.

[0098] (3) A data payload extracted from an incorrectly received MAC PDU is used as the data in the RLC PDU data field. The incorrectly received MAC PDU is a MAC PDU Petition 870240028419, dated 01 / 04 / 2024, page 33 / 91 26 / 76 in which a CRC check is incorrect, and is discarded by the device. Therefore, the device loses an RLC PDU included in the incorrectly received MAC PDU. However, in the method in this embodiment of the present invention, the incorrectly received MAC PDU is stored in a predetermined storage area. After it is determined that the RLC PDU has been lost, the MAC PDU to which the lost RLC PDU belongs is retrieved from the storage area, and the data payload, such as a speech payload, is extracted from the MAC PDU. Even if the data payload is incorrect, the data payload can still be used to assemble a PDCP PDU that includes an error. Therefore, the PDCP PDU is reserved in the device.

[0099] Step 304: Obtain an RLC header.

[00100] When the PDU RLC is the PDCP PDU to be mounted and is lost, the RLC header still needs to be obtained, and the RLC header is used as an RLC header to recover the PDU RLC. The RLC header includes an RLCSN and FI.

[00101] The RLCSN is an RLC sequence number. When a long 10-bit sequence number is used, the RLCSN values ​​are cyclic values ​​from 0 to 1023 (inclusive 0 to 1023). FI is a 2-bit indicator bit in which an RLC segmentation situation is recorded.

[00102] There are a plurality of specific methods for obtaining the RLC header. The following examples are provided.

[00103] (1) After RLCSNs of all PDUs RLC in the PDU If a PDCP is assembled and an RLCSN of the missing PDU RLC is obtained, it can be determined. To be specific, of all the RLCSNs in the PDCP PDU being assembled, if an RLCSN does not correctly match any received PDU RLC, the RLCSN is the RLCSN of the missing PDU RLC. Alternatively, the RLCSN of the missing PDU RLC can... Petition 870240028419, dated 01 / 04 / 2024, p. 34 / 91 27 / 76 is determined based on the RLCSNs of the correctly received RLC PDUs followed by and following the lost RLC PDU. This is particularly applicable to a case where a plurality of RLC PDUs is lost. Then the FI of the RLC PDU is determined based on a location of the lost RLC PDU in the PDCP PDU. When the lost RLC PDU is located at an endpoint location in the PDCP PDU to be mounted, the FI of the RLC header is determined to be equal to 10. Otherwise, the FI is determined to be equal to 11.

[00104] (2) After the incorrectly received MAC PDU, which corresponds to the lost RLC PDU, is obtained, the RLC header is extracted from the MAC PDU, and the RLC header is used directly as the RLC header of the lost RLC PDU.

[00105] Step 105: Generate a retrieved RLC PDU using the RLC header and the data in the data field.

[00106] After obtaining the RLC header and the data in the data field, the data recovery device can generate the recovered RLC PDU based on the RLC header and the data in the data field. The recovered RLC PDU includes the RLC header and the data in the data field. The recovered RLC PDU is used to recover the lost RLC PDU in the PDCP PDU to be assembled, in other words, to replace the lost RLC PDU. Therefore, the PDCP PDU to be assembled includes all RLC PDUs.

[00107] Thus, the recovered RLC PDU can be obtained by performing only steps 303 to 305.

[00108] Step 306: Generate the PDCP PDU based on the correctly received RLC PDU and the retrieved RLC PDU.

[00109] The data recovery device obtains the correctly received RLC PDU, and recovers the lost RLC PDU by using the generated recovered RLC PDU and the recovery method described above. In this way, the data recovery device includes all the Petition 870240028419, dated 01 / 04 / 2024, page 35 / 91 28 / 76 RLC PDUs are integrated into the PDCP PDU to be assembled, so that the PDCP PDU can be obtained by assembling these RLC PDUs.

[00110] For example, Figure 3B is a diagram comparing the prior art with a specific implementation of the data processing method according to an embodiment of the present invention. In the prior art, if an RLC PDU belonging to a substream segment B is lost, the generation of the PDCP PDU fails. However, in this embodiment of the present invention, by recovering the lost RLC PDU, a PDCP PDU can be generated based on a correctly received RLC PDU and the RLC PDU obtained through recovery.

[00111] In conclusion, according to the technical solution provided in this embodiment of the present invention, at least one correctly received RLC PDU is obtained in the PDCP PDU to be assembled. The correctly received RLC PDU is the RLC PDU belonging to the MAC PDU in which the CRC verification is correct. Then, it is determined whether the RLC PDU in the PDCP PDU to be assembled has been lost. If the RLC PDU in the PDCP PDU to be assembled has been lost, the data in the data field of the RLC PDU needs to be obtained, and the RLC header needs to be obtained. Then, after the recovered RLC PDU is generated using the RLC header and the data in the data field, the PDCP PDU is generated based on the correctly received RLC PDU and the recovered RLC PDU. Therefore, when the RLC PDU in the PDCP PDU is lost, the recovered RLC PDU is generated to recover the lost RLC PDU, and the PDCP PDU can be obtained by assembling the recovered RLC PDU and the correctly received RLC PDU.Therefore, the PDCP PDU in which the RLC PDU is lost is prevented from being discarded, and the PDCP PDU is reserved, thus reducing data loss and improving frame data integrity. When a user utilizes the data related to the PDCP PDU, a sub-experience... Petition 870240028419, dated 01 / 04 / 2024, page 36 / 91 29 / 76 The user's objective can be improved. In other words, a specific BER is allowed when a packet is being assembled at the RLC layer, so as to prevent an entire PDCP packet from being discarded. Therefore, more valid speech bits are reserved, thus improving the subjective speech experience.

[00112] To describe more intuitively the data processing method in this embodiment of the present invention, the following example uses an example in which the method in this embodiment of the present invention is performed on one side of the base station in the VoLTE situation and the AMR-WB situation for the description. It can be understood that in addition to the AMR-WB situation, the method in this embodiment of the present invention can be applied to another situation, such as a video transmission situation. The speech payload that follows can also be another type of data.

[00113] Figure 4 is a method flowchart of a data processing method according to an embodiment of the present invention. With reference to Figure 4, the data processing method in this embodiment of the present invention includes the following steps.

[00114] Step 401: Obtain one or more MAC PDUs and a CRC that is used to verify MAC PDUs.

[00115] The base station obtains the MAC addresses and the CRC, which is used to verify the MAC addresses. A verification is performed using the CRC. If the CRC verification is correct, a MAC address is transmitted correctly; in other words, the base station receives the correct MAC address. If the CRC verification is incorrect, a MAC address is received incorrectly.

[00116] For example, a physical layer of the base station obtains a TB and CRC transport block through a HARQ process, where the transport block carries a MAC PDU, and the CRC is used Petition 870240028419, dated 01 / 04 / 2024, p. 37 / 91 30 / 76 to check the PDU MAC. The PDU MAC is a TB transport block before turbo code encoding. After being encoded and modulated, the PDU MAC and CRC are finally ported onto a physical channel for transmission.

[00117] Step 402: Record MAC PDU reception times.

[00118] When a TB (Transport Block) carrying a PDU MAC is obtained, the base station records a receive moment. The receive moment is used to record the moment when the base station obtains the PDU MAC. In a HARQ process situation, the receive moment is an initial transmission receive moment. The initial transmission receive moment is used to record the moment when the base station initially obtains the PDU MAC. If the CR check corresponding to the PDU MAC is incorrect, in other words, the PDU MAC is transmitted incorrectly, the PDU MAC is retransmitted using a retransmission mechanism of the base station to obtain the correctly transmitted PDU MAC. There is no need to record a receive moment of the retransmitted PDU MAC.To ensure a uniform description, a receiving moment in a specific situation in this embodiment of the present invention is an initial transmission receiving moment T. In other words, T is a receiving moment of initially transmitted data in each HARQ process. The initial transmission receiving moment T corresponds to a MAC PDU, or corresponding to a TB.

[00119] Step 403: Obtain a target match between a PDU MAC and a receive moment.

[00120] After recording the time of receipt, the base station obtains the target match between the PDU MAC and the initial transmission receipt time. The target match is a Petition 870240028419, dated 01 / 04 / 2024, page 38 / 91 31 / 76 correspondence between the MAC PDU and the initial transmission reception time. Since the MAC PDU includes an RLC PDU, the target correspondence also includes a correspondence between the RLC PDU and the initial transmission reception time T.

[00121] Step 404: When the CRC verification is correct, obtain a correctly received RLC PDU from a first MAC PDU.

[00122] The first MAC PDU is a MAC PDU that is in the MAC PDUs and is verified as correct using CRC verification. The correctly received RLC PDU is an RLC PDU that belongs to a MAC PDU in which a CRC verification is correct.

[00123] After the base station obtains a CRC and a MAC PDU that are in a one-to-one match, if the CRC check is correct, the corresponding MAC PDU is a correctly transmitted MAC PDU, that is, the first MAC PDU. An RLC PDU extracted from the correctly transmitted MAC PDU is a correctly transmitted RLC PDU, and the correctly transmitted RLC PDU is the correctly received RLC PDU.

[00124] Step 404 is a specific method for the base station to obtain at least one correctly received RLC PDU in a PDCP PDU to be mounted. The base station obtains one correctly received RLC PDU in a PDCP PDU to be mounted, and there may be one or more correctly received RLC PDUs.

[00125] For example, after the base station obtains the TB carrying the PDU MAC and CRC, when CRC = 0, the physical layer of the base station transmits a data packet to a MAC layer based on a normal procedure, and transmits the initial transmission receipt time T that corresponds to the PDU MAC to the MAC layer. When the CRC check is correct, the MAC layer transmits, based on a processing procedure. Petition 870240028419, dated 01 / 04 / 2024, page 39 / 91 32 / 76 normal, the correctly transmitted PDU MAC and the initial transmission reception time T which corresponds to the correctly transmitted PDU MAC for an RLC layer. The CRC is a cyclic redundancy check value of the transport block, 0 indicates correct transmission and 1 indicates incorrect transmission.

[00126] Step 405: When the CRC verification is incorrect, store a second PDU MAC.

[00127] The second MAC PDU is a MAC PDU that is within the MAC PDUs and is verified as incorrect using CRC verification. In other words, if the CRC verification is incorrect, the MAC PDU verified using CRC is transmitted incorrectly, and the incorrectly transmitted MAC PDU is the second MAC PDU. An error that occurs during bit transmission, for example, bit flipping or bit deletion, can cause the incorrect transmission of the MAC PDU. In the prior art, if the MAC PDU is transmitted incorrectly, the MAC PDU is discarded, and consequently, an RLC PDU carried by the incorrectly transmitted MAC PDU is discarded. However, in the method in this embodiment of the present invention, the incorrectly transmitted MAC PDU is stored; the URLC PDU is not extracted from the incorrectly transmitted MAC PDU. Therefore, when the PDCP PDU is being assembled, the RLC PDU within the MAC PDU is in a lost situation.

[00128] For example, when the CRC verification is incorrect and the CRC-verified PDU MAC is transmitted a maximum number of times, the base station's physical layer transmits a verification result, a PDU MAC data packet, and an initial transmission receive time T corresponding to the PDU MAC data packet to the MAC layer. When the CRC verification is incorrect, the MAC layer transmits the incorrectly transmitted PDU MAC and the initial transmission receive time T corresponding to the PDU MAC data packet to the MAC layer. Petition 870240028419, dated 01 / 04 / 2024, page 40 / 91 33 / 76 cial T corresponding to the PDU MAC transmitted incorrectly to ErrorBuffer (an error storage unit) in the RLC layer. ErrorBuffer is a predetermined storage unit in the RLC layer for storing a PDU MAC that is transmitted incorrectly one last time.

[00129] Step 406: Determine if a default RLC PDU in a PDCP PDU to be mounted is lost, and if the default RLC PDU in the PDCP PDU to be mounted is lost, perform step 407.

[00130] The default RLC PDU is an RLC PDU belonging to a non-underflow segment A, to be specific, an RLC PDU whose speech data from the data in a data field of the RLC PDU belongs to a non-underflow bit A. of underflow B or a segment of underflow C.

[00131] For example, in a situation where an incorrectly received MAC PDU is stored in the predetermined ErrorBuffer, but a correctly received RLC PDU is stored in an RLC_Buffer (an RLC storage unit), when the QCI 1 RLC expiration packet assembly is triggered, steps 406 to 410 are performed repeatedly until an RLC_Buffer update is completed. In this way, PDCP PDUs to be assembled where RLC PDUs are lost in the RLC_Buffer are recovered by utilizing the lost RLC PDUs. In an RLC_Buffer recovery scheme, it is a process in which the lost RLC PDU is recovered as much as possible by utilizing the ErrorBuffer. Due to the retransmission mechanism, MAC PDUs may arrive out of order. A waiting mechanism is configured for RLC_Buffer. If an expected RLC PDU does not arrive, a packet assembly window may wait for a period of time, and expect Petition 870240028419, dated 01 / 04 / 2024, page 41 / 91 34 / 76 rar a PDU RLC arrives later. Only when the trigger times out can it be determined that the expected PDU RLC has been lost. In this way, packet recovery is not ultimately performed on the PDU PDCP. A QCI is a QoS (Quality of Service) class identifier, and QCI 1 represents a speech service.

[00132] An AMR-WB situation is used as an example, step 406 can be implemented as follows.

[00133] First, determining whether an RLC PDU in a PDCP PDU to be assembled has been lost includes the following steps.

[00134] Step A1: Determine an initial RLC PDU and a final RLC PDU in the PDCP PDU to be assembled based on the FI of an RLC PDU within a pre-stored RLC packet range.

[00135] The RLC packet range includes either a correctly received RLC PDU, or an initial RLC PDU and a correctly received RLC PDU in a subsequent PDCP PDU following the PDCP PDU to be mounted.

[00136] If the correctly received RLC PDUs within the RLC packet range include the initial RLC PDU and the final RLC PDU, the initial RLC PDU in the next PDCP PDU may not be used. If the correctly received RLC PDUs within the RLC packet range include the initial RLC PDU, but the final RLC PDU is a missing RLC PDU, the initial RLC PDU in the next PDCP PDU, following the PDCP PDU to be mounted, is used to determine the final RLC PDU in the PDCP PDU to be mounted.

[00137] For the RLC PDU to be correctly received, an initial RLC segment and an final RLC segment in a PDCP can be determined by analyzing an indicator bit FI in an RLC packet header. By determining the initial RLC PDU and the final RLC PDU in the PDCP PDU to be assembled, it can be determined, based on PDCP PDUs, whether each PDCP PDU of the base station needs to be retrieved. Petition 870240028419, dated 01 / 04 / 2024, page 42 / 91 35 / 76

[00138] For example, there are two types of RLC segments used separately to concatenate PDCP PDUs and not used to concatenate PDCP PDUs. Whether an RLC segment is used for concatenation or not can be determined by analyzing an RLC header. For RLC used for concatenation, an FI field is normally equal to 11, representing both the end of a current PDCP PDU and the beginning of a next PDCP PDU. For RLC not used for concatenation, an FI indicator bit of the initial RLC PDU in a PDCP PDU is equal to 01 and an FI indicator bit of the final RLC PDU in the PDCP PDU is equal to 10.

[00139] Step A2: Determine if all RLC PDUs within a range from an initial RLC PDU RLCSN to a final RLC PDU RLCSN are included in the RLC PDU packet range.

[00140] If not all RLC PDUs within the RLCSN range from the initial RLC PDU to the final RLC PDU are included in the RLC PDU packet range, one RLC PDU in the PDCP PDU to be mounted is lost. RLCSNs within the RLCSN range from the initial RLC PDU to the final RLC PDU are RLCSNs of all RLC PDUs in the PDCP PDU to be mounted. All RLC PDUs include the correctly received RLC PDU, and also include one lost RLC PDU. Therefore, if an RLC PDU does not match any RLCSN, the RLC PDU is the lost RLC PDU.

[00141] So, determining whether the missing RLC PDU belongs to non-subflow segment A includes the following steps.

[00142] Step A3: If not all RLC PDUs within the RLCSN range from the initial RLC PDU to the final RLC PDU are included in the RLC PDU packet range, determine if the total length of speech data from correctly and continuously received RLC PDUs starting at the initial RLC PDU is greater than a predetermined total length of a substream A. Petition 870240028419, dated 01 / 04 / 2024, page 43 / 91 36 / 76

[00143] The total length of substream A is the length of the speech data, from the PDCP PDU to be assembled, that belongs to a bit of substream A. As the speech frame format illustrated in Figure 2 shows, the substream A bit is followed by a substream B bit and a substream C bit. If the total length of the speech data from the correctly and continuously received RLC PDUs, starting from the initial RLC PDU, is greater than the total length of substream A, this indicates that the bits and substream A of the PDCP PDU were correctly received. In other words, the speech data from correctly received RLC PDUs includes all bits of substream A. In this case, a bit of speech data in the lost RLC PDU belongs to a non-A substream. In an AMR-WB (Wideband) situation, as illustrated in Table 1, the length of a substream C is equal to 0, so the speech frame includes only substream A and one substream B, and the non-substream A is substream B.

[00144] If the base station cannot obtain the initial RLC PDU, or the total length of the speech data from the correctly and continuously received RLC PDUs starting from the initial RLC PDU is less than the total length of substream A, the lost RLC PDU belongs to substream A. In the method in this embodiment of the present invention, a lost RLC PDU belonging to the substream A segment is not recovered. Since the speech frame is severely damaged when an error occurs in the substream A bit, the subjective speech experience is greatly reduced, and decoding cannot be performed correctly on a receiving side. Therefore, to improve the efficiency of performing the method in this embodiment of the present invention, an RLC PDU belonging to the substream A segment may not be recovered.

[00145] One way to obtain the predetermined total length of subflow A can be as follows: before step A3, by analysis Petition 870240028419, dated 01 / 04 / 2024, page 44 / 91 37 / 76 of a successfully assembled PDCP PDU, the base station can learn about the current encoding rate and ROHC switching information, so as to know the length of substream A. This is a preparation for the data processing method in this embodiment of the present invention.

[00146] Step A4: If the total length of speech data from correctly and continuously received RLC PDUs, starting with the initial RLC PDU, is greater than the predetermined total length of substream A, perform the following step to obtain data in a data field of an RLC PDU.

[00147] As described above, if the total length of speech data from correctly and continuously received RC PDUs, starting with the initial RLC PDU, is greater than the predetermined total length of substream A, this indicates that the lost RLC PDU belongs to substream segment B. Then, the following method for recovering the lost RLC PDU is performed. In some embodiments of the present invention, if an RLC PDU belonging to substream segment A and which is in the PDCP PDU to be assembled is lost, the data processing method in that embodiment of the present invention is abandoned.

[00148] It can be understood that, by using the above method, the method in this embodiment of the present invention can be used to determine only whether the lost RLC PDU belongs to sub-stream segment A or sub-stream segment B. Alternatively, in some embodiments, the method can be used to determine the correctly received RLC PDU, to be specific, to determine whether the correctly received RLC PDU belongs to sub-stream A or sub-stream B. In this way, it can be determined, based on whether the total length of the data from the correctly and continuously received RLC PDUs is greater than the total length of the sub-stream. Petition 870240028419, dated 01 / 04 / 2024, p. 45 / 91 38 / 76 A, whether each received RLC PDU and each lost RLC PDU belong to sub-stream segment A or sub-stream segment B.

[00149] A bit in substream A is a significant bit in a speech PDCP PDU. For example, in a situation where an ROHC switch is connected, substream A includes an upper-layer header (including a PDCP header, an ROHC compression header, an RTP payload header of a BE or OA mode) and class A bits that are in a speech payload and are specified in a protocol. In a situation where the ROHC switch is disconnected, substream A includes only an unpredictable portion in the upper-layer header and the class A bits in the speech payload. A bit in substream A is a relatively insignificant bit in the speech PDCP PDU. For example, substream B includes the class B bits that are in a speech payload and are specified in the protocol.

[00150] In this way, an initial RLC PDU and a final RLC PDU in a PDCP PDU can be obtained within the RLC packet range, and whether each RLC PDU is sub-stream segment A or sub-stream segment B will be determined.

[00151] It can be understood that the above method is described based on the fact that the lost RLC PDU is subflow segment B. In some embodiments of the present invention, the lost RLC PDU may not be determined, and the data processing method provided in this embodiment of the present invention may be performed when it is determined that the RLC PDU has been lost. Alternatively, in some embodiments of the present invention, the data processing method provided in this embodiment of the present invention is performed only when it is determined that the predetermined RLC PDU in the PDCP PDU to be assembled is lost. The predetermined RLC PDU is an RLC PDU whose speech quality parameter of Petition 870240028419, dated 01 / 04 / 2024, page 46 / 91 39 / 76 speech data in the RLC PDU is below a predetermined quality threshold; in other words, the speech data from the predetermined RLC PDU is not significant in the PDCP PDU to be assembled. After the RLC PDU is lost, if an RLC PDU containing an error is recovered for the lost predetermined RLC PDU, the overall speech quality is not greatly affected, and positive gains are obtained. However, if recovery is performed for the important RLC PDU, the RLC PDU containing an error may have a significant impact on a user's subjective experience, so recovering the lost RLC PDU is of little significance. In this case, directly discarding the PDCP PDU to be assembled may improve execution efficiency. An RLC PDU belonging to non-subflow A is a specific example of an RLC PDU whose speech data quality parameter is below the predetermined quality threshold.

[00152] Step 407: Get data in a data field

[00153] The data in the data field is data that is in a data field and is of a PDU RLC type. When the predetermined PDU RLC in the PDCP PDU to be assembled is lost, the speech data from the PDU RLC is obtained to recover the data in a data field of the lost PDU RLC. In this embodiment of the present invention, an example in which the data in the data field of the PDU RLC is speech data is used for descriptive purposes.

[00154] There are a plurality of specific methods for obtaining the data in the PDU RLC data field, and several examples are provided below.

[00155] 1. The data in the data field is obtained based on PDU MAC incorrectly received.

[00156] Step B1 Obtain a target MAC PDU.

[00157] The target MAC PDU, that is, the second MAC PDU in step 405, is a MAC PDU verified as incorrect by using veri Petition 870240028419, dated 01 / 04 / 2024, page 47 / 91 40 / 76 CRC configuration, and an RLC PDU included in the target MAC PDU is the RLC PDU lost in the PDCP PDU to be mounted. However, an RLC PDU ported to the second MAC PDU is the RLC PDU lost in the PDCP PDU to be mounted.

[00158] Optionally, a specific implementation for obtaining the target MAC PDU is to determine the receive times T1 and T2 based on a target match. T1 is an initial receive time and a correctly received RLC PDU that is located before the lost RLC PDU in the PDCP PDU to be assembled, and T2 is an initial receive time of a correctly received RLC PDU that is located after the lost RLC PDU in the PDCP PDU to be assembled. Then, the target MAC PDU, whose receive time is between T1 and T2, is selected from one or more secondary MAC PDUs based on the target match. In other words, the target MAC PDU is selected from the secondary MAC PDUs based on a match between the initial receive time obtained in the following step and the MAC PDU.

[00159] For example, based on the initial transmission reception times T1 and T2 of the correctly received RLC PDUs, which are respectively located before and after the lost RLC PDU, the MAC PDU whose initial transmission reception time is between T1 and T2 is selected from the ErrorBuffer. If the corresponding MAC PDU is obtained, the segment is recovered. ErrorBuffer is the predetermined storage in the RLC layer to store the MAC PDU that was last transmitted incorrectly.

[00160] In some embodiments of the present invention, if more than one MAC PDU, whose initial transmission reception time is between T1 and T2, is selected from the ErrorBuffer, the recovery of the RLC PDU is abandoned. In this case, more than one MAC PDU may include an RTCP packet (an RTP control packet) and / or Petition 870240028419, dated 01 / 04 / 2024, page 48 / 91 41 / 76 non-speech support packet. Recovery is abandoned, so that the content of the non-speech packet is not considered as a speech packet. Certainly, in some embodiments, after a plurality of MAC PDUs, whose initial transmission reception time is between T1 and T2, is obtained, a MAC PDU can be selected from the plurality of MAC PDUs to perform the method in this embodiment of the present invention.

[00161] Step B2: Obtain a speech payload from the target MAC PDU.

[00162] After the target MAC PDU is obtained, the data in the RLC PDU data field can be obtained based on the target MAC PDU. Since the RLC PDU in the target MAC PDU is the lost RLC PDU, a BER of an RLC PDU obtained through recovery is relatively small, and speech quality is less affected after decoding. In this way, it can be implemented that the data in the recovered RLC PDU is a speech payload obtained from an incorrectly received MAC PDU.

[00163] In some embodiments of the present invention, if the lost RLC PDU is substream segment B and more than two RLC PDUs are lost, the method of obtaining data in the data field based on the incorrectly received MAC PDU in that embodiment of the present invention is also abandoned, and therefore the method of data processing in that embodiment of the present invention is abandoned, so that a bit location of a correctly received RLC segment is not lost. The lost RLC PDU is typically one or two substream segments B. Of course, this may not be specifically limited in some embodiments.

[00164] A specific method for obtaining the speech payload from the target MAC PDU may vary depending on the specific location of the RLC PDU lost in the PDCP PDU to be mounted. Details are in Petition 870240028419, dated 01 / 04 / 2024, page 49 / 91 42 / 76 follow:

[00165] 1.1. When the missing RLC PDU is not located at a final location on the PDCP PDU to be assembled; Example 1: An RLC PDU is lost.

[00166] Step C1: When the missing RLC PDU is not located at the final location on the PDCP PDU to be assembled and an RLC PDU is lost, obtain a speech payload length from the missing RLC PDU by calculating based on a speech data length from a correctly received RLC PDU and a predetermined speech frame length.

[00167] After the RLCSNs of all RLC PDUs in the PDCP PDU to be assembled are obtained, a specific location of the missing RLC PDU in the PDCP PDU to be assembled can be determined based on an RLCSN of the missing RLC PDU. The speech frame length can be predetermined. Alternatively, by analyzing the successfully assembled PDCP PDU, the base station can learn about the current bit rate and ROHC switching information, so as to know the speech frame length.

[00168] The Lm length of the lost RLC PDU speech payload is calculated based on the correctly received RLC PDU and the speech frame length. For example, the length of the lost RLC PDU speech payload can be obtained by subtracting the total length of the correctly received RLC PDU speech data from the predetermined speech frame length.

[00169] Step C2: For the target MAC PDU, extract, from back to front, a speech payload whose length is equal to the length of the speech payload.

[00170] For the selected target MAC PDU, the Lm length of the speech payload is extracted from back to front. The length of the speech payload is a length of the RLC PDU ported to the MAC PDU. Petition 870240028419, dated 01 / 04 / 2024, pp. 50 / 91 43 / 76 target. Since the header length (MAC + RLC) of the MAC PDU is uncertain, it is difficult to determine an initial data location. However, the speech payload on the target MAC PDU can be obtained in a way where the data is extracted from back to front in this embodiment of the present invention. Example 2: A plurality of RLC PDUs is lost.

[00171] Obtaining the speech payload from the target MAC PDU involves the following steps:

[00172] Step D1: When the missing RLC PDUs are not located at the final location on the PDCP PDU to be mounted, determine a MAC header length of the target MAC PDU.

[00173] The base station first determines the header length of the target PDU MAC, to prepare for header length removal. For example, whether the MAC header includes a short-period BSR (Buffer Status Report) is determined based on whether a periodic BSR_Timer expires. By observing packet capture data on an existing network, if a PDU MAC to which an RLC PDU located at an intermediate location belongs includes a periodic BSR, the periodic BSR is a short-period BSR.

[00174] The periodic BSR_Timer is a periodic BSR timer. Each time a BSR is reported, the timer is reset, and a BSR report is triggered when the timer exceeds a predetermined period. Currently, a BSR reporting period is set to 10 ms.

[00175] Step D2: Remove the MAC header length and a predetermined RLC header length from the target MAC PDU to obtain the speech payload.

[00176] The RLC header length can be known beforehand. After that, the MAC header length is determined. Petition 870240028419, dated 01 / 04 / 2024, pp. 51 / 91 44 / 76 do, the MAC header length and the predetermined RLC header length can be removed from the target MAC PDU, and the data obtained is the speech payload on the target MAC PDU.

[00177] For example, if the target MAC PDU includes a short-period BSR, the MAC header length is three bytes. Otherwise, the MAC header length is one byte. The speech payload is obtained by removing the MAC header length and RLC header length from the MAC PDU. When an RLCSN length is equal to 10 bits, the RLC header length is equal to two bytes.

[00178] It can be understood that the method of obtaining in Example 2 is particularly applicable to a situation in which a plurality of RLC PDUs is lost. When an RLC PDU is lost, the method in Example 1 can be used, or the method in Example 2 can be used.

[00179] A specific method for determining, based on whether the periodic BSR_Timer has expired, whether the MAC header includes the short-period BSR is as follows: Determine, in one or more initial MAC PDUs, a MAC PDU that is followed by the target MAC PDU and that includes a short-period BSR; and then determine if a period between the receive time of the target MAC PDU and a receive time of the preceding MAC PDU that includes the short-period BSR exceeds the predetermined periodic BSR_Timer.

[00180] If the period between the time the target MAC PDU is received and the time the previous MAC PDU is received, which includes the short-period BSR, exceeds the predetermined periodic BSR_Timer, the periodic BSR_Timer expires, and the MAC header includes the short-period BSR.

[00181] In other words, if the period between the moment of re Petition 870240028419, dated 01 / 04 / 2024, p. 52 / 91 45 / 76 If the time between the receipt of the target MAC PDU and the receipt time of the previous MAC PDU, which includes the short-period BSR, exceeds the predetermined periodic BSR_Timer, the MAC header length of the target MAC PDU is determined to be three bytes. If the time between the receipt of the target MAC PDU and the receipt time of the previous MAC PDU, which includes the short-period BSR, does not exceed the predetermined periodic BSR_Timer, the MAC header length of the target MAC PDU is determined to be one byte.

[00182] In some embodiments of the present invention, when the plurality of RLC PDUs is lost, speech payloads from most of the lost RLC PDUs can be obtained by using the method in example 2, and the method in example 1 is carried out until there is one RLC PDU remaining.

[00183] The descriptions above in 1.1 are about a speech payload recovery method in which the missing RLC PDU segment belongs to substream B and is not located at the final location in the PDCP PDU to be assembled. A speech payload recovery method described in 1.2 is used for a case in which the missing RLC PDU segment belongs to substream B and is located at the final location in the PDCP PDU to be assembled.

[00184] 1.2. When the missing RLC PDU is located at a final location on the PDCP PDU to be assembled.

[00185] When the missing RLC PDU is located at the final location on the PDCP PDU to be assembled, obtaining the speech payload from the target MAC PDU includes the following steps.

[00186] Step E1: When the lost RLC PDU is located at the final location on the PDCP PDU to be mounted, determine a final location and a starting location of the speech payload on the target MAC PDU. Petition 870240028419, dated 01 / 04 / 2024, pp. 53 / 91 46 / 76

[00187] Since the RLC PDU in the target MAC PDU is the missing RLC PDU in the PDCP PDU to be mounted, and the missing RLC PDU is located at the final location of the PDCP PDU to be mounted, the target MAC PDU can include a padding bit at one end of the target MAC PDU in addition to the MAC header, the RLC header, and the speech payload in the data field. Therefore, after the initial and final locations of the speech payload in the target MAC PDU have been determined, the speech payload can be accurately extracted.

[00188] Step E2: Extract the speech payload from the target MAC PDU based on the starting location and the ending location.

[00189] As described above, after the initial location and final location of the speech payload on the target PDU MAC are determined, the data located between the initial location and the final location can be extracted from the target PDU MAC, and the data obtained from the speech payload.

[00190] There are a plurality of methods for determining the final location and the initial location of the speech payload on the target MAC PDU. The following example is provided.

[00191] Step D1: Calculate a speech payload length from the lost RLC PDU based on a predetermined speech frame length and a speech data length from an RLC PDU that is not located at the final location in the PDCP PDU to be mounted.

[00192] Step D2: Determine, in one or more first MAC PDUs, a MAC PDU that is followed by the target MAC PDU and that includes a short-period BSR.

[00193] Step D3: Determine if a period between the time of receipt of the target MAC PDU and a previous time of receipt of the MAC PDU, which includes the short-period BSR, exceeds a predetermined periodic BSR_Timer. If the period between the time Petition 870240028419, dated 01 / 04 / 2024, pp. 54 / 91 If the time between receiving the target PDU MAC and the time of receiving the previous PDU MAC, which includes the short-period BSR, does not exceed the predetermined periodic BSR_Timer, step D4 is performed. If the period between receiving the target PDU MAC and receiving the previous PDU MAC, which includes the short-period BSR, exceeds the predetermined periodic BSR_Timer, step D5 is performed.

[00194] Step D2 and Step D3 are specific implementation methods for determining, based on whether the periodic BSR_Timer expires, whether the MAC header includes a periodic BSR.

[00195] Step D4: Determine that the MAC header length of the target MAC PDU is one byte.

[00196] Step D5: Determine, based on a obtained TB size and the length of the lost RLC PDU speech payload, a type of periodic BSR included in the target MAC PDU's MAC header and a padding bit length.

[00197] Periodic BSR types include a long BSR and a short BSR. The BSR type affects the length of the MAC header, and also affects whether a padding bit exists.

[00198] Step D6: Determine the MAC header length of the target MAC PDU based on the BSR type.

[00199] Step D7: Determine the endpoint location of the speech payload on the target MAC PDU based on the padding bit length.

[00200] For example, the padding bit length and BSR type are inferred based on the obtained TB size, a given portion of the MAC header length, an RLC header length, and a payload length Lm. To be specific, a length for each portion is inferred based on a ratio: a header length for each MAC control element + Petition 870240028419, dated 01 / 04 / 2024, pp. 55 / 91 48 / 76 a data payload length + a padding length = a TB size. For example, if it is configured that Lremain = TB size - 7 x 8 - Lm. If Lremain < 16, the BSR type is a short BSR, the MAC header length is five bytes, and the padding bit length is Lremain. If Lremain = 16, the BSR type is a long BSR, the MAC header length is five bytes, and there is no padding bit. If Lremain > 16, the BSR type is a long BSR, the MAC header length is seven bytes, and the padding bit length is Lremain - 16. After the padding bit length is determined, the endpoint location of the speech payload is determined. 7 x 8 indicates that the MAC header length is equal to seven bytes, that is, 56 bits in the following case: a short BSR, padding, or a long BSR, no padding.

[00201] Step D8: Determine the initial location of the speech payload on the target MAC PDU based on the MAC header length and the predetermined RLC header length.

[00202] After the initial location and final location of the speech payload on the target PDU MAC are determined, the speech payload can be extracted from the target PDU MAC based on the initial and final locations.

[00203] In the above method, the data in the data field is obtained based on the incorrectly received MAC PDU. To be specific, the RLC PDU in the MAC PDU whose CRC verification is incorrect is reserved. Even if a data error occurs during the transmission of the RLC PDU, the speech payload data of the incorrectly received RLC PDU is reserved, so that a recovered RLC PDU is constructed, and the corresponding PDCP PDU can be reserved. Another method for obtaining the data in the data field of the RLC PDU is described below. Petition 870240028419, dated 01 / 04 / 2024, p. 56 / 91 49 / 76

[00204] 2. A predetermined bit sequence is used as the data in the data field.

[00205] The data in the PDU RLC data field can be obtained as follows.

[00206] When the lost RLC PDU is located at the end location in the PDCP PDU to be assembled, the speech payload length of the lost RLC PDU is calculated based on the predetermined speech frame length and a speech data length from an RLC PDU that is not located at the end location in the PDCP PDU to be assembled. For example, the speech payload length of the lost RLC PDU can be obtained by subtracting the length of a received RLC PDU's speech payload from a predetermined speech frame length in a current mode. Then, when the speech payload length is less than a predetermined length limit, an all-zero sequence, whose length coincides with the speech payload length, is obtained.

[00207] All RLC PDUs that are not located in the final location may be correctly received RLC PDUs, or may include both correctly received RLC PDUs and an RLC PDU obtained from the recovery method in 1.1, to be specific, an RLC PDU generated based on the data in a data field of the RLC PDU that is obtained by using the above method when the missing RLC PDU is not located in the final location in the PDCP PDU to be assembled.

[00208] It can be learned from the above descriptions of the content related to the speech frame format that an RLC PDU located at the endpoint in the PDCP PDU is the least meaningful speech data. Even if the data includes an error, a user's subjective experience with constructed speech data Petition 870240028419, dated 01 / 04 / 2024, pp. 57 / 91 50 / 76, the data containing an error is not significantly affected. Therefore, the predetermined bit sequence can be used directly to recover the speech data from the lost RLC PDU. In addition to the all-zero sequence, the predetermined bit sequence can be a sequence of bits consisting entirely of 1s, or another sequence of 0-1 bits. This is not specifically limited in this embodiment of the present invention since, after a length of a speech payload from the RLC PDU located at the final location is calculated based on the correctly received RLC PDUs or recovered RLC PDU, a length of the predetermined bit sequence used for recovery is equal to the length of the speech payload. In this way, the efficiency of generating the recovered RLC PDU can be improved. To further reduce the impact of data containing an error in the speech frame, a determination step is added to this embodiment of the present invention.To be specific, the method in which the predetermined bit sequence is used as the data in the data field is only performed when the length of the lost RLC PDU speech payload does not exceed a safe length limit.

[00209] In some embodiments of the present invention, when the lost RLC PDU is located at the final location in the PDCP PDU to be assembled, in order to adaptively select an RLC PDU recovery method that is performed efficiently and in which the error bits are reduced, after the speech payload length of the lost RLC PDU is calculated based on the predetermined speech frame length and the speech data length of the RLC PDU that is not located at the final location in the PDCP PDU to be assembled, the speech payload length of the lost RLC PDU and the predetermined safe length limit can be used to determine. When the speech payload length of the PDU Petition 870240028419, dated 01 / 04 / 2024, pp. 58 / 91 51 / 76 If the lost RLC exceeds the safe length limit, the method described in 1.2 above is performed. If the speech payload length of the lost RLC PDU does not exceed the safe length limit, the method described in 2 above is performed to recover the RLC PDU located at the endpoint.

[00210] For the above methods, to obtain data in the data field of the RLC PDU, one method is performed based on the incorrectly received MAC address of the PDU, and the other method is performed by using the predetermined bit sequence as the data in the data field for the RLC PDU located at the final location. Another method for obtaining data in the data field of the RLC PDU is described below.

[00211] 3. A random bit sequence is used as the data in the data field.

[00212] To be specific, obtaining the data in the PDU RLC data field includes the following steps.

[00213] Step E1: Calculate the length of a lost RLC PDU speech payload based on the length of correctly received RLC PDU speech data and a predetermined speech frame length.

[00214] The base station can obtain the speech payload length of the lost RLC PDU by calculating it by subtracting the length of the correctly received speech data from the PDCP PDU to be assembled from the predetermined speech frame length. There may be one or more lost RLC PDUs. When a plurality of RLC PDUs is lost, the speech payload length obtained through the calculation is a set of the speech payload lengths of all the lost RLC PDUs.

[00215] Step E2: Obtain a random bit sequence whose length matches the length of the speech payload. Petition 870240028419, dated 01 / 04 / 2024, p. 59 / 91 52 / 76

[00216] After calculating the length of the lost RLC PDU speech payload, the base station obtains the random bit sequence whose length is equal to the length of the lost RLC PDU speech payload, and uses the random bit sequence as data in a data field of a recovered RLC PDU.

[00217] The above method, in which the random bit sequence is used as the data in the data field, can be used as an alternative to the method of obtaining data in the data field of the RLC PDU based on the incorrectly received MAC PDU. For detailed descriptions of method 3, refer to the following descriptions of the embodiment illustrated in figure 5.

[00218] Step 408: Obtain an RLC header.

[00219] When the predetermined RLC PDU in the PDCP PDU to be mounted is lost, the base station still needs to obtain the RLC header, and uses the RLC header to obtain the recovered RLC PDU. The RLC header includes an RLCSN and FI.

[00220] Optionally, to accurately obtain the RLC header, in some embodiments of the present invention, step 408 can be implemented as follows:

[00221] Determine the RLCSN of the RLC header based on an RLCSN of a correctly received RLC PDU that is located before the lost RLC PDU and / or an RLCSN of a correctly received RLC PDU that is located after the lost RLC PDU. When the lost RLC PDU is located at a final location in the PDCP PDU to be assembled, the RLC header FI is determined to be equal to 10. When the lost RLC PDU is not located at a final location in the PDCP PDU to be assembled, the RLC header FI is determined to be equal to 11.

[00222] Therefore, the RLCSN of the lost segment can be accurately inferred based on the correctly received RLC PDU which is Petition 870240028419, dated 01 / 04 / 2024, pages 60 / 91 53 / 76 located before the lost RLC PDU and the correctly received RLC PDU that is located after the lost RLC PDU. FI is determined based on whether the lost RLC PDU is a last segment in the PDCP PDU to which the lost RLC PDU belongs.

[00223] Step 409: Generate the retrieved RLC PDU using the RLC header and the data in the data field.

[00224] After the data in the RLC PDU data field and the RLC header are obtained using the above method, the recovered RLC PDU can be generated based on two pieces of data. The recovered RLC PDU can be used to replace the lost RLC PDU in the PDCP PDU to be assembled. Therefore, when an RLC PDU in a PDCP layer of the base station is lost, the base station can still obtain all the RLC PDUs in the PDCP PDU to be assembled.

[00225] For example, the base station constructs a valid RLC PDU based on the obtained speech payload and with reference to the inferred RLCSN and the indicator FI, and writes the valid RLC PDU to the RLC_Buffer which is used for packet assembly to be performed. RLC_Buffer is a temporary storage that is in the RLC layer and is used to store an RLC PDU that is correctly received and is used for packet assembly to be performed.

[00226] Step 410: Generate the PDCP PDU based on the correctly received RLC PDU and retrieved RLC PDU.

[00227] In this way, the base station includes both the correctly received RLC PDU in the PDCP PDU to be assembled and the recovered RLC PDU used to recover the lost RLC PDU. Therefore, no RLC PDU in the PDCP PDU to be assembled, in which the RLC PDU is originally lost, and the base station can generate the PDCP PDU based on the correctly received RLC PDU and the recovered RLC PDU.

[00228] For example, by performing the above method, RLC_Buffer Petition 870240028419, dated 01 / 04 / 2024, pages 61 / 91 54 / 76 of the base station is updated. RLC_Buffer includes both the correctly received RLC PDU and the retrieved RLC PDU. Therefore, the PDCP PDU can be assembled based on a normal packet assembly procedure.

[00229] In conclusion, at least one correctly received RLC PDU is obtained in the PDCP PDU to be assembled. The correctly received RLC PDU is the RLC PDU belonging to the MAC PDU where the CRC verification is correct. Then, it is determined whether the RLC PDU in the PDCP PDU to be assembled has been lost. If the RLC PDU in the PDCP PDU to be assembled is lost, the data in the RLC PDU's data field is obtained, and the RLC header is obtained. Then, after the recovered RLC PDU is generated using the RLC header and the data in the data field, the PDCP PDU is generated based on the correctly received RLC PDU and the recovered RLC PDU. Thus, when the RLC PDU in the PDCP PDU is lost, the recovered RLC PDU is generated to recover the lost RLC PDU, and the PDCP PDU can be obtained by assembling the recovered RLC PDU and the correctly received RLC PDU.Therefore, the PDCP PDU in which the RLC PDU is lost is prevented from being discarded, and the PDCP packet is reserved, thus reducing data loss and improving frame data integrity. When the user uses the data related to the PDCP PDU, the subjective user experience can be improved.

[00230] The method illustrated in Figure 4 basically provides the method for recovering a lost RLC PDU based on an incorrectly received MAC PDU. Another method for recovering an RLC PDU using a random bit sequence is provided below. In the method illustrated in Figure 4, the incorrectly received MAC PDU, determined through a CRC check, needs to be stored. For example, an ErrorBuffer storage area is used. Petition 870240028419, dated 01 / 04 / 2024, pp. 62 / 91 55 / 76 figured in the RLC layer to store the incorrectly received MAC PDU. Then, the incorrectly received MAC PDU in the ErrorBuffer is used to recover the lost RLC PDU during the assembly of the subsequent packet. In the mode illustrated in Figure 5, the ErrorBuffer storage area does not need to be used. Instead, the data in a data field of the lost RLC PDU is recovered by directly using the random bit sequence. For example, in an AMR situation, AMR has relatively good error tolerance robustness for the substream bit B. Even if a BER of the substream bit B reaches 50%, a MOS marking still obtains a positive gain. This provides a basis for a random recovery scheme. In the mode illustrated in Figure 5, any number of lost RLC PDUs belonging to the substream segment B can be recovered.

[00231] Figure 5 is a method flowchart of a data processing method according to an embodiment of the present invention. With reference to Figure 5, the method in this embodiment of the present invention includes the following steps.

[00232] Step 501: Obtain N correctly received RLC PDUs in a PDCP PDU.

[00233] A correctly received RLC PDU is an RLC PDU that belongs to a MAC PDU in which a CRC check is correct, and N is a positive integer.

[00234] Step 501 can be implemented by completing steps 401 and 404 in the manner described above. For further details, please refer to the detailed descriptions in steps 401 and 404.

[00235] Step 502: Determine if a predetermined RLC PDU in the PDCP PDU to be assembled has been lost. If the RLC PDU in the PDCP PDU to be assembled is lost, step 503 is performed.

[00236] The default RLC PDU is an RLC PDU whose bit in Petition 870240028419, dated 01 / 04 / 2024, pp. 63 / 91 56 / 76 a speech payload belongs to a substream B. There may be one or more predetermined RLC PDUs lost.

[00237] For step 502, refer to the detailed descriptions in step 406.

[00238] For example, when the QCI 1 RLC expiration packet assembly is triggered, an initial RLC PDU and a final RLC PDU in the PDCP PDU to be assembled need to be within an RLC packet range, and an indicator of a subflow A or subflow B of each RLC PDU needs to be determined. It is determined whether only an RLC PDU belonging to subflow B and located in the PDCP PDU to be assembled has been lost. If only the RLC PDU belonging to subflow B and located in the PDCP PDU to be assembled has been lost, step 503 is performed. Otherwise, it is determined, within the RLC packet range, whether an RLC PDU belonging to subflow B and located in another PDCP PDU to be assembled has been lost, and so on.

[00239] In some embodiments of the present invention, step 502 can determine if an RLC PDU in the PDCP PDU to be assembled has been lost. Alternatively, the predetermined RLC PDU has another definition.

[00240] Step 503: Calculate the length of a lost RLC PDU speech payload based on the length of correctly received RLC PDU speech data and a predetermined speech frame length.

[00241] Step 504: Obtain a random bit sequence whose length matches the length of the speech payload.

[00242] After the base station determines the length of the lost RLC PDU speech payload, the base station can only obtain the random bit sequence whose length is equal to the length of the speech payload. The obtained random bit sequence can be used as the lost RLC PDU speech payload. Petition 870240028419, dated 01 / 04 / 2024, pp. 64 / 91 57 / 76

[00243] Step 503 and Step 504 are a specific method for obtaining data in a PDU RLC data field.

[00244] There may be one or more missing RLC PDUs. In other words, the number of RLC PDUs belonging to substream B that are recovered by using random bit sequences is not limited, provided that the PDCP PDU obtained based on an RLC PDU, obtained through recovery, and the correctly received RLC PDUs are of a valid speech frame length after recovery.

[00245] When an RLC PDU is lost, the random bit sequence whose length coincides with the length of the speech payload is used directly as the speech payload of the lost RLC PDU. When a plurality of RLC PDUs is lost, a specific implementation method for obtaining the random bit sequences whose lengths coincide with a length of the speech payloads is as follows: obtain a plurality of random bit sequences of a predetermined length or random lengths, wherein the total length among the plurality of random bit sequences is equal to the length of the speech payloads.For example, when three RLC PDUs are lost, after the total length of the speech payloads of all the lost RLC PDUs is calculated, the length of the speech payloads is divided into three equal parts, and then three random bit sequences, whose lengths are equal to the lengths of the three equal parts, are respectively obtained. Alternatively, three random bit sequences of random lengths are obtained, provided that the total length of the three random bit sequences is equal to the total length of the speech payloads of the lost RLC PDUs.

[00246] For example, a loss of PDU RLC can be classified Petition 870240028419, dated 01 / 04 / 2024, pages 65 / 91 58 / 76 in the following three cases.

[00247] I. Only one RLC PDU belonging to a substream segment B and located in the PDCP PDU to be assembled is lost, as illustrated in Figure 6a. After a speech payload from the lost RLC PDU is determined, a random 0-1 sequence is used for padding. In this case, a location of the lost speech payload in the PDCP PDU to be assembled can be determined based on a correctly received RLC segment.

[00248] II. A plurality of consecutive RLC PDUs, belonging to a substream segment B and located in the PDCP PDU to be assembled, is lost, as illustrated in Figure 6b. After the speech payloads of the lost RLC PDUs are determined, random bit sequences 0-1 are used to populate the data in the data fields of the RLC PDUs. In this case, similar to case I, the locations of the lost speech payloads in the PDCP PDU to be assembled can also be determined.

[00249] III. A plurality of non-consecutive RLC PDUs belonging to a substream B segment and located in the PDCP PDU being assembled is lost, as illustrated in Figure 6c. In this case, a random 0-1 bit sequence is used to recover a substream B corresponding to each lost RLC PDU, and a length of the substream B corresponding to each segment can be flexibly selected, provided that the total length of the lost and recovered substream B segments equals the total length of speech payloads of the lost RLC PDUs. Thus, in the PDCP PDU being assembled, although a change in the speech data of a correct RLC PDU located between the non-consecutive lost segments and substream B segments is caused, the emulation indicates that processing in this way has little effect and does not introduce a negative gain, and the probability of this case is relatively low. Petition 870240028419, dated 01 / 04 / 2024, pp. 66 / 91 59 / 76

[00250] Step 505: Obtain an RLC header.

[00251] For step 505, refer to the detailed descriptions in step 408.

[00252] Step 506: Generate a retrieved RLC PDU using the random bit sequence and RLC header.

[00253] For step 506, refer to the detailed descriptions in step 409. The random bit sequence is the data in the PDU RLC data field.

[00254] For example, the correct RLC header is added to the speech payload, from the RLC PDU, which is retrieved randomly, to construct a valid retrieved RLC PDU, and write the valid retrieved RLC PDU to an RLC_Buffer that is used for the packet assembly to be performed.

[00255] Step 507: Generate the PDCP PDU based on the correctly received RLC PDUs and the retrieved RLC PDU.

[00256] The PDCP PDU includes M RLC PDUs, M being a positive integer, and N < M. In other words, M correctly received RLC PDUs and (M - N) retrieved RLC PDUs are assembled to obtain the PDCP PDU.

[00257] For step 507, refer to the detailed descriptions in step 410.

[00258] For example, if a current PDCP PDU is not a last PDCP on an RLC packet range in RLC_Buffer, step 502 is performed. Otherwise, for RLC_Buffer that is updated, PDCP can be mounted based on a normal packet procedure.

[00259] In conclusion, according to the data processing method in this embodiment of the present invention, at least one correctly received RLC PDU in the PDCP PDU to be assembled is obtained. The correctly received RLC PDU is an RLC PDU that belongs to a MAC PDU in which a CRC check is correct. Then, it is Petition 870240028419, dated 01 / 04 / 2024, pp. 67 / 91 60 / 76 determined if the RLC PDU in the PDCP PDU to be assembled was lost. If the RLC PDU in the PDCP PDU to be assembled is lost, the data in the RLC PDU data field is retrieved, and the RLC header is obtained. Then, after the retrieved RLC PDU is generated using the RLC header and the data in the data field, the PDCP PDU is generated based on the correctly received RLC PDU and the retrieved RLC PDU. In this way, when the RLC PDU in the PDCP PDU is lost, the retrieved RLC PDU is generated to recover the lost RLC PDU, and the PDCP PDU can be obtained by assembling the retrieved RLC PDU and the correctly received RLC PDU. Therefore, the PDCP PDU in which the RLC PDU is lost is prevented from being discarded, and the PDCP packet is reserved, thus reducing data loss and improving frame data integrity. When a user utilizes data related to the PDCP PDU, the user's subjective experience can be improved.

[00260] The above data processing method is implemented so that a specific BER is allowed when packet assembly is performed at an RLC layer, and an entire PDCP packet is prevented from being discarded. Therefore, more valid speech bits are reserved, thus improving the subjective experience of speech. This implements unequal data protection.

[00261] It can be understood that the data processing method in this embodiment of the present invention is applicable to a QCI1 service and a QCI2 service. In addition to an AMR speech, the method is applicable to other speech encoding / decoding systems such as an EVS, and any situation in which priority and significance may be distinct during the transmission of an upper-layer packet and a lower-layer packet of a video telephony service or a wireless video service.

[00262] In some embodiments of the present invention, a Petition 870240028419, dated 01 / 04 / 2024, pp. 68 / 91 61 / 76 A retransmission termination method is further provided, for example, an embodiment illustrated in Figure 7. The retransmission termination method can be implemented in cooperation with the above method for recovering the lost RLC PDU. For example, the retransmission termination method in the embodiment illustrated in Figure 7 can be performed before step 406. Alternatively, the method illustrated in Figure 7 can be used independently. This is not specifically limited in this embodiment of the present invention.

[00263] A process for executing the retransmission termination method in the mode illustrated in Figure 7 is as follows: obtain a PDU MAC corresponding to a non-significant bit in a PDCP PDU; and if a number of retransmissions of the PDU MAC, corresponding to the non-significant bit, reaches a number of retransmissions occurring until the retransmission is terminated, send an ACK message to a transmitting end. The number of retransmissions occurring until the retransmission is terminated is less than a maximum number of retransmissions of the PDU MAC.

[00264] Specifically, Figure 7 is a method flowchart of a relay termination method. With reference to Figure 7, the method in this embodiment of the present invention includes the following steps.

[00265] Step 701: Obtain, through a HARQ process, a transport block including MAC PDUs and a CRC that is used to verify MAC PDUs.

[00266] A base station obtains the HARQ process at a physical layer, to obtain the transport block including MAC and CRC PDUs which is used to verify the MAC PDUs. The MAC PDUs may include a MAC PDU corresponding to a non-significant bit and Petition 870240028419, dated 01 / 04 / 2024, pp. 69 / 91 62 / 76 a PDU MAC corresponding to a significant bit. The PDU MAC corresponding to the non-significant bit is a PDU MAC whose data bit quality parameter is lower than a predetermined quality threshold, such as a PDU MAC whose speech data bit belongs to a substream bit B. Correspondingly, the PDU MAC corresponding to the significant bit is a PDU MAC whose data bit quality parameter is higher than the predetermined quality threshold, such as a PDU MAC whose speech data bit belongs to a substream bit A.

[00267] Step 701 may be the specific implementation of step 401.

[00268] Step 702: Determine the MAC PDU types.

[00269] MAC PDU types include a first type and a second type. The first type of MAC PDU includes a significant bit in a PDCP PDU, that is, the MAC PDU corresponding to the significant bit. The second type of MAC PDU includes a non-significant bit in the PDCP PDU, that is, the MAC PDU corresponding to the non-significant bit. A maximum number of retransmissions corresponding to the first type is greater than a number of retransmissions that occur until the retransmission is terminated, corresponding to the second type. The number of retransmissions that occur until the retransmission is terminated is less than a maximum number of retransmissions of the MAC PDU. The maximum number of retransmissions of the MAC PDU is a maximum number of retransmissions configured by a system, and the maximum number of retransmissions of the MAC PDU and the maximum number of retransmissions corresponding to the first type may be the same value.

[00270] For example, the first type is a type in which the speech data of a MAC PDU belongs to the A substream bit, and the second Petition 870240028419, dated 01 / 04 / 2024, pp. 70 / 91 63 / 76 type in a type where the speech data of a MAC PDU belongs to substream bit B. The maximum number of retransmissions corresponding to the first type is greater than the number of retransmissions that occur until the retransmission is terminated, which corresponds to the second type. For example, when the first type is the type where the speech data of the MAC PDU belongs to substream bit A, and the second type is the type where the speech data of the MAC PDU belongs to substream bit B, the maximum number of retransmissions corresponding to the first type is greater than the number of retransmissions that occur until the retransmission is terminated, which corresponds to the second type.The maximum number of retransmissions corresponding to the first type may be a maximum number of retransmissions determined by a communication system, and the number of retransmissions that occur until the retransmission is terminated, which corresponds to the second type, is a predetermined value.

[00271] After the MAC PDU types are determined, a maximum number of retransmissions corresponding to a MAC type, or a number of times that occur until the retransmission is terminated, that is, that corresponds to a MAC PDU type, can be obtained. When the MAC PDU is of the second type, it is detected whether the number of retransmissions of the MAC PDU of the second type reaches the number of retransmissions that occur until the retransmission is terminated, that is, that corresponds to the second type. The types of MAC PDU determination include the following steps.

[00272] Step F1: Obtain a Scheduling Request (SR) message in a Physical Uplink Control Channel (PUCCH). Petition 870240028419, dated 01 / 04 / 2024, pp. 71 / 91 64 / 76

[00273] Step F2: Determine, in a MAC PDU, an initial RLC PDU in the PDCP PDU to be assembled based on the SR message.

[00274] An initial segment in each PDCP PDU can be learned based on an SR message in PUCCH.

[00275] Step F3: Determine, based on a TB size of the transport block, an average MAC header length, and an RLC header length, a speech data length of an RLC PCU included in the transport block.

[00276] Step F4: Determine, based on a length of speech data from consecutively received RLC PDUs starting with the initial RLC PDU, that a MAC PDU to which an RLC PDU located within a predetermined total length of substream A belongs is of the first type, and that a MAC PDU to which an RLC PDU located outside the predetermined total length of substream A belongs is of the second type. The total length of substream A is a length of speech data from the PDCP PDU to be assembled, which belongs to the substream A bit.

[00277] Step 703: If the number of retransmissions of the second type of MAC PDU reaches the number of retransmissions that occur until the retransmission is terminated, send an ACK message to a transmission end.

[00278] The base station determines, based on the CRC, that the second type of PDU MAC is transmitted incorrectly. In this case, the transmitting end retransmits the PDU MAC. When the number of times the second type of PDU MAC is retransmitted reaches the number of times that occur until the retransmission is terminated, the base station sends an ACK (Acknowledgement) message to a sending device. The ACK message is used to prevent the sending device from retransmitting the second type of PDU MAC that is transmitted incorrectly. Petition 870240028419, dated 01 / 04 / 2024, pp. 72 / 91 65 / 76

[00279] For example, when MAC PDU types are classified into a sub-flow type A and a sub-flow type B, the maximum number of transmissions corresponding to sub-flow type A may be a determined value, that is, a maximum number of retransmissions configured by the system. The number of retransmissions occurring until the retransmission is terminated, that is, corresponding to sub-flow type B, is less than the maximum number of transmissions corresponding to sub-flow type A, and the number of retransmissions occurring until the retransmission is terminated, that is, corresponding to sub-flow type A, is less than the maximum number of retransmissions determined by the system, for example, a value determined by technical personnel.There are two ways to determine the number of times a retransmission occurs before it is terminated, which corresponds to substream type B: use a predetermined value that is less than the maximum number of transmissions corresponding to substream A; or adaptively determine a maximum number of retransmissions corresponding to a substream B by comparing a BLER (block error rate) of a currently received substream B with a predetermined BLER threshold. Specifically, if a BLER corresponding to the retransmission of a substream type B MAC PDU (the base station collects the statistics of a BLER for each retransmission within a recent period) is less than the predetermined BLER threshold, the retransmission can be terminated immediately. For example, if a channel condition is good, the BLER threshold may be met when the substream type B MAC PDU is retransmitted only three times.However, if a channel condition is poor, the BLER limit may be matched until the substream type B MAC PDU is retransmitted five times. The maximum number of retransmissions. Petition 870240028419, dated 01 / 04 / 2024, pp. 73 / 91 66 / 76, corresponding to subflow B, can be adaptively adjusted based on channel conditions.

[00280] When the number of times the PDU MAC of sub-flow type B is retransmitted reaches the number of times retransmitted until retransmission is terminated, that is, corresponding to sub-flow type B, the base station sends the ACK message to the UE, so that the UE stops retransmitting the PDU MAC of sub-flow type B, and there is no need to wait until the number of times the PDU MAC is retransmitted reaches the maximum number of times retransmitted by the system, thus prematurely terminating the retransmission of the PDU MAC of sub-flow type B.

[00281] In an LTE situation, a HARQ transmission mechanism can cause an increase in transmission latency at an upper layer. This phenomenon is particularly severe in a TTI Bundle situation, and high latency can cause active packet loss at a PDCP layer. Losses of a large number of packets at the upper layer can also severely affect the subjective experience of speech. An existing MAC processing mechanism provides equal transmission opportunities for data packets transmitted at a physical layer. However, in a VoLTE situation, bits included in a speech frame have different significance. From an ideal transmission perspective, speech bits of different significance can obtain different transmission opportunities (resources).A significant substream (e.g., substream A) should receive more transmission opportunities than another substream, and a proper reduction in the transmission opportunities of a non-significant substream can reduce the probability of packet loss in the upper layer, thus increasing overall speech throughput. Petition 870240028419, dated 01 / 04 / 2024, pp. 74 / 91 67 / 76

[00282] In conclusion, according to the method in the modality illustrated in Figure 7, the number of times the non-significant substream transmissions can be reduced under a specific BER condition. In other words, a premature termination feature of the non-significant substream transmission is introduced, so that the substream type A PDU MAC gets more transmission opportunities, the probability of a PDCP packet loss in the upper layer is reduced, speech throughput is increased, and eventually, a subjective speech experience is improved. The method in the modality illustrated in Figure 7 is particularly applicable to the TTIB situation.

[00283] To verify an effect of the above methods, for example, in an AMR situation, after the data processing methods provided in the embodiments of the present invention are performed, an execution effect is verified through a test.

[00284] 1. Emulation of error tolerance capability for different subflows in AMR.

[00285] When an error occurs in a substream A in AMR, the subjective experience of speech is greatly affected, and a decoder may be abnormal. Therefore, substream A is considered to be very important, a BER (Bit Error Ratio) must be strictly controlled at 0, so that emulation is not required here.

[00286] Figures 8a and 8b illustrate, respectively, the impact on a MOS (Mean Opinion Score) marking of a substream B that includes a specific error bit (BER is not equal to 0) when speech rates are respectively 12.65k and 23.85k in AMR-WB and packet loss rates (FER) in an upper layer are respectively 1% and 0.2%. The MOS in the figure is a mean opinion marking, and Es / N0 is a symbol energy to noise energy spectral density ratio. Petition 870240028419, dated 01 / 04 / 2024, pp. 75 / 91 68 / 76

[00287] Both Figure 8a and Figure 8b indicate that when a packet loss rate in the upper layer is specified, and when the BER of substream B is not equal to 0, if BER is controlled within a specific range, the impact on the subjective experience of speech can be negligible.

[00288] Figure 8c illustrates that a MOS marking varies with the BER of a substream B when FER = 10% and when the error rate of a substream A = 0, 30%, 50%, and 70%. A reference illustrates a MOS marking when all PDUs and the PDCP are discarded. The result shows that AMR exhibits relatively good error tolerance robustness for a bit in a substream B. Even if the BER of substream B reaches 50%, the MOS marking still achieves a positive gain. This provides a basis for the data processing methods provided in the embodiments of the present invention.

[00289] 2. Verification of data processing method emulation

[00290] A channel type: an ETU70 channel.

[00291] A speech service: an AMR WB service whose rate is configured for 12.65 k and 23.85 k, separately.

[00292] One form of evaluation: observe a change in MOS marking with a change in channel quality.

[00293] Horizontal coordinates: a normalized EsN0 value representing an average value of the current channel quality.

[00294] Vertical coordinates: a MOS marking measured directly using P863-Ploqa.

[00295] Figure 9a is a gain diagram of a data processing method according to an embodiment of the present invention. The data processing method is specifically the data processing method in which the data in the data field are obtained based on the incorrectly received PDU MAC. Petition 870240028419, dated 01 / 04 / 2024, pp. 76 / 91 69 / 76 in the methods illustrated in Figure 4. A recovery curve in the figure is a curve generated according to the data processing methods in the embodiments of the present invention.

[00296] It can be learned from figure 9a that: Under the same EsN0 / channel quality conditions, MOS marking is obviously improved after the data processing methods provided in the embodiments of the present invention are used.

[00297] Figure 9b illustrates the performance comparison between the data processing method (i.e., ErrorBufferRecovery, error buffer recovery) where the data in the data field is obtained based on the incorrectly received PDU MAC and the data processing method through random recovery (i.e., RandomRecover, random recovery, the method in the mode illustrated in Figure 5). It can be observed that MOS can obtain an obvious gain regardless of which recovery scheme was used. The performance of the recovery scheme where the data in the data field is obtained based on the incorrectly received PDU MAC is ideal, but the complexity is high. The complexity of the random recovery scheme is low, but there is no obvious performance degradation. Therefore, the random recovery scheme is a good compromise.

[00298] Figure 10a is a schematic structural diagram of a data processing device according to an embodiment of the present invention. Figure 10b is a partial schematic structural diagram of a data processing device illustrated in Figure 10a. The data processing device can be configured to perform the data processing methods provided in the embodiments above. With reference to Figure 10a, the data processing device provided in this embodiment of the Petition 870240028419, dated 01 / 04 / 2024, pp. 77 / 91 70 / 76 present invention includes: A 1001 acquisition unit, configured to obtain N correctly received Radio Link Control (RLC) PDUs into a Packet Data Convergence Protocol (PDCP) Data Unit (PDU); and a 1002 generation unit, configured to generate the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDCP PDU includes M RLC PDUs, N and M being positive integers and N < M.

[00299] Optionally, the 1002 generation unit includes: A 1003 acquisition module, configured to obtain at least one retrieved RLC PDU; and a 1004 generation module, configured to generate the PDCP PDU based on the N correctly received RLC PDUs and the retrieved RLC PDU.

[00300] Optionally, the data in the retrieved RLC PDU is a speech payload obtained from one or more incorrectly received MAC PDUs.

[00301] Optionally, with reference to Figure 10b, the 1003 acquisition module includes: A first determination submodule 1004, configured to: when an RLC PDU in the PDCP PDU is lost, determine the receive moments T1 and T2, where T1 is a receive moment of a correctly received RLC PDU that is located before the lost RLC PDU in the PDCP PDU, and T2 is a receive moment of a correctly received RLC PDU that is located after the lost RLC PDU in the PDCP PDU; a second determination submodule 105, configured to determine, in the incorrectly received MAC PDUs, a target medium access control PDU, MAC, whose receipt time Petition 870240028419, dated 01 / 04 / 2024, pp. 78 / 91 71 / 76 to is between T1 and T2, where a moment of receiving an RLC PDU is a moment of receiving a MAC PDU to which the RLC PDU belongs, and the moment of receiving the MAC PDU is a moment recorded when the MAC PDU is received; a 1006 acquisition submodule, configured to obtain a speech payload from the MAC PDU; and a 1007 generation submodule, configured to generate a recovered RLC PDU based on the speech payload, wherein the recovered RLC PDU is used to replace the lost RLC PDU.

[00302] Optionally, the data in the recovered RLC PDU is either an all-zero sequence or a random bit sequence.

[00303] Optionally, the data in the N correctly received RLC PDUs includes a significant bit in the PDCP PDU.

[00304] Optionally, the device in this embodiment of the present invention also includes a sending unit 1008.

[00305] The 1001 fetch unit is further configured to fetch a PDU MAC corresponding to a non-significant bit in the PDCP PDU.

[00306] The sending unit 1008 is configured to: if a number of times the PDU MAC retransmissions corresponding to the non-significant bit reaches a number of times retransmissions occurring until retransmission is terminated, send an ACK message to a transmitting end where the number of times retransmissions occurring until retransmission is terminated is less than a maximum number of times the PDU MAC retransmissions can occur.

[00307] In conclusion, the obtaining unit 1001 obtains N PDUs Petition 870240028419, dated 01 / 04 / 2024, pp. 79 / 91 72 / 76 The RLC data is correctly received in the PDCP PDU, and then the generation unit 1002 generates the PDCP PDU based on the N correctly received RLC PDUs. The PDCP PDU includes the M RLC PDUs, where N and M are positive integers, and N < M. Therefore, the PDCP PDU can be generated based on some correctly received RLC PDUs, and there is no need to assemble all RLC PDUs to obtain the PDCP PDU. Thus, even if an RLC PDU that does not need to be used is incorrectly received or lost, the PDCP PDU generation is not affected.

[00308] Figure 11 is a schematic structural hardware diagram of a data processing device according to an embodiment of the present invention. A large difference in the data processing device 1100 may be generated due to configuration or performance difference. The data processing device 1100 may include one or more central processing units (CPUs) 1122 (e.g., one or more processors), one or more memories 1132, and one or more storage media 1130 (e.g., one or more mass storage devices) for storing an application program 1142 or data 1144. The memory 11132 and the storage media 1130 may be transient storage or persistent storage.Programs stored in storage medium 1130 may include one or more modules (not marked in the figure), and each module may include a series of instruction operations in the data processing device. Furthermore, the central processing unit 1122 may be configured to communicate with storage medium 1130 and perform, in data processing device 1100, the series of instruction operations in storage medium 1130.

[00309] The 1100 data processing device may include Petition 870240028419, dated 01 / 04 / 2024, pages 80 / 91 73 / 76 also one or more power supplies 1126, one or more wired or wireless network interfaces 1150, one or more input / output interfaces 1158 and / or one or more operating systems 1141, such as Windows Server™, Mac OS X™, Unix™, Linux™ or FreeBSD™.

[00310] The steps performed by the data processing device in the above modes can be based on the structure of the data processing device illustrated in Figure 11. In other words, the data processing device illustrated in Figure 11 can be configured to perform the data processing methods in the above modes. The function modules of the data processing devices illustrated in Figures 10a and 10b can be integrated into the data processing device illustrated in Figure 11.

[00311] Specifically, by invoking an operation instruction stored in memory 1132, processor 1122 is configured to perform the following steps: Obtain N correctly received Radio Link Control (RLC) PDUs into a Protocol Data Unit (PDU) of the Packet Data Convergence Protocol (PDCP); and generate the PDCP PDU based on the N correctly received RLC PDUs, wherein the PDCP PDU includes M RLC PDUs, N and M being positive integers and N < M.

[00312] Optionally, by invoking the operation instruction stored in memory 1132, processor 1122 is configured to perform the following steps: obtain at least one retrieved RLC PDU; and generate the PDCP PDU based on the N correctly received RLC PDUs and the retrieved RLC PDU.

[00313] Optionally, the data in the retrieved RLC PDU is a payload of Petition 870240028419, dated 01 / 04 / 2024, pages 81 / 91 74 / 76 speech obtained from one or more medium access control PDUs, MAC, received incorrectly.

[00314] Optionally, by invoking the operation instruction stored in memory 1132, processor 1122 is configured to perform the following steps: When an RLC PDU in the PDCP PDU is lost, determine the receive times T1 and T2, where T1 is a receive time of a correctly received RLC PDU that is located before the lost RLC PDU in the PDCP PDU, and T2 is a receive time of a correctly received RLC PDU that is located after the lost RLC PDU in the PDCP PDU; Determine, from the incorrectly received MAC PDUs, a target MAC access control PDU whose receipt time is between T1 and T2, where a receipt time of an RLC PDU is a receipt time of a MAC PDU to which the RLC PDU belongs, and the receipt time of the MAC PDU is a time recorded when the MAC PDU is received; Obtain a speech payload from the target MAC PDU; and generate a recovered RLC PDU based on the speech payload, where the recovered RLC PDU is used to replace the lost RLC PDU.

[00315] Optionally, the data in the RLC PDU is either a sequence of zeros or a random sequence of bits.

[00316] Optionally, the data in the N correctly received RLC PDUs includes a significant bit in the PDCP PDU.

[00317] Optionally, by invoking the operation instruction stored in memory 1132, processor 1122 is configured to perform the following steps: Petition 870240028419, dated 01 / 04 / 2024, pages 82 / 91 75 / 76 obtain a PDU MAC corresponding to a non-significant bit in the PDCP PDU; and if a number of times the PDU MAC corresponding to the non-significant bit retransmits reaches a number of times that occurs until the retransmission is terminated, send an ACK message to a transmit end where the number of times the retransmission occurs until the retransmission is terminated is less than a maximum number of times the PDU MAC retransmits.

[00318] In conclusion, the device obtains the N correctly received RLC PDUs in the PDCP PDU, and then generates the PDCP PDU based on the N correctly received RLC PDUs, where the PDCP PDU includes the M RLC PDUs, N and M being positive integers, and N < M. Therefore, the PDCP PDU can be generated based on the correctly received RLC PDUs in the PDCP PDU, and there is no need to assemble all the RLC PDUs to obtain the PDCP PDU. Thus, even if an RLC PDU that does not need to be used is received incorrectly or lost, the generation of the PDCP PDU is not affected.

[00319] All or some of the above embodiments may be implemented in the form of software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be wholly or partially implemented in the form of a computer program product.

[00320] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedure or functions, according to the embodiments of the present invention, are wholly or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable device. The instructions Petition 870240028419, dated 01 / 04 / 2024, pages 83 / 91 Computer instructions (76 / 76) can be stored on a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one network site, computer, server, or data center to another network site, computer, server, or data center either wired (e.g., a coaxial cable, fiber optic cable, or digital subscriber line (DSL)) or wirelessly (e.g., infrared, radio, or microwave). A computer-readable storage medium can be any usable medium accessible by a computer, or a data storage device, such as a server or data center, integrating one or more usable media.The usable medium can be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state diskette, Solid State Disk (SSD)), or similar.

Claims

CLAIMS 1. A data processing method, wherein the method comprises: obtaining N correctly received RLC radio link control PDUs corresponding to a PDCP packet data convergence protocol PDU to be assembled, wherein the correctly received RLC PDU is an RLC PDU belonging to a MAC medium access control PDU in which a Cyclic Redundancy Check is correct; and detecting whether one or more RLC PDUs corresponding to the PDCP PDU to be assembled are missing;characterized in that: when at least one RLC PDU corresponding to the PDCP PDU to be assembled is lost, the method still comprises: obtaining a recovered RLC PDU by performing the steps to obtain data to recover the data field of the lost RLC PDU, obtaining an RLC header to recover the RLC header field of the lost RLC PDU, and generating the recovered RLC PDU by using the obtained RLC header and the data obtained to recover the data field of the lost RLC PDU to replace the lost RLC PDU; and generating the PDCP PDU to be assembled based on the N received RLC PDUs and the recovered RLC PDU corresponding to at least one lost RLC PDU, wherein the PDCP PDU to be assembled comprises M RLC PDUs, N and M are positive integers, and N <M.; 2. Method, according to claim 1, characterized in Petition 870240028419, dated 01 / 04 / 2024, page 85 / 91 2 / 3 by the fact that: the data obtained in the recovered RLC PDU is a speech payload obtained from one or more incorrectly received MAC PDUs.

3. Method, according to claim 1, characterized in that: the data obtained in the recovered RLC PDU is either a sequence of zeros or a random bit sequence.

4. Data processing device, comprising a processor and a memory, the memory storing a set of instructions which, when executed by the processor, cause the processor to perform the steps of: obtaining N correctly received RLC radio link control PDUs corresponding to a packet-based PDCP Data Convergence Protocol PDU to be mounted, wherein the correctly received RLC PDU is an RLC PDU belonging to a MAC Media Access Control PDU in which a Cyclic Redundancy Check is correct; and detecting whether one or more RLC PDUs corresponding to the PDCP PDU to be mounted are missing;characterized by the fact that: when at least one RLC PDU corresponding to the PDCP PDU to be assembled is lost, the processor is caused to perform the additional steps of: obtaining a recovered RLC PDU by performing the steps to obtain data to recover the data field of the lost RLC PDU, obtaining an RLC header to recover the RLC header field of the lost RLC PDU, and generating the recovered RLC PDU by using the obtained RLC header and the obtained data to recover the data field of the lost RLC PDU to replace the lost RLC PDU; and generate the PDCP PDU to be assembled based on the N received RLC PDUs and the recovered RLC PDU corresponding to at least one lost RLC PDU, where the PDCP PDU to be assembled comprises M RLC PDUs, N and M are positive integers, and N <M.; 5. Device according to claim 4, characterized in that: the data obtained in the recovered RLC PDU is a speech payload obtained from one or more incorrectly received MAC PDUs.

6. Device according to claim 4, characterized in that: the data obtained in the retrieved RLC PDU is either a sequence of zeros or a random bit sequence.

7. Computer-readable storage medium, characterized in that it comprises an instruction, wherein when the instruction runs on a computer, the computer performs the method as defined in any one of claims 1 to 3.