Coding-based communication method, and communication apparatus, chip, medium and program product

By combining encoding functions and diversity gain technology in the communication system, data packets are processed through a preset encoding method and transmitted through multiple objects, thus solving the problem of insufficient data transmission reliability and improving the stability and reliability of data transmission.

WO2026156738A1PCT designated stage Publication Date: 2026-07-30GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
Filing Date
2025-01-24
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

In existing communication systems, it is difficult to effectively improve the reliability of data transmission, especially in environments with multipath fading and interference, where the application of diversity gain technology is insufficient.

Method used

By combining encoding functionality with diversity gain technology, data packets are processed through a preset encoding method and transmitted through multiple objects to achieve diversity gain and improve data transmission stability.

Benefits of technology

By processing data packets using a preset encoding method and transmitting them through multiple objects, diversity gain in data transmission is achieved, thereby improving the stability and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025074862_30072026_PF_FP_ABST
    Figure CN2025074862_30072026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the embodiments of the present application are a coding-based communication method, and a communication apparatus, a chip, a medium and a program product. In the method, a first device transmits a first data packet and a second data packet by means of a plurality of objects, wherein the first data packet is obtained by processing at least one second data packet by means of a precoding mode. In this way, data transmission based on the preset coding mode (for example, NC) can be implemented, and a diversity gain for the second data packet can be implemented, thereby improving data transmission stability.
Need to check novelty before this filing date? Find Prior Art

Description

Encoding-based communication methods, communication devices, chips, media, and software products Technical Field

[0001] This application relates to the field of communication technology, specifically to a coding-based communication method, communication device, chip, medium, and program product. Background Technology

[0002] With the development of communication technology, the requirements for communication systems are becoming increasingly stringent, especially the requirements for data transmission reliability. Based on this, various encoding functions have been introduced into communication systems. Therefore, how to improve data transmission reliability through encoding is a problem that needs to be studied. Summary of the Invention

[0003] This application provides an encoding-based communication method, communication device, chip, medium, and program product, which can not only realize encoding-based data transmission, but also realize diversity gain in data transmission, thereby improving the stability of data transmission.

[0004] In a first aspect, embodiments of this application provide an encoding-based communication method, comprising: transmitting a first data packet and a second data packet through multiple objects, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0005] Secondly, embodiments of this application provide an encoding-based communication method, comprising: receiving at least a portion of a first data packet and a second data packet, wherein the first data packet and the second data packet are transmitted through multiple objects, and wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0006] Thirdly, embodiments of this application provide a communication device, including a transceiver unit, for: transmitting a first data packet and a second data packet through multiple objects, wherein the first data packet is encoded using a preset encoding method for at least one object.

[0007] This is obtained by processing the second data packet.

[0008] Fourthly, embodiments of this application provide a communication device, including a transceiver unit, configured to: receive at least a portion of a first data packet and a second data packet, wherein the first data packet and the second data packet are transmitted through multiple objects, and wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0009] Fifthly, embodiments of this application provide a communication device including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the method in any possible implementation of the first aspect described above. Optionally, the device further includes a memory. Optionally, the device further includes a transceiver, with the processor coupled to the transceiver, wherein...

[0010] The transceiver is used to transmit a first data packet and a second data packet through multiple objects under the control of the processor, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0011] Sixthly, embodiments of this application provide a communication device including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the method in any possible implementation of the second aspect described above. Optionally, the device further includes a memory. Optionally, the device further includes a transceiver, with the processor coupled to the transceiver, wherein...

[0012] The transceiver is used to: receive at least a portion of a first data packet and a second data packet under the control of a processor, wherein the first data packet and the second data packet are transmitted through multiple objects, and wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0013] In a seventh aspect, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a device, causes the device to implement the method in any possible implementation of any of the first to second aspects described above.

[0014] Eighthly, a computer program product comprising instructions, which, when executed by a computer, cause a device to implement the method in any possible implementation of any of the first to second aspects described above.

[0015] A ninth aspect provides a chip comprising: an input interface, an output interface, a processor, and a memory, wherein the input interface, the output interface, the processor, and the memory are connected via an internal connection path, and the processor is configured to execute code in the memory, wherein when the code is executed, the processor is configured to execute a method in any possible implementation of any of the first to second aspects described above.

[0016] In this embodiment, the first device transmits two types of data packets through multiple objects: a first data packet and a second data packet. The first data packet is obtained by processing at least one second data packet using a pre-encoding method. This enables data transmission based on a preset encoding method (such as NC). Furthermore, since the first data packet is obtained by processing at least one second data packet using a pre-encoding method (such as NC), it is equivalent to repeatedly transmitting the data content of the second data packet through different objects, achieving diversity gain for the second data packet and thus improving data transmission stability. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 is a schematic diagram of the architecture of the communication system 1000 used in the embodiments of this application.

[0019] Figure 2 is a schematic flowchart of the encoding-based communication method provided in an embodiment of this application.

[0020] Figure 3 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application.

[0021] Figure 4 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application.

[0022] Figure 5 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application.

[0023] Figure 6 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application.

[0024] Figure 7 is a schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0025] Figure 8 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0026] Figure 9 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0027] Figure 10 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0028] Figure 11 is another schematic flowchart of an embodiment of the encoding-based communication method of this application.

[0029] Figure 12 is another schematic flowchart of the encoding-based communication method provided in the embodiments of this application.

[0030] Figure 13 is a schematic block diagram of a communication device according to an embodiment of this application.

[0031] Figure 14 is a schematic structural diagram of a communication device according to an embodiment of this application. Detailed Implementation

[0032] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0033] Figure 1 is a schematic diagram of the architecture of the communication system 1000 used in an embodiment of this application. As shown in Figure 1, the communication system includes a Radio Access Network (RAN) 100, wherein the RAN 100 includes at least one RAN node (110a and 110b in Figure 1, collectively referred to as 110), and may also include at least one terminal device (120a-120j in Figure 1, collectively referred to as 120). The RAN 100 may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices (not shown in Figure 1). The terminal device 120 is wirelessly connected to the RAN node 110. Terminal devices and RAN nodes can be interconnected via wired or wireless means. The communication system 1000 may also include a core network 201. The RAN node 110 is connected to the core network 201 via wireless or wired means. The core network equipment in core network 201 and the RAN node 110 in RAN 100 can be independent and different physical devices, or they can be the same physical device that integrates the logical functions of the core network equipment and the logical functions of the RAN node. The communication system 1000 may also include the Internet 202.

[0034] RAN 100 can be an Evolved Universal Terrestrial Radio Access (E-UTRA) system, a 5th Generation (5G) system, a New Radio (NR) system, or a future 6th Generation (6G) system as defined in the 3rd Generation Partnership Project (3GPP). RAN 100 can also include two or more of the above-mentioned different radio access systems. RAN 100 can also be an open RAN (O-RAN).

[0035] A terminal device is a device with wireless transceiver capabilities, capable of sending signals to or receiving signals from a base station. Terminal devices can also be referred to as terminals, user equipment (UE), mobile stations, mobile terminals, etc. They can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), the Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, and smart cities. Terminal devices can be mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, airplanes, ships, robots, robotic arms, smart home devices, etc. The embodiments of this application do not limit the specific technologies or device forms used in the terminal devices.

[0036] As described in the background section, current communication systems incorporate various encoding functions. This application aims to address how to perform data transmission based on encoding to improve data transmission reliability. Related technologies have proposed diversity gain techniques, which can counteract multipath fading, multipath interference, and other effects from the propagation environment, thereby improving data transmission reliability and ultimately enhancing system reliability. Diversity gain involves transmitting the same data on multiple independent paths, with the receiving end receiving and combining the signals from these independent paths. Since the signals on these independent paths are affected by different fading and interference conditions, the quality of the combined signal is improved, thus achieving diversity gain.

[0037] Based on this, the encoding-based communication method proposed in this application combines the function of encoding with diversity gain technology to achieve data transmission, thereby improving the reliability of data transmission.

[0038] It should be noted that the term "communication" can also be called "wireless communication," and can also be described as "data transmission," "signal transmission," "information transmission," or simply "transmission," etc.

[0039] The following describes in detail the encoding-based communication method of this application embodiment with reference to Figures 2 to 12.

[0040] It should be understood that all methods in the embodiments of this application can be applied to uplink and downlink transmissions, as well as to communication between network devices such as macro base stations and micro base stations, and to device-to-device (D2D) communication between terminal devices. For ease of description, the first device and the second device are uniformly referred to as the execution subjects in the embodiments of this application. The first device generates and sends data packets, and the second device receives and demodulates the data packets.

[0041] In one possible application scenario (i.e., uplink transmission), the first device may be a terminal device or a device configured in the terminal device, such as a chip or processor, capable of executing the embodiments of this application. Correspondingly, the second device may be a network device or a device configured in the network device, such as a chip or processor, capable of executing the embodiments of this application. In another possible application scenario (i.e., downlink transmission), the first device may be a network device or a device configured in the network device, such as a chip or processor, capable of executing the embodiments of this application. Correspondingly, the second device is a terminal device or a device configured in the terminal device, such as a chip or processor, capable of executing the embodiments of this application.

[0042] Figure 2 is a schematic flowchart of an encoding-based communication method provided in an embodiment of this application. Figure 2 shows method 200.

[0043] In the method 200 shown in Figure 2, taking the first device and the second device as examples, the method 200 is described from the perspective of the interaction between the first device and the second device.

[0044] In step S210, the first device transmits a first data packet and a second data packet through multiple objects. The first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0045] In some embodiments, the object may be a path. For example, a path may include a Radio Link Control (RLC) entity or a Logical Channel (LCH). As an alternative description, the object may also be a leg. It should be understood that the descriptions of path and leg are interchangeable, but for ease of description, path will be used uniformly below.

[0046] In other embodiments, the object may be a resource. A resource is a wireless resource used to transmit data; for example, resources include time-domain resources and / or frequency-domain resources and / or spatial-domain resources. In uplink transmissions, the resource may be referred to as an uplink grant resource.

[0047] For example, in uplink granting, the uplink granting resource can be a semi-static grant (Configured Grant, CG) resource. It can be understood that CG resources are uplink physical shared channel (PUSCH) resources pre-configured by the network device for the terminal device, and the terminal device can directly use these resources for uplink transmission without sending a scheduling request.

[0048] The first data packet and the second data packet are generated by processing at least one second data packet using a preset encoding method. In other words, the first data packet and the second data packet are associated data packets. Specifically, the first data packet is related to at least one second data packet; that is, the first data packet is a packet associated with the at least one second data packet, and the at least one second data packet is a packet associated with the first data packet. For example, the first data packet is packet ab, which is obtained by processing packets a and b using a preset encoding method. Thus, packets ab, a, and b are associated packets.

[0049] It should be noted that, since the data packet includes not only the data portion but also other information, the first data packet is generated by processing the data content of at least one second data packet using a preset encoding method.

[0050] It is understood that the first data packet and the second data packet are two different types of data packets. Compared to the first data packet, the second data packet is a data packet that has not undergone encoding, while the first data packet is a data packet that has undergone encoding, specifically an encoding operation performed on the second data packet. Therefore, as an alternative description, the second data packet can be referred to as the original packet, and correspondingly, the first data packet can be referred to as the encoded packet; the two can be used interchangeably. For ease of description, the embodiments of this application uniformly adopt the description method of first data packet and second data packet, but this is not intended to be limiting.

[0051] In some embodiments, the first data packet may be obtained by processing a second data packet using a preset encoding method.

[0052] In other embodiments, the first data packet may be obtained by processing multiple (at least two) second data packets through a preset encoding method.

[0053] In this embodiment, the number of first data packets and the number of second data packets transmitted through multiple objects are not limited. The number of first data packets can be one or more, and the number of second data packets can also be one or more.

[0054] In one example, the number of first data packets sent through multiple objects is one, and the number of second data packets is multiple.

[0055] Example 1: The number of second data packets is two, namely packet a and packet b. The number of first data packets is one, namely packet ab. Packet ab is obtained by processing packets a and b using a preset encoding method. Packets a, b, and ab are transmitted through multiple objects. For example, packets a and b are transmitted through object 1, and packets ab are transmitted through object 2. In this way, diversity gain of packets a and b can be achieved.

[0056] In another example, the number of first data packets transmitted through multiple objects is multiple, and the number of second data packets is multiple.

[0057] In this example, the first data packets are generated based on which of the multiple second data packets, which can be flexibly handled according to the algorithm of the preset encoding method, and no restrictions are made here. The second data packets associated with each first data packet are not completely identical; "not completely identical" means either completely different or partially the same.

[0058] Example 2: The first data packet consists of two packets, and the second data packet consists of three packets, a, b, and c. The two first data packets are ab and bc. Packet ab is obtained by processing packets a and b using a preset encoding method, and packet bc is obtained by processing packets b and c using a preset encoding method. Packet ab is associated with packets a and b, and packet bc is associated with packets b and c. The packets a and b associated with packet ab are partially identical to the packets b and c associated with packet bc; the packet with this partial similarity is packet b. For example, transmitting packets a, b, and c through object 1 and transmitting packets ab and bc through object 2 achieves diversity gain for packets a, b, and c.

[0059] Example 3: There are two first data packets and four second data packets, designated as packets a, b, c, and d. The two first data packets are designated as packets ab and cd. Packet ab is obtained by processing packets a and b using a preset encoding method, and packet cd is obtained by processing packets c and d using a preset encoding method. Packet ab is associated with packets a and b, and packet cd is associated with packets c and d. However, the packets a and b associated with packet ab are completely different from the packets c and d associated with packet cd. For example, transmitting packets a, b, c, and d through object 1 and transmitting packets ab and cd through object 2 achieves diversity gain for packets a, b, c, and d.

[0060] It is understandable that by processing at least one second data packet using a preset encoding method to obtain a first data packet, the first data packet contains the data content of at least one second data packet. Transmitting the first data packet and the second data packet through multiple objects is equivalent to repeatedly transmitting the data content of the second data packet related to the first data packet through different objects. In this way, diversity gain can be achieved for the second data packet.

[0061] Regarding the preset encoding method, in some embodiments, the preset encoding method can be network coding (NC).

[0062] Network coding (NC) is an information exchange technology that integrates routing and encoding. Its core idea is to allow intermediate nodes in a network to encode data packets instead of simply forwarding the raw packets. For example, in traditional data transmission, intermediate nodes only forward copies of received data packets. Network coding, however, allows these nodes to perform linear or non-linear processing on the information received from each data stream before forwarding it to downstream nodes. The intermediate nodes act as encoders or signal processors. Exemplary NC algorithms may include sliding window-based network coding algorithms, random linear network coding, fixed-window and flexible-window coding, multipath network coding, etc.

[0063] In one example, an intermediate node can combine data bit groups (x, y) from multiple paths into a single data bit group (xXORy) through logical operations (such as XOR) and send it. The receiving terminal, knowing x and / or y in advance, can also process the data bit groups (x, y) within (xXORy) through logical operations. Here, the number of supported NC data streams or data packets is 2. In another example, other algorithms can be used to process more than two data streams; here, the number of supported NC data streams can be greater than 2. In other examples, other algorithms can be used to process a single data stream; here, the supported NC data stream is 1.

[0064] In other embodiments, the preset encoding method may be other encoding methods, and the embodiments of this application are not limited to this.

[0065] It should be noted that NC can be replaced with other encoding methods; NC is merely a description of the aforementioned preset encoding method. For ease of description, NC will be used as an example of a preset encoding method in the following description.

[0066] It should also be noted that the NC in the embodiments of this application can have various alternative descriptions, such as NC function or NC operation, and NC function and NC operation can also be used interchangeably. Unless otherwise specified, NC will be used as an example in the following description, and will not be repeated below.

[0067] As a second device for receiving data packets, in step S210, the second device receives at least a portion of the data packets from the first data packet and the second data packet.

[0068] It should be understood that at least a portion of the data packets includes part or all of the data packets of the first data packets and the second data packets sent through multiple objects, and the number of the first data packets and the number of the second data packets sent through multiple objects can both be one or more.

[0069] It should also be understood that since the first data packet is obtained by processing at least one second data packet through a preset encoding method (such as NC), and the first and second data packets are transmitted through multiple objects, the purpose is to achieve diversity gain based on the preset encoding method (such as NC). Therefore, for the second device, as long as it receives the data content corresponding to the first and / or second data packets that can be successfully acquired, it can be considered that the data reception is successful. Therefore, the second device is allowed to receive some data packets of the first and second data packets. Of course, the ideal state is for the second device to receive all data packets of the first and second data packets. Continuing with the above example 1, packets a and b are sent through object 1, and packets ab are sent through object 2. The second device considers the data reception successful as long as it receives at least two data packets from packets a, b, and ab.

[0070] In some embodiments, method 200 further includes step S220, in which the second device sends feedback information to the first device.

[0071] The feedback information is used to indicate that the first data packet and / or the second data packet have been received or successfully received, or to indicate that the data content corresponding to the first data packet and / or the second data packet has been acquired or successfully acquired or decoded. For example, the feedback information may be an ACK (Acknowledged) message.

[0072] In this embodiment, the first device transmits two types of data packets through multiple objects: a first data packet and a second data packet. The first data packet is obtained by processing at least one second data packet using a pre-encoding method. This enables data transmission based on a preset encoding method (such as NC). Furthermore, since the first data packet is obtained by processing at least one second data packet using a pre-encoding method (such as NC), it is equivalent to repeatedly transmitting the data content of the second data packet through different objects, achieving diversity gain for the second data packet and thus improving data transmission stability.

[0073] In some embodiments, at least a portion of the first data packet and a plurality of second data packets are transmitted through different objects.

[0074] It should be understood that the aforementioned multiple second data packets are data packets related to the first data packet; that is, the first data packet is obtained by processing multiple second data packets through a preset encoding method (such as NC).

[0075] In the above embodiments, at least a portion of the second data packet associated with the first data packet and the first data packet are transmitted separately through different objects. Thus, for the first data packet, it is equivalent to repeatedly transmitting the data content of at least a portion of the second data packet associated with the first data packet through different objects, thereby achieving diversity gain for at least a portion of the second data packet associated with the first data packet.

