Authentication method, device and equipment

By receiving the authentication request of the device to be authenticated and the local current time, outputting the authorization option and accepting the selection input, the contradiction between security and convenience of the existing authentication methods is solved, and an efficient, accurate and convenient authentication process is achieved.

CN119696792APending Publication Date: 2025-03-25GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411718343.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

There is a contradiction between security and convenience in the existing authentication methods. For example, username and password verification is complex and inconvenient for frequent use, mobile phone number verification code verification is affected by mobile phone signals, APP scanning code verification requires additional download of APP, and third-party account authorization login has the problem of account mutual communication and exclusion.

Method used

By receiving the authentication request sent by the device to be authenticated and the local current time, recording the reception time, outputting the authorization option within the legal time difference range, accepting the selection input, and sending the authorization result based on the input results, realizing authentication.

Benefits of technology

This method does not require users to enter complex passwords or verification codes, which reduces user operation steps during the authentication process, improves the convenience and efficiency of authentication, and ensures the accuracy and security of authentication through time difference and legality detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696792A_ABST
    Figure CN119696792A_ABST
Patent Text Reader

Abstract

The invention discloses an authentication method, device and equipment, and relates to the technical field of communication. Under the condition that the method is applied to authentication equipment, the method comprises the following steps: receiving an authentication request sent by to-be-authenticated equipment and local current time T2, the local current time T2 being the local current time of the to-be-authenticated equipment side when the to-be-authenticated equipment sends the authentication request to the authentication equipment; recording a local current time T3 when the authentication request and the local current time T2 are received; when the time difference between the local current time T3 and the local current time T2 is smaller than a first duration and the authentication request is legal, a first authorization option is output, and the first authorization option comprises an authorization option and an unauthorized option; receiving a first selection input for the first authorization option; according to the first selection input, a first authorization result and local current time T3 are sent to the to-be-authenticated device, and the first authorization result comprises authorization and non-authorization. The method provides a new authentication mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to an authentication method, device and equipment. Background Art

[0002] Authentication refers to verifying whether the user has the right to access the system. Through the authentication function, the user's rights and interests can be protected from threats and illegal intrusions can be prevented. Common authentication methods include username and password verification, mobile phone number verification code verification, APP scan code verification, third-party account authorization login, etc.

[0003] However, for the username and password verification method, the password that meets the security strength is relatively complex and is not convenient for frequent use for verification; for the mobile phone number verification code verification method, if the mobile phone signal is not good, there may be a long delay, or even the SMS verification code cannot be received; for the APP scan code verification method, it may be necessary to download the APP additionally, and the APP needs to apply for camera or album permissions; for the method of using a third-party account to authorize login, many people do not like the communication between different accounts and reject this login method.

[0004] Therefore, how to provide a new authentication method becomes a technical problem that needs to be solved urgently. Summary of the invention

[0005] One object of the present application is to provide a new technical solution for authentication.

[0006] According to a first aspect of the present application, an authentication method is provided, which is applied to an authentication device, and the method includes:

[0007] Receiving an authentication request and a local current time T2 sent by the device to be authenticated, wherein the local current time T2 is the local current time of the device to be authenticated when the device to be authenticated sends the authentication request to the authentication device;

[0008] Record the local current time T3 when the authentication request and the local current time T2 are received;

[0009] When the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal, output a first authorization option, wherein the first authorization option includes an authorization option and a non-authorization option;

[0010] receiving a first selection input for the first authorization option;

[0011] According to the first selection input, a first authorization result and the local current time T3 are sent to the device to be authenticated, where the first authorization result includes authorization and non-authorization.

[0012] Optionally, before receiving the authentication request sent by the device to be authenticated and the local current time T2, the method further includes:

[0013] Receiving a preparation operation instruction and a local current time T0 sent by the device to be authenticated, wherein the local current time T0 is the local current time of the device to be authenticated when the device to be authenticated sends the preparation operation instruction to the authentication device;

[0014] Record the local current time T1 when the preparation operation instruction and the local current time T0 are received;

[0015] When the time difference between the local current time T0 and the local current time T1 is less than the first time length and the preparation operation instruction is legal, sending a preparation completion waiting operation instruction and the local current time T1 to the device to be authenticated;

[0016] The outputting of the first authorization option when the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal includes:

[0017] When the time difference between the local current time T3 and the local current time T2 is less than the first duration, the authentication request is legal, and the time difference between the local current time T3 and the local current time T1 is less than the third duration, the first authorization option is output.

[0018] Optionally, after sending the first authorization result and the local current time T3 to the device to be authenticated according to the first selection input, the method further includes:

[0019] In the case where the first selection input represents the selection of an authorization option, a second authorization option is output, wherein the second authorization option includes: a cancellation authorization option and an authorization option within a preset time period;

[0020] receiving a second selection input for the second authorization option;

[0021] According to the second selection input, a second authorization result and the local current time T5 are sent to the device to be authenticated, where the second authorization result includes cancellation of authorization and authorization within a preset time period.

[0022] Optionally, the receiving a first selection input for the first authorization option comprises:

[0023] Acquire a selection signal for the first authorization option;

[0024] In the case where the selection signal is a legitimate selection signal, determining a first selection input for the first authorized option according to the selection signal;

[0025] Wherein, the selection signal is a sound signal or a fingerprint signal.

[0026] According to a second aspect of the present application, an authentication method is provided, which is applied to a device to be authenticated, and the method includes:

[0027] When the target operation is triggered, an authentication request and the local current time T2 are sent to the authentication device;

