Data receiving and transmitting apparatus and method

CN120642358APending Publication Date: 2025-09-121FINITY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380093359.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-07
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the U2U relay protocol stack of 5G technology, how to effectively determine and use the identification information of the source UE and the destination UE to reduce data transmission overhead in the adaptation layer and save wireless resources.

Method used

The identification information of the first terminal device and the second terminal device is determined in the adaptation layer of the third terminal device, and data is received and sent according to the identification information, and data transmission is implemented by adding and parsing the identification information in the data packet header.

Benefits of technology

The data transmission overhead in the adaptation layer is reduced, wireless resources are saved, and the efficiency and accuracy of data transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120642358A_ABST
    Figure CN120642358A_ABST
Patent Text Reader

Abstract

The invention provides a data receiving and transmitting device and method. The method comprises the following steps: determining first identification information of a first terminal device and / or first identification information of a second terminal device in an adaptation layer of a third terminal device; and receiving data from the first terminal device, and sending the data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device. Therefore, the overhead of data transmission in the adaptation layer is reduced, and wireless resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Data receiving and sending device and method Technical Field

[0001] The embodiments of the present application relate to the field of communication technologies. Background Art

[0002] The 3rd Generation Partnership Project (3GPP) introduced new technologies during the standardization of the fifth generation mobile communication technology (5G). These technologies allow user equipment (UE) to directly discover and / or communicate with each other using sidelink (SL) communication technology. The sidelink interface is also called the PC5 interface. For example, vehicle-to-everything (V2X) communication, public safety (PS) communication, and direct file transfer between UEs can rely on communication over the sidelink interface.

[0003] In addition, the Release 17 (R17) version of the standardization progress also introduced the user equipment (UE) to user equipment (UE) relay (UE-to-UE relay, U2U relay), where UE-to-UE relay refers to the "source user equipment (Source UE)" and the "destination user equipment (Destination UE)" (also referred to as the "source remote user equipment (Source remote UE)" and the "destination remote user equipment (Destination remote UE)", or the "source user equipment" and the "destination user equipment" are collectively referred to as the "remote user equipment (remote UE)") communicate via the "relay user equipment (Relay UE)", where sidelink communication is used between the Source UE and the Relay UE, and sidelink communication is used between the Relay UE and the Destination UE, thereby effectively expanding the coverage of the sidelink transmission between the Source UE and the Destination UE and saving the transmission power of the remote UE.

[0004] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of this application and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because these solutions are explained in the background technology part of this application.

[0005] Summary of the Invention

[0006] In the U2U relay protocol stack of R17, an adaptation layer (ADAPT) is introduced, which can also be called the sidelink relay adaptation protocol (SRAP) layer.

[0007] The inventors found that since the concept of adaptation layer was introduced, how to determine the identification information of the source UE and / or the identification information of the destination UE in the adaptation layer and how to transmit data based on the identification information of the source UE and / or the identification information of the destination UE are problems that need to be solved.

[0008] In response to at least one of the above problems, an embodiment of the present application provides a data receiving and sending device and method.

[0009] According to one aspect of an embodiment of the present application, a method for receiving and sending data is provided, which is applied in a third terminal device, and the method includes:

[0010] determining, in the adaptation layer of the third terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and

[0011] receiving data from the first terminal device,

[0012] Data is sent to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0013] According to another aspect of an embodiment of the present application, a data sending method is provided, which is applied to a first terminal device, and the method includes:

[0014] determining, in an adaptation layer of the first terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0015] Data is sent to a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0016] According to another aspect of an embodiment of the present application, a data receiving method is provided, which is applied to a second terminal device, and the method includes:

[0017] determining, in an adaptation layer of the second terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0018] Data from the third terminal device is received according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0019] According to another aspect of an embodiment of the present application, a data receiving and transmitting apparatus is provided, which is configured in a third terminal device, and the data receiving and transmitting apparatus includes:

[0020] a determining unit configured to determine, in the adaptation layer of the third terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and

[0021] a receiving unit, configured to receive data from the first terminal device,

[0022] A sending unit, which sends data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0023] According to another aspect of an embodiment of the present application, a data sending apparatus is provided, configured in a first terminal device, the data sending apparatus including:

[0024] a determining unit configured to determine, in an adaptation layer of the first terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0025] A sending unit, which sends data to a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0026] According to another aspect of an embodiment of the present application, a data receiving apparatus is provided, configured in a second terminal device, the data receiving apparatus comprising:

[0027] a determining unit configured to determine, in an adaptation layer of the second terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and

[0028] A receiving unit receives data from a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0029] According to another aspect of an embodiment of the present application, a communication system is provided, comprising:

[0030] a first terminal device, which determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer and sends data to the third terminal device;

[0031] a third terminal device, which receives the data from the first terminal device, the third terminal device determines, in an adaptation layer, first identification information of the first terminal device and / or first identification information of the second terminal device, and the third terminal device sends data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device;

[0032] The second terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer; and receives data from the third terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0033] One of the beneficial effects of the embodiments of the present application is that: the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined in the adaptation layer of the third terminal device; the third terminal device receives data from the first terminal device, and sends data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device. As a result, it is possible to determine the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the third terminal device, and to send and receive data based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0034] With reference to the following description and accompanying drawings, specific embodiments of the present application are disclosed in detail, indicating the manner in which the principles of the present application can be employed. It should be understood that the embodiments of the present application are not limited in scope. Within the spirit and scope of the appended claims, the embodiments of the present application include many variations, modifications and equivalents.

[0035] Features described and / or illustrated with respect to one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments.

[0036] It should be emphasized that the term "include / comprising" when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps or components. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The elements and features described in one figure or one embodiment of the present application can be combined with the elements and features shown in one or more other figures or embodiments. In addition, in the accompanying drawings, similar reference numerals represent corresponding parts in several figures and can be used to indicate corresponding parts used in more than one embodiment.

[0038] FIG1 is a schematic diagram of a system protocol stack architecture according to an embodiment of the present application;

[0039] FIG2 is a schematic diagram of a scenario according to an embodiment of the present application;

[0040] FIG3 is a schematic diagram of a method for receiving and sending data according to an embodiment of the present application;

[0041] 4 is an example diagram of a third terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application;

[0042] 5 is an example diagram of a first terminal device allocating first identification information of the first terminal device and / or first identification information of the second terminal device according to an embodiment of the present application;

[0043] 6 is another example diagram of a first terminal device allocating first identification information of the first terminal device and / or first identification information of the second terminal device according to an embodiment of the present application;

[0044] 7 is an example diagram of the second terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application;

[0045] 8 is another example diagram of the second terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application;

[0046] 9 is an example diagram of a network device allocating first identification information of a first terminal device and / or first identification information of a second terminal device according to an embodiment of the present application;

[0047] 10 is another example diagram of a network device allocating first identification information of a first terminal device and / or first identification information of a second terminal device according to an embodiment of the present application;

[0048] FIG11 is an example diagram of data transmission according to an embodiment of the present application;

[0049] FIG12 is another example diagram of data transmission according to an embodiment of the present application;

[0050] FIG13 is a schematic diagram of a data sending method according to an embodiment of the present application;

[0051] FIG14 is a schematic diagram of a data receiving method according to an embodiment of the present application;

[0052] FIG15 is a schematic diagram of a data receiving and transmitting device according to an embodiment of the present application;

[0053] FIG16 is a schematic diagram of a data sending device according to an embodiment of the present application;

[0054] FIG17 is a schematic diagram of a data receiving device according to an embodiment of the present application;

[0055] FIG18 is a schematic diagram of the structure of a network device according to an embodiment of the present application;

[0056] Figure 19 is a schematic diagram of a terminal device according to an embodiment of the present application. DETAILED DESCRIPTION

[0057] The above and other features of the present application will become apparent through the following description with reference to the accompanying drawings. In the description and the accompanying drawings, specific embodiments of the present application are disclosed in detail, which illustrate some embodiments in which the principles of the present application can be adopted. It should be understood that the present application is not limited to the described embodiments. On the contrary, the present application includes all modifications, variations and equivalents that fall within the scope of the appended claims.

[0058] In the embodiments of the present application, the terms "first", "second", etc. are used to distinguish different elements from the name, but do not indicate the spatial arrangement or temporal order of these elements, and these elements should not be limited by these terms. The term "and / or" includes any one and all combinations of one or more of the associated listed terms. The terms "comprising", "including", "having", etc. refer to the presence of the stated features, elements, components or components, but do not exclude the presence or addition of one or more other features, elements, components or components.

[0059] In the embodiments of this application, the singular forms "a," "the," etc. include plural forms and should be broadly understood to mean "a" or "a type" rather than being limited to "one." Furthermore, the term "said" should be understood to include both singular and plural forms, unless the context clearly indicates otherwise. Furthermore, the term "according to" should be understood to mean "at least in part based on...", and the term "based on" should be understood to mean "at least in part based on...", unless the context clearly indicates otherwise.

[0060] In the embodiments of the present application, the term "communication network" or "wireless communication network" may refer to a network that complies with any of the following communication standards, such as Long Term Evolution (LTE), enhanced Long Term Evolution (LTE-A, LTE-Advanced), Wideband Code Division Multiple Access (WCDMA), High-Speed ​​Packet Access (HSPA), etc.

[0061] Furthermore, communication between devices in the communication system may be carried out according to communication protocols of any stage, for example, including but not limited to the following communication protocols: 1G (generation), 2G, 2.5G, 2.75G, 3G, 4G, 4.5G and 5G, New Radio (NR), etc., and / or other communication protocols currently known or to be developed in the future.

[0062] In the embodiments of the present application, the term "network device" refers to, for example, a device in a communication system that connects a terminal device to the communication network and provides services to the terminal device. Network devices may include, but are not limited to, the following devices: base station (BS), access point (AP), transmission reception point (TRP), broadcast transmitter, mobile management entity (MME), gateway, server, radio network controller (RNC), base station controller (BSC), etc.

[0063] Base stations may include, but are not limited to, NodeB (NB), evolved NodeB (eNodeB or eNB), and 5G base stations (gNB), among others. They may also include remote radio heads (RRHs), remote radio units (RRUs), relays, or low-power nodes (e.g., femeto, pico, etc.). The term "base station" may include some or all of their functions, and each base station may provide communication coverage for a specific geographic area. The term "cell" may refer to a base station and / or its coverage area, depending on the context in which the term is used.

[0064] In the embodiments of the present application, the term "user equipment" (UE) or "terminal equipment" (TE) can be fixed or mobile, and may also be referred to as a mobile station (MS), a terminal, a subscriber station (SS), an access terminal (AT), a station, etc.