[0076] When there are multiple first data packets, each first data packet is transmitted through different objects along with at least a portion of the associated multiple second data packets. Therefore, more diversity gains of second data packets can be achieved, further improving the stability of data transmission.

[0077] In one example, the first data packet and some of the second data packets are transmitted through different objects. This allows for diversity gain of some of the second data packets. For instance, if the first data packet is transmitted through object 1, two of the three related second data packets are transmitted through object 2, and the remaining second data packet is transmitted through object 1, the diversity gain of two of the second data packets can be improved.

[0078] In another example, the first data packet and multiple second data packets are transmitted through different objects. This allows for diversity gain among the various second data packets, resulting in better system stability. For instance, the first data packet is transmitted through object 1, while the associated multiple second data packets are transmitted through object 2.

[0079] The following, as an example rather than a limitation, provides a clearer description of diversity gain.

[0080] Continuing with Example 1 above, the number of first data packets transmitted through multiple objects is one, and the number of second data packets is two. The two second data packets are packet a and packet b, and the first data packet is packet ab. Assume that the above three data packets are transmitted through two objects, which are denoted as object 1 and object 2 respectively.

[0081] Table 1 illustrates various scenarios where two second data packets and one first data packet are transmitted through two objects. Using the scenarios shown in Table 1 as examples, the effect of diversity gain in transmitting data packets through different objects is explained in detail.

[0082] Table 1

[0083] For example, in scenario 11, packets a and b are transmitted through object 1, and packets a and b are transmitted through object 2. Object 2 is essentially transmitting the data content of packets a and b. It can be seen that both object 1 and object 2 transmit the data content of packets a and b; that is, the data content of packets a and b is repeatedly transmitted in different objects, achieving diversity gain for packets a and b. Scenario 11 corresponds to the scenario where the first data packet and all related second data packets are transmitted through different objects, achieving the optimal diversity gain for each second data packet related to the first data packet.

[0084] For example, in case 12, packet a is transmitted through object 1, and packets b and ab are transmitted through object 2. Object 2 is equivalent to transmitting the data content of packets a and b. It can be seen that both object 1 and object 2 transmit the data content of packet a, thus realizing the diversity gain of packet a.

[0085] For example, in case 13, packet b is transmitted through object 1, while packets a and ab are transmitted through object 2. Object 2 is equivalent to transmitting the data content of packets a and b. It can be seen that both object 1 and object 2 transmit the data content of packet b, thus achieving diversity gain for packet b.

[0086] Cases 12 and 13 correspond to scenarios where the first data packet and related portions of the second data packet are transmitted through different objects, thereby achieving diversity gain for the portions of the second data packet related to the first data packet.

[0087] It can be seen that diversity gain of at least part of the second data packet can be achieved as long as the ab packet (i.e., an example of the first data packet) and at least part of the related a and b packets (i.e., an example of at least part of the second data packet) are transmitted through different objects.

[0088] Using Example 3 above, the number of first data packets transmitted through multiple objects is two and the number of second data packets is four. The four second data packets are packet a, packet b, packet c, and packet d, and the two first data packets are packet ab and packet cd. Assume that the above six data packets are transmitted through two objects, which are denoted as object 1 and object 2.

[0089] Table 2 illustrates the various scenarios of transmitting two first data packets and four first data packets through two objects. Using the scenarios shown in Table 2 as examples, the effect of diversity gain on transmitting data packets through different objects is explained in detail.

[0090] It should be understood that Table 2 is only intended to illustrate a portion of the effects of diversity gain and should not limit the actual transmission process. It should also be understood that the illustration of transmitting six data packets through two objects in Table 2 is merely illustrative; in practice, three, four, or more objects can be used to transmit a greater number of data packets, and this should not limit the embodiments of this application.

[0091] Table 2

[0092] For example, in scenario 21, packets a, b, c, and d are transmitted through object 1, while packets ab and cd are transmitted through object 2. Object 2 effectively transmits the data content of packets a, b, c, and d. Therefore, both object 1 and object 2 transmit the data content of packets a, b, c, and d, achieving diversity gain for packets a, b, c, and d. Scenario 21 corresponds to the scenario where the first data packet and all related second data packets are transmitted through different objects, achieving optimal diversity gain for each second data packet related to the first data packet.

[0093] For example, in case 22, packets a and b are transmitted through object 1, while packets c, d, ab, and bb are transmitted through object 2. Both object 1 and object 2 transmit the data content of packets a and b, thus achieving diversity gain for packets a and b.

[0094] For example, in case 23, both object 1 and object 2 transmit data content of packets c and d, thus achieving diversity gain for packets c and d.

[0095] Among them, cases 22 and 23 correspond to the scenario where the first data packet and the related part of the second data packet are transmitted through different objects, thus realizing the diversity gain of the part of the second data packet related to the first data packet.

[0096] For example, in case 24, both object 1 and object 2 transmit the data contents of packets a, b, and c, thus achieving diversity gain for packets a, b, and c.

[0097] It can be seen that as long as packet ab (i.e., an example of the first data packet) is transmitted through different objects with at least some data packets in related packets a and b (i.e., an example of at least some second data packets), diversity gain of at least some data packets in packets a and b can be achieved, and / or, as long as packet cd (i.e., another example of the first data packet) is transmitted through different objects with at least some data packets in related packets c and d (i.e., another example of at least some second data packets), diversity gain of at least some data packets in packets c and d can be achieved, thereby achieving diversity gain of at least some data packets in packets a, b, c, and d.

[0098] Next, we will continue to describe in detail the process of transmitting the first and second data packets through multiple objects.

[0099] In cases where there are multiple first data packets, in some embodiments, the multiple first data packets are transmitted through different objects.

[0100] Multiple first data packets transmitted through different objects means that multiple first data packets are transmitted through at least two objects, with one object transmitting one or more first data packets. For example, multiple first data packets may include three first data packets, which are transmitted through two objects (such as object 1 and object 2), where one object (such as object 1) transmits two first data packets and the other object (such as object 2) transmits one first data packet. As another example, multiple first data packets may include two first data packets, which are transmitted through two objects, with each object transmitting one first data packet.

[0101] In this way, transmitting multiple first data packets through different objects disperses the risk of data reception failure, thereby improving the stability and reliability of data transmission. It's understandable that if all first data packets were transmitted through the same object, any failure on that object would result in all data on that object failing to be received.

[0102] In cases where there are multiple second data packets, in some embodiments, the multiple second data packets are transmitted through different objects.

[0103] The transmission of multiple second data packets through different objects means that multiple second data packets are transmitted through at least two objects, with each object transmitting at least one second data packet. For a more detailed description of this, please refer to the previous section on the transmission of multiple first data packets through different objects; it will not be repeated here.

[0104] In some embodiments, the plurality of objects includes a first object and a second object.

[0105] In the embodiment where the object is a path, the first object is the first path, and the second object is the second path; the first path and the second path are different. It should be understood that the first path and the second path are two types of paths, and the number of each type of path can be one or more.

[0106] For example, the first path can be the default (or original) path, and the second path is the additional path. The default (or original) path represents the path with fixed system configuration (or predefined, preset, or default configuration), while the additional path represents the path with flexible system configuration (or predefined or preset). For example, when encoding functions (such as NC functions) are deactivated, only the default first path can be used to transmit data packets.

[0107] In embodiments where the object is a resource, the first object is a first resource, and the second object is a second resource; the first resource and the second resource are different. It should be understood that the first resource and the second resource are two types of resources, and the quantity of each type of resource is one or more.

[0108] In this embodiment of the application, the type of resource can be distinguished by resource attributes, and no limitation is made here.

[0109] In some embodiments, the first resource and the second resource have different identifiers. For example, the first resource is a resource with a first identifier, and the second resource is a resource with a second identifier. That is, different types of resources can be distinguished by different identifiers. For instance, different identifier values ​​can be used to indicate different identifiers.

[0110] In other embodiments, the first resource and the second resource are located in different positions. For example, the first resource is a resource located in a first position, and the second resource is a resource located in a second position. That is, different types of resources can be distinguished by their different locations.

[0111] The location of a resource can be its location in the time domain, or its location in the frequency domain, or its location in both the time and frequency domains; no restrictions are imposed here.

[0112] In one example, if different resources are distinguished by their position in the time domain, the first resource can be a resource in a first time domain, and the second resource can be a resource in a second time domain. The first position is the first time domain resource, and the second position is the second time domain resource. For example, a time domain resource can be represented using at least one time unit. For instance, the first time domain resource includes N1 time units, and the second time domain resource includes N2 time units.

[0113] In another example, if different resources are distinguished by their position in the frequency domain, the first resource can be a resource in a first frequency domain, and the second resource can be a resource in a second frequency domain. The first position is the first frequency domain resource, and the second position is the second frequency domain resource. For example, a frequency domain resource can be represented using at least one frequency domain unit. For instance, the first frequency domain resource includes N³ frequency domain units, and the second frequency domain resource includes N⁴ time units.

[0114] In another example, if different resources are distinguished by their positions in the time and frequency domains, the first resource can be a resource on a first time-frequency resource, and the second resource can be a resource on a second time-frequency resource. The first position is the first time-frequency resource, and the second position is the second time-frequency resource. For example, a frequency domain resource can be represented by at least one frequency domain unit and at least one time domain resource, as described in the above examples, and will not be repeated here.

[0115] A time unit is a unit of measurement for resources in the time domain. The length of one time unit can be arbitrarily set, and this application does not specifically limit it. For example, one time unit may include one or more subframes. Another example is that one time unit may include one or more time slots. Yet another example is that one time unit may include one or more Orthogonal Frequency Division Multiplexing (OFDM) symbols. Yet another example is that one time unit may include one or more Transmission Time Intervals (TTIs).

[0116] A frequency domain unit can be used as a unit of measurement for resources in the frequency domain. The length of a frequency domain unit can be arbitrarily set, and this application does not impose any limitations. For example, a frequency domain unit can be any of the following: a carrier, at least one subcarrier, or at least one resource block (RB).

[0117] Based on the above embodiments involving multiple objects, including a first object and a second object, there are eight specific scenarios for transmitting the first data packet and the second data packet through multiple objects.

[0118] Case a1

[0119] In some embodiments, the first data packet is transmitted through a first object, and the second data packet is transmitted through a second object.

[0120] In this embodiment, the first data packet and the second data packet are transmitted through different objects, or in other words, the objects of the first data packet and the objects of the second data packet are completely different. Furthermore, the number of first data packets and the number of second data packets are both one or more, the number of first paths and the number of second paths are both one or more, all first data packets are transmitted through all first paths, and all second data packets are transmitted through all second paths.

[0121] In this way, the first data packet and the second data packet are transmitted separately, and the first data packet and the related second data packet are transmitted through different objects, which can realize the diversity gain of each second data packet and improve the stability of the system.

[0122] Case a2

[0123] In some embodiments, the first data packet is transmitted through a first object, and a plurality of second data packets are transmitted through a second object and at least a portion of the first object.

[0124] In this embodiment, the first data packet is transmitted only through the first object, while there are multiple second data packets. These multiple second data packets are transmitted not only through the second object but also through at least a portion of the first object. This achieves diversity gain for the second data packets, which are transmitted through different objects than the first data packet.

[0125] Furthermore, the number of first data packets is one or more, the number of first objects is one or more, the number of second objects is one or more, all the first data packets are transmitted through all the first objects, and multiple second data packets are transmitted not only through all the second objects, but also through at least a portion of the first objects.

[0126] For example, if there are two first objects and two second objects among multiple objects, all first data packets are transmitted through the two first objects (e.g., object 11 and object 12), and multiple second data packets are transmitted through the two second objects (e.g., object 21 and object 22) and one of the first objects (e.g., object 11). It can be seen that the same first object (e.g., object 11) transmits a portion of the first data packets and a portion of the second data packets.

[0127] Case a3

[0128] In some embodiments, the first data packet is transmitted through a portion of the first object, and a plurality of second data packets are transmitted through a second object and other first objects besides a portion of the first object.

[0129] In this embodiment, there are multiple first objects and multiple second data packets. The first data packets and the multiple second data packets are transmitted through different objects, or in other words, the objects of the first data packets and the objects of the multiple second data packets are completely different. Thus, by transmitting the first data packets and the second data packets separately, diversity gain can be achieved for each second data packet, resulting in better system stability.

[0130] Furthermore, the number of first data packets is one or more, the number of second objects is one or more, all the first data packets are transmitted through a portion of the first objects, and multiple second data packets are transmitted not only through all the second objects, but also through other first objects among all the first objects except for a portion of the first objects. For example, the number of first objects and the number of second objects among the multiple objects are two, all the first data packets are transmitted through one of the first objects (such as object 11), and multiple second data packets are transmitted through two second objects (such as object 21 and object 22) and another first object (such as object 12), and the objects of the first data packets are completely different from the objects of the multiple second data packets.

[0131] Case a4

[0132] In some embodiments, the first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through a second object, a first object other than a portion of the first object, or one or more of the portions of the first object.

[0133] In this embodiment, there are multiple first objects and multiple second data packets, with some of the second data packets being transmitted through different objects than the first data packets. This achieves diversity gain for the second data packets that are transmitted through different objects than the first data packets.

[0134] Furthermore, the number of first data packets is one or more, and the number of second objects is one or more. All first data packets are transmitted through a portion of the first objects. Multiple second data packets are transmitted not only through all the second objects, but also through other first objects (excluding a portion of the first objects) and one or more objects within the portion of the first objects. For example, if the number of first objects and the number of second objects are two, all first data packets are transmitted through one of the first objects (e.g., object 11), and multiple second data packets are transmitted through two second objects (objects 21 and 22), another first object (e.g., object 12), and one of the first objects (e.g., object 11). It can be seen that the same first object (e.g., object 11) transmits both the first data packets and a portion of the second data packets.

[0135] Case a5

[0136] In some embodiments, the first data packet is transmitted through the second object, and multiple second data packets are transmitted through the first object.

[0137] Case a6

[0138] In some embodiments, the first data packet is transmitted through a second object, and a plurality of second data packets are transmitted through the first object and at least a portion of the second object.

[0139] Case a7

[0140] In some embodiments, the first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through the first object and other second objects besides the portion of the second object.

[0141] Case a8

[0142] In some embodiments, the first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through the first object, other second objects besides the portion of the second object, or one or more of the portion of the second object.

[0143] Here, cases a5, a6, a7, and a8 are similar to cases a1, a2, a3, and a4 mentioned above, except that the positions of the first and second objects are interchanged. For the relevant descriptions of each case, please refer to the specific descriptions of the corresponding cases mentioned above, which will not be repeated here.

[0144] The following, in conjunction with the above, will describe in detail the solutions of the embodiments of this application, taking objects as paths or resources as examples, according to different situations.

[0145] Case 1: The object is a path

[0146] In this scenario, multiple objects represent multiple paths; that is, the first device transmits the first and second data packets through multiple paths. As mentioned earlier, the paths include RLC entities or LCHs.

[0147] First, the specific form of the path will be introduced in conjunction with the protocol stack applicable to Case 1.

[0148] In the embodiments of this application, the first data packet and the second data packet are generated (or processed) by a first protocol entity, or the first data packet and the second data packet are generated (or processed) by an encoding function (or encoding profile). It should be understood that the number of the first data packet and the number of the second data packet are not limited in any way.

[0149] The first protocol entity is any entity at any layer of the protocol framework, such as the PDCP entity, the RLC entity, or an entity that integrates multiple protocol functions (such as PDCP and RLC).

[0150] Encoding function and encoding configuration file are two interchangeable descriptions; that is, encoding function can be replaced by encoding configuration file, and encoding configuration file can be replaced by encoding function. Here, encoding function can be NC function, and encoding configuration file can be NC configuration file.

[0151] In some embodiments, encoding functions (such as NC functions) are integrated into the first protocol entity. Based on this, the first data packet and the second data packet are processed through the encoding functions in the first protocol entity.

[0152] Figure 3 is a diagram of the various protocol stack architectures in the NR provided in the embodiments of this application. Referring to Figure 3, the first protocol entity and its associated protocol stack can be illustrated in several ways.

[0153] Example A1: The first protocol entity is a PDCP entity, which corresponds to multiple RLC entities, and the path includes RLC entities. That is, encoding functions (such as NC functions) are integrated within the PDCP entity. The first and second data packets are generated through the encoding functions within the PDCP entity, and the first and second data packets are transmitted through multiple RLC entities.

[0154] Referring to Figure 3(a), taking a multi-path approach with two paths as an example, the NC function (an example of encoding function) is integrated into the PDCP entity. The PDCP entity corresponds to two RLC entities: RLC1 and RLC2. The two RLC entities correspond to two LCHs: LCH1 and LCH2. RLC1 corresponds to LCH1, and RLC2 corresponds to LCH2. The first and second data packets are transmitted through the two RLC entities and then through the two LCHs. For example, the two LCHs can correspond to two Media Access Control Layer (MAC) entities or one MCA entity; no limitation is made here.

[0155] Additionally, in NR, the upper layer of the PDCP entity can be a Service Data Adaptation Protocol (SDAP) entity. In other examples, the protocol stack may not include an SDAP entity. An explanation of the SDAP entity follows here and will not be repeated here.

[0156] Example A2: The first protocol entity is a PDCP entity, which corresponds to an RLC entity. The RLC entity corresponds to multiple LCHs, and the path includes LCHs. That is, encoding functions (such as NC functions) are integrated within the PDCP entity. The first and second data packets are generated through the encoding functions in PDCP, and the first and second data packets are transmitted through multiple LCHs.

[0157] Referring to Figure 3(b), continuing with the example of multiple paths becoming two paths, the NC function (an example of encoding function) is integrated into the PDCP entity. The PDCP entity corresponds to one RLC entity, and the RLC entity corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs. For example, the two LCHs correspond to two MAC entities or one MCA entity.

[0158] Example A3: The first protocol entity is an RLC entity, which corresponds to multiple LCHs, and the path includes LCHs. That is, encoding functions (such as NC functions) are integrated within the RLC entity. The first and second data packets are generated by the encoding functions in the RLC entity, and the first and second data packets are transmitted through multiple LCHs.

