WO2024099085A1 - 数据传输方法、装置、终端及网络设备 - Google Patents

数据传输方法、装置、终端及网络设备 Download PDF

Info

Publication number
WO2024099085A1
WO2024099085A1 PCT/CN2023/126678 CN2023126678W WO2024099085A1 WO 2024099085 A1 WO2024099085 A1 WO 2024099085A1 CN 2023126678 W CN2023126678 W CN 2023126678W WO 2024099085 A1 WO2024099085 A1 WO 2024099085A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission path
direct communication
mac pdu
mac
address
Prior art date
Application number
PCT/CN2023/126678
Other languages
English (en)
French (fr)
Inventor
赵亚利
梁靖
曾二林
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2024099085A1 publication Critical patent/WO2024099085A1/zh

Links

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a data transmission method, device, terminal and network equipment.
  • the embodiments of the present disclosure provide a data transmission method, apparatus, terminal and network equipment to solve the problem that transmission path switching affects service continuity.
  • the present disclosure provides a data transmission method, which is executed by a terminal and includes:
  • the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB are determined.
  • the method further comprises:
  • a first message sent by a network device is received, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of source layer 2 address, destination layer 2 address, and transfer type is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the determining, according to the transmission path information, a format of a media access control MAC layer MAC protocol data unit PDU includes at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the method further includes:
  • the logical channel of the terminal is a Uu interface logical channel, according to the Uu interface MAC PDU format
  • the method is used to assemble the data packet to obtain the first data packet;
  • the SL-SCH subheader includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the method for determining the source layer 2 address and the target layer 2 address includes:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the method further includes:
  • the logical channel of the terminal is a direct communication interface logical channel, assemble the data packet according to the direct communication interface MAC PDU format to obtain a second data packet;
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the receiving a first message sent by the network device includes:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC Signaling, physical layer signaling.
  • determining a scrambling method of the data block TB according to the transmission path information includes at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for a specific object using a direct communication link, it is determined that TB adopts a direct communication interface scrambling method; for a specific object using a Uu link, it is determined that TB adopts a Uu scrambling method.
  • the present disclosure also provides a data transmission method, which is performed by a network device and includes:
  • a first message is sent to a terminal, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of a media access control MAC layer MAC protocol data unit PDU and/or an scrambling method of a data block TB.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the method further comprises:
  • a second message is sent to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • sending the first message to the terminal includes:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the method further comprises:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the present disclosure also provides a terminal, including a memory, a transceiver, and a processor:
  • a memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
  • the processor for reading the computer program in the memory, further performs the following operations:
  • a first message sent by a network device is received, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of source layer 2 address, destination layer 2 address, and transfer type is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the processor is configured to read the computer program in the memory to perform at least one of the following operations:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for using direct
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for specific objects using the Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • the logical channel of the terminal is a Uu interface logical channel, assemble the data packet according to the Uu interface MAC PDU format to obtain a first data packet;
  • the SL-SCH subheader includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the method for determining the source layer 2 address and the target layer 2 address includes:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the processor for reading the computer program in the memory, further performs the following operations:
  • the logical channel of the terminal is a direct communication interface logical channel, assemble the data packet according to the direct communication interface MAC PDU format to obtain a second data packet;
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, The air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the processor is configured to read the computer program in the memory to perform the following operations:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the processor is configured to read the computer program in the memory to perform at least one of the following operations:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for a specific object using a direct communication link, it is determined that TB adopts a direct communication interface scrambling method; for a specific object using a Uu link, it is determined that TB adopts a Uu scrambling method.
  • the embodiment of the present disclosure also provides a network device, including a memory, a transceiver, and a processor:
  • a memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
  • a first message is sent to a terminal, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of a media access control MAC layer MAC protocol data unit PDU and/or an scrambling method of a data block TB.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • a second message is sent to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the processor is configured to read the computer program in the memory to perform the following operations:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the present disclosure also provides a data transmission device, applied to a terminal, including:
  • a first determining unit configured to determine transmission path information
  • the second determining unit is used to determine the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB according to the transmission path information.
  • the device further comprises:
  • the first receiving unit is used to receive a first message sent by a network device, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of source layer 2 address, destination layer 2 address, and transfer type is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the second determining unit is configured to implement at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the device further comprises:
  • a first acquisition unit is used for, if the logical channel of the terminal is a Uu interface logical channel, assembling packets according to the Uu interface MAC PDU format to acquire a first data packet;
  • a first processing unit configured to add a direct communication interface shared channel SL-SCH subheader to the MAC PDU header of the first data packet;
  • the SL-SCH subheader includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the method for determining the source layer 2 address and the target layer 2 address includes:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the device further comprises:
  • the second acquiring unit is configured to, if the logical channel of the terminal is a direct communication interface logical channel, Packetizing according to the direct communication interface MAC PDU format to obtain a second data packet;
  • a second processing unit configured to carry the second indication information in the SL-SCH subheader in the MAC PDU of the second data packet; or, to add a MAC sub-PDU to the head or tail of the MAC PDU of the second data packet, wherein the MAC sub-PDU includes a MAC subheader or the MAC sub-PDU includes a MAC subheader and a MAC control unit CE, and the MAC subheader or the MAC CE carries the second indication information;
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the first receiving unit is used to:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the second determining unit is configured to implement at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for a specific object using a direct communication link, it is determined that TB adopts a direct communication interface scrambling method; for a specific object using a Uu link, it is determined that TB adopts a Uu scrambling method.
  • the present disclosure also provides a data transmission device, which is applied to a network device, including:
  • a first sending unit is used to send a first message to a terminal, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the device further comprises:
  • the second sending unit is used to send a second message to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the first sending unit is used to:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the device further comprises:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • An embodiment of the present disclosure further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the above method.
  • the above scheme determines the transmission path information and, based on the transmission path information, determines the format of the MAC layer MAC PDU and/or the scrambling method of the TB. This method can ensure that the data packet can be transmitted normally after the terminal switches the path between the Uu link and the direct communication link, thereby ensuring business continuity.
  • FIG1 is a structural diagram of a network system applicable to an embodiment of the present disclosure
  • FIG2 is a schematic diagram showing a flow chart of a data transmission method according to an embodiment of the present disclosure
  • FIG3 is a second flow chart of the data transmission method according to an embodiment of the present disclosure.
  • FIG4 is a schematic diagram showing the structure of a user plane protocol stack
  • FIG5 is a schematic diagram showing one of the detailed flow charts of a specific application of an embodiment of the present disclosure.
  • FIG6 is a second detailed flow chart showing a specific application of an embodiment of the present disclosure.
  • FIG7 shows one of the unit schematic diagrams of the information transmission device according to an embodiment of the present disclosure
  • FIG8 is a block diagram of a terminal according to an embodiment of the present disclosure.
  • FIG9 shows a second schematic diagram of a unit of the information transmission device according to an embodiment of the present disclosure.
  • FIG. 10 is a structural diagram of a network device according to an embodiment of the present disclosure.
  • the term "and/or” describes the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • the term “plurality” refers to two or more than two, and other quantifiers are similar.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific way.
  • the port is used to transmit uplink and downlink data/control information.
  • Direct communication refers to the method in which adjacent terminals can transmit data over a short distance through a direct communication link (also called a Sidelink link or a PC5 link).
  • the wireless interface corresponding to the Sidelink link is called a direct communication interface (also called a Sidelink interface or a PC5 interface).
  • the data transmission method, apparatus, terminal, and network device provided in the embodiments of the present disclosure can be applied to a wireless communication system.
  • the wireless communication system can be a system using the fifth generation (5th Generation, 5G) mobile communication technology (hereinafter referred to as a 5G system).
  • 5G system fifth generation mobile communication technology
  • Those skilled in the art can understand that the 5G NR system is only an example and is not a limitation.
  • FIG. 1 is a structural diagram of a network system applicable to the embodiment of the present disclosure.
  • the network system includes a user terminal 11 and a base station 12, wherein the user terminal 11 may be a user equipment (UE), for example, a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (PDA), a mobile Internet device (MID) or a wearable device (Wearable Device) and other terminal side devices.
  • UE user equipment
  • UE user equipment
  • UE user equipment
  • a mobile phone a tablet computer
  • laptop computer laptop computer
  • PDA personal digital assistant
  • MID mobile Internet device
  • MID wearable device
  • Wiarable Device wearable Device
  • the base station 12 may be a base station of 5G and later versions (for example, gNB, 5G NR NB), or a base station in other communication systems, or referred to as a node B. It should be noted that in the embodiment of the present disclosure, only a 5G base station is taken as an example, but the specific type of the base station 12 is not limited.
  • the embodiments of the present disclosure provide a data transmission method, apparatus, terminal and network equipment to solve the problem that transmission path switching affects service continuity.
  • the method and the device are based on the same application concept. Since the method and the device solve the problem in a similar principle, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
  • an embodiment of the present disclosure provides a data transmission method, which is executed by a terminal and includes:
  • Step S201 determining transmission path information
  • Step S202 Determine the format of the Media Access Control (MAC) layer MAC protocol data unit (PDU) and/or the scrambling method of the data block (Transport Block, TB) based on the transmission path information.
  • MAC Media Access Control
  • PDU Media Access Control layer MAC protocol data unit
  • TB Transmission Block
  • the transmission path information includes one of the following:
  • the transmission path type is for the terminal, that is, the transmission types of different terminals can be the same or different.
  • the transmission path type includes: a Uu link or a direct communication link;
  • A12 a transmission path type corresponding to the first bearer or the first logical channel
  • the transmission path type is for the bearer or logical channel of the terminal; that is, the transmission path types corresponding to different bearers or logical channels of the same terminal may be the same or different.
  • the specific object includes one of the following:
  • A132 a combination of a source layer 2 address and a target layer 2 address
  • A133 is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the transmission path information is the transmission path type corresponding to the target layer 2 address; for example, the transmission path information is the transmission path type corresponding to the combination of the source layer 2 address and the target layer 2 address; for example, the transmission path information is the transmission path type corresponding to the combination of the source layer 2 address, the target layer 2 address and the transmission type.
  • A14 a transmission path type corresponding to the first bearer or the first logical channel corresponding to the specific object
  • the transmission path information is the transmission path type corresponding to the first bearer or the first logical channel corresponding to the target layer 2 address; for example, the transmission path information is the transmission path type corresponding to the first bearer or the first logical channel corresponding to the combination of the source layer 2 address and the target layer 2 address; for example, the transmission path information is the transmission path type corresponding to the first bearer or the first logical channel corresponding to the combination of the source layer 2 address, the target layer 2 address and the transmission type.
  • A15 the type of Radio Network Temporary Identity (RNTI) monitored by the terminal;
  • RNTI Radio Network Temporary Identity
  • RNTI type includes the following:
  • the RNTI may be a wireless number used by the Uu interface to schedule direct communication link resources.
  • a sidelink network temporary identifier (Sidelink RNTI, SL-RNTI) or a radio network temporary identifier (Sidelink Configured Scheduling RNTI, SL CS-RNTI) used by the Uu interface for scheduling direct communication link retransmission resources.
  • the RNTI can be a cell radio network temporary identifier (Cell RNTI, C-RNTI) used by the Uu interface to schedule Uu interface resources or a radio network temporary identifier (Configured Scheduling RNTI, CS-RNTI) used by the Uu interface to schedule Uu interface pre-configured resources, wherein scheduling Uu interface pre-configured resources includes activating Uu interface pre-configured resources, deactivating Uu interface pre-configured resources, or rescheduling Uu interface pre-configured transmission.
  • Cell RNTI Cell RNTI
  • C-RNTI Cell RNTI
  • Configured Scheduling RNTI Configured Scheduling RNTI
  • CS-RNTI radio network temporary identifier
  • the method further includes:
  • a first message sent by a network device is received, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information is notified to the terminal by the network device.
  • the implementation manner of receiving the first message sent by the network device is specifically:
  • the first signaling includes at least one of the following: Radio Resource Control (RRC) signaling, MAC signaling, and physical layer signaling.
  • RRC Radio Resource Control
  • the MAC PDU format mentioned in the embodiments of the present disclosure includes the direct communication interface MAC PDU format and the Uu interface MAC PDU format.
  • the packaging methods of MAC PDUs of different formats are different. The following first explains how to determine the format of the MAC layer MAC PDU.
  • determining the format of a media access control MAC layer MAC protocol data unit PDU according to the transmission path information includes at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the MAC PDU format is directly determined based on the transmission path type, that is, the format of the MAC PDU corresponding to the Uu link is the Uu interface MAC PDU format, and the format of the MAC PDU corresponding to the direct communication link is the direct communication interface MAC PDU format.
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, determine that the format of the MAC PDU is the direct communication interface MAC PDU format; for the first bearer or the first logical channel using the Uu link, determine that the format of the MAC PDU is the Uu interface MAC PDU format;
  • the MAC PDU format is directly determined based on the transmission path type of the bearer or logical channel, that is, if the transmission path type corresponding to the bearer or logical channel is a Uu link, then the format of the MAC PDU corresponding to such a bearer or logical channel is the Uu interface MAC PDU format; if the transmission path type corresponding to the bearer or logical channel is a direct communication link, then the format of the MAC PDU corresponding to such a bearer or logical channel is the direct communication interface MAC PDU format.
  • the transmission path information includes a transmission path type corresponding to a specific object, for a specific object using a direct communication link, the format of the MAC PDU is determined to be a direct communication interface MAC PDU format; for a specific object using a Uu link, the format of the MAC PDU is determined to be a Uu interface MAC PDU format;
  • the MAC PDU format is directly determined based on the specific object, that is, if the transmission path type corresponding to the specific object is a Uu link, then the format of the MAC PDU corresponding to such a specific object is the Uu interface MAC PDU format; if the transmission path type corresponding to the specific object is a direct communication link, then the format of the MAC PDU corresponding to such a specific object is the direct communication interface MAC PDU format.
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel corresponding to the specific object, for the first bearer or the first logical channel corresponding to the specific object using the direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the first bearer or the first logical channel corresponding to the specific object using the Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format; that is, when the transmission path type is distinguished for the bearer or logical channel corresponding to the specific object, the MAC PDU The format is directly determined based on the bearer or logical channel corresponding to the specific object, that is, if the transmission path type corresponding to the bearer or logical channel corresponding to the specific object is a Uu link, then the format of the MAC PDU corresponding to the bearer or logical channel corresponding to such specific object is the Uu interface MAC PDU format; if the transmission path type corresponding to the first bearer or the
  • the method when the format of the MAC PDU is determined to be the direct communication interface MAC PDU format, the method further includes:
  • the logical channel of the terminal is a Uu interface logical channel, assemble the data packet according to the Uu interface MAC PDU format to obtain a first data packet;
  • SL-SCH sidelink-Shared channel
  • the SL-SCH subheader at least includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • Uu interface logical channel refers to a logical channel that is identified only by a logical channel identifier (Logical Channel Identity, LCID).
  • LCID Logical Channel Identity
  • the method for determining the source layer 2 address and the target layer 2 address includes one of the following:
  • C11 Receive a second message sent by the network device, and determine, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the source layer 2 address and the target layer 2 address are notified to the terminal by the network device.
  • the source layer 2 address and the target layer 2 address are determined by the terminal itself without the need for notification from the network device.
  • the terminal determines the source layer 2 address and the target layer 2 address of the direct communication interface according to the high-level configuration of the terminal itself.
  • the method when the format of the MAC PDU is determined to be the Uu interface MAC PDU format, the method further includes:
  • the logical channel of the terminal is a direct communication interface logical channel, assemble the data packet according to the direct communication interface MAC PDU format to obtain a second data packet;
  • the second indication information is carried in the SL-SCH subheader in the MAC PDU of the second data packet; or, a MAC sub-PDU is added to the header or tail of the MAC PDU of the second data packet, the MAC sub-PDU includes a MAC subheader or the MAC sub-PDU includes a MAC subheader and a MAC control unit CE, and the MAC subheader or MAC CE carries the second indication information.
  • the second data packet after obtaining the second data packet, in one case, it is possible to not add a MAC sub-PDU to the MAC sub-PDU, but directly carry the second indication information in the SL-SCH sub-header in the MAC PDU; in another case, it is necessary to add a MAC sub-PDU to the MAC sub-PDU, and further, when the MAC sub-PDU includes a MAC sub-header, the second indication information will be carried in the MAC sub-header; when the MAC sub-PDU includes a MAC sub-header and a MAC CE, the indication information will be carried in the MAC CE.
  • the direct communication interface logical channel mentioned in the embodiments of the present disclosure refers to a logical channel identified by a source layer 2 (Layer 2, L2) address, a target L2 address and an LCID.
  • the second indication information is used to indicate one of the following information:
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the RNTI may be a Cell-Radio Network Temporary Identifier (C-RNTI).
  • C-RNTI Cell-Radio Network Temporary Identifier
  • D142 identification information of the network device and/or cell to which the communication peer belongs;
  • the network equipment and/or cell to which the communication peer belongs can be understood as the network equipment and/or cell that serves the communication peer; it should also be noted that the network equipment and/or cell to which the communication peer belongs may be the same as or different from the network equipment and/or cell to which the terminal belongs.
  • the network device receives the MAC PDU from the terminal and determines the transmission mode corresponding to the data contained in the MAC PDU according to the target information in the MAC PDU;
  • the transmission mode includes: sending to a core network or forwarding to a communication peer of the terminal via a Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the scrambling method of TB mentioned in the embodiment of the present disclosure includes a direct communication interface scrambling method and a Uu scrambling method. The following describes how to determine the scrambling method of TB.
  • determining the scrambling mode of the data block TB according to the transmission path information includes at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the scrambling method is directly determined based on the transmission path type, that is, the scrambling method of the TB corresponding to the Uu link is the Uu scrambling method, and the scrambling method of the TB corresponding to the direct communication link is the direct communication interface scrambling method.
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the scrambling method of the TB is directly determined based on the transmission path type of the bearer or logical channel, that is, if the transmission path type corresponding to the bearer or logical channel is a Uu link, then the scrambling method of the TB corresponding to such a bearer or logical channel is the Uu scrambling method; if the transmission path type corresponding to the bearer or logical channel is a direct communication link, then the scrambling method of the TB corresponding to such a bearer or logical channel is the direct communication interface scrambling method.
  • the transmission path information includes a transmission path type corresponding to a specific object, for a specific object using a direct communication link, determine that TB uses a direct communication interface scrambling method; for a specific object using a Uu link, determine that TB uses a Uu scrambling method;
  • the scrambling method of the TB is directly determined based on the specific object, that is, if the transmission path type corresponding to the specific object is a Uu link, then the scrambling method of the TB corresponding to such a specific object is the Uu scrambling method; if the transmission path type corresponding to the specific object is a direct communication link, then the scrambling method of the TB corresponding to such a specific object is the direct communication interface scrambling method.
  • the scrambling method of the TB is determined to be the direct communication interface scrambling method; for the first bearer or the first logical channel corresponding to the specific object using a Uu link, the scrambling method of the TB is determined to be the Uu scrambling method; that is, when the transmission path type is distinguished according to the bearer or logical channel corresponding to the specific object, the scrambling method of the TB is directly determined based on the bearer or logical channel corresponding to the specific object, that is, if the transmission path type corresponding to the bearer or logical channel corresponding to the specific object is a Uu link, then the scrambling method of the TB corresponding to the bearer or logical channel corresponding to such a specific object is the Uu scrambling method;
  • the network device when the terminal sends a TB, the network device receives the TB from the terminal and determines the transmission corresponding to the data contained in the TB according to the RNTI used by the terminal when scrambling the TB.
  • the transmission mode includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface.
  • the Uu interface specific RNTI when used for TB scrambling, the data contained in the TB is forwarded to the communication counterpart of the terminal through the Uu interface; when the Uu interface other RNTIs except the specific RNTI are used for TB scrambling, the data contained in the TB is sent to the core network.
  • the specific RNTI is assigned to the terminal by the network device, the terminal receives the PDCCH scheduled by the specific RNTI, the TB transmitted on the PDCCH is scrambled by the specific RNTI, and the network device receives the TB scrambled by the specific RNTI, and the data contained in the TB is directly forwarded to the communication counterpart of the terminal through the Uu interface.
  • any message sent by the network device to the terminal in the embodiment of the present disclosure can be sent using RRC signaling, MAC CE or physical layer signaling.
  • At least one embodiment of the present disclosure provides a MAC PDU packetization method or a TB scrambling method when the transmission path between terminals switches between a Uu link and a direct communication link. This method can ensure that business continuity is not affected after the transmission path is switched, and can better utilize Uu/SL resources for data transmission, thereby improving system resource utilization.
  • the applicable systems can be global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, long term evolution advanced (LTE-A) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) system, 5G new radio (NR) system, etc.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • GPRS general packet radio service
  • LTE long term evolution
  • FDD LTE frequency division duplex
  • TDD LTE time division duplex
  • LTE-A long term evolution advanced
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • NR new radio
  • the terminal device involved in the embodiment of the present disclosure may be a terminal device that provides voice and/or data connectivity to a user.
  • a device with wireless connection function a handheld device with wireless connection function, or other processing equipment connected to a wireless modem, etc.
  • the name of the terminal device may also be different.
  • the terminal device may be called User Equipment (UE).
  • UE User Equipment
  • a wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN).
  • RAN radio access network
  • a wireless terminal device can be a mobile terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device.
  • the wireless terminal device can be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but is not limited in the embodiments of the present disclosure.
  • the network device involved in the embodiments of the present disclosure may be a base station, which may include multiple cells providing services for the terminal.
  • the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names.
  • the network device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network.
  • IP Internet Protocol
  • the network device may also coordinate the attribute management of the air interface.
  • the network device involved in the embodiments of the present disclosure may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (GSM) or Code Division Multiple Access (CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolved network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (HeNB), a relay terminal node (relay NodeB), or a 5G base station (gNB) in the 5G network architecture (next generation system).
  • BTS Base Transceiver Station
  • GSM Global System for Mobile communications
  • CDMA Code Division Multiple Access
  • NodeB Wide-band Code Division Multiple Access
  • evolutional Node B, eNB or e-NodeB evolved network device
  • LTE long term evolution
  • gNB 5G
  • Network devices and terminal devices can each use one or more antennas for multiple input multiple output (MIMO) transmission.
  • MIMO transmission can be single user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO).
  • MIMO transmission can be two-dimensional MIMO (2D-MIMO), three-dimensional MIMO (3D-MIMO), full-dimensional MIMO (FD-MIMO) or massive MIMO, or it can be diversity transmission, precoded transmission or beamforming transmission, etc.
  • an embodiment of the present disclosure provides a data transmission method, which is executed by a network device and includes:
  • Step S301 sending a first message to a terminal, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of a media access control MAC layer MAC protocol data unit PDU and/or an scrambling method of a data block TB.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the method further comprises:
  • a second message is sent to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • sending the first message to the terminal includes:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the method further comprises:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • FIG4 The schematic diagram of the corresponding user plane protocol stack structure in this application case is shown in FIG4 .
  • the main implementation process in this case includes the following flow:
  • Step S51 Data is transmitted between the first terminal and the second terminal via a direct communication interface.
  • Step S52 the first terminal receives a first message from the network device
  • the first message may specifically use any of the following signaling formats: RRC signaling, MAC signaling, and physical layer signaling.
  • the first message carries at least transmission path information corresponding to the first terminal.
  • the transmission path information includes the following:
  • the transmission path type corresponding to the first bearer or the first logical channel corresponding to the specific object is not limited to the first bearer or the first logical channel corresponding to the specific object.
  • Step S53 the first terminal determines the format of the MAC layer MAC PDU according to the first message
  • the specific implementation of determining the format of the MAC layer MAC PDU according to the first message includes one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the format of the determined MAC PDU is the Uu interface MAC PDU format
  • the packet is assembled according to the direct communication interface MAC PDU format to obtain a second data packet; in the second data packet A MAC sub-PDU (MACsubPDU) is added to the head or tail of the MAC PDU, wherein the MAC sub-PDU includes a MAC subheader (MAC subheader) and a MAC control unit CE, and the MAC CE carries the second indication information.
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the first terminal (i.e., the second terminal) at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • Step S54a/Step S54b data transmission is performed between the first terminal and the second terminal using a network device
  • the network device is similar to an L2 relay (including MAC and physical layers). If the MAC PDU received by the network device contains the special MACsubPDU mentioned in step S53, the air interface identification information of the target terminal carried in the MACsubPDU is used to determine how the MAC PDU needs to be forwarded on the air interface, such as which RNTI to use for scheduling and in which cell to schedule.
  • the main process includes the following:
  • Step S61 Data is transmitted between the first terminal and the second terminal via the Uu interface.
  • Step S62 the first terminal receives a first message from the network device
  • the first message may specifically use any of the following signaling formats: RRC signaling, MAC signaling, and physical layer signaling.
  • the first message carries at least transmission path information corresponding to the first terminal.
  • the transmission path information includes the following:
  • the transmission path type corresponding to the first bearer or the first logical channel corresponding to the specific object is not limited to the first bearer or the first logical channel corresponding to the specific object.
  • Step S63 the terminal determines the format of the MAC layer MAC PDU according to the first message
  • the specific implementation method of determining the format of the MAC layer MAC PDU according to the first message includes one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the terminal when the format of the MAC PDU is determined to be the direct communication interface MAC PDU format, if the logical channel of the terminal is the Uu interface logical channel, the terminal assembles the data packet according to the Uu interface MAC PDU format to obtain a first data packet; an SL-SCH subheader is added to the MAC PDU header of the first data packet; specifically, the SL-SCH subheader includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the source layer 2 address and the target layer 2 address may be determined in one of the following ways:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • a source layer 2 address and a target layer 2 address corresponding to the direct communication interface are determined based on the first terminal.
  • high-level data packet encapsulation also needs to be enhanced, and the target IP address of the data packet should be the IP address of the communication counterpart of the first terminal.
  • Step S64 The first terminal and the second terminal perform data transmission via a direct communication interface.
  • Step S71 Data is transmitted between the first terminal and the second terminal via the Uu interface.
  • Step S72 the first terminal receives a first message from the network device
  • the first message may specifically use any of the following signaling formats: RRC signaling, MAC signaling, and physical layer signaling.
  • the first message carries at least transmission path information corresponding to the first terminal.
  • the transmission path information includes the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is not limited to the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • Step S73 the terminal determines the scrambling method of TB according to the first message
  • the specific implementation method of determining the scrambling method of TB according to the first message includes one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for a specific object using a direct communication link, it is determined that TB adopts a direct communication interface scrambling method; for a specific object using a Uu link, it is determined that TB adopts a Uu scrambling method.
  • Step S74 the first terminal and the second terminal perform data transmission using a direct communication interface
  • the first terminal scrambles and sends the TB based on a determined scrambling method to achieve data transmission on a direct communication interface.
  • an embodiment of the present disclosure provides a data transmission device 700, which is applied to a terminal and includes:
  • the second determining unit 702 is configured to determine the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB according to the transmission path information.
  • the device further comprises:
  • the first receiving unit is used to receive a first message sent by a network device, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of source layer 2 address, destination layer 2 address, and transfer type is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the second determining unit 702 is configured to implement at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes a transmission path type corresponding to the first bearer or the first logical channel, For a first bearer or a first logical channel using a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format; for a first bearer or a first logical channel using a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the device further comprises:
  • a first acquisition unit is used for, if the logical channel of the terminal is a Uu interface logical channel, assembling packets according to the Uu interface MAC PDU format to acquire a first data packet;
  • a first processing unit configured to add a direct communication interface shared channel SL-SCH subheader to the MAC PDU header of the first data packet;
  • the SL-SCH subheader includes first indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the method for determining the source layer 2 address and the target layer 2 address includes:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the device further comprises:
  • a second acquisition unit is used for assembling packets according to the direct communication interface MAC PDU format to acquire a second data packet if the logical channel of the terminal is a direct communication interface logical channel;
  • the second processing unit is configured to carry the second indication information in the SL-SCH subheader in the MAC PDU of the second data packet; or to add a MAC sub-PDU to the head or tail of the MAC PDU of the second data packet, wherein the MAC sub-PDU includes a MAC subheader or the MAC sub-PDU includes a MAC subheader and a MAC control unit CE, and the MAC subheader or the MAC CE carries With second instruction information;
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the first receiving unit is used to:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the second determining unit 702 is configured to implement at least one of the following:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for a specific object using a direct communication link, it is determined that TB adopts a direct communication interface scrambling method; for a specific object using a Uu link, it is determined that TB adopts a Uu scrambling method.
  • the device embodiment is a device that corresponds one-to-one to the above-mentioned method embodiment, and all implementation methods in the above-mentioned method embodiment are applicable to the device embodiment and can achieve the same technical effect.
  • each functional unit in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.
  • the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present disclosure.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
  • an embodiment of the present disclosure further provides a terminal, including a processor 800, a transceiver 810, a memory 820, and a program stored in the memory 820 and executable on the processor 800; wherein the transceiver 810 is connected to the processor 800 and the memory 820 through a bus interface, wherein the processor 800 is used to read the program in the memory and execute the following process:
  • the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB are determined.
  • the transceiver 810 is configured to receive and send data under the control of the processor 800 .
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 800 and various circuits of memory represented by memory 820 are linked together.
  • the bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are all well known in the art and are therefore not further described herein.
  • the bus interface provides an interface.
  • the transceiver 810 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, and these transmission media include wireless channels, wired channels, optical cables and other transmission media.
  • the user interface 830 may also be an interface that can be connected to external or internal devices, and the connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, etc. wait.
  • the processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 can store data used by the processor 800 when performing operations.
  • the processor 800 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the processor can also adopt a multi-core architecture.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the processor calls the computer program stored in the memory to execute any of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions.
  • the processor and the memory can also be arranged physically separately.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • a first message sent by a network device is received, where the first message carries at least transmission path information corresponding to the terminal.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of source layer 2 address, destination layer 2 address, and transfer type is a combination of source layer 2 address, destination layer 2 address, and transfer type.
  • the processor is configured to read the computer program in the memory to perform at least one of the following operations:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that the format of the MAC PDU is a direct communication interface MAC PDU format;
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the format of the MAC PDU is a Uu interface MAC PDU format;
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel
  • the format of the MAC PDU is determined to be the direct communication interface MAC PDU format
  • the format of the MAC PDU is determined to be the Uu interface MAC PDU format
  • the transmission path information includes the transmission path type corresponding to a specific object, for the specific object using a direct communication link, the format of the MAC PDU is determined to be the direct communication interface MAC PDU format; for the specific object using a Uu link, the format of the MAC PDU is determined to be the Uu interface MAC PDU format.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • the logical channel of the terminal is a Uu interface logical channel, assemble the data packet according to the Uu interface MAC PDU format to obtain a first data packet;
  • the SL-SCH subheader includes second indication information of a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the method for determining the source layer 2 address and the target layer 2 address includes:
  • the network device receiving a second message sent by the network device, and determining, according to the second message, a source layer 2 address and a target layer 2 address corresponding to the direct communication interface, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface;
  • the processor for reading the computer program in the memory, further performs the following operations:
  • the logical channel of the terminal is a direct communication interface logical channel, assemble the data packet according to the direct communication interface MAC PDU format to obtain a second data packet;
  • the second indication information is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the air interface identification information of the communication peer at the Uu interface includes at least one of the following:
  • the processor is configured to read the computer program in the memory to perform the following operations:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the processor is configured to read the computer program in the memory to perform at least one of the following operations:
  • the transmission path information includes a transmission path type, and the transmission path type is a direct communication link, determining that TB adopts a direct communication interface scrambling method
  • the transmission path information includes a transmission path type, and the transmission path type is a Uu link, determining that the TB adopts a Uu scrambling mode
  • the transmission path information includes the transmission path type corresponding to the first bearer or the first logical channel, for the first bearer or the first logical channel using the direct communication link, it is determined that TB adopts the direct communication interface scrambling method; for the first bearer or the first logical channel using the Uu link, it is determined that TB adopts the Uu scrambling method;
  • the transmission path information includes the transmission path type corresponding to a specific object, for using direct
  • the disclosed embodiment also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a data transmission method applied to a terminal.
  • the processor-readable storage medium may be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), and semiconductor storage (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
  • magnetic storage e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage e.g., CD, DVD, BD, HVD, etc.
  • semiconductor storage e.g., ROM, EPROM, EEPROM, non-vol
  • an embodiment of the present disclosure provides a data transmission device 900, which is applied to a network device, including:
  • the first sending unit 901 is used to send a first message to the terminal, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the device further comprises:
  • the second sending unit is used to send a second message to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the first sending unit 901 is configured to:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the device further comprises:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the device embodiment is a device that corresponds one-to-one to the above-mentioned method embodiment, and all implementation methods in the above-mentioned method embodiment are applicable to the device embodiment and can achieve the same technical effect.
  • each functional unit in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium.
  • the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present disclosure.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
  • an embodiment of the present disclosure further provides a network device, including a processor 1000, a transceiver 1010, a memory 1020, and a program stored in the memory 1020 and executable on the processor 1000; wherein the transceiver 1010 is connected to the processor 1000 and the memory 1020 via a bus interface, wherein the processor 1000 is used to read the program in the memory and execute the following process:
  • a first message is sent to the terminal via transceiver 1010, wherein the first message carries at least transmission path information corresponding to the terminal, and the transmission path information is used by the terminal to determine the format of the media access control MAC layer MAC protocol data unit PDU and/or the scrambling method of the data block TB.
  • the transceiver 1010 is configured to receive and send data under the control of the processor 1000 .
  • the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1000 and various circuits of memory represented by memory 1020 linked together.
  • the bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein.
  • the bus interface provides an interface.
  • the transceiver 1010 may be a plurality of components, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media.
  • the user interface 1030 may also be a device that can be connected externally or internally to the device that needs to be connected. Interfaces, connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, etc.
  • the processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1020 can store data used by the processor 1000 when performing operations.
  • the processor 1000 may be a CPU, an ASIC, an FPGA or a CPLD, and the processor may also adopt a multi-core architecture.
  • the processor calls the computer program stored in the memory to execute any of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions.
  • the processor and the memory can also be arranged physically separately.
  • the transmission path information includes one of the following:
  • the type of the wireless network temporary identifier RNTI monitored by the terminal is the type of the wireless network temporary identifier RNTI monitored by the terminal.
  • the transmission path type includes: Uu link or direct communication link;
  • the RNTI type includes: an RNTI for scheduling direct communication interface resources or an RNTI for scheduling Uu interface resources;
  • the specific object includes one of the following:
  • a combination of a target source layer 2 address, a destination layer 2 address, and a transport type is a combination of a target source layer 2 address, a destination layer 2 address, and a transport type.
  • the processor for reading the computer program in the memory, further performs the following operations:
  • a second message is sent to the terminal, wherein the second message includes: a source layer 2 address and a target layer 2 address corresponding to the direct communication interface.
  • the processor is configured to read the computer program in the memory to perform the following operations:
  • the first signaling includes at least one of the following: radio resource control RRC signaling, MAC signaling, and physical layer signaling.
  • the processor for reading the computer program in the memory, further performs at least one of the following operations:
  • a TB is received from a terminal, and a transmission mode corresponding to data contained in the TB is determined according to the RNTI used by the terminal when scrambling the TB;
  • the transmission method includes: sending to the core network or forwarding to the communication peer of the terminal through the Uu interface;
  • the target information includes one of the following:
  • the second indication information carried in the subheader of the MAC sub-PDU or the MAC CE is used to indicate one of the following information: whether the network device needs to submit the data contained in the MAC PDU to the core network, whether the network device directly forwards the data contained in the MAC PDU on the air interface, the transmission path information corresponding to the data contained in the MAC PDU, and the air interface identification information of the communication counterpart of the terminal at the Uu interface.
  • the present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the data transmission method applied to a network device are implemented.
  • the processor-readable storage medium may be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (e.g., compact disk (CD), digital video disk (DVD), Blu-ray Disc (BD), high-definition universal disc (HVD), etc.), and semiconductor storage (e.g., read-only memory (ROM), erasable programmable Read only memory (Erasable Programmable ROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), non-volatile memory (NAND FLASH), solid state drive (Solid State Disk or Solid State Drive, SSD)), etc.
  • magnetic storage e.g
  • the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
  • each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer executable instructions.
  • These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
  • processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • modules can be fully or partially integrated into one physical entity, or they can be physically separated.
  • modules can be implemented in the form of software calling through processing elements; or they can be implemented in the form of hardware; or some modules can be implemented in the form of processing elements calling software, and some modules can be implemented in the form of hardware.
  • a certain module can be a separate processing element, or it can be a separate processing element. It is integrated in a chip of the above-mentioned device and implemented.
  • each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • each module, unit, sub-unit or sub-module may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), etc.
  • ASIC application specific integrated circuits
  • DSP digital signal processors
  • FPGA field programmable gate arrays
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开提供一种数据传输方法、装置、终端及网络设备,该方法,由终端执行,包括:确定传输路径信息;根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。

