Authentication method and device, equipment and medium

By using the long-wave reception module to obtain time information and calibrate the real-time clock, and generate a random temporary password for authentication, the problems of strong network dependence and inaccurate time in the prior art are solved, and the security and reliability of authentication are improved.

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

Patent Information

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

AI Technical Summary

Technical Problem

The existing security authentication method relies on WIFI network connections, which poses a risk of strong network dependence, vulnerability to interference and hacking. At the same time, the inaccuracy of the time based on the built-in real-time clock module affects the reliability of the authentication.

Method used

The long-wave reception module is used to receive the long-wave signal to obtain the current time information, calibrate the local real-time clock time, and generate a random temporary password based on the calibration time and the set encryption algorithm for user authentication.

Benefits of technology

Improves the security and reliability of authentication, reduces dependence on the network, and can also achieve authentication in a network-free environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696794A_ABST
    Figure CN119696794A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an authentication method and device, equipment and a medium, and the method comprises the steps: obtaining the current time information according to a long-wave signal received by a long-wave receiving module; calibrating local real-time clock time according to the current time information, and generating a random temporary password based on the calibrated local real-time clock time and a set encryption algorithm; and authenticating the user according to the random temporary password.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of encryption authentication, and more specifically, to an authentication method, an authentication apparatus, an authentication device, and a computer-readable storage medium. Background Art

[0002] With the development of science and technology, security authentication technology has been widely used in various fields, especially in security-related scenarios such as smart door locks and garage access control. Traditional security authentication methods such as passwords, keys, and Near Field Communication (NFC) are prone to being copied, forgotten, or cracked.

[0003] In the related art, a set encryption algorithm such as a time-based one-time password (TOTP) algorithm and an event-based one-time password (HOTP) algorithm can be used to generate verification and authentication information, and then authenticate the user based on the generated verification and authentication information. However, the existing set encryption algorithm usually relies on WIFI (Wireless Fidelity) network connection, resulting in strong network dependence, and the WIFI timing method may be subject to signal interference or hacker attacks, increasing security risks; furthermore, it usually generates verification and authentication information based on a built-in real-time clock (RTC) module, and the RTC module may cause inaccurate time due to battery voltage changes or hardware clock drift, affecting the reliability of authentication. Summary of the invention

[0004] The purpose of the embodiments of the present disclosure is to provide a new technical solution for authentication.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an authentication method, the method comprising:

[0006] Obtaining current time information according to the long-wave signal received by the long-wave receiving module;

[0007] Calibrate the local real-time clock time according to the current time information, and generate a random temporary password based on the calibrated local real-time clock time and the set encryption algorithm;

[0008] The user is authenticated according to the random temporary password.

[0009] Optionally, obtaining current time information according to the long-wave signal received by the long-wave receiving module includes:

[0010] When the set password update time arrives, the current time information is obtained according to the long-wave signal received by the long-wave receiving module.

[0011] Optionally, when the set password update time arrives, obtaining the current time information according to the long-wave signal received by the long-wave receiving module includes:

[0012] When the set password update time arrives, the long-wave receiving module demodulates the received long-wave signal to obtain a beat digital signal;

[0013] Turning on the timer and the interrupt detection pin, when the first interrupt signal is detected through the interrupt detection pin, resetting the timer and starting timing;

[0014] When a second interrupt signal is detected through the interrupt detection pin, the current timing duration of the timer is read and the timing is stopped;

[0015] In the case where the current timing duration is within the set duration range, determining that the second interrupt signal is a start positioning signal of a frame of a beat digital signal, resetting the interrupt detection pin and the timer, and capturing a set number of frames of the beat digital signal through the interrupt detection pin;

[0016] The captured beat digital signal is decoded to obtain the current time information.

[0017] Optionally, authenticating the user according to the random temporary password includes:

[0018] Get the password currently entered by the user;

[0019] Comparing the currently input password with the random temporary password to obtain a comparison result;

[0020] If the comparison result indicates that the currently input password and the random temporary password are the same, executing the target operation;

[0021] When the target operation is performed, it is determined that the user has passed the authentication.

[0022] Optionally, the encryption algorithm is set to be a time-based one-time password algorithm.

[0023] Optionally, before obtaining the current time information according to the long-wave signal received by the long-wave receiving module, the method further includes:

[0024] The long-wave signal obtained based on BPC coding is received by the long-wave receiving module.