[0065] Among them, terminal devices may include but are not limited to the following devices: cellular phones, personal digital assistants (PDAs), wireless modems, wireless communication devices, handheld devices, machine-type communication devices, laptop computers, cordless phones, smart phones, smart watches, digital cameras, etc.

[0066] For another example, in scenarios such as the Internet of Things (IoT), the terminal device can also be a machine or device for monitoring or measurement, such as but not limited to: machine type communication (MTC) terminal, vehicle-mounted communication terminal, device-to-device (D2D) terminal, machine-to-machine (M2M) terminal, terminal supporting sidelink communication, etc.

[0067] In addition, the term "network side" or "network device side" refers to one side of the network, which can be a base station or one or more network devices as described above. The term "user side" or "terminal side" or "terminal device side" refers to the user or terminal side, which can be a UE or one or more terminal devices as described above. Unless otherwise specified herein, "device" can refer to either network equipment or terminal equipment.

[0068] FIG1 is a schematic diagram of the system protocol stack architecture of an embodiment of the present application, including a user plane protocol stack diagram (as shown in the left figure of FIG1 ) and a control plane protocol stack diagram (as shown in the right figure of FIG1 ); as shown in FIG1 , on the link of the PC5 interface, the adaptation layer ADAPT is supported. In the user plane protocol stack diagram, the IP layer, SDAP layer, and RRC layer are located above the ADAPT layer, and the RLC layer, MAC layer, and PHY layer are located below the ADAPT layer. In the control plane protocol stack diagram, the RRC layer is located above the ADAPT layer, and the RLC layer, MAC layer, and PHY layer are located below the ADAPT layer. Optionally, the ADAPT in FIG1 can be replaced with SRAP, and this application does not impose any restrictions on this. In the user plane protocol stack diagram, the IP layer, SDAP layer, and PDCP layer terminate between two remote UEs, while the RLC layer, MAC layer, and PHY layer terminate in each PC5 link. In the control plane protocol stack diagram, the RRC layer terminates between two remote UEs, while the RLC layer, MAC layer, and PHY layer terminate in each PC5 link.

[0069] The following describes the scenarios of the embodiments of the present application through examples, but the present application is not limited thereto.

[0070] Figure 2 is a schematic diagram of a scenario of an embodiment of the present application. For simplicity, Figure 2 only schematically illustrates the signaling interaction and data transmission method between the UE-to-UE relay (UE-to-UE relay) relay UE 203, the source UE 201, and the destination UE 202. Among them, UE-to-UE relay (UE-to-UE relay) is studied in Release 17, wherein the UE-to-UE relay can expand the coverage of the side link transmission between two remote UEs and save power. The scenario of the present application includes at least one of the following scenarios:

[0071] All UEs (Source UE, Relay UE, Destination UE) are within network coverage;

[0072] All UEs (Source UE, Relay UE, Destination UE) are out of network coverage; or,

[0073] Partial coverage, in which at least one UE (Source UE, Relay UE, Destination UE) is within the network coverage, and at least one UE (Source UE, Relay UE, Destination UE) is outside the network coverage.

[0074] The protocol stack structures of the relay UE 203, the source UE 201 and the destination UE 202 in FIG. 2 may refer to the protocol stack in FIG. 1 , and are not described repeatedly here.

[0075] For Layer 2 (L2) UE-to-Network relay, the network equipment (gNB) allocates the identification information of the remote UE used in the adaptation layer, such as the local ID of the remote UE.

[0076] However, the inventors found that for Layer 2 (L2) U2U relay, the relay UE needs to know how to forward the data sent by the source UE to the corresponding destination UE, and / or inform the destination UE which source UE the data comes from. If the existing Layer 2 identifier (L2 ID) of the remote UE is directly added to the header of the U2U relay adaptation layer, it will occupy a large signaling overhead. If the identification information of the source UE and / or the identification information of the destination UE is used in the adaptation layer, such as the local or temporary identifier of the source UE and / or the destination UE, the signaling overhead can be saved.

[0077] Therefore, how to determine the identification information of the source UE and / or the identification information of the destination UE in the adaptation layer and how to perform data transmission based on the identification information of the source UE and / or the identification information of the destination UE are issues that need to be resolved.

[0078] In response to at least one of the above problems, an embodiment of the present application provides a data receiving and sending device and method.

[0079] Embodiments of the first aspect

[0080] An embodiment of the present application provides a method for receiving and sending data.

[0081] FIG3 is a schematic diagram of a method for receiving and sending data according to an embodiment of the present application. As shown in FIG3 , the method is applied in a third terminal device, and the method includes:

[0082] 301, determining, in an adaptation layer of a third terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0083] 302, receiving data from the first terminal device,

[0084] 303 : Send data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0085] In this way, the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the third terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0086] It is worth noting that FIG3 above is merely a schematic illustration of an embodiment of the present application, using a terminal device as an example, but the present application is not limited thereto. For example, the execution order of the various operations may be appropriately adjusted, other operations may be added or some operations may be reduced, and the objects of the aforementioned operations may be adjusted. Those skilled in the art may make appropriate modifications based on the above description, and are not limited to the description of FIG3 above.

[0087] In some embodiments, the first terminal device is a source remote device, such as Source UE 201 in FIG. 2 ; the second terminal device is a destination remote device, such as Destination UE 202 in FIG. 2 ; and the third terminal device is a relay device, such as Relay UE 203 in FIG. 2 .

[0088] In some embodiments, the first identification information is an identifier (UE ID) of a terminal device used in the adaptation layer, such as a local identifier (local ID) of the terminal device, and the second identification information is a layer 2 identifier (Layer-2 ID, L2 ID). The L2 ID can be determined by the application layer, V2X layer, or NAS layer of the terminal device according to an existing method. For example, the first identification information can also be called a temporary identifier, for example, the length can be 8 bits or 12 bits, etc., which can save overhead compared to the L2 ID (the length of the L2 ID is 24 bits). In addition, for the specific content of the local ID, please refer to the existing technology, and this application does not limit it.

[0089] The following is an exemplary description of the specific process of determining the first identification information of the first terminal device and / or the first identification information of the second terminal device in step 301:

[0090] In some embodiments, the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; third terminal device allocation; network device allocation, or preconfiguration.

[0091] The following is an example of how to allocate a third terminal device:

[0092] In some embodiments, the third terminal device assigns the first identification information of the first terminal device and / or the first identification information of the second terminal device, including: the third terminal device sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device; the third terminal device sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device.

[0093] FIG4 is an example diagram of a third terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application.

[0094] As shown in Figure 4, the first terminal device includes a source UE 201, the second terminal device includes a destination UE 202, and the third terminal device includes a U2U relay UE 203; the first identification information of the first terminal device includes the local ID (Source local ID) of the source UE 201, and the first identification information of the second terminal device includes the local ID (Destination local ID) of the destination UE 202; the second identification information of the first terminal device includes the L2 ID (Source L2 ID) of the source UE 201, and the second identification information of the second terminal device includes the L2 ID (Destination L2 ID) of the destination UE 202.

[0095] For example, allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device by the third terminal device includes:

[0096] 401: The relay UE 203 sends the Source local ID and / or Destination local ID to the source UE 201;

[0097] 402 : The relay UE 203 sends the Source local ID and / or the Destination local ID to the destination UE 202 .

[0098] For example, relay UE 203 sends the Source local ID and the Destination local ID to source UE 201 and destination UE 202. For another example, relay UE 203 sends only the Source local ID to source UE 201 and destination UE 202, where the source UE, relay UE, and destination UE can determine the corresponding destination UE 202 based on the Source local ID. For example, the Source local ID and the Destination local ID are in a predefined one-to-one correspondence (or other correspondence methods, which are not limited in this application). For example, the combinations of other content sent by relay UE 203 in steps 401 and 402 are similar to the above examples and are not listed here.

[0099] Therefore, through the allocation of the relay UE, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0100] For example, this application does not limit the order of step 401 and step 402, that is, the relay UE 203 may first send the Source local ID and / or Destination local ID to the source UE 201; and then send the Source local ID and / or Destination local ID to the destination UE 202; or, the relay UE 203 may first send the Source local ID and / or Destination local ID to the destination UE 202, and then send the Source local ID and / or Destination local ID to the source UE 201.

[0101] In some embodiments, the third terminal device assigns the first identification information of the first terminal device and / or the first identification information of the second terminal device, including: sending the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device; and / or, sending the first identification information of the first terminal device and the second identification information of the first terminal device to the second terminal device.

[0102] For example, still taking FIG. 4 as an example, the relay UE 203 may send the Destination local ID and the Destination L2 ID to the source UE 201 in step 401 (not shown in FIG. 4 ), and / or, the relay UE 203 may send the Source local ID and the Source L2 ID to the destination UE 202 in step 402 (not shown in FIG. 4 ).

[0103] For example, the relay UE 203 sends the Destination local ID and the Destination L2 ID to the source UE 201 , and / or the relay UE 203 sends the Source local ID and the Source L2 ID to the destination UE 202 .

[0104] In some embodiments, the third terminal device sends the second identification information (Source L2 ID) of the first terminal device and / or the second identification information (Destination L2 ID) of the second terminal device to the first terminal device, for example, sending the Source local ID and its corresponding Source L2 ID and / or the Destination local ID and its corresponding Destination L2 ID.

[0105] In some embodiments, the third terminal device sends the second identification information (Source L2 ID) of the first terminal device and / or the second identification information (Destination L2 ID) of the second terminal device to the second terminal device, for example, sending the Source local ID and its corresponding Source L2 ID and / or the Destination local ID and its corresponding Destination L2 ID.

[0106] In some implementations, the third terminal device and / or the first terminal device and / or the second terminal device stores a correspondence between the Source local ID and the Source L2 ID, and / or stores a correspondence between the Destination local ID and the Destination L2 ID.

[0107] Therefore, through the allocation of the relay UE, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0108] In some embodiments, the third terminal device sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device and / or the second terminal device through the first signaling or the second signaling.

[0109] For example, as shown in Figure 4, in step 401, the relay UE 203 sends the Source local ID and / or Destination local ID to the source UE 201 through the first signaling or the second signaling; and in step 402, the relay UE 203 sends the Source local ID and / or Destination local ID to the destination UE 202 through the first signaling or the second signaling.

[0110] In some embodiments, the first signaling is PC5-S signaling, for example, the first signaling is signaling in the PC5 interface, such as PC5-S signaling or V2X (Vehicle-to-everything) layer signaling or Non-Access Stratum (NAS) signaling.

[0111] In some embodiments, the first signaling includes at least one of the following signaling: direct communication request and / or direct communication accept; discovery message (e.g., Discovery solicitation) and / or discovery response message (e.g., Discovery response); or other PC5-S messages.

