Method for time calibration of dynamic tokens, control device and computer program product

By using an operation key to trigger the calibration mode in the dynamic token, and adjusting the calibration parameters according to the calibration coefficient and operation, the problem of complex time calibration operation of dynamic token is solved, and simple time calibration and efficient authentication are achieved.

CN122160057APending Publication Date: 2026-06-05SHENZHEN EXCELSECU DATA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN EXCELSECU DATA TECH
Filing Date
2024-11-29
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

The existing dynamic token time calibration method is complicated to operate and has a poor human-computer interaction experience, resulting in incorrect dynamic passwords and affecting the success rate of identity authentication.

Method used

The time calibration mode is triggered by an operation key. The calibration range is determined according to the calibration coefficient. The calibration parameters are adjusted within the calibration range in combination with the specified operation of the operation key. Finally, a dynamic password is generated based on the adjusted calibration parameters and the internal time.

Benefits of technology

The process has been simplified, the human-computer interaction experience has been improved, and the internal time of the dynamic token has been accurately calibrated, thus enhancing the accuracy and security of identity verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160057A_ABST
    Figure CN122160057A_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of information security, and provides a time calibration method of a dynamic token, a control device and a computer program product, including: if a trigger condition of a time calibration mode for the dynamic token is met, entering the time calibration mode; determining a calibration range according to a calibration coefficient; adjusting a calibration parameter in the calibration range based on a specified operation for an operation key; and determining a target internal time factor for generating a dynamic password based on the adjusted calibration parameter and an internal time. The application can accurately calibrate the internal time through one operation key while ensuring the security of the dynamic token, which is not only simple to operate, but also can improve the human-computer interaction experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of information security technology, and in particular relates to a dynamic token time calibration method, control device and computer program product. Background Technology

[0002] A dynamic token is a security device used for authentication that enhances security by generating a dynamic password (OTP). To ensure that the password generated by the dynamic token is synchronized with the server, periodic time calibration is required. After a period of use, dynamic tokens may develop a time discrepancy, leading to incorrect passwords and authentication failures.

[0003] Among related technologies, the time calibration method for dynamic tokens is complex to operate and has a poor human-computer interaction experience. Summary of the Invention

[0004] In view of this, embodiments of this application provide a dynamic token time calibration method, computer device, and computer program that can calibrate the time of a dynamic token while ensuring the security of the dynamic token.

[0005] A first aspect of this application provides a dynamic token time calibration method, applied to a dynamic token device, the dynamic token device including an operation key, comprising:

[0006] If the triggering conditions for the time calibration mode for dynamic tokens are met, then enter the time calibration mode.

[0007] Determine the calibration range based on the calibration coefficient;

[0008] Based on the specified operation for the operation key, the calibration parameters are adjusted within the calibration range;

[0009] Based on the adjusted calibration parameters and the internal time, a target internal time factor is determined, which is used to generate a dynamic password.

[0010] In one implementation of the first aspect, determining the calibration range based on the calibration coefficient includes:

[0011] The limiting range is determined based on the calibration coefficients.

[0012] The calibration range is determined based on the stated limitation range, the calibration parameters, and the calibration amplitude.

[0013] In one implementation of the first aspect, determining the limiting range based on the calibration coefficient includes:

[0014] The working period of the dynamic token is rounded up to obtain the rounded result;

[0015] The product of the rounding result and the calibration coefficient is determined to obtain the time adjustment threshold, denoted as k, where k is a positive number;

[0016] The set of integers in the range [-k, k] is defined as the limit range, and the calibration coefficient is a positive integer.

[0017] In one implementation of the first aspect, the

[0018] Determining the calibration range based on the limitation range, the calibration parameters, and the calibration amplitude includes:

[0019] Determine the difference and summation results between the calibration parameter and the calibration amplitude, respectively;

[0020] The intersection of the specified range and the limit range is determined as the calibration range, the lower limit of the specified range is the difference result, the upper limit of the specified range is the sum result, and the calibration amplitude is a positive integer.

[0021] In one implementation of the first aspect, the triggering condition for the time calibration mode of the dynamic token includes at least one of the following:

[0022] The duration of pressing the operation key reaches a preset duration threshold;

[0023] or

[0024] Within a specified time period, the number of consecutive clicks on the key reaches a preset threshold.

[0025] In one implementation of the first aspect, the specified operation includes a long press operation, and adjusting the calibration coefficient within the calibration range based on the specified operation for the operation key includes:

