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

Claim 16:
17. A non-transitory storage medium having stored thereon at least one computer-readable instructions, which when executed by a processor of an electronic device, causes the processor to perform a method of logging in to an operating system, wherein the method comprises:
in response to a login request of logging in to the operating system from a user terminal, obtaining a distributed identity document corresponding to the login request by querying a blockchain;
extracting a target public key from the distributed identity document;
generating a first character string, and obtaining an encrypted first character string by encrypting the first character string using the target public key;
sending the encrypted first character string to the user terminal;
receiving 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
determining whether to allow the user terminal to log in to the operating system according to the first character string and the second character string.