[0112] For example, for step 401, the relay UE 203 notifies the source UE 201 by adding the Source local ID and / or the Destination local ID in "Direct communication accept"; and for the specific content of the above PC5-S signaling, please refer to the prior art, and this application does not limit this.

[0113] In some implementations, the second signaling is PC5-RRC signaling, for example, the second signaling is signaling of the RRC layer in the PC5 interface.

[0114] In some embodiments, the second signaling includes at least one of the following signaling:

[0115] Side link RRC reconfiguration information (RRCReconfigurationSidelink),

[0116] Side link RRC reconfiguration completion information (RRCReconfigurationCompleteSidelink),

[0117] UECapacityEnquirySidelink,

[0118] UE Capacity Information Sidelink,

[0119] Master Information Block Sidelink,

[0120] UE Assistance Information Sidelink,

[0121] RemoteUEInformationSidelink, or

[0122] NotificationMessageSidelink.

[0123] For example, for step 401, the relay UE 203 notifies the source UE 201 by adding the Source local ID and / or Destination local ID in the "RRC Reconfiguration Complete Sidelink" information; for the specific content of the above PC5-RRC signaling, please refer to the prior art, and this application does not limit this.

[0124] Thus, the first terminal device, the second terminal device, and the third terminal device can determine the identification information required by the adaptation layer so as to accurately transmit data.

[0125] The following is an example of first terminal device allocation:

[0126] In some embodiments, the first terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device includes: the third terminal device receiving the first identification information of the first terminal device sent by the first terminal device, and / or the first identification information of the second terminal device and the second identification information of the second terminal device; and the third terminal device sending the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device.

[0127] FIG5 is an example diagram of the first terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device in an embodiment of the present application.

[0128] As shown in Figure 5, the first terminal device includes a source UE 201, the second terminal device includes a destination UE 202, and the third terminal device includes a U2U relay UE 203; the first identification information of the first terminal device includes a Source local ID, and the first identification information of the second terminal device includes a Destination local ID; the second identification information of the first terminal device includes a Source L2 ID, and the second identification information of the second terminal device includes a Destination L2 ID.

[0129] For example, the first terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device includes:

[0130] 501: The source UE 201 sends the Source local ID and / or the Destination local ID and the Destination L2 ID to the relay UE 203;

[0131] 502 : The relay UE 203 sends the Source local ID and / or the Destination local ID to the destination UE 202 .

[0132] For example, source UE 201 sends the Source local ID, Destination local ID, and Destination L2 ID to relay UE 203, and relay UE 203 sends the Source local ID to destination UE 202. For another example, source UE 201 sends the Source local ID, Destination local ID, and Destination L2 ID to relay UE 203, and relay UE 203 sends the Source local ID and Destination local ID to destination UE 202. For example, combinations of other content sent in steps 501 and 502 are similar to the above examples and are not listed here.

[0133] The following describes the correspondence between the first identification information and the second identification information:

[0134] In some embodiments, the relay UE 203 receives the Source local ID and obtains the Source L2 ID based on the header of the MAC PDU where the Source local ID is located and the sidelink control information (SCI) indicating the physical sidelink shared channel (PSSCH) where the MAC PDU is located.

[0135] In some embodiments, the source UE 201 may also send a Source L2 ID to the relay UE 203 (not shown in FIG5 ) in step 501. For example, the source UE 201 sends the Source local ID and the Source L2 ID (and / or the Destination local ID and the Destination L2 ID) to the relay UE 203, thereby allowing the relay UE 203 to obtain the Source L2 ID.

[0136] In some embodiments, the relay UE 203 sends the Source L2 ID and / or Destination L2 ID to the destination UE 202 in step 502 (not shown in FIG. 5 ). For example, the relay UE 203 sends the Source local ID and the Source L2 ID (and / or the Destination local ID) to the destination UE 202 together.

[0137] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 store the correspondence between the Source local ID and the Source L2 ID and / or store the correspondence between the Destination local ID and the Destination L2 ID. Thus, through the allocation of the source UE 201, the source UE, the relay UE, and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE, and the destination UE can receive and send data.

[0138] For example, the present application does not limit the order of step 501 and step 502, which is similar to the example of the order of step 401 and step 402 above, and will not be repeated here.

[0139] For example, for the specific contents of the first signaling and the second signaling in Figure 5, please refer to the above introduction of the embodiment of the present application, and no repetitive explanation is given here.

[0140] In some embodiments, the first terminal device assigns the first identification information of the first terminal device and / or the first identification information of the second terminal device, including: receiving the first identification information of the first terminal device and / or the first identification information of the second terminal device and the second identification information of the second terminal device sent by the first terminal device; wherein the first terminal device also sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device.

[0141] FIG6 is another example diagram of the first terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application.

[0142] As shown in Figure 6, the first terminal device includes a source UE 201, the second terminal device includes a destination UE 202, and the third terminal device includes a U2U relay UE 203; the first identification information of the first terminal device includes the local ID (Source local ID) of the source UE 201, and the first identification information of the second terminal device includes the local ID (Destination local ID) of the destination UE 202; the second identification information of the first terminal device includes the L2 ID (Source L2 ID) of the source UE 201, and the second identification information of the second terminal device includes the L2 ID (Destination L2 ID) of the destination UE 202.

[0143] For example, the first terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device includes:

[0144] 601: The source UE 201 sends the Source local ID and / or the Destination local ID and the Destination L2 ID to the relay UE 203;

[0145] 602: The source UE 201 sends the Source local ID and / or the Destination local ID to the target UE 202.

[0146] For example, source UE 201 sends the Source local ID, Destination local ID, and Destination L2 ID to relay UE 203, and source UE 201 sends the Source local ID to destination UE 202. For another example, source UE 201 sends the Source local ID, Destination local ID, and Destination L2 ID to relay UE 203, and source UE 201 sends the Source local ID and Destination local ID to destination UE 202. For example, combinations of other content sent in steps 601 and 602 are similar to the above examples and are not listed here.

[0147] In some embodiments, the relay UE 203 receives the Source local ID in step 601 and obtains the Source L2 ID according to the header of the MAC PDU where the Source local ID is located and the SCI of the PSSCH indicating where the MAC PDU is located.

[0148] In some embodiments, the source UE 201 may also send a Source L2 ID to the relay UE 203 (not shown in FIG6 ) in step 601. For example, the source UE 201 sends the Source local ID and the Source L2 ID (and / or the Destination local ID and the Destination L2 ID) to the relay UE 203, thereby obtaining the Source L2 ID.

[0149] In some embodiments, the destination UE 202 receives the Source local ID (not shown in FIG6 ) sent by the source UE 201 in step 602 and obtains the Source L2 ID according to the header of the MAC PDU where the Source local ID is located and the SCI of the PSSCH where the MAC PDU is located.

[0150] In some embodiments, the source UE 201 may further send a Source L2 ID to the destination UE 202 in step 602 (not shown in FIG6 ). For example, the source UE 201 sends the Source local ID and the Source L2 ID (and / or the Destination local ID and the Destination L2 ID) to the destination UE 202, thereby obtaining the Source L2 ID.

[0151] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 stores the correspondence between the Source local ID and the Source L2 ID, and / or stores the correspondence between the Destination local ID and the Destination L2 ID.

[0152] Thus, through the allocation of the source UE 201, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0153] For example, the present application does not limit the order of step 601 and step 602, which is similar to the example of the order of steps 401 and 402 above, and will not be repeated here.

[0154] For example, for the specific contents of the first signaling and the second signaling in Figure 6, please refer to the above introduction of the embodiment of the present application, and no repetitive explanation is given here.

[0155] The following is an example of allocating a second terminal device:

[0156] In some embodiments, the second terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device includes: the third terminal device receiving the first identification information of the second terminal device sent by the second terminal device, and / or, the first identification information of the first terminal device and the second identification information of the first terminal device; and the third terminal device sending the first identification information of the second terminal device and / or the first identification information of the first terminal device to the first terminal device.

[0157] FIG7 is an example diagram of the second terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application.

[0158] As shown in Figure 7, the first terminal device includes a source UE 201, the second terminal device includes a destination UE 202, and the third terminal device includes a U2U relay UE 203; the first identification information of the first terminal device includes the local ID (Source local ID) of the source UE 201, and the first identification information of the second terminal device includes the local ID (Destination local ID) of the destination UE 202; the second identification information of the first terminal device includes the L2 ID (Source L2 ID) of the source UE 201, and the second identification information of the second terminal device includes the L2 ID (Destination L2 ID) of the destination UE 202.

[0159] For example, allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device by the second terminal device includes:

[0160] 701: The destination UE 202 sends the Destination local ID and / or the Source local ID and the Source L2 ID to the relay UE 203;

[0161] 702 : The relay UE 203 sends the Destination local ID and / or the Source local ID to the source UE 201 .

[0162] For example, the destination UE 202 sends the Destination local ID, the Source local ID, and the Source L2 ID to the relay UE 203, and the relay UE 203 sends the Destination local ID to the source UE 201. For another example, the destination UE 202 sends the Destination local ID, the Source local ID, and the Source L2 ID to the relay UE 203, and the relay UE 203 sends the Destination local ID and the Source local ID to the source UE 201. For example, other combinations of content sent in steps 701 and 702 are similar to the above examples and are not listed here.

[0163] In some embodiments, the relay UE 203 receives the Destination local ID and obtains the Destination L2 ID according to the header of the MAC PDU where the Destination local ID is located and the SCI of the PSSCH indicating where the MAC PDU is located.

[0164] In some embodiments, the destination UE 202 may further send the Destination L2 ID to the relay UE 203 (not shown in FIG. 7 ) in step 701. For example, the destination UE 202 sends the Destination local ID and the Destination L2 ID (and / or the Source local ID and the Source L2 ID) to the relay UE 203, thereby obtaining the Destination L2 ID.

[0165] In some embodiments, the relay UE 203 sends the Source L2 ID and / or Destination ID to the source UE 201 (not shown in FIG7 ) in step 702. For example, the relay UE 203 sends the Destination local ID and the Destination L2 ID (and / or Source local ID) to the source UE 201 together.

[0166] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 stores a correspondence between the Source local ID and the Source L2 ID and / or stores a correspondence between the Destination local ID and the Destination L2 ID.

[0167] Thus, through the allocation of the destination UE 202, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0168] For example, the present application does not limit the order of step 701 and step 702, which is similar to the example of the order of step 401 and step 402 above, and will not be repeated here.

[0169] For example, for the specific contents of the first signaling and the second signaling in Figure 7, please refer to the above introduction of the embodiment of the present application, and no repetitive explanation is given here.

[0170] In some embodiments, the second terminal device assigns the first identification information of the first terminal device and / or the first identification information of the second terminal device, including: the third terminal device receives the first identification information of the second terminal device sent by the second terminal device, and / or, the first identification information of the first terminal device and the second identification information of the first terminal device; the second terminal device also sends the first identification information of the second terminal device, and / or, the first identification information of the first terminal device to the first terminal device.

