A key failure detection method and device, computer equipment and storage medium

By acquiring and processing key operation information from the encrypted keyboard, the system automatically detects and reports key malfunctions, solving the problem of encrypted keyboards being unable to report faults and improving device availability and user satisfaction.

CN115509847BActive Publication Date: 2026-05-12SHENZHEN YIHUA TIME TECH
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN YIHUA TIME TECH
Filing Date
2021-06-03
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The inability of encrypted keyboard keys to automatically report malfunctions leads to the inability of financial self-service terminals to detect faults in a timely manner, resulting in high maintenance costs and impacting the use of business functions.

Method used

By obtaining the current key value of the user's key press operation, processing it to remove privacy, and using it as historical key press information, the system can determine the type of service failure and send a key failure message to the terminal when the number of consecutive failures exceeds a threshold.

Benefits of technology

It enables automatic detection of malfunctioning encrypted keyboard keys, timely reporting of faults, improved uptime of financial self-service equipment, reduced maintenance costs, and enhanced user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509847B_ABST
    Figure CN115509847B_ABST
Patent Text Reader

Abstract

The application relates to a keyboard key failure detection method, which is suitable for a financial terminal encryption keyboard, and the method comprises the following steps: obtaining a current key value when a user performs a key operation, and taking the key value as historical key information after de-privatization; when a user business operation fails, judging a user business failure type according to the historical key information; the business failure type comprises key operation failure and non-key operation failure; obtaining a number of times of continuous business failures of a user at a current financial terminal; if the business failure type is key operation failure and the number of times of continuous business failures is greater than a preset failure number threshold, sending key failure information to the terminal. The application can discover the fault in the case of encryption keyboard key failure, thereby timely reporting to maintenance personnel, improving the starting rate of the financial self-service equipment, reducing the maintenance cost, and improving the user satisfaction rate for the financial service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of key failure detection technology for encrypted keyboards in financial terminals, and in particular to a key failure detection method, device, computer equipment, and storage medium. Background Technology

[0002] Encrypted keyboards are an indispensable component in financial equipment. Their application is widespread, especially in unattended self-service financial devices. Currently, encrypted keyboards are designed so that if the circuitry breaks and the keys lose function, the keyboard does not actively report this error. Because encrypted keyboards lack the ability to report keyboard malfunctions, and since the keys directly face the user, the probability of malfunction is very high—the probability of one key failing can reach 99% of all failures—there's no need to consider the scenario where two keys fail simultaneously. However, most financial self-service terminals are located off-site, in remote locations, and have high maintenance costs, making daily inspections impractical. As a core component of self-service equipment, if encrypted keyboard malfunctions are not detected promptly, almost all of the device's functions become unusable. Therefore, a technology that can automatically detect encrypted keyboard malfunctions is essential. Summary of the Invention

[0003] Therefore, it is necessary to provide a key failure detection method, device, computer equipment, and storage medium that can automatically detect key failures on encrypted keyboards to address the above problems.

[0004] In a first aspect, the present invention provides a method for detecting keyboard key malfunction, the method being applicable to encrypted keyboards in financial terminals, the method comprising:

[0005] Obtain the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information;

[0006] When a user's service operation fails, the type of user service failure is determined based on the historical key press information; the type of service failure includes key operation failure and non-key operation failure.

[0007] Get the number of consecutive failures a user experiences in the current financial terminal service;

[0008] If the service failure type is either a button operation failure or the number of consecutive service failures exceeds a preset failure threshold, then a button malfunction message is sent to the terminal.

[0009] Secondly, the present invention provides a keyboard key malfunction detection device, the device being applicable to encrypted keyboards in financial terminals, the device comprising:

[0010] The first acquisition module is used to acquire the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information.

[0011] The judgment module is used to determine the type of user service failure based on the historical key press information when a user service operation fails; the type of service failure includes key operation failure and non-key operation failure.

[0012] The second acquisition module is used to acquire the number of consecutive failures of the user in the current financial terminal business.