Description

数据传输方法、装置、终端及网络设备
本公开要求于2022年11月11日提交中国专利局、申请号为202211414751.9、申请名称为“数据传输方法、装置、终端及网络设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及通信技术领域,特别涉及一种数据传输方法、装置、终端及网络设备。
背景技术
目前网络中两个终端之间的传输路径主要有两种:通过蜂窝网络(Uu链路)进行数据传输和通过直接通信接口(也称为PC5接口或者副链路(Sidelink,SL)接口)进行数据传输。目前如何实现在传输路径变更的情况下保证数据包可以正常传输从而实现业务连续性没有解决方案。
发明内容
本公开实施例提供一种数据传输方法、装置、终端及网络设备,以解决传输路径切换对业务连续性造成影响的问题。
为了解决上述技术问题,本公开实施例提供一种数据传输方法,由终端执行,包括:
确定传输路径信息;
根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述方法还包括:
接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
源层二地址、目标层二地址和传输类型的组合。
可选地,所述根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式,包括以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
可选地,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述方法还包括:
若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格 式进行组包,获取第一数据包;
在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
可选地,所述源层二地址和目标层二地址的确定方式,包括:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
或者,
基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
可选地,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述方法还包括:
若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
可选地,所述接收网络设备发送的第一消息,包括:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC 信令、物理层信令。
可选地,所述根据所述传输路径信息,确定数据块TB的加扰方式,包括以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
本公开实施例还提供一种数据传输方法,由网络设备执行,包括:
向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述方法还包括:
向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述向终端发送第一消息,包括:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述方法还包括:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
本公开实施例还提供一种终端,包括存储器,收发机,处理器:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
确定传输路径信息;
根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元 PDU的格式和/或数据块TB的加扰方式。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
源层二地址、目标层二地址和传输类型的组合。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接 通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
可选地,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
可选地,所述源层二地址和目标层二地址的确定方式,包括:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
或者,
基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
可选地,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、 所述终端的通信对端在Uu接口的空口标识信息。
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
本公开实施例还提供一种网络设备,包括存储器,收发机,处理器:
存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
本公开实施例还提供一种数据传输装置,应用于终端,包括:
第一确定单元,用于确定传输路径信息;
第二确定单元,用于根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述装置还包括:
第一接收单元,用于接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
源层二地址、目标层二地址和传输类型的组合。
可选地,所述第二确定单元,用于实现以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
可选地,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述装置还包括:
第一获取单元,用于若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
第一处理单元,用于在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
可选地,所述源层二地址和目标层二地址的确定方式,包括:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
或者,
基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
可选地,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述装置还包括:
第二获取单元,用于若所述终端的逻辑信道为直接通信接口逻辑信道, 按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
第二处理单元,用于在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
可选地,所述第一接收单元,用于:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述第二确定单元,用于实现以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
本公开实施例还提供一种数据传输装置,应用于网络设备,包括:
第一发送单元,用于向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述装置还包括:
第二发送单元,用于向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述第一发送单元,用于:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述装置还包括:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
本公开实施例还提供一种处理器可读存储介质,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行上述的方法。
本公开的有益效果是:
上述方案,通过确定传输路径信息,并根据所述传输路径信息,确定MAC层MAC PDU的格式和/或TB的加扰方式,此种方式可以保证终端在Uu链路和直接通信链路之间进行路径切换后数据包能够正常传输,保证业务连续性。
附图说明
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1表示适用于本公开实施例的一种网络系统的结构图;
图2表示本公开实施例的数据传输方法的流程示意图之一;
图3表示本公开实施例的数据传输方法的流程示意图之二;
图4表示用户面协议栈结构示意图;
图5表示本公开实施例的具体应用情况的详细流程示意图之一;
图6表示本公开实施例的具体应用情况的详细流程示意图之二;
图7表示本公开实施例的信息传输装置的单元示意图之一;
图8表示本公开实施例的终端的结构图;
图9表示本公开实施例的信息传输装置的单元示意图之二;
图10表示本公开实施例的网络设备的结构图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例,例如除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本公开实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。本公开实施例中术语“多个”是指两个或两个以上,其它量词与之类似。
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
下面先对本公开所提及的相关概念进行简要说明如下。
传统的无线通信采用蜂窝网络通信方式,即终端和网络设备通过Uu接 口进行上下行数据/控制信息的传输。
直接通信是指邻近的终端可以在近距离范围内通过直接通信链路(也称为Sidelink链路或者PC5链路)进行数据传输的方式。Sidelink链路对应的无线接口称为直接通信接口(也称为Sidelink接口或者PC5接口)。
下面结合附图介绍本公开的实施例。本公开实施例提供的数据传输方法、装置、终端及网络设备可以应用于无线通信系统中。该无线通信系统可以为采用第五代(5th Generation,5G)移动通信技术的系统(以下均简称为5G系统),所述领域技术人员可以了解,5G NR系统仅为示例,不为限制。
参见图1,图1是本公开实施例可应用的一种网络系统的结构图,如图1所示,包括用户终端11和基站12,其中,用户终端11可以是用户设备(User Equipment,UE),例如:可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等终端侧设备,需要说明的是,在本公开实施例中并不限定用户终端11的具体类型。上述基站12可以是5G及以后版本的基站(例如:gNB、5G NR NB),或者其他通信系统中的基站,或者称之为节点B,需要说明的是,在本公开实施例中仅以5G基站为例,但是并不限定基站12的具体类型。
本公开实施例提供了一种数据传输方法、装置、终端及网络设备,以解决传输路径切换对业务连续性造成影响的问题。
其中,方法和装置是基于同一申请构思的,由于方法和装置解决问题的原理相似,因此装置和方法的实施可以相互参见,重复之处不再赘述。
如图2所示,本公开实施例提供一种数据传输方法,由终端执行,包括:
步骤S201,确定传输路径信息;
步骤S202,根据所述传输路径信息,确定媒体接入控制(Medium Access Control,MAC)层MAC协议数据单元(Protocol Data Unit,PDU)的格式和/或数据块(Transport Block,TB)的加扰方式。
需要说明的是,本公开实施例中可以保证终端在Uu链路和直接通信链路之间进行路径切换后数据包能够正常传输,保证业务连续性。
可选地,本公开的另一实施例中,所述传输路径信息,包括以下一项:
A11、传输路径类型;
需要说明的是,此种情况下传输路径类型是针对终端的。即不同终端的传输类型可以相同也可以不同。
可选地,所述传输路径类型包括:Uu链路或直接通信链路;
A12、第一承载或第一逻辑信道对应的传输路径类型;
需要说明的是,此种情况下,传输路径类型是针对终端的承载或逻辑信道的;即同一终端的不同的承载或逻辑信道对应的传输路径类型可以相同也可以不同。
A13、特定对象对应的传输路径类型;
可选地,所述特定对象包括以下一项:
A131、目标层二地址;
A132、源层二地址和目标层二地址的组合;
A133、源层二地址、目标层二地址和传输类型的组合。
例如,传输路径信息为目标层二地址对应的传输路径类型;例如,传输路径信息为源层二地址和目标层二地址的组合对应的传输路径类型;例如,传输路径信息为源层二地址、目标层二地址和传输类型的组合对应的传输路径类型。
A14、特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
例如,传输路径信息为目标层二地址对应的第一承载或第一逻辑信道对应的传输路径类型;例如,传输路径信息为源层二地址和目标层二地址的组合对应的第一承载或第一逻辑信道对应的传输路径类型;例如,传输路径信息为源层二地址、目标层二地址和传输类型的组合对应的第一承载或第一逻辑信道对应的传输路径类型。
A15、终端监听的无线网络临时标识(Radio Network Temporary Identity,RNTI)类型;
需要说明的是,该RNTI类型包括以下一项:
A151、用于调度直接通信接口资源的RNTI;
具体地,该RNTI可以是Uu接口使用的用于调度直接通信链路资源的无 线网络临时标识(Sidelink RNTI,SL-RNTI)或者Uu接口使用的用于调度直接通信链路重传资源的无线网络临时标识(Sidelink Configured Scheduling RNTI,SL CS-RNTI)。
A152、用于调度Uu接口资源的RNTI;
具体地,该RNTI可以是Uu接口用于调度Uu接口资源的小区无线网络临时标识(Cell RNTI,C-RNTI)或者Uu接口用于调度Uu接口预配置资源的无线网络临时标识(Configured Scheduling RNTI,CS-RNTI),其中所述调度Uu接口预配置资源包括激活Uu接口预配置资源、去激活Uu接口预配置资源或者对Uu接口预配置传输进行重传调度。
可选地,本公开的另一实施例中,所述方法还包括:
接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
需要说明的是,此种情况下,该传输路径信息是由网络设备通知给终端的。
可选地,本公开的另一实施例中,所述接收网络设备发送的第一消息的实现方式,具体为:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制(Radio Resource Control,RRC)信令、MAC信令、物理层信令。
需要说明的是,本公开实施例中所说的MAC PDU格式包括直接通信接口MAC PDU格式以及Uu接口MAC PDU格式,不同格式的MAC PDU的组包方式是不同的,下面先对如何确定MAC层MAC PDU的格式进行说明如下。
可选地,本公开的另一实施例中,所述根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式,包括以下至少一项:
B11、若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
B12、若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
需要说明的是,当传输路径类型是针对终端来区分的情况下,MAC PDU格式直接基于传输路径类型确定,即Uu链路对应的MAC PDU的格式为Uu接口MAC PDU格式,直接通信链路对应的MAC PDU的格式为直接通信接口MAC PDU格式。
B13、若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
需要说明的是,当传输路径类型是针对终端的承载或逻辑信道来区分的情况下,MAC PDU格式直接基于承载或逻辑信道的传输路径类型确定,即若承载或逻辑信道对应的传输路径类型为Uu链路,则这样的承载或逻辑信道对应的MAC PDU的格式为Uu接口MAC PDU格式;若承载或逻辑信道对应的传输路径类型为直接通信链路,则这样的承载或逻辑信道对应的MAC PDU的格式为直接通信接口MAC PDU格式。
B14、若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式;
需要说明的是,当传输路径类型是针对特定对象来区分的情况下,MAC PDU格式直接基于特定对象确定,即若特定对象对应的传输路径类型为Uu链路,则这样的特定对象对应的MAC PDU的格式为Uu接口MAC PDU格式;若特定对象对应的传输路径类型为直接通信链路,则这样的特定对象对应的MAC PDU的格式为直接通信接口MAC PDU格式。
这里还需要说明的是,若所述传输路径信息包括特定对象对应的第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的特定对象对应的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象对应的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;也就是说,当传输路径类型是针对特定对象对应的承载或逻辑信道来区分的情况下,MAC PDU 格式直接基于特定对象对应的承载或逻辑信道确定,即若特定对象对应的承载或逻辑信道对应的传输路径类型为Uu链路,则这样的特定对象对应的承载或逻辑信道对应的MAC PDU的格式为Uu接口MAC PDU格式;若特定对象对应的承载或逻辑信道对应的传输路径类型为直接通信链路,则这样的特定对象对应的承载或逻辑信道对应的MAC PDU的格式为直接通信接口MAC PDU格式。
下面对不同格式的MAC PDU的组包方式进行说明如下。
一、在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下
需要说明的是,本公开的另一实施例中,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述方法还包括:
若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道(sidelink-Shared channel,SL-SCH)子头;
其中,所述SL-SCH子头中至少包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
需要说明的是,本公开实施例中所说的Uu接口逻辑信道指的是逻辑信道仅通过逻辑信道标识(Logical Channel Identity,LCID)来标识的逻辑信道。
可选地,本公开的另一实施例中,所述源层二地址和目标层二地址的确定方式,包括以下一项:
C11、接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
也就是说,此种情况下,源层二地址和目标层二地址是网络设备通知终端的。
C12、基于终端实现确定直接通信接口对应的源层二地址和目标层二地址;
也就是说,此种情况下,源层二地址和目标层二地址是终端自己确定的,而无需网络设备的通知。
可以理解为此种情况下,终端根据终端自身高层的配置确定直接通信接口源层二地址和目标层二地址。
二、在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下
需要说明的是,本公开的另一实施例中,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述方法还包括:
若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息。
需要说明的是,此种情况下,在得到第二数据包后,一种情况下,可以不在MAC子PDU中增加MAC子PDU,而是直接在MAC PDU中的SL-SCH子头中携带第二指示信息;另一种情况下,需要在MAC子PDU中增加MAC子PDU,进一步地,当MAC子PDU中包括MAC子头的情况下,第二指示信息会携带在MAC子头中;当MAC子PDU中包括MAC子头和MAC CE的情况下,指示信息会携带在MAC CE。
需要说明的是,本公开实施例中所说的直接通信接口逻辑信道指的是通过源层2(Layer 2,L2)地址、目标L2地址和LCID标识的逻辑信道。
具体地,所述第二指示信息用于指示如下信息之一:
D11、网络设备是否需要将所述MAC PDU包含的数据递交到核心网;
D12、网络设备是否直接在空口转发所述MAC PDU包含的数据;
D13、所述MAC PDU包含的数据对应的传输路径信息;
D14、所述终端的通信对端在Uu接口的空口标识信息;
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
D141、通信对端在Uu接口的RNTI;
可选地,该RNTI可以是小区无线网络临时标识(Cell-RadioNetworkTemporaryIdentifier,C-RNTI)。
D142、通信对端归属的网络设备和/或小区的标识信息;
具体地,通信对端归属的网络设备和/或小区可以理解为是为通信对端服务的网络设备和/或小区;还需要说明的是,通信对端归属的网络设备和/或小区,与终端归属的网络设备和/或小区可以相同也可以不同。
还需要说明的是,在终端发送MAC PDU的情况下,网络设备从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;
所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
需要说明的是,本公开实施例中所说的TB的加扰方式包括直接通信接口加扰方式以及Uu加扰方式,下面对如何确定TB的加扰方式进行说明如下。
可选地,本公开的另一实施例中,所述根据所述传输路径信息,确定数据块TB的加扰方式,包括以下至少一项:
E11、若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
E12、若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
需要说明的是,当传输路径类型是针对终端来区分的情况下,加扰方式直接基于传输路径类型确定,即Uu链路对应的TB的加扰方式为Uu加扰方式,直接通信链路对应的TB的加扰方式为直接通信接口加扰方式。
E13、若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直 接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
需要说明的是,当传输路径类型是针对终端的承载或逻辑信道来区分的情况下,TB的加扰方式直接基于承载或逻辑信道的传输路径类型确定,即若承载或逻辑信道对应的传输路径类型为Uu链路,则这样的承载或逻辑信道对应的TB的加扰方式为Uu加扰方式;若承载或逻辑信道对应的传输路径类型为直接通信链路,则这样的承载或逻辑信道对应的TB的加扰方式为直接通信接口加扰方式。
E14、若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式;
需要说明的是,当传输路径类型是针对特定对象来区分的情况下,TB的加扰方式直接基于特定对象确定,即若特定对象对应的传输路径类型为Uu链路,则这样的特定对象对应的TB的加扰方式为Uu加扰方式;若特定对象对应的传输路径类型为直接通信链路,则这样的特定对象对应的TB的加扰方式为直接通信接口加扰方式。
这里还需要说明的是,若所述传输路径信息包括特定对象对应的第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的特定对象对应的第一承载或第一逻辑信道,确定TB的加扰方式为直接通信接口加扰方式;对于使用Uu链路的特定对象对应的第一承载或第一逻辑信道,确定TB的加扰方式为Uu加扰方式;也就是说,当传输路径类型是针对特定对象对应的承载或逻辑信道来区分的情况下,TB的加扰方式直接基于特定对象对应的承载或逻辑信道确定,即若特定对象对应的承载或逻辑信道对应的传输路径类型为Uu链路,则这样的特定对象对应的承载或逻辑信道对应的TB的加扰方式为Uu加扰方式;若特定对象对应的承载或逻辑信道对应的传输路径类型为直接通信链路,则这样的特定对象对应的承载或逻辑信道对应的TB的加扰方式为直接通信接口加扰方式。
还需要说明的是,在终端发送TB的情况下,网络设备从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传 输方式;所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端。
具体地,当TB加扰时使用的是Uu接口特定RNTI,则TB中包含的数据通过Uu接口转发给所述终端的通信对端;当TB加扰时使用的是Uu接口除特定RNTI外的其他RNTI,则TB中包含的数据发送到核心网。所述特定RNTI是网络设备分配给终端的,终端接收到使用所述特定RNTI调度的PDCCH,在所述PDCCH上传输的TB使用所述特定RNTI加扰,网络设备接收到所述特定RNTI加扰的TB,则将TB中包含的数据直接通过Uu接口转发给所述终端的通信对端。
这里还需要说明的是,本公开实施例中网络设备向终端发送的任何消息均可以使用RRC信令、MAC CE或者物理层信令发送。
需要说明的是,通过本公开的至少一个实施例提供了一种终端之间传输路径在Uu链路和直接通信链路间切换时MAC PDU组包方法或TB的加扰方式,通过该方法可以保证传输路径切换后业务连续性不受影响,能够更好的利用Uu/SL资源进行数据传输,提升系统资源利用率。
本公开实施例提供的技术方案可以适用于多种系统,尤其是5G系统。例如适用的系统可以是全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)通用分组无线业务(general packet radio service,GPRS)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统、高级长期演进(long term evolution advanced,LTE-A)系统、通用移动系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)系统、5G新空口(New Radio,NR)系统等。这多种系统中均包括终端(也可以称为终端设备)和网络设备。系统中还可以包括核心网部分,例如演进的分组系统(Evolved Packet System,EPS)、5G系统(5G System,5GS)等。
本公开实施例涉及的终端设备,可以是指向用户提供语音和/或数据连通 性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备等。在不同的系统中,终端设备的名称可能也不相同,例如在5G系统中,终端设备可以称为用户设备(User Equipment,UE)。无线终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网(Core Network,CN)进行通信,无线终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiated Protocol,SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户装置(user device),本公开实施例中并不限定。
本公开实施例涉及的网络设备,可以是基站,该基站可以包括多个为终端提供服务的小区。根据具体应用场合不同,基站又可以称为接入点,或者可以是接入网中在空中接口上通过一个或多个扇区与无线终端设备通信的设备,或者其它名称。网络设备可用于将收到的空中帧与网际协议(Internet Protocol,IP)分组进行相互更换,作为无线终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)通信网络。网络设备还可协调对空中接口的属性管理。例如,本公开实施例涉及的网络设备可以是全球移动通信系统(Global System for Mobile communications,GSM)或码分多址接入(Code Division Multiple Access,CDMA)中的网络设备(Base Transceiver Station,BTS),也可以是带宽码分多址接入(Wide-band Code Division Multiple Access,WCDMA)中的网络设备(NodeB),还可以是长期演进(long term evolution,LTE)系统中的演进型网络设备(evolutional Node B,eNB或e-NodeB)、5G网络架构(next generation system)中的5G基站(gNB),也可以是家庭演进基站(Home evolved Node B,HeNB)、中继终端节点(relay  node)、家庭基站(femto)、微微基站(pico)等,本公开实施例中并不限定。在一些网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点和分布单元(distributed unit,DU)节点,集中单元和分布单元也可以地理上分开布置。
网络设备与终端设备之间可以各自使用一或多根天线进行多输入多输出(Multi Input Multi Output,MIMO)传输,MIMO传输可以是单用户MIMO(Single User MIMO,SU-MIMO)或多用户MIMO(Multiple User MIMO,MU-MIMO)。根据根天线组合的形态和数量,MIMO传输可以是二维MIMO(2Dimension MIMO,2D-MIMO)、三维MIMO(3Dimension MIMO,3D-MIMO)、全维度MIMO(Full Dimension MIMO,FD-MIMO)或超大规模MIMO(massive-MIMO),也可以是分集传输或预编码传输或波束赋形传输等。
如图3所示,本公开实施例提供一种数据传输方法,由网络设备执行,包括:
步骤S301,向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述方法还包括:
向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述向终端发送第一消息,包括:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述方法还包括:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
需要说明的是,上述实施例中的所有实现方式均适用于该应用于网络设备侧的数据传输方法的实施例中,也能达到相同的技术效果,在此不再赘述。
下面从发送终端与接收终端的角度对本公开的具体应用方式进行详细说明如下。
应用情况一、直接通信链路切换到Uu链路
此种应用情况下对应的用户面协议栈结构示意图如图4所示。
具体地,如图5所示,此种情况下的主要实现过程包括如下流程:
步骤S51,第一终端和第二终端之间通过直接通信接口进行数据传输。
步骤S52,第一终端从网络设备接收到第一消息;
所述第一消息具体可以使用以下任一种信令格式:RRC信令、MAC信令、物理层信令。
具体地,所述第一消息中至少携带第一终端对应的传输路径信息。
具体地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型。
步骤S53,第一终端根据第一消息确定MAC层MAC PDU的格式;
此种应用情况下,根据第一消息确定MAC层MAC PDU的格式的具体实现包括如下之一:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
此种应用情况下,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;在所述第二数据包的 MAC PDU头部或尾部增加MAC子PDU(MACsubPDU),所述MAC子PDU包含MAC子头(MAC subheader)和MAC控制单元CE,所述MAC CE中携带第二指示信息。
具体地,该第二指示信息用于指示如下信息之一:网络设备是否需要将MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发MAC PDU包含的数据、MAC PDU包含的数据对应的传输路径信息、第一终端的通信对端(即第二终端)在Uu接口的空口标识信息。
具体地,该通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
步骤S54a/步骤S54b,所述第一终端和第二终端之间利用网络设备进行数据传输;
需要说明的是,此种应用情况下,网络设备类似一个L2中继(包含MAC和物理层),若网络设备收到的MAC PDU包含步骤S53中提及的特殊的MACsubPDU时,则根据所述MACsubPDU中的携带的目标终端的空口标识信息确定所述MAC PDU需要在空口如何进行转发,比如使用哪个RNTI调度,在哪个小区调度等。
应用情况二、Uu链路切换到直接通信链路
如图6所示,主要包括如下流程:
步骤S61,第一终端和第二终端之间通过Uu接口进行数据传输。
步骤S62,第一终端从网络设备接收到第一消息;
所述第一消息具体可以使用以下任一种信令格式:RRC信令、MAC信令、物理层信令。
具体地,所述第一消息中至少携带第一终端对应的传输路径信息。
具体地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型。
步骤S63,终端根据第一消息确定MAC层MAC PDU的格式;
此种应用情况下,所述根据第一消息确定MAC层MAC PDU的格式的具体实现方式包括如下之一:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
此种应用情况下,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,若所述终端的逻辑信道为Uu接口逻辑信道,则终端按照Uu接口MAC PDU格式进行组包,获取第一数据包;在所述第一数据包的MAC PDU头部中增加SL-SCH子头;具体地,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
具体地,所述源层二地址和目标层二地址的确定方式可以采用如下之一:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
基于第一终端实现确定直接通信接口对应的源层二地址和目标层二地址。
此外,此种应用情况中高层数据包封装也需要增强,数据包的目标IP地址应该是第一终端的通信对端的IP地址。
步骤S64,所述第一终端和第二终端之间利用直接通信接口进行数据传输。
应用情况三、Uu链路切换到直接通信链路
具体地主要包括如下流程:
步骤S71,第一终端和第二终端之间通过Uu接口进行数据传输。
步骤S72,第一终端从网络设备接收到第一消息;
所述第一消息具体可以使用以下任一种信令格式:RRC信令、MAC信令、物理层信令。
具体地,所述第一消息中至少携带第一终端对应的传输路径信息。
具体地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型。
步骤S73,终端根据第一消息确定TB的加扰方式;
此种应用情况下,所述根据第一消息确定TB的加扰方式的具体实现方式包括如下之一:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
步骤S74,所述第一终端和第二终端之间利用直接通信接口进行数据传输;
需要说明的是,第一终端基于确定的加扰方式,进行TB的加扰以及发送,实现在直接通信接口进行数据传输。
如图7所示,本公开实施例提供一种数据传输装置700,应用于终端,包括:
第一确定单元701,用于确定传输路径信息;
第二确定单元702,用于根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述装置还包括:
第一接收单元,用于接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
源层二地址、目标层二地址和传输类型的组合。
可选地,所述第二确定单元702,用于实现以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型, 对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
可选地,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述装置还包括:
第一获取单元,用于若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
第一处理单元,用于在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
可选地,所述源层二地址和目标层二地址的确定方式,包括:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
或者,
基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
可选地,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述装置还包括:
第二获取单元,用于若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
第二处理单元,用于在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携 带第二指示信息;
其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
可选地,所述第一接收单元,用于:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述第二确定单元702,用于实现以下至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
需要说明的是,该装置实施例是与上述方法实施例一一对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。
需要说明的是,本公开实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本公开各个实 施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
如图8所示,本公开实施例还提供一种终端,包括处理器800、收发机810、存储器820及存储在所述存储器820上并可在所述处理器800上运行的程序;其中,收发机810通过总线接口与处理器800和存储器820连接,其中,所述处理器800用于读取存储器中的程序,执行下列过程:
确定传输路径信息;
根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
收发机810,用于在处理器800的控制下接收和发送数据。
其中,在图8中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器800代表的一个或多个处理器和存储器820代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机810可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括,这些传输介质包括无线信道、有线信道、光缆等传输介质。针对不同的用户设备,用户接口830还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆 等。
处理器800负责管理总线架构和通常的处理,存储器820可以存储处理器800在执行操作时所使用的数据。
可选地,处理器800可以是中央处理器(Central Processing Unit,CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD),处理器也可以采用多核架构。
处理器通过调用存储器存储的计算机程序,用于按照获得的可执行指令执行本公开实施例提供的任一所述方法。处理器与存储器也可以物理上分开布置。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
源层二地址、目标层二地址和传输类型的组合。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
可选地,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第二指示信息。
可选地,所述源层二地址和目标层二地址的确定方式,包括:
接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
或者,
基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
可选地,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
可选地,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
通信对端在Uu接口的RNTI;
通信对端归属的网络设备和/或小区的标识信息。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
接收网络设备通过第一信令发送的第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接 通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
在此需要说明的是,本公开实施例提供的上述终端,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。
本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现应用于终端的数据传输方法的步骤。所述处理器可读存储介质可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。
如图9所示,本公开实施例提供一种数据传输装置900,应用于网络设备,包括:
第一发送单元901,用于向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述装置还包括:
第二发送单元,用于向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述第一发送单元901,用于:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述装置还包括:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
需要说明的是,该装置实施例是与上述方法实施例一一对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。
需要说明的是,本公开实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本公开各个实 施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
如图10所示,本公开实施例还提供一种网络设备,包括处理器1000、收发机1010、存储器1020及存储在所述存储器1020上并可在所述处理器1000上运行的程序;其中,收发机1010通过总线接口与处理器1000和存储器1020连接,其中,所述处理器1000用于读取存储器中的程序,执行下列过程:
通过收发机1010向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
收发机1010,用于在处理器1000的控制下接收和发送数据。
其中,在图10中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1000代表的一个或多个处理器和存储器1020代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1010可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,这些传输介质包括,这些传输介质包括无线信道、有线信道、光缆等传输介质。针对不同的用户设备,用户接口1030还可以是能够外接内接需要设备的 接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。
处理器1000负责管理总线架构和通常的处理,存储器1020可以存储处理器1000在执行操作时所使用的数据。
可选地,处理器1000可以是CPU、ASIC、FPGA或CPLD,处理器也可以采用多核架构。
处理器通过调用存储器存储的计算机程序,用于按照获得的可执行指令执行本公开实施例提供的任一所述方法。处理器与存储器也可以物理上分开布置。
可选地,所述传输路径信息,包括以下一项:
传输路径类型;
第一承载或第一逻辑信道对应的传输路径类型;
特定对象对应的传输路径类型;
特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
终端监听的无线网络临时标识RNTI类型;
其中,所述传输路径类型包括:Uu链路或直接通信链路;
所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
所述特定对象包括以下一项:
目标层二地址;
源层二地址和目标层二地址的组合;
目标源层二地址、目标层二地址和传输类型的组合。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
可选地,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
通过第一信令向终端发送第一消息;
其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
可选地,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作中的至少一项:
从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
所述目标信息包括以下一项:
直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
在此需要说明的是,本公开实施例提供的上述网络设备,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。
本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现应用于网络设备的数据传输方法的步骤。所述处理器可读存储介质可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(Magneto-Optical Disk,MO)等)、光学存储器(例如光盘(Compact Disk,CD)、数字视频光盘(Digital Versatile Disc,DVD)、蓝光光碟(Blu-ray Disc,BD)、高清通用光盘(High-Definition Versatile Disc,HVD)等)、以及半导体存储器(例如只读存储器(Read-Only Memory,ROM)、可擦除可编程只 读存储器(Erasable Programmable ROM,EPROM)、带电可擦可编程只读存储器(Electrically EPROM,EEPROM)、非易失性存储器(NAND FLASH)、固态硬盘(Solid State Disk或Solid State Drive,SSD))等。
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机可执行指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机可执行指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些处理器可执行指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的处理器可读存储器中,使得存储在该处理器可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些处理器可执行指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
需要说明的是,应理解以上各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,确定模块可以为单独设立的处理元件,也可以 集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上确定模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。
例如,各个模块、单元、子单元或子模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例,例如除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。类似地,本说明书以及权利要求中使用“A和B中的至少一个”应理解为“单独A,单独B,或A和B都存在”。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。