[0026] The adjustment step size is determined based on the adjustment method, which includes adjusting by second or by minute;

[0027] In response to a long press operation on the operation key, if the press duration of the long press operation reaches a first duration, the calibration coefficient is continuously adjusted within the calibration range based on the adjustment step size, with a second duration as the adjustment interval.

[0028] In one implementation of the first aspect, the method further includes:

[0029] In response to the end of the long press operation, the adjustment of the calibration parameters is paused;

[0030] In response to a click operation on the operation key, a calibration confirmation command is generated;

[0031] Based on the calibration confirmation command, the system exits the time calibration mode.

[0032] In one implementation of the first aspect, the method further includes:

[0033] Based on a preset display method, the real-time internal time factor changes during the adjustment process, wherein the real-time internal time factor is determined by the first internal time and the real-time calibration parameters during the adjustment process.

[0034] During the adjustment process, the changes in the internal time factor are displayed in real time.

[0035] A second aspect of this application provides a time calibration device for a dynamic token, deployed in a dynamic token device. The dynamic token device includes an operation key, comprising:

[0036] Enable the module to enter time calibration mode if the triggering conditions for time calibration mode for dynamic tokens are met.

[0037] The first determining module is used to determine the calibration range based on the calibration coefficient;

[0038] An adjustment module is used to adjust calibration parameters within the calibration range based on a specified operation performed on the operation key;

[0039] The second determining module is used to determine the target internal time factor based on the adjusted calibration parameters and internal time, and the target internal time factor is used to generate a dynamic password.

[0040] A third aspect of this application provides a dynamic token device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the computer device performs the method described in the first aspect above.

[0041] A fourth aspect of this application provides a computer program product, including a computer program that, when run, performs the method described in the first aspect above.

[0042] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.

[0043] In the first aspect of this application, a time calibration mode is triggered by an operation key. In this mode, a calibration range is determined based on a calibration coefficient. Combined with a specified operation on the operation key, calibration parameters are adjusted within this range. Finally, based on the adjusted calibration parameters and the internal time, a target internal time factor is obtained, and a new dynamic password is generated based on this target internal time factor. Thus, while ensuring the security of the dynamic token, accurate internal time calibration can be completed with a single operation key, which is not only convenient but also improves the human-computer interaction experience.

[0044] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a flowchart illustrating the implementation of the dynamic token time calibration method provided in this application embodiment;

[0047] Figure 2 This is a flowchart illustrating the implementation of the calibration range determination method provided in the embodiments of this application;

[0048] Figure 3 This is a flowchart illustrating the implementation of the method for determining the limitation range provided in the embodiments of this application;

[0049] Figure 4 This is a flowchart of a time calibration method based on a long-press operation provided in an embodiment of this application;

[0050] Figure 5 This is a schematic diagram of the time calibration device for the dynamic token provided in an embodiment of this application;

[0051] Figure 6 This is a schematic diagram of the computer device provided in the embodiments of this application. Detailed Implementation

[0052] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0053] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0054] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0055] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0056] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0057] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0058] In one embodiment, such as Figure 1 As shown, a time calibration method for a dynamic token is provided. Taking the application of this method to a control device (i.e., the control unit of the dynamic token) as an example, the method includes the following steps S101 to S104:

[0059] Step S101: If the triggering conditions for the time calibration mode for the dynamic token are met, then enter the time calibration mode.

[0060] In this application, the dynamic token serves as a security device for authentication. The control unit detects different operations performed on the operation keys included with the dynamic token to determine whether the triggering conditions for the dynamic token's time calibration mode are met. If so, the dynamic token enters the time calibration mode. In this mode, calibration parameters are calibrated to obtain the target's internal time factor, which is then used to generate a new dynamic password. Only one operation key is used in this mode.

[0061] Step S102: Determine the calibration range based on the calibration coefficient.

[0062] In applications, the calibration coefficient represents the number of steps that the dynamic token can calibrate forward or backward per working cycle. The unit of the working cycle can be year, month, day, etc. The number of steps can refer to N (N is a positive integer) hours, minutes, seconds, etc. For example, if the working cycle is in years, the maximum forward calibration step per year is 1 minute. The calibration coefficient is a positive integer, and in applications, the calibration coefficient can be set according to the characteristics of the dynamic token, the usage scenario, etc., and is usually between 5 and 20. When the control unit performs time calibration, in order to improve calibration efficiency, it usually sets a calibration range to perform time calibration within the calibration range, thus achieving rapid calibration. The calibration range can be determined directly based on the calibration coefficient, or it can be determined jointly based on the calibration coefficient and the working cycle of the dynamic token.