[0159] Referring to Figure 3(c), continuing with the example of multiple paths being converted into two paths, the NC function (an example of encoding function) is integrated into the RLC entity. The PDCP entity corresponds to one RLC entity, and the RLC entity corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs. For example, the two LCHs correspond to two MAC entities or one MCA entity.

[0160] Example A4: The first protocol entity is an entity with at least some of the functions of PDCP and RLC. The first protocol entity corresponds to multiple LCHs, and the path includes LCHs. That is, encoding functions (such as NC functions) are integrated within the entity with at least some of the functions of PDCP and RLC. The first data packet and the second data packet are generated by the encoding functions of the entity with at least some of the functions of PDCP and RLC. The entity with at least some of the functions of PDCP and RLC transmits through multiple LCHs.

[0161] Referring to Figure 3(d), continuing with the example of multiple paths becoming two paths, the functions of PDCP and RLC are integrated into a new entity (denoted as entity 1), and the NC function (an example of encoding function) is integrated into entity 1. Entity 1 corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs.

[0162] In other embodiments, the encoding function (such as the NC function) may be a separate functional entity. Thus, the first data packet and the second data packet are generated (or processed) by the encoding entity (such as the NC entity), or the first data packet and the second data packet are generated (or processed) by the encoding function (such as the NC function).

[0163] Figure 4 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application. Based on Figure 4, there are several examples of the encoding entities and related protocol stacks.

[0164] Example B1: The encoded entity (such as the NC entity) is located between the PDCP entity and the RLC entity. The encoded entity corresponds to one RLC entity, and the RLC entity corresponds to multiple LCHs. The path includes LCHs, and the first data packet and the second data packet are transmitted through multiple LCHs.

[0165] Referring to Figure 4(a), continuing with the example of multiple paths being two paths, the NC entity (an example of an encoded entity) is located between the PDCP entity and the RLC entity. The NC entity corresponds to one RLC entity, and the RLC entity corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs.

[0166] Example B2: The encoded entity (such as the NC entity) is located between the PDCP entity and the RLC entity. The encoded entity corresponds to multiple RLC entities. The path includes RLC entities. The first data packet and the second data packet are transmitted through multiple RLC entities.

[0167] Referring to Figure 4(b), continuing with the example of multiple paths being two paths, the NC entity (an example of an encoded entity) is located between the PDCP entity and the RLC entity. The NC entity corresponds to two RLC entities: RLC1 and RLC2. The two RLC entities correspond to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two RLC entities and then through the two LCHs.

[0168] Example B3: The encoded entity (such as the NC entity) is located under the RLC entity. The NC entity corresponds to multiple LCHs, and the path includes LCHs. That is, the encoded entity is located between the RLC entity and the MAC entity, and the multiple paths are multiple LCHs. The first and second data packets are transmitted through multiple LCHs.

[0169] Referring to Figure 4(c), continuing with the example of multiple paths being two paths, the NC entity (an example of an encoded entity) is located under the RLC entity. The NC entity corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs.

[0170] Example B4: An encoded entity (such as an NC entity) is located under an entity that has at least some functionality of PDCP and RLC, and the path includes LCH. That is, the encoded entity is located between an entity that has at least some functionality of PDCP and RLC and a MAC entity, with multiple paths consisting of multiple LCHs, and the first and second data packets are transmitted through multiple LCHs.

[0171] Referring to Figure 4(d), continuing with the example of multiple paths as two paths, the NC entity (an example of an encoded entity) is located between an entity with at least some functions of PDCP and RLC and a MAC entity. The NC entity corresponds to two LCHs: LCH1 and LCH2. The first data packet and the second data packet are transmitted through the two LCHs.

[0172] It should be understood that the two paths shown in Figures 3 and 4 above are only illustrative. Based on the actual situation, there may be three, four or more paths, which should not be construed as limiting the embodiments of this application.

[0173] In the embodiments where the multiple paths (an example of multiple objects) include a first path (an example of a first object) and a second path (an example of a second object), in some embodiments, the number of first paths included in the multiple paths is one or more, and the number of second paths is one or more.

[0174] In one example, there is one first path and one second path, meaning that multiple paths include one first path and one second path. As shown in Figure 3(b), the two paths include LCH1 and LCH2, for example, LCH1 is a first path and LCH2 is a second path.

[0175] Regarding the second path, in some embodiments, the second path is configured or activated when the coding function (NC function) is activated.

[0176] Conversely, if the encoding function (NC function) is not activated or deactivated, the second path does not need to be configured or activated, thus reducing unnecessary signaling overhead.

[0177] In an embodiment where the number of first data packets is one, the number of first paths is one, and the number of second paths is one or more, in a specific example, the first data packet is transmitted through one of the one or more second paths, the multiple second data packets are transmitted through multiple paths other than the second path used to transmit the first data packet, or the multiple second data packets are transmitted through multiple paths.

[0178] In another specific example, the first data packet is transmitted through a first path, and multiple second data packets are transmitted through one or more second paths, or multiple second data packets are transmitted through multiple paths.

[0179] The following section provides a more detailed description of the relevant content for multiple paths.

[0180] In some embodiments, the aforementioned multiple paths belong to at least a portion of associated, predefined, or configured paths (denoted as P paths).

[0181] It should be understood that "association" means that multiple paths are related to P paths; specifically, the multiple paths belong to at least a portion of the P paths. "Predefined" means that the P paths are paths predefined by the system or protocol. "Configured" means that the P paths are paths configured by the network or terminal devices.

[0182] In this application embodiment, for example, the above-mentioned multiple paths can be obtained in the following manner.

[0183] Method A

[0184] In some embodiments, the aforementioned multiple paths (an example of multiple objects) are associated with a mapping relationship (referred to as the first mapping relationship for ease of distinction) with a first data packet and / or a second data packet.

[0185] It is understood that the first mapping relationship is used to indicate the path used to transmit the first data packet and / or the path used to transmit the second data packet.

[0186] In implementation, the first device (or the second device) can determine the path for transmitting the first data packet and / or the path for transmitting the second data packet based on the first mapping relationship, thus facilitating the determinism of data transmission.

[0187] The first mapping relationship is used to indicate which type of data (first data packet or second data packet) is transmitted via which path (e.g., first path or second path). It should be understood that the data packet type includes first data packet and second data packet; the first data packet is one type of data (e.g., encoded data packet, NC), and the second data packet can be another type of data (e.g., unencoded data packet, NC), raw data packet). The path type can be either the first path or the second path mentioned above.

[0188] For example, where the first mapping is used to indicate the path for transmitting either type of data packet (such as the first data packet) in the first data packet and the second data packet, the other type of data packet (such as the second data packet) may be determined based on preset conditions (see description below) or a predefined path may be used.

[0189] In conjunction with the first path (an example of a first object) and the second path (an example of a second object) described above, in some embodiments, when the first mapping relationship is used to indicate the path for transmitting the first data packet, the first mapping relationship is used to indicate that the first data packet is transmitted using one of the first path and the second path; and / or, when the first mapping relationship is used to indicate the path for transmitting the second data packet, the first mapping relationship is used to indicate that the second data packet is transmitted using another of the first path and the second path.

[0190] In a specific example, where the first mapping relationship is used to indicate the path for transmitting the first data packet and the path for transmitting the second data packet, the first mapping relationship is used to indicate the transmission of the first data packet using the first path (or the second path), and to indicate the transmission of the second data packet using the second path (or the first path).

[0191] In implementation, when there are multiple first data packets and multiple second data packets, the specific first paths (or second paths) used for transmission of each first data packet and the specific second paths (or first paths) used for transmission of each second data packet can be flexibly handled based on the actual situation. This application embodiment does not impose any limitations. The explanations for similar descriptions in other places below are the same as those here, and will not be repeated.

[0192] In some embodiments, the first mapping relationship is configured or predefined by the network device.

[0193] In an embodiment where the first mapping relationship is a network device configuration, the network device sends configuration information (denoted as configuration information 1) to the terminal device. Configuration information 1 indicates the first mapping relationship. Based on the first mapping relationship indicated by configuration information 1, the terminal device can determine the path for transmitting the first data packet and / or the second data packet. Furthermore, exemplarily, configuration information 1 can also indicate the aforementioned P paths, where the multiple paths currently used for transmitting the first and second data packets are at least a portion of these P paths.

[0194] In the embodiments of this application, the mapping relationship may also be referred to as mapping restriction, mapping configuration, etc., and various descriptions can be used interchangeably. In this document, the mapping relationship is used as the consistent term.

[0195] Method B

[0196] In some embodiments, the paths used to transmit the first data packet and / or the second data packet are determined based on preset conditions.

[0197] In implementation, the first device (or the second device) can determine the path for transmitting the first data packet and / or the path for transmitting the second data packet based on preset conditions. This allows for flexible path selection based on actual circumstances, improving communication flexibility.

[0198] In a specific example, preset conditions can be used to determine the paths used to transmit the first data packet and the second data packet. For example, preset conditions can be used to determine that the path used to transmit the first data packet is a first path (or a second path), and the path used to transmit the second data packet is a second path (or a first path).

[0199] In some embodiments, combining the first path and the second path described above, the path used to transmit the first data packet is predefined or configured by the network device, and the path used to transmit the second data packet is determined based on preset conditions; or, the path used to transmit the second data packet is predefined or configured by the network device, and the path used to transmit the first data packet is determined based on preset conditions.

[0200] When the path used to transmit the first data packet is predefined or configured by the network device, meaning the path is not determined by preset conditions but is a predefined path or a path explicitly indicated by the network device, the path for the second data packet, which is not indicated, needs to be determined based on preset conditions. For example, if the predefined path or network device indication for transmitting the first data packet is a first path, then the path for transmitting the second data packet is determined based on preset conditions. For instance, the path determined based on preset conditions for transmitting a portion of the second data packet might be at least part of the first path, and the path for transmitting another portion of the second data packet might be the second path. Or, all paths determined based on preset conditions might be the second path. Similarly, the explanation for the path for transmitting the second data packet being predefined or configured by the network device and the path for transmitting the first data packet being determined based on preset conditions is the same as above and will not be repeated.

[0201] In some embodiments, the preset conditions are network device configurations or predefined.

[0202] In an embodiment where the preset condition is network device configuration, the network device sends configuration information (denoted as configuration information 2) to the terminal device. Configuration information 2 indicates the preset condition. The terminal device can determine the path for transmitting the first data packet and / or the second data packet based on the preset condition indicated by configuration information 2. Furthermore, exemplarily, configuration information 2 can also be used to indicate the aforementioned P paths.

[0203] Regarding preset conditions, these conditions are related to the path information.

[0204] In one example, the path information includes at least one of the following: channel quality, amount of data to be transmitted.

[0205] Channel quality refers to the channel quality corresponding to the path. For example, if the path includes an LCH, the channel quality refers to the channel quality of the LCH.

[0206] The amount of data to be transmitted represents the amount of data to be transmitted corresponding to the path. For example, if the path includes LCH, the amount of data to be transmitted represents the amount of data to be transmitted for LCH.

[0207] As an example, and not a limitation, in a specific example, multiple paths refer to two paths, including a first path and a second path. The network device is configured or predefined to use the second path (or the first path) to transmit the first data packet. The process of determining the path used to transmit the second data packet based on preset conditions can be described as follows, where the number of second data packets is multiple. Assuming the network device is configured or predefined to use the second path to transmit the first data packet, the path through which the multiple second data packets are transmitted can be determined based on preset conditions.

[0208] Regarding the preset conditions, for example, if the channel quality of the first path is less than threshold 1, and / or if the amount of data to be transmitted on the first path is greater than threshold 2, and / or if the channel quality of the second path is greater than threshold 3, and / or if the amount of data to be transmitted on the second path is less than threshold 4, it means that the overall conditions of the second path are better than those of the first path, and the second path is more suitable for transmitting data. Therefore, a portion of the second data packets (i.e., some of the multiple second data packets) is transmitted through the second path, and another portion of the second data packets (i.e., another portion of the multiple second data packets) is transmitted through the first path. In this way, the purpose of transmitting the first and second data packets through two paths is achieved. Since the other portion of the second data packets is transmitted through different paths than the first data packets, diversity gain is achieved for this other portion of the second data packets.

[0209] For example, if the channel quality of the first path is greater than threshold 1, and / or if the amount of data to be transmitted on the first path is less than threshold 2, and / or if the channel quality of the second path is less than threshold 3, and / or if the amount of data to be transmitted on the second path is greater than threshold 4, it means that the overall conditions of the first path are better than those of the second path, and the first path is more suitable for transmitting data. Therefore, some second data packets (i.e., some second data packets out of multiple second data packets) or all second data packets (i.e., all second data packets out of multiple second data packets) can be transmitted through the first path, thus achieving the goal of transmitting the first and second data packets through two paths. It can be understood that in the case of transmitting some second data packets (i.e., some second data packets out of multiple second data packets) through the first path, naturally, another part of the second data packets is transmitted through the first path, thus achieving diversity gain for a portion of the second data packets. In the case of transmitting all second data packets out of multiple second data packets through the first path, diversity gain for each second data packet can be achieved.

[0210] It should be understood that the process of determining the path for transmitting the second data packet based on preset conditions for network device configuration or predefined use of the first path (or second path) to transmit the first data packet is similar to the above process. Please refer to the relevant description of the above process, and it will not be repeated here.

[0211] In another specific example, multiple paths are two paths, including a first path and a second path. The network device is configured with preset conditions. The process of determining the path for transmitting the first data packet and the second data packet based on the preset conditions can be described as follows, wherein the number of first data packets is one or more, and the number of second data packets is multiple.

[0212] For example, if the channel quality of the first path is less than threshold 1, and / or if the amount of data to be transmitted on the first path is greater than threshold 2, and / or if the channel quality of the second path is greater than threshold 3, and / or if the amount of data to be transmitted on the second path is less than threshold 4, it means that the overall conditions of the second path are better than those of the first path, and the second path is more suitable for transmitting data. Therefore, the first data packet and a portion of the second data packet (i.e., a portion of the multiple second data packets) can be transmitted through the second path, and another portion of the second data packet (i.e., another portion of the multiple second data packets) can be transmitted through the first path; or, the second data packet and a portion of the first data packet (i.e., a portion of the multiple first data packets) can be transmitted through the second path, and another portion of the first data packet (i.e., another portion of the multiple first data packets) can be transmitted through the second path; or, the first data packet can be transmitted through the second path, and the second data packet can be transmitted through the first path; or, the second data packet can be transmitted through the second path, and the first data packet can be transmitted through the first path. In this way, the purpose of transmitting the first data packet and the second data packet through two paths is achieved, realizing the diversity gain of data transmission.

[0213] For example, if the channel quality of the first path is greater than threshold 1, and / or if the amount of data to be transmitted on the first path is less than threshold 2, and / or if the channel quality of the second path is less than threshold 3, and / or if the amount of data to be transmitted on the second path is greater than threshold 4, it means that the overall conditions of the first path are better than those of the second path, and the first path is more suitable for data transmission. Therefore, the first data packet and a portion of the second data packet can be transmitted through the first path, and another portion of the second data packet can be transmitted through the second path; or, the second data packet and a portion of the first data packet can be transmitted through the first path, and another portion of the first data packet can be transmitted through the second path; or, the first data packet can be transmitted through the first path, and the second data packet can be transmitted through the second path; or, the second data packet can be transmitted through the first path, and the first data packet can be transmitted through the second path. In this way, the purpose of transmitting the first and second data packets through two paths is achieved, realizing diversity gain in data transmission.

[0214] Regarding the first path and the second path, when the encoding function (such as the NC function) is deactivated, the first device will temporarily lift the use of the second path, and / or lift the first mapping relationship between the path indicated by the configuration information and the packet type.

[0215] In some embodiments, when the encoding function (such as the NC function) is deactivated, the method further includes: transmitting a third data packet (referred to as data packet A for easy distinction) through the first path.

[0216] In other words, since the encoding function is deactivated, the second path cannot be used to transmit data. Therefore, the first path is used to transmit data packet A.

[0217] For example, data packet A is not encoded, and / or data packet A carries encoded information (such as NC information).

[0218] The encoding information (such as NC information) mainly indicates the relevant content of the encoding, including at least one of the following: SN, the maximum supported segment length, the maximum supported number of segments, the number of data streams or data packets processed by the supported precoding method (such as NC), the encoding profile identifier used, the algorithm of the precoding method (such as NC), whether the operation of the precoding method (such as NC) is performed, and the relationship information indicating the correlation between data packets.

[0219] It should be noted that since data packet A is a data packet that has not undergone encoding, theoretically there are no other data packets related to data packet A. Therefore, exemplarily, relational information can represent the relationship between data packets A and A. A detailed description of relational information follows, and will not be repeated here.

[0220] In embodiments where the protocol architecture includes a separate encoding entity (such as an NC entity), the header portion of data packet A, exemplarily, includes encoded information. In embodiments where encoding functions (such as NC functions) are integrated into a first protocol entity such as a PDCP entity, RLC entity, etc., as described above, the encoded information can be carried at any location in data packet A.

[0221] It should be understood that when encoding functions (such as NC) are activated, the communication system employs a protocol architecture that integrates encoding functions. However, when encoding functions are activated, the communication system may not need to use them, and therefore, it may employ a protocol architecture without integrated encoding functions. Thus, in the two scenarios of activated and deactivated encoding functions, the communication system may use two different protocol architectures, increasing the complexity of data processing. Therefore, in both scenarios, a protocol architecture integrating encoding functions should be used. This way, when encoding functions are deactivated, data packets will still carry encoded information, but the data packets will no longer be encoded, reducing the complexity of data processing.

[0222] In some embodiments, multiple paths correspond to multiple carriers, and one carrier corresponds to one or more paths. Exemplarily, the correspondence between multiple paths and multiple carriers is configured by the network device.

[0223] In implementation, the first device transmits data packets from multiple paths through corresponding multiple carriers.

[0224] Case 2: The object is a resource

