A password card reset device, system, method and medium

By designing a password card reset device, the power switch module and the control module independently control the reset of the password card, the business interruption problem caused by the power-off computer restart in abnormal state of the password card is solved, and business continuity is achieved.

CN119781594APending Publication Date: 2025-04-08Fisherman Information Technology Co Ltd
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411859484.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

When the password card has an abnormal state that it cannot recognize itself, the existing technology requires the upper computer used in conjunction with the password card to power off and restart, resulting in the problem of business interruption.

Method used

A password card reset device is designed, including a power switch module and a control module. Through the control module, the reset signal of the power switch module and the password card is independently controlled, so as to realize the re-power and reset of the password card, and avoid association with the upper computer.

Benefits of technology

The independent reset of the password card in an abnormal state is realized, which avoids business interruptions of the host computer and ensures business continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781594A_ABST
    Figure CN119781594A_ABST
Patent Text Reader

Abstract

The present application discloses a password card reset device, system, method and medium, which relate to the field of information security technology and are used to realize active reset of password cards. In view of the problem that the traditional solution requires the host computer to be powered off, a password card reset device is provided. The device can realize the unbinding between the password card power-on and reset and the host computer, so that the password card power-on and reset are no longer strongly related to the host computer. Therefore, when the password card enters an abnormal state such as an operation error that the password card itself cannot recognize, the password card can be independently controlled to be powered on and reset through the control module to restore the password card to the initialization state and try to restore the normal working state of the password card. And this password card realized based on the device can independently realize power-on and reset, without the need for the host computer to be powered on together, that is, it will not cause adverse effects on the business being executed in the host computer, and well adapts to the needs of host business continuity in actual application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and in particular to a password card resetting device, system, method and medium. Background Art

[0002] In actual work scenarios, the password card may enter an abnormal state during operation for various reasons. In related technologies, the password card is equipped with a certain abnormality detection mechanism to identify some abnormal states that may occur during actual operation. It then resets the card to normal state through its own watchdog or other mechanisms.

[0003] However, there are still some anomalies that the password card itself cannot identify, such as calculation errors. In these cases, the password card's own watchdog reset mechanism is no longer effective. To solve this problem, the host computer used with the password card needs to be shut down and restarted to restore the password card to its initial state in an attempt to resolve the anomaly. However, powering off and restarting the host computer can seriously affect normal operations on the host computer, which is a significant drawback in practical applications.

[0004] Therefore, technicians in this field are in urgent need of a password card reset device to solve the service interruption problem caused by the need to power off and restart the host computer used in conjunction with the password card when resetting the password card due to an abnormality that the password card itself cannot recognize. Summary of the Invention

[0005] The purpose of this application is to provide a password card reset device, system, method and medium to solve the current problem of business interruption caused by powering off and restarting the host computer used in conjunction with the password card when resetting the password card due to an abnormal problem that the password card itself cannot identify.

[0006] In order to solve the above technical problems, the present application provides a password card reset device, comprising: a power switch module and a control module;

[0007] The input end of the power switch module is connected to the mainboard power supply, and the output end of the power switch module is connected to the power input end of the password card. The power switch module is used to control the on and off of the power supply to the password card;

[0008] The control module is connected to the controlled end of the power switch module and the reset input end of the password card, and is used to control the on and off of the power switch module and the reset of the password card.

[0009] In a possible embodiment, it further includes: an external control interface;

[0010] The external control interface is connected to the control module. When the external control interface receives a reset control instruction sent from the outside, the control module controls the password card to be powered on again and reset.

[0011] In a possible embodiment, the external control interface includes: a software reset interface;

[0012] The software reset interface is connected to a host computer used in conjunction with the password card, and is used to receive the reset control instruction sent by the host computer.

[0013] In a possible embodiment, the external control interface includes: a hardware reset interface;

[0014] The device also includes: a reset button circuit;

[0015] Wherein, the reset button circuit is arranged on the mainboard and connected to the hardware reset interface;

[0016] The reset button circuit is used to send a pulse signal to the control module as the reset control instruction when the reset button in the reset button circuit is pressed.

[0017] To solve the above technical problems, the present application also provides a password card reset system, comprising: the password card reset device as described above, as well as a password card, a mainboard power supply and a host computer;

[0018] The host computer is connected to the control module in the password card reset device to detect whether the operation status of the password card is abnormal. If abnormal, it sends a reset control instruction to the password card reset device to control the password card to power on and reset.

