Method and apparatus for access control using access control parameter sets and auxiliary to determine an access barring probability
A method includes: determining an access identity of a terminal device based on an access class of the terminal device, where the access identity is determined based on the access class, the access class is one of an access class 0 to an access class 9, and the access class 0 to the access class 9 correspond to one or more of the following access identities: an access identity 3 to an access identity 10, or H access identities whose access identity numbers are greater than or equal to 16, where H is a positive integer; determining, based on the access identity, that the terminal device applies a first access control parameter set; and determining, based on the first access control parameter set, whether the terminal device is allowed to access a first cell. An access class allocated to the terminal device corresponds to a new access identity.
1 . A communication method, performed by a terminal device or a chip configured for a terminal device, wherein the method comprises:
receiving at least one access control parameter set and at least one auxiliary parameter set;
determining a first access control parameter set is applicable to the terminal device, wherein the first access control parameter set comprises a barring factor and an access barring time and the at least one access control parameter set comprises the first access control parameter set;
determining, based on the terminal device being of an access identity of a first category and a first auxiliary parameter set being applicable to the first category, the first auxiliary parameter set being applicable to the terminal device, wherein the first auxiliary parameter set comprises an access barring probability and the at least one auxiliary parameter set comprises the first auxiliary parameter set; and
determining, based on the access barring probability, whether the terminal device is allowed to access a first cell, wherein the first cell is a cell in which the terminal device receives the first access control parameter set and the first auxiliary parameter set.
2 . The method according to claim 1 , further comprising: determining that the access identity of the terminal device is the access identity of the first category based on a predefined correspondence between the access identity of the first category and an application scenario of the terminal device.
3 . The method according to claim 1 , wherein an access control parameter included in the first access control parameter set comprises an access identity control parameter for indicating an access identity to which the first access control parameter set is applicable.
4 . The method according to claim 1 , wherein the first access control parameter set corresponds to an access category of the terminal device, the first auxiliary parameter set corresponds to the access category of the terminal device; and
wherein determining the first access control parameter set is applicable to the terminal device comprises: based on the access identity of the terminal device and the access category of the terminal device.
5 . The method according to claim 1 , wherein the at least one access control parameter set and the at least one auxiliary parameter set are included in a system information block received from a network device.
6 . The communication method of claim 1 , further comprising:
determining, based on the access identity without using an access category, that the terminal device applies the first access control parameter set;
wherein a first terminal device belongs to a first type, terminal devices of a same type have a same access class, and terminal devices of different types meet one or more of the following conditions:
the terminal devices of different types support different bandwidths;
the terminal devices of different types support different quantities of antennas;
the terminal devices of different types have different application scenarios;
the terminal devices of different types support different maximum data transmission rates; or
the terminal devices of different types support different maximum transport block sizes.
7 . The method according to claim 1 , wherein the access identity of the first category is an access identity for user equipment (UE) for which a disaster condition applies.
8 . The method according to claim 1 , wherein the method further comprises:
in response to determining that the terminal device is barred from accessing the first cell, starting a timer, wherein a duration of the timer is set based on the access barring time.
9 . The method according to claim 8 , wherein during the duration of the timer, the terminal device is barred from accessing the first cell.
10 . A non-transitory computer-readable storage medium, wherein the computer-readable storage medium is configured to store a computer program, and when the computer program is run on a computer, the computer is caused to perform the method according to claim 1 .
11 . A chip, comprising one or more processors and a communication interface, wherein the one or more processors are configured to read instructions, to perform the method according to claim 1 .
12 . A terminal device, comprising:
one or more processors;
one or more non-transitory memories; and
one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprise instructions, and when the instructions are executed by the one or more processors in the terminal device, the terminal device is caused to perform the method according to claim 1 .
13 . A communication method, performed by a network device or a chip configured for a network device, wherein the method comprises:
determining at least one access control parameter set and at least one auxiliary parameter set, wherein the at least one access control parameter set and the at least one auxiliary parameter set are used to determine whether a terminal device is allowed to access a first cell, wherein the at least one access control parameter set comprises a first access control parameter set, the first access control parameter set comprising a barring factor and an access barring time, wherein the at least one auxiliary parameter set comprises a first auxiliary parameter set, the first auxiliary parameter set comprising an access barring probability and being applicable to terminal devices of an access identity of a first category, wherein the access barring probability is used to determine whether the terminal device is allowed to access the first cell; and
sending the at least one access control parameter set and at least one auxiliary parameter set.
14 . The method according to claim 13 , wherein an access control parameter included in the first access control parameter set comprises an access identity control parameter for indicating an access identity to which the at least one access control parameter set is applicable.
15 . The method according to claim 13 , wherein the first auxiliary parameter set corresponds to the access identity of the terminal device and an access category of the terminal device, and the first access control parameter set corresponds to the access identity of the terminal device and the access category of the terminal device.
16 . The method according to claim 13 , wherein the at least one access control parameter set and the at least one auxiliary parameter set are included in a system information block sent by the network device.
17 . The method according to claim 13 , wherein the access identity of the first category is an access identity for user equipment (UE) for which a disaster condition applies.
18 . The method according to claim 13 , wherein the access barring time is configured to set a duration of a timer used by the terminal device when the terminal device is barred from accessing the first cell.
19 . The method according to claim 18 , wherein the access barring time is configured such that during the duration of the timer, the terminal device is barred from accessing the first cell.
20 . A network device, comprising:
one or more processors;
one or more non-transitory memories; and
one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprise instructions, and when the instructions are executed by the one or more processors in the network device, the network device is caused to perform the method according to claim 13 .