[0028] Receiving a first authorization result and a local current time T3 sent by the authentication device, where the local current time T3 is the local current time when the authentication device receives the authentication request and the local current time T2;

[0029] Recording the local current time T4 when the first authorization result and the local current time T3 are received;

[0030] If the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration, the target operation is performed.

[0031] Optionally, sending the authentication request and the local current time T2 to the authentication device includes:

[0032] Sending a preparation operation instruction and the local current time T0 to the authentication device;

[0033] Receive a preparation completion waiting operation instruction and a local current time T1 sent by the authentication device, where the local current time T1 is the local current time on the authentication device side when the authentication device receives the preparation operation instruction and the local current time T0 sent by the device to be authenticated;

[0034] Record the local current time T2 when the preparation completion waiting operation instruction and the local current time T1 are received;

[0035] When the prepare to complete waiting operation instruction is legal, the time difference between the local current time T2 and the local current time T1 is less than the first duration, and the time difference between the local current time T2 and the local current time T0 is less than the third duration, an authentication request and the local current time T2 are sent to the authentication device.

[0036] Optionally, after performing the target operation, the method further includes:

[0037] Receive a second authorization result and a local current time T5 sent by the authentication device, where the local current time T5 is the local current time on the authentication device side when the authentication device sends the second authorization result to the device to be authenticated;

[0038] Recording the local current time T6 when the second authorization result and the local current time T5 are received;

[0039] If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is to cancel the authorization, repeat the step of sending the authentication request and the local current time T2 to the authentication device when the target operation is triggered;

[0040] If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is authorization within a preset time period, and if the target operation is triggered within the preset time period, execute the target operation;

[0041] When the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is a preset time period authorization, and the target operation is triggered outside the preset time period, repeat the step of sending an authentication request and the local current time T2 to the authentication device when the target operation is triggered.

[0042] According to a third aspect of the present application, an authentication device is provided, which is applied to an authentication device, and the device includes:

[0043] A first receiving module, configured to receive an authentication request sent by a to-be-authenticated device and a local current time T2, wherein the local current time T2 is the local current time of the to-be-authenticated device when the to-be-authenticated device sends the authentication request to the authentication device;

[0044] A first recording module, used to record the local current time T3 when the authentication request and the local current time T2 are received;

[0045] A first output module, configured to output a first authorization option when the time difference between the local current time T3 and the local current time T2 is less than a first duration and the authentication request is legal, wherein the first authorization option includes an authorization option and a non-authorization option;

[0046] A second receiving module, configured to receive a first selection input for the first authorization option;

[0047] The first sending module is used to send a first authorization result and a local current time T3 to the device to be authenticated according to the first selection input, wherein the first authorization result includes authorization and non-authorization.

[0048] According to a fourth aspect of the present application, an authentication device is provided, which is applied to a device to be authenticated, and the device includes:

[0049] A second sending module is used to send an authentication request and a local current time T2 to the authentication device when the target operation is triggered;

[0050] A third receiving module, used to receive the first authorization result and the local current time T3 sent by the authentication device, where the local current time T3 is the local current time when the authentication device receives the authentication request and the local current time T2;

[0051] A second recording module, used for recording the local current time T4 when the first authorization result and the local current time T3 are received;

[0052] An execution module is used to execute the target operation when the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration.

[0053] According to a fifth aspect of the present application, an electronic device is provided, the electronic device being an authentication device, the electronic device comprising the authentication device as described in the third aspect;

[0054] Alternatively, the electronic device is a device to be authenticated, and the electronic device includes the authentication device as described in the fourth aspect;

[0055] Alternatively, it includes a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the first aspect and the second aspect.

[0056] According to a sixth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspect and the second aspect is implemented.

[0057] The present application also provides an authentication method, which is applied to an authentication device, and the method includes: receiving an authentication request and a local current time T2 sent by the device to be authenticated, the local current time T2 being the local current time of the device to be authenticated when the device to be authenticated sends an authentication request to the authentication device; recording the local current time T3 when the authentication request and the local current time T2 are received; when the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal, outputting a first authorization option, the first authorization option including an authorization option and a non-authorization option; receiving a first selection input for the first authorization option; according to the first selection input, sending a first authorization result and the local current time T3 to the device to be authenticated, the first authorization result including authorization and non-authorization. In the authentication method, when the device to be authenticated performs a target operation such as a sensitive operation, the authenticator can realize the authorization of the device to be authenticated by selecting authorization and non-authorization on the authentication device, that is, the method provides a new authentication method. The method does not require the authenticator to enter a username and password, a mobile phone number verification code, scan a code using an APP, or authorize login using a third-party account. At the same time, the new authentication method also performs legitimacy detection on relevant instructions such as the interaction between the authentication request and the first authorization result during the authentication process, and determines the relevant time difference, thereby achieving accurate authorization of the authentication device to the authentication device.

[0058] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.

[0060] Figure 1 A hardware configuration of an electronic device for implementing an authentication method according to an embodiment of the present application is provided. Figure 1 ;

[0061] Figure 2 This is a schematic diagram of a process for implementing an authentication method according to an embodiment of the present application. Figure 1 ;

[0062] Figure 3 This is a schematic diagram of a process for implementing an authentication method according to an embodiment of the present application. Figure 2 ;

[0063] Figure 4 This is a schematic diagram of a process for implementing an authentication method according to an embodiment of the present application. Figure 3 ;

[0064] Figure 5This is a schematic diagram of a structure of an authentication device provided according to an embodiment of the present application. Figure 1 ;