[0013] The information sending module sends a key failure message to the terminal if the service failure type is a key operation failure or the number of consecutive service failures exceeds a preset failure threshold.

[0014] Thirdly, the present invention provides a computer device, including a memory and a processor, the memory storing a computer program, which, when executed by the processor, causes the processor to perform the following steps:

[0015] Obtain the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information;

[0016] When a user's service operation fails, the type of user service failure is determined based on the historical key press information; the type of service failure includes key operation failure and non-key operation failure.

[0017] Get the number of consecutive failures a user experiences in the current financial terminal service;

[0018] If the service failure type is either a button operation failure or the number of consecutive service failures exceeds a preset failure threshold, then a button malfunction message is sent to the terminal.

[0019] Fourthly, 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 following steps:

[0020] Obtain the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information;

[0021] When a user's service operation fails, the type of user service failure is determined based on the historical key press information; the type of service failure includes key operation failure and non-key operation failure.

[0022] Get the number of consecutive failures a user experiences in the current financial terminal service;

[0023] If the service failure type is either a button operation failure or the number of consecutive service failures exceeds a preset failure threshold, then a button malfunction message is sent to the terminal.

[0024] This application relates to a method, apparatus, computer device, and storage medium for detecting keyboard key malfunction. By acquiring the current key value of a user's key press during operation, and after de-anonymization, using the key value as historical key press information; when a user's service operation fails, the type of service failure is determined based on the historical key press information; the service failure type includes key operation failure and non-key operation failure; the number of consecutive service failures by the user in the current financial terminal is acquired; if the service failure type is key operation failure and the number of consecutive service failures exceeds a preset failure threshold, key malfunction information is sent to the terminal. This invention can detect keyboard key malfunctions, thereby promptly reporting them to maintenance personnel, improving the uptime rate of financial self-service equipment while reducing maintenance costs and increasing user satisfaction with financial services. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, 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 the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0026] Figure 1 This is a flowchart of a keyboard key malfunction detection method in one embodiment;

[0027] Figure 2 This is a flowchart of a keyboard key malfunction detection method in one embodiment;

[0028] Figure 3 This is a flowchart of a keyboard key malfunction detection method in one embodiment;

[0029] Figure 4 This is a flowchart of a keyboard key malfunction detection method in one embodiment;

[0030] Figure 5 This is a structural block diagram of a keyboard key failure detection device in one embodiment;

[0031] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0033] In one embodiment, this invention provides a method for detecting keyboard key malfunctions, applicable to encrypted keyboards in financial terminals, to address the problem of no one reporting keyboard malfunctions, particularly for self-service financial terminals. Most self-service financial terminals are off-site, located in remote areas, resulting in high maintenance costs and making daily inspections impractical. For unattended self-service financial devices, if encrypted keyboard keys malfunction, the only recourse is to report the issue to customers. If keyboard malfunctions are not detected promptly, almost all functions of the device become unusable. This invention enables real-time automatic detection of encrypted keyboard key malfunctions and timely reporting of the fault to maintenance personnel.

[0034] like Figure 1 As shown, this invention provides a method for detecting keyboard key malfunctions. The method is applicable to encrypted keyboards in financial terminals and includes:

[0035] Step 102: Obtain the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information.

[0036] De-anonymization refers to the process of converting serialized user input into deserialized information. Specifically, after de-anonymization, the original serialized user input cannot be reconstructed from the de-anonymized data. De-anonymization significantly improves the confidentiality and security of user information.

[0037] In one embodiment, when a user inputs using an encrypted keyboard, each key value entered by the user is directly obtained. All obtained key values ​​are de-anonymized and used as historical key information, which is stored in the current financial terminal, bank server, or network server.

[0038] In one embodiment, such as Figure 2 As shown, the de-privacy process includes:

[0039] Step 1022: Obtain the number of times each key value was input.