Claims (46)

  1. 一种数据传输方法,由终端执行,所述方法包括:
    确定传输路径信息;
    根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  2. 根据权利要求1所述的方法,还包括:
    接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
  3. 根据权利要求1或2所述的方法,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    源层二地址、目标层二地址和传输类型的组合。
  4. 根据权利要求1所述的方法,其中,所述根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式,包括以下至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链 路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
  5. 根据权利要求4所述的方法,其中,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述方法还包括:
    若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
    在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
    其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
  6. 根据权利要求5所述的方法,其中,所述源层二地址和目标层二地址的确定方式,包括:
    接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
    或者,
    基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
  7. 根据权利要求4所述的方法,其中,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述方法还包括:
    若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
    在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息; 或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
    其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  8. 根据权利要求7所述的方法,其中,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
    通信对端在Uu接口的RNTI;
    通信对端归属的网络设备和/或小区的标识信息。
  9. 根据权利要求2所述的方法,其中,所述接收网络设备发送的第一消息,包括:
    接收网络设备通过第一信令发送的第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  10. 根据权利要求1所述的方法,其中,所述根据所述传输路径信息,确定数据块TB的加扰方式,包括以下至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
  11. 一种数据传输方法,由网络设备执行,所述方法包括:
    向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  12. 根据权利要求11所述的方法,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    目标源层二地址、目标层二地址和传输类型的组合。
  13. 根据权利要求11所述的方法,还包括:
    向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
  14. 根据权利要求11所述的方法,其中,所述向终端发送第一消息,包括:
    通过第一信令向终端发送第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  15. 根据权利要求11所述的方法,还包括:
    从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
    从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
    其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
    所述目标信息包括以下一项:
    直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
    MAC子PDU的子头或者MAC CE中携带的第二指示信息,网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  16. 一种终端,包括存储器,收发机,处理器:
    存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
    确定传输路径信息;
    根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  17. 根据权利要求16所述的终端,其中,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
    接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
  18. 根据权利要求16或17所述的终端,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    源层二地址、目标层二地址和传输类型的组合。
  19. 根据权利要求16所述的终端,其中,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
  20. 根据权利要求19所述的终端,其中,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
    若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
    在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
    其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
  21. 根据权利要求20所述的终端,其中,所述源层二地址和目标层二地址的确定方式,包括:
    接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
    或者,
    基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
  22. 根据权利要求19所述的终端,其中,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
    若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
    在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携带第二指示信息;
    其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  23. 根据权利要求22所述的终端,其中,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
    通信对端在Uu接口的RNTI;
    通信对端归属的网络设备和/或小区的标识信息。
  24. 根据权利要求17所述的终端,其中,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
    接收网络设备通过第一信令发送的第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  25. 根据权利要求16所述的终端,其中,所述处理器,用于读取所述存储器中的计算机程序执行以下操作中的至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
  26. 一种网络设备,包括存储器,收发机,处理器:
    存储器,用于存储计算机程序;收发机,用于在所述处理器的控制下收发数据;处理器,用于读取所述存储器中的计算机程序并执行以下操作:
    向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  27. 根据权利要求26所述的网络设备,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    目标源层二地址、目标层二地址和传输类型的组合。
  28. 根据权利要求26所述的网络设备,其中,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
    向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
  29. 根据权利要求26所述的网络设备,其中,所述处理器,用于读取所述存储器中的计算机程序执行以下操作:
    通过第一信令向终端发送第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  30. 根据权利要求26所述的网络设备,其中,所述处理器,用于读取所述存储器中的计算机程序还执行以下操作:
    从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
    从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
    其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
    所述目标信息包括以下一项:
    直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
    MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  31. 一种数据传输装置,应用于终端,所述装置包括:
    第一确定单元,用于确定传输路径信息;
    第二确定单元,用于根据所述传输路径信息,确定媒体接入控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  32. 根据权利要求31所述的装置,还包括:
    第一接收单元,用于接收网络设备发送的第一消息,所述第一消息中至少携带所述终端对应的传输路径信息。
  33. 根据权利要求31或32所述的装置,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    源层二地址、目标层二地址和传输类型的组合。
  34. 根据权利要求31所述的装置,其中,所述第二确定单元,用于实现以下至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定MAC PDU的格式为直接通信接口MAC PDU格式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定MAC PDU的格式 为直接通信接口MAC PDU格式;对于使用Uu链路的第一承载或第一逻辑信道,确定MAC PDU的格式为Uu接口MAC PDU格式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定MAC PDU的格式为直接通信接口MAC PDU格式;对于使用Uu链路的特定对象,确定MAC PDU的格式为Uu接口MAC PDU格式。
  35. 根据权利要求34所述的装置,其中,在所述确定MAC PDU的格式为直接通信接口MAC PDU格式的情况下,所述装置还包括:
    第一获取单元,用于若所述终端的逻辑信道为Uu接口逻辑信道,按照Uu接口MAC PDU格式进行组包,获取第一数据包;
    第一处理单元,用于在所述第一数据包的MAC PDU头部中增加直接通信接口共享信道SL-SCH子头;
    其中,所述SL-SCH子头中包含直接通信接口对应的源层二地址和目标层二地址的第一指示信息。
  36. 根据权利要求35所述的装置,其中,所述源层二地址和目标层二地址的确定方式,包括:
    接收网络设备发送的第二消息,根据所述第二消息,确定直接通信接口对应的源层二地址和目标层二地址,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址;
    或者,
    基于终端实现确定直接通信接口对应的源层二地址和目标层二地址。
  37. 根据权利要求34所述的装置,其中,在所述确定MAC PDU的格式为Uu接口MAC PDU格式的情况下,所述装置还包括:
    第二获取单元,用于若所述终端的逻辑信道为直接通信接口逻辑信道,按照直接通信接口MAC PDU格式进行组包,获取第二数据包;
    第二处理单元,用于在所述第二数据包的MAC PDU中的SL-SCH子头中携带第二指示信息;或者,在所述第二数据包的MAC PDU头部或尾部增加MAC子PDU,所述MAC子PDU包含MAC子头或者所述MAC子PDU中包含MAC子头和MAC控制单元CE,所述MAC子头或者MAC CE中携 带第二指示信息;
    其中,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  38. 根据权利要求37所述的装置,其中,所述通信对端在Uu接口的空口标识信息,包括以下至少一项:
    通信对端在Uu接口的RNTI;
    通信对端归属的网络设备和/或小区的标识信息。
  39. 根据权利要求32所述的装置,其中,所述第一接收单元,用于:
    接收网络设备通过第一信令发送的第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  40. 根据权利要求31所述的装置,其中,所述第二确定单元,用于实现以下至少一项:
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为直接通信链路,则确定TB采用直接通信接口加扰方式;
    若所述传输路径信息包括传输路径类型、且所述传输路径类型为Uu链路,则确定TB采用Uu加扰方式;
    若所述传输路径信息包括第一承载或第一逻辑信道对应的传输路径类型,对于使用直接通信链路的第一承载或第一逻辑信道,确定TB采用直接通信接口加扰方式;对于使用Uu链路的第一承载或第一逻辑信道,确定TB采用Uu加扰方式;
    若所述传输路径信息包括特定对象对应的传输路径类型,对于使用直接通信链路的特定对象,确定TB采用直接通信接口加扰方式;对于使用Uu链路的特定对象,确定TB采用Uu加扰方式。
  41. 一种数据传输装置,应用于网络设备,所述装置包括:
    第一发送单元,用于向终端发送第一消息,所述第一消息中至少携带所述终端对应的传输路径信息,所述传输路径信息用于所述终端确定媒体接入 控制MAC层MAC协议数据单元PDU的格式和/或数据块TB的加扰方式。
  42. 根据权利要求41所述的装置,其中,所述传输路径信息,包括以下一项:
    传输路径类型;
    第一承载或第一逻辑信道对应的传输路径类型;
    特定对象对应的传输路径类型;
    特定对象对应的第一承载或第一逻辑信道对应的传输路径类型;
    终端监听的无线网络临时标识RNTI类型;
    其中,所述传输路径类型包括:Uu链路或直接通信链路;
    所述RNTI类型包括:用于调度直接通信接口资源的RNTI或者用于调度Uu接口资源的RNTI;
    所述特定对象包括以下一项:
    目标层二地址;
    源层二地址和目标层二地址的组合;
    目标源层二地址、目标层二地址和传输类型的组合。
  43. 根据权利要求41所述的装置,还包括:
    第二发送单元,用于向终端发送第二消息,所述第二消息中包括:直接通信接口对应的源层二地址和目标层二地址。
  44. 根据权利要求41所述的装置,其中,所述第一发送单元,用于:
    通过第一信令向终端发送第一消息;
    其中,所述第一信令包括以下至少一项:无线资源控制RRC信令、MAC信令、物理层信令。
  45. 根据权利要求41所述的装置,还包括:
    第一确定单元,用于从终端接收到MAC PDU,根据所述MAC PDU中的目标信息确定所述MAC PDU中包含的数据对应的传输方式;或者,
    第二确定单元,用于从终端接收到TB,根据终端对所述TB加扰时使用的RNTI确定所述TB中包含的数据对应的传输方式;
    其中,所述传输方式包括:发送到核心网或者通过Uu接口转发给所述终端的通信对端;
    所述目标信息包括以下一项:
    直接通信接口共享信道SL-SCH子头中携带的直接通信接口对应的源层二地址和目标层二地址的第一指示信息;
    MAC子PDU的子头或者MAC CE中携带的第二指示信息,所述第二指示信息用于指示如下信息之一:网络设备是否需要将所述MAC PDU包含的数据递交到核心网、网络设备是否直接在空口转发所述MAC PDU包含的数据、所述MAC PDU包含的数据对应的传输路径信息、所述终端的通信对端在Uu接口的空口标识信息。
  46. 一种处理器可读存储介质,所述处理器可读存储介质存储有计算机程序,所述计算机程序用于使所述处理器执行权利要求1至15任一项所述的方法。
