Service quality distribution method and device

CN118575508APending Publication Date: 2024-08-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280006163.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the U2U scenario, how to allocate quality of service (QoS) on two PC5 links to ensure end-to-end QoS requirements is an urgent problem to be solved, especially when the source remote UE communicates with the target remote UE through the relay UE. During communication, there is a lack of centralized network nodes to schedule and monitor the link status of the two PC5 links, making it difficult to meet the QoS requirements of the data flow.

Method used

By performing QoS allocation on the first PC5 link and the second PC5 link respectively, the packet delay budget (PDB) requirements are determined and corresponding configuration information is generated, including side row relay adaptation protocol (SRAP), wireless link Route Control (RLC), Media Access Control (MAC) and Physical Layer (PHY) configuration information to ensure that the sum of allocations on the two links meets the end-to-end PDB requirements.

Benefits of technology

It realizes QoS allocation on two PC5 links in the U2U scenario, ensures the end-to-end service quality of the data flow, meets QoS requirements such as packet delay and bit error rate, and solves the problem of QoS allocation in the U2U scenario.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575508A
    Figure CN118575508A
Patent Text Reader

Abstract

The embodiment of the invention discloses a service quality distribution method and device, and the method comprises the steps: carrying out the QoS distribution on a first PC5 link and a second PC5 link according to the end-to-end QoS demand of a sidelink data radio bearer (SL-DRB); wherein the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; and the first terminal device and the third terminal device establish an end-to-end connection through the second terminal device. By implementing the embodiment of the invention, the problem of how to realize QoS allocation on two PC5 links in a U2U scene to ensure end-to-end QoS requirements can be solved, so that the QoS requirements of data streams can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

A method and device for allocating quality of service Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a quality of service allocation method and device thereof. Background Art

[0002] To support direct communication between terminal devices, a direct connection (also called sidelink, SL) communication method was introduced. The interface between terminal devices is PC-5. A terminal device can communicate with the base station through a relay on another terminal device instead of directly connecting to the base station. The terminal device not connected to the base station is called a remote terminal device (remote UE), and the terminal device providing relay functionality is called a relay terminal device (relay UE). The remote terminal device and the relay terminal device communicate via sidelink unicast. This architecture is called U2N (UE to NW) relay. Another scenario is that terminal device A can connect to terminal device B instead of directly connecting to terminal device B. Terminal devices A and B are remote terminal devices, and terminal device C providing relay functionality is called a relay terminal device. All terminal devices communicate via sidelink unicast. This architecture is called U2U (UE to UE) relay. When terminal device A maintains a unicast connection directly with terminal device B, it is called a direct sidelink link. When terminal device A maintains a unicast connection with terminal device B through a relay terminal device, it is called an indirect sidelink link.

[0003] In a U2U scenario, a source remote UE communicates with a target remote UE via a relay UE. The end-to-end Quality of Service (QoS) requirements of the data flow between the source and target remote UEs must be guaranteed across two PC5 links. However, how to allocate QoS across the two PC5 links to ensure end-to-end QoS in U2U scenarios remains a pressing issue.

[0004] Summary of the Invention

[0005] The embodiments of the present disclosure provide a quality of service allocation method and device thereof, which are suitable for U2U (UE to UE) scenarios and can be applied to the Internet of Vehicles, such as vehicle to everything (V2X) communication, long-term evolution-vehicle (LTE-V) communication technology, vehicle to vehicle (V2V) communication, etc., or can be used in the fields of intelligent driving, intelligent connected vehicles, etc., and can solve the problem of how to implement QoS allocation on two PC5 links in the U2U scenario to ensure end-to-end QoS requirements, thereby ensuring the QoS requirements of data streams.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for allocating quality of service, including:

[0007] Perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end QoS requirements of the sidelink data radio bearer SL-DRB;

[0008] The first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish the end-to-end connection through the second terminal device.

[0009] This technical solution can solve the problem of how to implement QoS allocation on two PC5 links in a U2U scenario to ensure end-to-end QoS requirements, thereby ensuring the QoS requirements of data flows.

[0010] In one implementation, the QoS allocation is performed on the first PC5 link and the second PC5 link based on the end-to-end quality of service (QoS) requirement of the sidelink data radio bearer SL-DRB, including: determining the end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end quality of service (QoS) requirement of the SL-DRB; and performing PDB allocation on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

[0011] In one implementation, the QoS allocation is performed on the first PC5 link and the second PC5 link based on the end-to-end quality of service (QoS) requirements of the sidelink data radio bearer SL-DRB, including: generating first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB; wherein the first configuration information and the second configuration information both include at least one of the following information: sidelink relay adaptation protocol (SRAP) configuration information, radio link control (RLC) configuration information, media access control (MAC) configuration information, and physical layer (PHY) configuration information.

[0012] In a possible implementation, the method is executed by the first terminal device; the method further includes: sending the first configuration information to the second terminal device; and sending the second configuration information to the third terminal device through the second terminal device.

[0013] In one possible implementation, the method further includes: obtaining the sidelink service data adaptation protocol SL-SDAP configuration information and the sidelink packet data convergence layer protocol SL-PDCP configuration information associated with the SL-DRB; and sending the SL-SDAP configuration information and the SL-PDCP configuration information to the third terminal device through the second terminal device.

[0014] Among them, in one possible implementation method, the obtaining of the sidelink service data adaptation protocol SL-SDAP configuration information and the sidelink packet data convergence layer protocol SL-PDCP configuration information associated with the SL-DRB includes: obtaining the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB from a network device; or, obtaining the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB through pre-configuration.

[0015] In one implementation, the method is performed by a first network device, which is a service network device of the first terminal device; the method also includes: sending the first configuration information and the second configuration information to the first terminal device; wherein, the first configuration information is sent by the first terminal device to the second terminal device, and the second configuration information is sent by the first terminal device to the third terminal device via the second terminal device.

