Patent ID: 11972002
Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 8:
9. An electronic device comprising:
a storage device;
at least one processor; and
the storage device storing one or more programs, which when executed by the at least one processor, cause the at least one processor to:
in response to a login request of logging in to the operating system from a user terminal, obtain a distributed identity document corresponding to the login request by querying a blockchain;
extract a target public key from the distributed identity document;
generate a first character string, and obtain an encrypted first character string by encrypting the first character string using the target public key;
send the encrypted first character string to the user terminal;
receive a second character string from the user terminal, the second character string being a character string obtained by the user terminal decrypting the encrypted first character string using a private key; and
determine whether to allow the user terminal to log in to the operating system according to the first character string and the second character string.