[0040] Specifically, when a user inputs using the encrypted keyboard, in addition to acquiring each key value entered by the user, it is also necessary to calculate the number of times each key value is entered. For example, if the user enters the first key value 2, the number of times key value 2 is entered is 1; if the user then enters the second key value 3, the number of times key value 2 is entered is 1 and the number of times key value 3 is entered is 1; if the user then enters the third key value 3, the number of times key value 2 is entered is 1 and the number of times key value 3 is entered is 2.

[0041] Step 1024: De-privacy is completed based on the number of inputs and the key value.

[0042] Once the number of key values ​​entered by the user is obtained, the serialized information content entered by the user can be converted into deserialized information content based on the user's key values ​​and the number of key values ​​entered, thereby achieving privacy protection.

[0043] In one embodiment, if the user inputs serialized information 123339 in sequence, then in this embodiment, the number of times key value 1 is input is 1, the number of times key value 2 is input is 1, the number of times key value 3 is input is 3, and the number of times key value 9 is input is 1. After de-anonymization, the stored data is 1 1, 1 2, 3 3, 0 4, 0 5, 0 6, 0 7, 0 8, and 1 9.

[0044] Step 104: When a user's business operation fails, determine the type of user business failure based on the historical key press information; the type of business failure includes key operation failure and non-key operation failure.

[0045] Among them, the business failure types are distinguished according to the reasons that caused the user's current business failure, and can be divided into key operation failure and non-key operation failure.

[0046] Keypad operation failure refers to situations where the user fails to complete a keypad operation, resulting in the failure of the current business execution and the failure to achieve the desired business outcome. Examples include incorrect or failed password input, failed or non-existent ID number input, or failed or non-existent transfer account input, all leading to unsuccessful business execution. Non-keypad operation failure refers to situations where the current business execution fails for reasons other than the failure to complete a keypad operation.

[0047] Step 106: Obtain the number of consecutive failures of the user in the current financial terminal business.

[0048] In this financial terminal, when a user performs a transaction, the terminal stores the transaction information locally, including the transaction time and whether the transaction was successful. The transaction records are arranged in chronological order. When a user's transaction fails, the terminal can retrieve the number of consecutive failed transactions in chronological order.

[0049] Step 108: If the service failure type is a button operation failure or the number of consecutive service failures exceeds a preset failure threshold, then send a button malfunction information to the terminal.

[0050] If the business failure type is key operation failure, and the number of consecutive business failures exceeds the preset threshold, it indicates that the encrypted keyboard of the financial terminal is malfunctioning. The reporting program is then initiated to send the key malfunction information to the terminal.

[0051] This application relates to a method for detecting keyboard key malfunction. By acquiring the current key value of a user's key press during operation, and after de-anonymization, using this key value as historical key press information; when a user's service operation fails, the method determines the type of service failure based on the historical key press information; the service failure type includes key operation failure and non-key operation failure; the method acquires the number of consecutive service failures of the user on the current financial terminal; if the service failure type is key operation failure and the number of consecutive service failures exceeds a preset failure threshold, then a key malfunction information is sent to the terminal. This invention can detect this fault when encrypted keyboard keys malfunction, thereby promptly reporting it to maintenance personnel, improving the uptime rate of financial self-service equipment while reducing maintenance costs and increasing user satisfaction with financial services.

[0052] In one embodiment, determining the user service failure type based on the historical key press information when a user service operation fails includes: determining the maximum total number of irrelevant key presses on the encrypted keyboard based on the historical key press information; if the maximum total number of irrelevant key presses exceeds a preset threshold for the total number of irrelevant key presses, then determining the service failure type as a key press operation failure; or, determining the maximum non-use time of the encrypted keyboard based on the current key value; if the maximum non-use time exceeds a preset maximum non-use time threshold, then determining the service failure type as a key press operation failure.