[0063] Step S103: Based on the specified operation for the operation key, adjust the calibration parameters within the calibration range.

[0064] The calibration parameter refers to the error or deviation between the internal time factor to be calibrated and the internal time of the dynamic token. Time errors are reduced by dynamically adjusting the calibration parameter within the calibration range. In application, in time calibration mode, the control unit receives a specified operation for the operation key, allowing adjustment of the calibration parameter within the calibration range until a time confirmation command is received, at which point the adjustment pauses.

[0065] Step S104: Based on the adjusted calibration parameters and internal time, determine the target internal time factor, which is used to generate the dynamic password.

[0066] In this application, the internal time is the real-time time of the internal clock based on the dynamic token. The sum of the adjusted calibration parameters and the internal time is used as the target internal time factor. This target internal time factor can be used to generate dynamic passwords.

[0067] In this embodiment, a time calibration mode is triggered by a single operation key. Within this mode, a calibration range is determined based on a calibration coefficient. Combined with a specified operation on the operation key, calibration parameters are adjusted within this range. Finally, based on the adjusted calibration parameters and the internal time, a target internal time factor is obtained, and a new dynamic password is generated based on this target internal time factor. Thus, while ensuring the security of the dynamic token, accurate internal time calibration can be completed with a single operation key, which is not only convenient but also enhances the human-computer interaction experience.

[0068] In one embodiment, such as Figure 2 As shown, the implementation process of step S102 includes the following steps S201 to S202:

[0069] Step S201: Determine the limit range based on the calibration coefficient.

[0070] In application, the limit range is used to restrict the maximum adjustable range of the calibration parameters. The calibration parameters are adjusted within this limit range. The limit range can be determined based on the working cycle of the dynamic token. If the working cycle is greater than zero, the working cycle is rounded up to obtain the integer result. The positive form of the product of the integer result and the calibration coefficient is used as the upper limit of the limit range, and the negative form of the product is used as the lower limit of the limit range. The range [negative form of the product, positive form of the product] is the limit range. It should be noted that if the working cycle is zero, the range [negative form of the calibration coefficient, positive form of the calibration coefficient] is directly used as the limit range.

[0071] Step S202: Determine the calibration range based on the limit range, calibration parameters, and calibration amplitude.

[0072] In application, the control unit determines the calibration range based on the limiting range, calibration parameters, and calibration amplitude. Specifically, a temporary limiting range for the calibration parameter is first determined based on the calibration amplitude, and then the intersection of the temporary limiting range and the actual limiting range is used as the calibration parameter. Let the calibration parameter be T, the calibration amplitude be m, and the calibration coefficient for the temporary limiting range [Tm, T+m] determined based on the calibration amplitude be k. Then the limiting range is [-k, k]. The intersection of [Tm, T+m] and [-k, k] is then used as the calibration range.

[0073] In this embodiment, the method of determining the calibration range by combining calibration coefficients, calibration parameters, and calibration amplitude can improve the accuracy of determining the calibration range.

[0074] In one embodiment, such as Figure 3 As shown, the implementation process of step S201 includes the following steps S301 to S302:

[0075] Step S301: Round up the working period of the dynamic token to obtain the rounded result.

[0076] In applications, if the rounding result of the working period of the dynamic token is positive, the calibration range can be determined by combining the working period of the dynamic token.

[0077] Step S302: Determine the product of the rounding result and the calibration coefficient to obtain the time adjustment threshold denoted as k, where k is a positive number. Determine the set of integers in the range [-k, k] as the restriction range, where the calibration coefficient is a positive integer.

[0078] In application, the process of determining the calibration range by combining the working cycle, calibration coefficient, and internal time is as follows: First, the rounded result and calibration coefficient are used to determine the time adjustment threshold, denoted as k, the working cycle as y, and the calibration coefficient as x. The range is limited to integers between [-k, k], that is... Integers between [a certain range].

[0079] For example, if the working time of the dynamic token device is 2.5 years and the calibration coefficient x is 5 minutes, then rounding up the working period of 2.5 years gives 3, and the resulting time adjustment threshold is 3 × 5 = 15. The step size is in minutes, which means 15 minutes. The corresponding limit range is [-15, 15].

[0080] This embodiment obtains the time adjustment threshold by rounding up the working time of the dynamic token and multiplying the rounded result by the calibration coefficient, which can accurately calculate the allowable time calibration range of the dynamic token in different working cycles.