[0171] FIG8 is another example diagram of the second terminal device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device according to an embodiment of the present application.

[0172] As shown in Figure 8, the first terminal device includes a source UE 201, the second terminal device includes a destination UE 202, and the third terminal device includes a U2U relay UE 203; the first identification information of the first terminal device includes the local ID (Source local ID) of the source UE 201, and the first identification information of the second terminal device includes the local ID (Destination local ID) of the destination UE 202; the second identification information of the first terminal device includes the L2 ID (Source L2 ID) of the source UE 201, and the second identification information of the second terminal device includes the L2 ID (Destination L2 ID) of the destination UE 202.

[0173] For example, allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device by the second terminal device includes:

[0174] 801: The destination UE 202 sends the Destination local ID and / or the Source local ID and the Source L2 ID to the relay UE 203;

[0175] 802: The destination UE 202 sends the Destination local ID and / or the Source local ID to the source UE 201.

[0176] For example, the destination UE 202 sends the Destination local ID, the Source local ID, and the Source L2 ID to the relay UE 203, and the destination UE 202 sends the Destination local ID to the source UE 201. For another example, the destination UE 202 sends the Destination local ID, the Source local ID, and the Source L2 ID to the relay UE 203, and the destination UE 202 sends the Destination local ID and the Source local ID to the source UE 201. For example, other combinations of content sent in step 801 and step 802 are similar to the above examples and are not listed here.

[0177] In some embodiments, the relay UE 203 receives the Destination local ID in step 801 and obtains the Destination L2 ID according to the header of the MAC PDU where the Destination local ID is located and the SCI of the PSSCH indicating where the MAC PDU is located.

[0178] In some embodiments, the destination UE 202 may further send the Destination L2 ID to the relay UE 203 (not shown in FIG8 ) in step 801. For example, the destination UE 202 sends the Destination local ID and the Destination L2 ID (and / or the Source local ID and the Source L2 ID) to the relay UE 203, thereby obtaining the Destination L2 ID.

[0179] For example, the source UE 201 receives the Destination local ID (not shown in FIG8 ) sent by the destination UE 202 in step 802 and obtains the Destination L2 ID according to the header of the MAC PDU where the Destination local ID is located and the SCI of the PSSCH indicating where the MAC PDU is located.

[0180] In some embodiments, the destination UE 202 may further send the Destination L2 ID to the source UE 201 (not shown in FIG8 ) in step 802. For example, the destination UE 202 sends the Destination local ID and the Destination L2 ID (and / or the Source local ID and the Source L2 ID) to the source UE 201, thereby obtaining the Destination L2 ID.

[0181] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 stores the correspondence between the Source local ID and the Source L2 ID, and / or stores the correspondence between the Destination local ID and the Destination L2 ID.

[0182] Thus, through the allocation of the destination UE 202, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0183] For example, the present application does not limit the order of step 801 and step 802, which is similar to the example of the order of step 401 and step 402 above, and will not be repeated here.

[0184] For example, for the specific contents of the first signaling and the second signaling in Figure 8, please refer to the above introduction of the embodiment of the present application, and no repetitive explanation will be given here.

[0185] The following is an example of network device allocation:

[0186] In some embodiments, the network device assigns the first identification information of the first terminal device and / or the first identification information of the second terminal device, including: the third terminal device receives the first identification information of the first terminal device and the first identification information of the second terminal device sent by the network device, and / or, the second identification information of the first terminal device, and / or, the second identification information of the second terminal device.

[0187] FIG9 is an example diagram of a network device allocating first identification information of a first terminal device and / or first identification information of a second terminal device according to an embodiment of the present application.

[0188] For example, the network device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device includes:

[0189] 901: The network device notifies the source UE 201 of the corresponding Destination local ID and / or Destination L2 ID;

[0190] 902: The network device notifies the relay UE 203 of the Source local ID (and / or Source L2 ID) and the Destination local ID (and / or Destination L2 ID);

[0191] 903: The network device notifies the target UE 202 of the corresponding Source local ID and / or Source L2 ID.

[0192] Thus, through the allocation of network devices, the source UE, the relay UE and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus the source UE, the relay UE and the destination UE can receive and send data.

[0193] For example, the present application does not limit the order of steps 901 to 903, which is similar to the example of the order of steps 401 and 402 above, and will not be repeated here.

[0194] In some embodiments, the network device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device also includes: the third terminal device sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or, the third terminal device sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

[0195] FIG10 is another example diagram of a network device allocating first identification information of a first terminal device and / or first identification information of a second terminal device according to an embodiment of the present application.

[0196] For example, the network device allocating the first identification information of the first terminal device and / or the first identification information of the second terminal device includes:

[0197] 1001: The network device notifies the relay UE 203 of the Destination local ID (and / or Destination L2 ID) and the Source local ID (and / or Source L2 ID);

[0198] 1002: The relay UE 203 sends the Source local ID and / or the Destination local ID to the destination UE 202;

[0199] 1003 : The relay UE 203 sends the Source local ID and / or the Destination local ID to the source UE 201 .

[0200] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 store a correspondence between the Source local ID and the Source L2 ID, and / or a correspondence between the Destination local ID and the Destination L2 ID. Thus, through network device allocation, the source UE, the relay UE, and the destination UE can all determine the source UE 201 and the corresponding destination UE 202, and thus data can be received and sent between the source UE, the relay UE, and the destination UE.

[0201] For example, the detailed description of steps 1002 and 1003 may refer to steps 401 - 402 , and will not be repeated here.

[0202] For example, the present application does not limit the order of step 1002 to step 1003, which is similar to the example of the order of steps 401 and 402 above, and will not be repeated here.

[0203] Therefore, through the joint allocation of the network device and the third terminal device, the source UE 201 and the corresponding destination UE 202 can be determined between the source UE, the relay UE and the destination UE, and then data can be received and sent between the source UE, the relay UE and the destination UE.

[0204] The above example illustrates the joint allocation of the third terminal device and the network device. Similarly, the first terminal device and the network device can also be jointly allocated, that is, similar to Figure 10, for example, in combination with Figure 9 and Figure 5 (or Figure 6); the second terminal device and the network device can also be jointly allocated, that is, similar to Figure 10, for example, in combination with Figure 9 and Figure 7 (or Figure 8). Similar to the above, no repetitive explanation is given here.

[0205] The following is an example of pre-configuration:

[0206] In some embodiments, pre-configuring the first identification information of the first terminal device and / or the first identification information of the second terminal device includes: determining the first identification information of the first terminal device and the first identification information of the second terminal device based on the first pre-configuration information, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device.

[0207] For example, similar to the process in Figure 9, the network notification process in Figure 9 is completely replaced by the first preconfiguration information. For example, the first terminal device, the second terminal device, and the third terminal device respectively obtain the Destination local ID (and / or Destination L2 ID) of the destination UE 202 and the Source local ID (and / or Source L2 ID) of the source UE 201 based on their respective internal first preconfiguration information ("preconfig" information).

[0208] In some embodiments, the relay UE 203 and / or the source UE 201 and / or the destination UE 202 stores the correspondence between the Source local ID and the Source L2 ID, and / or stores the correspondence between the Destination local ID and the Destination L2 ID.

[0209] Thus, through pre-configuration, the source UE, the relay UE and the destination UE can all determine "source UE 201 and the corresponding destination UE 202", and thus data can be received and sent between the source UE, the relay UE and the destination UE.

[0210] In some embodiments, pre-configuring the first identification information of the first terminal device and / or the first identification information of the second terminal device also includes: sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or, sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

[0211] For example, similar to the process in Figure 10, the network notification process in Figure 10 is completely replaced by the first preconfiguration information. For example, the third terminal device obtains the Destination local ID (and / or Destination L2 ID) of the destination UE 202 and the Source local ID (and / or Source L2 ID) of the source UE 201 based on the internal first preconfiguration information ("preconfig" information). Then, similar to steps 1002 and 1003 in Figure 10, the third terminal device sends the relevant information to the second terminal device and the first terminal device respectively.

[0212] Therefore, through pre-configuration and joint configuration of the third terminal device, the source UE, relay UE and destination UE can all determine the source UE 201 and the corresponding destination UE 202, and then the source UE, relay UE and destination UE can receive and send data.

[0213] The above example illustrates the joint allocation of the third terminal device and the network device. Similarly, the first terminal device and the network device can also be jointly allocated, that is, similar to Figure 10, for example, in combination with Figure 9 and Figure 5 (or Figure 6); the second terminal device and the network device can also be jointly allocated, that is, similar to Figure 10, for example, in combination with Figure 9 and Figure 7 (or Figure 8). Similar to the above, no repetitive explanation is given here.

[0214] When the first identification information of the first terminal device and / or the first identification information of the second terminal device is allocated and determined, and / or when the second identification information of the first terminal device and / or the second identification information of the second terminal device is determined, data can be accurately transmitted between the first terminal device, the second terminal device, and the third terminal device. The data transmission process of step 302 and step 303 is exemplarily described below:

[0215] In some embodiments, a third terminal device receives data sent by a first terminal device, wherein the first terminal device adds the first identification information of the second terminal device in a header of an adaptation layer of the data; and the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device in a header of an adaptation layer of the data.

[0216] In some embodiments, after the third terminal device receives data sent by the first terminal device, it determines the first identification information of the first terminal device based on the second identification information of the first terminal device, and / or determines the second identification information of the second terminal device based on the first identification information of the second terminal device.

[0217] FIG11 is an example diagram of data transmission according to an embodiment of the present application.

[0218] Step 1101: Source UE 201 sends data to relay UE 203. The data is the payload of an adaptation layer PDU for relay UE 203. Source UE 201 adds the destination local ID (Destination local ID) of destination UE 202 to the adaptation layer header (SRAP header or ADAPT header) of the data, for example, the 8-bit "00000001".

[0219] For example, in the source UE 201, the application layer data is to be sent to the destination UE 202, so the application layer data is associated with the L2 ID of the destination UE 202. When the data reaches the adaptation layer, the adaptation layer determines the local ID of the destination UE 202 based on the L2 ID of the destination UE 202 and the correspondence between the L2 ID of the destination UE 202 and the local ID. The source UE 201 includes the local ID of the destination UE 202 in the header of the adaptation layer. As a result, the data of the source UE 201 is transmitted to the relay UE 203 after being transmitted via the adaptation layer, the RLC layer, the MAC layer, and the physical layer. For example, the header of the SRAP PDU sent by the source UE 201 includes the local ID of the destination UE 202, the header of the MAC PDU sent includes the upper 16 bits of the L2 ID of the source UE 201 and the upper 8 bits of the L2 ID of the relay UE 203, and the SCI indicates the lower 8 bits of the L2 ID of the source UE 201 and the L2 ID of the relay UE 203. The lower 16 bits of the ID).