[0053] In one embodiment, determining the maximum irrelevant total number of inputs to the encrypted keyboard keys based on the current key value includes: determining the total irrelevant number of inputs to each key on the encrypted keyboard based on the historical key information; and determining the maximum irrelevant total number of inputs to the encrypted keyboard keys based on the total irrelevant number of inputs to each key. Determining the maximum non-use time of the encrypted keyboard keys based on the current key value includes: determining the non-use time of each key on the encrypted keyboard based on the current key value; and determining the maximum non-use time of the encrypted keyboard keys based on the non-use time of each key.

[0054] The total irrelevant input count refers to the number of times a user inputs a key value X within a certain time period, where the key value X is input N times in total, and the number of times key value X is input 0 times. The maximum irrelevant total input count refers to the maximum number of irrelevant total inputs of all key values ​​on the encrypted keyboard of the financial terminal within a certain time period. For example, if the key value 5 was input once at 8:00 AM and not again until 3:00 PM, and since the key value 5 was input at 8:00 AM, a total of 302 key values ​​were input from the encrypted keyboard, then the total irrelevant input count for key value 5 is 302.

[0055] The non-use time is a parameter representing the duration of non-use for a key value, indicating how long that key value has not been used. If the user's current input key value is X, then the non-use time of key value X is the time difference between the current moment and the moment key value X was last input. The maximum non-use time refers to the maximum non-use time of all key values ​​on the encrypted keyboard of the financial terminal within a certain period. For example, if key value 7 has not been entered since it was entered at 12:00 noon yesterday, and the current time is 10:30 AM today, then the non-use time of key value 7 is 21 hours and 30 minutes.

[0056] In this embodiment, if the maximum total number of irrelevant inputs to the encrypted keyboard exceeds a preset threshold for the total number of irrelevant inputs, the service failure is determined to be related to key malfunction, and therefore the service failure type is determined to be key operation failure; or if the maximum non-use time of the encrypted keyboard exceeds a preset maximum non-use time threshold, the service failure is determined to be related to key malfunction, and therefore the service failure type is determined to be key operation failure. It is understandable that in practical applications, the service failure type can also be determined by simultaneously judging whether the maximum total number of irrelevant inputs exceeds a preset threshold for the total number of irrelevant inputs and whether the maximum non-use time exceeds a preset maximum non-use time threshold.

[0057] In one embodiment, such as Figure 3 As shown, when a user's business operation fails, the method further includes:

[0058] Step 302: Obtain the probability of failure of the current financial terminal button operation.

[0059] In this embodiment, the financial terminal is equipped with a program for calculating the probability of button operation failure. The program calculates the probability of button operation failure by comparing the total number of business operations performed on the financial terminal within a certain time period with the number of business operations that failed due to button operation failures within that time period. Specifically, the probability of button operation failure is the ratio of the number of business operations that failed due to button operation failures to the total number of business operations performed on the financial terminal within that time period.

[0060] Step 304: If the probability of failure of the current financial terminal button operation is greater than the preset button operation failure probability threshold, then the business failure type is determined to be button operation failure.

[0061] The current financial terminal stores a preset threshold for the probability of button operation failure. If a business operation on the current financial terminal fails, and the probability of failure on the current financial terminal is greater than the preset threshold for button operation failure, then the business failure type is determined to be a button operation failure.

[0062] In one embodiment, such as Figure 4 As shown, when a user's service operation fails, determining the type of user service failure based on the historical key press information includes:

[0063] Step 402: Obtain the current key failure probability based on the maximum non-use time, the maximum total number of irrelevant inputs, and the current probability of key operation failure on the financial terminal.

[0064] The probability of button malfunction is calculated by weighting the maximum non-use time, the maximum total number of irrelevant inputs, and the probability of button operation failure at the current financial terminal.

[0065] In this embodiment, let A be the maximum non-use time, with a corresponding weighting coefficient α; let B be the maximum total number of irrelevant inputs, with a corresponding weighting coefficient β; let C be the probability of current financial terminal key operation failure, with a corresponding weighting coefficient γ; and let X be the probability of current key malfunction. Then, the formula for calculating the current key malfunction probability through weighted calculation is as follows:

[0066] X=α*A+β*B+γ*C, where α+β+γ=1