[0025] According to a second aspect of an embodiment of the present disclosure, there is provided an authentication device, the device comprising:

[0026] An acquisition module, used for obtaining current time information according to the long-wave signal received by the long-wave receiving module;

[0027] A generating module, used for calibrating the local real-time clock time according to the current time information, and generating a random temporary password based on the calibrated local real-time clock time and a set encryption algorithm;

[0028] The authentication module is used to authenticate the user according to the random temporary password.

[0029] According to a third aspect of an embodiment of the present disclosure, an authentication device is provided, the authentication device comprising a long-wave receiving module, the authentication device further comprising:

[0030] Memory for storing executable computer instructions;

[0031] A processor is used to execute the authentication method according to the first aspect above under the control of the executable computer instructions.

[0032] Optionally, the long-wave receiving module includes a radio frequency control unit, a low-noise amplification unit, an analog-to-digital conversion unit and a digital signal processing unit.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored. When the computer instructions are executed by a processor, the authentication method described in the first aspect above is executed.

[0034] One beneficial effect of the disclosed embodiment is that it proposes an authentication method based on long-wave timing technology, which has stronger anti-interference ability and improves authentication security; and, by obtaining the current time information through the long-wave receiving module, authentication can be achieved even in a network-free environment; furthermore, the long-wave timing technology provides a high-precision time synchronization capability, so that the local real-time clock time is calibrated according to the current time information obtained by the long-wave receiving module, and a random temporary password is generated, thereby improving the reliability of authentication. In other words, the authentication method based on the disclosed embodiment uses high-precision time synchronization to generate a random temporary password, which improves the reliability and security of authentication and reduces the dependence on the network.

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

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

[0037] Figure 1 is a flowchart of an authentication method according to an embodiment of the present disclosure;

[0038] Figure 2a is a schematic diagram of the hardware configuration of an authentication device according to an embodiment of the present disclosure;

[0039] Figure 2b is a schematic diagram of the hardware configuration of the long-wave receiving module according to an embodiment of the present disclosure;

[0040] Figure 3 is a flowchart of an authentication method according to an example of the present disclosure;

[0041] Figure 4 is a principle block diagram of an authentication device according to an embodiment of the present disclosure;

[0042] Figure 5 It is a principle block diagram of an authentication device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] Various exemplary embodiments of the present disclosure 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 embodiments of the present disclosure.

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

[0045] 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.

[0046] 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.

[0047] 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.

[0048] Figure 1 The authentication method of an embodiment of the present disclosure is shown, and the authentication method can be applied to the authentication device 2, which is any device that needs to be authenticated, such as but not limited to a smart door lock or a garage access control device. Figure 2a, the authentication device 2 includes a long-wave receiving module 21, a main control module 22, a keyboard password module 23, a prompt sound module 24 and a motor module 25. Of course, the authentication device 2 usually also includes other modules, such as a fingerprint module, an NFC module, etc., which are not limited in this embodiment. Generally, the main control module 22 can be used to connect electronic devices such as mobile phones so that the authentication device and the electronic device can communicate. The main control module 22 can be a Bluetooth main control module (BT SoC), which is used to connect electronic devices via Bluetooth so that the authentication device 2 and the electronic device can communicate via Bluetooth.

[0049] like Figure 1 As shown, the authentication method of this embodiment may include the following steps S1100 to S1300:

[0050] Step S1100, obtaining current time information according to the long wave signal received by the long wave receiving module.

[0051] Among them, the authentication device includes a long-wave receiving module. The long-wave receiving module uses long-wave timing technology. Long-wave timing technology can transmit time information through long-wave signals. It has the characteristics of wide coverage, strong anti-interference ability, and high time accuracy. It is very suitable for use in scenarios without network environment or temporary visitors.

[0052] Reference Figure 2b The long-wave receiving module 21 includes a radio frequency control unit 211, a low-noise amplifier (Low-NoiseAmplifier, LNA) 212, an analog-to-digital converter (Analog-to-Digital Converter, ADC) 213 and a digital signal processing unit (Digital Signal Processing, DSP) 214. Among them, the radio frequency control unit 211 is used to receive the long-wave signal. The low-noise amplifier 212 is used to amplify the long-wave signal. The analog-to-digital converter 213 is used to perform analog-to-digital conversion on the long-wave signal to obtain a digital signal. The digital signal processing unit 214 is used to demodulate the digital signal and output a beat digital signal composed of high and low levels.