[0065] Figure 6 This is a schematic diagram of a structure of an authentication device provided according to an embodiment of the present application. Figure 2 ;

[0066] Figure 7 A hardware configuration of an electronic device for implementing an authentication method according to an embodiment of the present application is provided. Figure 2 . DETAILED DESCRIPTION

[0067] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0068] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0069] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0070] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0071] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0072] Figure 1 A hardware configuration of an electronic device for implementing an authentication method according to an embodiment of the present application is provided. Figure 1 .

[0073] The electronic device 1000 is an authentication device or a device to be authenticated. The authentication device may be exemplarily a smart watch, a smart bracelet, a headset, etc., and the device to be authenticated may be exemplarily a smart phone, a portable computer, a tablet computer, etc.

[0074] The electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, and the like. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 1300 may include, for example, a USB interface, an earphone interface, and the like. The communication device 1400 may, for example, be capable of wired or wireless communication. The display device 1500 may be, for example, a liquid crystal display screen, a touch display screen, and the like. The input device 1600 may include, for example, a touch screen, a keyboard, and the like. The user may input / output voice information through the speaker 1700 and the microphone 1800.

[0075] Despite Figure 1 Multiple devices are shown for the electronic device 1000, but the present application may only involve some of the devices, for example, the electronic device 1000 only involves the memory 1200 and the processor 1100.

[0076] In the embodiment of the present application, the memory 1200 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1100 to execute the authentication method provided in the embodiment of the present application.

[0077] In the above description, the technician can design instructions according to the scheme disclosed in this application. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0078] The present application provides an authentication method, which is applied to a device to be authenticated, such as Figure 2 and Figure 4 As shown, the authentication method provided by the present application and applied to the device to be authenticated includes the following steps S2100 to S2400.

[0079] Step S2100: When the target operation is triggered, an authentication request and the local current time T2 are sent to the authentication device.

[0080] In this embodiment, the target operation is an operation that needs to be authenticated, usually some sensitive operations, such as the operation of changing a password. The target operation can be customized in advance in the device to be authenticated.

[0081] The device to be authenticated is bound to a legal authentication device that has been authenticated in advance. The device to be authenticated is held by the person to be authenticated, and the authentication device is held by the authenticator. The person to be authenticated and the authenticator can be the same person or different persons.

[0082] When the target operation is triggered, the device to be authenticated sends an authentication request to the bound authentication device to request the authentication device to authorize the device to be authenticated, so that the device to be authenticated can perform the target operation. In this embodiment, when the device to be authenticated sends the authentication request to the authentication device, it also sends the local current time T2 to the authentication device. It can be understood that the local current time T2 is the local current time of the device to be authenticated when the device to be authenticated sends the authentication request.

[0083] Corresponding to the above step S2100, when a non-target operation is triggered, the non-target operation can be directly executed, wherein the non-target operation is an operation other than the target operation.

[0084] Based on the above step S2100, the present application also provides an authentication method applied to an authentication device, the method is as follows: Figure 3 and Figure 4 As shown, it includes the following steps S3100 to S3500.

[0085] Step S3100: receiving an authentication request sent by the device to be authenticated and the local current time T2.

[0086] The local current time T2 is the local current time of the device to be authenticated when the device to be authenticated sends an authentication request to the authentication device.

[0087] Step S3200, record the local current time T3 when the authentication request is received and the local current time T2.

[0088] It can be understood that the local current time T3 is the local current time of the authentication device when the authentication device receives the authentication request sent by the device to be authenticated and the local current time T3.

[0089] Step S3300: When the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legitimate, output the first authorization option.

[0090] The first authorization option includes an authorization option and a non-authorization option.

[0091] Furthermore, the first authorization option may be outputted via voice or text, and this application does not limit the outputting method of the first authorization option.

[0092] In this embodiment, since the local current time T2 is the local current time on the device to be authenticated, and the local current time T3 is the local current time on the authentication device, that is, the local current time T2 is not synchronized with the local current time T3, the time difference between the local current time T3 and the local current time T2 is specifically the absolute value of the difference between the local current time T3 and the local current time T2.

[0093] The first duration is the sum of the maximum time difference between the device to be authenticated and the authentication device and the maximum time consumption of a network transmission allowed when both the device to be authenticated and the authentication device are in normal use (such as not offline). The first duration can be set based on experience. In an example, the first duration is 1 minute.

[0094] If the time difference between the local current time T3 and the local current time T2 is less than the first time length, it means that the device to be authenticated and the authentication device can be used normally. At the same time, if the authentication request is legal, it means that the received instruction is an authentication request sent by the device to be authenticated. At this time, the authentication device outputs the first authorization option for the authenticator to authenticate.

[0095] The authentication device stores legal instruction data format requirements, including the physical meanings and value ranges of different fields. The authentication device parses the instruction sent by the authentication device according to the legal instruction data format requirements to determine whether the authentication request is legal.

[0096] Corresponding to the above step S3300, when the time difference between the local current time T3 and the local current time T2 is not less than the first duration or the authentication request is legal, the first authorization result of not being authorized is directly output to the device to be authenticated.

[0097] Step S3400: receiving a first selection input for a first authorization option.

[0098] When the authenticator agrees to authorize the device to be authenticated, the authenticator performs the operation of selecting the authorization option. On the contrary, when the authenticator does not intend to authorize the device to be authenticated, the authenticator performs the operation of selecting the non-authorization option. In this embodiment, the operation of selecting the authorization option or the operation of selecting the non-authorization option performed by the authenticator on the authentication device side is recorded as the first selection input.

