US 12,231,565 B2
Login authentication method, apparatus, and system
Long Lin, Shenzhen (CN); and Huitao Cheng, Shenzhen (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Appl. No. 17/793,322
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
PCT Filed Oct. 30, 2020, PCT No. PCT/CN2020/125209
§ 371(c)(1), (2) Date Jul. 15, 2022,
PCT Pub. No. WO2021/143280, PCT Pub. Date Jul. 22, 2021.
Claims priority of application No. 202010060167.2 (CN), filed on Jan. 19, 2020.
Prior Publication US 2023/0353363 A1, Nov. 2, 2023
Int. Cl. H04L 9/32 (2006.01); G06F 21/33 (2013.01); G06F 21/35 (2013.01); H04L 9/40 (2022.01); H04W 12/06 (2021.01); H04W 12/069 (2021.01); H04W 12/50 (2021.01); H04W 4/40 (2018.01); H04W 4/80 (2018.01)
CPC H04L 9/3213 (2013.01) [G06F 21/335 (2013.01); G06F 21/35 (2013.01); H04L 63/0807 (2013.01); H04W 12/06 (2013.01); H04W 12/069 (2021.01); H04W 12/50 (2021.01); H04L 63/0853 (2013.01); H04W 4/40 (2018.02); H04W 4/80 (2018.02)] 11 Claims
OG exemplary drawing
 
1. A login authentication method, applied to a first terminal and comprising:
obtaining a short-distance communication identifier of a second terminal, wherein obtaining the short-distance communication identifier of the second terminal comprises:
obtaining the short-distance communication identifier of the second terminal when the first terminal stores a first token and is in a logout state, wherein the first token is applied for by the first terminal from the server by logging into the target account in advance; and
wherein automatically logging into the target account comprises:
in response to a verification of the first token succeeding, automatically logging into the target account;
in response to determining that the second terminal is a trusted device based on the short-distance communication identifier;
establishing a short-distance communication connection to the second terminal;
sending a check code request to the server, wherein the check code request carries the first token, and the check code request indicates the server to return a check code when the verification of the first token succeeds;
receiving the check code returned by the server, and sending the check code to the second terminal, to indicate the second terminal to send the check code to the server for a verification;
determining that the verification of the check code succeeds; and
obtaining a second token of the second terminal;
and
verifying validity of the second token by using a server, wherein the second token is applied for by the second terminal from the server by logging into a target account in advance; and
in response to the verification of the second token succeeding, automatically logging into the target account.