Patent ID: 11882227
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for cloud-platform authentication based on blockchain, wherein the method comprises:
in response to a cloud platform being created, generating a random character string and performing hash operation to the random character string to obtain a first hash value;
in response to creation of a user in the cloud platform, based on current timestamp information and a user-name character string, performing operation to obtain a unique user identity document (ID);
acquiring information of a hardware-authentication key, generating a unique authentication ID according to the information, writing the unique authentication ID into the hardware-authentication key as a first ID, writing the unique user ID into the hardware-authentication key as a second ID, and binding the unique user ID and the unique authentication ID at the cloud platform;
in response to completion of the creation of the user in the cloud platform, generating a first password and a second password; performing operation to obtain a second hash value based on the first password and the first hash value, and writing a hash chain table including the first hash value and the second hash value into the hardware-authentication key;
in response to the hardware-authentication key being inserted into the cloud platform, acquiring the hash values in the hash chain table, the first ID and the second ID of the hardware-authentication key, and comparing with a final hash value in the hash chain table, the unique authentication ID and the unique user ID that are stored in the cloud platform respectively for authentication;
in response to the authentication being passed, giving a scope of logging-in according to a permission of the user; and
in response to the authentication being not passed, not allowing to loci in the cloud platform.