[0099] Step S3500: According to the first selection input, a first authorization result and the local current time T3 are sent to the device to be authenticated.

[0100] The first authorization result includes authorization and non-authorization.

[0101] In this embodiment, the local current time T3 is the local current time on the authorizing device side when the authorizing device sends the first authorization result to the device to be authenticated.

[0102] In the case where the first selection input is an operation of selecting an authorization option performed by the authenticator, the first authorization result is authorization. Conversely, in the case where the first selection input is an operation of selecting a non-authorization option performed by the authenticator, the first authorization result is non-authorization. Further, after determining the first authorization result, the first authorization result and the local current time T3 are sent to the device to be authenticated.

[0103] Based on the above step S3500, steps S2200 to S2400 in the authentication method applied to the device to be authenticated provided by the present application are as follows.

[0104] Step S2200: Receive the first authorization result and the local current time T3 sent by the authentication device.

[0105] The local current time T3 is the local current time of the device to be authenticated when the authentication device receives the authentication request sent by the device to be authenticated and the local current time T2.

[0106] Step 2300, record the local current time T4 when the first authorization result and the current time T3 are received.

[0107] The local current time T4 is the local current time of the device to be authenticated when the device to be authenticated receives the first authorization result sent by the authentication device and the local current time T3.

[0108] Step S2400, when the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration, execute the target operation.

[0109] The second time length is the sum of the maximum operation time length of the first selection input allowed by the authenticator and the maximum time length of two network transmissions allowed. The second time length can be set based on experience. In an exemplary embodiment, the second time length is 70 seconds.

[0110] The legitimacy of the first authorization result is determined in the same manner as the legitimacy of the authentication request, which will not be described in detail here.

[0111] If the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first time length, and the time difference between the local current time T4 and the local current time T2 is less than the second time length, it means that the device to be authenticated is authorized by the authenticator, the authentication is passed, and the target operation can be executed. At this time, the target operation is executed.

[0112] Corresponding to the above step S2400, if the first authorization result is not legal, the time difference between the local current time T4 and the local current time T3 is less than the first time length, and the time difference between the local current time T4 and the local current time T2 is less than any one of the second time lengths, it means that the authentication failed, and an error message is output to indicate that the authentication failed, and the target operation is not executed at this time.

[0113] Based on the above content, it can be known that the present application provides a new authentication method, in which, when the device to be authenticated performs a target operation such as a sensitive operation, the authenticator can authorize the device to be authenticated by selecting authorization or non-authorization on the authentication device. This method does not require the authenticator to enter a username and password, a mobile phone number verification code, scan a code using an APP, or authorize login using a third-party account. At the same time, during the authentication process, the new authentication method also performs a legitimacy check on the relevant instructions for the interaction between the authentication request and the first authorization result, and judges the relevant time difference, thereby realizing accurate authorization of the authentication device to the authentication device.

[0114] The present application provides an authentication method, which is applied to a device to be authenticated. The method includes: when a target operation is triggered, sending an authentication request and a local current time T2 to the authentication device; receiving a first authorization result and a local current time T3 sent by the authentication device, the local current time T3 being the local current time of the authentication device when receiving the authentication request and the local current time T2; recording the local current time T4 when the first authorization result and the local current time T3 are received; and executing the target operation when the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration. In the authentication method, when the device to be authenticated performs a target operation such as a sensitive operation, the authenticator can authorize the device to be authenticated by selecting authorization and non-authorization on the authentication device, that is, the method provides a new authentication method. The method does not require the authenticator to enter a username and password, a mobile phone number verification code, scan a code using an APP, or authorize login using a third-party account. At the same time, the new authentication method also performs legitimacy detection on relevant instructions such as the interaction between the authentication request and the first authorization result during the authentication process, and determines the relevant time difference, thereby achieving accurate authorization of the authentication device to the authentication device.

[0115] The present application also provides an authentication method, which is applied to an authentication device, and the method includes: receiving an authentication request and a local current time T2 sent by the device to be authenticated, the local current time T2 being the local current time of the device to be authenticated when the device to be authenticated sends an authentication request to the authentication device; recording the local current time T3 when the authentication request and the local current time T2 are received; when the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal, outputting a first authorization option, the first authorization option including an authorization option and a non-authorization option; receiving a first selection input for the first authorization option; according to the first selection input, sending a first authorization result and the local current time T3 to the device to be authenticated, the first authorization result including authorization and non-authorization. In the authentication method, when the device to be authenticated performs a target operation such as a sensitive operation, the authenticator can realize the authorization of the device to be authenticated by selecting authorization and non-authorization on the authentication device, that is, the method provides a new authentication method. The method does not require the authenticator to enter a username and password, a mobile phone number verification code, scan a code using an APP, or authorize login using a third-party account. At the same time, the new authentication method also performs legitimacy detection on relevant instructions such as the interaction between the authentication request and the first authorization result during the authentication process, and determines the relevant time difference, thereby achieving accurate authorization of the authentication device to the authentication device.

[0116] In one embodiment of the present application, Figure 4 As shown, in the authentication method provided by the present application and applied to the device to be authenticated, sending the authentication request and the local current time T2 to the authentication device in the above step S2100 is specifically implemented through the following steps S2110 to S2113.

[0117] Step S2110, sending a preparation operation instruction and the local current time T0 to the authentication device.