[0225] In this scenario, multiple objects represent multiple resources, meaning that the first device transmits the first data packet and the second data packet through multiple resource paths.

[0226] First, we will introduce the protocol stack applicable to case 2.

[0227] In the embodiments of this application, the first data packet and the second data packet are generated (or processed) by a first protocol entity, or the first data packet and the second data packet are generated (or processed) by an encoding function (or encoding profile). It should be understood that the number of the first data packet and the number of the second data packet are not limited in any way.

[0228] In some embodiments, encoding functions (such as NC functions) are integrated into the first protocol entity. Based on this, the first data packet and the second data packet are processed through the encoding functions in the first protocol entity.

[0229] Figure 5 is a diagram of the various protocol stack architectures in the NR provided in the embodiments of this application. Referring to Figure 5, the first protocol entity and its associated protocol stack can be illustrated in several ways.

[0230] In Example C1, referring to Figure (a) in 5, the first protocol entity is the PDCP entity. The first and second data packets are generated through encoding functions (such as NC functions) in the PDCP entity.

[0231] In Example C2, referring to Figure (b) in 5, the first protocol entity is the RLC entity. The first and second data packets are generated through the encoding function (NC function) in the RLC entity.

[0232] In Example C3, referring to Figure (c) in 5, the first protocol entity is an entity having at least some of the functions of PDCP and RLC. The first and second data packets are generated by the encoding function (NC function) in the entity having at least some of the functions of PDCP and RLC.

[0233] In other embodiments, the protocol stack shown in Figure 3 above can also be applied to the embodiment of Case 2. For example, the protocol stacks shown in Figures (a) and (b) of Figure 3 are both applicable to Example C1, the protocol stack shown in Figure (c) of Figure 3 is applicable to Example C2, and the protocol stack shown in Figure (d) of Figure 3 is applicable to Example C3.

[0234] In the protocol stack of Figure 4 above, multiple resources can correspond to the same LCH or different LCHs. That is, the first data packet and the second data packet are transmitted through multiple resources on the same LCH or different LCHs, or the first data packet and the second data packet are transmitted through the same LCH or different LCHs and carried on multiple resources. The number of the first data packet and the number of the second data packet can be one or more.

[0235] In another embodiment, the encoding function (such as the NC function) can be a separate functional entity. Thus, the first data packet and the second data packet are generated by the encoding entity (such as the NC entity), or the first data packet and the second data packet are generated by the encoding function.

[0236] Figure 6 is a diagram of the various protocol stack architectures in NR provided in the embodiments of this application.

[0237] Example D1, referring to Figure 6(a), the NC entity (an example of an encoded entity) is located between the PDCP entity and the RLC entity.

[0238] Example D2, referring to Figure 6(b), the NC entity (an example of an encoded entity) is located below the RLC entity. That is, the NC entity is located between the RLC entity and the MAC entity.

[0239] Example D3, referring to Figure 6(c), the NC entity (an example of an encoded entity) is located below an entity that has at least some of the functionality of PDCP and RLC. That is, the NC entity is located between the entity that has at least some of the functionality of PDCP and RLC and the MAC entity.

[0240] In other embodiments, the protocol stack shown in Figure 4 above can also be applied to the embodiment of Case 2. For example, the protocol stacks shown in Figures (a) and (b) of Figure 4 are both applicable to Example D1, the protocol stack shown in Figure (c) of Figure 4 is applicable to Example D2, and the protocol stack shown in Figure (d) of Figure 4 is applicable to Example D3.

[0241] It should be understood that the protocol stacks illustrated in Figures 5 and 6 above are merely illustrative and should not be construed as limiting the embodiments of this application. In other examples, the protocol stack may not include the SDAP entity.

[0242] Regarding multiple resources, in some embodiments, multiple resources are at least a portion of pre-configured, scheduled, or configured resources.

[0243] It should be understood that "pre-configuration" can refer to resources that are pre-configured by network devices, "configuration" can refer to resources that are dynamically indicated by network devices through commands, and "scheduling" refers to resources that are configured by terminals sending requests.

[0244] In implementation, the first device determines multiple resources from pre-configured, scheduled, or configured resources, and sends the first data packet and the second data packet through these multiple resources.

[0245] Regarding the first data packet and the second data packet, in some embodiments, the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and an LCH. The number of first data packets and the number of second data packets are not limited in any way.

[0246] The first and second data packets correspond to a PDCP entity, which can be understood as the first and second data packets being generated through the same PDCP entity. The first and second data packets also correspond to an RLC entity, which can be understood as the first and second data packets being generated through the same RLC entity. Furthermore, the first and second data packets correspond to an LCH, which can be understood as the first and second data packets being transmitted on the same LCH through multiple resources, or the first and second data packets being transmitted through the same LCH and carried on multiple resources.

[0247] In this application embodiment, the aforementioned resources can be obtained, by way of example, in the following manner.

[0248] In some embodiments, the aforementioned multiple resources (another example of multiple objects) are associated with a mapping relationship (referred to as the second mapping relationship for ease of distinction) with a first data packet and / or a second data packet.

[0249] It is understood that the second mapping relationship is used to indicate the resources used to transmit the first data packet and / or the resources used to transmit the second data packet.

[0250] For example, where the second mapping is used to indicate the resources for transmitting either type of data packet (such as the first data packet) in the first data packet and the second data packet, the other type of data packet (such as the second data packet) can be determined based on preset conditions (see description below) or use predefined resources.

[0251] In conjunction with the first resource (an example of a first object) and the second resource (an example of a second object) described above, in some embodiments, when the second mapping relationship is used to indicate the resource used for transmitting the first data packet, the second mapping relationship is used to indicate the use of one of the first resource and the second resource to transmit the first data packet; and / or, when the second mapping relationship is used to indicate the resource used for transmitting the second data packet, the second mapping relationship is used to indicate the use of the other of the first resource and the second resource to transmit the second data packet.

[0252] In a specific example, where the second mapping relationship is used to indicate the resources used to transmit the first data packet and the resources used to indicate the resources used to transmit the second data packet, the second mapping relationship is used to indicate the use of the first resource (or the second resource) to transmit the first data packet, and to indicate the use of the second resource (or the first resource) to transmit the second data packet.

[0253] In implementation, when there are multiple first data packets and multiple second data packets, the specific first resources (or second resources) used for transmission of each first data packet and the specific second resources (or first resources) used for transmission of each second data packet can be flexibly handled based on the actual situation, and this application embodiment does not impose any limitations. The explanations for similar descriptions elsewhere below are the same as those here, and will not be repeated.

[0254] In one example, the second mapping is either network device configuration or predefined.

[0255] In an embodiment where the second mapping relationship is a network device configuration, the network device sends configuration information (denoted as configuration information 3) to the terminal device, which is used to indicate the second mapping relationship.

[0256] In other embodiments, the resources used to transmit the first data packet and / or the second data packet are determined based on preset conditions.

[0257] In a specific example, preset conditions can be used to determine the resources used to transmit the first data packet and the second data packet. For example, preset conditions can be used to determine that the resource used to transmit the first data packet is a first resource (or a second resource), and the path used to transmit the second data packet is a second resource (or a first resource).

[0258] In some embodiments, combining the first and second resources described above, the resources used to transmit the first data packet are predefined or configured by the network device, and the resources used to transmit the second data packet are determined based on preset conditions; or, the resources used to transmit the second data packet are predefined or configured by the network device, and the resources used to transmit the first data packet are determined based on the preset conditions.

[0259] When the resources used to transmit the first data packet are predefined or configured by the network device, meaning that the resources used to transmit the first data packet do not need to be determined by preset conditions but are predefined or explicitly indicated by the network device, the resources for the second data packet, which are not indicated, need to be determined based on preset conditions. For example, if the predefined or network device-indicated resources used to transmit the first data packet are first resources, then the resources used to transmit the second data packet are determined based on preset conditions. For instance, the resources determined based on preset conditions for transmitting a portion of the second data packet are at least part of the first resources, and the resources for transmitting another portion of the second data packet are second resources. Or, all resources determined based on preset conditions for transmitting the second data packet are second resources. Similarly, the explanation for the resources used to transmit the second data packet being predefined or configured by the network device and the resources used to transmit the first data packet being determined based on preset conditions is the same as above and will not be repeated.

[0260] In some embodiments, the preset conditions are network device configurations or predefined.

[0261] In an embodiment where the preset condition is network device configuration, the network device sends configuration information (denoted as configuration information 4) to the terminal device, which is used to indicate the preset condition.

[0262] Regarding the preset conditions, these conditions are related to the resource information. For example, the resource information includes at least one of the following: channel quality and the amount of data to be transmitted. Here, channel quality refers to the channel quality corresponding to the resource. For instance, if the resource is uplink license resource 1, the channel quality refers to the channel quality of uplink license resource 1. The amount of data to be transmitted refers to the amount of data to be transmitted corresponding to the resource.

[0263] For details on how to determine the resources used for transmitting the first data packet and / or the second data packet based on preset conditions, please refer to the above description of determining the path used for transmitting the first data packet and / or the second data packet based on preset conditions, which will not be repeated here.

[0264] Before the first device sends the first data packet and the second data packet through multiple resources, a Logical Channels Priority (LCP) process is involved.

[0265] LCP (Limited Channel Protocol) refers to the process by which the MAC entity allocates resources to different logical channels based on the size of the transmission resources and the priority of each logical channel. After the LCP process is completed, each logical channel is allocated a resource of greater than or equal to 0. In existing protocols, after each logical channel is allocated resources, data packets are placed on the allocated resources in sequence.

[0266] Compared to conventional LCP, the LCP in the embodiments of this application can be referred to as enhanced LCP.

[0267] Conventional LCP processes allocate resources and manage logical channels based on fixed priority rules or strategies. Priority configurations are relatively fixed, lack flexibility, and cannot fully adapt to the dynamic needs of modern wireless communication systems.

[0268] The enhanced LCP process allows terminal devices to flexibly and dynamically adjust the priority of the LCH to adapt to different communication scenarios and needs. The enhanced LCP process in this application embodiment is an LCP process that takes into account a preset encoding method (such as NC). Based on this, packet assembly or resource allocation for the LCH is performed to transmit data packets on different resources. Alternatively, the LCP process can also be referred to as an LCP rule, and the enhanced LCP process in this application embodiment can also be referred to as an LCP rule based on a preset encoding method (such as NC).

[0269] The enhanced LCP process of the embodiments of this application will be described below. Unless otherwise specified, the LCP process referred to below refers to the enhanced LCP process, or an LCP rule based on a preset encoding method (such as NC).

[0270] In some embodiments, the method further includes: the first device multiplexing multiple data packets onto different resources based on the LCP process.

[0271] The term "multiple data packets" refers to a number of first data packets (one or more) and a number of second data packets (multiple). In other words, specifically, the multiple data packets include one or more first data packets and multiple second data packets. It should be understood that a first data packet is derived from at least one second data packet, and the first data packet and at least one second data packet are related packets. For example, the first data packet is packet ab, and the two second data packets are packet a and packet b; packet a, packet b, and packet ab are related data packets.

[0272] Furthermore, the different resources reused by multiple data packets represent at least two or more resources, and these different resources are the multiple resources mentioned above.

[0273] The process of multiplexing multiple data packets onto different resources is also a process of assembling data packets. Taking a single resource as an example, the first device assembles a MAC PDU within that resource. This MAC PDU includes (or carries) at least one data packet from multiple data packets, thus multiplexing at least one data packet onto one resource. For multiple resources, the first device assembles multiple MAC PDUs across the multiple resources, each MAC PDU including at least one data packet. The terminal device transmits its respective MAC PDU on each resource, thus multiplexing multiple data packets onto multiple different resources, thereby achieving the process of transmitting multiple data packets through multiple resources.

[0274] Therefore, as an alternative description of the above method, multiple data packets are assembled into packets within MAC PDUs of different resources based on the LCP procedure. Specifically, multiple data packets are assembled into packets within MAC PDUs of multiple resources based on the LCP procedure.

[0275] It should be understood that no specific restrictions are placed on how multiple data packets are reused on different resources.

[0276] For example, the first device multiplexes multiple data packets to different resources. That is, each data packet of the multiple data packets is multiplexed to a different resource, with one data packet corresponding to one resource.

[0277] Figure 7 is a schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0278] Referring to Figure 7(a), assume that the three data packets include packet a, packet b, and packet ab. During the LCP process, the three data packets are multiplexed onto three resources. Each MAC PDU in each resource includes one of the three data packets. For example, MAC PDU1 of resource 1 includes packet a, MAC PDU2 of resource 2 includes packet b, and MAC PDU3 of resource 3 includes packet ab.

[0279] For example, the first method involves multiplexing portions of multiple data packets onto different resources.

[0280] For example, some data packets from multiple data packets can be multiplexed onto different resources, while other data packets can be multiplexed onto the same resource, and / or, some data packets can be multiplexed onto another resource. For instance, packets 1 and 2 can be multiplexed onto resource 1 and resource 2 respectively, packets 3 and 4 can be multiplexed onto resource 3, and packets 5 and 6 can be multiplexed onto resource 4.

[0281] Referring to Figure 7(b), the three data packets include packet a, packet b, and packet ab. During the LCP process, the three data packets are multiplexed onto two resources. MAC PDU1 of resource 1 includes two data packets (such as packet a and packet b), and MAC PDU2 of resource 2 includes one data packet (such as packet ab).

[0282] In multiple resources where multiple data packets are multiplexed, at least one resource corresponds to one Hybrid Automatic Repeat Request (HARQ). Generally, for fast data packet transmission, one resource corresponds to one HARQ. However, in special cases where the network has no spare HARQs (or only one HARQ), the same HARQ will be transmitted on different resources. In this case, one HARQ corresponds to at least two resources.

[0283] Based on the LCP process described above, the first device can reuse multiple data packets onto different resources in any of the following ways.

[0284] In mode B1, when at least one of the multiple data packets is carried on the i-th resource of the multiple resources, the first device multiplexes the remaining data packets on other resources different from the i-th resource. This achieves data packet diversity gain.

[0285] It should be understood that remaining data refers to data packets that have not yet been reused on resources among multiple data packets. It should also be understood that at least one data packet and the remaining data packets are related data packets.

[0286] For example, continuing to refer to Figure 7(b), during the LCP process, if packets a and b are already carried on resource 1, the first device will reuse the remaining packets a and b on resource 2.

[0287] In method B2, if at least one of the multiple data packets is carried on the i-th resource of multiple resources, and if there are remaining resources on the i-th resource, the first device multiplexes the padding data onto the remaining resources. This allows the remaining data packets to be carried on resources other than the i-th resource. Thus, diversity gain of the data packets can be achieved.

[0288] It should be understood that in existing conventional LCP, if there are remaining resources for the i-th resource, the remaining data packets are sequentially multiplexed onto the remaining resources of the i-th resource. However, in this embodiment, even if there are remaining resources for the i-th resource, the remaining data packets are not multiplexed onto the i-th resource; instead, padding is multiplexed onto the remaining resources, thus achieving diversity gain for the data packets.

[0289] Figure 8 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0290] Referring to Figure 8(a), during the LCP process, if packets a and b are carried on resource 1 and there are still remaining resources in resource 1, the first device will not reuse the remaining packets a and b on resource 1. Instead, it will reuse the padding data on the remaining resources of resource 1, thereby reusing packets a and b on resource 2. As another example, referring to Figure 8(b), if packets a and b are carried on resource 1 and there are still remaining resources in resource 1, the first device will reuse the padding data on the remaining resources of resource 1, thereby reusing packet b on resource 2.

[0291] In method B3, if at least one of the multiple data packets is carried on the i-th resource of the multiple resources, and if there are remaining resources on the i-th resource, the first device multiplexes the other data packets besides the multiple data packets onto the remaining resources. This allows the remaining data packets to be carried on resources other than the i-th resource. Thus, diversity gain of the data packets can be achieved.

[0292] It should be understood that "other data packets" refers to any data packet other than the specified multiple data packets among all the data packets to be sent, and this other data packet is unrelated to the specified multiple data packets. For example, the specified multiple data packets include packet a, packet b, and packet ab, which are related data packets, while the other data packet is packet d, which is unrelated to the specified three data packets.

[0293] Figure 9 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0294] Referring to Figure 9(a), during the LCP process, if packets a and b are carried on resource 1, and there are still remaining resources on resource 1, the first device will not reuse the remaining packets a and b on resource 1. Instead, it will reuse other data packets (such as packet d) on the remaining resources of resource 1, thus reusing packets a and b on resource 2. For example, referring to Figure 9(b), if packets a and b are carried on resource 1, and there are still remaining resources on resource 1, the first device will reuse other data packets (such as packet d) on the remaining resources of resource 1, thus reusing packet b on resource 2. In mode B4, if at least one data packet is carried on the i-th resource among multiple data packets, the first device will skip or ignore the i-th resource in resource allocation. This allows the remaining data packets among multiple data packets to be carried on resources other than the i-th resource. This achieves data packet diversity gain.

[0295] It should be understood that, in this example, skipping or ignoring the i-th resource in resource allocation means that even if there are remaining resources for the i-th resource, it will still be skipped or ignored in subsequent resource allocations; that is, the i-th resource will be discarded in subsequent resource allocations. It should be noted that this resource allocation can be for any type of data, and is not limited to allocating resources for the remaining data packets of the aforementioned multiple data packets.

[0296] In method B5, when at least one of the multiple data packets is carried on the i-th resource among multiple resources, the remaining data packets in the multiple data packets are either skipped or ignored on the i-th resource, or the remaining data packets are skipped or ignored on the i-th resource. This allows the remaining data packets to be carried on resources other than the i-th resource. Thus, diversity gain of the data packets can be achieved.

[0297] It should be understood that even if there are remaining resources in the i-th resource, the remaining data packets in multiple data packets will be skipped or ignored in the i-th resource, or the remaining data packets will be skipped or ignored in the i-th resource and reused in other resources.

[0298] In method B6, when at least one data packet is carried on the i-th resource among multiple resources, the size of variable Bj is adjusted to fit at least one data packet. This allows the remaining data packets to be carried on resources other than the i-th resource. Thus, diversity gain for data packets can be achieved.