[0220] Step 1102: After receiving the data sent by the source UE 201, the relay UE 203 determines the local ID of the source UE 201 (Source local ID) based on the L2 ID of the source UE 201 (Source L2 ID), and / or the relay UE 203 determines the destination L2 ID of the destination UE 202 based on the destination local ID of the destination UE 202;

[0221] For example, relay UE 203 receives a MAC PDU sent by source UE 201 and obtains the Source L2 ID based on the upper 16 bits of the Source L2 ID included in the MAC PDU header and the lower 8 bits of the Source L2 ID included in the SCI of the PSSCH indicating the location of the MAC PDU. Relay UE 203 can determine the Source local ID based on the correspondence between the Source L2 ID determined or notified by the relay UE 203 and the Source local ID. In addition, relay UE 203 determines the Destination L2 ID based on the Destination local ID included in the adaptation layer header and the correspondence between the Destination L2 ID determined or notified by the relay UE 203 and the Destination local ID.

[0222] Step 1103: When the relay UE 203 sends the data to the destination UE 202, the relay UE 203 adds the Source local ID of the source UE 201 to the header of the adaptation layer. The relay UE 203 sends the data to the corresponding destination UE 202 using the Destination L2 ID. For example, the relay UE 203 uses the Destination L2 ID at the MAC layer and the physical layer (for example, the upper 8 bits of the Destination L2 ID in the MAC PDU header and the lower 16 bits of the Destination L2 ID in the SCI) to send the data to the destination UE 202.

[0223] Step 1104: When the destination UE 202 receives the data, it can know which source UE sends the data to itself through the Source local ID of the source UE 201 in the adaptation layer.

[0224] As a result, data can be received and sent between the source UE, the relay UE and the destination UE.

[0225] In some embodiments, a third terminal device receives data sent by a first terminal device, wherein the first terminal device adds the first identification information of the second terminal device to a header of an adaptation layer of the data; and the third terminal device sends data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to a header of an adaptation layer of the data.

[0226] For example, still taking FIG. 11 as an example, the difference from FIG. 11 is that in step 1103 , “the Source local ID and the Destination local ID are added to the SRAP header of the data, and the data is sent.”

[0227] In some embodiments, a third terminal device receives data sent by a first terminal device, wherein the first terminal device adds first identification information of the first terminal device and first identification information of the second terminal device in a header of an adaptation layer of the data; and the third terminal device sends data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device in a header of an adaptation layer of the data.

[0228] For example, still taking FIG. 11 as an example, the difference from FIG. 11 is that in step 1101 , “the Source local ID and the Destination local ID are added to the SRAP header of the data, and the data is sent”.

[0229] As a result, data can be received and sent between the source UE, the relay UE and the destination UE.

[0230] In some embodiments, a third terminal device receives data sent by a first terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data; and the third terminal device sends data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data.

[0231] In some implementations, after receiving the data sent by the first terminal device, the third terminal device determines the second identification information of the second terminal device based on the first identification information of the second terminal device.

[0232] FIG12 is another example diagram of data transmission according to an embodiment of the present application.

[0233] Step 1201: Source UE 201 sends data to relay UE 203, where the data is the payload of an adaptation layer PDU for relay UE 203. Source UE 201 adds the Source local ID of source UE 201, for example, 8 bits "00000010", and the local ID (Destination local ID) of destination UE 202, for example, 8 bits "00000001", to the adaptation layer header (SRAP header or ADAPT header) of the data.

[0234] For example, in the source UE 201, the application layer data is to be sent to the destination UE 202, so the application layer data is associated with the L2 ID of the destination UE 202. When the data reaches the adaptation layer, the adaptation layer determines the local ID of the destination UE 202 according to the L2 ID of the destination UE 202, and the source UE 201 includes the local ID of the destination UE 202 and the local ID of the source UE 201 in the header of the adaptation layer. As a result, the data of the source UE 201 is transmitted to the relay UE 203 after being transmitted through the adaptation layer, the RLC layer, the MAC layer and the physical layer. For example, the header of the SRAP PDU sent by the source UE 201 includes the local ID of the destination UE 202 and the local ID of the source UE 201, the header of the sent MAC PDU includes the upper 16 bits of the L2 ID of the source UE 201 and the upper 8 bits of the L2 ID of the relay UE 203, and the lower 8 bits of the L2 ID of the source UE 201 and the relay UE 203 are indicated in the SCI. 203's L2 ID).

[0235] Step 1202: After receiving the data sent by the source UE 201, the relay UE 203 determines the destination L2 ID of the destination UE 202 based on the destination local ID of the destination UE 202;

[0236] For example, the relay UE 203 determines the Destination L2 ID according to the Destination local ID included in the header of the adaptation layer and the correspondence between the Destination L2 ID determined by itself or notified and the Destination local ID.

[0237] Step 1203: When the relay UE 203 sends the data to the destination UE 202, the relay UE 203 adds the Source local ID of the source UE 201 and the Destination local ID of the destination UE 202 to the header of the adaptation layer, wherein the relay UE sends the data to the corresponding destination UE 202;

[0238] For example, the relay UE 203 uses the Destination L2 ID at the MAC layer and the physical layer (e.g., the upper 8 bits of the Destination L2 ID in the MAC PDU header and the lower 16 bits of the Destination L2 ID in the SCI) to send data to the destination UE 202;

[0239] Step 1204: When the destination UE 202 receives the data, it can know which source UE sends the data to itself through the Source local ID and Destination local ID in the adaptation layer.

[0240] As a result, data can be received and sent between the source UE, the relay UE and the destination UE.

[0241] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0242] It can be seen from the above embodiments that the present application can determine the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the third terminal device, and send and receive data based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0243] Embodiments of the second aspect

[0244] The embodiment of the present application provides a data transmission method, which is applied to a first terminal device. The embodiment of the present application can be combined with the embodiment of the first aspect, or can be implemented independently. The content that is the same as the embodiment of the first aspect is not repeated here.

[0245] FIG13 is a schematic diagram of a data sending method according to an embodiment of the present application. As shown in FIG13 , the method includes:

[0246] 1301, determining, in an adaptation layer of a first terminal device, first identification information of the first terminal device and / or first identification information of a second terminal device; and

[0247] 1302 : Send data to a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0248] In this way, the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the first terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0249] It is worth noting that FIG13 above is merely a schematic illustration of an embodiment of the present application, and the present application is not limited thereto. For example, the execution order of the various operations may be appropriately adjusted, and other operations may be added or some operations may be reduced. Those skilled in the art may make appropriate modifications based on the above description, and are not limited to the description of FIG13 above.

[0250] In some embodiments, the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0251] In some embodiments, the first terminal device sends the data to the third terminal device, wherein the first identification information of the second terminal device is added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device to the header of the adaptation layer of the data.

[0252] In some embodiments, the first terminal device sends the data to the third terminal device, wherein the first identification information of the second terminal device is added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to the header of the adaptation layer of the data.

[0253] In some embodiments, the first terminal device sends the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device to the header of the adaptation layer of the data.

[0254] In some embodiments, the first terminal device sends the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to the header of the adaptation layer of the data.

[0255] For example, according to the allocation method of the embodiment of the first aspect (such as the records in Figures 4-10, etc.), the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined; and according to the data sending and forwarding method of the embodiment of the first aspect (such as the records in Figures 11-12, etc.), the data transmission method between the first terminal device, the second terminal device and the third terminal device is determined; no repeated explanation is given here.

[0256] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0257] It can be seen from the above embodiments that the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the first terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0258] Embodiments of the third aspect

[0259] This embodiment of the present application provides a data receiving method, which is applied to a second terminal device. This embodiment of the present application can be combined with the embodiments of the first aspect and the second aspect, or can be implemented independently. The content that is the same as the embodiments of the first aspect and the second aspect is not repeated here.

[0260] FIG14 is a schematic diagram of a data receiving method according to an embodiment of the present application. As shown in FIG14 , the method includes:

[0261] 1401, determining, in an adaptation layer of a second terminal device, first identification information of a first terminal device and / or first identification information of a second terminal device; and

[0262] 1402 : Receive data from a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0263] In this way, the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the second terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0264] It is worth noting that FIG14 above is merely a schematic illustration of an embodiment of the present application, and the present application is not limited thereto. For example, the execution order of the various operations may be appropriately adjusted, and other operations may be added or some operations may be reduced. Those skilled in the art may make appropriate modifications based on the above description, and are not limited to the description of FIG14 above.

[0265] In some embodiments, the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0266] In some embodiments, the second terminal device receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device in the header of the adaptation layer of the data and sends the data.

[0267] In some embodiments, the second terminal device receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data.

[0268] In some embodiments, the second terminal device receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device in a header of an adaptation layer of the data and sends the data.

[0269] In some embodiments, the second terminal device receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data and sends the data.

[0270] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0271] For example, according to the allocation method of the embodiment of the first aspect (such as the records in Figures 4-10, etc.), the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined; and according to the data sending and forwarding method of the embodiment of the first aspect (such as the records in Figures 11-12, etc.), the data transmission method between the first terminal device, the second terminal device and the third terminal device is determined; no repeated explanation is given here.

[0272] It can be seen from the above embodiments that it is possible to determine the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the second terminal device, and to send and receive data based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0273] Embodiments of the fourth aspect

[0274] The present embodiment provides a data receiving and transmitting device configured in a third terminal device. The device may be, for example, a terminal device, or one or more components or assemblies configured in the terminal device. Details similar to those in the first embodiment are not repeated here.

[0275] FIG15 is a schematic diagram of a data receiving and sending device according to an embodiment of the present application. As shown in FIG15 , the data receiving and sending device 1500 includes:

[0276] a determining unit 1501, which determines, in an adaptation layer of a third terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0277] The receiving unit 1502 receives data from the first terminal device.

[0278] The sending unit 1503 sends data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0279] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0280] It is worth noting that the above only describes the components or modules related to the present application, but the present application is not limited thereto. The data receiving and sending device 1500 may also include other components or modules. For the specific contents of these components or modules, reference may be made to the relevant art.

[0281] In addition, for the sake of simplicity, FIG15 only illustrates the connection relationship or signal direction between various components or modules. However, it should be clear to those skilled in the art that various related technologies such as bus connection can be used. The above-mentioned components or modules can be implemented by hardware facilities such as processors, memories, transmitters, and receivers; the implementation of this application is not limited to this.

[0282] In some embodiments, the determination unit 1501 determines the first identification information of the first terminal device and / or the first identification information of the second terminal device based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation; network device allocation, or preconfiguration.