[0019] To solve the above technical problems, the present application further provides a password card reset method, which is applied to the password card reset device described above and applied to the control module side. The method includes:

[0020] When an abnormal state of the password card is detected, a reset signal is output to the reset input terminal of the password card to put the password card into a reset state;

[0021] Controlling the power switch module to turn off so that the password card enters a power-off state;

[0022] Controlling the power switch module to be turned on and keep outputting a reset signal to the reset input terminal of the password card, so that the password card enters a reset state;

[0023] Release the reset signal to restore the normal working state of the password card.

[0024] In a possible embodiment, controlling the power switch module to turn off so that the password card enters a power-off state includes:

[0025] Maintaining the off state of the power switch module for a first preset time; wherein the first preset time is greater than the expected time required for the password card to recover to the initialization state in the power-off state;

[0026] The controlling the power switch module to be turned on and to keep outputting a reset signal to the reset input terminal of the password card so as to put the password card into a reset state includes:

[0027] The power switch module is kept turned on for a second preset time and a reset signal is output to the reset input terminal of the password card; wherein the second preset time is greater than the expected time for the power supply of the password card to be stable after power-on.

[0028] In a possible embodiment, the control module is connected to a host computer used in conjunction with the password card;

[0029] The method further comprises:

[0030] When receiving the reset control instruction sent by the host computer, determining that the password card is in an abnormal state;

[0031] After releasing the reset signal to restore the normal working state of the password card, the method further includes:

[0032] Notify the host computer that the password card has resumed normal working state.

[0033] In a possible embodiment, the control module is connected to a reset button circuit provided on the mainboard;

[0034] The method further comprises:

[0035] When the pulse signal sent by the reset button circuit is received, it is determined that the password card is in an abnormal state.

[0036] To solve the above technical problems, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the password card resetting method described above are implemented.

[0037] The present application provides a password card reset device, which controls whether the password card is reset or not through a control module. At the same time, a power switch module is added between the password card and the mainboard power supply to control the power on and off of the password card, and the power switch module is controlled by the control module. Based on this device, the password card re-power on and reset can be untied from the host computer, so that the password card re-power on and reset are no longer strongly related to the host computer. Therefore, when the password card enters an abnormal state such as an operation error that the password card itself cannot recognize, the password card can be independently controlled to be re-powered on and reset through the control module to restore the password card to the initialized state and try to restore the normal working state of the password card. Moreover, the password card implemented based on this device can independently achieve re-power on and reset, without the need for the host computer to re-power on, which means that it will not have an adverse impact on the business being executed in the host computer, and is well adapted to the needs of host business continuity in actual application scenarios.

[0038] The password card reset system, method, and computer-readable storage medium provided in this application correspond to the above-mentioned device and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0040] Figure 1 A structural diagram of a password card reset system provided by the present invention;

[0041] Figure 2 A flowchart of a password card reset method provided by the present invention;

[0042] Figure 3 A signal timing diagram of a password card reset process provided by the present invention;

[0043] Among them, 10 is the password card reset device, 11 is the power switch module, 12 is the control module, 131 is the software reset interface, 132 is the hardware reset interface, 14 is the reset button circuit, 20 is the password card, 30 is the mainboard power supply, and 40 is the host computer. DETAILED DESCRIPTION

[0044] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0045] The core of this application is to provide a password card reset device, system, method and medium.

[0046] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0047] In related technologies, if the password card itself is in an abnormal state that it cannot detect, the password card cannot be reset to a normal state through its own watchdog or other mechanisms. In actual applications, such abnormal states are generally detected by the host computer (such as the host computer) used with the password card, so it is generally the host computer that actively resets the password card.

[0048] Currently, the host computer's active reset of the password card generally requires the host computer to shut down and restart in order to achieve the active reset of the password card. This will lead to a series of problems, the most typical of which is that other normal operations of the host computer (here refers to operations unrelated to the password card, and password card-related operations need to be stopped due to password card abnormalities to ensure security) will be interrupted due to the host computer's shutdown and restart, affecting business continuity, which is unacceptable in practical applications.

[0049] Based on the above, in order to solve a series of problems caused by the need to restart the host computer when actively resetting the password card, the present application provides a password card reset device 10, such as Figure 1 As shown, it includes: a power switch module 11 and a control module 12.