[0016] In one implementation, the method is executed by the second terminal device, and the method further includes: sending the first configuration information to the first terminal device; and sending the second configuration information to the third terminal device.

[0017] In one implementation, the method is performed by a second network device, which is a service network device of the second terminal device. The method also includes: sending the first configuration information and the second configuration information to the second terminal device; wherein the first configuration information is sent by the second terminal device to the first terminal device, and the second configuration information is sent by the second terminal device to the third terminal device.

[0018] In a second aspect, an embodiment of the present disclosure provides a communication device that implements some or all of the functions of the terminal device or network device described in the method described in the first aspect. For example, the functions of the communication device may include some or all of the functions in the embodiments of the present disclosure, or may include the functions of implementing any one of the embodiments of the present disclosure separately. The functions may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.

[0019] In one implementation, the communication device may include a transceiver module and a processing module, wherein the processing module is configured to support the communication device in performing the corresponding functions of the above-mentioned method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the transceiver module and the processing module and stores computer programs and data necessary for the communication device.

[0020] As an example, the processing module may be a processor, the transceiver module may be a transceiver or a communication interface, and the storage module may be a memory.

[0021] In a third aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the first aspect is executed.

[0022] In a fourth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the first aspect above.

[0023] In a fifth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the first aspect above.

[0024] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing instructions for the above-mentioned communication device, and when the instructions are executed, the communication device executes the method described in the first aspect.

[0025] In a seventh aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.

[0026] In an eighth aspect, the present disclosure provides a computer program, which, when executed on a computer, enables the computer to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the background technology, the drawings required for use in the embodiments of the present disclosure or the background technology will be described below.

[0028] FIG1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure;

[0029] FIG2 is a flow chart of a method for allocating quality of service according to an embodiment of the present disclosure;

[0030] FIG3 is a flow chart of another method for allocating quality of service provided by an embodiment of the present disclosure;

[0031] FIG4 is a flow chart of another quality of service allocation method provided by an embodiment of the present disclosure;

[0032] FIG5 is a flow chart of another quality of service allocation method provided by an embodiment of the present disclosure;

[0033] FIG6 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0034] FIG7 is a schematic structural diagram of another communication device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] The embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and are not to be construed as limitations on the present disclosure. In the description of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone.

[0036] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a", "an" and "the" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0037] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0038] The embodiments of the present disclosure are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be understood as limiting the present disclosure.

[0039] It should be noted that in order to support direct communication between terminal devices, a direct communication (also called sidelink, SL) communication mode is introduced, and the interface between terminal devices is PC-5. Based on the correspondence between the sending and receiving terminal devices, three transmission modes are supported on the Sidelink, such as unicast, multicast, and broadcast. The sending terminal device sends Sidelink Control Information (SCI) on the PSCCH (Physical Sidelink Control Channel) channel and sends the second-stage SCI on the PSSCH (Physical Sidelink Shared Channel), which carries the resource location of the transmitted data and the source and destination identifiers, etc. For data packets with HARQ (Hybrid Automatic Repeat reQuest) feedback enabled, the receiving terminal device performs HARQ-ACK (Hybrid Automatic Retransmission Request Acknowledgement) feedback on the PSSCH (Physical Sidelink Feedback Channel) channel.

[0040] There are two ways to allocate transmission resources in Sidelink communication. One is the network dynamic scheduling method (resource allocation mode 1), and the other is the terminal device's autonomous selection from the resource pool (resource allocation mode 2). Dynamic scheduling means that the network dynamically allocates transmission resources on the Sidelink to the terminal device based on the cached data reported by the terminal device, or the network device semi-statically configures transmission resources on the Sidelink for the terminal device. Autonomous selection means that the terminal device randomly selects transmission resources from the network broadcast or pre-configured resource pool. The network device can configure multiple resource pools for the terminal device on one BWP (Band WidthPart). The specific allocation method used is configured by the network device through RRC (Radio Resource Control) signaling.

[0041] A terminal device can communicate with the base station through a relay function on another terminal device instead of directly connecting to the base station. A terminal device not connected to the base station is called a remote UE, and a terminal device providing relay functionality is called a relay UE. The remote and relay devices communicate via sidelink unicast. This architecture is called U2N (UE to NW) relay. Another scenario involves terminal device A connecting to terminal device B instead of directly connecting to it through a relay function on terminal device C. Terminal devices A and B are remote, and terminal device C, providing relay functionality, is the relay. All terminal devices communicate via sidelink unicast. This architecture is called U2U (UE to UE) relay. A direct unicast connection between terminal device A and terminal device B is called a direct sidelink. A unicast connection between terminal device A and terminal device B via a relay is called an indirect sidelink.

[0042] In the U2N scenario, the remote UE conducts uplink and downlink data transmission with the base station via the relay UE. From the network's perspective, the network can obtain the Uu link status between the network and the relay UE, as well as the PC5 link status between the relay UE and the remote UE. The Uu link between the network and the relay UE can be obtained through the Uu (air interface) measurement reports reported by the relay UE, while the PC5 link status between the relay UE and the remote UE is obtained through the measurement reports reported by the remote UE. Furthermore, in the U2N scenario, the resources for the Uu and PC5 links are scheduled by the network and are fully controlled by the network. In the 5G system, the primary metric that reflects QoS (Quality of Service) is the 5QI / PQI. According to the mapping table, each 5QI / PQI is associated with different priorities, PDB (Packet Delay Budget), and PER (Packet Error Rate).

[0043] In U2N scenarios, to ensure QoS for a data flow (radio bearer), especially to meet the PDB delay budget, the network must consider the Uu and PC5 link conditions and properly configure the Uu and PC5 links to meet the end-to-end QoS requirements of the data flow. The specific configuration to achieve end-to-end QoS requirements is left to the network.