[0053] Among them, the long-wave signal can be a signal based on binary phase code (BPC) encoding. BPC encoding is a specific timing method based on the long-wave band and applying low-frequency time code. The long-wave signal in China is usually transmitted at a frequency of 68.5khz. In long-wave timing, BPC encoding, as a low-frequency time code, is transmitted through long-wave timing technology and can be used to transmit time information. For BPC encoding, refer to the following embodiments. Correspondingly, before executing this step S1100 to obtain the current time information according to the long-wave signal received by the long-wave receiving module, the authentication method of the embodiment of the present disclosure further includes: receiving the long-wave signal obtained based on BPC encoding through the long-wave receiving module.

[0054] In this embodiment, the long-wave receiving module of the authentication device receives the long-wave signal obtained based on the BPC coding. The main control module of the authentication device can obtain the current time information according to the long-wave signal.

[0055] In an optional embodiment, the step S2100 of obtaining the current time information according to the long wave signal received by the long wave receiving module may further include: obtaining the current time information according to the long wave signal received by the long wave receiving module when the set password update time arrives.

[0056] The password update time is set to update the random temporary password, that is, when the password update time is reached, the main control module can obtain the current time information according to the long wave signal received by the long wave receiving module, so as to calibrate the local real-time clock RTC time according to the current time information, and generate a random temporary password based on the calibrated local RTC time to authenticate the user. Generally, the password update time can be 1 minute or other time, which is not specifically limited in this embodiment.

[0057] Optionally, when the set password update time arrives, obtaining the current time information according to the long-wave signal received by the long-wave receiving module can further include: when the set password update time arrives, demodulating the received long-wave signal through the long-wave receiving module to obtain a beat digital signal; starting the timer and the interrupt detection pin, and when the first interrupt signal is detected through the interrupt detection pin, resetting the timer and starting timing; when the second interrupt signal is detected through the interrupt detection pin, reading the current timing duration of the timer and stopping timing; when the current timing duration is within the set duration range, determining that the second interrupt signal is a starting positioning signal of a frame of beat digital signal, resetting the interrupt detection pin and the timer, and capturing the beat digital signal of the set number of frames through the interrupt detection pin; decoding the captured beat digital signal to obtain the current time information.

[0058] Among them, the beat digital signal is a digital signal composed of high and low levels, and the beat digital signal is usually composed of a positioning signal and a data signal.

[0059] The set duration range can usually be set to 990ms to 1010ms, that is, the main control module can usually detect the start positioning signal of a frame of beat digital signal within the range of 990ms to 1010ms.

[0060] Specifically, when the set password update time arrives, the main control module controls the long-wave receiving module to demodulate the received long-wave signal, obtain the beat digital signal, and start the timer of the main control chip and activate the interrupt detection pin connected to the long-wave receiving module. When the main control chip detects the first interrupt signal through the interrupt detection pin, it will reset the timer and start timing. When the main control chip detects the second interrupt signal through the interrupt detection pin, it will read the current timing duration of the timer as the timing duration since the first interrupt signal. When the current timing duration is between 990ms and 1010ms, the main control module determines that the second interrupt signal is the starting positioning signal of a frame of beat digital signal. The main control module resets the interrupt detection pin and the 20s timer, and captures a frame of beat digital signal through the interrupt detection pin every 20s, and captures a total of three frames of beat digital signal. This is because each frame of beat digital signal in BPC encoding is about 20 seconds long, and a total of three frames of beat digital signal are received for 1 minute. The current time information is obtained after decoding. In BPC coding, different states of pulse width represent different quaternary values. Specifically, pulse widths of 0.1 seconds, 0.2 seconds, 0.3 seconds, and 0.4 seconds represent quaternary 0, 1, 2, and 3, respectively. According to the BPC protocol, the 4th and 5th pulses of a frame represent the current hour, the 6th, 7th, and 8th pulses represent the current minute, and so on to obtain the current time information.

[0061] After executing the above step S1100 to obtain the current time information according to the long wave signal received by the long wave receiving module, enter:

[0062] Step S1200, calibrating the local real-time clock RTC time according to the current time information, and generating a random temporary password based on the calibrated local real-time clock time and the set encryption algorithm.

[0063] The local real-time clock RTC time is used to track the current time and date, and the local real-time clock RTC time can be used to generate a random temporary password to authenticate the user.