[0299] It should be understood that in this example, if there are remaining resources in the i-th resource, adjusting the size of variable Bj to fit at least one data packet is equivalent to adjusting the size of resource 1. In this way, the remaining data packets can be reused on other resources.

[0300] The variable Bj represents the number of available tokens in the token bucket corresponding to the logical channel. It represents the logical channel's ability to send data at any given time and the amount of resources currently available to the logical channel, i.e., the number of tokens currently available in the bucket. Therefore, by adjusting the size of variable Bj, at least one data packet can be adapted to the size of Bj, effectively reducing the resource size. The remaining data packets can only be reused on other resources.

[0301] Figure 10 is another schematic diagram of multiple data packets multiplexed on different resources according to an embodiment of this application.

[0302] Referring to Figure 10(a), during the LCP process, when packets a and b are carried on resource 1, even if there are remaining resources in resource 1, the first device will not reuse the remaining packets a and b on resource 1. Instead, it adjusts the size of variable Bj to match the size of packets a and b, thus reducing the size of resource 1. The remaining packets a and b can only be reused on resource 2. In this embodiment, through the above-mentioned enhanced LCP processes (or LCP rules based on a preset encoding method (such as NC), multiple data packets are multiplexed onto different resources, achieving diversity gain in data transmission and improving the flexibility of the scheme.

[0303] Figure 11 is another schematic flowchart of an encoding-based communication method according to an embodiment of this application. Figure 11 shows method 300. In method 300, taking a first device as a terminal device and a second device as a network device as an example, method 300 will be described.

[0304] In step S310, the terminal device multiplexes multiple data packets onto different resources based on the LCP procedure. These different resources are referred to as multiple resources, which are multiple uplink licensed resources (such as CG resources).

[0305] During uplink transmission, taking one uplink grant resource as an example, after acquiring the uplink grant resource, the terminal device assembles a MAC PDU within the uplink grant resource and transmits the MAC PDU. Each MAC PDU includes a portion of multiple data packets, while the remaining data packets are transmitted through other MAC PDUs in other uplink grant resources. As shown in Figure 7(a), the terminal device assembles three MAC PDUs from multiple uplink grant resources. Each MAC PDU includes one data packet. Thus, the terminal device transmits its respective MAC PDU on each uplink grant resource, thereby achieving the transmission of three data packets through three uplink grant resources.

[0306] In step S320, the terminal device transmits multiple data packets through multiple resources.

[0307] For example, in step S330, the network device sends feedback information. This feedback information indicates that the multiple data packets have been received or successfully received, or indicates that the data content corresponding to the multiple data packets has been acquired or successfully acquired or decoded.

[0308] Regarding the LCP process mentioned above, if the encoding function (NC function) is deactivated, the terminal device will either temporarily lift the LCP process or revert to the existing LCP process (i.e., the regular LCP process, or LCP rules not based on NC).

[0309] The above describes the solutions of this application embodiment, taking the object as a path or resource as an example, and different situations. The following will continue to introduce other relevant content.

[0310] In the embodiments of this application, the first data packet and the second data packet can correspond to any of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device. The number of first data packets and the number of second data packets can be one or more.

[0311] The radio bearer (RB) can be a user plane bearer (Data Radio Bearer, DRB). However, it's also possible for the bearer to be a control plane bearer. The first and second data packets can originate from the same bearer. A PDU session is a data transmission path established between a terminal device (such as a UE) and the 5G core network (5GC), and it is also a logical connection between the terminal device (UE) and the data network (DN). Quality of Service (QoS) flow refers to the allocation of specific bandwidth, latency, jitter, and other quality of service parameters to a specific data flow in the network to ensure the reliability and stability of data transmission. The first and second data packets can originate from the same QoS flow.

[0312] It should be understood that when encoding (e.g., NC) or decoding (e.g., NC) data, both the first and second devices need to activate the NC function in order to be able to process the data.

[0313] Next, the activation or deactivation of encoding functions (such as NC functions) will be described.

[0314] In the embodiments of this application, the first device and the second device need to activate or deactivate the encoding function in order to be able to process data.

[0315] In some embodiments, the activation or deactivation of encoding functions (such as NC functions) is configured by the network device. This increases configuration flexibility.

[0316] In this embodiment, the network device sends a first instruction to indicate whether to activate or deactivate a coding function (such as NC function), and the terminal device receives the first instruction to activate or deactivate the coding function.

[0317] In other embodiments, the activation or deactivation of coding functions (such as NC functions) is determined based on predefined rules.

[0318] For example, the predefined rules are related to at least one of the following: the service type corresponding to the data to be transmitted; the data type of the data to be transmitted; and the channel quality of the channel used to transmit the data to be transmitted.

[0319] In embodiments where predefined rules relate to the service type of the data to be transmitted, if the service type is a low-latency and / or high-reliability service, then an encoding function (such as the NC function) can be activated to improve the reliability and stability of data transmission. For example, low-latency and / or high-reliability services could be Ultra-Reliable and Low-Latency Communications (URLLC) services, Extended Reality (XR) services, etc. Conversely, if the data type is not a data type with low-latency and / or high-reliability service characteristics, then the encoding function (such as the NC function) can be deactivated.

[0320] In an embodiment where predefined rules relate to the data type of the data to be transmitted, if the data type has low latency and / or high reliability characteristics, then an encoding function (such as NC function) can be activated to improve the reliability and stability of data transmission. Conversely, if the data type does not have low latency and / or high reliability characteristics, then an encoding function (such as NC function) can be deactivated.

[0321] In an embodiment where predefined rules relate to the channel quality of the channel used to transmit the data, a low channel quality indicates a poor channel environment, necessitating improved data reliability and stability. Therefore, activating coding functions (such as NC) is recommended. Conversely, a high channel quality indicates a good channel environment, thus deactivating coding functions (such as NC) is recommended.

[0322] It should be understood that the predefined rules in the above examples are merely illustrative and should not be construed as limiting the embodiments of this application.

[0323] In the embodiments of this application, activating or deactivating coding functions (such as NC functions) based on predefined rules can save signaling overhead. Furthermore, associating predefined rules with some parameters of the data (such as the service type, data type, and channel quality of the data to be transmitted) allows for dynamic and flexible handling of coding function activation based on the actual situation of the data, improving the flexibility of data transmission.

[0324] In some embodiments, the activation or deactivation of encoding functions (such as NC functions) is targeted at the terminal device or bearer. That is, the granularity of activation or deactivation of encoding functions is the terminal device or bearer.

[0325] Figure 12 is another schematic flowchart of the encoding-based communication method provided in an embodiment of this application. Figure 12 illustrates method 400.

[0326] In step S410, the first device activates the NC function (an example of an encoding function).

[0327] In embodiments where the first device is a terminal device, the terminal device can activate the NC function via an activation command sent by the network device in the above example, or the terminal device can activate the NC function based on predefined rules in the above example.

[0328] In step S420, when the NC function is activated, the first device generates a first data packet and a second data packet. The number of first data packets and the number of second data packets can each be one or more.

[0329] In step S430, the first device transmits the first data packet and the second data packet through multiple objects.

[0330] For example, in step S440, the second device sends feedback information to the first device.

[0331] For example, in step S450, the first device deactivates the NC function.

[0332] When the NC function is deactivated, the first device no longer uses the NC function to process data.

[0333] In embodiments where the first device is a terminal device, the terminal device can deactivate the NC function via a deactivation command sent by the network device in the above example, or the terminal device can activate the NC function based on predefined rules in the above example.

[0334] Next, the relevant configurations for encoding functions (such as NC functions) will be described.

[0335] In some embodiments, the configuration of encoding functions (such as NC functions) is specific to the terminal device or bearer. That is, the granularity of encoding function configuration is at the terminal device or bearer level.

[0336] In some embodiments, the configuration of encoding functions (such as NC functions) is configured by the network device.

[0337] In this embodiment, the network device sends encoding configuration information, and the terminal device receives the encoding configuration information, wherein the encoding configuration information is used to configure the encoding function.

[0338] In one example, the encoding configuration information includes at least one of the following: physical layer parameters for NC PDU transmission, encoding method, indication information on whether NC is supported, NC enable flag, and indication information on whether NC is executed.

[0339] Physical layer parameters include at least one of the following: code rate and transmission power. For example, code rate can be bit rate, representing the number of bits transmitted per unit time. Transmission power can represent the power used to transmit the NC PDU. Indication information indicating whether NC is supported can represent different states through different values. NC enable flags can represent different states through different flags. Indication information indicating whether NC is executed can represent different states through different values.

[0340] In this embodiment, for a first data packet and at least one second data packet associated with the first data packet, relational information can be used to indicate the correlation between the data packets. This allows the device to perform related operations more easily when the correlation between the data packets is known. For example, for a second device, if it can determine which data packets are correlated, it can consider data reception successful upon receiving only a portion of the data packets, thus eliminating the need to wait for subsequent data packets. Therefore, relational information can be used to indicate the relationships between data packets.

[0341] In some embodiments, at least one of the plurality of data packets includes relational information, which is used to indicate that at least some of the data packets are related.

[0342] Among these multiple data packets, there are one or more first data packets and multiple second data packets. In other words, specifically, the multiple data packets include at least one first data packet and multiple second data packets.

[0343] In addition, at least one data packet includes relational information, which can be understood as each data packet in at least one data packet including relational information.

[0344] It should also be understood that since the first data packet is generated based on at least one second data packet during NC, and the first data packet is related to the at least one second data packet, there is a correlation between the first data packet and the data packets formed by the at least one second data packet. For example, for packets a, b, and ab in Table 1 above, these three packets are correlated. As another example, for packets a, b, c, d, ab, and cd in Table 2 above, packets a, b, and ab are correlated, and packets c, d, and cd are correlated.

[0345] For a first data packet (e.g., packet ab), the data packets associated with the first data packet include: at least one second data packet (e.g., packet a and packet b) used to generate the first data packet. For a second data packet (e.g., packet a), the data packets associated with the second data packet include: a first data packet (e.g., packet ab) generated based on at least one second data packet, including the second data packet, and the remaining data packets in the at least one second data packet other than the second data packet (e.g., packet b).

[0346] As an example rather than a limitation, the following explanations of relational information are provided using methods 1 and 2.

[0347] Method 1: Relationship information is determined through a bitmap.

[0348] In some embodiments, the relationship information includes information in multiple bits, each bit corresponding to one of multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

[0349] It should be understood that in information consisting of multiple bits, the information for each bit includes the value of that bit.

[0350] It should also be understood that the value of each bit of information is used to indicate whether the corresponding data packet is related to the data packet carrying relational information. From another perspective, multiple bits of information are also equivalent to data packets that are related to data packets carrying relational information.

[0351] Continuing with Example 1 above, and referring to Table 1, the relationship information includes three bits of information. Each bit contains a value: "1" indicates relevance, and "0" indicates no relevance. For example, the first to third bits correspond to packets a, b, and c, respectively. In the relationship information of packet a, since packet a is relevant to both packets b and ab, its relationship information is 111. The value of the first bit indicates that the packet a corresponding to this bit is related to itself, the value of the second bit indicates that the packet b corresponding to this bit is relevant to packet a, and the value of the third bit indicates that the packet ab corresponding to this bit is relevant to packet a. In other words, the relationship information, consisting of three bits, indicates that the data packets relevant to packet a include packets a, b, and ab. Similarly, the relationship information between packets b and c is also 111.

[0352] Continuing with Example 3 above, and referring to Table 2, the relationship information includes six bits. For example, the first to sixth bits correspond to packets a, b, c, d, ab, and cd, respectively. In the relationship information for packet a, since packet a is related to both packets b and ab, its relationship information is 110010. It can be seen that since packet c, corresponding to the third bit, is not related to packet a, its value is 0. From another perspective, the six bits of relationship information indicate that the packets related to packet a include packet a itself, packet b, and packets ab; the remaining three packets are unrelated to packet a. Similarly, the relationship information between packets b and ab is also 110010. In the relationship information of package C, since package C is related to both package D and package CD, the relationship information of package C is 001101. Similarly, the relationship information of package D and package CD is also 001101.

[0353] In Method 1 above, the relationship between at least some of the data packets in multiple data packets is indicated by a bitmap. Since each element of the bitmap occupies only 1 bit, it can effectively save storage space.

[0354] Method 2: Relationship information is determined through SN.

[0355] In some embodiments, the relationship information is determined by SN information, or the relationship information includes SN information, wherein the SN information is related to the SN of at least one data packet, and at least one data packet that is related to the data packet carrying the relationship information is determined by the SN information.

[0356] It should be understood that SN information is related to the SN of at least one data packet, which is a data packet that is related to a data packet carrying relational information (or SN information). Thus, the SN information can be used to determine at least one data packet that is related to a data packet carrying relational information (or SN information). Continuing with Example 1 above, the SN information of packet a is related to the SNs of packets b and ab, meaning that packet a is related to packets b and ab.

[0357] In one example, SN information is used to indicate the offset value of at least one SN. The offset value of an SN represents the offset value of that SN from the SN of the current data packet carrying relationship information (or SN information). Thus, based on the offset value of at least one SN indicated by the SN information and the SN of the data packet carrying relationship information, at least one SN can be obtained. In this way, at least one data packet with at least one SN is at least one data packet that is related to the data packet carrying relationship information.

[0358] Continuing with Example 1 above, the SN information of packet a is used to indicate offset value 1 and offset value 2. The SN of packet a is SN1. SN2 is obtained from offset value 1 and SN1, and SN3 is obtained from offset value 2 and SN2. Therefore, it can be determined that packet b with SN2 and packet ab with SN3 are data packets related to packet a.

[0359] The method described above for determining at least one related data packet by using the offset value of at least one SN can be understood as an implicit method.

[0360] In another example, SN information is used to indicate at least one SN associated with (or corresponding to) at least one data packet, where each data packet in the at least one data packet has an associated SN. Thus, based on the at least one SN indicated by the SN information, it can be directly determined that at least one data packet having that at least one SN is at least one data packet associated with the data packet carrying the relationship information.

[0361] Continuing with Example 1 above, the SN information of packet a is used to indicate SN2 and SN3. SN2 is the SN of packet b, and SN3 is the SN of packet ab. Thus, it can be determined that packet b with SN2 and packet ab with SN3 are data packets related to packet a.

[0362] In the above method 2, the relationship information is represented by SN. The SN information is related to the SN of at least one data packet. The SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information. Since SN is an attribute of the data packet itself, the implementation complexity is low.

[0363] Regarding the SN of the first data packet, in one example, the SN of the first data packet is generated based on the SN of at least one second data packet.

[0364] The at least one second data packet is a second data packet related to the first data packet, that is, the first data packet is obtained by processing the at least one second data packet through a preset encoding method (such as NC).

[0365] When there are multiple first data packets, the SN of any first data packet is generated based on the SN of at least one associated second data packet.

[0366] In practice, the specific method for generating the SN of the relevant first data packet based on the SN of at least one second data packet can be based on various algorithms or methods, and no restrictions are imposed here.

[0367] Continuing with Example 1 above, the first data packet includes packet ab, whose serial number (SN) is generated based on the SN of packet a and the SN of packet b. Continuing with Example 3 above, the first data packet consists of two packets: packet ab and packet cd. The SN of packet ab is generated based on the SN of packet a and the SN of packet b, and the SN of packet cd is generated based on the SN of packet c and the SN of packet d.

[0368] In the example above, the first data packet is generated based on at least one second data packet. Since the second data packet is an unencoded data packet, it has its own serial number (SN). Therefore, the SN of the first data packet can be generated from the SN of at least one second data packet associated with it. Furthermore, the SN of at least one second data packet associated with the first data packet can be calculated in reverse based on the SN of the first data packet, thus confirming that the first data packet is associated with at least one second data packet.

[0369] In another example, the SN of the first data packet is consecutive to the SN of at least one second data packet.

[0370] The at least one second data packet is a second data packet related to the first data packet, that is, the first data packet is obtained by processing the at least one second data packet through a preset encoding method (such as NC).

[0371] In the case where there are multiple first data packets, the SN of any first data packet is consecutive to the SN of at least one associated second data packet.

[0372] For example, the SN of the first data packet may be located before or after the SN of at least one associated second data packet.

[0373] Continuing with Example 1 above, the first data packet is packet ab, and at least one related second data packet includes packet a and packet b. The SNs of packet a, packet b, and packet ab are SN1, SN2, and SN3, respectively. The three SNs are consecutive, and SN3 of packet ab is located after SN1 and SN2.

[0374] It should be noted that the above examples of the representation of the SN of the first data packet can be used in combination or independently, and this application embodiment does not impose any limitations. For example, the SN of the first data packet simultaneously satisfies the following conditions: the SN of the first data packet is generated based on the SN of at least one second data packet, and the SN of the first data packet is consecutive to the SN of at least one second data packet.

[0375] In some embodiments, relational information may be carried in the header or data portion of a data packet.

[0376] In other embodiments, the PDU may also include the aforementioned relationship information. Exemplarily, a PDU includes at least one data packet, and multiple data packets may be carried in one or more PDUs. The relationship information of each PDU is used to indicate that at least some of the data packets are related. It should be understood that the at least some data packets may be related data packets located within the same PDU, or any related data packets among multiple data packets; no limitation is made here.

[0377] In this embodiment, by indicating the correlation between at least some of the data packets in a plurality of data packets using relational information, it is possible to determine which data packets are correlated. This allows the device to easily perform related operations when the correlation between data packets is known. For example, for a second device, the relational information allows it to determine which data packets are correlated, enabling it to consider data reception successful upon receiving only a portion of the data packets. This eliminates the need to wait for subsequent data packets, effectively improving data processing efficiency and enabling rapid response, thus enhancing overall data transmission efficiency.

[0378] For a first data packet and a second data packet sent by the first device through multiple objects, the second device receives at least a portion of the first data packet and the second data packet.

[0379] As previously stated, at least a portion of the data packets includes at least a portion of all data packets of the first data packets and the second data packets sent through multiple objects. The number of first data packets sent through multiple objects can be one or more, and the number of second data packets can be multiple. In other words, all data packets of the first data packets and the second data packets sent through multiple objects specifically include one or more first data packets and multiple second data packets.

[0380] It should be understood that since the first data packet is obtained by processing at least one second data packet using a preset encoding method (such as NC), and the first and second data packets are transmitted through multiple objects to achieve diversity gain based on the preset encoding method (such as NC), for the second device, as long as it receives the data content corresponding to the first and / or second data packets that can be successfully acquired, the data reception can be considered successful. Therefore, the second device is allowed to receive some data packets of the first and second data packets. Of course, the ideal situation is for the second device to receive all data packets of the first and second data packets.

[0381] Continuing with Example 1 above, for example, referring to Case 11 in Table 1, the second data packet consists of two packets, namely packet a and packet b, which are sent through object 1. The first data packet consists of one packet, namely packet ab, which is sent through object 2. The second device considers the data reception successful as long as it receives at least two of the three packets: packet a, packet b, and packet ab. It can be understood that the second device receives any two of the three packets, which are partial data packets of the three packets.

[0382] In some embodiments, the second device sends feedback information to the first device.

[0383] The feedback information is used to indicate that the first data packet and / or the second data packet have been received or successfully received, or to indicate that the data content corresponding to the first data packet and / or the second data packet has been acquired or successfully acquired or decoded. For example, the feedback information may be an ACK (Acknowledged) message.

[0384] In other words, if the second device receives at least a portion of the first and second data packets, it will send a feedback message to the first device indicating successful data reception. The partial data packets are those that successfully retrieve the data content corresponding to the first and / or second data packets; therefore, the second device will also send feedback information even if it receives only a partial data packet.

[0385] It should be understood that the data content corresponding to the first data packet and / or the second data packet is actually the data content of all the second data packets. Since the first data packet is generated based on at least one second data packet, all the first data packets actually include the data content of all the second data packets. Therefore, the data content corresponding to the first data packet and / or the second data packet can be understood as the data content of all the second data packets, or it can also be understood as the data content of all the first data packets. For example, the data content corresponding to two second data packets (packet a and packet b) and one first data packet (such as packet ab) is the data content of packet a and the data content of packet b, that is, the data content of all the second data packets.

[0386] In some embodiments, the method further includes: when the second device receives a portion of the data packets, updating the receive window and / or the parameters of the receive window of the RLC.

[0387] Thus, when the second device receives the aforementioned partial data packets, it considers that the data content corresponding to the first and second data packets can be obtained through this partial data packet, and considers the data reception successful. Therefore, the second device updates the RLC's receive window and / or the parameters of the receive window. In this way, it no longer needs to wait for subsequent data packets, which effectively improves the data processing efficiency and enables a fast response, thereby improving the overall data transmission efficiency.

[0388] In one example, part of the data packet includes a second data packet.

[0389] The number of second data packets is multiple, and a partial data packet specifically includes all (multiple) second data packets.

[0390] In another example, part of the data packet includes the first data packet.

[0391] The number of first data packets is one or more, and a partial data packet includes all (one or more) first data packets.

[0392] In another example, a partial data packet specifically includes at least part (partial or all) of the first data packet and part of the second data packet.

[0393] The number of first data packets is one or more, the number of second data packets is multiple, and the partial data packets specifically include at least a portion of all (one or more) first data packets and a portion of all (multiple) second data packets.

[0394] In another example, a partial data packet includes a portion of a first data packet and at least a portion (partial or all) of a second data packet.

[0395] The number of first data packets is multiple, the number of second data packets is multiple, and the partial data packets specifically include a portion of the first data packets in all (multiple) first data packets and at least a portion of the second data packets in all (multiple) second data packets.

[0396] The receive window in RLC refers to a data range maintained by the RLC protocol layer to control and manage received PDUs during data reception. This window determines which PDUs need to be received and processed currently, and which PDUs have already been received or have not yet arrived, thereby ensuring correct data reception and sequential processing.

[0397] It should be noted that in embodiments where RLC and PDCP functions are integrated into one protocol layer (or), what is updated is the receive window and / or the parameters of the receive window of the protocol layer with RLC and PDCP functions. Specifically, what is updated is the receive window and / or the parameters of the receive window of RLC in the protocol layer with RLC and PDCP functions.

[0398] Regarding the aforementioned partial data packets, in some embodiments, the number of data packets in the aforementioned partial data packets (denoted as K3) is preset.

[0399] For example, the number of partial data packets K3 is greater than or equal to the number of second data packets (denoted as K2).

[0400] In some embodiments, the aforementioned partial data packets are data packets located at preset positions among a plurality of data packets.

[0401] The multiple data packets include a first data packet and a second data packet, wherein there are one or more first data packets and multiple second data packets. In other words, specifically, the multiple data packets include one or more first data packets and multiple second data packets. Alternatively, the multiple data packets can also be understood as all data packets containing the first and second data packets sent through multiple objects.

[0402] It should be understood that preset locations are predefined, reserved, or preconfigured locations used to transmit the aforementioned data packets, in order to ensure, as far as possible, that data packets located at preset locations are received, so as to successfully obtain the data content corresponding to multiple data packets.

[0403] It should also be understood that the above-mentioned preset position indicates the order of multiple data packets, which is determined by the sequence number (SN) of the data packets. Data packets with the first SN are positioned earlier, and data packets with the second SN are positioned later.

[0404] In one example, the preset positions can be the first K3 positions among multiple data packets. Suppose the three data packets include packet a, packet b, and packet ab. For example, packets a and ab are located in the first two positions of the three data packets, and packet b is located in the last position, to ensure that packets a and ab in the first two positions are successfully received, thus ensuring successful data reception. Alternatively, packets a and b are located in the first two positions of the three data packets, and packet ab is located in the last position, to ensure that packets a and b in at least the first two positions are successfully received, thus ensuring successful data reception.

[0405] In other examples, the preset location can be any preset location, as long as it can transmit the aforementioned data packets. This application's embodiments do not impose any limitations.

[0406] For example, a preset location can be used to transmit some high-priority data packets. That is, the aforementioned partial data packets are some of the higher-priority data packets among multiple data packets. For example, the priority of data packets can be measured based on the service type corresponding to the data, the data type of the data, and the channel quality of the channel used to transmit the data.

[0407] In implementation, the first device sends high-priority data packets based on a preset location so that the second device can successfully receive these high-priority data packets.

[0408] The following describes the encoding-based communication method provided in this application using two examples.

[0409] Example 1: Based on different LCH transmission NC packets (i.e., the first data packet and the second data packet mentioned above), the effect of diversity gain is achieved.

[0410] The architecture used in this embodiment is as follows: 1) PDCP can correspond to multiple RLC entities or LCH, or PDCP can correspond to one NC entity, and one NC can correspond to one or more RLC entities; 2) NC functions are implemented in PDCP, or in the sub-layers between PDCP and RLC entities (or between them).