[0044] In the U2U scenario, the source remote UE communicates with the target remote UE through the relay UE. The QoS requirements of the end-to-end data flow between the source remote UE and the target remote UE need to be guaranteed by two PC5 links. The first PC5 link is the PC5 link between the source remote UE and the relay UE, and the second PC5 link is the PC5 link between the relay UE and the target remote UE. For PDB, it is necessary to ensure that the sum of the PDBs of the two PC5 links is less than or equal to the end-to-end PDB requirement of SL-DRB. In actual deployment, the source remote UE, relay UE and target remote UE are likely to belong to different networks. In this case, there is no centralized network node that can know the link status of the two PC5 links. Therefore, how to implement QoS allocation on the two PC5 links to ensure end-to-end QoS requirements in the U2U scenario is an urgent problem to be solved.

[0045] To this end, the embodiments of the present disclosure provide a quality of service allocation method and apparatus thereof, which can solve the problem of how to implement QoS allocation on two PC5 links in a U2U scenario to ensure end-to-end QoS requirements, thereby ensuring the QoS requirements of data flows.

[0046] In order to better understand a quality of service allocation method disclosed in an embodiment of the present disclosure, the communication system to which the embodiment of the present disclosure is applicable is first described below.

[0047] Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure. The communication system may include but is not limited to three terminal devices and two network devices, and the terminal devices are connected via SL. The number and form of the devices shown in Figure 1 are only for example and do not constitute a limitation on the embodiment of the present disclosure. In actual applications, three or more terminal devices may be included, and two or more network devices may also be included. The communication system shown in Figure 1 includes two network devices 11 and 12, and three terminal devices 21, 22 and 23, wherein the terminal device 21, the terminal device 22 and the terminal device 23 are connected via SL, such as the terminal device 21 and the terminal device 22 communicate via a PC5 unicast link, the terminal device 21 and the terminal device 23 communicate via a PC5 unicast link, and the terminal device 22 and the terminal device 23 establish an end-to-end connection through the terminal device 21. Network device 11 is the service network device of terminal device 21, and network device 12 is the service network device of terminal device 22. Terminal device 21 is a relay UE in a U2U scenario, terminal device 22 can be a source remote UE in a U2U scenario, and terminal device 23 can be a target remote UE in a U2U scenario. Alternatively, terminal device 21 is a relay UE in a U2U scenario, terminal device 22 can be a target remote UE in a U2U scenario, and terminal device 23 can be a source remote UE in a U2U scenario.

[0048] It should be noted that the technical solutions of the embodiments of the present disclosure can be applied to various communication systems. For example, long term evolution (LTE) systems, fifth generation (5G) mobile communication systems, 5G new radio (NR) systems, or other future new mobile communication systems. It should also be noted that the sidelink in the embodiments of the present disclosure can also be referred to as a sidelink or a through link.

[0049] The network device in the embodiment of the present disclosure is an entity on the network side for transmitting or receiving signals. For example, the network device may be an evolved NodeB (eNB), a transmission reception point (TRP), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system. The embodiment of the present disclosure does not limit the specific technology and specific device form adopted by the network device. The network device provided in the embodiment of the present disclosure may be composed of a centralized unit (CU) and a distributed unit (DU), wherein the CU may also be referred to as a control unit. The CU-DU structure may be used to split the protocol layer of a network device, such as a base station, and the functions of some protocol layers are placed in the CU for centralized control, while the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DC is centrally controlled by the CU.

[0050] The terminal device in the embodiments of the present disclosure is an entity on the user side for receiving or transmitting signals, such as a mobile phone. The terminal device may also be referred to as a terminal device (terminal), user equipment (UE), mobile station (MS), mobile terminal device (MT), etc. The terminal device may be a car with communication functions, a smart car, a mobile phone, a wearable device, a tablet computer (Pad), a computer with wireless transceiver functions, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self-driving (self-driving), a wireless terminal device in remote medical surgery (remote medical surgery), a wireless terminal device in a smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in a smart city (smart city), a wireless terminal device in a smart home (smart home), etc. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the terminal device.

[0051] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.

[0052] The quality of service allocation method and device provided by the present disclosure are described in detail below with reference to the accompanying drawings.

[0053] Please refer to Figure 2, which is a flowchart of a quality of service allocation method provided by an embodiment of the present disclosure. It should be noted that the method can be executed by a first terminal device. As an example, the first terminal device can be a sending UE. As shown in Figure 2, the method can include but is not limited to the following steps:

[0054] In step 201, the first terminal device performs QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the SL-DRB (Sidelink Data Radio Bearer).

[0055] In the embodiment of the present disclosure, the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device. The first terminal device and the third terminal device establish an end-to-end connection through the second terminal device. The end-to-end QoS requirement may be an end-to-end QoS requirement of the SL-DRB between the first terminal device and the third terminal device.

[0056] In one implementation, the first terminal device may be a sending UE, the third terminal device may be a receiving UE, and the second terminal device may be a relay UE in a U2U scenario. The sending UE may be a source remote UE in a U2U scenario, or a target remote UE in a U2U scenario. For example, if the direction of the data flow is from the source remote UE to the target remote UE, the sending UE is the source remote UE in the U2U scenario, and the receiving UE is the target remote UE in the U2U scenario. For another example, if the direction of the data flow is from the target remote UE to the source remote UE, the sending UE is the target remote UE in the U2U scenario, and the receiving UE is the source remote UE in the U2U scenario.

[0057] In an embodiment of the present disclosure, the first terminal device may perform QoS allocation on the first PC5 link and the second PC5 link based on the end-to-end QoS requirements of the SL-DRB to ensure the end-to-end QoS requirements of the SL-DRB. As an example, the first terminal device may perform QoS allocation on the first PC5 link and the second PC5 link based on the end-to-end QoS requirements of the SL-DRB in combination with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device, etc.) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device, etc.) to ensure the end-to-end QoS requirements of the SL-DRB.

