Communication method for performing cross-network access control and associated communication apparatus, medium, and chip
The present disclosure relates to communication methods, apparatuses, mediums, and chips. In one example communication method, a target access network device receives first information, where the first information indicates a relationship between a first network slice in a first network and a second network slice in a second network, and the first network is different from the second network. The target access network device performs access control from a terminal device to the target access network device based on at least the first information.
1 . A communication method, comprising:
receiving, by a target access network device, first information from a core network device, wherein the first information indicates a relationship between a first network slice in a first network and a second network slice in a second network, and the first network is different from the second network;
receiving, by the target access network device, second information from a source access network device, wherein the second information comprises an identifier of a third network slice allowed to be used by a terminal device in the second network; and
performing, by the target access network device, access control from the terminal device to the target access network device based on at least the first information and the second information, wherein performing access control from the terminal device to the target access network device comprises determining whether the terminal device is allowed to access a target network supported by the target access network device.
2 . The communication method according to claim 1 , wherein the first information comprises an identifier of the first network, an identifier of the first network slice, an identifier of the second network, and an identifier of the second network slice.
3 . The communication method according to claim 2 , wherein the identifier of the first network and the identifier of the second network comprise respective public land mobile network identifiers of the first network and the second network, and
the identifier of the first network slice and the identifier of the second network slice comprise respective single network slice selection assistance information of the first network slice and the second network slice.
4 . The communication method according to claim 1 , wherein
the first network is a serving network of the terminal device.
5 . The communication method according to claim 4 , wherein the second network comprises the target network of the terminal device.
6 . A communication apparatus, implemented at a target access network device, comprising:
a first receiver, the first receiver configured to receive first information, wherein the first information indicates a relationship between a first network slice in a first network and a second network slice in a second network, and the first network is different from the second network;
a second receiver, the second receiver configured to receive second information from a source access network device, wherein the second information comprises an identifier of a third network slice allowed to be used by a terminal device in the second network;
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to perform access control from the terminal device to the target access network device based on at least the first information and the second information, wherein performing access control from the terminal device to the target access network device comprises determining whether the terminal device is allowed to access a target network supported by the target access network device.
7 . The communication apparatus according to claim 6 , wherein the first receiver is further configured to receive the first information from a core network device.
8 . The communication apparatus according to claim 6 , wherein the first receiver is further configured to:
receive the first information for the terminal device from the source access network device, wherein the first network is a serving network of the terminal device.
9 . The communication apparatus according to claim 6 , wherein the first information comprises an identifier of the first network, an identifier of the first network slice, an identifier of the second network, and an identifier of the second network slice.
10 . The communication apparatus according to claim 9 , wherein the identifier of the first network and the identifier of the second network comprise respective public land mobile network identifiers of the first network and the second network, and
the identifier of the first network slice and the identifier of the second network slice comprise respective single network slice selection assistance information of the first network slice and the second network slice.
11 . The communication apparatus according to claim 6 , wherein the first network is a serving network of the terminal device.
12 . The communication apparatus according to claim 11 , wherein the second network comprises the target network of the terminal device.
13 . A non-transitory computer-readable storage media comprising instructions which, when executed by one or more processors of a target access network device, cause the one or more processors to perform operations comprising:
receiving first information, wherein the first information indicates a relationship between a first network slice in a first network and a second network slice in a second network, and the first network is different from the second network;
receiving second information from a source access network device, wherein the second information comprises an identifier of a third network slice allowed to be used by a terminal device in the second network; and
performing access control from the terminal device to the target access network device based on at least the first information and the second information, wherein performing access control from the terminal device to the target access network device comprises determining whether the terminal device is allowed to access a target network supported by the target access network device.
14 . The non-transitory computer-readable storage media according to claim 13 , wherein the first information is received from a core network device.
15 . The non-transitory computer-readable storage media according to claim 13 , wherein the first information is received for the terminal device from the source access network device, and wherein the first network is a serving network of the terminal device.
16 . The non-transitory computer-readable storage media according to claim 13 , wherein the first information comprises an identifier of the first network, an identifier of the first network slice, an identifier of the second network, and an identifier of the second network slice.
17 . The non-transitory computer-readable storage media according to claim 16 , wherein the identifier of the first network and the identifier of the second network comprise respective public land mobile network identifiers of the first network and the second network, and
the identifier of the first network slice and the identifier of the second network slice comprise respective single network slice selection assistance information of the first network slice and the second network slice.
18 . The non-transitory computer-readable storage media according to claim 13 , wherein the first network is a serving network of the terminal device.
19 . The non-transitory computer-readable storage media according to claim 18 , wherein the second network comprises the target network of the terminal device.