[0050] The input end of the power switch module 11 is connected to the mainboard power supply 30 , and the output end of the power switch module 11 is connected to the power input end of the password card 20 . The power switch module 11 is used to control the on and off of the password card 20 accessing the power supply.

[0051] The control module 12 is connected to the controlled terminal of the power switch module 11 and the reset input terminal of the password card 20 , and is used to control the on and off of the power switch module 11 and the reset of the password card 20 .

[0052] The aforementioned power switch module 11 is a switch module disposed between the mainboard power supply 30 and the power input terminal of the password card 20. Given the configuration of the present device, in which the power switch module 11 is controlled on and off by the control module 12, the power switch module 11 can be implemented as an electronic switch. The specific specifications and electrical parameters of the power switch module 11 can be determined based on the actual output parameters of the mainboard power supply 30. Furthermore, for circuit safety considerations, in addition to the electronic switch for controlling the on / off path between the mainboard power supply 30 and the power input terminal of the password card 20, the power switch module 11 may also include other hardware modules or circuits for circuit protection. If necessary, a voltage conversion circuit may be added to cover a wider range of mainboard power supply 30 and password card 20 models and specifications, although this embodiment does not impose any limitations on this.

[0053] As for the specific implementation of the control module 12, as can be seen from the above, the device's requirement for the control module 12 is that it can control the on / off switching of the power switch module 11 and the reset signal of the password card 20. The above functions can be implemented by a control device with a specific electrical signal output function, such as a single-chip microcomputer or a central processing unit. Considering the implementation cost, a single-chip microcomputer can generally meet the requirements for the control module 12 in this device. However, in one possible implementation, if the control module 12 is required to replace the host computer 40 to detect abnormalities in the password card 20, such as calculation errors, that the password card 20 itself cannot identify, then it may be necessary to use other more powerful control devices as the control module 12. This embodiment does not limit this.

[0054] As can be seen from the foregoing, the password card reset device 10 provided in this application achieves the unbinding of the password card 20 reset and the host computer 40 by means of a power switch and a single-chip microcomputer between the password card 20, the host computer 40, and the motherboard power supply 30. That is, when the password card 20 needs to be actively reset, the host computer 40 no longer needs to be powered off and restarted. Instead, the control module 12 controls the power-on and reset of the password card 20, thereby preventing the normal operations of the host computer 40 from being affected. While ensuring the business continuity of the host computer 40, such as the host, the password card 20 can also be actively reset, preventing the password card 20 from being shut down due to abnormalities that the password card 20 itself cannot identify.

[0055] On the other hand, the above embodiment also illustrates that the password card reset device 10 provided by this application is mainly used to realize the active reset of the password card 20. The need for active reset of the password card 20 indicates that the password card 20 has an abnormality that it cannot identify, such as an operation error. Based on this, regarding how the password card reset device 10 provided by this application realizes the detection of abnormalities in the password card 20, this embodiment provides a possible implementation scheme, such as Figure 1As shown, the password card resetting device 10 further includes: an external control interface.

[0056] The external control interface is connected to the control module 12. When the external control interface receives a reset control instruction sent from the outside, the control module 12 controls the password card 20 to power on and reset.

[0057] That is, in this embodiment, whether the password card 20 is operating abnormally is determined by other devices in the password card reset device 10 or manually. As can be seen from the above, in actual applications, the password card 20 is generally used in conjunction with a corresponding host computer as the host computer 40, and the host computer 40 of the password card 20 can identify problems such as operation errors that the password card 20 itself cannot identify. Therefore, this embodiment directly utilizes the existing host computer 40 to detect the operating status of the password card 20, eliminating the need for additional functional modules related to password card 20 status detection. This greatly simplifies the structure of the device and reduces the requirements for functional components such as the control module 12.

[0058] Accordingly, this embodiment also provides an implementation scheme for using the host computer 40 used in conjunction with the password card 20 as an information source for detecting whether the password card 20 has any abnormality. Figure 1 As shown, the above-mentioned external control interface includes: a software reset interface 131 .

[0059] The software reset interface 131 is connected to the host computer 40 used in conjunction with the password card 20 , and is used to receive a reset control instruction sent by the host computer 40 .