[0058] In one possible implementation, the first terminal device may determine the end-to-end PDB requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB, and perform PDB allocation on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB to ensure that the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB. As an example, assuming that the end-to-end PDB requirement of SL-DRB is X, combined with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device), the PDB allocated to the first PC5 link is L, and the PDB allocated to the second PC5 link is M, where L+M≤X, that is, the sum of the PDB value allocated to the first PC5 link and the PDB value allocated to the second PC5 link is less than or equal to the end-to-end PDB requirement of SL-DRB.

[0059] In one possible implementation, the first terminal device may generate first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB. In this embodiment, the first configuration information and the second configuration information may include, but are not limited to, at least one of the following information: SRAP (Sideline Relay Adaptation Protocol) configuration information, RLC (Radio Link Control) configuration information, MAC (Medium Access Control) configuration information, PHY (Physical Layer) configuration information, etc.

[0060] Optionally, the first terminal device is responsible for generating a configuration of the SL-DRB on two PC5 links (i.e., the first PC5 link and the second PC5 link). The configuration may include at least one of the following configurations: SRAP configuration, RLC configuration, MAC configuration, and PHY configuration. As an example, the configuration may include SRAP configuration, RLC configuration, MAC configuration, and PHY configuration.

[0061] Optionally, in some embodiments of the present disclosure, the first configuration information is sent by the first terminal device to the second terminal device, and the second configuration information is sent by the first terminal device to the second terminal device. Optionally, the second configuration information is sent by the second terminal device to the third terminal device. Specifically, the second terminal device receives the second configuration information sent by the first terminal device, and then sends the second configuration information to the third terminal device. Optionally, the second configuration information is sent by the first terminal device to the third terminal device via the second terminal device. Specifically, the second configuration information is sent directly from the first terminal device to the third terminal device via the second terminal device. It should be noted that in this embodiment, the first terminal device can be restricted to be in RRC IDLE (idle state) / INACTIVE (inactive state) or OOC (out of coverage) state, or the first terminal device can be restricted to operate in mode 2 (i.e., resource allocation mode 2). Optionally, this embodiment can impose no restrictions on the state of the first terminal device, that is, regardless of what RRC state the first terminal device is in or what mode the first terminal device operates in, the solution is applicable.

[0062] As an example, the first terminal device sends the first configuration information to the second terminal device through PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device.

[0063] As an example, the first terminal device sends the second configuration information to the second terminal device through PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device.

[0064] As an example, a second terminal device receives the second configuration information sent by a first terminal device, and then sends the second configuration information received from the first terminal device to a third terminal device via PC5 RRC signaling, where the PC5 RRC signaling may be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device.

[0065] As an example, the second configuration information is directly sent from the first terminal device to the third terminal device via the second terminal device. The first terminal device sends the second configuration information to the third terminal device via the second terminal device via PC5 RRC signaling, where the PC5 RRC signaling may be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device.

[0066] Optionally, in some embodiments of the present disclosure, the first terminal device may obtain SL-SDAP (Sidelink Service Data Adaptation Protocol) configuration information and SL-PDCP (Sidelink Packet Data Convergence Layer Protocol) configuration information associated with the SL-DRB. The first terminal device sends the SL-SDAP configuration information and the SL-PDCP configuration information to the third terminal device through the second terminal device.

[0067] As an example, the first terminal device in the RRC connected state can obtain the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB from the network device through dedicated signaling. The first terminal device in the RRC IDLE / INACTIVE state can obtain the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB through SIB. The first terminal device in OOC (out of coverage) can obtain the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB through pre-configuration.

[0068] In the present disclosure, by sending UE to perform QoS allocation on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of SL-DRB, the problem of how to implement QoS allocation on two PC5 links to ensure end-to-end QoS requirements in the U2U scenario can be solved, thereby ensuring the end-to-end QoS requirements of the data flow.

[0069] Please refer to Figure 3, which is a flowchart of another quality of service allocation method provided by an embodiment of the present disclosure. It should be noted that the method can be performed by a first network device. As an example, the first network device can be a serving network device of a first terminal device, and the first terminal device can be a sending UE. As shown in Figure 3, the method can include but is not limited to the following steps:

[0070] In step 301 , the first network device performs QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the SL-DRB.

[0071] In the embodiment of the present disclosure, the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device. The first terminal device and the third terminal device establish an end-to-end connection through the second terminal device. The end-to-end QoS requirement may be an end-to-end QoS requirement of the SL-DRB between the first terminal device and the third terminal device.

[0072] In one implementation, the first terminal device may be a sending UE, the third terminal device may be a receiving UE, and the second terminal device may be a relay UE in a U2U scenario. The sending UE may be a source remote UE in a U2U scenario, or a target remote UE in a U2U scenario. For example, if the direction of the data flow is from the source remote UE to the target remote UE, the sending UE is the source remote UE in the U2U scenario, and the receiving UE is the target remote UE in the U2U scenario. For another example, if the direction of the data flow is from the target remote UE to the source remote UE, the sending UE is the target remote UE in the U2U scenario, and the receiving UE is the source remote UE in the U2U scenario.

[0073] In this embodiment, the first network device can perform QoS allocation on the first PC5 link and the second PC5 link based on the end-to-end QoS requirements of the SL-DRB to ensure the end-to-end QoS requirements of the SL-DRB. As an example, the first network device can obtain the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device), and based on the end-to-end QoS requirements of the SL-DRB, in combination with the link status of the first PC5 link and the link status of the second PC5 link, perform QoS allocation on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of the SL-DRB.

[0074] In one possible implementation, the first network device may determine the end-to-end PDB requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB, and perform PDB allocation on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB to ensure that the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB. As an example, assuming that the end-to-end PDB requirement of SL-DRB is X, combined with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device), the PDB allocated to the first PC5 link is L, and the PDB allocated to the second PC5 link is M, where L+M≤X, that is, the sum of the PDB value allocated to the first PC5 link and the PDB value allocated to the second PC5 link is less than or equal to the end-to-end PDB requirement of SL-DRB.