PCT/CN2023/126678 2022-11-11 2023-10-26 数据传输方法、装置、终端及网络设备 WO2024099085A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211414751.9A CN118042548A (zh) 2022-11-11 2022-11-11 数据传输方法、装置、终端及网络设备
CN202211414751.9 2022-11-11

Publications (1)

Publication Number Publication Date
WO2024099085A1 true WO2024099085A1 (zh) 2024-05-16

Family

ID=90999251

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/126678 WO2024099085A1 (zh) 2022-11-11 2023-10-26 数据传输方法、装置、终端及网络设备

Country Status (2)

Country Link
CN (1) CN118042548A (zh)
WO (1) WO2024099085A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017039735A1 (en) * 2015-09-03 2017-03-09 Intel IP Corporation User equipment, and evolved node bs supporting layer-2 relaying and route switching
US20170272384A1 (en) * 2016-03-17 2017-09-21 Lg Electronics Inc. Method and apparatus for buffering v2x message for path switching in wireless communication system
CN109417695A (zh) * 2017-01-10 2019-03-01 华为技术有限公司 一种通信路径转换方法及设备
US20220095186A1 (en) * 2018-12-21 2022-03-24 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for communication technology selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017039735A1 (en) * 2015-09-03 2017-03-09 Intel IP Corporation User equipment, and evolved node bs supporting layer-2 relaying and route switching
US20170272384A1 (en) * 2016-03-17 2017-09-21 Lg Electronics Inc. Method and apparatus for buffering v2x message for path switching in wireless communication system
CN109417695A (zh) * 2017-01-10 2019-03-01 华为技术有限公司 一种通信路径转换方法及设备
US20220095186A1 (en) * 2018-12-21 2022-03-24 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for communication technology selection