[0067] Step 404: If the current key failure probability is greater than the preset key failure probability threshold, then the service failure type is determined to be key operation failure.

[0068] If the weighted calculation of the previous button failure probability is greater than the preset button failure probability threshold, it indicates that the current financial terminal button is malfunctioning, and the business failure type is determined to be button operation failure.

[0069] In one embodiment, after sending the key failure information to the terminal, the method further includes: switching the encrypted keyboard into a fault-tolerant working mode, obtaining the time of the user's most recent successful key input; determining the user's pause time based on the time of the most recent successful key input; and if the pause time is greater than a preset time interval, inserting a key value corresponding to the maximum non-use time.

[0070] In this embodiment, when it is determined that the current financial terminal's buttons are malfunctioning, the financial terminal is controlled to enter a fault-tolerant working mode. After obtaining the time of the user's most recent successful button input, the pause time of the user is determined based on the time of the most recent successful button input. If the pause time is greater than a preset time interval, the key value corresponding to the current financial terminal and the maximum irrelevant total number of inputs or the maximum non-use time is automatically inserted after the key value entered by the user, so that the user can complete the business operation even before the buttons are repaired.

[0071] like Figure 5As shown, the present invention also provides a keyboard key malfunction detection device, which is suitable for encrypted keyboards in financial terminals, and the device includes:

[0072] The first acquisition module 502 is used to acquire the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information.

[0073] The judgment module 504 is used to determine the type of user service failure based on the historical key press information when a user service operation fails; the type of service failure includes key operation failure and non-key operation failure.

[0074] The second acquisition module 506 is used to acquire the number of consecutive failures of the user in the current financial terminal business.

[0075] The information sending module 508 sends a key failure message to the terminal if the service failure type is a key operation failure or the number of consecutive service failures exceeds a preset failure number threshold.

[0076] like Figure 6 The diagram shows the internal structure of a computer device in one embodiment. This computer device can be a keyboard malfunction detection device or a terminal or server connected to such a device. Figure 6 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement a keyboard key malfunction detection method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to implement a keyboard key malfunction detection method. The network interface is used for communication with external devices. Those skilled in the art will understand that… Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0077] In one embodiment, the keyboard key malfunction detection method provided in this application can be implemented as a computer program, which can be implemented in the form of, for example... Figure 6 The device operates on the computer shown. The computer's memory can store various program templates that make up the keyboard malfunction detection device. For example, the first acquisition module 502, the judgment module 504, the second acquisition module 506, and the information sending module 508.

[0078] A computer device includes a memory and a processor. The memory stores a computer program that, when executed by the processor, causes the processor to perform the following steps: acquiring the current key value of a user's key press operation, de-anonymizing the key value, and using the key value as historical key press information; when a user's service operation fails, determining the type of user service failure based on the historical key press information; the service failure type includes key press operation failure and non-key press operation failure; acquiring the number of consecutive service failures of the user in the current financial terminal; if the service failure type is key press operation failure and the number of consecutive service failures exceeds a preset failure threshold, sending key press malfunction information to the terminal.

[0079] In one embodiment, the de-privacy process includes: obtaining the number of times each key value was input; and performing de-privacy based on the number of inputs and the key value.

[0080] In one embodiment, determining the user service failure type based on the historical key press information when a user service operation fails includes: determining the maximum total number of irrelevant key presses on the encrypted keyboard based on the historical key press information; if the maximum total number of irrelevant key presses exceeds a preset threshold for the total number of irrelevant key presses, then determining the service failure type as a key press operation failure; or, determining the maximum non-use time of the encrypted keyboard based on the current key value; if the maximum non-use time exceeds a preset maximum non-use time threshold, then determining the service failure type as a key press operation failure.

[0081] In one embodiment, when a user's business operation fails, the method further includes: obtaining the probability of failure of the current financial terminal's key operation; if the probability of failure of the current financial terminal's key operation is greater than a preset key operation failure probability threshold, then determining that the business failure type is key operation failure.