[0081] In one embodiment, the triggering condition for the time calibration mode of the dynamic token in step S101 includes at least one of the following: the pressing duration of the operation key reaches a preset duration threshold; or the number of consecutive clicks on the operation key within a specified time reaches a preset number threshold.

[0082] In application, the control unit triggers the time calibration mode for the dynamic token by performing different operations on a single key included in the dynamic token device. That is, the triggering condition for the time calibration mode is determined based on the different operations of the key.

[0083] In the application, the triggering condition for the time calibration mode of the dynamic token can be that the pressing duration of the operation key reaches a preset duration threshold, or that the number of consecutive clicks on the operation key reaches a preset number threshold within a specified time.

[0084] For example, pressing the operation key of the dynamic token device for more than a preset duration threshold (2 to 5 seconds) or pressing the key multiple times in a short period of time (such as double-clicking) will enter the time calibration mode.

[0085] This embodiment allows for easy entry into time calibration mode through simple physical operations, improving operational convenience and user experience. It also ensures that the dynamic token can be calibrated in a timely manner, reducing time deviation and enhancing the accuracy and security of identity verification.

[0086] In one embodiment, the specified action includes a long press action, such as... Figure 4 As shown, the implementation process of step S102 includes steps S401 to S402:

[0087] Step S401: Determine the adjustment step size based on the adjustment method, which may include adjusting by second or by minute.

[0088] In the application, the adjustment step size is determined according to the preset adjustment method, which includes adjustment by second and adjustment by minute. If the adjustment is by second, the adjustment step size is 1 second; if the adjustment is by minute, the adjustment step size is 1 minute.

[0089] In step S402, in response to a long press operation on the operation key, if the press duration of the long press operation reaches the first duration, the calibration parameters are continuously adjusted within the calibration range based on the adjustment step size, with the second duration as the adjustment interval.

[0090] In application, internal time calibration can be achieved by long-pressing an operation key. When the control unit receives a long-press operation, if the press duration reaches a preset first duration, it continuously adjusts the calibration parameters within the calibration range, combining the adjustment interval and adjustment step size, until a time confirmation command is received. The adjusted calibration parameters at this point are then used as the target calibration parameters. The adjustment interval refers to the time between two changes in the internal time factor. The duration corresponding to the adjustment interval is the second duration.

[0091] For example, if the adjustment interval is set to a range of 100 milliseconds to 1000 seconds and the adjustment interval is set to 500 milliseconds, then during the long press, the internal time factor will increase by one adjustment step every 500 milliseconds. If the adjusted internal time factor reaches the upper limit of the calibration range, then after another 500 milliseconds, the internal time factor will be adjusted to the lower limit of the calibration range, and the adjustment will start from the lower limit and gradually continue until the target internal time factor is obtained.

[0092] For example, assuming the dynamic token has been working for 2.5 years, the calibration factor x is 5 minutes, and the internal time is 14:30:00, if the user presses and holds the operation button for 3 seconds, the dynamic token enters time calibration mode, with a calibration range of 14:30:00 ± 15 minutes, i.e., 14:15:00 to 14:45:00. The dynamic token displays the current time as 14:30:00. If the user continues to hold the button, the time information cycles through the time in minute increments: 14:31:00, 14:32:00, ..., etc.

[0093] In this embodiment, the internal time can be calibrated simply by long-pressing the operation key, which simplifies the operation and enables cyclic traversal within the calibration range.

[0094] In one embodiment, during the execution of step 302, the following functions can also be implemented: upon receiving an end command for a long press operation, pause the adjustment of calibration parameters; simultaneously, in response to a click operation on the operation key, generate a calibration confirmation command; and based on the calibration confirmation command, control the exit from the time calibration mode.

[0095] In the application, when the user holds down the operation key, the calibration parameters are continuously adjusted within the calibration range. When the user sees that the displayed time matches the current time, they release the key. At this point, the dynamic token detects the key release and receives an end command for the long press operation, thus pausing the adjustment of calibration parameters. When the user clicks the operation key again, a calibration confirmation command is generated, indicating confirmation of calibration, the adjusted calibration parameters are obtained, and the user exits the time calibration mode.

[0096] This embodiment provides a clear confirmation mechanism to ensure that users can easily end the calibration process after adjustment, improving the convenience of operation and user experience, while ensuring the accuracy of the internal time of the dynamic token and the security of identity verification.

