According to a fourth aspect, a network device is provided. The network device has a function of implementing the method according to the first aspect. The function may be implemented by hardware or may be implemented by hardware by executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing function.
According to a fifth aspect, a network device is provided, and includes a processor and a memory. The memory is configured to store a computer-executable instruction. When the network device runs, the processor executes the computer-executable instruction stored in the memory, to enable the network device to perform the authentication method according to any design in the first aspect.
According to a sixth aspect, a network device is provided, and includes a processor. The processor is configured to be coupled to a memory and read an instruction in the memory, to perform the authentication method according to any design in the first aspect based on the instruction.
According to a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores an instruction. When the instruction is run on a computer, the computer is enabled to perform the authentication method according to any design in the first aspect.
According to an eighth aspect, a computer program product including an instruction is provided. When the computer program product is run on a computer, the computer is enabled to perform the authentication method according to any design in the first aspect.