EP-4250866-B1 - WIRELESS COMMUNICATION METHOD AND TERMINAL DEVICE
Inventors
- GUO, YALI
- LU, QIANXI
Dates
- Publication Date
- 20260506
- Application Date
- 20210222
Claims (8)
- A wireless communication method, comprising: receiving, by a relay terminal (1020), a first message transmitted by a first terminal (1010), wherein the first message comprises a link layer identifier of a second terminal (1030), the first message is a direct communication request message, and a frame structure of a data packet of the first message carries a link layer identifier of the first terminal (1010); and transmitting, by the relay terminal (1020), a second message to the second terminal (1030) based on the link layer identifier of the second terminal (1030) in the first message, wherein the second message is a direct communication request message, the second message comprises the link layer identifier of the second terminal (1030), wherein the link layer identifier of the second terminal (1030) is Layer 2 ID, and a frame structure of a data packet of the second message carries a link layer identifier of the relay terminal (1020).
- The method according to claim 1, further comprising: receiving, by the relay terminal, a third message transmitted by a second terminal, the third message is a direct communication accept message, the third message comprising the link layer identifier of the first terminal, and a data packet header of the third message carrying a link layer identifier of the second terminal; and transmitting, by the relay terminal, a fourth message to the first terminal, the fourth message is a direct communication accept message, the fourth message comprising the link layer identifier of the second terminal, and a data packet header of the fourth message carrying the link layer identifier of the relay terminal.
- A wireless communication method, comprising: transmitting, by a first terminal (1010), a first message to a relay terminal (1020), wherein the first message comprises a link layer identifier of a second terminal (1030), the first message is a direct communication request message, a frame structure of a data packet of the first message carries a link layer identifier of the first terminal (1010), and the link layer identifier of the second terminal (1030) in the first message is used by the relay terminal (1020) to transmit a second message to the second terminal (1030), wherein the second message is a direct communication request message, the second message comprises the link layer identifier of the second terminal (1030), wherein the link layer identifier of the second terminal (1030) is Layer 2 ID, and a frame structure of a data packet of the second message carries a link layer identifier of the relay terminal (1020)
- The method according to claim 3, further comprising, subsequent to transmitting the first message: receiving, by the first terminal, a fourth message transmitted by the relay terminal, the fourth message is a direct communication accept message, the fourth message comprising a link layer identifier of a second terminal, and a data packet header of the fourth message carrying a link layer identifier of the relay terminal.
- A wireless communication method, comprising: receiving, by a second terminal (1030), a second message transmitted by a relay terminal (1020) based on a link layer identifier of the second terminal (1030), wherein the second message is a direct communication request message, the second message comprises the link layer identifier of the second terminal (1030), wherein the link layer identifier of the second terminal (1030) is Layer 2 ID, and a frame structure of a data packet of the second message carries a link layer identifier of the relay terminal (1020); and transmitting, by the second terminal (1030), a third message to the relay terminal (1020), the third message is a direct communication accept message, the third message comprising the link layer identifier of the first terminal (1010), and a data packet header of the third message carrying a link layer identifier of the second terminal (1030).
- A terminal device, comprising a processor and a memory, wherein the memory has a computer program stored thereon, and the processor is configured to invoke and execute the computer program stored in the memory to perform the method according to claim 1 or 2, the method according to claim 3 or 4, or the method according claim 5.
- A computer-readable storage medium, storing a computer program that causes a computer to perform the method according to claim 1 or 2, the method according to claim 3 or 4, or the method according to claim 5.
- A computer program product, comprising computer program instructions that cause a computer to perform the method according to claim 1 or 2, the method according to claim 3 or 4, or the method according to claim 5.
Description
TECHNICAL FIELD The embodiments of the present disclosure relate to communication technology, and more particularly, to a wireless communication method, a terminal device and a computer-readable storage medium. BACKGROUND In a New Radio (NR) system, a terminal device with a Proximity-based Services (ProSe) capability can directly communicate with another terminal device with the ProSe capability via a PCS interface. The terminal with the ProSe capability obtains a link layer identifier (Layer 2 ID) of the peer terminal from a frame structure of a short-distance interaction message. When the two terminals perform message transfer via a relay terminal (relay UE), the terminal can only obtain the link layer identifier of the Relay UE from the frame structure of the short-distance interaction message, but cannot obtain the link layer identifier of the peer terminal, so it cannot correctly discover the peer terminal via the Relay UE, and the short-range communication connection can be correctly established between the two terminals via the Relay UE. US 2016/0270134 A1 discloses that a user equipment (UE) is configured to receive a request from a first peer UE to communicate with a target user corresponding to a second peer UE. The UE is configured to determine that the second peer UE is within a communication range of the UE. The UE is configured to, in response to receiving the request, relay internet protocol (IP) packets from the first peer UE to the second peer UE and relay IP packets from the second peer UE to the first peer UE. "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Architecture enhancements for 5G System (5GS) to support Vehicle-to-Everything (V2X) services (Release 16)", 3GPP STANDARD; 3GPP TS 23.287, F-06921, specifies architecture enhancements to the 5G System to facilitate vehicular communications for Vehicle-to-Everything (V2X) services. SUMMARY The embodiments of the present disclosure provide a wireless communication method and a terminal device. The terminal device can obtain a link layer identifier of a peer terminal via a Relay UE, and discover the peer terminal via the Relay UE, such that a short-range communication connection can be correctly established between the two terminals via the Relay UE. In a first aspect, a wireless communication method is provided, which is defined in claim 1. In a second aspect, a wireless communication method is provided, which is defined in claim 3. In a third aspect, a wireless communication method is provided, which is defined in claim 5. In a fourth aspect, a terminal device is provided, which is defined in claim 6. In a fifth aspect, a computer-readable storage medium is provided, which is defined in claim 7. In a sixth aspect, a computer program product is provided, which is defined in claim 8. Further advantageous embodiments of the present disclosure are indicated in the dependent claims. It is to be understood that both the forgoing general description and the following detailed description are exemplary only, and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram showing an architecture of a communication system in which an embodiment of the present disclosure is applied.FIG. 2 is a schematic flowchart illustrating a discovery process according to the present disclosure.FIG. 3 is a schematic flowchart illustrating direct communication establishment according to the present disclosure.FIG. 4 is a schematic diagram showing a relay communication according to the present disclosure.FIG. 5 is a schematic diagram showing a protocol stack for relay communication according to the present disclosure.FIG. 6 is a schematic flowchart illustrating a wireless communication method according to an embodiment of the present disclosure.FIG. 7 is a schematic flowchart illustrating a relay communication according to an embodiment of the present disclosure.FIG. 8 is a schematic flowchart illustrating another relay communication according to an embodiment of the present disclosure.FIG. 9 is a schematic flowchart illustrating another wireless communication method according to an embodiment of the present disclosure.FIG. 10 is a schematic flowchart illustrating yet another wireless communication method according to an embodiment of the present disclosure.FIG. 11 is a schematic block diagram of a terminal device according to an embodiment of the present disclosure.FIG. 12 is a schematic block diagram of another terminal device according to an embodiment of the present disclosure.FIG. 13 is a schematic block diagram of yet another terminal device according to an embodiment of the present disclosure.FIG. 14 is a schematic block diagram of a communication device according to another embodiment of the present disclosure.FIG. 15 is a schematic block diagram of an apparatus according to an embodiment of the present disclosure.FIG. 16 is a schematic block diagram of a commu