[0075] In one possible implementation, the first network device may generate first configuration information for the SL-DRB on the first PC5 link and second configuration information for the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB. In this embodiment, the first configuration information and the second configuration information may include, but are not limited to, at least one of the following: SRAP configuration information, RLC configuration information, MAC configuration information, PHY configuration information, etc.

[0076] Optionally, the first network device is responsible for generating a configuration of the SL-DRB on the two PC5 links (i.e., the first PC5 link and the second PC5 link). The configuration may include at least one of the following configurations: SRAP configuration, RLC configuration, MAC configuration, and PHY configuration. As an example, the configuration may include SRAP configuration, RLC configuration, MAC configuration, and PHY configuration.

[0077] Optionally, in some embodiments of the present disclosure, the first network device may send the first configuration information and the second configuration information to the first terminal device; wherein the first configuration information is sent by the first terminal device to the second terminal device, and the second configuration information is sent by the first terminal device to the second terminal device. Optionally, the second configuration information is sent by the second terminal device to the third terminal device. Specifically, the second terminal device receives the second configuration information sent by the first terminal device and then sends the second configuration information to the third terminal device. Optionally, the second configuration information is sent by the first terminal device to the third terminal device via the second terminal device. Specifically, the second configuration information is sent directly from the first terminal device to the third terminal device via the second terminal device.

[0078] As an example, the first network device sends the first configuration information to the first terminal device, and the first terminal device then sends the first configuration information received from the first network device to the second terminal device via PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device. In this embodiment, the first terminal device can only be in the RRC connected state.

[0079] As an example, the first network device sends the second configuration information to the first terminal device, and the first terminal device then sends the second configuration information received from the first network device to the second terminal device via PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device. In this embodiment, the first terminal device can only be in the RRC connected state.

[0080] As an example, a second terminal device receives the second configuration information sent by a first terminal device, and then sends the second configuration information received from the first terminal device to a third terminal device via PC5 RRC signaling, where the PC5 RRC signaling may be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device. In this embodiment, the first terminal device can only be in the RRC connected state.

[0081] As an example, the second configuration information is sent directly from the first terminal device to the third terminal device via the second terminal device. The first terminal device sends the second configuration information to the third terminal device via the second terminal device via PC5 RRC signaling, where the PC5 RRC signaling may be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device. In this embodiment, the first terminal device can only be in the RRC connected state.

[0082] In the present disclosure, by having the service network device of the sending UE perform QoS allocation on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of the SL-DRB, the problem of how to implement QoS allocation on two PC5 links to ensure the end-to-end QoS requirements in the U2U scenario can be solved, thereby ensuring the end-to-end QoS requirements of the data flow.

[0083] Please refer to Figure 4, which is a flowchart of another quality of service allocation method provided by an embodiment of the present disclosure. It should be noted that the method can be executed by a second terminal device. As an example, the second terminal device can be a relay UE in a U2U scenario. As shown in Figure 4, the method can include but is not limited to the following steps:

[0084] In step 401, the second terminal device performs QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the SL-DRB.

[0085] In the embodiment of the present disclosure, the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device. The first terminal device and the third terminal device establish an end-to-end connection through the second terminal device. The end-to-end QoS requirement may be an end-to-end QoS requirement of the SL-DRB between the first terminal device and the third terminal device.

[0086] In one implementation, the first terminal device may be a sending UE, the third terminal device may be a receiving UE, and the second terminal device may be a relay UE in a U2U scenario. The sending UE may be a source remote UE in a U2U scenario, or a target remote UE in a U2U scenario. For example, if the direction of the data flow is from the source remote UE to the target remote UE, the sending UE is the source remote UE in the U2U scenario, and the receiving UE is the target remote UE in the U2U scenario. For another example, if the direction of the data flow is from the target remote UE to the source remote UE, the sending UE is the target remote UE in the U2U scenario, and the receiving UE is the source remote UE in the U2U scenario.

[0087] In this embodiment, the second terminal device may perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end QoS requirements of the SL-DRB to ensure the end-to-end QoS requirements of the SL-DRB. As an example, the second terminal device may perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end QoS requirements of the SL-DRB, in combination with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device, etc.) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device, etc.), to ensure the end-to-end QoS requirements of the SL-DRB.

[0088] In one possible implementation, the second terminal device can determine the end-to-end PDB requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB, and perform PDB allocation on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB to ensure that the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB. As an example, assuming that the end-to-end PDB requirement of SL-DRB is X, combined with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device), the PDB allocated to the first PC5 link is L, and the PDB allocated to the second PC5 link is M, where L+M≤X, that is, the sum of the PDB value allocated to the first PC5 link and the PDB value allocated to the second PC5 link is less than or equal to the end-to-end PDB requirement of SL-DRB.

[0089] In one possible implementation, the second terminal device may generate first configuration information for the SL-DRB on the first PC5 link and second configuration information for the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB. In this embodiment, the first configuration information and the second configuration information may include, but are not limited to, at least one of the following: SRAP configuration information, RLC configuration information, MAC configuration information, PHY configuration information, etc.

[0090] Optionally, the second terminal device is responsible for generating a configuration of the SL-DRB on the two PC5 links (i.e., the first PC5 link and the second PC5 link). The configuration may include at least one of the following configurations: SRAP configuration, RLC configuration, MAC configuration, and PHY configuration. As an example, the configuration may include SRAP configuration, RLC configuration, MAC configuration, and PHY configuration.

[0091] Optionally, in some embodiments of the present disclosure, the second terminal device may send the first configuration information to the first terminal device. The second terminal device sends the second configuration information to the third terminal device.

[0092] As an example, the second terminal device sends the first configuration information to the first terminal device through PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device.

[0093] As an example, the second terminal device sends the second configuration information to the third terminal device through PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device.

