Search

CN-115509847-B - Key failure detection method and device, computer equipment and storage medium

CN115509847BCN 115509847 BCN115509847 BCN 115509847BCN-115509847-B

Abstract

The application relates to a keyboard key failure detection method which is suitable for a financial terminal to encrypt a keyboard, and comprises the steps of obtaining a current key value when a user operates keys, and taking the key value as historical key information after privacy is removed; when the operation of the user service fails, judging the service failure type of the user according to the historical key information, wherein the service failure type comprises key operation failure and non-key operation failure, acquiring the continuous failure times of the user service at the current financial terminal, and if the service failure type is key operation failure and the continuous failure times of the service are greater than a preset failure times threshold, transmitting key failure information to the terminal. The application can find the fault under the condition of failure of the keys of the encryption keyboard, thereby reporting the fault to maintenance personnel in time, improving the opening rate of the self-service financial equipment, reducing the maintenance cost and improving the satisfaction rate of users for financial services.

Inventors

  • CHENG DONG
  • WANG QINGHUA

Assignees

  • 深圳市怡化时代科技有限公司

Dates

Publication Date
20260512
Application Date
20210603

Claims (9)

  1. 1. A method for detecting a failure of keys of a keyboard, the method being suitable for encrypting the keyboard by a financial terminal, the method comprising: Acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; judging a user service failure type according to the historical key information when the user service operation fails, wherein the service failure type comprises key operation failure and non-key operation failure, and judging the user service failure type according to the historical key information when the user service operation fails, wherein the method comprises the steps of determining the maximum irrelevant total input times of the key of the encryption keyboard according to the historical key information, judging the service failure type as key operation failure if the maximum irrelevant total input times exceed a preset irrelevant total input times threshold value, or determining the maximum non-use time of the key of the encryption keyboard according to the current key value, and judging the service failure type as key operation failure if the maximum non-use time exceeds a preset maximum non-use time threshold value; Acquiring the continuous failure times of a user in the current financial terminal service; And if the service failure type is key operation failure and the service continuous failure times are greater than a preset failure times threshold, transmitting key failure information to the terminal.
  2. 2. The method of claim 1, wherein the de-privacy comprises: Acquiring the input times of each key value; and finishing privacy removal according to the input times and the key value.
  3. 3. The method of claim 1, wherein when the user service operation fails, the method further comprises: acquiring the key operation failure probability of the current financial terminal; and if the key operation failure probability of the current financial terminal is larger than a preset key operation failure probability threshold, judging that the service failure type is key operation failure.
  4. 4. The method according to claim 1, wherein when the user service operation fails, the determining the user service failure type according to the history key information includes: Obtaining the current key failure probability according to the maximum non-use time, the maximum irrelevant total input times and the current key operation failure probability of the financial terminal; and if the current key failure probability is larger than a preset key failure probability threshold, judging that the service failure type is key operation failure.
  5. 5. The method of claim 1, wherein said determining a maximum number of unrelated total inputs to the encrypted keyboard key based on the current key value comprises: Determining irrelevant total input times of each key of the encryption keyboard according to the historical key information; Determining the maximum irrelevant total input times of the keys of the encryption keyboard according to the irrelevant total input times of each key; the determining the maximum non-use time of the key of the encryption keyboard according to the current key value comprises the following steps: determining the non-use time of each key of the encryption keyboard according to the current key value; And determining the maximum non-use time of the keys of the encryption keyboard according to the non-use time of each key.
  6. 6. The method of claim 3, further comprising, after the sending the key failure information to the terminal: switching the encryption keyboard to enter a fault-tolerant working mode, and obtaining the moment of successful input of the last key of a user; determining the pause time of the user according to the moment of the last key successfully input; And if the pause time is greater than a preset time interval, inserting a key value corresponding to the maximum non-use time.
  7. 7. A keyboard key failure detection device, the device being adapted for use with a financial terminal encryption keyboard, the device comprising: the first acquisition module is used for acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; The judging module is used for judging the user service failure type according to the historical key information when the user service operation fails, wherein the service failure type comprises key operation failure and non-key operation failure, and judging the user service failure type according to the historical key information when the user service operation fails, wherein the judging module comprises determining the maximum irrelevant total input times of the key of the encryption keyboard according to the historical key information, judging the service failure type as key operation failure if the maximum irrelevant total input times exceed a preset irrelevant total input times threshold value, or determining the maximum non-use time of the key of the encryption keyboard according to the current key value, and judging the service failure type as key operation failure if the maximum non-use time exceeds a preset maximum non-use time threshold value; The second acquisition module is used for acquiring the continuous failure times of the user in the current financial terminal service; And the information sending module is used for sending key failure information to the terminal if the service failure type is key operation failure and the service continuous failure times are larger than a preset failure times threshold value.
  8. 8. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 6.
  9. 9. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the method of any of claims 1 to 6.