[0060] It should be noted that the software reset interface 131 is the communication interface between the password card reset device 10 (more specifically, the control module 12 therein) and an external device (i.e., the host computer 40). Therefore, the communication protocol based on the software reset interface 131 should be adapted to the connected external device, that is, it needs to be adapted to the communication protocol of the host computer 40 to support the host computer 40's command input of custom instructions (reset control instructions) and response (i.e., resetting the password card 20). Based on the current common application scenarios of the password card 20, the above-mentioned software reset interface 131 may include, but is not limited to: general-purpose input / output (GPIO), serial interface, I2C (Inter-Integrated Circuit, a bidirectional two-wire synchronous serial bus) interface, etc.

[0061] This embodiment is based on the setting of the software reset interface 131, so that the password card reset device 10 can establish a communication connection with an external device such as the host computer 40 through the software reset interface 131, thereby responding to the reset control instructions sent by the connected external device and realizing active reset control of the password card 20 based on software.

[0062] Furthermore, in addition to the software reset control solution provided in the above embodiment, this embodiment also provides a hardware reset control solution. Figure 1 As shown, the external control interface includes a hardware reset interface 132 . Correspondingly, the password card reset device 10 also includes a reset button circuit 14 .

[0063] The reset button circuit 14 is provided on the mainboard and connected to the hardware reset interface 132. The reset button circuit 14 is configured to send a pulse signal as a reset control instruction to the control module 12 when the reset button in the reset button circuit 14 is pressed.

[0064] It should be noted that the reset button circuit 14 in this embodiment is located on the mainboard and is used to provide a reset button to implement hardware-based control of actively resetting the password card 20. This hardware reset control solution provided by this embodiment is suitable for operators to actively reset the password card 20 during field maintenance. Operators only need to press the reset button on the mainboard to actively reset the password card 20.

[0065] As can be readily seen from the foregoing, the hardware reset control solution provided in this embodiment and the software reset control solution provided in the above embodiments do not conflict with each other and can even complement each other, enabling implementation independently or together. The software replication solution allows the host computer 40 to automatically reset the password card 20 upon detecting an abnormality in the password card 20, without requiring human intervention. The hardware reset control solution, on the other hand, allows maintenance personnel to proactively reset the password card 20 at any time as needed during actual maintenance work. The two solutions complement each other, providing a more flexible solution for resetting the password card 20.

[0066] On the other hand, the present application also provides an embodiment corresponding to a password card reset system. Figure 1 As shown, the password card reset system provided by this embodiment includes a password card reset device 10 provided by any of the above embodiments. In addition, the system also includes: a password card 20, a mainboard power supply 30 and a host computer 40.

[0067] The host computer 40 is connected to the control module 12 in the password card reset device 10 to detect whether the operation status of the password card 20 is abnormal. If abnormal, it sends a reset control instruction to the password card reset device 10 to control the password card 20 to power on and reset.

[0068] That is, in the password card reset system provided in this embodiment, the host computer 40, used in conjunction with the password card 20, detects anomalies in the password card 20 and serves as the initiator of the password card 20 reset command. Furthermore, since the password card reset system provided in this embodiment includes the password card reset device 10 provided in the above-mentioned embodiment, the embodiments of the system portion correspond to the embodiments of the device portion described above. For the embodiments of the system portion, please refer to the description of the embodiments of the device portion and will not be repeated here.

[0069] On the other hand, the present application also provides an embodiment corresponding to a password card reset method, which is applied to the password card reset device provided in any of the above embodiments, and the execution subject of the method is specifically the control module in the password card reset device. Figure 2 As shown, the method includes:

[0070] S11: When it is detected that the password card is in an abnormal state, a reset signal is output to the reset input terminal of the password card to put the password card into a reset state.

[0071] S12: Control the power switch module to turn off, so that the password card enters the power-off state.

[0072] S13: Control the power switch module to be turned on and keep outputting a reset signal to the reset input terminal of the password card, so that the password card enters a reset state.

[0073] S14: Release the reset signal to restore the password card to normal working state.

[0074] Based on the above steps S11 to S14, it can be seen that the password card reset method provided in this embodiment is a control method based on a specific timing when the password card needs to be actively reset. The complete timing is as follows: Figure 3 shown.

[0075] It is important to note that Figure 3 The following is a complete timing diagram of the password card in the actual operation process under the scenario of triggering the password card reset with a low level signal, which is a possible implementation scheme. The active reset timing corresponding to the above steps S11 to S14 corresponds to Figure 3 The timing part to the right of the dotted line, and Figure 3 The timing portion on the left side of the middle dotted line is the signal timing portion of the password card during startup and initialization.

