An identity verification method, comprising: receiving an identity verification request from a to-be-verified device, wherein the identity verification request comprises device environment information of the to-be-verified device, and is used for requesting identity verification of a user corresponding to the to-be-verified device; determining a credibility of the to-be-verified device according to historical feature information and the device environment information, wherein the historical feature information comprises device environment information of a historical device; and determining, according to the credibility of the to-be-verified device, an identity verification policy for performing identity verification on the user, so as to perform identity verification according to the identity verification policy, wherein the determining a credibility of the to-be-verified device according to historical feature information and the device environment information comprises: determining a feature vector corresponding to the to-be-verified device according to the device environment information when a type of information comprised in the device environment information matches a preset information type; and inputting the feature vector to a device verification model, and determining the credibility of the to-be-verified device by using the device verification model, characterized in that the device verification model is configured to determine, based on device environment information, a credibility label of a device that sends the identity verification request and a probability that the identity verification request is predicted as a credible request, wherein a credibility of the device is embodied in the credibility label of the device and the probability that the identity verification request is predicted as the credible request. receiving an identity verification request from a to-be-verified device, wherein the identity verification request comprises device environment information of the to-be-verified device, and is used for requesting identity verification of a user corresponding to the to-be-verified device; determining a credibility of the to-be-verified device according to historical feature information and the device environment information, wherein the historical feature information comprises device environment information of a historical device; and determining, according to the credibility of the to-be-verified device, an identity verification policy for performing identity verification on the user, so as to perform identity verification according to the identity verification policy, wherein the determining a credibility of the to-be-verified device according to historical feature information and the device environment information comprises: determining a feature vector corresponding to the to-be-verified device according to the device environment information when a type of information comprised in the device environment information matches a preset information type; and inputting the feature vector to a device verification model, and determining the credibility of the to-be-verified device by using the device verification model, determining a feature vector corresponding to the to-be-verified device according to the device environment information when a type of information comprised in the device environment information matches a preset information type; and inputting the feature vector to a device verification model, and determining the credibility of the to-be-verified device by using the device verification model, characterized in that the device verification model is configured to determine, based on device environment information, a credibility label of a device that sends the identity verification request and a probability that the identity verification request is predicted as a credible request, wherein a credibility of the device is embodied in the credibility label of the device and the probability that the identity verification request is predicted as the credible request.