[0064] The random temporary password is usually a six-digit password. Of course, it can also be a password of other digits, which is not limited in this embodiment.

[0065] The encryption algorithm is set to a time-based one-time password TOTP algorithm, which can calculate a random temporary password based on a shared key and a local real-time clock RTC time.

[0066] In this embodiment, after obtaining the current time information, the main control module can update the local real-time clock RTC time based on the current time information, so as to generate a random temporary password for user authentication based on the updated local real-time clock RTC time.

[0067] Specifically, the main control module obtains the shared key from the electronic device in advance and stores it. The main control module first calibrates the local real-time clock RTC time based on the current time information, and calculates a random temporary password based on the calibrated local real-time clock RTC time and the shared key through the TOTP algorithm.

[0068] After executing the above step S1200 to calibrate the local real-time clock time according to the current time information, and generating a random temporary password based on the calibrated local real-time clock time and the set encryption algorithm, enter:

[0069] Step S1300: authenticating the user according to the random temporary password.

[0070] In this embodiment, after calculating the random temporary password, the main control module can perform authentication based on the random temporary password.

[0071] In an optional embodiment, the step S1300 of authenticating the user according to the random temporary password may further include the following steps S1310 to S1340:

[0072] Step S1310, obtaining the password currently input by the user.

[0073] In this step S1310, the electronic device, such as a mobile phone, will also calculate the same random temporary password using the auth software and inform the user. The user can enter the random temporary password calculated by the electronic device through the keyboard password module of the authentication device.

[0074] Step S1320: compare the currently input password with the random temporary password to obtain a comparison result.

[0075] In step S1320, the main control module compares the password input by the user with the random temporary password calculated by the main control module this time to obtain a comparison result, wherein the comparison result may be that the password input by the user is the same as the random temporary password calculated by the main control module this time, or that the password input by the user is different from the random temporary password calculated by the main control module this time.

[0076] Step S1330: When the comparison result indicates that the currently input password is the same as the random temporary password, execute the target operation.

[0077] The target operation may include: sending an unlocking signal to a motor module of the authentication device to control the authentication device to unlock through the motor module.

[0078] In this step S1330, when the comparison result shows that the password input by the user is the same as the random temporary password calculated by the main control module this time, the main control module can send an unlocking signal to the motor module, and the motor module can control the authentication device to unlock.

[0079] Step S1340: When the target operation is completed, determine that the user has passed the authentication.

[0080] In this step S1340, when the motor module controls the authentication device to unlock successfully, the main control module determines that the user has completed the authentication.

[0081] It should be noted that, when the motor module controls the authentication device to unlock successfully, the main control module will also control the prompt sound module of the authentication device to play the corresponding prompt sound of successful unlocking.

[0082] Through the disclosed embodiment, it proposes an authentication method based on long-wave timing technology. Long-wave timing has stronger anti-interference ability and improves authentication security. Moreover, by obtaining the current time information through the long-wave receiving module, authentication can be achieved even in a network-free environment. Furthermore, the long-wave timing technology provides high-precision time synchronization capability. In this way, the local real-time clock time is calibrated according to the current time information obtained by the long-wave receiving module, and a random temporary password is generated, which improves the reliability of authentication. In other words, the authentication method based on the disclosed embodiment uses high-precision time synchronization to generate a random temporary password, which improves the reliability and security of authentication and reduces the dependence on the network.

[0083] <Example>

[0084] Next, a flowchart of an example authentication method is shown. In this example, reference Figure 3 , the authentication method includes:

[0085] Step 301: The main control module obtains the shared key of the TOTP algorithm in advance through Bluetooth communication with the mobile phone and stores it.

[0086] Step 302: The long-wave receiving module receives the long-wave signal obtained by BPC coding.

[0087] Step 303, when the set password update time arrives, the main control module activates the long wave receiving module to demodulate the long wave signal to output a beat digital signal, starts the timer of the main control module, and activates the interrupt detection pin connected to the main control module and the long wave receiving module.

[0088] Step 304: When the main control module detects the first interrupt signal through the interrupt detection pin, the main control module resets the timer and starts timing.

[0089] Step 305, when the main control module detects the second interrupt signal through the interrupt detection pin, it reads the current timing duration of the timer and detects whether the current timing duration is between 990ms and 1010ms. If so, execute step 306, otherwise, execute step 304.