[0411] Taking two paths as an example, this can be extended to more than two paths.

[0412] Step S11: The UE activates or deactivates the NC function or transmission. Whether the NC function or transmission is activated is determined based on the NC activation / deactivation signaling or indication received by the UE from the network, or based on the UE's judgment (e.g., based on predefined rules, such as service characteristics, channel quality, etc.).

[0413] In this way, the conditions for UE to activate NC can be clearly defined, and the configuration related to diversity gain can be implemented.

[0414] a) Optional NC function or transport configuration, for UE or DRB.

[0415] b) Optional, activation or deactivation of NC functions or transmissions is for the UE or DRB.

[0416] c) Optional, configure LCH configuration when NC is active, and / or, LCH and CC mapping restrictions.

[0417] Step S12: When the NC function or transmission is activated or used, the UE will route NC packets generated by the NC entity or PDCP entity to different associated legs (such as RLC entities or LCH), and / or transmit them through different associated legs (such as RLC entities or LCH). Furthermore, data from different legs is transmitted through different carriers or MAC entities.

[0418] Thus, by explicitly activating the NC behavior, diversity gain can be achieved.

[0419] a) Optionally, the NC package includes: an original package (such as package A, package B) and a package generated based on the original package (such as package (A+B)).

[0420] It should be understood that the original packet here can be the second data packet mentioned above, and the packet generated based on the original packet can be the first data packet mentioned above.

[0421] Optional, including at least one of the following:

[0422] 1)(A+B) bag is related to bag A and bag B, and is carried by the bag header.

[0423] 2) Packages A and B each have their own serial numbers (SN), and package (A+B) carries the SNs of both packages A and B, but does not have its own unique SN. Alternatively, packages A, B, and (A+B) each have their own SNs.

[0424] 3) If the receiving end receives at least two of packets A, B, or (A+B), it is considered that packets A and B have been received, or packets A, B, and (A+B) have been received. The receiving end window and parameters can then be updated accordingly.

[0425] b) Optionally, if NC function transmission is activated or used, the UE activates an additional leg (such as the second path above). The additional leg is configured by the base station.

[0426] c) Optionally, different RLCs or LCHs correspond to different CCs. The transmission restrictions of the LCH or RLC and CC are configured by the base station.

[0427] d) Optionally, based on one of the following two methods, the UE will route NC packets generated by the NC entity or PDCP entity to a different associated leg (such as an RLC entity or LCH), and / or transmit them through a different associated leg (such as an RLC entity or LCH).

[0428] 1) Alt1: The UE implementation ensures that associated packets (such as packet A, packet B, (A+B) packet) are transmitted through different legs.

[0429] For example, (A+B) packets are transmitted via the additional leg, while packets A and B are transmitted via the original leg (such as the first path mentioned above).

[0430] For example, the (A+B) packet is transmitted via the additional leg, and whether packet A or packet B is transmitted via the additional leg or the original leg depends on the channel quality based on the leg, the amount of data to be transmitted, etc.

[0431] 2) Alt2: Configures which types of packets to transmit through which legs.

[0432] For example, the network is configured to use the original leg to transmit the original packets, and the additional leg to transmit packets generated based on the original packets.

[0433] For example, the network configuration for additional leg transmission is based on packets generated from the original packets. Which leg the original packets are transmitted through is determined based on a condition. This condition is configured (e.g., the original leg's channel quality is less than TH1, and / or the original leg's data volume to be transmitted is greater than TH1, and / or the additional leg's channel quality is greater than TH3, and / or the additional leg's data volume to be transmitted is less than TH4; in this case, X packets out of the associated M original packets (X less than M) are transmitted through the additional leg). Another example: the original leg's channel quality is greater than TH1, and / or the original leg's data volume to be transmitted is less than TH1, and / or the additional leg's channel quality is less than TH3, and / or the additional leg's data volume to be transmitted is greater than TH4; in this case, X packets out of the associated M original packets (X equal to or less than M) are transmitted through the original leg.

[0434] Step S13: If the NC function or transmission is deactivated or not used, the UE lifts an additional leg, and / or, configured, restricts the mapping between the leg and the CC.

[0435] Optionally, if the UE deactivates the NC function, the original packet is transmitted via the original leg, but the NC header structure is still used (such as the NC information above).

[0436] Example 2: Transmitting NC packets (i.e., the K data packets mentioned above) based on different grant resources to achieve diversity gain.

[0437] The architecture used in this embodiment is as follows: 1) PDCP can correspond to an RLC entity or LCH, or PDCP can correspond to an NC entity, and an NC can correspond to an RLC entity; 2) NC functions are implemented in PDCP, or in a sub-layer between PDCP and RLC entities, or in RLC.

[0438] Step S21: The UE activates or deactivates the NC function or transmission. Whether the NC function or transmission is activated is determined based on the NC activation / deactivation signaling or indication received by the UE from the network, or based on the UE's judgment (e.g., based on predefined rules, such as service characteristics, channel quality, etc.).

[0439] In this way, the conditions for UE to activate NC can be clearly defined, and the configuration related to diversity gain can be implemented.

[0440] a) Optional NC function or transport configuration, for UE or DRB.

[0441] b) Optional, activation or deactivation of NC functions or transmissions is for the UE or DRB.

[0442] c) Optionally, configure the use of enhanced LCP procedures or LCP rules under NC activation.

[0443] Step S22: When the NC function or transmission is activated or in use, the UE will generate NC packets and perform packet assembly / allocate resources for the LCH based on the enhanced LCP procedure, or considering the LCP rules of the NC. Furthermore, different resources can correspond to the same or different HARQ procedures.

[0444] In this way, the behavior of NC can be explicitly activated, thereby achieving diversity gain.

[0445] a) Optionally, the NC package includes: an original package (e.g., package A, package B), and a package generated based on the original package (e.g., package (A+B)). Optionally, it includes at least one of the following:

[0446] 1) Optionally, MAC determines the association between NC packets through packet header information or inter-layer interaction.

[0447] 2)(A+B) bag is related to bag A and bag B by being carried through the bag header.

[0448] 3) Package A and Package B have their own serial numbers, and (A+B) carries the serial numbers of Package A and Package B, but does not have its own unique serial number. Alternatively, Package A, Package B, and (A+B) each have their own serial numbers.

[0449] 4) If the receiving end receives at least two of packets A, B, or (A+B), it is considered that packets A and B have been received, or packets A, B, and (A+B) have been received. The receiving end window and parameters can be updated accordingly.

[0450] b) Optionally, if NC function transfer is activated or used, the generated associated NC packets (e.g., packet A, packet B, (A+B) packet) are transferred through the same leg, but carried in different grants.

[0451] For example, adjust the LCP process so that packets A, B, and (A+B) cannot be carried in the same UL grant or MAC PDU.

[0452] For example, during the LCP process, or during resource allocation, if at least one associated NC packet is already carried in the ul grant or the corresponding HARQ process or MAC PDU, even if there are remaining idle grant resources for the LCH, it is necessary to skip the resource, or skip other associated NC packets (but other packets after the NC packet can continue to be multiplexed), or adjust Bj so that it does not include other associated NC packets.

[0453] c) Optional, associated NC packets can be carried by different ul grants. That is, it can be determined which NC packets can be transmitted through an ul grant with a certain characteristic based on the characteristics of the ul grant. The characteristics of the ul grant can be an indication associated with the NC packet type, or it can be the location of the ul grant (e.g., which CC it is located in).

[0454] Step S23: If the NC function or transmission is deactivated or not used, the UE lifts the above LCP restrictions or falls back to the existing LCP procedure.

[0455] The above describes in detail the encoding-based communication method provided in the embodiments of this application. It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0456] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0457] The communication device provided in the embodiments of this application will now be described in detail with reference to Figures 13 and 14.

[0458] Figure 13 shows a schematic block diagram of a communication device 500 provided in an embodiment of this application. Device 500 may be the first device or the second device described above, or it may be a chip or processor within the first or second device. The device 500 includes a transceiver unit 510.

[0459] In one possible implementation, the device 500 is used to execute the various processes and steps corresponding to the first device in the method 200 described above.

[0460] The transceiver unit 510 is used to transmit a first data packet and a second data packet through multiple objects. The first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0461] In some embodiments, at least portions of the first data packet and the plurality of second data packets are transmitted through different objects; or,

[0462] The first data packet and multiple second data packets are transmitted through different objects.

[0463] In some embodiments, multiple first data packets are transmitted through different objects; and / or, multiple second data packets are transmitted through different objects.

[0464] In some embodiments, the object is a path or resource, and the path includes a Radio Link Control (RLC) entity or a Logical Channel (LCH).

[0465] In some embodiments, the plurality of objects includes a first object and a second object, wherein...

[0466] When the object is a path, the first object is the first path, the second object is the second path, and the first path and the second path are different;

[0467] When the object is a resource, the first object is the first resource, the second object is the second resource, and the first resource and the second resource are different.

[0468] In some embodiments, a first data packet is transmitted through a first object, and a second data packet is transmitted through a second object; or, a first data packet is transmitted through a first object, and multiple second data packets are transmitted through a second object and at least a portion of the first object; or, a first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through a second object and other first objects besides a portion of the first object; or, a first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through a second object, other first objects besides a portion of the first object, or one or more of the first objects; or, a first data packet is transmitted through a second object, and a second data packet is transmitted through a first object; or, a first data packet is transmitted through a second object, and multiple second data packets are transmitted through a first object and at least a portion of the second object; or, a first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through a first object and other second objects besides a portion of the second object; or, a first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through a first object, other second objects besides a portion of the second object, or one or more of the second objects.

[0469] In some embodiments, multiple objects are mapped to a first data packet and / or a second data packet.

[0470] In some embodiments, the plurality of objects includes a first object and a second object; and,

[0471] In cases where the mapping relationship is used to indicate the object used for transmitting the first data packet, the mapping relationship is used to indicate that one of the first object and the second object is used to transmit the first data packet; and / or,

[0472] In cases where a mapping relationship is used to indicate the object used to transmit the second data packet, the mapping relationship is used to indicate the use of another object, either the first object or the second object, to transmit the second data packet.

[0473] In some embodiments, the objects used to transmit the first data packet and / or the second data packet are determined based on preset conditions.

[0474] In some embodiments, the object used to transmit the first data packet is predefined or configured by the network device, and the object used to transmit the second data packet is determined based on preset conditions; or,

[0475] The object used to transmit the second data packet is predefined or configured by the network device, while the second object used to transmit the first data packet is determined based on preset conditions.

[0476] In some embodiments, the preset conditions are related to the information of the object.

[0477] In some embodiments, the plurality of objects are multiple paths, the paths including Radio Link Control (RLC) entities or Logical Channels (LCH), the multiple paths including a first path and a second path, the first path and the second path being different; and the apparatus further includes:

[0478] When the encoding function is deactivated, a third data packet is transmitted through the first path. The third data packet is not encoded, and / or the third data packet carries encoded information.

[0479] In some embodiments, multiple objects are multiple resources, and the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and a logical channel LCH.

[0480] In some embodiments, the plurality of objects are multiple resources, and the apparatus further includes a processing unit; wherein...

[0481] The processing unit is used to multiplex multiple data packets onto different resources based on the LCP process. The multiple data packets include a first data packet and multiple second data packets.

[0482] In some embodiments, the processing unit is specifically configured to include:

[0483] If at least one of the multiple data packets is carried on the i-th resource of the multiple resources, the remaining data packets in the multiple data packets are multiplexed onto other resources different from the i-th resource; or,