[0118] In this embodiment, the preparation operation instruction is to instruct the authentication device to prepare to output the first authorization option. The local current time T0 is the local current time of the device to be authenticated when the device to be authenticated sends the preparation operation instruction to the authentication device.

[0119] Corresponding to the above step S2110, as Figure 4 As shown, the authentication method applied to the authentication device provided by the present application further includes the following steps S3110 to S3112 before the above step S3100.

[0120] Step S3110, receiving a preparation operation instruction sent by the device to be authenticated and the local current time T0.

[0121] Step S3111, recording the local current time T1 when the preparation operation instruction and the local current time T0 are received.

[0122] It can be understood that the local current time T1 is the local current time of the authentication device when the authentication device receives the preparation operation instruction sent by the device to be authenticated and the local current time T0.

[0123] Step S3112: When the time difference between the local current time T0 and the local current time T1 is less than the first time length and the preparation operation instruction is legal, send a preparation completion waiting operation instruction and the local current time T1 to the device to be authenticated.

[0124] In this embodiment, the ready-completed waiting operation instruction is used to inform the authentication device that it is ready to output the first authorization option.

[0125] If the time difference between the local current time T0 and the local current time T1 is less than the first time length, it means that the device to be authenticated and the authentication device can be used normally. At the same time, if the preparation operation instruction is legal, it means that the authentication device has received the preparation operation instruction sent by the device to be authenticated. At this time, the authentication device prepares to output the first authorization option, and after the preparation is completed, it sends the preparation completion waiting operation instruction and the local current time T1 to the device to be authenticated.

[0126] Corresponding to the above step S3112, when the time difference between the local current time T0 and the local current time T1 is not less than the first duration and the preparation operation instruction is legal, a first authorization result of unauthorization is directly sent to the device to be authenticated.

[0127] Corresponding to the above step S3112, as Figure 4 As shown, in the authentication method provided by the present application and applied to the device to be authenticated, steps S2111 to S2113 are as follows.

[0128] Step S2111, receiving the ready-to-complete waiting operation instruction and the local current time T1 sent by the authentication device.

[0129] Step S2112, recording the local current time T2 when the ready to complete waiting operation instruction and the local current time T1 are received.

[0130] The local current time T2 is the local current time of the device to be authenticated when the device to be authenticated receives the ready-to-complete waiting operation sent by the authentication device and the local current time T1.

[0131] Step S2113, when the preparation is completed and the waiting operation instruction is legal, the time difference between the local current time T2 and the local current time T1 is less than the first time length, and the time difference between the local current time T2 and the local current time T0 is less than the third time length, send an authentication request and the local current time T2 to the authentication device.

[0132] The third time length is the sum of the maximum time length of two network transmissions allowed and the time length of instruction parsing. The third time length can be set based on experience. In one example, the third time length is 10 seconds.

[0133] When the device to be authenticated determines that the instruction to prepare to complete the waiting operation is legal, the authentication device determines that the authentication device sends the ready to complete the waiting operation, and the authentication device can quickly output the first authorization option. At the same time, when the time difference between the local current time T2 and the local current time T1 is less than the first duration, it means that the device to be authenticated and the authentication device can be used normally. And, when the time difference between the local current time T2 and the local current time T0 is less than the third duration, it means that the network is normal and not stuck. Therefore, when the instruction to prepare to complete the waiting operation is legal, the time difference between the local current time T2 and the local current time T1 is less than the first duration, and the time difference between the local current time T2 and the local current time T0 is less than the third duration, an authentication request and the local current time T2 are sent to the authentication device.

[0134] Corresponding to the above step S2113, if the conditions for the preparation and completion waiting operation instruction to be legal are not met, the time difference between the local current time T2 and the local current time T1 is less than the first time length, and the time difference between the local current time T2 and the local current time T0 is less than the third time length, it means that the authentication has failed, and an error message is output to indicate that the authentication has failed, and the target operation will not be executed at this time.

[0135] On the basis of the above steps S2110 to S2113, Figure 4 As shown, the above step S3300 is specifically implemented through the following step S3310.

[0136] Step S3310: output the first authorization option when the time difference between the local current time T3 and the local current time T2 is less than the first duration, the authentication request is legal, and the time difference between the local current time T3 and the local current time T1 is less than the third duration.

[0137] In this embodiment, when the time difference between the local current time T3 and the local current time T1 is less than the third duration, it is determined that the current network is normal. Therefore, when the time difference between the local current time T3 and the local current time T2 is less than the first duration, the authentication request is legal, and the time difference between the local current time T3 and the local current time T1 is less than the third duration, the first authorization option is output. In this way, normal interaction between the authentication device and the device to be authenticated can be achieved, which can provide a basis for accurately authorizing the device to be authenticated.

[0138] Based on the above content, before the device to be authenticated sends an authentication request and the local current time T2 to the authentication device, it first sends a preparation operation instruction and the local current time T0 to the authentication device, so that the authentication device can quickly enter the authentication mode, thereby reducing the waiting time of the person to be authenticated of the device to be authenticated.

[0139] In one embodiment of the present application, Figure 4 As shown, the authorization method applied to the authentication device provided in the present application further includes the following steps S3600 to S3800 after the above step S3500.

[0140] Step S3600: When the first selection input represents the selection of an authorization option, a second authorization option is output.

[0141] The second authorization option includes: a cancel authorization option and an authorization option within a preset time period.

[0142] In this embodiment, the second authorization option may be output in the form of voice or text, which is not limited in this application.