[0082] In one embodiment, when a user's business operation fails, determining the type of user business failure based on the historical key press information includes: obtaining the current key failure probability based on the maximum non-use time, the maximum total number of irrelevant inputs, and the current financial terminal key operation failure probability; if the current key failure probability is greater than a preset key failure probability threshold, then the business failure type is determined to be a key operation failure.

[0083] In one embodiment, determining the maximum irrelevant total number of keystrokes for the encrypted keyboard based on the current key value includes: determining the total irrelevant number of keystrokes for each keystroke on the encrypted keyboard based on the historical keystroke information; and determining the maximum irrelevant total number of keystrokes for the encrypted keyboard based on the total irrelevant number of keystrokes for each keystroke. Determining the maximum non-use time for the encrypted keyboard based on the current key value includes: determining the non-use time for each keystroke on the encrypted keyboard based on the current key value; and determining the maximum non-use time for the encrypted keyboard based on the non-use time for each keystroke.

[0084] In one embodiment, after sending the key failure information to the terminal, the method further includes: switching the encrypted keyboard into a fault-tolerant working mode, obtaining the time of the user's most recent successful key input; determining the user's pause time based on the time of the most recent successful key input; and if the pause time is greater than a preset time interval, inserting a key value corresponding to the maximum non-use time.

[0085] A computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the following steps: acquiring the current key value of a user's key press operation, de-identifying the key value, and using the key value as historical key press information; when a user's service operation fails, determining the type of user service failure based on the historical key press information; the service failure type includes key press operation failure and non-key press operation failure; acquiring the number of consecutive service failures of the user in the current financial terminal; if the service failure type is key press operation failure and the number of consecutive service failures exceeds a preset failure number threshold, sending key press malfunction information to the terminal.

[0086] In one embodiment, the de-privacy process includes: obtaining the number of times each key value was input; and performing de-privacy based on the number of inputs and the key value.

[0087] In one embodiment, determining the user service failure type based on the historical key press information when a user service operation fails includes: determining the maximum total number of irrelevant key presses on the encrypted keyboard based on the historical key press information; if the maximum total number of irrelevant key presses exceeds a preset threshold for the total number of irrelevant key presses, then determining the service failure type as a key press operation failure; or, determining the maximum non-use time of the encrypted keyboard based on the current key value; if the maximum non-use time exceeds a preset maximum non-use time threshold, then determining the service failure type as a key press operation failure.

[0088] In one embodiment, when a user's business operation fails, the method further includes: obtaining the probability of failure of the current financial terminal's key operation; if the probability of failure of the current financial terminal's key operation is greater than a preset key operation failure probability threshold, then determining that the business failure type is key operation failure.

[0089] In one embodiment, when a user's business operation fails, determining the type of user business failure based on the historical key press information includes: obtaining the current key failure probability based on the maximum non-use time, the maximum total number of irrelevant inputs, and the current financial terminal key operation failure probability; if the current key failure probability is greater than a preset key failure probability threshold, then the business failure type is determined to be a key operation failure.

[0090] In one embodiment, determining the maximum irrelevant total number of keystrokes for the encrypted keyboard based on the current key value includes: determining the total irrelevant number of keystrokes for each keystroke on the encrypted keyboard based on the historical keystroke information; and determining the maximum irrelevant total number of keystrokes for the encrypted keyboard based on the total irrelevant number of keystrokes for each keystroke. Determining the maximum non-use time for the encrypted keyboard based on the current key value includes: determining the non-use time for each keystroke on the encrypted keyboard based on the current key value; and determining the maximum non-use time for the encrypted keyboard based on the non-use time for each keystroke.

[0091] In one embodiment, after sending the key failure information to the terminal, the method further includes: switching the encrypted keyboard into a fault-tolerant working mode, obtaining the time of the user's most recent successful key input; determining the user's pause time based on the time of the most recent successful key input; and if the pause time is greater than a preset time interval, inserting a key value corresponding to the maximum non-use time.