[0283] In some embodiments, the determination unit 1501 also includes a first sending module (not shown in Figure 15), which sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device; and, the first sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device; or, the first sending module sends the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device; and / or, the first sending module sends the first identification information of the first terminal device and the second identification information of the first terminal device to the second terminal device.

[0284] In some embodiments, the determination unit 1501 also includes a first receiving module and / or a second sending module (not shown in Figure 15). In the case of allocation of the first terminal device, the first receiving module receives the first identification information of the first terminal device sent by the first terminal device, and / or the first identification information of the second terminal device and the second identification information of the second terminal device; and the second sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device; or, the first receiving module receives the first identification information of the first terminal device sent by the first terminal device, and / or the first identification information of the second terminal device and the second identification information of the second terminal device; wherein, the first terminal device also sends the first identification information of the first terminal device, and / or the first identification information of the second terminal device to the second terminal device.

[0285] In some embodiments, the determination unit 1501 also includes a second receiving module and / or a third sending module (not shown in Figure 15). In the case of allocation of the second terminal device: the second receiving module receives the first identification information of the second terminal device sent by the second terminal device, and / or the first identification information of the first terminal device and the second identification information of the first terminal device; and the third sending module sends the first identification information of the second terminal device and / or the first identification information of the first terminal device to the first terminal device; or the second receiving module receives the first identification information of the second terminal device sent by the second terminal device, and / or the first identification information of the first terminal device and the second identification information of the first terminal device; wherein, the second terminal device also sends the first identification information of the second terminal device, and / or the first identification information of the first terminal device to the first terminal device.

[0286] In some embodiments, the determination unit 1501 also includes a third receiving module and / or a fourth sending module (not shown in Figure 15). In the case of allocation by the network device: the third receiving module receives the first identification information of the first terminal device and the first identification information of the second terminal device, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device sent by the network device; and the fourth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or the fourth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

[0287] In some embodiments, the determination unit 1501 determines the first identification information of the first terminal device and the first identification information of the second terminal device based on the first pre-configuration information, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device.

[0288] In some embodiments, the determination unit 1501 also includes a fifth sending module (not shown in Figure 15). In the case of the pre-configuration: the fifth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or, the fifth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

[0289] In some embodiments, the first sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device through the first signaling or the second signaling; and, sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device; or, the first sending module sends the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device through the first signaling or the second signaling; and / or, sends the first identification information of the first terminal device and the second identification information of the first terminal device to the second terminal device.

[0290] In some embodiments, the first signaling is PC5-S signaling, which includes at least one of the following signalings: direct communication request and / or direct communication accept; discovery message (e.g., Discovery solicitation) and / or discovery response message (e.g., Discovery response); or other PC5-S messages.

[0291] In some embodiments, the second signaling is PC5-RRC signaling, and the second signaling includes at least one of the following signalings: side link RRC reconfiguration information (RRCReconfigurationSidelink), side link RRC reconfiguration completion information (RRCReconfigurationCompleteSidelink), side link UE capability inquiry information (UECapacityEnquirySidelink), side link UE capability information (UECapacityInformationSidelink),

[0292] Side link master information block (MasterInformationBlockSidelink), side link UE auxiliary information (UEAssistanceInformationSidelink), side link remote UE information (RemoteUEInformationSidelink), or side link notification message (NotificationMessageSidelink).

[0293] In some embodiments, the data receiving and sending apparatus 1500 further includes a first adding unit 1504: the receiving unit 1502 receives data from the first terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data; after the first adding unit 1504 adds the first identification information of the first terminal device in the header of the adaptation layer of the data, the sending unit 1503 sends the data to the second terminal device; or, the receiving unit 1502 receives data from the first terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data. information; after the first adding unit 1504 adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data, the sending unit 1503 sends the data to the second terminal device; or, the receiving unit 1502 receives data from the first terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data; after the first adding unit 1504 adds the first identification information of the first terminal device in the header of the adaptation layer of the data, the sending unit 1503 sends the data to the second terminal device.

[0294] In some embodiments, after the receiving unit 1502 receives data from the first terminal device, the determining unit 1501 further determines the first identification information of the first terminal device based on the second identification information of the first terminal device, and / or determines the second identification information of the second terminal device based on the first identification information of the second terminal device.

[0295] In some embodiments, the data receiving and sending device 1500 also includes a second adding unit 1505: the receiving unit 1502 receives data from the first terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data; after the second adding unit 1505 adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data, the sending unit 1503 sends the data to the second terminal device.

[0296] In some implementations, after the receiving unit 1502 receives the data sent by the first terminal device, the determining unit 1501 further determines the second identification information of the second terminal device based on the first identification information of the second terminal device.

[0297] In some implementations, the first terminal device is a source remote device; the second terminal device is a destination remote device; and the third terminal device is a relay device.

[0298] In some implementations, the first identification information is an identifier of a terminal device used in an adaptation layer, and the second identification information is a layer 2 identifier (L2 ID).

[0299] For example, according to the allocation method of the embodiment of the first aspect (such as the records in Figures 4-10, etc.), the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined; and according to the data sending and forwarding method of the embodiment of the first aspect (such as the records in Figures 11-12, etc.), the data transmission method between the first terminal device, the second terminal device and the third terminal device is determined; no repeated explanation is given here.

[0300] It can be seen from the above embodiments that it is possible to determine the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the third terminal device, and to send and receive data based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0301] Embodiments of the fifth aspect

[0302] The present embodiment provides a data transmission device configured in a third terminal device. The device may be, for example, a terminal device, or one or more components or assemblies configured in the terminal device. Details common to the first and second aspects of the embodiment are not repeated here.

[0303] FIG16 is a schematic diagram of a data transmission device according to an embodiment of the present application. As shown in FIG16 , the data transmission device 1600 includes:

[0304] a determining unit 1601, which determines, in an adaptation layer of the first terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0305] The sending unit 1602 sends data to the third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0306] In this way, the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the first terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0307] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0308] It is worth noting that the above description only describes the components or modules related to the present application, but the present application is not limited thereto. The data sending device 1600 may also include other components or modules. For the specific contents of these components or modules, reference may be made to the relevant art.

[0309] In addition, for the sake of simplicity, FIG16 only illustrates the connection relationship or signal direction between various components or modules. However, it should be clear to those skilled in the art that various related technologies such as bus connection can be used. The above-mentioned components or modules can be implemented by hardware facilities such as processors, memories, transmitters, and receivers; the implementation of this application is not limited to this.

[0310] In some embodiments, the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0311] In some embodiments, the sending unit 1602 sends the data to the third terminal device, wherein the first identification information of the second terminal device is added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device to the header of the adaptation layer of the data.

[0312] In some embodiments, the sending unit 1602 sends the data to the third terminal device, wherein the first identification information of the second terminal device is added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to the header of the adaptation layer of the data.

[0313] In some embodiments, the sending unit 1602 sends the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device to the header of the adaptation layer of the data.

[0314] In some embodiments, the sending unit 1602 sends the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to the header of the adaptation layer of the data; wherein the third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to the header of the adaptation layer of the data.

[0315] For example, according to the allocation method of the embodiment of the first aspect (such as the records in Figures 4-10, etc.), the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined; and according to the data sending and forwarding method of the embodiment of the first aspect (such as the records in Figures 11-12, etc.), the data transmission method between the first terminal device, the second terminal device and the third terminal device is determined; no repeated explanation is given here.

[0316] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0317] It can be seen from the above embodiments that the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the first terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0318] Embodiments of the sixth aspect

[0319] The present embodiment provides a data receiving device configured in a second terminal device. The device may be, for example, a terminal device, or one or more components or assemblies configured in the terminal device. Details common to the first, second, and third aspects of the embodiment are not further described.

[0320] FIG17 is a schematic diagram of a data receiving device according to an embodiment of the present application. As shown in FIG17 , the data receiving device 1700 includes:

[0321] a determining unit 1701, which determines, in an adaptation layer of a second terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0322] The receiving unit 1702 receives data from the third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0323] In this way, the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the second terminal device can be determined, and data can be sent and received based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0324] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0325] It is worth noting that the above description only describes the components or modules related to the present application, but the present application is not limited thereto. The data receiving device 1700 may also include other components or modules. For details of these components or modules, reference may be made to related technologies.

[0326] In addition, for the sake of simplicity, FIG17 only illustrates the connection relationship or signal direction between various components or modules. However, it should be clear to those skilled in the art that various related technologies such as bus connection can be used. The above-mentioned components or modules can be implemented by hardware facilities such as processors, memories, transmitters, and receivers; the implementation of this application is not limited to this.

[0327] In some embodiments, the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0328] In some embodiments, the receiving unit 1702 receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device in the header of the adaptation layer of the data and sends the data.

[0329] In some embodiments, the receiving unit 1702 receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data.

[0330] In some implementations, the receiving unit 1702 receives the data sent by the third terminal device.

[0331] The first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device in the header of the adaptation layer of the data and sends the data.

[0332] In some embodiments, the receiving unit 1702 receives the data sent by the third terminal device, wherein the first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data.

[0333] The above embodiments are merely exemplary of the present invention, but the present invention is not limited thereto. Appropriate modifications may be made based on the above embodiments. For example, the above embodiments may be used alone, or one or more of the above embodiments may be combined.

[0334] For example, according to the allocation method of the embodiment of the first aspect (such as the records in Figures 4-10, etc.), the first identification information of the first terminal device and / or the first identification information of the second terminal device are determined; and according to the data sending and forwarding method of the embodiment of the first aspect (such as the records in Figures 11-12, etc.), the data transmission method between the first terminal device, the second terminal device and the third terminal device is determined; no repeated explanation is given here.

[0335] It can be seen from the above embodiments that it is possible to determine the identification information of the first terminal device and / or the identification information of the second terminal device used in the adaptation layer of the second terminal device, and to send and receive data based on the determined identification information of the first terminal device and / or the identification information of the second terminal device, thereby reducing the overhead of data transmission in the adaptation layer and saving wireless resources.

[0336] Embodiments of the seventh aspect

[0337] An embodiment of the present application also provides a communication system, and the contents that are the same as those in the embodiments of the first to sixth aspects are not repeated here.

[0338] In some embodiments, the communication system may include at least:

[0339] a first terminal device, which determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer and sends data to the third terminal device;

[0340] the third terminal device receiving the data from the first terminal device, the third terminal device determining, in an adaptation layer, first identification information of the first terminal device and / or first identification information of the second terminal device, and the third terminal device sending the data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device;

[0341] The second terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer; and receives data from the third terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0342] An embodiment of the present application further provides a network device, which may be, for example, a base station, but the present application is not limited thereto and may also be other network devices.