[0097] In one embodiment, the calibration parameters can also be adjusted through other specified operations on the operation keys. After entering the time calibration mode, in response to a single click operation on the operation key, the calibration parameters are controlled to increase by one adjustment step; in response to a double click operation on the operation key, the calibration parameters are controlled to decrease by one adjustment step.

[0098] In application, during calibration, the control unit responds to a single click of the operation key by increasing the internal time by one adjustment step. The adjustment step size is adapted to the adjustment method: if the adjustment method is in minutes, the step size is 1 minute; if the adjustment method is in seconds, the step size is 1 second. A double click of the operation key decreases the internal time by one adjustment step.

[0099] It should be noted that a single-click operation can be set to decrease the internal time by one adjustment step, and a double-click operation can be set to increase the internal time by one adjustment step. This embodiment does not limit the specific correspondence.

[0100] This embodiment provides a flexible and intuitive time adjustment method, allowing users to easily fine-tune the internal time within the calibration range to ensure that the internal time of the dynamic token is synchronized with the server time, thereby improving the accuracy of dynamic password generation and the security of authentication.

[0101] In one embodiment, the dynamic token further includes a display screen, which performs the following functions: based on a preset display mode, during the adjustment process, it displays the change process of the real-time internal time factor, wherein the real-time internal time factor is determined by the first internal time and the real-time calibration parameters during the adjustment process.

[0102] In the application, the real-time internal time factor change process can be displayed during adjustment using a preset display mode. The display mode is related to the adjustment mode, which can be adjusted by seconds or minutes. If the adjustment mode is by seconds, the real-time internal time factor is displayed as a 6-digit number in hour, minute, and second format, such as 14:30:15. If the adjustment mode is by minutes, the real-time internal time factor is displayed as a 4-digit number in hour and minute format, such as 14:30. The first internal time can be the internal time when entering time calibration mode, or it can be the real-time time based on the internal clock.

[0103] This embodiment allows users to intuitively see the progress of time adjustment, ensuring the transparency and accuracy of the adjustment process, and improving the convenience of operation and user experience.

[0104] This application also provides a dynamic token time calibration device for performing the steps in the above-described dynamic token time calibration method embodiments. For example... Figure 5 As shown, the time calibration device 500 for dynamic tokens provided in this application embodiment includes:

[0105] Enable module 510 to enter time calibration mode if the triggering conditions for time calibration mode for dynamic tokens are met.

[0106] The first determining module 520 is used to determine the calibration range based on the calibration coefficient.

[0107] Adjustment module 530 is used to adjust calibration parameters within the calibration range based on a specified operation for the operation key.

[0108] The second determining module 540 is used to determine the target internal time factor based on the adjusted calibration parameters and internal time. The target internal time factor is used to generate a new dynamic password that is synchronized with the server time.

[0109] In one embodiment, the first determining module is further configured to determine the limiting range based on the calibration coefficient; and to determine the calibration range based on the limiting range, calibration parameters, and calibration amplitude.

[0110] In one embodiment, the first determining module is further configured to round up the working period of the dynamic token to obtain the rounding result; determine the product of the rounding result and the calibration coefficient to obtain the time adjustment threshold denoted as k, where k is a positive number, and determine the set of integers in the range [-k, k] as the limit range, wherein the calibration coefficient is a positive integer.

[0111] In one embodiment, the first determining module is further configured to denote the calibration parameter as T, the calibration amplitude as m, and determine the intersection of the range [Tm, T+m] and the limit range as the calibration range, wherein the calibration amplitude is a positive integer.

[0112] In one embodiment, the triggering condition for the time calibration mode of the dynamic token includes at least one of the following: the duration of pressing the operation key reaches a preset duration threshold; the number of consecutive clicks on the operation key reaches a preset number threshold within a specified time.

[0113] In one embodiment, the specified operation includes a long press operation. The calibration module is also used to determine the adjustment step size based on the adjustment method, which includes adjustment by second or adjustment by minute. In response to a long press operation on the operation key, if the press duration of the long press operation reaches a first duration, the calibration parameters are continuously adjusted within the calibration range based on the adjustment step size, with a second duration as the adjustment interval.

[0114] In one embodiment, the calibration module is further configured to pause adjusting calibration parameters if an end command is received for a long press operation; generate a calibration confirmation command in response to a click operation on an operation key; and control the exit from the time calibration mode based on the calibration confirmation command.

[0115] In one embodiment, the calibration module is further configured to display the change process of the real-time internal time during the adjustment process based on a preset display method, wherein the real-time internal time factor is determined by the first internal time and the real-time calibration parameters during the adjustment process.

