Data transmission method and apparatus, terminal device and network terminal
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorHaorui Yang
Life of this patent
Estimating the term…
Abstract
A data transmission method and apparatus, a terminal device and a network device are provided. The method comprises: a first terminal determines a protocol data unit (PDU) session type; and the first terminal relays data between a network device and a second terminal on the basis of a PDU session corresponding to the PDU session type.
Claims14
A data transmission method, comprising:
- receiving, by a first terminal, a direct link establishment request sent by a second terminal, wherein the direct link establishment request carries a first relay service code RSC);
- determining, by the first terminal, a protocol data unit (PDU) session type based on at least a first mapping rule corresponding to the first RSC, the first RSC being an RSC sent by the second terminal;
- and
- relaying, by the first terminal, data between the second terminal and a network device based on a PDU session corresponding to the PDU session type;
- wherein the first mapping rule indicates correspondences between the first RSC and PDU session parameters, and
- the PDU session type is one of:
- Internet Protocol Version 4 (IPv4), Internet Protocol Version 6 (IPv6), IPv4v6, Ethernet, or Unstructured,
- wherein determining, by the first terminal, the PDU session type based on at least the first mapping rule corresponding to the first RSC comprises:
- determining, by the first terminal, the PDU session type based on a PDU type and at least one of the PDU session parameters comprising:
- a single network slice selection assistance information (S-NSSAI), a data network name (DNN), or a session and service continuity (SSC) mode.
A first terminal, comprising a memory used to store a computer program, and a processor configured invoke and run the computer program stored in the memory to control the first terminal to:
- receive a direct link establishment request sent by a second terminal, wherein the direct link establishment request carries a first relay service code (RSC);
- determine a protocol data unit (PDU) session type based on at least a first mapping rule corresponding to the first RSC, the first RSC being an RSC sent by the second terminal;
- relay data between a network device and the second terminal based on a PDU session corresponding to the PDU session type,
- wherein the first mapping rule indicates correspondences between the first RSC and PDU session parameters, and
- the PDU session type is one of:
- Internet Protocol Version 4 (IPv4), Internet Protocol Version 6 (IPv6), IPV4v6, Ethernet, or Unstructured,
- wherein the processor is further configured to invoke and run the computer program stored in the memory to control the first terminal to
- determine the PDU session type based on a PDU type and at least one of the PDU session parameters comprising:
- a single network slice selection assistance information (S-NSSAI), a data network name (DNN), or a session and service continuity (SSC) mode.
A data transmission apparatus, comprising a memory used to store a computer program, and a processor used to invoke and run the computer program stored in the memory to control the data transmission apparatus to:
- configure a first mapping rule for a first terminal;
- the first mapping rule being used to indicate protocol data unit (PDU) session parameters, a PDU type and at least one of the PDU session parameters comprising a single network slice selection assistance information (S-NSSAI), a data network name (DNN), or a session and service continuity (SSC) mode, the PDU type and the at least one of the PDU session parameters being used for the first terminal to determine a PDU session type, a PDU session corresponding to the PDU session type being used to relay data between the first terminal and a second terminal, and a first relay service code (RSC) corresponding to the first mapping rule being an RSC sent by the second terminal, wherein the first RSC is carried in a direct link establishment request sent to the first terminal by the second terminal;
- wherein the first mapping rule indicates correspondences between the first RSC and the PDU session parameters,
- wherein the PDU session type is one of:
- Internet Protocol Version 4 (IPv4), Internet Protocol Version 6 (IPv6), IPv4v6, Ethernet, or Unstructured.
Dependencies are inferred from the claim text.