[0090] Step 306, the main control module determines that the second interrupt signal is the starting positioning signal of a frame of beat digital signal, and resets the interrupt detection pin and the timer, and captures a frame of beat digital signal every 20 seconds through the interrupt detection pin, and captures a total of three frames of beat digital signal.

[0091] Step 307: The main control module decodes the three-frame beat digital signal based on the BPC coding rule to obtain current time information.

[0092] Step 308: The main control module calibrates the local RTC time according to the current time information, and generates a random temporary password based on the shared key and the calibrated local RTC time by setting an encryption algorithm.

[0093] Step 309, the main control module obtains the password currently input by the user, and when the currently input password is the same as the above-mentioned random temporary password, determines that the switch lock signal is an unlocking signal, and sends an unlocking signal to the motor module. When the authentication device is unlocked successfully through the motor module, it is determined that the user has completed the authentication.

[0094] Through this example, the authentication method of this example has the following technical effects: First, authentication capability in a network-free environment: it obtains the current time information through the long-wave receiving module, and can achieve authentication even in a network-free environment, which greatly expands the application scope of the authentication technology. Second, high-precision time synchronization: the long-wave timing technology provides high-precision time synchronization capability, ensuring that the time-based encryption algorithm can generate accurate random temporary passwords, and improving the reliability of authentication. Third, enhanced security: the transmission characteristics of long-wave timing make the authentication method disclosed in this disclosure have stronger anti-interference ability, reduce the risk of being attacked by hackers, and thus improve the overall security. Fourth, flexibility and practicality: considering the application requirements in different scenarios, it has good flexibility and practicality, and can adapt to various security authentication scenarios such as smart door locks and garage access control. Fifth, cost-effectiveness: compared with the authentication method that relies on network connection, it reduces the dependence on network infrastructure, reduces deployment and maintenance costs, and provides equal or even higher security performance. Sixth, easy integration: the long-wave receiving module is easy to integrate and deploy, without the need for large-scale transformation of existing authentication equipment.

[0095] <Device Example>

[0096] Figure 4 is a schematic diagram of the principle of an authentication device according to an embodiment, referring to Figure 4 As shown, the authentication device 400 includes an acquisition module 410 , a generation module 420 and an authentication module 430 .

[0097] An acquisition module 410 is used to obtain current time information according to the long wave signal received by the long wave receiving module;

[0098] A generating module 420, configured to calibrate the local real-time clock time according to the current time information, and generate a random temporary password based on the calibrated local real-time clock time and a set encryption algorithm;

[0099] The authentication module 430 is used to authenticate the user according to the random temporary password.

[0100] In one embodiment, the acquisition module 410 is specifically configured to obtain current time information according to the long-wave signal received by the long-wave receiving module when the set password update time arrives.

[0101] In one embodiment, the acquisition module 410 is specifically used to demodulate the received long-wave signal through the long-wave receiving module to obtain a beat digital signal when the set password update time arrives; start the timer and the interrupt detection pin, and when the first interrupt signal is detected through the interrupt detection pin, reset the timer and start timing; when the second interrupt signal is detected through the interrupt detection pin, read the current timing duration of the timer and stop timing; when the current timing duration is within the set duration range, determine that the second interrupt signal is a starting positioning signal of a frame of beat digital signal, reset the interrupt detection pin and the timer, and capture the beat digital signal of the set number of frames through the interrupt detection pin; decode the captured beat digital signal to obtain the current time information.

[0102] In one embodiment, the authentication module 430 is specifically used to obtain the user's current input password; compare the current input password with the random temporary password to obtain a comparison result; if the comparison result indicates that the current input password and the random temporary password are the same, perform a target operation; if the target operation is completed, determine that the user has passed the authentication.

[0103] In one embodiment, the set encryption algorithm is a time-based one-time password algorithm.

[0104] In one embodiment, the device 400 further includes a receiving module (not shown in the figure), the receiving module being configured to receive the long-wave signal obtained based on BPC coding through the long-wave receiving module.

[0105] According to the embodiment of the present disclosure, long-wave timing has stronger anti-interference ability, which improves the security of authentication; and, by obtaining the current time information through the long-wave receiving module, authentication can be achieved even in a network-free environment; furthermore, the long-wave timing technology provides high-precision time synchronization capability, so that the local real-time clock time is calibrated according to the current time information obtained by the long-wave receiving module, and then a random temporary password is generated, which improves the reliability of authentication. In other words, the authentication method based on the embodiment of the present disclosure uses high-precision time synchronization to generate a random temporary password, which improves the reliability and security of authentication, while reducing the dependence on the network.

