Method and device for authenticating identity of user based on transaction data

The invention relates to a method and device for authenticating the identity of a user based on transaction data. The method comprises the following steps: obtaining historical transaction data associated with an account according to account information provided by the user, generating one or more test problems according to the historical transaction data, providing the one or more test problems for the user, receiving answers of the one or more test problems from the user, and judging whether the user passes authentication according to the answers.