[0143] And, in the case where the first selection input represents the selection of the authorization option, the second authorization option is output to prompt the authenticator whether to cancel the authorization for the target operation subsequently triggered by the authentication device, or to authorize within a preset time period. The preset time period in the above step S3600 can be customized by the authenticator.

[0144] Step S3700: receiving a second selection input for a second authorization option.

[0145] If the authenticator agrees to cancel the authorization of the target operation subsequently triggered by the device to be authenticated, the authenticator performs the operation of selecting the option to cancel the authorization. Conversely, if the authenticator agrees to authorize the device to be authenticated for a preset period of time, the authenticator performs the operation of selecting the option to authorize within the preset period of time. In this embodiment, the operation of selecting the option to cancel the authorization or the operation of selecting the option to authorize within the preset period of time performed by the authenticator on the authentication device side is recorded as the second selection input.

[0146] Step S3800: According to the second selection input, a second authorization result and the local current time T5 are sent to the device to be authenticated.

[0147] The second authorization result includes authorization cancellation and authorization within a preset period. The local current time T5 is the local current time of the authentication device when the authentication device sends the second authorization result to the device to be authenticated.

[0148] In the case where the second selection input is an operation performed by the authenticator to select the option of canceling authorization, the second authorization result is canceling authorization. Conversely, in the case where the second selection input is an operation performed by the authenticator to select the option of authorization within a preset period, the second authorization result is authorization for a preset period. Further, after determining the second authorization result, the second authorization result and the local current time T5 are sent to the device to be authenticated.

[0149] Corresponding to the above steps S3600 to S3800, as Figure 4 As shown, the authorization method provided by the present application and applied to the device to be authenticated also includes the following steps S2500 to S2900.

[0150] Step S2500: receiving a second authentication result and a local current time T5 sent by an authentication device.

[0151] Step S2600, recording the local current time T6 when the second authorization result and the local current time T5 are received.

[0152] The local current time T6 is the local current time of the device to be authenticated when the device to be authenticated receives the second authorization result and the local current time T5.

[0153] Step S2700, when the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length and the second authorization result is cancellation of authorization, repeat the step of sending an authentication request and the local current time T2 to the authentication device when the target operation is triggered.

[0154] If the second authorization result is legal, determine that the authentication device sends the second authentication result to the authentication device. If the time difference between the local current time T6 and the local current time T5 is less than the first duration, it means that the device to be authenticated and the authentication device can be used normally. On this basis, if the second authorization result is to cancel the authorization, it is determined that it is still necessary to request the authentication device for authorization when performing the target operation later. At this time, repeat the above step S2100.

[0155] Step S2800, when the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is authorization within the preset time period, and the target operation is triggered within the preset time period, execute the target operation.

[0156] If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is authorized within the preset time period, it means that the target operation performed by the device to be authenticated within the preset time period is authorized. Therefore, if the target operation is triggered within the preset time period, the target operation can be directly executed.

[0157] Step 2900, when the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length and the second authorization result is a preset time period authorization, and the target operation is triggered outside the preset time period, repeat the step of sending an authentication request and the local current time T2 to the authentication device when the target operation is triggered.

[0158] If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the target operation is triggered outside the preset time period, it means that the target operation needs to be authorized by the authentication device again. At this time, the above step S2100 is repeated.

[0159] Corresponding to the above steps S2700 to S2900, if the second authorization result is illegal, or the time difference between the local current time T6 and the local current time T5 is not less than the first duration, the above step S2100 is repeated.

[0160] It should be noted that the target operation in the above steps S2700 to S2900 is a new target operation different from that in the above step S2100.

[0161] In one embodiment of the present application, the above step S3400 can be specifically implemented through the following steps S3410 and S3411.

[0162] Step S3410: obtaining a selection signal for selecting a first authorization option.

[0163] In this embodiment, the selection signal is a sound signal or a fingerprint signal.

[0164] Step S3411: when the selection signal is a legitimate selection signal, determine a first selection input for a first authorized option according to the selection signal.

[0165] In this embodiment, the authentication device pre-stores features of a legitimate authenticator, such as fingerprints or voices. On this basis, after the authenticator inputs a selection signal to the device to be authenticated, the authentication device first determines the legitimacy of the selection signal. For example, it determines whether the voiceprint feature corresponding to the sound signal matches the pre-stored voiceprint of the legitimate authenticator, and determines whether the fingerprint feature corresponding to the fingerprint signal matches the pre-stored fingerprint of the legitimate authenticator. If it is determined to be legitimate, the first selection input for the first authorization option is determined according to the selection signal.

[0166] Based on the above steps S3410 and S3411, the legitimacy of the identity of the authenticator can be judged, which can prevent an illegal authenticator from illegally authorizing the authentication device.

[0167] It can be understood that the above step S3700 can also be implemented similarly to the above step S3410 and step S3411.

[0168] The present application also provides an authorization device 500, which is applied to an authentication device, such as Figure 5 As shown, including:

[0169] The first receiving module 510 is used to receive an authentication request sent by the device to be authenticated and a local current time T2, where the local current time T2 is the local current time of the device to be authenticated when the device to be authenticated sends the authentication request to the authentication device;

[0170] A first recording module 520, configured to record the local current time T3 when the authentication request and the local current time T2 are received;

[0171] A first output module 530, configured to output a first authorization option when the time difference between the local current time T3 and the local current time T2 is less than a first duration and the authentication request is legal, wherein the first authorization option includes an authorization option and a non-authorization option;

[0172] A second receiving module 540, configured to receive a first selection input for the first authorization option;