Description

Key failure detection method and device, computer equipment and storage medium Technical Field The invention relates to the technical field of key failure detection of a financial terminal encryption keyboard, in particular to a key failure detection method, a device, computer equipment and a storage medium. Background The financial device has no key device for encrypting the keyboard. The encryption keyboard has quite wide application, especially for unattended financial self-service equipment, and the key component is not used. At present, the design of the encryption keyboard has the advantages that the keyboard circuit is broken, the key function is lost, and the encryption keyboard cannot actively report errors. Since the encryption keyboard does not have the function of reporting that the keyboard fails and can not be used for pressing keys, and the keys of the encryption keyboard are directly oriented to a user, the probability of failure is high, and the probability of failure of one key can reach 99% of all failures, so that the situation that two keys fail and can not be used at the same time is not considered. Most of the financial self-service terminals are located at off-line positions, are remote in position, have high maintenance cost, and cannot be inspected every day. The encryption keyboard is used as a core component of the self-service equipment, and if the key failure of the encryption keyboard cannot be found in time, almost all service functions of the equipment cannot be used. Therefore, a technique for automatically detecting key failure of an encryption keyboard is needed. Disclosure of Invention In view of the foregoing, it is desirable to provide a key failure detection method, apparatus, computer device, and storage medium that can automatically detect key failure of an encrypted keyboard. In a first aspect, the present invention provides a method for detecting a failure of keys of a keyboard, the method being applicable to a financial terminal encryption keyboard, the method comprising: Acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; judging the service failure type of the user according to the historical key information when the user service operation fails, wherein the service failure type comprises key operation failure and non-key operation failure; Acquiring the continuous failure times of a user in the current financial terminal service; And if the service failure type is key operation failure and the service continuous failure times are greater than a preset failure times threshold, transmitting key failure information to the terminal. In a second aspect, the present invention provides a keyboard key failure detection apparatus, the apparatus being adapted for use with a financial terminal encryption keyboard, the apparatus comprising: the first acquisition module is used for acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; the judging module is used for judging the service failure type of the user according to the historical key information when the user service operation fails, wherein the service failure type comprises key operation failure and non-key operation failure; The second acquisition module is used for acquiring the continuous failure times of the user in the current financial terminal service; And the information sending module is used for sending key failure information to the terminal if the service failure type is key operation failure and the service continuous failure times are larger than a preset failure times threshold value. In a third aspect, the invention provides a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of: Acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; judging the service failure type of the user according to the historical key information when the user service operation fails, wherein the service failure type comprises key operation failure and non-key operation failure; Acquiring the continuous failure times of a user in the current financial terminal service; And if the service failure type is key operation failure and the service continuous failure times are greater than a preset failure times threshold, transmitting key failure information to the terminal. In a fourth aspect, the present invention provides a computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: Acquiring a current key value of a key operation of a user, and taking the key value as historical key information after privacy removal; judging the service failure type of the user according to the