[0092] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0093] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0094] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for detecting keyboard key malfunction, characterized in that, The method is applicable to encrypted keyboards in financial terminals, and the method includes: Obtain the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information; When a user's service operation fails, the failure type is determined based on the historical key press information. The failure types include key press operation failure and non-key press operation failure. Determining the failure type based on the historical key press information includes: determining the maximum total number of irrelevant key presses on the encrypted keyboard based on the historical key press information; if the maximum total number of irrelevant key presses exceeds a preset threshold, the failure type is determined to be a key press operation failure; or, determining the maximum unused time of the encrypted keyboard based on the current key value; if the maximum unused time exceeds a preset maximum unused time threshold, the failure type is determined to be a key press operation failure. Get the number of consecutive failures a user experiences in the current financial terminal service; If the service failure type is either a button operation failure or the number of consecutive service failures exceeds a preset failure threshold, then a button malfunction message is sent to the terminal.

2. The method according to claim 1, characterized in that, The de-privacy process includes: Get the number of times each of the key values ​​was input; De-privacy is achieved based on the number of inputs and the key value.

3. The method according to claim 1, characterized in that, When a user's business operation fails, the method further includes: Obtain the probability of failure of the current financial terminal key operation; If the probability of failure of button operation on the current financial terminal is greater than the preset threshold for failure of button operation, then the failure type of the service is determined to be failure of button operation.

4. The method according to claim 1, characterized in that, When a user's service operation fails, the method of determining the type of user service failure based on the historical key press information includes: The probability of current key malfunction is obtained based on the maximum non-use time, the maximum total number of irrelevant inputs, and the current probability of key operation failure on the financial terminal. If the current probability of button malfunction is greater than the preset button malfunction probability threshold, then the service failure type is determined to be button operation failure.

5. The method according to claim 1, characterized in that, Determining the maximum irrelevant total number of keystrokes for the encrypted keyboard based on the current key value includes: The total irrelevant number of keystrokes for each key on the encrypted keyboard is determined based on the historical keystroke information. The maximum total number of irrelevant inputs to the encrypted keyboard keys is determined based on the total irrelevant input count for each key. Determining the maximum non-use time of the encrypted keyboard keys based on the current key value includes: The non-use time of each key on the encrypted keyboard is determined based on the current key value; The maximum non-use time of the encrypted keyboard keys is determined based on the non-use time of each key.

6. The method according to claim 3, characterized in that, After sending the key malfunction information to the terminal, the method further includes: Switch the encrypted keyboard to fault-tolerant working mode and obtain the moment of the user's most recent successful key input; The user's pause time is determined based on the time of the most recent successful key input. If the pause time is greater than the preset time interval, then insert a key value corresponding to the maximum non-use time.

7. A keyboard key malfunction detection device, characterized in that, The device is suitable for encrypted keyboards in financial terminals, and the device includes: The first acquisition module is used to acquire the current key value when the user presses a key, and after de-anonymization, use the key value as historical key information. The judgment module is used to determine the type of user service failure based on the historical key press information when a user service operation fails. The service failure types include key operation failure and non-key operation failure. Determining the type of user service failure based on the historical key press information when a user service operation fails includes: determining the maximum total number of irrelevant inputs to the encrypted keyboard keys based on the historical key press information; if the maximum total number of irrelevant inputs exceeds a preset threshold for the total number of irrelevant inputs, then determining the service failure type as key operation failure; or, determining the maximum non-use time of the encrypted keyboard keys based on the current key value; if the maximum non-use time exceeds a preset maximum non-use time threshold, then determining the service failure type as key operation failure. The second acquisition module is used to acquire the number of consecutive failures of the user in the current financial terminal business. The information sending module sends a key failure message to the terminal if the service failure type is a key operation failure or the number of consecutive service failures exceeds a preset failure threshold.

8. A computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the method as described in any one of claims 1 to 6.

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 as described in any one of claims 1 to 6.