[0484] If at least one of multiple data packets is carried in the i-th resource of multiple resources, and there are remaining resources in the i-th resource, then the padding data will be multiplexed into the remaining resources; or,

[0485] If at least one of a plurality of data packets is carried on the i-th resource of a plurality of resources, and if there are remaining resources on the i-th resource, then the other data packets besides the plurality of data packets will be multiplexed onto the remaining resources; or,

[0486] In the case where at least one of multiple data packets carries the i-th resource among multiple resources, the i-th resource is skipped or ignored in resource allocation; or,

[0487] If at least one of the multiple data packets is carried on the i-th resource of the multiple resources, the remaining data packets in the multiple data packets may be skipped or ignored on the i-th resource, or the remaining data packets on the i-th resource may be skipped or ignored; or,

[0488] When at least one of the multiple data packets is carried on the i-th resource of multiple resources, the size of variable Bj is adjusted so that the size of variable Bj is adapted to at least one data packet.

[0489] In some embodiments, the first data packet and the second data packet are generated by a first protocol entity, or the first data packet and the second data packet are generated by an encoding function.

[0490] In some embodiments, the first data packet and the second data packet are generated through an encoding function in a first protocol entity; wherein...

[0491] When the object is a path, the first protocol entity is a PDCP entity, the PDCP entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the first protocol entity is a PDCP entity, the PDCP entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC, the first protocol entity corresponds to multiple LCHs, and the path includes LCHs.

[0492] When the object is a resource, the first protocol entity is a PDCP entity; or, the first protocol entity is an RLC entity; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC.

[0493] In some embodiments, the first data packet and the second data packet are generated by an encoding entity, or the first data packet and the second data packet are generated by an encoding function; wherein...

[0494] When the object is a path, the encoded entity is located between the PDCP entity and the RLC entity, the encoded entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located between the PDCP entity and the RLC entity, the encoded entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the encoded entity is located below the RLC entity, the encoded entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located below an entity that has at least some of the functions of PDCP and RLC, and the path includes LCHs.

[0495] When the object is a resource, the encoding entity is located between the PDCP entity and the RLC entity; or, the encoding entity is located below the RLC entity; or, the encoding entity is located below an entity that has at least some of the functions of PDCP and RLC.

[0496] In some embodiments, at least one of the plurality of data packets includes relational information, or, the control protocol data unit (PDU) includes relational information, which is used to indicate that at least some of the data packets in the plurality of data packets are related, and the plurality of data packets include at least one first data packet and a plurality of second data packets.

[0497] In some embodiments, the relationship information includes information in multiple bits, each bit corresponding to one of multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

[0498] In some embodiments, the relationship information includes SN information, which is related to the SN of at least one data packet, and the SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information.

[0499] In some embodiments, the communication device is a terminal device or configured in a terminal device, wherein...

[0500] The transceiver unit 510 is also configured to: receive a first instruction sent by the network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or,

[0501] The communication device also includes a processing unit, which is used to: determine the activation or deactivation of the encoding function based on predefined rules, wherein the predefined rules are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

[0502] In some embodiments, activation of the encoding function is targeted at the terminal device or bearer; and / or, deactivation of the encoding function is targeted at the terminal device or bearer.

[0503] In some embodiments, the first data packet and the second data packet correspond to any of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device.

[0504] In another possible implementation, the device 500 is used to execute the various processes and steps corresponding to the second device in the method 200 described above.

[0505] The transceiver unit 510 is used to receive at least a portion of a first data packet and a second data packet, wherein the first data packet and the second data packet are transmitted through multiple objects, and the first data packet is obtained by processing at least one second data packet through a preset encoding method.

[0506] In some embodiments, at least a portion of the first data packet and the plurality of second data packets are transmitted through different objects; or, the first data packet and the plurality of second data packets are transmitted through different objects.

[0507] In some embodiments, multiple first data packets are transmitted through different objects; and / or, multiple second data packets are transmitted through different objects.

[0508] In some embodiments, the object is a path or resource, and the path includes a Radio Link Control (RLC) entity or a Logical Channel (LCH).

[0509] In some embodiments, the plurality of objects includes a first object and a second object, wherein...

[0510] When the object is a path, the first object is the first path, the second object is the second path, and the first path and the second path are different;

[0511] When the object is a resource, the first object is the first resource, the second object is the second resource, and the first resource and the second resource are different.

[0512] In some embodiments, a first data packet is transmitted through a first object, and a second data packet is transmitted through a second object; or, a first data packet is transmitted through a first object, and multiple second data packets are transmitted through a second object and at least a portion of the first object; or, a first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through a second object and other first objects besides a portion of the first object; or, a first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through a second object, other first objects besides a portion of the first object, or one or more of the first objects; or, a first data packet is transmitted through a second object, and a second data packet is transmitted through a first object; or, a first data packet is transmitted through a second object, and multiple second data packets are transmitted through a first object and at least a portion of the second object; or, a first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through a first object and other second objects besides a portion of the second object; or, a first data packet is transmitted through a portion of the second object, and multiple second data packets are transmitted through a first object, other second objects besides a portion of the second object, or one or more of the second objects.

[0513] In some embodiments, multiple objects are mapped to a first data packet and / or a second data packet.

[0514] In some embodiments, the plurality of objects includes a first object and a second object; and,

[0515] In cases where the mapping relationship is used to indicate the object used for transmitting the first data packet, the mapping relationship is used to indicate that one of the first object and the second object is used to transmit the first data packet; and / or,

[0516] In cases where a mapping relationship is used to indicate the object used to transmit the second data packet, the mapping relationship is used to indicate the use of another object, either the first object or the second object, to transmit the second data packet.

[0517] In some embodiments, the objects used to transmit the first data packet and / or the second data packet are determined based on preset conditions.

[0518] In some embodiments, the object used to transmit the first data packet is predefined or configured by the network device, and the object used to transmit the second data packet is determined based on preset conditions; or,

[0519] The object used to transmit the second data packet is predefined or configured by the network device, while the second object used to transmit the first data packet is determined based on preset conditions.

[0520] In some embodiments, the preset conditions are related to the information of the object.

[0521] In some embodiments, the multiple objects are multiple paths, the paths including Radio Link Control (RLC) entities or Logical Channels (LCH), the multiple paths including a first path and a second path, the first path and the second path being different; and, the transceiver unit 510 is further configured to:

[0522] When the encoding function is deactivated, a third data packet is received through the first path. The third data packet is not encoded, and / or the third data packet carries encoded information.

[0523] In some embodiments, multiple objects are multiple resources, and the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and a logical channel LCH.

[0524] In some embodiments, the first data packet and the second data packet are generated by a first protocol entity, or the first data packet and the second data packet are generated by an encoding function.

[0525] In some embodiments, the first data packet and the second data packet are generated through an encoding function in a first protocol entity; wherein...

[0526] When the object is a path, the first protocol entity is a PDCP entity, the PDCP entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the first protocol entity is a PDCP entity, the PDCP entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC, the first protocol entity corresponds to multiple LCHs, and the path includes LCHs.

[0527] When the object is a resource, the first protocol entity is a PDCP entity; or, the first protocol entity is an RLC entity; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC.

[0528] In some embodiments, the first data packet and the second data packet are generated by an encoding entity, or the first data packet and the second data packet are generated by an encoding function; wherein...

[0529] When the object is a path, the encoded entity is located between the PDCP entity and the RLC entity, the encoded entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located between the PDCP entity and the RLC entity, the encoded entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the encoded entity is located below the RLC entity, the encoded entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located below an entity that has at least some of the functions of PDCP and RLC, and the path includes LCHs.

[0530] When the object is a resource, the encoding entity is located between the PDCP entity and the RLC entity; or, the encoding entity is located below the RLC entity; or, the encoding entity is located below an entity that has at least some of the functions of PDCP and RLC.

[0531] In some embodiments, at least one of the plurality of data packets includes relational information, or, the control protocol data unit (PDU) includes relational information, which is used to indicate that at least some of the data packets in the plurality of data packets are related, and the plurality of data packets include at least one first data packet and a plurality of second data packets.

[0532] In some embodiments, the relationship information includes information in multiple bits, each bit corresponding to one of multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

[0533] In some embodiments, the relationship information includes SN information, which is related to the SN of at least one data packet, and the SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information.

[0534] In some embodiments, the communication device is a terminal device or configured in a terminal device.

[0535] The transceiver unit 510 is also configured to: receive a first instruction sent by the network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or,

[0536] The communication device also includes a processing unit, which is used to: determine the activation or deactivation of the encoding function based on predefined rules, wherein the predefined rules are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

[0537] In some embodiments, the activation of the encoding function is targeted at the terminal device or bearer; and / or,

[0538] Deactivation of the encoding function is applied to the terminal device or bearer.

[0539] In some embodiments, the communication device further includes a processing unit, the processing unit being configured to:

[0540] If a partial data packet is received, update the RLC's receive window and / or the parameters of the receive window, wherein the partial data packet includes a second data packet, or, the partial data packet includes a first data packet, or, the partial data packet includes at least a portion of the first data packet and a portion of the second data packet, or, the partial data packet includes a portion of the first data packet and at least a portion of the second data packet.

[0541] In some embodiments, the number of data packets in a partial data packet is preset, and / or, a partial data packet is a data packet at a preset position among multiple data packets, the multiple data packets including at least one first data packet and multiple second data packets.

[0542] In some embodiments, the number of partial data packets is greater than or equal to the number of second data packets.

[0543] In some embodiments, the first data packet and the second data packet correspond to any of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device.

[0544] It should be understood that the device 500 here is embodied in the form of a functional unit. The term "unit" here can refer to an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the device 500 may specifically be the first device or the second device in the above embodiments, and the device 500 may be used to execute the various processes and / or steps corresponding to the first device or the second device in the above method embodiments; to avoid repetition, these will not be described further here.

[0545] The apparatus 500 of each of the above schemes has the function of implementing the corresponding steps performed by the first device and the second device in the above methods; the function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the transmitting unit can be replaced by a transmitter, the receiving unit can be replaced by a receiver, and other units, such as the determining unit, can be replaced by a processor, which respectively executes the transmission and reception operations and related processing operations in each method embodiment.

[0546] Figure 14 shows a schematic structural diagram of a communication device 600 provided in an embodiment of this application. The device 600 includes a processor 610, a transceiver 620, and a memory 630. The processor 610, transceiver 620, and memory 630 communicate with each other via internal interconnection paths. The memory 630 stores instructions, and the processor 610 executes the instructions stored in the memory 630 to control the transceiver 620 to transmit and / or receive signals.

[0547] In one possible implementation, the device 600 is used to execute the various processes and steps corresponding to the first device in the method 200 described above.

[0548] The transceiver 620 is used to transmit a first data packet and a second data packet through multiple objects, wherein the first data packet is obtained by processing at least one second data packet through a preset encoding method.

[0549] In another possible implementation, the device 600 is used to execute the various processes and steps corresponding to the second device in the method 200 described above.

[0550] The transceiver 620 is used to receive at least a portion of a first data packet and a second data packet, the first data packet and the second data packet being transmitted through multiple objects, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

[0551] It should be understood that the apparatus 600 may specifically be the first device or the second device in the above embodiments, and may be used to execute the various steps and / or processes corresponding to the first device or the second device in the above method embodiments. Optionally, the memory 630 may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 610 may be used to execute instructions stored in the memory, and when the processor 610 executes instructions stored in the memory, the processor 610 is used to execute the various steps and / or processes of the above method embodiments corresponding to the first device or the second device.

[0552] This application embodiment further provides a computer-readable storage medium storing computer instructions that, when executed on an electronic device, cause the electronic device to perform the functions of the terminal device or network device in the aforementioned resource indication method.

[0553] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in connection with an instruction execution system, apparatus, or device.

[0554] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0555] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, radio frequency (RF), or any suitable combination thereof.

[0556] This application also provides a computer program product that, when run on a computer, causes the computer to perform some or all of the steps described in the method embodiments above.

[0557] This application provides a chip system including a processor and potentially a memory, for implementing the functions of the terminal device or network device described in the aforementioned methods. The chip system can be composed of chips or may include chips and other discrete components.

[0558] This application provides a communication system, which includes the aforementioned terminal device and network device.

[0559] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0560] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatus or units may be electrical, mechanical, or other forms.

[0561] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0562] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0563] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method of coded-based communication applied to a first device, characterized in that, The method includes: A first data packet and a second data packet are transmitted through multiple objects, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

2. The communication method according to claim 1, characterized by, The first data packet and at least portions of the plurality of second data packets are transmitted through different objects; or, The first data packet and the plurality of second data packets are transmitted through different objects.

3. The communication method according to claim 1 or 2, characterized in that, Multiple first data packets are transmitted through different objects; and / or, Multiple second data packets are transmitted through different objects.

4. The communication method according to any one of claims 1 to 3, characterized by, The object is a path or resource, and the path includes a Radio Link Control (RLC) entity or a Logical Channel (LCH).

5. The communication method according to claim 4, wherein, The plurality of objects includes a first object and a second object, wherein, When the object is a path, the first object is a first path, the second object is a second path, and the first path and the second path are different; When the object is a resource, the first object is a first resource, the second object is a second resource, and the first resource and the second resource are different.

6. The communication method according to claim 5, characterized in that, The first data packet is transmitted through the first object, and the second data packet is transmitted through the second object; or, The first data packet is transmitted through the first object, and a plurality of second data packets are transmitted through the second object and at least a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object and other first objects besides a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object, other first objects besides the portion of the first object, or one or more of the portion of the first object; or, The first data packet is transmitted through the second object, and the second data packet is transmitted through the first object; or, The first data packet is transmitted through the second object, and a plurality of second data packets are transmitted through the first object and at least a portion of the second object; or, The first data packet is transmitted through a portion of the second object; a plurality of second data packets are transmitted through the first object and the second objects excluding a portion of the second objects; or, The first data packet is transmitted through a portion of the second object, and a plurality of the second data packets are transmitted through the first object, the second object other than a portion of the second object, and one or more of the second objects.

7. The communication method according to any one of claims 1 to 6, characterized by, The plurality of objects have a mapping relationship with the first data packet and / or the second data packet.

8. The communication method according to claim 7, wherein, The plurality of objects includes a first object and a second object; and, In the case where the mapping relationship is used to indicate the object used for transmitting the first data packet, the mapping relationship is used to indicate that the first data packet is transmitted using one of the first object and the second object; and / or, In the case where the mapping relationship is used to indicate the object used to transmit the second data packet, the mapping relationship is used to indicate that the second data packet is transmitted using another object, either the first object or the second object.

9. The communication method according to any one of claims 1 to 8, characterized by, The objects used to transmit the first data packet and / or the objects used to transmit the second data packet are determined based on preset conditions.

10. The communication method according to claim 9, characterized in that, The object used to transmit the first data packet is predefined or configured by the network device, and the object used to transmit the second data packet is determined based on the preset conditions; or, The object used to transmit the second data packet is predefined or configured by the network device, and the second object used to transmit the first data packet is determined based on the preset conditions.

11. The communication method according to claim 9 or 10, characterized by, The preset conditions are related to the information of the object.

12. The communication method according to any one of claims 1 to 11, characterized by, The multiple objects are multiple paths, and the paths include Radio Link Control (RLC) entities or Logical Channels (LCH). The multiple paths include a first path and a second path, and the first path and the second path are different. Furthermore, the method further includes: When the encoding function is deactivated, a third data packet is transmitted through the first path, the third data packet is not encoded, and / or the third data packet carries encoded information.

13. The communication method according to any one of claims 1 to 11, characterized by, The multiple objects are multiple resources, and the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and a logical channel LCH.

14. The communication method according to any one of claims 1 to 11, 13, wherein, The plurality of objects are multiple resources, and the method further includes: Based on the LCP process, multiple data packets are multiplexed onto different resources, wherein the multiple data packets include at least one first data packet and multiple second data packets.

15. The communication method according to claim 14, wherein, The LCP-based process multiplexes multiple data packets onto different resources, including: If at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the remaining data packets of the plurality of data packets are multiplexed onto other resources of the plurality of resources that are different from the i-th resource; or, If at least one of the plurality of data packets is carried in the i-th resource of the plurality of resources, and if there are remaining resources in the i-th resource, then the padding data is multiplexed into the remaining resources; or, If at least one of the plurality of data packets is carried in the i-th resource of the plurality of resources, and if there are remaining resources in the i-th resource, then the other data packets besides the plurality of data packets will be multiplexed into the remaining resources; or, If at least one of the plurality of data packets is carried on the i-th resource among the plurality of resources, the i-th resource is skipped or ignored in resource allocation; or, If at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the remaining data packets in the plurality of data packets are skipped or ignored on the i-th resource, or the remaining data packets are skipped or ignored on the i-th resource; or, When at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the size of variable Bj is adjusted so that the size of variable Bj is adapted to the at least one data packet.

16. The communication method according to any one of claims 1 to 15, characterized by, The first data packet and the second data packet are generated by a first protocol entity, or the first data packet and the second data packet are generated by an encoding function.

17. The communication method of claim 16, wherein, The first data packet and the second data packet are generated through the encoding function in the first protocol entity; wherein, When the object is a path, the first protocol entity is a PDCP entity, the PDCP entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the first protocol entity is a PDCP entity, the PDCP entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC, the first protocol entity corresponds to multiple LCHs, and the path includes LCHs. When the object is a resource, the first protocol entity is a PDCP entity; or, the first protocol entity is an RLC entity; or, the first protocol entity is an entity having at least some of the functions of PDCP and RLC.

18. The communication method of claim 16, wherein, The first data packet and the second data packet are generated by an encoding entity, or the first data packet and the second data packet are generated by an encoding function; wherein, When the object is a path, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the encoded entity is located below an RLC entity, the encoded entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located below an entity that has at least some of the functions of PDCP and RLC, and the path includes LCHs. When the object is a resource, the encoding entity is located between the PDCP entity and the RLC entity; or, the encoding entity is located below the RLC entity; or, the encoding entity is located below an entity that has at least some of the functions of PDCP and RLC.