[0076] By the above steps S11 to S14 and Figure 3It's easy to see that when a password card experiences an anomaly, powering off and then powering on the card and resetting it completely clears its internal registers, restoring the card to its initial state. Upon powering it back on, the card can function normally. Furthermore, this method eliminates the need to power off and restart the host computer used with the card, significantly reducing the impact on the host computer's normal operation.

[0077] On the other hand, this embodiment also provides another possible implementation of the password card reset method. The above step S12 specifically includes: keeping the power switch module in the off state for a first preset time period.

[0078] The first preset time length is greater than the expected time length required for the password card to recover to the initialization state after power failure, and is generally several milliseconds.

[0079] Furthermore, the above step S13 is specifically as follows:

[0080] The power switch module is kept turned on for a second preset time period and a reset signal is output to the reset input terminal of the password card.

[0081] The second preset time is longer than the expected time for the power supply of the password card to stabilize after power-on, which is generally a few milliseconds. However, it should be noted that there is no size limit between the first preset time and the second preset time. Figure 3 What is shown is only one possible situation in practical application.

[0082] In this embodiment, that is, by maintaining the specific timing steps, it is ensured that the password card can be reset smoothly, thereby ensuring that the password card can solve the abnormal problem through reset and resume normal operation. In addition, based on the implementation scheme provided in this embodiment, combined with Figure 3 For example, this embodiment also provides the signal status of the password card at various stages in actual operation:

[0083] 1. Start-up phase;

[0084] At this stage, the mainboard is powered on normally, and the host computer is reset and outputs a high level normally.

[0085] After the mainboard is powered on, the password card reset device needs a period of time to complete initialization and enter the working state. The default working state of the password card reset device is to turn on the power switch module, that is, to maintain the power input to the password card, and the password card reset device responds to the reset signal of the password card (i.e. Figure 3 The password card reset signal) output follows the reset control instruction input to the password card reset device by the host computer.

[0086] For the password card, the password card is normally powered on at this stage. And when the password card reset device releases the reset signal (i.e. Figure 3After the reset signal of the password card jumps from low level to high level), it enters the normal working state.

[0087] 2. Working stage;

[0088] At this stage, all modules and devices in the password card reset system are in normal working state, and the password card reset device does not actively reset the password card.

[0089] 3. Abnormal stage;

[0090] In this stage, the password card has entered an abnormal state for some reason, but the host computer has not yet discovered that the password card has an abnormality, so the reset signals and power supply remain consistent with the working stage.

[0091] 4. Power-off stage;

[0092] At this stage, the host computer finds that the password card is in an abnormal state. At this time, the host computer can suspend the business related to the password card and send the reset control instruction to the password card reset device (i.e. Figure 3 The password card reset signal jumps from high level to low level).

[0093] After receiving the reset control command from the host computer, the password card reset device first pulls down the password card reset signal to put the password card into the reset state. After a predetermined time interval (this interval is only to ensure the timing relationship between pulling down the password card reset signal and turning off the password card power supply, generally a few microseconds will meet the requirement), the password card power supply is turned off, and the password card is in the power-off state.

[0094] The purpose of powering off the password card is to completely clear the registers inside the password card and ensure that the password card is restored to the initialization state. Therefore, in this embodiment, this stage is required to be maintained for at least a first preset time (usually a few milliseconds).

[0095] 5. Reset phase;

[0096] After the power-off phase ends, the password card reset device restores the power supply to the password card by controlling the power switch module. However, the reset signal of the password card is not released during this phase, so the password card is still in the reset state to complete the reset-related process.

[0097] The purpose of the reset phase is to enable the password card to resume normal working state based on the reset after powering on again. The reset of the password card generally takes a certain amount of time, so in this embodiment, this phase is required to last for at least a second preset time.

[0098] 6. Working phase after abnormal recovery;

[0099] The password card reset device releases the password card reset signal. The status of each signal is the same as the above working stage. The difference from the above working stage is that in this stage, the password card reset device can notify the host computer to resume normal working state of the password card, so that the host computer can resume password card-related services.

[0100] On the other hand, corresponding to the software reset control solution and hardware reset control solution for implementing password card reset control provided in some embodiments of the above-mentioned device, this embodiment also provides a corresponding implementation scheme from a method perspective:

[0101] 1. Software reset control scheme;

