Configuration method and apparatus, and device
A configuration method, a terminal, and a non-transitory computer readable storage medium are provided. The method includes: configuring, by a terminal, a first Discontinuous Reception (DRX) parameter based on Quality of Service (QoS) Profile information, and configuring, by the terminal, a second DRX parameter based on Destination Layer 2 (L2) ID information. The QoS Profile information includes a plurality of QoS IDs. The terminal includes a plurality of Destination L2 IDs. The first DRX parameter includes at least a sidelink discontinuous reception on-Duration Timer (sl-drx-onDurationTimer) parameter or a sidelink discontinuous reception Cycle (sl-drx-Cycle) parameter. The second DRX parameter includes at least a sidelink discontinuous reception Start Offset (sl-drx-StartOffset) parameter.
1 . A configuration method, comprising:
grouping, by a terminal, a plurality of Quality of Service (QOS) IDs to obtain a plurality of QoS ID subgroups;
configuring, by the terminal, a first Discontinuous Reception (DRX) parameter for each QOS ID subgroup;
grouping, by the terminal, a plurality of Destination Layer 2 (L2) IDs to obtain a plurality of Destination L2 ID sets; and
configuring, by the terminal, a second DRX parameter for each Destination L2 ID set,
wherein:
each Destination L2 ID corresponds to at least one QoS ID subgroup,
the first DRX parameter comprises at least a sidelink discontinuous reception on-Duration Timer (sl-drx-onDurationTimer) parameter or a sidelink discontinuous reception Cycle (sl-drx-Cycle) parameter, and
the second DRX parameter comprises at least a sidelink discontinuous reception Start Offset (sl-drx-StartOffset) parameter.
2 . The configuration method according to claim 1 , wherein
grouping, by the terminal, the plurality of QOS IDs to obtain the plurality of QoS ID subgroups is performed based on a Packet Delay Budget (PDB) corresponding to each QOS ID, and
configuring, by the terminal, the first DRX parameter for each QoS ID subgroup is performed based on a minimum value of the PDB corresponding to each QoS ID subgroup.
3 . The configuration method according to claim 1 , wherein
the second DRX parameter for each parameters for different Destination L2 ID sets are different.
4 . The configuration method according to claim 2 , wherein the sl-drx-Cycle parameters in different QOS ID subgroups have an integer multiple relationship.
5 . The configuration method according to claim 1 , wherein the method further comprises:
determining, by the terminal, an active duration and an inactive duration of the first
DRX parameter and the second DRX parameter based on a Direct Frame Number (DFN).
6 . The configuration method according to claim 5 , wherein the DFN is any one of the following:
a DFN of the terminal,
a DFN of a peer terminal of the terminal, or
a DFN determined based on a PC 5 RRC interaction process.
7 . The configuration method according to claim 2 , wherein the first DRX parameters corresponding to different QOS ID subgroups are different, and the second DRX parameters corresponding to different QoS ID subgroups are the same.
8 . A terminal, comprising a processor; a memory having a computer program or an instruction stored thereon, wherein the computer program or the instruction, when executed by the processor, causes the processor to implement operations, comprising:
grouping, a plurality of Quality of Service (Qos) IDs to obtain a plurality of QoS ID subgroups;
configuring a first Discontinuous Reception (DRX) parameter for each QoS ID subgroup;
grouping, a plurality of Destination Layer 2 (L2) IDs to obtain a plurality of Destination L2 ID sets; and
configuring a second DRX parameter for each Destination L2 ID set,
wherein:
each Destination L2 ID corresponds to at least one QoS ID subgroup,
the first DRX parameter comprises at least a sidelink discontinuous reception on-Duration Timer (sl-drx-onDurationTimer) parameter or a sidelink discontinuous reception Cycle (sl-drx-Cycle) parameter, and
the second DRX parameter comprises at least a sidelink discontinuous reception Start Offset (sl-drx-StartOffset) parameter.
9 . The terminal according to claim 8 , wherein
grouping the plurality of QOS IDs to obtain the plurality of QoS ID subgroups is performed based on a Packet Delay Budget (PDB) corresponding to each QoS ID, and
configuring the first DRX parameter for each QOS ID subgroup is performed based on a minimum value of the PDB corresponding to each QOS ID subgroup.
10 . The terminal according to claim 8 , wherein
the second DRX parameters for different Destination L2 ID sets are different.
11 . The terminal according to claim 9 , wherein the sl-drx-Cycle parameters in different QoS ID subgroups have an integer multiple relationship.
12 . The terminal according to claim 8 , wherein the operations further comprise:
determining an active duration and an inactive duration of the first DRX parameter and the second DRX parameter based on a Direct Frame Number (DFN).
13 . The terminal according to claim 12 , wherein the DFN is any one of the following:
a DFN of the terminal,
a DFN of a peer terminal of the terminal, or
a DFN determined based on a PC 5 RRC interaction process.
14 . The terminal according to claim 9 , wherein the first DRX parameters corresponding to different QoS ID subgroups are different, and the second DRX parameters corresponding to different QOS ID subgroups are the same.
15 . A non-transitory computer readable storage medium, storing a computer program or an instruction that, when executed by a processor, causes the processor to implement operations, comprising:
grouping, a plurality of Quality of Service (QOS) IDs to obtain a plurality of QoS ID subgroups;
configuring a first Discontinuous Reception (DRX) parameter for each QoS ID subgroup;
grouping, a plurality of Destination Layer 2 (L2) IDs to obtain a plurality of Destination L2 ID sets; and
configuring a second DRX parameter for each Destination L2 ID set,
wherein:
each Destination L2 ID corresponds to at least one QoS ID subgroup,
the first DRX parameter comprises at least a sidelink discontinuous reception on-Duration Timer (sl-drx-onDurationTimer) parameter or a sidelink discontinuous reception Cycle (sl-drx-Cycle) parameter, and
the second DRX parameter comprises at least a sidelink discontinuous reception Start Offset (sl-drx-StartOffset) parameter.
16 . The non-transitory computer readable storage medium according to claim 15 , wherein
grouping the plurality of QOS IDs to obtain the plurality of QOS ID subgroups is performed based on a Packet Delay Budget (PDB) corresponding to each QoS ID, and
configuring the first DRX parameter for each QoS ID subgroup is performed based on a minimum value of the PDB corresponding to each QoS ID subgroup.
17 . The non-transitory computer readable storage medium according to claim 15 , wherein
the second DRX parameters for different Destination L2 ID sets are different.
18 . The non-transitory computer readable storage medium according to claim 16 , wherein the sl-drx-Cycle parameters in different QoS ID subgroups have an integer multiple relationship.
19 . The non-transitory computer readable storage medium according to claim 15 , wherein the operations further comprise:
determining an active duration and an inactive duration of the first DRX parameter and the second DRX parameter based on a Direct Frame Number (DFN).
20 . The non-transitory computer readable storage medium according to claim 19 , wherein the DFN is any one of the following:
a DFN of the terminal,
a DFN of a peer terminal of the terminal, or
a DFN determined based on a PC 5 RRC interaction process.