[0094] It should be noted that this embodiment may limit the second terminal device to be in the RRC IDL / INACTIVE or OOC state, or limit the second terminal device to operate in mode 2. Optionally, this embodiment may not impose any restrictions on the state of the second terminal device, that is, regardless of the RRC state of the second terminal device or the mode in which the second terminal device operates, this embodiment is applicable.

[0095] In the present disclosure, by relaying UE to perform QoS allocation on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of SL-DRB, the problem of how to implement QoS allocation on two PC5 links to ensure end-to-end QoS requirements in the U2U scenario can be solved, thereby ensuring the end-to-end QoS requirements of the data flow.

[0096] Please refer to Figure 5, which is a flowchart of another quality of service allocation method provided by an embodiment of the present disclosure. It should be noted that the method can be performed by a second network device. As an example, the second network device can be a serving network device of a second terminal device, and the second terminal device can be a relay UE in a U2U scenario. As shown in Figure 5, the method can include but is not limited to the following steps:

[0097] In step 501 , the second network device performs QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the SL-DRB.

[0098] In the embodiment of the present disclosure, the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device. The first terminal device and the third terminal device establish an end-to-end connection through the second terminal device. The end-to-end QoS requirement may be an end-to-end QoS requirement of the SL-DRB between the first terminal device and the third terminal device.

[0099] In one implementation, the first terminal device may be a sending UE, the third terminal device may be a receiving UE, and the second terminal device may be a relay UE in a U2U scenario. The sending UE may be a source remote UE in a U2U scenario, or a target remote UE in a U2U scenario. For example, if the direction of the data flow is from the source remote UE to the target remote UE, the sending UE is the source remote UE in the U2U scenario, and the receiving UE is the target remote UE in the U2U scenario. For another example, if the direction of the data flow is from the target remote UE to the source remote UE, the sending UE is the target remote UE in the U2U scenario, and the receiving UE is the source remote UE in the U2U scenario.

[0100] In this embodiment, the second network device can perform QoS allocation on the first PC5 link and the second PC5 link based on the end-to-end QoS requirements of the SL-DRB to ensure the end-to-end QoS requirements of the SL-DRB. As an example, the second network device can obtain the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device, etc.) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device, etc.), and based on the end-to-end QoS requirements of the SL-DRB, in combination with the link status of the first PC5 link and the link status of the second PC5 link, perform QoS allocation on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of the SL-DRB.

[0101] In one possible implementation, the second network device may determine the end-to-end PDB requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB, and perform PDB allocation on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB to ensure that the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB. As an example, assuming that the end-to-end PDB requirement of SL-DRB is X, combined with the link status of the first PC5 link (such as the SL measurement report and / or CBR measurement report between the first terminal device and the second terminal device) and the link status of the second PC5 link (such as the SL measurement report and / or CBR measurement report between the second terminal device and the third terminal device), the PDB allocated to the first PC5 link is L, and the PDB allocated to the second PC5 link is M, where L+M≤X, that is, the sum of the PDB value allocated to the first PC5 link and the PDB value allocated to the second PC5 link is less than or equal to the end-to-end PDB requirement of SL-DRB.

[0102] In one possible implementation, the second network device may generate first configuration information for the SL-DRB on the first PC5 link and second configuration information for the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB. In this embodiment, the first configuration information and the second configuration information may include, but are not limited to, at least one of the following: SRAP configuration information, RLC configuration information, MAC configuration information, PHY configuration information, etc.

[0103] Optionally, the second network device is responsible for generating a configuration of the SL-DRB on the two PC5 links (i.e., the first PC5 link and the second PC5 link). The configuration may include at least one of the following configurations: an SRAP configuration, an RLC configuration, a MAC configuration, and a PHY configuration. As an example, the configuration may include an SRAP configuration, an RLC configuration, a MAC configuration, and a PHY configuration.

[0104] Optionally, in some embodiments of the present disclosure, the second network device may send the first configuration information and the second configuration information to the second terminal device; wherein the first configuration information is sent by the second terminal device to the first terminal device, and the second configuration information is sent by the second terminal device to the third terminal device.

[0105] As an example, the second network device sends the first configuration information to the second terminal device, and the second terminal device then sends the first configuration information received from the second network device to the first terminal device via PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the first terminal device. In this embodiment, the second terminal device can only be in the RRC connected state.

[0106] As an example, the second network device sends the second configuration information to the second terminal device. The second terminal device then sends the second configuration information received from the second network device to the third terminal device via PC5 RRC signaling, where the PC5 RRC signaling can be RRCReconfigurationSidelink signaling. The source address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the second terminal device, and the destination address of the data packet to which the PC5 RRC signaling belongs is the source layer 2 address of the third terminal device. In this embodiment, the second terminal device can only be in the RRC connected state.

[0107] In the present disclosure, by relaying the service network device of the UE, QoS allocation is performed on the first PC5 link and the second PC5 link to ensure the end-to-end QoS requirements of the SL-DRB, which can solve the problem of how to implement QoS allocation on two PC5 links to ensure end-to-end QoS requirements in the U2U scenario, thereby ensuring the end-to-end QoS requirements of the data flow.

[0108] In the embodiments provided above, the methods provided in the embodiments of the present disclosure are described from the perspectives of terminal devices and network devices, respectively. To implement the various functions of the methods provided in the embodiments of the present disclosure, the terminal device may include a hardware structure and a software module, and the aforementioned functions may be implemented in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module. Certain of the aforementioned functions may be implemented in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module.

[0109] Please refer to Figure 6, which is a schematic diagram of the structure of a communication device 60 provided in an embodiment of the present disclosure. The communication device 60 shown in Figure 6 may include a processing module 601 and a transceiver module 602. The transceiver module 602 may include a sending module and / or a receiving module. The sending module is used to implement a sending function, and the receiving module is used to implement a receiving function. The transceiver module 602 can implement the sending function and / or the receiving function.