[0116] In applications, the modules in the time calibration device of the dynamic token can be software program modules, or they can be implemented by different logic circuits integrated in the processor, or they can be implemented by multiple distributed processors.

[0117] Figure 6 This is a schematic diagram of the control device for a dynamic token time calibration method provided in an embodiment of this application. Figure 6 As shown, the control device 600 of this embodiment includes: at least one processor 610 ( Figure 6 (Only one is shown) a processor, a memory 620, and a computer program 630 stored in the memory 620 and executable on the at least one processor 610, wherein the processor 610 executes the computer program 630 to implement the steps in any of the above-described exception handling method embodiments.

[0118] The control device 600 can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The control device 600 may include, but is not limited to, a processor 610 and a memory 620. Those skilled in the art will understand that... Figure 6 This is merely an example of control device 600 and does not constitute a limitation on control device 600. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0119] The processor 610 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0120] In some embodiments, the memory 620 may be an internal storage unit of the control device 600, such as a hard disk or memory of the control device 600. In other embodiments, the memory 620 may be an external storage device of the control device 600, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the control device 600. Furthermore, the memory 620 may include both internal and external storage units of the control device 600. The memory 620 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 620 can also be used to temporarily store data that has been output or will be output.

[0121] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0122] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0123] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0124] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the steps described in the above-described method embodiments.

[0125] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / terminal equipment, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0126] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0127] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0128] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0129] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0130] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for time calibration of a dynamic token, characterized in that, Applied to a dynamic token device, the dynamic token device including an operation key, the method includes: If the triggering conditions for the time calibration mode for dynamic tokens are met, then enter the time calibration mode; Determine the calibration range based on the calibration coefficient; Based on the specified operation for the operation key, the calibration parameters are adjusted within the calibration range; Based on the adjusted calibration parameters and internal time, a target internal time factor is determined, which is used to generate a dynamic password.

2. The time calibration method for dynamic tokens as described in claim 1, characterized in that, The step of determining the calibration range based on the calibration coefficient includes: The limiting range is determined based on the calibration coefficient; The calibration range is determined based on the stated limitation range, the calibration parameters, and the calibration amplitude.

3. The time calibration method for dynamic tokens as described in claim 2, characterized in that, The step of determining the limitation range based on the calibration coefficient includes: The working period of the dynamic token is rounded up to obtain the rounded result; The product of the rounding result and the calibration coefficient is determined to obtain the time adjustment threshold, denoted as k, where k is a positive number; The set of integers in the range [-k, k] is defined as the constraint range, wherein the calibration coefficient is a positive integer.

4. The time calibration method for dynamic tokens as described in claim 2, characterized in that, Determining the calibration range based on the limitation range, the calibration parameters, and the calibration amplitude includes: The calibration parameter is denoted as T, the calibration amplitude is denoted as m, and the intersection of the range [Tm, T+m] and the limit range is determined as the calibration range, wherein the calibration amplitude is a positive integer.

5. The time calibration method for dynamic tokens as described in claim 1, characterized in that, The triggering conditions for the time calibration mode of the dynamic token include at least one of the following: The duration of pressing the operation key reaches a preset duration threshold; or Within a specified time period, the number of consecutive clicks on the operation key reaches a preset threshold.

6. The time calibration method for dynamic tokens as described in claim 1, characterized in that, The specified operation includes a long press operation. The adjustment of calibration parameters within the calibration range based on the specified operation for the operation key includes: The adjustment step size is determined based on the adjustment method, which includes adjusting by second or by minute; In response to a long press operation on the operation key, if the press duration of the long press operation reaches a first duration, the calibration parameters are continuously adjusted within the calibration range based on the adjustment step size, with a second duration as the adjustment interval.

7. The time calibration method for dynamic tokens as described in claim 6, characterized in that, The method further includes: If an end command is received for the long press operation, the adjustment of the calibration parameters is paused. In response to a click operation on the operation key, a calibration confirmation command is generated; Based on the calibration confirmation command, the system exits the time calibration mode.

8. The time calibration method according to any one of claims 1 to 7, characterized in that, The method further includes: Based on a preset display method, the real-time internal time factor changes during the adjustment process, wherein the real-time internal time factor is determined by the first internal time and the real-time calibration parameters during the adjustment process.

9. A control device, characterized in that, The device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, the computer device performs the method as described in any one of claims 1-8.

10. A computer program product, characterized in that, Includes a computer program, which, when run, causes the method as described in any one of claims 1-8 to be performed.