A computer-implemented login method, comprising: generating dynamic information for login, comprising randomly generating information of a plurality of color changes based on a plurality of colors to obtain a random combination of changes in color or randomly generating a plurality of information indicating changes in blink length based on a plurality of blink lengths to obtain a random combination of changes in blink length, the dynamic information for login comprising the random combination of changes in color or the random combination of changes in blink length; displaying the dynamic information for login to a user; receiving a first EEG signal that is generated by the user based on the displayed dynamic information and that is monitored by a monitoring device, and a unique identification signal of EEG of the user, wherein the unique identification signal of EEG of the user is a user-specific unique EEG feature code that comprises a EEG feature code that is unique to the user and enables to effectively identify the user among a plurality of users; matching the unique identification signal of EEG of the user in an identity authentication library, wherein pre-collected unique identification information of EEG that correspond to the plurality of users is stored in the identity authentication library; identifying a target user that corresponds to the matched unique identification signal of EEG of the user in the identity authentication library; obtaining a second EEG signal of the target user that corresponds to the dynamic information for login, comprising obtaining the second EEG signal of the target user based on pre-collected EEG signals of the target user stored in a login authentication library that correspond to the dynamic information for login, wherein the login authentication library stores pre-collected EEG signals of each of the plurality of users collected from each of the plurality of users in response to the display of each of the plurality of colors or the display of each of the plurality of blink lengths, respectively; matching the first EEG signal with the second EEG signal; and logging in when the first EEG signal successfully matches the second EEG signal. generating dynamic information for login, comprising randomly generating information of a plurality of color changes based on a plurality of colors to obtain a random combination of changes in color or randomly generating a plurality of information indicating changes in blink length based on a plurality of blink lengths to obtain a random combination of changes in blink length, the dynamic information for login comprising the random combination of changes in color or the random combination of changes in blink length; displaying the dynamic information for login to a user; receiving a first EEG signal that is generated by the user based on the displayed dynamic information and that is monitored by a monitoring device, and a unique identification signal of EEG of the user, wherein the unique identification signal of EEG of the user is a user-specific unique EEG feature code that comprises a EEG feature code that is unique to the user and enables to effectively identify the user among a plurality of users; matching the unique identification signal of EEG of the user in an identity authentication library, wherein pre-collected unique identification information of EEG that correspond to the plurality of users is stored in the identity authentication library; identifying a target user that corresponds to the matched unique identification signal of EEG of the user in the identity authentication library; obtaining a second EEG signal of the target user that corresponds to the dynamic information for login, comprising obtaining the second EEG signal of the target user based on pre-collected EEG signals of the target user stored in a login authentication library that correspond to the dynamic information for login, wherein the login authentication library stores pre-collected EEG signals of each of the plurality of users collected from each of the plurality of users in response to the display of each of the plurality of colors or the display of each of the plurality of blink lengths, respectively; matching the first EEG signal with the second EEG signal; and logging in when the first EEG signal successfully matches the second EEG signal.