[0110] The communication device 60 may be a terminal device, a device in a terminal device, or a device that can be used in conjunction with a terminal device. Alternatively, the communication device 60 may be a network device, a device in a network device, or a device that can be used in conjunction with a network device.

[0111] The communication device 60 is a terminal device (such as the first terminal device described in the embodiment of Figure 2 above): the processing module 601 is used to perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end service quality QoS requirements of the sidelink data radio bearer SL-DRB; wherein the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish an end-to-end connection through the second terminal device.

[0112] In one implementation, the processing module 601 is specifically used to: determine the end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB; and allocate PDBs on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

[0113] In one implementation, the processing module 601 is specifically used to: generate first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB; wherein the first configuration information and the second configuration information both include at least one of the following information: sidelink relay adaptation protocol SRAP configuration information, radio link control RLC configuration information, media access control MAC configuration information, and physical layer PHY configuration information.

[0114] In a possible implementation, the transceiver module 602 is further configured to: send the first configuration information to the second terminal device; and send the second configuration information to the third terminal device via the second terminal device.

[0115] In one implementation, the processing module 601 is further configured to obtain Sidelink Service Data Adaptation Protocol (SL-SDAP) configuration information and Sidelink Packet Data Convergence Layer (SL-PDCP) configuration information associated with the SL-DRB. The transceiver module 602 is further configured to send the SL-SDAP configuration information and the SL-PDCP configuration information to the third terminal device via the second terminal device.

[0116] In one possible implementation, the processing module 601 is specifically used to: obtain SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB from the network device; or obtain SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB through pre-configuration.

[0117] The communication device 60 is a network device (such as the first network device described in the embodiment of Figure 3 above): the processing module 601 is used to perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end service quality QoS requirements of the sidelink data radio bearer SL-DRB; wherein the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish an end-to-end connection through the second terminal device.

[0118] In one implementation, the processing module 601 is specifically used to: determine the end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB; and allocate PDBs on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

[0119] In one implementation, the processing module 601 is specifically used to: generate first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB; wherein the first configuration information and the second configuration information both include at least one of the following information: sidelink relay adaptation protocol SRAP configuration information, radio link control RLC configuration information, media access control MAC configuration information, and physical layer PHY configuration information.

[0120] In one possible implementation, the transceiver module 602 is also used to: send the first configuration information and the second configuration information to the first terminal device; wherein the first configuration information is sent by the first terminal device to the second terminal device, and the second configuration information is sent by the first terminal device to the third terminal device via the second terminal device.

[0121] The communication device 60 is a terminal device (such as the second terminal device described in the embodiment of Figure 4 above): the processing module 601 is used to perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end service quality QoS requirements of the sidelink data radio bearer SL-DRB; wherein the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish an end-to-end connection through the second terminal device.

[0122] In one implementation, the processing module 601 is specifically used to: determine the end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB; and allocate PDBs on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

[0123] In one implementation, the processing module 601 is specifically used to: generate first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB; wherein the first configuration information and the second configuration information both include at least one of the following information: sidelink relay adaptation protocol SRAP configuration information, radio link control RLC configuration information, media access control MAC configuration information, and physical layer PHY configuration information.

[0124] In a possible implementation, the transceiver module 602 is further configured to: send the first configuration information to the first terminal device; and send the second configuration information to the third terminal device.

[0125] The communication device 60 is a network device (such as the second network device described in the embodiment of Figure 5 above): the processing module 601 is used to perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end service quality QoS requirements of the sidelink data radio bearer SL-DRB; wherein the first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish an end-to-end connection through the second terminal device.

[0126] In one implementation, the processing module 601 is specifically used to: determine the end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB; and allocate PDBs on the first PC5 link and the second PC5 link based on the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

[0127] In one implementation, the processing module 601 is specifically used to: generate first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link based on the end-to-end QoS requirements of the SL-DRB; wherein the first configuration information and the second configuration information both include at least one of the following information: sidelink relay adaptation protocol SRAP configuration information, radio link control RLC configuration information, media access control MAC configuration information, and physical layer PHY configuration information.

[0128] In one possible implementation, the transceiver module 602 is further used to: send the first configuration information and the second configuration information to the second terminal device; wherein the first configuration information is sent by the second terminal device to the first terminal device, and the second configuration information is sent by the second terminal device to the third terminal device.

[0129] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0130] Please refer to Figure 7, which is a schematic diagram of the structure of another communication device 70 provided in an embodiment of the present disclosure. Communication device 70 can be a terminal device, or a chip, chip system, or processor that supports the terminal device in implementing the above-mentioned method. Alternatively, communication device 70 can be a network device, or a chip, chip system, or processor that supports the network device in implementing the above-mentioned method. This device can be used to implement the method described in the above-mentioned method embodiment. For details, please refer to the description of the above-mentioned method embodiment.

[0131] The communication device 70 may include one or more processors 701. The processor 701 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control the communication device (e.g., a base station, a baseband chip, a terminal device, a terminal device chip, a DU or CU, etc.), execute computer programs, and process computer program data.

[0132] Optionally, the communication device 70 may further include one or more memories 702, on which a computer program 704 may be stored. The processor 701 executes the computer program 704 to cause the communication device 70 to perform the method described in the above method embodiment. Optionally, the memory 702 may also store data. The communication device 70 and the memory 702 may be provided separately or integrated together.

[0133] Optionally, the communication device 70 may further include a transceiver 705 and an antenna 706. The transceiver 705 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and is configured to implement transceiver functions. The transceiver 705 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, etc., and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., and is configured to implement a transmitting function.

[0134] Optionally, the communication device 70 may further include one or more interface circuits 707. The interface circuit 707 is configured to receive code instructions and transmit the code instructions to the processor 701. The processor 701 executes the code instructions to enable the communication device 70 to execute the method described in the above method embodiment.