[0173] The first sending module 550 is used to send a first authorization result and a local current time T3 to the device to be authenticated according to the first selection input, where the first authorization result includes authorization and non-authorization.

[0174] In one embodiment of the present application, the authentication device 500 provided by the present application further includes:

[0175] A fourth receiving module, configured to receive a preparation operation instruction and a local current time T0 sent by the device to be authenticated, wherein the local current time T0 is the local current time of the device to be authenticated when the device to be authenticated sends the preparation operation instruction to the authentication device;

[0176] A third recording module is used to record the local current time T1 when the preparation operation instruction and the local current time T0 are received;

[0177] A third sending module, configured to send a preparation completion waiting operation instruction and the local current time T1 to the device to be authenticated if the time difference between the local current time T0 and the local current time T1 is less than a first duration and the preparation operation instruction is legal;

[0178] In this embodiment, the first output module 530 is specifically used to output the first authorization option when the time difference between the local current time T3 and the local current time T2 is less than the first duration, the authentication request is legal, and the time difference between the local current time T3 and the local current time T1 is less than the third duration.

[0179] In one embodiment of the present application, the authorization device 500 provided by the present application further includes:

[0180] A second output module, configured to output a second authorization option when the first selection input represents a selection of an authorization option, wherein the second authorization option includes: a cancellation authorization option and an authorization option within a preset time period;

[0181] A fifth receiving module, configured to receive a second selection input for the second authorization option;

[0182] The fourth sending module is used to send a second authorization result and a local current time T5 to the device to be authenticated according to the second selection input, wherein the second authorization result includes cancellation of authorization and authorization within a preset time period.

[0183] In one embodiment of the present application, the second receiving module 540 is specifically configured to: obtain a selection signal for the first authorization option;

[0184] In the case where the selection signal is a legitimate selection signal, determining a first selection input for the first authorized option according to the selection signal;

[0185] Wherein, the selection signal is a sound signal or a fingerprint signal.

[0186] The present application also provides an authentication device 600, which is applied to a device to be authenticated, such as Figure 6 As shown, including:

[0187] The second sending module 610 is used to send an authentication request and a local current time T2 to the authentication device when the target operation is triggered;

[0188] The third receiving module 620 is used to receive the first authorization result and the local current time T3 sent by the authentication device, where the local current time T3 is the local current time when the authentication device receives the authentication request and the local current time T2;

[0189] A second recording module 630, configured to record the local current time T4 when the first authorization result and the local current time T3 are received;

[0190] The execution module 640 is used to execute the target operation when the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration.

[0191] In one embodiment of the present application, the authentication device 600 provided by the present application further includes:

[0192] A fifth sending module, used to send a preparation operation instruction and a local current time T0 to the authentication device;

[0193] A sixth receiving module, configured to receive a preparation completion waiting operation instruction and a local current time T1 sent by the authentication device, wherein the local current time T1 is the local current time of the authentication device when the authentication device receives the preparation operation instruction and the local current time T0 sent by the device to be authenticated;

[0194] A fourth recording module, used for recording the local current time T2 when the ready-to-complete waiting operation instruction and the local current time T1 are received;

[0195] The sixth sending module is used to send an authentication request and the local current time T2 to the authentication device when the prepare to complete waiting operation instruction is legal, the time difference between the local current time T2 and the local current time T1 is less than the first time length, and the time difference between the local current time T2 and the local current time T0 is less than the third time length.

[0196] In one embodiment of the present application, the authentication device 600 provided by the present application further includes:

[0197] A seventh receiving module, configured to receive a second authorization result and a local current time T5 sent by the authentication device, wherein the local current time T5 is the local current time on the authentication device side when the authentication device sends the second authorization result to the device to be authenticated;

[0198] A fourth recording module, used to record the local current time T6 when the second authorization result and the local current time T5 are received;

[0199] a seventh sending module, configured to repeat the step of sending the authentication request and the local current time T2 to the authentication device when the target operation is triggered, if the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is cancellation of authorization;

[0200] The execution module 640 is further configured to: if the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is authorization within a preset time period, and if the target operation is triggered within the preset time period, execute the target operation;

[0201] When the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is a preset time period authorization, and the target operation is triggered outside the preset time period, repeat the step of sending an authentication request and the local current time T2 to the authentication device when the target operation is triggered.

[0202] The present application also provides an electronic device, the electronic device is an authentication device, and the electronic device includes any one of the above-mentioned authentication devices applied to the authentication device;

[0203] Alternatively, the electronic device is a device to be authenticated, and the electronic device comprises any one of the above authentication devices applied to the device to be authenticated;

[0204] Or, if Figure 7 As shown, it includes a memory 710 and a processor 720, the memory 710 is used to store computer instructions, and the processor 720 is used to call the computer instructions from the memory 710 to execute any method as described in any one of the above method embodiments.

[0205] The present application also provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the method according to any one of the above method embodiments.

[0206] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.

[0207] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0208] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0209] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.

[0210] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0211] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0212] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0213] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0214] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.

Claims

1. An authentication method, characterized in that: Applied to an authentication device, the method comprises: Receiving an authentication request and a local current time T2 sent by the device to be authenticated, wherein the local current time T2 is the local current time of the device to be authenticated when the device to be authenticated sends the authentication request to the authentication device; Record the local current time T3 when the authentication request and the local current time T2 are received; When the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal, output a first authorization option, wherein the first authorization option includes an authorization option and a non-authorization option; receiving a first selection input for the first authorization option; According to the first selection input, a first authorization result and the local current time T3 are sent to the device to be authenticated, where the first authorization result includes authorization and non-authorization.