[0106] <Equipment Embodiment>

[0107] Figure 5 FIG. 1 is a schematic diagram of the hardware structure of an authentication device according to an embodiment. Figure 5 As shown, the authentication device 500 includes a long-wave receiving module 510 , a processor 520 and a memory 530 .

[0108] The memory 530 may be used to store executable computer instructions.

[0109] The processor 520 can be used to execute the authentication method described in the embodiment of the method of the present disclosure according to the control of the executable computer instructions.

[0110] The authentication device 500 may include the above authentication apparatus 400 .

[0111] In one embodiment, the long wave receiving module 510 includes a radio frequency control unit, a low noise amplification unit, an analog-to-digital conversion unit and a digital signal processing unit.

[0112] <Computer Readable Storage Medium>

[0113] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the authentication method provided by the embodiment of the present disclosure is executed.

[0114] The present disclosure 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 disclosure.

[0115] 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.

[0116] 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.

[0117] The computer program instructions for performing the operation of the present disclosure may be assembly 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 may be executed completely on a user's computer, partially on a user's computer, 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 may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0118] Various aspects of the present disclosure 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 disclosure. 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.

[0119] 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.

[0120] 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.

[0121] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an 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 the flowchart, and the combination of the boxes in the block diagram and / or the 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.

[0122] The embodiments of the present disclosure 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 choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims

1. An authentication method, characterized in that: The method comprises: Obtaining current time information according to the long-wave signal received by the long-wave receiving module; Calibrate the local real-time clock time according to the current time information, and generate a random temporary password based on the calibrated local real-time clock time and the set encryption algorithm; The user is authenticated according to the random temporary password.

2. The method according to claim 1, characterized in that The step of obtaining current time information according to the long wave signal received by the long wave receiving module includes: When the set password update time arrives, the current time information is obtained according to the long-wave signal received by the long-wave receiving module.

3. The method according to claim 2, characterized in that When the set password update time arrives, obtaining the current time information according to the long wave signal received by the long wave receiving module includes: When the set password update time arrives, the long-wave receiving module demodulates the received long-wave signal to obtain a beat digital signal; Turning on the timer and the interrupt detection pin, when the first interrupt signal is detected through the interrupt detection pin, resetting the timer and starting timing; When a second interrupt signal is detected through the interrupt detection pin, the current timing duration of the timer is read and the timing is stopped; In the case where the current timing duration is within the set duration range, determining that the second interrupt signal is a start positioning signal of a frame of a beat digital signal, resetting the interrupt detection pin and the timer, and capturing a set number of frames of the beat digital signal through the interrupt detection pin; The captured beat digital signal is decoded to obtain the current time information.

4. The method according to claim 1, characterized in that: The authenticating the user according to the random temporary password comprises: Get the password currently entered by the user; Comparing the currently input password with the random temporary password to obtain a comparison result; If the comparison result indicates that the currently input password and the random temporary password are the same, executing the target operation; When the target operation is performed, it is determined that the user has passed the authentication.

5. The method according to any one of claims 1 to 4, characterized in that: The encryption algorithm is set to be a time-based one-time password algorithm.

6. The method according to any one of claims 1 to 4, characterized in that Before obtaining the current time information according to the long-wave signal received by the long-wave receiving module, the method further includes: The long-wave signal obtained based on BPC coding is received by the long-wave receiving module.

7. An authentication device, characterized in that: The device comprises: An acquisition module is used to obtain current time information according to the long wave signal received by the long wave receiving module; A generating module, used for calibrating the local real-time clock time according to the current time information, and generating a random temporary password based on the calibrated local real-time clock time and a set encryption algorithm; The authentication module is used to authenticate the user according to the random temporary password.

8. An authentication device, characterized in that: The authentication device includes a long-wave receiving module, and the authentication device also includes: Memory for storing executable computer instructions; A processor, configured to execute the authentication method according to any one of claims 1 to 6 under the control of the executable computer instructions.

9. The authentication device according to claim 8, characterized in that: The long-wave receiving module comprises a radio frequency control unit, a low-noise amplifying unit, an analog-to-digital conversion unit and a digital signal processing unit.

10. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to execute the authentication method according to any one of claims 1 to 6.