The communications device 400 may be a general-purpose device or a special-purpose device. During specific implementation, the communications device 400 may be a desktop computer, a portable computer, a network server, a palmtop computer (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, or a device with a structure similar to that in
The following describes in detail an authentication method provided in the embodiment of this application with reference to
It should be noted that in the following embodiments of this application, names of messages between network elements, names of parameters in messages, or the like are merely examples, and there may be other names during specific implementation. This is not specifically limited in the embodiment of this application.
First, an example in which the authentication system shown in
S501: An NG-RG sends a registration request message to a W-5GAN device.
Correspondingly, the W-5GAN device receives the registration request message from the NG-RG.