[0343] Figure 18 is a schematic diagram illustrating the structure of a network device according to an embodiment of the present application. As shown in Figure 18 , network device 1800 may include a processor 1810 (e.g., a central processing unit (CPU)) and a memory 1820 ; the memory 1820 is coupled to the processor 1810 . The memory 1820 may store various data and may also store an information processing program 1830 , which is executed under the control of the processor 1810 .

[0344] In addition, as shown in FIG18 , network device 1800 may further include: a transceiver 1840 and an antenna 1850, etc.; wherein, the functions of the above components are similar to those in the prior art and are not further described here. It is worth noting that network device 1800 does not necessarily include all the components shown in FIG18 ; in addition, network device 1800 may also include components not shown in FIG18 , and reference may be made to the prior art for such components.

[0345] The embodiment of the present application also provides a terminal device, but the present application is not limited thereto and may also be other devices.

[0346] Figure 19 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in Figure 19 , terminal device 1900 may include a processor 1910 and a memory 1920. Memory 1920 stores data and programs and is coupled to processor 1910. It should be noted that this diagram is exemplary; other types of structures may be used to supplement or replace this structure to implement telecommunication or other functions.

[0347] For example, the processor 1910 may be configured to execute a program to implement the data receiving and sending method as described in the embodiment of the first aspect. For example, the processor 1910 may be configured to perform the following control: determining, in the adaptation layer of the third terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and receiving data from the first terminal device, and sending data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0348] As shown in Figure 19 , the terminal device 1900 may further include: a communication module 1930, an input unit 1940, a display 1950, and a power supply 1960. The functions of these components are similar to those in the prior art and are not described here in detail. It is worth noting that the terminal device 1900 does not necessarily include all of the components shown in Figure 19 , and these components are not essential. Furthermore, the terminal device 1900 may also include components not shown in Figure 19 , for which reference may be made to the prior art.

[0349] An embodiment of the present application also provides a computer program, wherein when the program is executed in a terminal device, the program causes the terminal device to execute the data receiving and sending method described in the embodiment of the first aspect.

[0350] An embodiment of the present application also provides a storage medium storing a computer program, wherein the computer program enables a terminal device to execute the data receiving and sending method described in the embodiment of the first aspect.

[0351] An embodiment of the present application also provides a computer program, wherein when the program is executed in a terminal device, the program causes the terminal device to execute the data sending method described in the embodiment of the second aspect.

[0352] An embodiment of the present application also provides a storage medium storing a computer program, wherein the computer program enables a terminal device to execute the data sending method described in the embodiment of the second aspect.

[0353] An embodiment of the present application also provides a computer program, wherein when the program is executed in a terminal device, the program causes the terminal device to execute the data receiving method described in the embodiment of the third aspect.

[0354] An embodiment of the present application also provides a storage medium storing a computer program, wherein the computer program enables a terminal device to execute the data receiving method described in the embodiment of the third aspect.

[0355] The above devices and methods of the present application can be implemented by hardware or by a combination of hardware and software. The present application relates to such a computer-readable program that, when executed by a logic component, enables the logic component to implement the devices or components described above, or enables the logic component to implement the various methods or steps described above. The present application also relates to a storage medium for storing the above program, such as a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, etc.

[0356] The method / device described in conjunction with the embodiments of the present application can be directly embodied as hardware, a software module executed by a processor, or a combination of the two. For example, one or more of the functional block diagrams shown in the figure and / or one or more combinations of functional block diagrams can correspond to various software modules of the computer program flow or to various hardware modules. These software modules can respectively correspond to the various steps shown in the figure. These hardware modules can be implemented by solidifying these software modules, for example, using a field programmable gate array (FPGA).

[0357] The software module may be located in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. A storage medium may be coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium; or the storage medium may be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The software module may be stored in the memory of the mobile terminal or in a memory card that can be inserted into the mobile terminal. For example, if the device (such as a mobile terminal) uses a large-capacity MEGA-SIM card or a large-capacity flash memory device, the software module may be stored in the MEGA-SIM card or the large-capacity flash memory device.

[0358] One or more of the functional blocks and / or one or more combinations of functional blocks described in the accompanying drawings may be implemented as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or any appropriate combination thereof for performing the functions described in this application. One or more of the functional blocks and / or one or more combinations of functional blocks described in the accompanying drawings may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in communication with a DSP, or any other such configuration.

[0359] The present application has been described above in conjunction with specific embodiments. However, those skilled in the art should understand that these descriptions are merely illustrative and are not intended to limit the scope of protection of the present application. Those skilled in the art may make various modifications and variations to the present application based on the spirit and principles of the present application, and such modifications and variations are also within the scope of the present application.

[0360] Regarding the implementation methods including the above embodiments, the following additional notes are also disclosed:

[0361] 1. A data receiving and sending method, applied in a third terminal device, wherein the method comprises:

[0362] determining, in the adaptation layer of the third terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and

[0363] receiving data from the first terminal device,

[0364] Data is sent to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0365] 2. The method according to Note 1, wherein the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; third terminal device allocation; network device allocation, or preconfiguration.

[0366] 3. The method according to Supplementary Note 2, wherein the assigning by the third terminal device the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0367] sending the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device; and

[0368] The first identification information of the first terminal device and / or the first identification information of the second terminal device is sent to the second terminal device.

[0369] 4. The method according to Supplementary Note 2, wherein the assigning by the third terminal device the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0370] Sending the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device; and / or

[0371] The first identification information of the first terminal device and the second identification information of the first terminal device are sent to the second terminal device.

[0372] 5. The method according to Supplementary Note 2, wherein the first terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0373] receiving first identification information of the first terminal device and / or first identification information of the second terminal device and second identification information of the second terminal device sent by the first terminal device; and

[0374] The first identification information of the first terminal device and / or the first identification information of the second terminal device is sent to the second terminal device.

[0375] 6. The method according to Supplementary Note 2, wherein the first terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0376] Receive the first identification information of the first terminal device, and / or the first identification information of the second terminal device and the second identification information of the second terminal device sent by the first terminal device; wherein, the first terminal device also sends the first identification information of the first terminal device, and / or the first identification information of the second terminal device to the second terminal device.

[0377] 7. The method according to Supplementary Note 2, wherein the second terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0378] receiving the first identification information of the second terminal device and / or the first identification information of the first terminal device and the second identification information of the first terminal device sent by the second terminal device; and

[0379] Send the first identification information of the second terminal device and / or the first identification information of the first terminal device to the first terminal device.

[0380] 8. The method according to Supplementary Note 2, wherein the second terminal device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0381] Receive the first identification information of the second terminal device sent by the second terminal device, and / or the first identification information of the first terminal device and the second identification information of the first terminal device; wherein, the second terminal device also sends the first identification information of the second terminal device, and / or the first identification information of the first terminal device to the first terminal device.

[0382] 9. The method according to Supplementary Note 2, wherein the network device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0383] Receive the first identification information of the first terminal device and the first identification information of the second terminal device, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device, sent by the network device.

[0384] 10. The method according to Supplementary Note 9, wherein the network device assigning the first identification information of the first terminal device and / or the first identification information of the second terminal device further comprises:

[0385] Sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or

[0386] The first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device are sent to the second terminal device.

[0387] 11. The method according to Supplementary Note 2, wherein pre-configuring the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0388] Determine the first identification information of the first terminal device and the first identification information of the second terminal device, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device based on the first pre-configuration information.

[0389] 12. The method according to note 11, wherein pre-configuring the first identification information of the first terminal device and / or the first identification information of the second terminal device further comprises:

[0390] Sending the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or

[0391] The first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device are sent to the second terminal device.

[0392] 13. The method according to any one of Notes 1 to 10, further comprising:

[0393] The first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device are sent to the first terminal device and / or the second terminal device through the first signaling or the second signaling.

[0394] 14. The method according to Note 13, wherein the first signaling is PC5-S signaling, and the first signaling includes at least one of the following signalings:

[0395] Direct communication request and / or direct communication accept;

[0396] a discovery message (e.g., a Discovery solicitation) and / or a discovery response message (e.g., a Discovery response); or

[0397] Other PC5-S messages.

[0398] 15. The method according to Note 13, wherein the second signaling is PC5-RRC signaling, and the second signaling includes at least one of the following signalings:

[0399] Side link RRC reconfiguration information (RRCReconfigurationSidelink),

[0400] Side link RRC reconfiguration completion information (RRCReconfigurationCompleteSidelink),

[0401] UECapacityEnquirySidelink,

[0402] UE Capacity Information Sidelink,

[0403] Master Information Block Sidelink,

[0404] UE Assistance Information Sidelink,

[0405] RemoteUEInformationSidelink, or

[0406] NotificationMessageSidelink.

[0407] 16. The method according to Supplementary Note 1, wherein receiving data from the first terminal device and / or sending data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device comprises:

[0408] receiving data sent by the first terminal device, wherein the first terminal device adds first identification information of the second terminal device to a header of an adaptation layer of the data;

[0409] The data is sent to the second terminal device, wherein the first identification information of the first terminal device is added to a header of an adaptation layer of the data.

[0410] 17. The method according to Supplementary Note 1, wherein receiving data from the first terminal device and / or sending data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device comprises:

[0411] receiving data sent by the first terminal device, wherein the first terminal device adds first identification information of the second terminal device to a header of an adaptation layer of the data;

[0412] The data is sent to the second terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to a header of an adaptation layer of the data.

[0413] 18. The method according to Supplementary Note 1, wherein receiving data from the first terminal device and / or sending data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device comprises:

[0414] receiving data sent by the first terminal device, wherein the first terminal device adds first identification information of the first terminal device and first identification information of the second terminal device to a header of an adaptation layer of the data;

[0415] The data is sent to the second terminal device, wherein the first identification information of the first terminal device is added to a header of an adaptation layer of the data.

[0416] 19. The method according to any one of Notes 16 to 18, wherein the method further comprises:

[0417] After receiving data sent by the first terminal device, the first identification information of the first terminal device is determined based on the second identification information of the first terminal device, and / or the second identification information of the second terminal device is determined based on the first identification information of the second terminal device.

[0418] 20. The method according to Supplementary Note 1, wherein, receiving data from the first terminal device and / or sending data to the second terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device comprises:

[0419] receiving data sent by the first terminal device, wherein the first terminal device adds first identification information of the first terminal device and first identification information of the second terminal device to a header of an adaptation layer of the data;

[0420] The data is sent to the second terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to a header of an adaptation layer of the data.

[0421] 21. The method according to Supplementary Note 20, further comprising:

[0422] After receiving the data sent by the first terminal device, the second identification information of the second terminal device is determined according to the first identification information of the second terminal device.

[0423] 22. The method according to any one of Notes 1 to 21, wherein:

[0424] The first terminal device is a source remote device; the second terminal device is a destination remote device; and the third terminal device is a relay device.