Also Published As

Publication number Publication date
CN118042548A (zh) 2024-05-14

Similar Documents

Publication Publication Date Title
WO2022148154A1 (zh) 一种通信方法、装置、设备和可读存储介质
WO2023035945A1 (zh) 多时隙传输方法、装置、终端及网络侧设备
WO2022156439A1 (zh) 信息传输方法、装置、基站及介质
WO2024099085A1 (zh) 数据传输方法、装置、终端及网络设备
WO2024098879A1 (zh) 信息传输方法、装置、终端及网络设备
WO2024093894A1 (zh) 时域配置信息指示方法、装置、终端及网络侧设备
WO2023116622A1 (zh) 信息传输、资源配置方法、装置、终端设备及网络设备
WO2024066666A1 (zh) 数据传输优先级确定方法、装置及设备
WO2023125107A1 (zh) 一种信息处理方法、装置及可读存储介质
WO2023284512A1 (zh) 中继选择方法、装置及终端
WO2023207459A1 (zh) 一种信息处理方法、装置及可读存储介质
WO2023237006A1 (zh) 一种小数据传输的处理方法、装置及可读存储介质
WO2024066731A1 (zh) 频率资源获取、确定方法、装置、终端设备及网络设备
WO2023186017A1 (zh) 中继场景下的直接通信接口非连续接收配置方法及设备
WO2023011411A1 (zh) 重配失败的处理方法、装置及终端
WO2024067208A1 (zh) 广播消息反馈和公共配置信息获取方法、装置及设备
EP4380225A1 (en) Information transmission method and apparatus, and relay terminal and network-side device
WO2024066399A1 (zh) 进入连接态的方法、装置、终端和网络设备
WO2023202319A1 (zh) 无线链路管理方法、装置及终端设备
US20240196404A1 (en) Method and device for determining cascading of uci, terminal and network side device
WO2024094220A1 (zh) 通信方法及装置
WO2024007746A1 (zh) 资源分配、信息配置方法、装置、终端设备及网络设备
WO2023061081A1 (zh) 一种信息处理方法、装置及可读存储介质
WO2024067246A1 (zh) 载波切换、切换配置方法、装置、终端设备及网络设备
WO2024017082A1 (zh) 配置信息的指示方法及装置