2. The method according to claim 1, characterized in that Before receiving the authentication request sent by the device to be authenticated and the local current time T2, the method further includes: Receiving a preparation operation instruction and a local current time T0 sent by the device to be authenticated, wherein the local current time T0 is the local current time of the device to be authenticated when the device to be authenticated sends the preparation operation instruction to the authentication device; Record the local current time T1 when the preparation operation instruction and the local current time T0 are received; When the time difference between the local current time T0 and the local current time T1 is less than the first time length and the preparation operation instruction is legal, sending a preparation completion waiting operation instruction and the local current time T1 to the device to be authenticated; The outputting of the first authorization option when the time difference between the local current time T3 and the local current time T2 is less than the first duration and the authentication request is legal includes: When the time difference between the local current time T3 and the local current time T2 is less than the first duration, the authentication request is legal, and the time difference between the local current time T3 and the local current time T1 is less than the third duration, the first authorization option is output.

3. The method according to claim 1, characterized in that After sending the first authorization result and the local current time T3 to the device to be authenticated according to the first selection input, the method further includes: In the case where the first selection input represents the selection of an authorization option, a second authorization option is output, wherein the second authorization option includes: a cancellation authorization option and an authorization option within a preset time period; receiving a second selection input for the second authorization option; According to the second selection input, a second authorization result and the local current time T5 are sent to the device to be authenticated, where the second authorization result includes cancellation of authorization and authorization within a preset time period.

4. The method according to claim 1, characterized in that: The receiving a first selection input for the first authorization option includes: Acquire a selection signal for the first authorization option; In the case where the selection signal is a legitimate selection signal, determining a first selection input for the first authorized option according to the selection signal; Wherein, the selection signal is a sound signal or a fingerprint signal.

5. An authentication method, characterized in that: Applied to a device to be authenticated, the method comprises: When the target operation is triggered, an authentication request and the local current time T2 are sent to the authentication device; Receiving a first authorization result and a local current time T3 sent by the authentication device, where the local current time T3 is the local current time when the authentication device receives the authentication request and the local current time T2; Recording the local current time T4 when the first authorization result and the local current time T3 are received; If the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration, the target operation is performed.

6. The method according to claim 5, characterized in that The step of sending the authentication request and the local current time T2 to the authentication device includes: Sending a preparation operation instruction and the local current time T0 to the authentication device; Receive a preparation completion waiting operation instruction and a local current time T1 sent by the authentication device, where the local current time T1 is the local current time on the authentication device side when the authentication device receives the preparation operation instruction and the local current time T0 sent by the device to be authenticated; Record the local current time T2 when the preparation completion waiting operation instruction and the local current time T1 are received; When the prepare to complete waiting operation instruction is legal, the time difference between the local current time T2 and the local current time T1 is less than the first duration, and the time difference between the local current time T2 and the local current time T0 is less than the third duration, an authentication request and the local current time T2 are sent to the authentication device.

7. The method according to claim 5, characterized in that After performing the target operation, the method further includes: Receive a second authorization result and a local current time T5 sent by the authentication device, where the local current time T5 is the local current time on the authentication device side when the authentication device sends the second authorization result to the device to be authenticated; Recording the local current time T6 when the second authorization result and the local current time T5 are received; If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is to cancel the authorization, repeat the step of sending the authentication request and the local current time T2 to the authentication device when the target operation is triggered; If the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is authorization within a preset time period, and if the target operation is triggered within the preset time period, execute the target operation; When the second authorization result is legal, the time difference between the local current time T6 and the local current time T5 is less than the first time length, and the second authorization result is a preset time period authorization, and the target operation is triggered outside the preset time period, repeat the step of sending an authentication request and the local current time T2 to the authentication device when the target operation is triggered.

8. An authentication device, characterized in that: Applied to an authentication device, the device comprises: A first receiving module, configured to receive an authentication request sent by a to-be-authenticated device and a local current time T2, wherein the local current time T2 is the local current time of the to-be-authenticated device when the to-be-authenticated device sends the authentication request to the authentication device; A first recording module, used to record the local current time T3 when the authentication request and the local current time T2 are received; A first output module, configured to output a first authorization option when the time difference between the local current time T3 and the local current time T2 is less than a first duration and the authentication request is legal, wherein the first authorization option includes an authorization option and a non-authorization option; A second receiving module, configured to receive a first selection input for the first authorization option; The first sending module is used to send a first authorization result and a local current time T3 to the device to be authenticated according to the first selection input, wherein the first authorization result includes authorization and non-authorization.

9. An authentication device, characterized in that: Applied to a device to be authenticated, the device comprises: A second sending module, used to send an authentication request and a local current time T2 to the authentication device when the target operation is triggered; A third receiving module, used to receive the first authorization result and the local current time T3 sent by the authentication device, where the local current time T3 is the local current time when the authentication device receives the authentication request and the local current time T2; A second recording module, used for recording the local current time T4 when the first authorization result and the local current time T3 are received; An execution module is used to execute the target operation when the first authorization result is legal, the time difference between the local current time T4 and the local current time T3 is less than the first duration, and the time difference between the local current time T4 and the local current time T2 is less than the second duration.

10. An electronic device, characterized in that: The electronic device is an authentication device, and the electronic device comprises the authentication device according to claim 8; Alternatively, the electronic device is a device to be authenticated, and the electronic device comprises the authentication device according to claim 9; Alternatively, the method comprises a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method according to any one of claims 1 to 7.