19. The communication method according to any one of claims 1 to 18, characterized by, At least one of the multiple data packets includes relational information, or the Control Protocol Data Unit (PDU) includes relational information, the relational information being used to indicate that at least some of the multiple data packets are related, the multiple data packets including at least one first data packet and multiple second data packets.

20. The communication method according to claim 19, wherein, The relationship information includes information in multiple bits, each bit corresponding to one of the multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

21. The communication method according to claim 19, wherein, The relationship information includes SN information, which is related to the SN of at least one data packet. The SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information.

22. The communication method according to any one of claims 1 to 21, characterized by, The first device is a terminal device, and the method further includes: Receive a first instruction sent by the network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or... The activation or deactivation of the encoding function is determined based on predefined rules, which are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

23. The communication method of claim 22, wherein, The activation of the encoding function is targeted at the terminal device or bearer; and / or, The deactivation of the encoding function is applied to the terminal device or bearer.

24. The communication method according to any one of claims 1 to 23, characterized by, The first data packet and the second data packet correspond to any one of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device.

25. A method of coded-based communication applied to a second device, the method comprising: The method includes: Receive at least a portion of a first data packet and a second data packet, the first data packet and the second data packet being transmitted through multiple objects, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

26. The communication method of claim 25, wherein, The first data packet and at least portions of the plurality of second data packets are transmitted through different objects; or, The first data packet and the plurality of second data packets are transmitted through different objects.

27. The communication method according to claim 25 or 26, characterized in that, Multiple first data packets are transmitted through different objects; and / or, Multiple second data packets are transmitted through different objects.

28. The communication method of any one of claims 25-27, wherein, The object is a path or resource, and the path includes a Radio Link Control (RLC) entity or a Logical Channel (LCH).

29. The communication method of claim 28, wherein, The plurality of objects includes a first object and a second object, wherein, When the object is a path, the first object is the first path, the second object is the second path, and the first path and the second path are different; When the object is a resource, the first object is a first resource, the second object is a second resource, and the first resource and the second resource are different.

30. The communication method according to claim 29, characterized in that, The first data packet is transmitted through the first object, and the second data packet is transmitted through the second object; or, The first data packet is transmitted through the first object, and a plurality of second data packets are transmitted through the second object and at least a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object and other first objects besides a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object, other first objects besides the portion of the first object, or one or more of the portion of the first object; or, The first data packet is transmitted through the second object, and the second data packet is transmitted through the first object; or, The first data packet is transmitted through the second object, and a plurality of second data packets are transmitted through the first object and at least a portion of the second object; or, The first data packet is transmitted through a portion of the second object; a plurality of second data packets are transmitted through the first object and the second objects excluding a portion of the second objects; or, The first data packet is transmitted through a portion of the second object, and a plurality of the second data packets are transmitted through the first object, the second object other than a portion of the second object, and one or more of the second objects.

31. The communication method according to any one of claims 25 to 30, wherein, The plurality of objects have a mapping relationship with the first data packet and / or the second data packet.

32. The communication method of claim 31, wherein, The plurality of objects includes a first object and a second object; and, In the case where the mapping relationship is used to indicate the object used for transmitting the first data packet, the mapping relationship is used to indicate that the first data packet is transmitted using one of the first object and the second object; and / or, In the case where the mapping relationship is used to indicate the object used to transmit the second data packet, the mapping relationship is used to indicate that the second data packet is transmitted using another object, either the first object or the second object.

33. The communication method according to any one of claims 25 to 32, wherein, The objects used to transmit the first data packet and / or the objects used to transmit the second data packet are determined based on preset conditions.

34. The communication method according to claim 33, characterized in that, The object used to transmit the first data packet is predefined or configured by the network device, and the object used to transmit the second data packet is determined based on the preset conditions; or, The object used to transmit the second data packet is predefined or configured by the network device, and the second object used to transmit the first data packet is determined based on the preset conditions.

35. The communication method of claim 33 or 34, wherein, The preset conditions are related to the information of the object.

36. The communication method according to any one of claims 25 to 35, characterized by, The multiple objects are multiple paths, and the paths include Radio Link Control (RLC) entities or Logical Channels (LCH). The multiple paths include a first path and a second path, and the first path and the second path are different. Furthermore, the method further includes: When the encoding function is deactivated, a third data packet is received through the first path. The third data packet is not encoded, and / or the third data packet carries encoded information.

37. The communication method according to any one of claims 25 to 35, wherein, The multiple objects are multiple resources, and the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and a logical channel LCH.

38. The communication method according to any one of claims 25 to 37, wherein, The first data packet and the second data packet are generated by a first protocol entity, or the first data packet and the second data packet are generated by an encoding function.

39. The communication method of claim 38, wherein, The first data packet and the second data packet are generated through the encoding function in the first protocol entity; wherein, When the object is a path, the first protocol entity is a PDCP entity, the PDCP entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the first protocol entity is a PDCP entity, the PDCP entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC, the first protocol entity corresponds to multiple LCHs, and the path includes LCHs. When the object is a resource, the first protocol entity is a PDCP entity; or, the first protocol entity is an RLC entity; or, the first protocol entity is an entity having at least some of the functions of PDCP and RLC.

40. The communication method of claim 38, wherein, The first data packet and the second data packet are generated by an encoding entity, or the first data packet and the second data packet are generated by an encoding function; wherein, When the object is a path, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the encoded entity is located below an RLC entity, the encoded entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located below an entity that has at least some of the functions of PDCP and RLC, and the path includes LCHs. When the object is a resource, the encoding entity is located between the PDCP entity and the RLC entity; or, the encoding entity is located below the RLC entity; or, the encoding entity is located below an entity that has at least some of the functions of PDCP and RLC.

41. The communication method according to any one of claims 25 to 40, wherein, At least one of the multiple data packets includes relational information, or the Control Protocol Data Unit (PDU) includes relational information, the relational information being used to indicate that at least some of the multiple data packets are related, the multiple data packets including at least one first data packet and multiple second data packets.

42. The communication method of claim 41, wherein, The relationship information includes information in multiple bits, each bit corresponding to one of the multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

43. The communication method of claim 41, wherein, The relationship information includes SN information, which is related to the SN of at least one data packet. The SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information.

44. The communication method according to any one of claims 25 to 43, wherein, The second device is a terminal device, and the method further includes: Receive a first instruction sent by the network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or... The activation or deactivation of the encoding function is determined based on predefined rules, which are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

45. The communication method of claim 44, wherein, The activation of the encoding function is targeted at the terminal device or bearer; and / or, The deactivation of the encoding function is applied to the terminal device or bearer.

46. The communication method according to any one of claims 25 to 45, wherein, The method further includes: If a partial data packet is received, the receive window of the RLC and / or the parameters of the receive window are updated, wherein the partial data packet includes the second data packet, or the partial data packet includes the first data packet, or the partial data packet includes at least a portion of the first data packet and a portion of the second data packet, or the partial data packet includes a portion of the first data packet and at least a portion of the second data packet.

47. The communication method of claim 46, wherein, The number of data packets in the partial data packets is preset, and / or the partial data packets are data packets at preset positions among multiple data packets, the multiple data packets including at least one first data packet and multiple second data packets.

48. The communication method of claim 46 or 47, wherein, The number of partial data packets is greater than or equal to the number of the second data packets.

49. The communication method according to any one of claims 25 to 48, wherein, The first data packet and the second data packet correspond to any one of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device.

50. A communications device, characterized by Includes transceiver units; among which, The transceiver unit is used to transmit a first data packet and a second data packet through multiple objects, wherein the first data packet is obtained by processing at least one second data packet using a preset encoding method.

51. The communication apparatus of claim 50, wherein The first data packet and at least portions of the plurality of second data packets are transmitted through different objects; or, The first data packet and the plurality of second data packets are transmitted through different objects.

52. The communication device according to claim 50 or 51, characterized in that, Multiple first data packets are transmitted through different objects; and / or, Multiple second data packets are transmitted through different objects.

53. The communication apparatus according to any one of claims 50 to 52, wherein, The object is a path or resource, and the path includes a Radio Link Control (RLC) entity or a Logical Channel (LCH).

54. The communication apparatus of claim 53, wherein The plurality of objects includes a first object and a second object, wherein, When the object is a path, the first object is the first path, the second object is the second path, and the first path and the second path are different; When the object is a resource, the first object is a first resource, the second object is a second resource, and the first resource and the second resource are different.

55. The communication device according to claim 54, characterized in that, The first data packet is transmitted through the first object, and the second data packet is transmitted through the second object; or, The first data packet is transmitted through the first object, and a plurality of second data packets are transmitted through the second object and at least a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object and other first objects besides a portion of the first object; or, The first data packet is transmitted through a portion of the first object, and multiple second data packets are transmitted through the second object, other first objects besides the portion of the first object, or one or more of the portion of the first object; or, The first data packet is transmitted through the second object, and the second data packet is transmitted through the first object; or, The first data packet is transmitted through the second object, and a plurality of second data packets are transmitted through the first object and at least a portion of the second object; or, The first data packet is transmitted through a portion of the second object; a plurality of second data packets are transmitted through the first object and the second objects excluding a portion of the second objects; or, The first data packet is transmitted through a portion of the second object, and a plurality of the second data packets are transmitted through the first object, the second object other than a portion of the second object, and one or more of the second objects.

56. The communication apparatus according to any one of claims 50-55, wherein, The plurality of objects have a mapping relationship with the first data packet and / or the second data packet.

57. The communication apparatus of claim 56, wherein The plurality of objects includes a first object and a second object; and, In the case where the mapping relationship is used to indicate the object used for transmitting the first data packet, the mapping relationship is used to indicate that the first data packet is transmitted using one of the first object and the second object; and / or, In the case where the mapping relationship is used to indicate the object used to transmit the second data packet, the mapping relationship is used to indicate that the second data packet is transmitted using another object, either the first object or the second object.

58. The communication apparatus according to any one of claims 50-57, wherein, The objects used to transmit the first data packet and / or the objects used to transmit the second data packet are determined based on preset conditions.

59. The communication device according to claim 58, characterized in that, The object used to transmit the first data packet is predefined or configured by the network device, and the object used to transmit the second data packet is determined based on the preset conditions; or, The object used to transmit the second data packet is predefined or configured by the network device, and the second object used to transmit the first data packet is determined based on the preset conditions.

60. The communication apparatus according to claim 58 or 59, wherein, The preset conditions are related to the information of the object.

61. The communication apparatus according to any of claims 50 to 60, wherein, The multiple objects are multiple paths, and the paths include Radio Link Control (RLC) entities or Logical Channels (LCH). The multiple paths include a first path and a second path, and the first path and the second path are different. The device also includes: When the encoding function is deactivated, a third data packet is transmitted through the first path, the third data packet is not encoded, and / or the third data packet carries encoded information.

62. The communication apparatus according to any one of claims 50-60, wherein, The multiple objects are multiple resources, and the first data packet and the second data packet correspond to any one of the following: a PDCP entity, an RLC entity, and a logical channel LCH.

63. The communication apparatus according to any one of claims 50-62, wherein, The plurality of objects are multiple resources, and the device further includes a processing unit; wherein... The processing unit is used to multiplex multiple data packets onto different resources based on the LCP process, wherein the multiple data packets include the first data packet and multiple second data packets.

64. The communication apparatus of claim 63, wherein The processing unit is specifically used for: If at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the remaining data packets in the plurality of data packets are multiplexed onto other resources of the plurality of resources that are different from the i-th resource; or, If at least one of the plurality of data packets is carried in the i-th resource of the plurality of resources, and if there are remaining resources in the i-th resource, then the padding data is multiplexed into the remaining resources; or, If at least one of the plurality of data packets is carried in the i-th resource of the plurality of resources, and if there are remaining resources in the i-th resource, the other data packets besides the plurality of data packets will be multiplexed to the remaining resources; or, If at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the i-th resource is skipped or ignored in the resource allocation; or, If at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the remaining data packets in the plurality of data packets are skipped or ignored on the i-th resource, or the remaining data packets are skipped or ignored on the i-th resource; or, When at least one of the plurality of data packets is carried on the i-th resource of the plurality of resources, the size of variable Bj is adjusted so that the size of variable Bj is adapted to the at least one data packet.

65. The communication apparatus according to any one of claims 50 to 64, wherein, The first data packet and the second data packet are generated by a first protocol entity, or the first data packet and the second data packet are generated by an encoding function.

66. The communication apparatus of claim 65, wherein The first data packet and the second data packet are generated through the encoding function in the first protocol entity; wherein, When the object is a path, the first protocol entity is a PDCP entity, the PDCP entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the first protocol entity is a PDCP entity, the PDCP entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the first protocol entity is an entity with at least some of the functions of PDCP and RLC, the first protocol entity corresponds to multiple LCHs, and the path includes LCHs. When the object is a resource, the first protocol entity is a PDCP entity; or, the first protocol entity is an RLC entity; or, the first protocol entity is an entity having at least some of the functions of PDCP and RLC.

67. The communication apparatus of claim 65, wherein The first data packet and the second data packet are generated by an encoding entity, or the first data packet and the second data packet are generated by an encoding function; wherein, When the object is a path, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to one RLC entity, the RLC entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located between a PDCP entity and an RLC entity, the encoded entity corresponds to multiple RLC entities, and the path includes RLC entities; or, the encoded entity is located below an RLC entity, the encoded entity corresponds to multiple LCHs, and the path includes LCHs; or, the encoded entity is located below an entity that has at least some of the functions of PDCP and RLC, and the path includes LCHs. When the object is a resource, the encoding entity is located between the PDCP entity and the RLC entity; or, the encoding entity is located below the RLC entity; or, the encoding entity is located below an entity that has at least some of the functions of PDCP and RLC.

68. The communication apparatus according to any one of claims 50 to 67, characterized by, At least one of the multiple data packets includes relational information, or the Control Protocol Data Unit (PDU) includes relational information, the relational information being used to indicate that at least some of the multiple data packets are related, the multiple data packets including at least one first data packet and multiple second data packets.

69. The communication apparatus of claim 68, wherein The relationship information includes information in multiple bits, each bit corresponding to one of the multiple data packets. The value of one bit is used to indicate whether the corresponding data packet is related to the data packet carrying the relationship information, and / or, the information in multiple bits is used to indicate the data packet that is related to the data packet carrying the relationship information.

70. The communication apparatus of claim 68, wherein The relationship information includes SN information, which is related to the SN of at least one data packet. The SN information is used to determine at least one data packet that is related to the data packet carrying the relationship information.

71. The communication apparatus according to any one of claims 50-70, wherein, The communication device is a terminal device or configured on the terminal device, wherein... The transceiver unit is further configured to: receive a first instruction sent by a network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or... The communication device further includes a processing unit, which is used to: determine the activation or deactivation of the encoding function based on predefined rules, wherein the predefined rules are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

72. The communication apparatus of claim 71, wherein The activation of the encoding function is targeted at the terminal device or bearer; and / or, The deactivation of the encoding function is applied to the terminal device or bearer.

73. The communication apparatus according to any of claims 50 - 72, characterized by The first data packet and the second data packet correspond to any one of the following: a bearer, a Protocol Data Unit (PDU) session, a Quality of Service (QoS) stream, and a terminal device.

74. A communications device, characterized by include: Transceiver unit; among which, The transceiver unit is used to receive at least a portion of a first data packet and a second data packet, wherein the first data packet and the second data packet are transmitted through multiple objects, and the first data packet is obtained by processing at least one second data packet using a preset encoding method.

75. The communication apparatus of claim 74, wherein The plurality of objects constitutes a plurality of paths, each path including a Radio Link Control (RLC) entity or a Logical Channel (LCH), and the plurality of paths include a first path and a second path, wherein the first path and the second path are different; and the transceiver unit is further configured to: When the encoding function is deactivated, a third data packet is received through the first path. The third data packet is not encoded, and / or the third data packet carries encoded information.

76. The communication apparatus according to claim 74 or 75, wherein, The communication device is a terminal device or is configured on the terminal device. The transceiver unit is further configured to: receive a first instruction sent by a network device, the first instruction being used to instruct the activation or deactivation of the encoding function; or... The communication device further includes a processing unit, which is used to: determine the activation or deactivation of the encoding function based on predefined rules, wherein the predefined rules are related to at least one of the following: the service type corresponding to the data to be transmitted, the data type of the data to be transmitted, and the channel quality of the channel used to transmit the data to be transmitted.

77. The communication apparatus according to any of claims 74-76, wherein, The communication device further includes a processing unit, the processing unit being used for: If a partial data packet is received, the receive window of the RLC and / or the parameters of the receive window are updated, wherein the partial data packet includes the second data packet, or the partial data packet includes the first data packet, or the partial data packet includes at least a portion of the first data packet and a portion of the second data packet, or the partial data packet includes a portion of the first data packet and at least a portion of the second data packet.

78. The communication apparatus of claim 77, wherein The number of data packets in the partial data packets is preset, and / or the partial data packets are data packets at preset positions among multiple data packets, the multiple data packets including at least one first data packet and multiple second data packets.

79. The communication apparatus according to claim 77 or 78, wherein, The number of partial data packets is greater than or equal to the number of the second data packets.

80. A communications device, characterized by include: Memory, used to store computer instructions; A processor is configured to invoke computer instructions stored in the memory to perform the method as described in any one of claims 1 to 24, or to perform the method as described in any one of claims 25 to 49.

81. A chip, comprising: The chip includes: Memory: Used to store instructions; A processor for retrieving and executing the instructions from the memory, causing a device having the chip mounted to perform the method as claimed in any one of claims 1 to 24, or to perform the method as claimed in any one of claims 25 to 49.

82. A computer-readable storage medium, characterized in that, Used to store computer instructions for implementing the method as described in any one of claims 1 to 24, or for implementing the method as described in any one of claims 25 to 49.

83. A computer program product, comprising computer program code embodied therein, characterized in that, When the computer program code realises the method as claimed in any one of claims 1 to 24, or, for realising the method as claimed in any one of claims 25 to 49, when the computer program code runs on the computer.