[0425] 23. The method according to any one of Notes 1 to 22, wherein:

[0426] The first identification information is an identification of a terminal device used in the adaptation layer, and the second identification information is a layer 2 identification (L2 ID).

[0427] 24. A data sending method, applied to a first terminal device, wherein the method comprises:

[0428] determining, in an adaptation layer of the first terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0429] Data is sent to a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0430] 25. The method according to Note 24, wherein the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0431] 26. The method according to note 24, wherein sending data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0432] sending the data to the third terminal device, wherein the first identification information of the second terminal device is added to a header of an adaptation layer of the data;

[0433] The third terminal device sends the data to the second terminal device, and the third terminal device adds the first identification information of the first terminal device to a header of an adaptation layer of the data.

[0434] 27. The method according to note 24, wherein sending data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0435] sending the data to the third terminal device, wherein the first identification information of the second terminal device is added to a header of an adaptation layer of the data;

[0436] The third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to a header of an adaptation layer of the data.

[0437] 28. The method according to note 24, wherein sending data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0438] sending the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to a header of an adaptation layer of the data;

[0439] The third terminal device sends the data to the second terminal device, and the third terminal device adds the first identification information of the first terminal device to a header of an adaptation layer of the data.

[0440] 29. The method according to note 24, wherein sending data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0441] sending the data to the third terminal device, wherein the first identification information of the first terminal device and the first identification information of the second terminal device are added to a header of an adaptation layer of the data;

[0442] The third terminal device sends the data to the second terminal device, wherein the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to a header of an adaptation layer of the data.

[0443] 30. A data receiving method, applied to a second terminal device, wherein the method comprises:

[0444] determining, in an adaptation layer of the second terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and

[0445] Data from the third terminal device is received according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

[0446] 31. The method according to Note 30, wherein the first identification information of the first terminal device and / or the first identification information of the second terminal device is determined based on at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation, network device allocation, or preconfiguration.

[0447] 32. The method according to supplementary note 30, wherein receiving data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0448] receiving the data sent by the third terminal device,

[0449] The first terminal device adds the first identification information of the second terminal device to the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device to the header of the adaptation layer of the data and sends the data.

[0450] 33. The method according to note 30, wherein receiving data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0451] receiving the data sent by the third terminal device,

[0452] The first terminal device adds the first identification information of the second terminal device to the header of the adaptation layer of the data and sends the data to the third terminal device, and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device to the header of the adaptation layer of the data and sends the data.

[0453] 34. The method according to note 30, wherein receiving data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0454] receiving the data sent by the third terminal device,

[0455] The first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device in the header of the adaptation layer of the data and sends the data.

[0456] 35. The method according to note 30, wherein sending data according to the first identification information of the first terminal device and / or the first identification information of the second terminal device comprises:

[0457] receiving the data sent by the third terminal device,

[0458] The first terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data to the third terminal device; and the third terminal device adds the first identification information of the first terminal device and the first identification information of the second terminal device in the header of the adaptation layer of the data and sends the data.

[0459] 36. A terminal device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the data receiving and sending method as described in any one of Notes 1 to 23.

[0460] 37. A terminal device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the data sending method as described in any one of Notes 24 to 29.

[0461] 38. A terminal device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the data receiving method as described in any one of Notes 30 to 35.

[0462] 39. A communication system comprising:

[0463] a first terminal device, which determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer and sends data to the third terminal device;

[0464] a third terminal device, which receives the data from the first terminal device, the third terminal device determines, in an adaptation layer, first identification information of the first terminal device and / or first identification information of the second terminal device, and the third terminal device sends data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device;

[0465] The second terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer; and receives data from the third terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

Claims

1. A data receiving and sending device, configured in a third terminal device, the data receiving and sending device comprising: a determining unit, which determines, in the adaptation layer of the third terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; as well as a receiving unit, configured to receive data from the first terminal device, A sending unit, which sends data to the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

2. The device according to claim 1, wherein: The determination unit determines the first identification information of the first terminal device and / or the first identification information of the second terminal device according to at least one of the following allocations: first terminal device allocation; second terminal device allocation; the third terminal device allocation; network device allocation, or preconfiguration.

3. The device according to claim 2, wherein: The determining unit further comprises a first sending module, which, in the case of the third terminal device allocation, The first sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device; and, the first sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device; or The first sending module sends the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device; And / or, the first sending module sends the first identification information of the first terminal device and the second identification information of the first terminal device to the second terminal device.

4. The device according to claim 2, wherein: The determining unit further comprises a first receiving module and / or a second sending module. When the first terminal device is allocated, The first receiving module receives the first identification information of the first terminal device and / or the first identification information of the second terminal device and the second identification information of the second terminal device sent by the first terminal device; and the second sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device and the second identification information of the second terminal device. The first identification information of the second terminal device is given to the second terminal device; or The first receiving module receives the first identification information of the first terminal device, and / or the first identification information of the second terminal device and the second identification information of the second terminal device sent by the first terminal device; wherein the first terminal device also sends the first identification information of the first terminal device, and / or the first identification information of the second terminal device to the second terminal device.

5. The device according to claim 2, wherein: The determining unit further comprises a second receiving module and / or a third sending module, and in the case where the second terminal device is allocated: The second receiving module receives the first identification information of the second terminal device sent by the second terminal device, and / or the first identification information of the first terminal device and the second identification information of the first terminal device; and the third sending module sends the first identification information of the second terminal device and / or the first identification information of the first terminal device to the first terminal device; or The second receiving module receives the first identification information of the second terminal device sent by the second terminal device, and / or the first identification information of the first terminal device and the second identification information of the first terminal device; wherein the second terminal device also sends the first identification information of the second terminal device, and / or the first identification information of the first terminal device to the first terminal device.

6. The device according to claim 2, wherein: The determining unit further comprises a third receiving module and / or a fourth sending module, in the case of the network device allocation: The third receiving module receives the first identification information of the first terminal device and the first identification information of the second terminal device, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device, which are sent by the network device; and The fourth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; And / or, the fourth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

7. The device according to claim 2, wherein: The determination unit determines the first identification information of the first terminal device and the first identification information of the second terminal device, and / or the second identification information of the first terminal device, and / or the second identification information of the second terminal device according to the first pre-configuration information.

8. The device according to claim 7, wherein: The determining unit further includes a fifth sending module, in the case of the pre-configuration: The fifth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the first terminal device; and / or, The fifth sending module sends the first identification information of the first terminal device and / or the second identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the second terminal device to the second terminal device.

9. The device according to claim 3, wherein: The first sending module sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the first terminal device through the first signaling or the second signaling; and sends the first identification information of the first terminal device and / or the first identification information of the second terminal device to the second terminal device; or The first sending module sends the first identification information of the second terminal device and the second identification information of the second terminal device to the first terminal device through the first signaling or the second signaling; And / or, sending the first identification information of the first terminal device and the second identification information of the first terminal device to the second terminal device.

10. The device according to claim 9, wherein: The first signaling is PC5-S signaling, and the first signaling includes at least one of the following signalings; Direct communication request and / or direct communication accept; a discovery message (e.g., a Discovery solicitation) and / or a discovery response message (e.g., a Discovery response); or Other PC5-S messages.

11. The device according to claim 9, wherein: The second signaling is PC5-RRC signaling, and the second signaling includes at least one of the following signalings; Side link RRC reconfiguration information (RRCReconfigurationSidelink), Side link RRC reconfiguration completion information (RRCReconfigurationCompleteSidelink), UECapacityEnquirySidelink, UE Capacity Information Sidelink, Master Information Block Sidelink, UE Assistance Information Sidelink, RemoteUEInformationSidelink, or Side link notification message (NotificationMessageSidelink).

12. The device according to claim 1, wherein: The data receiving and sending device also includes a first adding unit: The receiving unit receives data from the first terminal device, wherein the first terminal device adds the first identification information of the second terminal device in the header of the adaptation layer of the data; after the first adding unit adds the first identification information of the first terminal device in the header of the adaptation layer of the data, the sending unit sends the data to the second terminal device; or The receiving unit receives data from the first terminal device, wherein the first terminal device adds the first identification information of the second terminal device in a header of an adaptation layer of the data; after the first adding unit adds the first identification information of the first terminal device and the first identification information of the second terminal device in a header of an adaptation layer of the data, the sending unit sends the data to the second terminal device; or The receiving unit receives data from the first terminal device, wherein the first terminal device adds first identification information of the first terminal device and first identification information of the second terminal device in a header of an adaptation layer of the data; after the first adding unit adds the first identification information of the first terminal device in a header of an adaptation layer of the data, the sending unit sends the data to the second terminal device.

13. The device according to claim 12, wherein: After the receiving unit receives the data from the first terminal device, The determining unit further determines the first identification information of the first terminal device according to the second identification information of the first terminal device, and / or determines the second identification information of the second terminal device according to the first identification information of the second terminal device.

14. The device according to claim 1, wherein: The data receiving and sending device also includes a second adding unit: The receiving unit receives data from the first terminal device, wherein the first terminal device adds first identification information of the first terminal device and first identification information of the second terminal device in a header of an adaptation layer of the data; After the second adding unit adds the first identification information of the first terminal device and the first identification information of the second terminal device to a header of an adaptation layer of the data, the sending unit sends the data to the second terminal device.

15. The device according to claim 12, wherein: After the receiving unit receives the data sent by the first terminal device, the determining unit further determines the second identification information of the second terminal device according to the first identification information of the second terminal device.

16. The device according to claim 1, wherein The first terminal device is a source remote device; the second terminal device is a destination remote device; and the third terminal device is a relay device.

17. The device according to claim 1, wherein: The first identification information is an identification of a terminal device used in the adaptation layer, and the second identification information is a layer 2 identification (L2 ID).

18. A data sending device, configured in a first terminal device, wherein: The data sending device comprises: a determining unit, which determines, in an adaptation layer of the first terminal device, first identification information of the first terminal device and / or first identification information of the second terminal device; and A sending unit, which sends data to a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

19. A data receiving device, configured in a second terminal device, wherein: The data receiving device comprises: a determining unit, which determines, in an adaptation layer of the second terminal device, the first identification information of the first terminal device and / or the first identification information of the second terminal device; and A receiving unit receives data from a third terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.

20. A communication system comprising: A first terminal device, which determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer and sends data to a third terminal device; The third terminal device receives the data from the first terminal device, the third terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer, and the third terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device according to the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second terminal device. The second identification information sends data to the second terminal device; The second terminal device determines the first identification information of the first terminal device and / or the first identification information of the second terminal device in the adaptation layer; and receives data from the third terminal device based on the first identification information of the first terminal device and / or the first identification information of the second terminal device and / or the second identification information of the first terminal device and / or the second identification information of the second terminal device.