[0135] In one implementation, the processor 701 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or may be used for transmitting or delivering signals.

[0136] In one implementation, processor 701 may store a computer program 703. Computer program 703, when executed on processor 701, enables communication device 70 to perform the method described in the above method embodiment. Computer program 703 may be embedded in processor 701, in which case processor 701 may be implemented by hardware.

[0137] In one implementation, the communication device 70 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in the present disclosure can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0138] The communication device described in the above embodiments may be a terminal device, but the scope of the communication device described in this disclosure is not limited thereto, and the structure of the communication device may not be limited to FIG7 . The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:

[0139] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;

[0140] (2) a collection of one or more ICs, optionally including a storage component for storing data and computer programs;

[0141] (3) ASIC, such as modem;

[0142] (4) Modules that can be embedded in other devices;

[0143] (5) Receivers, terminal devices, intelligent terminal devices, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;

[0144] (6)Others, etc.

[0145] Those skilled in the art will also appreciate that the various illustrative logical blocks and steps listed in the embodiments of the present disclosure may be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functionality for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present disclosure.

[0146] The present disclosure also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.

[0147] The present disclosure also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.

[0148] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0149] Those skilled in the art will understand that the various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, and also indicate the order of precedence.

[0150] The at least one in the present disclosure can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in the present disclosure. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of precedence or size between the technical features described by "first", "second", "third", "A", "B", "C" and "D".

[0151] The correspondences shown in the tables of the present disclosure can be configured or predefined. The values ​​of the information in each table are merely examples and can be configured to other values, which are not limited by the present disclosure. When configuring the correspondences between information and parameters, it is not necessarily required to configure all the correspondences illustrated in each table. For example, in the tables of the present disclosure, the correspondences shown in certain rows may not be configured. For another example, appropriate deformation adjustments may be made based on the above tables, such as splitting, merging, etc. The names of the parameters shown in the titles of the above tables may also adopt other names that can be understood by the communication device, and the values ​​or representations of the parameters may also adopt other values ​​or representations that can be understood by the communication device. When implementing the above tables, other data structures may also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables, etc.

[0152] The predefined in the present disclosure may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.

[0153] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0154] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0155] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A method for allocating quality of service, characterized in that: include: Perform QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end QoS requirements of the sidelink data radio bearer SL-DRB; The first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish the end-to-end connection through the second terminal device.

2. The method according to claim 1, wherein The performing QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the sidelink data radio bearer SL-DRB includes: Determining an end-to-end packet delay budget (PDB) requirement of the SL-DRB based on the end-to-end QoS requirement of the SL-DRB; PDB allocation is performed on the first PC5 link and the second PC5 link according to the end-to-end PDB requirement of the SL-DRB; wherein the sum of the PDB value allocated on the first PC5 link and the PDB value allocated on the second PC5 link is less than or equal to the end-to-end PDB requirement of the SL-DRB.

3. The method according to claim 1, wherein The performing QoS allocation on the first PC5 link and the second PC5 link according to the end-to-end quality of service (QoS) requirement of the sidelink data radio bearer SL-DRB includes: Generate, according to the end-to-end QoS requirements of the SL-DRB, first configuration information of the SL-DRB on the first PC5 link and second configuration information of the SL-DRB on the second PC5 link; Among them, the first configuration information and the second configuration information both include at least one of the following information: Sidelink Relay Adaptation Protocol SRAP configuration information, Radio Link Control RLC configuration information, Media Access Control MAC configuration information, and Physical Layer PHY configuration information.

4. The method according to claim 3, wherein The method is performed by the first terminal device; the method further includes: Sending the first configuration information to the second terminal device; The second configuration information is sent to the third terminal device through the second terminal device.

5. The method according to claim 4, wherein The method further comprises: Obtaining Sidelink Service Data Adaptation Protocol SL-SDAP configuration information and Sidelink Packet Data Convergence Layer Protocol SL-PDCP configuration information associated with the SL-DRB; The SL-SDAP configuration information and the SL-PDCP configuration information are sent to the third terminal device through the second terminal device.

6. The method according to claim 5, wherein The acquiring of the sidelink service data adaptation protocol SL-SDAP configuration information and the sidelink packet data convergence layer protocol SL-PDCP configuration information associated with the SL-DRB includes: Acquire the SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB from a network device; or, The SL-SDAP configuration information and SL-PDCP configuration information associated with the SL-DRB are obtained through pre-configuration.

7. The method according to claim 3, wherein The method is performed by a first network device, where the first network device is a serving network device of the first terminal device; the method further includes: The first configuration information and the second configuration information are sent to the first terminal device; wherein, the first configuration information is sent by the first terminal device to the second terminal device, and the second configuration information is sent by the first terminal device to the third terminal device through the second terminal device.

8. The method according to claim 3, wherein The method is performed by the second terminal device, and the method further includes: Sending the first configuration information to the first terminal device; Send the second configuration information to the third terminal device.

9. The method according to claim 3, wherein The method is performed by a second network device, where the second network device is a serving network device of the second terminal device. The method further includes: The first configuration information and the second configuration information are sent to the second terminal device; wherein the first configuration information is sent by the second terminal device to the first terminal device, and the second configuration information is sent by the second terminal device to the third terminal device.

10. A communication device, characterized in that: include: A processing module, configured to perform QoS allocation on the first PC5 link and the second PC5 link according to an end-to-end quality of service (QoS) requirement of the sidelink data radio bearer SL-DRB; The first PC5 link is a PC5 unicast link between the first terminal device and the second terminal device, and the second PC5 link is a PC5 unicast link between the second terminal device and the third terminal device; the first terminal device and the third terminal device establish the end-to-end connection through the second terminal device.

11. A communication device, characterized in that: The device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory, so that the device performs the method according to any one of claims 1 to 9.

12. A computer-readable storage medium storing instructions, which, when executed, enable the method according to any one of claims 1 to 9 to be implemented.