The communications line 402 may include a path for transmitting information between the foregoing components.
The communications interface 404 is configured to communicate with another device or a communications network such as Ethernet, a radio access network (RAN), or a wireless local area network (WLAN) by using any apparatus such as a transceiver.
The memory 403 may be a read-only memory (ROM) or another type of static storage device that can store static information and an instruction, or a random access memory (RAM) or another type of dynamic storage device that can store information and an instruction. Alternatively, the memory 403 may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another compact disc storage, optical disc storage (including a compact optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, or the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be used to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer. However, the memory 403 is not limited thereto. The memory may exist independently, and is connected to the processor through the communications line 402. Alternatively, the memory may be integrated with the processor.
The memory 403 is configured to store a computer-executable instruction for executing the solutions of this application, and the processor 401 controls the execution. The processor 401 is configured to execute the computer-executable instruction stored in the memory 403, to implement an authentication method provided in the following embodiments of this application.