Patent ID: 11910197
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: IT methods for management (Electrical engineering)
Classification: CPC B  H  G | IPC H

Claim 19:
20. A system, comprising:
a first device; and
a second device,
wherein the first device comprises:
a first memory configured to store first instructions; and
a first processor coupled to the first memory and configured to execute the first instructions to cause the first device to:
receive a first identifier from the second device, wherein the first identifier is received from the second device after the second device receives a trigger request used to perform a first service, wherein the first identifier is in a first state or a second state, wherein the first service is an unlocking service or a payment service, wherein that the first identifier is in the first state indicates that a location of the second device or a location of the first device is abnormal, and wherein that the first identifier is in the second state indicates that the location of the first device or the location of the second device is normal; and
if the first device determines, based on the received first identifier in the first state, to perform authentication and the authentication succeeds, send a second identifier to the second device, wherein the second identifier indicates that it is determined to perform the first service; or
if the first device determines, based on the received first identifier in the second state, not to perform authentication, send first information to the second device, wherein the first information comprises first location information and a third identifier, wherein the first location information is location information of the first device, wherein the third identifier indicates that the location of the first device and the location of the second device are normal when the first identifier is in the second state, and wherein the first identifier in the first state, the first identifier in the second state, the second identifier, and the third identifier are different identifiers; and

wherein the second device comprises:
a second memory configured to store second instructions; and
a second processor coupled to the second memory and configured to execute the second instructions to cause second device to:
receive a trigger request used to perform a first service, wherein the first service is an unlocking service or a payment service;
send a first identifier to a first device, wherein the first identifier is in a first state or a second state, wherein that the first identifier is in the first state indicates that a location of the second device or a location of the first device is abnormal, and wherein that the first identifier is in the second state indicates that the location of the second device is normal; and
perform the first service if the second device receives a second identifier from the first device, wherein the second identifier indicates that it is determined to perform the first service; or
if the second device receives a third identifier and first location information that are received from the first device, determine based on the first location information, whether the location of the first device is valid, wherein the first location information is location information of the first device, wherein the third identifier indicates that the location of the first device and the location of the second device are normal the first identifier is in the second state, and wherein the first identifier in the first state, the first identifier in the second state, the second identifier, and the third identifier are different identifiers; and
perform the first service if the location of the first device is valid.