Resource determining method and apparatus
A communications device determines index values of n first control channel elements (CCEs) occupied by a physical downlink control channel (PDCCH) candidate in a control resource set (CORESET) in a first CCE set and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set. The CORESET is divided into a first second physical time-frequency resource area and a second physical time-frequency resource area. The first physical time-frequency resource area is different from the second physical time-frequency resource area in time domain and/or frequency domain. A quantity of CCEs included in the first CCE set is determined based on a quantity of resource element groups (REGs) included in a first physical time-frequency resource. A quantity of CCEs included in the second CCE set is determined based on a quantity of REGs included in a second physical time-frequency resource.
1 . A resource determining method, comprising:
determining index values of n first control channel elements (CCEs) occupied by a physical downlink control channel (PDCCH) candidate in a control resource set (CORESET) in a first CCE set, and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set, wherein the CORESET is divided into a first physical time-frequency resource area and a second physical time-frequency resource area, the first physical time-frequency resource area is different from the second physical time-frequency resource area in at least one of time domain or frequency domain, and a quantity of CCEs comprised in the first CCE set is determined based on a quantity of resource element groups (REGs) comprised in the first physical time-frequency resource area; and a quantity of CCEs comprised in the second CCE set is determined based on a quantity of REGs comprised in the second physical time-frequency resource area, wherein both m and n are positive integers, and a sum of m and n is equal to an aggregation level of the PDCCH candidate, wherein the determining index values of n first CCEs occupied by a PDCCH candidate in a CORESET in a first CCE set, and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set comprises:
determining an index value of each first CCE of the n first CCEs according to a first formula that comprises first parameters that limit the each first CCE of the n first CCEs in the first physical time-frequency resource area; and
determining an index value of each second CCE of the m second CCEs according to a second formula that comprises second parameters that limit the each second CCE of the m second CCEs in the second physical time-frequency resource area, the second parameters comprise the quantity of CCEs comprised in the first CCE set, and the second formula is different from the first formula in that the second parameters comprise at least one different parameter than the first parameters; and
determining, based on the n first CCEs and the m second CCEs, a physical time-frequency resource occupied by the PDCCH candidate.
2 . The method according to claim 1 , wherein the index values of the n first CCEs are consecutive, and the index values of the m second CCEs are consecutive.
3 . The method according to claim 1 , wherein n is different from m.
4 . The method according to claim 1 , wherein the quantity of REGs included in the first physical time-frequency resource area is different from the quantity of REGs included in the second physical time-frequency resource area, and the quantity of CCEs comprised in the first CCE set is different from the quantity of CCEs comprised in the second CCE set.
5 . The method according to claim 1 , wherein a difference between a first index value and a second index value is a preset value, the first index value is an index value of a first CCE that has a smallest index value in the n first CCEs, and the second index value is an index value of a second CCE that has a smallest index value in the m second CCEs.
6 . The method according to claim 5 , wherein the first CCE set is numbered from 0, and the second CCE set is numbered from Nez the preset value is equal to N cce,p,first , and N cce,p,first indicates the quantity of CCEs comprised in the first CCE set.
7 . The method according to claim 6 ,
wherein:
the first formula is shown as follows:
L
2
·
{
(
Y
p
,
n
s
,
f
μ
+
⌊
m
s
,
n
CI
·
N
CCE
,
p
L
·
M
s
,
max
(
L
)
⌋
+
n
CI
)
mod
⌊
N
cce
,
p
L
⌋
}
+
i
i
=
0
,
1
,
…
,
n
-
1
;
the second formula is shown as follows:
L
2
·
{
(
Y
p
,
n
z
,
f
μ
+
⌊
m
s
,
n
CI
·
N
CCE
,
p
L
·
M
s
,
max
(
L
)
⌋
+
n
CI
)
mod
⌊
N
cce
,
p
L
⌋
}
+
i
+
N
CCE
,
p
,
first
i
=
0
,
1
,
…
,
m
-
1
;
L is the aggregation level of the PDCCH candidate;
when the PDCCH candidate belongs to common search space,
Y
p
,
n
s
,
f
μ
=
0
;
when the PDCCH candidate belongs to user equipment specific search space,
Y
p
,
n
s
,
f
μ
=
(
A
p
·
Y
p
,
n
s
,
f
μ
-
1
)
mod
D
,
Y
p
,
n
s
,
f
μ
-
1
=
n
RNTI
≠
0
,
and n RNTI is a C-RNTI of a terminal device; when pmod3=0, A p =39827; when pmod3=1, A p =39829; when pmod3=2, A p =39839; D=65537; and p is a number of the CORESET;
m s,n CI is a number of the PDCCH candidate, m s,n CI is an integer greater than or equal to 0 and less than or equal to
M
s
,
n
,
CI
(
L
)
-
1
,
and
M
s
,
n
,
CI
(
L
)
is a total quantity of candidate PPDCHs that correspond to a carrier n CI and whose aggregation levels are L in search space s;
n CI is a value of a carrier indicator field;
for the common search space,
M
s
,
max
(
L
)
=
M
s
,
0
(
L
)
;
and
for the user equipment specific search space,
M
s
,
max
(
L
)
is equal to a maximum value of
M
s
,
nCI
(
L
)
coresponding to all n CI ; and
N CCE,v,first is the quantity of CCEs comprised in the first CCE set.
8 . The method according to claim 5 , wherein the first CCEs comprised in the first CCE set are numbered from 0, the second CCEs comprised in the second CCE set are numbered from 0, and the preset value is equal to 0.
9 . The method according to claim 8 ,
wherein:
the first formula is shown as follows:
L
2
·
{
(
Y
p
,
n
s
,
f
μ
+
⌊
m
s
,
n
CI
·
N
CCE
,
p
L
·
M
s
,
max
(
L
)
⌋
+
n
CI
)
mod
⌊
N
cce
,
p
,
first
L
/
2
⌋
}
+
i
i
=
0
,
1
,
…
,
n
-
1
;
the second formula is shown as follows:
L
2
·
{
(
Y
p
,
n
s
,
f
μ
+
⌊
m
s
,
n
CI
·
N
CCE
,
p
L
·
M
s
,
max
(
L
)
⌋
+
n
CI
)
mod
⌊
N
cce
,
p
,
second
L
/
2
⌋
}
+
j
j
=
0
,
1
,
…
,
m
-
1
;
L is the aggregation level of the PDCCH candidate;
when the PDCCH candidate belongs to common search space,
Y
p
,
n
s
,
f
μ
=
0
;
when the PDCCH candidate belongs to user equipment specific search space,
Y
p
,
n
s
,
f
μ
=
(
A
p
·
Y
p
,
n
s
,
f
μ
-
1
)
mod
D
,
Y
p
,
n
s
,
f
μ
-
1
=
n
RNTI
≠
0
,
and n RNTI is a C-RNTI of a terminal device; when pmod3=0, A p =39827; when pmod3=1, A p =39829; when pmod3=2, A p =39839; D=65537; and p is a number of the CORESET;
m s,n CI is a number of the PDCCH candidate, m s,n CI is an integer greater than or equal to 0 and less than or equal to
M
s
,
nCI
(
L
)
-
1
,
and
M
s
,
nCI
(
L
)
is a total quantity of candidate PPDCHs that correspond to a carrier n CI and whose aggregation levels are L in search space s;
n CI is a value of a carrier indicator field;
for the common search space,
M
s
,
max
(
L
)
=
M
s
,
0
(
L
)
;
and for the user equipment specific search space,
M
s
,
max
(
L
)
is equal to a maximum value of
M
s
,
nCI
(
L
)
corresponding to all n CI ;
N CCE,p,first is the quantity of CCEs comprised in the first CCE set; and
N cce,p,second is the quantity of CCEs comprised in the second CCE set.
10 . The method according to claim 1 , wherein a difference between a first index value and a second index value is determined based on a preset value and an offset value, the first index value is an index value of a first CCE that has a smallest index value in the n first CCEs, and the second index value is an index value of a second CCE that has a smallest index value in the m second CCEs.
11 . The method according to claim 10 , wherein:
the first CCE set is numbered from 0, the second CCE set is numbered from N cce,p,first , and the preset value is equal to N cce,p,first , and N cce,p,first indicates the quantity of CCEs comprised in the first CCE set; or
the first CCEs comprised in the first CCE set are numbered from 0, the second CCEs comprised in the first CCE set are numbered from 0, and the preset value is equal to 0.
12 . The method according to claim 10 , wherein the method comprises:
determining whether the second CCE set is capable of providing the m second CCEs for the PDCCH candidate with a specified number and the aggregation level of L based on a third formula.
13 . A resource determining method, comprising:
determining index values of L control channel elements (CCEs) occupied by a physical downlink control channel (PDCCH) candidate in a control resource set (CORESET), wherein the CORESET is divided into a first physical time-frequency resource area and a second physical time-frequency resource area, the first physical time-frequency resource area is different from the second physical time-frequency resource area in time domain and/or frequency domain, and L is equal to an aggregation level of the PDCCH candidate, wherein the determining index values of L CCEs comprises determining index values of n first CCEs occupied by the PDCCH candidate in the CORESET in a first CCE set, and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set by:
determining an index value of each first CCE of the n first CCEs according to a first formula that comprises first parameters that limit the each first CCE of the n first CCEs in the first physical time-frequency resource area; and
determining an index value of each second CCE of the m second CCEs according to a second formula that comprises second parameters that limit the each second CCE of the m second CCEs in the second physical time-frequency resource area, the second parameters comprise a quantity of CCEs comprised in the first CCE set, and the second formula is different from the first formula in that the second parameters comprise at least one different parameter than the first parameters;
for each CCE in the L CCEs, determining, based on an index value of the CCE, p input sequence numbers corresponding to the CCE, wherein p is a positive integer; and
determining, based on the p input sequence numbers corresponding to the CCE and a first interleaver, index values of p resource element group bundles (REG bundles) to which the CCE is mapped, wherein the first interleaver is configured to output index values of two REG bundles that are not adjacent in frequency domain by using two input sequence numbers that are spaced by an interleaving depth.
14 . The method according to claim 13 , wherein the determining, based on the p input sequence numbers corresponding to the CCE and a first interleaver, index values of p REG bundles to which the CCE is mapped comprises:
determining, for one of the p input sequence numbers corresponding to the CCE, a three-dimensional number corresponding to the input sequence number, wherein the three-dimensional number comprises a group number, a row number, and a column number; and
determining, based on the three-dimensional number corresponding to the input sequence number, an index value of a REG bundle corresponding to the input sequence number.
15 . The method according to claim 13 , wherein the first interleaver satisfies the following formula:
f
(
x
)
=
(
2
r
1
C
1
+
r
2
Q
R
+
c
+
n
shift
)
mod
N
REG
CORESET
K
x
=
2
cR
+
r
r
=
r
2
R
+
r
1
r
1
=
0
,
1
,
…
R
-
1
r
2
=
0
,
1
Q
=
{
C
1
,
R
,
r
2
=
0
C
2
R
,
r
2
=
1
C
1
=
N
REG
,
1
CORESET
KR
C
2
=
N
REG
,
2
CORESET
KR
c
=
{
0
,
1
,
…
,
N
REG
,
1
CORESET
K
-
1
r
2
=
0
0
,
1
,
…
,
N
REG
,
2
CORESET
K
-
1
r
2
=
1
,
wherein:
f(x) represents an index value of a REG bundle, x represents an input sequence number, R represents the interleaving depth, K represents a REG bundle size,
N
REG
CORESET
10 represents a quantity of REGs comprised in the CORESET,
N
REG
,
1
CORESET
represents a quantity of REGs comprised in the first physical time-frequency resource area in the CORESET,
N
REG
,
2
CORESET
N REG,2 CORESET represents a quantity of REGs comprised in the second physical time-frequency resource area in the CORESET, and n shift is an offset value.
16 . The method according to claim 13 , wherein the first interleaver satisfies the following formula:
f
(
x
)
=
(
2
r
1
C
1
+
(
(
r
2
+
r
1
)
mod
2
)
Q
R
+
c
+
n
shift
)
mod
N
REG
CORESET
K
x
=
2
cR
+
r
r
=
r
2
R
+
r
1
r
1
=
0
,
1
,
…
R
-
1
r
2
=
0
,
1
Q
=
{
C
1
R
,
r
2
=
0
C
2
R
,
r
2
=
1
C
1
=
N
REG
,
1
CORESET
KR
C
2
=
N
REG
,
2
CORESET
KR
c
=
{
0
,
1
,
…
,
N
REG
,
1
CORESET
K
-
1
r
2
=
0
0
,
1
,
…
,
N
REG
,
2
CORESET
K
-
1
r
2
=
1
,
wherein
f(x) represents an index value of a REG bundle, x represents an input sequence number, R represents the interleaving depth, K represents a REG bundle size,
N
REG
CORESET
represents a quantity of REGs comprised in the CORESET,
N
REG
,
1
CORESET
represents a quantity of REGs comprised in the first physical time-frequency resource area in the CORESET,
N
REG
,
2
CORESET
represents a quantity of REGs comprised in the second physical time-frequency resource area in the CORESET, and n shift is an offset value.
17 . The method according to claim 13 , wherein the first interleaver satisfies the following formula:
f
(
x
)
=
(
2
r
1
C
1
+
r
2
Q
R
+
c
+
n
shift
,
n
symbol
)
mod
N
REG
CORESET
K
x
=
2
cR
+
r
r
=
r
2
R
+
r
1
r
1
=
0
,
1
,
…
R
-
1
r
2
=
0
,
1
Q
=
{
C
1
R
,
r
2
=
0
C
2
R
,
r
2
=
1
C
1
=
N
REG
,
1
CORESET
KR
C
2
=
N
REG
,
2
CORESET
KR
c
=
{
0
,
1
,
…
,
N
REG
,
1
CORESET
K
-
1
r
2
=
0
0
,
1
,
…
,
N
REG
,
2
CORESET
K
-
1
r
2
=
1
,
wherein
f(x) represents an index value of a REG bundle, x represents an input sequence number, R represents the interleaving depth, K represents a REG bundle size,
N
REG
CORESET
represents a quantity of REGs comprised in the CORESET, N REG,1 CORESET ,
N
REG
,
1
CORESET
represents a quantity of REGs comprised in the first physical time-frequency resource area in the CORESET,
N
REG
,
2
CORESET
represents a quantity of REGs comprised in the second physical time-frequency resource area in the CORESET, and n shift,n symbol is a value that changes with time.
18 . The method according to claim 13 , wherein the first interleaver satisfies the following formula:
f
(
x
)
=
(
2
r
1
C
1
+
(
(
r
2
+
r
1
)
mod
2
)
Q
R
++
n
shift
,
n
symbol
)
mod
N
REG
CORESET
K
x
=
2
cR
+
r
r
=
r
2
R
+
r
1
r
1
=
0
,
1
,
…
R
-
1
r
2
=
0
,
1
Q
=
{
C
1
R
,
r
2
=
0
C
2
R
,
r
2
=
1
C
1
=
N
REG
,
1
CORESET
KR
C
2
=
N
REG
,
1
CORESET
KR
c
=
{
0
,
1
,
…
,
N
REG
,
1
CORESET
K
-
1
r
2
=
0
0
,
1
,
…
,
N
REG
,
2
CORESET
K
-
1
r
2
=
1
,
wherein
f(x) represents an index value of a REG bundle, x represents an input sequence number, R represents the interleaving depth, K represents a REG bundle size,
N
REG
CORESET
represents a quantity of REGs comprised in the CORESET,
N
REG
,
1
CORESET
represents a quantity of REGs comprised in the first physical time-frequency resource area in the CORESET,
N
REG
,
2
CORESET
represents a quantity of REGs comprised in the second physical time-frequency resource area in the CORESET, and n shift,n symbol is a value that changes with time.
19 . A communication apparatus, wherein the apparatus comprises at least one processor; and the at least one processor is coupled to at least one memory that stores programming instructions for execution by the at least one processor to perform operations comprising:
determining index values of n first control channel element (CCEs) occupied by a physical downlink control channel (PDCCH) candidate in a control resource set (CORESET) in a first CCE set, and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set, wherein the CORESET is divided into a first physical time-frequency resource area and a second physical time-frequency resource area, the first physical time-frequency resource area is different from the second physical time-frequency resource area in time domain and/or frequency domain, and a quantity of CCEs comprised in the first CCE set is determined based on a quantity of resource element groups (REGs) comprised in the first physical time-frequency resource area; and a quantity of CCEs comprised in the second CCE set is determined based on a quantity of REGs comprised in the second physical time-frequency resource area, wherein both m and n are positive integers, and a sum of m and n is equal to an aggregation level of the PDCCH candidate, wherein the determining index values of n first CCEs occupied by a PDCCH candidate in a CORESET in a first CCE set, and index values of m second CCEs occupied by the PDCCH candidate in the CORESET in a second CCE set comprises:
determining an index value of each first CCE of the n first CCEs according to a first formula that comprises first parameters that limit the each first CCE of the n first CCEs in the first physical time-frequency resource area; and
determining an index value of each second CCE of the m second CCEs according to a second formula that comprises second parameters that limit the each second CCE of the m second CCEs in the second physical time-frequency resource area, the second parameters comprise the quantity of CCEs comprised in the first CCE set, and the second formula is different from the first formula in that the second parameters comprise at least one different parameter than the first parameters; and
determining, based on the n first CCEs and the m second CCEs, a physical time-frequency resource occupied by the PDCCH candidate.
20 . The communications apparatus according to claim 19 , wherein the index values of the n first CCEs are consecutive, and the index values of the m second CCEs are consecutive.