Communication configuration method and communication apparatus
In a communication configuration method, a first terminal device determines a first message that comprises first information and second information. The first information comprises radio link control (RLC) bearer configuration information of a first sidelink, and the second information comprises RLC bearer configuration information of a second sidelink. The first sidelink is between the first terminal device and a third terminal device, and the second sidelink is between the third terminal device and a second terminal device. The first terminal device then sends the first message to the third terminal device.
1 . A communication configuration method performed by a first terminal device, comprising:
reporting, to a first network device, end-to-end quality of service (QoS) information between the first terminal device and a second terminal device;
receiving, from the first network device in response to the reporting, a second message that comprises first information, wherein the first information comprises first radio link control (RLC) bearer configuration information of a first sidelink between the first terminal device and a third terminal device, and the third terminal device is a relay terminal device through which the first terminal device and the second terminal device communicate with each other,
determining, based on the first RLC bearer configuration information and the end-to-end QoS information, second RLC bearer configuration information of a second sidelink and first QoS information corresponding to the second RLC bearer configuration information, the second sidelink is between the third terminal device and the second terminal device;
determining a first message, wherein the first message comprises the first information, second information and the first QoS information, wherein the second information comprises the second RLC bearer configuration information of the second sidelink; and
sending the first message to the third terminal device.
2 . The method according to claim 1 , further comprising:
receiving a first response message sent by the third terminal device, wherein the first response message indicates that a part or all of the first information and the second information is successfully configured or fails to be configured.
3 . An apparatus, comprising:
a processor; and
a non-transitory memory storing a computer program code for execution by the processor, the computer program code comprising instructions for:
reporting, to a first network device, end-to-end quality of service (QoS) information between the apparatus and a terminal device;
receiving, from the first network device in response to the reporting, a second message that comprises first information, wherein the first information comprises first radio link control (RLC) bearer configuration information of a first sidelink between the apparatus and a relay terminal device, and the apparatus and the terminal device communicate with each other through the relay terminal device;
determining, based on the first RLC bearer configuration information and the end-to-end QoS information, second RLC bearer configuration information of a second sidelink and first QoS information corresponding to the second RLC bearer configuration information, wherein the second sidelink is between the relay terminal device and the terminal device;
determining a first message that comprises the first information, second information and the first QoS information, wherein the second information comprises the second RLC bearer configuration information of the second sidelink; and
sending the first message to the third terminal device.
4 . The apparatus according to claim 3 , wherein the computer program code further comprises instructions for:
receiving a first response message sent by the relay terminal device, wherein the first response message indicates that a part or all of the first information and the second information is successfully configured or fails to be configured.
5 . A non-transitory computer readable storage medium comprising a computer program code execution by a processor of a first terminal device, the computer program code including instructions for:
reporting, to a first network device, end-to-end quality of service (QoS) information between the first terminal device and a second terminal device;
receiving, from the first network device in response to the reporting, a second message that comprises first information, wherein the first information comprises first radio link control (RLC) bearer configuration information of a first sidelink between the first terminal device and a third terminal device, and the third terminal device is a relay terminal device through which the first terminal device and the second terminal device communicate with each other;
determining, based on the first RLC bearer configuration information and the end-to-end QoS information, second RLC bearer configuration information of a second sidelink and first QoS information corresponding to the second RLC bearer configuration information, and the second sidelink is between the third terminal device and the second terminal device;
determining a first message, wherein the first message comprises the first information, second information, and the first QoS information, wherein the second information comprises the second RLC bearer configuration information of the second sidelink; and
sending the first message to the third terminal device.
6 . The non-transitory computer readable storage medium according to claim 5 , wherein the computer program code further comprises instructions for:
receiving a first response message sent by the third terminal device, wherein the first response message indicates that a part or all of the first information and the second information is successfully configured or fails to be configured.