[0102] When the control module is connected to a host computer used in conjunction with the password card, the method further includes:

[0103] S21: When receiving the reset control instruction sent by the host computer, it is determined that the password card is in an abnormal state.

[0104] After step S14, the method further includes:

[0105] S15: Notify the host computer that the password card has resumed normal working state.

[0106] 2. Hardware reset control scheme;

[0107] When the control module is connected to the reset button circuit provided on the mainboard, the method further includes:

[0108] S22: When a pulse signal sent by the reset button circuit is received, it is determined that the password card is in an abnormal state.

[0109] As can be seen from the embodiments of the aforementioned apparatus, the software reset control scheme and the hardware reset control scheme can be implemented separately or together. Regardless of the reset control scheme employed, it is only necessary to add the corresponding instruction processing logic (i.e., steps S21, S15, and S22) to the control module. This scheme eliminates the need for the control module to independently detect abnormal conditions in the password card, significantly reducing the implementation difficulty of the method and improving the efficiency of password card reset control.

[0110] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiment.

[0111] It is understandable that if the method in the above embodiment is implemented in the form of 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, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] The above is a detailed introduction to the password card reset device, system, method and medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple. For relevant parts, refer to the method section. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.

[0113] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A password card resetting device, characterized in that: include: Power switch module and control module; The input end of the power switch module is connected to the mainboard power supply, and the output end of the power switch module is connected to the power input end of the password card. The power switch module is used to control the on and off of the password card to access the power supply; The control module is connected to the controlled end of the power switch module and the reset input end of the password card, and is used to control the on and off of the power switch module and the reset of the password card.

2. The password card resetting device according to claim 1, characterized in that: Also includes: External control interface; The external control interface is connected to the control module. When the external control interface receives a reset control instruction sent from the outside, the control module controls the password card to be powered on again and reset.

3. The password card resetting device according to claim 2, characterized in that: The external control interface includes: a software reset interface; The software reset interface is connected to a host computer used in conjunction with the password card, and is used to receive the reset control instruction sent by the host computer.

4. The password card resetting device according to claim 2, characterized in that: The external control interface includes: a hardware reset interface; The device also includes: a reset button circuit; Wherein, the reset button circuit is arranged on the mainboard and connected to the hardware reset interface; The reset button circuit is used to send a pulse signal to the control module as the reset control instruction when the reset button in the reset button circuit is pressed.

5. A password card reset system, characterized in that: include: The password card resetting device as claimed in any one of claims 1 to 4, and the password card, the mainboard power supply and the host computer; The host computer is connected to the control module in the password card reset device to detect whether the operation status of the password card is abnormal. If abnormal, a reset control instruction is sent to the password card reset device to control the password card to power on and reset.

6. A password card resetting method, characterized in that: The password card resetting device as claimed in claims 1 to 4 is applied to the control module side, and the method includes: When an abnormal state of the password card is detected, a reset signal is output to the reset input terminal of the password card to put the password card into a reset state; Controlling the power switch module to turn off so that the password card enters a power-off state; Control the power switch module to turn on and keep outputting a reset signal to the reset input terminal of the password card, so that the password card enters a reset state; The reset signal is released to restore the normal working state of the password card.

7. The password card resetting method according to claim 6, characterized in that: The controlling the power switch module to turn off so that the password card enters a power-off state comprises: Maintaining the off state of the power switch module for a first preset time; wherein the first preset time is greater than the expected time required for the password card to recover to the initialization state in a power-off state; The controlling the power switch module to turn on and keep outputting a reset signal to the reset input terminal of the password card so that the password card enters a reset state includes: The power switch module is kept turned on for a second preset time and a reset signal is output to the reset input terminal of the password card; wherein the second preset time is greater than the expected time for the power supply of the password card to be stable after power-on.

8. The password card resetting method according to claim 6, characterized in that: The control module is connected to a host computer used in conjunction with the password card; The method further comprises: When receiving the reset control instruction sent by the host computer, determining that the password card is in an abnormal state; After releasing the reset signal to restore the normal working state of the password card, the method further includes: Notify the host computer that the password card resumes normal working state.

9. The password card resetting method according to claim 6, characterized in that: The control module is connected to a reset button circuit arranged on the mainboard; The method further comprises: When the pulse signal sent by the reset button circuit is received, it is determined that the password card is in an abnormal state.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the password card resetting method according to any one of claims 6 to 9 are implemented.