Methods, apparatuses, computing devices, and storage media for password verification

By overlaying multiple sets of virtual keyboards with different display colors on the password input interface and using bandpass filters to identify the effective display colors, the problem of password leakage in traditional password verification is solved, achieving higher security.

CN116049779BActive Publication Date: 2026-04-14SHANGHAI BRANCH CHINA CONSTR BANK
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI BRANCH CHINA CONSTR BANK
Filing Date
2022-12-05
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Traditional password verification methods are difficult to avoid the risk of user password leakage due to the password input interface being spied on.

Method used

Multiple virtual keyboards are randomly generated, each with a different key layout and display color. These keyboards are then displayed overlapping on the same password input interface. By combining this with bandpass glasses to identify the valid display color, the system can determine whether the user's password has been verified.

Benefits of technology

It improves the security of password input and avoids the risk of user password leakage due to the password input interface being spied on.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116049779B_ABST
    Figure CN116049779B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, device, computing equipment and storage medium for password verification. The method comprises, in response to a user-initiated password input request, randomly generating a plurality of sets of virtual keyboards, each set of virtual keyboards having a key layout that is at least partially different from other sets of virtual keyboards; determining a display color for each set of virtual keyboards that is different from other sets of virtual keyboards; applying the plurality of sets of virtual keyboards with different display colors to a password input interface of the same password verification device simultaneously, such that the plurality of sets of virtual keyboards with different display colors are displayed in the input interface with overlapping key contents in the same key positions; and determining an effective display color corresponding to the password input request, so as to determine whether a password input by the user is verified according to the effective display color and the set of virtual keyboards corresponding to the effective display color. Thus, while achieving password authentication, the risk of user password leakage due to the password input interface being spied on can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments disclosed herein generally relate to the field of information security technology, and more specifically to a method, apparatus, computing device, and storage medium for cryptographic verification. Background Technology

[0002] In scenarios requiring user authentication, users typically need to enter their passwords on devices provided by authentication authorities, such as bank ATMs and financial institution terminals. To ensure the security of users' personal information and assets, and to prevent password leaks, a certain level of confidentiality is required during the password entry process.

[0003] Traditional methods for password verification employ security measures such as installing a shield near the password input interface of the device or equipment, or using a dynamic keyboard to provide the password verification interface. However, installing a shield should not excessively interfere with the user's keystrokes, making it difficult to achieve sufficiently robust protection. Furthermore, users need to concentrate on keystrokes and use their limbs to shield their fingers when entering their passwords, making it difficult for them to notice potential eavesdropping or being secretly filmed by nearby cameras, leading to security issues such as password leaks.

[0004] In summary, the shortcomings of traditional password verification methods are that they are difficult to avoid the risk of user password leakage due to the password input interface being spied on. Summary of the Invention

[0005] To address the aforementioned issues, this disclosure provides a method, apparatus, computing device, and storage medium for password verification, which can reduce the risk of user password leakage due to the password input interface being spied on.

[0006] According to a first aspect of this disclosure, a method for password verification is provided, comprising: in response to a password input request initiated by a user, randomly generating multiple sets of virtual keyboards such that the key layout of each set of virtual keyboards is at least partially different from the other virtual keyboards; determining a display color for each set of virtual keyboards, wherein the display color of each set of virtual keyboards is different from the display colors of the other virtual keyboards; simultaneously applying the multiple sets of virtual keyboards with different display colors to a password input interface of the same password verification device, such that the key content at the same key position in the multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface; and determining a valid display color corresponding to the password input request among the multiple sets of virtual keyboards with different display colors, so as to determine whether the password entered by the user passes verification based on the valid display color and the virtual keyboard corresponding to the valid display color.

[0007] According to a second aspect of this disclosure, a password verification device is provided, comprising: a password verification module configured to randomly generate multiple sets of virtual keyboards according to the method of the first aspect of this disclosure, each set of virtual keyboards having a corresponding display color, and to determine whether a password entered by a user passes verification based on the determined valid display color and the virtual keyboard corresponding to the valid display color; a password input interface for simultaneously displaying multiple sets of virtual keyboards with different display colors and receiving input from the user in the virtual keyboard corresponding to the valid display color; and an eyeglass compartment for accommodating bandpass filter glasses corresponding to each display color, and providing the user with the corresponding bandpass filter glasses in response to the valid display color.

[0008] According to a third aspect of this disclosure, a computing device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of the first aspect of this disclosure.

[0009] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause a computer to perform the method of the first aspect of this disclosure.

[0010] In some embodiments, making the key layout of each of the multiple virtual keyboards at least partially different from the other virtual keyboards includes: determining the display fill rate corresponding to a key position based on the displayable area of ​​a key position and the area of ​​the key content actually displayed at a key position; and configuring the key layout of each virtual keyboard so that when the key content at the same key position in multiple virtual keyboards with different display colors overlaps and is displayed on the input interface, the display fill rate of the same key position is not lower than a predetermined fill threshold.

[0011] In some embodiments, making the key layout of each of the multiple virtual keyboards at least partially different from the other virtual keyboards further includes: determining the color overlap rate corresponding to a key position based on the area of ​​the key content actually displayed at a key position and the color overlap area in the overlapping key content; and configuring the key layout of each virtual keyboard so that when the key content at the same key position in multiple virtual keyboards with different display colors is overlapped and displayed on the input interface, the color overlap rate at the same key position is not lower than a predetermined overlap threshold.

[0012] In some embodiments, making the key layout of each of the multiple virtual keyboards at least partially different from the other virtual keyboards further includes: determining the display dispersion corresponding to a key position based on the displayable area of ​​different display areas and the actual display area of ​​different display areas for a key position; and configuring the key layout of each virtual keyboard so that when the key content of the same key position in multiple virtual keyboards with different display colors overlaps and is displayed on the input interface, the display dispersion of the same key position is not lower than a predetermined dispersion threshold.

[0013] In some embodiments, the method for password verification further includes: dividing the displayable area at the same key position into several sub-display areas; configuring the display fill rate of each sub-display area so that the display fill rate of each sub-display area is not lower than the corresponding sub-fill threshold; configuring the color overlap rate of each sub-display area so that the color overlap rate of each sub-display area is not lower than the corresponding sub-overlap threshold; and configuring the display dispersion of each sub-display area so that the display dispersion of each sub-display area is not lower than the corresponding sub-dispersion threshold.

[0014] In some embodiments, determining the valid display color corresponding to the password input request includes: randomly determining a display color as the valid display color based on all display colors of multiple sets of virtual keyboards, or obtaining user information based on the password input request so as to obtain the user-predetermined display color as the valid display color according to the user information.

[0015] In some embodiments, determining the valid display color corresponding to the password input request further includes: determining the valid display color corresponding to the password input request from among display colors that meet the following conditions: within a predetermined security period, the number of times the same display color is determined as a valid display color on the same password verification device does not exceed a first security threshold; and the number of times the same user consecutively pre-orders the same display color as a valid display color does not exceed a second security threshold.

[0016] In some embodiments, the method for password verification further includes: based on the effective display color, in response to a password input request initiated by the user, providing the user with bandpass glasses corresponding to the effective display color, so that the user can identify the key content of the virtual keyboard corresponding to the effective display color in an input interface where key content is overlaid based on the provided bandpass glasses.

[0017] In some embodiments, determining whether a user-inputted password passes verification based on a valid display color and a virtual keyboard corresponding to that valid display color includes: encrypting and associating the key content of the virtual keyboard corresponding to the valid display color with that of other virtual keyboards based on a user-defined encryption rule; generating a first input password based on the user's input on the virtual keyboard corresponding to the valid display color; and associating the first input password with the key content of other virtual keyboards to obtain a second input password, and determining the second input password as the password entered by the user.

[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements.

[0020] Figure 1 A schematic diagram of a system for implementing a method for cryptographic verification according to an embodiment of the present invention is shown.

[0021] Figure 2 A flowchart of a method 200 for password verification according to an embodiment of the present disclosure is shown.

[0022] Figure 3 A schematic diagram of the key layout of a randomly generated virtual keyboard P1 according to an embodiment of the present disclosure is shown.

[0023] Figure 4 A schematic diagram of the key layout of a randomly generated virtual keyboard P2 according to an embodiment of the present disclosure is shown.

[0024] Figure 5 A schematic diagram is shown showing virtual keyboards P1 and P2 being simultaneously applied to the same password input interface and then overlapping. This is an embodiment of the present disclosure.

[0025] Figure 6 A flowchart of a method 600 for configuring a key layout based on a display fill rate, according to an embodiment of the present disclosure, is shown.

[0026] Figure 7 A schematic diagram showing the area of ​​the actual key content displayed at a key position according to an embodiment of the present disclosure is shown.

[0027] Figure 8 A flowchart of a method 800 for configuring a key layout based on color overlap rate according to an embodiment of the present disclosure is shown.

[0028] Figure 9 A schematic diagram showing the color overlap area of ​​the button positions according to an embodiment of the present disclosure is provided.

[0029] Figure 10 A flowchart of a method 1000 for configuring a key layout according to display dispersion, according to an embodiment of the present disclosure, is shown.

[0030] Figure 11 A schematic diagram showing the display dispersion of button positions according to an embodiment of the present disclosure is shown.

[0031] Figure 12 A flowchart of a method 1200 for configuring a key layout according to an embodiment of the present disclosure is shown.

[0032] Figure 13 A schematic diagram of a sub-display area showing the button positions according to an embodiment of the present disclosure is shown.

[0033] Figure 14 A flowchart of a method 1400 for determining display fill rate according to an embodiment of the present disclosure is shown.

[0034] Figure 15 A flowchart of a method 1500 for encrypting and associating key content according to an embodiment of the present disclosure is shown.

[0035] Figure 16 A schematic diagram illustrating an association rule for key content is shown according to an embodiment of the present disclosure.

[0036] Figure 17 A schematic diagram of the structure of a cryptographic verification device according to an embodiment of the present disclosure is shown.

[0037] Figure 18 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0038] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0039] The term "comprising" and its variations as used herein signify open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0040] As described above, the shortcoming of traditional methods for password verification is that it is difficult to avoid the risk of user password leakage due to the password input interface being spied on.

[0041] To at least partially address one or more of the aforementioned problems and other potential issues, exemplary embodiments of this disclosure propose a method for password verification. In this method, in response to a user-initiated password input request, multiple sets of virtual keyboards are randomly generated, such that the key layout of each set of virtual keyboards is at least partially different from the others. A display color is assigned to each set of virtual keyboards, and the display color of each set is different from the others. Multiple sets of virtual keyboards with different display colors are simultaneously applied to the password input interface of the same password verification device, so that the key content at the same key position in the multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface. This results in multiple key contents of different display colors overlapping and being displayed at each key position in the password input interface. Therefore, even if the user is spied on or photographed while inputting their password, the spied or photographed individual cannot identify the user's entered password based on the seen key contents. Thus, this disclosure effectively improves the security of password input. Furthermore, this disclosure determines the valid display color corresponding to the password input request among multiple sets of virtual keyboards with different display colors. This allows the system to determine whether the user's entered password passes verification based on the valid display color and the corresponding virtual keyboard. This enables the user to distinguish the overlapping key content and input the password using the virtual keyboard corresponding to the valid display color. Therefore, this disclosure achieves password authentication while mitigating the risk of password leakage due to the password input interface being viewed.

[0042] Figure 1 A schematic diagram of a system 100 for implementing a method for cryptographic verification according to an embodiment of the present invention is shown. Figure 1 As shown, system 100 includes a computing device 110, a password verification device 120, and a network 140. The computing device 110 and the password verification device 120 can interact with each other via the network 140 (e.g., the Internet, a local area network, etc.).

[0043] The password verification device 120 is equipped with a password input interface 130. The password verification device 120 may include, but is not limited to, computer terminals, mobile terminals, tablet computers, financial institution user terminals, etc., that have a display interface supporting touch operation, such as a financial institution user terminal.

[0044] Interfaces such as bank ATM interfaces, tablet computers, and mobile terminal application interfaces; the password verification device 120 is used to obtain display information from the computer device 110, thereby simultaneously displaying multiple sets of virtual keyboards with different display colors, and receiving user input in the virtual keyboards corresponding to the valid display colors, and then sending the user's input to the computing device 110 for password verification.

[0045] Regarding the computing device 110, for example, in response to a user-initiated password input request, it randomly generates multiple sets of virtual keyboards such that the key layout of each set of virtual keyboards is at least partially different from the other virtual keyboards; it simultaneously applies multiple sets of virtual keyboards with different display colors to the password input interface 130 of the password verification device 120 of the same password verification device, so that the key layout of each set of virtual keyboards with different display colors is at least partially different from the other virtual keyboards.

[0046] The key positions are overlapped and displayed on the password input interface 130 of the password verification device 120. The computing device 110 can also determine the valid display color corresponding to the password input request from multiple sets of virtual keyboards with different display colors, so as to determine whether the password entered by the user on the password input interface 130 passes verification based on the valid display color and the virtual keyboard corresponding to the valid display color. The computing device 110 may have one or more processing units, including dedicated processing units such as GPUs, FPGAs, and ASICs, and general-purpose processing units such as CPUs. Additionally, one or more virtual machines may run on each computing device 110.

[0047] In some embodiments, the computing device 110 and the password verification device 120 may be integrated together or set separately from each other. In some embodiments, the computing device 110 includes, for example, a virtual keyboard generation module 112, a display color determination module 114, an overlay display module 116, and a password verification module 118.

[0048] 5. Regarding the virtual keyboard generation module 112, it is used to randomly generate multiple sets of virtual keyboards in response to a password input request initiated by the user, so that the key layout of each set of virtual keyboards is at least partially different from the other virtual keyboards.

[0049] Regarding the display color determination module 114, it is used to determine a display color for each set of virtual keyboards, and the display color of each set of virtual keyboards is different from the display colors of other virtual keyboards.

[0050] Regarding the overlapping display module 116, it is used to apply multiple sets of virtual keyboards with different display colors to the password input interface of the same password verification device at the same time, so that the key content of the same key position in the multiple sets of virtual keyboards with different display colors is overlapped and displayed on the input interface.

[0051] Regarding the password verification module 118, it is used to determine the valid display color corresponding to the password input request among multiple sets of virtual keyboards with different display colors, so as to determine whether the password entered by the user passes verification based on the valid display color and the virtual keyboard corresponding to the valid display color.

[0052] Figure 2 A flowchart of a method 200 for password verification according to an embodiment of the present disclosure is shown. Figure 3 A schematic diagram of the key layout of a randomly generated virtual keyboard P1 is shown. Figure 4 A schematic diagram of the key layout of another randomly generated virtual keyboard P2 is shown. Figure 5 This diagram illustrates the overlapping display of virtual keyboards P1 and P2 when both are applied to the same password input interface 130. The following is combined with... Figure 2 , Figure 3 , Figure 4 and Figure 5 Method 200 will be described below. Method 200 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 200 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0053] In step 202, if the computing device 110 receives a password input request initiated by the user, it randomly generates multiple sets of virtual keyboards so that the key layout of each set of virtual keyboards is at least partially different from the other virtual keyboards.

[0054] Regarding the key layout, the key layout includes the layout of the virtual keyboard's key positions and the layout of the key content; the key position layout includes the number of keys and the position of each key; the key content layout includes the key content at each key position.

[0055] Regarding the key layout, it also includes the key layout of each virtual keyboard, which consists of characters and / or patterns; where characters include numbers, letters, and symbols; patterns include at least anti-counterfeiting patterns, regular fill patterns, and irregular random patterns.

[0056] Regarding multiple virtual keyboards, each virtual keyboard has the same key layout, so that multiple virtual keyboards can be used simultaneously on the password input interface of the same password verification device, allowing the key content of each key position to overlap in the password input interface.

[0057] The key layout of each virtual keyboard is at least partially different from other virtual keyboards. In order for multiple virtual keyboards to overlap and display multiple key contents at the same key position, making them difficult to distinguish with the naked eye, the key content layout of each virtual keyboard is at least not completely the same as other virtual keyboards. It should be understood that in order to make the key content overlap at the key position so difficult to distinguish with the naked eye, the fewer the number of virtual keyboards, the greater the difference in key content layout between the virtual keyboards. Therefore, regarding the number of multiple virtual keyboards, it includes at least two virtual keyboards. The specific number of virtual keyboards is determined based on the key content layout and key position layout of each virtual keyboard, as well as the actual overlapping display effect of each key position, which is sufficient to make it difficult to distinguish with the naked eye.

[0058] In step 204, computing device 110 determines a display color for each set of virtual keyboards, and the display color of each set of virtual keyboards is different from the display colors of other virtual keyboards.

[0059] Regarding the display color, the computing device 110 determines a display color for each set of virtual keyboards based on the optional display color range supported by the password input interface 130, so that the display colors of all virtual keyboards are not repeated.

[0060] In step 206, the computing device 110 applies multiple sets of virtual keyboards with different display colors to the password input interface of the same password verification device simultaneously, so that the key content of the same key position in the multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface.

[0061] Please refer to Figure 3 The diagram shows a randomly generated virtual keyboard P1. Virtual keyboard P1 has 9 key positions, arranged in a 3x3 grid. The key layout is as follows: the first row from left to right contains keys 1, 2, and 3; the second row contains keys 4, 5, and 6; and the third row contains keys 7, 8, and 9. Please refer to the diagram. Figure 4A randomly generated virtual keyboard P2 is shown. Virtual keyboard P2 has the same key layout as virtual keyboard P1, but the key content layout differs. The key content layout of virtual keyboard P2 is as follows: the first row from left to right contains keys 4, 8, and 5; the second row from left to right contains keys 9, 2, and 1; and the third row from left to right contains keys 6, 7, and 3. For example, virtual keyboard P1 is set to orange-red (wavelength 620nm, nm being nanometers), and virtual keyboard P2 is set to light green (wavelength 570nm).

[0062] Please refer to Figure 5 The diagram illustrates the overlapping display of virtual keyboards P1 and P2 when simultaneously applied to the same password input interface 130. Since the accompanying drawings cannot provide color images, a black and white diagram is used here to illustrate the key content display at each key position after overlapping. It should be understood that more virtual keyboards can be randomly generated, assigned more different display colors, and overlapped with virtual keyboards P1 and P2 to improve the security of the password input interface 130 when the user enters a password.

[0063] It should be understood that, Figure 3 and Figure 4 The illustrated virtual keyboards P1 and P2 are just one example of a 3x3 key layout. The layout can also be 26-key or 88-key, depending on the key layout supported by the password input interface. It should also be understood that the key content of virtual keyboards P1 and P2 consists of numbers. More virtual keyboards can be randomly generated, and their key content can consist of numbers, letters, characters, and / or symbols. Furthermore, although the key content layout of virtual keyboards P1 and P2 is completely different, when generating more virtual keyboards, the key content layout of these other virtual keyboards can be completely different from, or only partially different from, virtual keyboards P1 or P2.

[0064] In step 208, the computing device 110 determines the valid display color corresponding to the password input request from among multiple sets of virtual keyboards with different display colors, so as to determine whether the password entered by the user is verified based on the valid display color and the virtual keyboard corresponding to the valid display color.

[0065] Regarding the effective display color, since it is necessary for users to easily identify the key content of the virtual keyboard corresponding to the effective display color using bandpass glasses, when determining the display color for the virtual keyboard, the computing device 110 ensures that at least one set of virtual keyboard display colors has bandpass glasses corresponding to that display color. As for how to determine whether bandpass glasses corresponding to that display color exist, the computer device 110 can determine this based on the effective color predetermined by the user, or based on the bandpass glass wavelength category provided by the password verification device.

[0066] In the above scheme, multiple virtual keyboards can be randomly generated based on the user's password input request. The key layout of each virtual keyboard is at least partially different from the others. Each virtual keyboard is assigned a different display color. These multiple virtual keyboards with different display colors are simultaneously applied to the password input interface of the same password verification device. This allows the key content at the same key position in each of the multiple virtual keyboards with different display colors to overlap and be displayed on the input interface. This makes it difficult for the naked eye to distinguish between the key content at each key position in the password input interface, thus improving security when the user enters their password. Furthermore, the above scheme also determines the valid display color corresponding to the password input request among the multiple virtual keyboards with different display colors. Based on the valid display color and the virtual keyboard corresponding to the valid display color, it determines whether the user's entered password has passed verification. This avoids the risk of password leakage due to the password input interface being spied on during password authentication.

[0067] Figure 6 A flowchart of a method 600 for configuring a key layout based on a display fill rate, according to an embodiment of the present disclosure, is shown. Figure 7 A schematic diagram showing the area of ​​the actual displayed key content at the key positions according to an embodiment of this disclosure is provided below. Figure 6 and Figure 7 Method 600 is described below. Method 600 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 600 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0068] In step 602, the computing device 110 determines the display fill rate corresponding to a key position based on the displayable area of ​​a key position and the area of ​​the key content actually displayed at a key position.

[0069] Regarding the fill rate, if the displayable area of ​​a key position is 'a', and the actual area of ​​the displayed key content is 'b', then the fill rate is b / a. Please refer to [reference needed]. Figure 7 The diagram illustrates keys 71 and 72. The displayable areas of keys 71 and 72 are the displayable areas within the dashed boxes, respectively. The actual displayable key content of key 71 is an indistinguishable content composed of several superimposed characters (the black content within the dashed area is the actual display area). The actual displayable key content of key 72 is formed by the superposition of several characters and a circular fill pattern, and the actual displayable key content area is the area of ​​the circular fill pattern.

[0070] In step 604, the computing device 110 configures the key layout of each set of virtual keyboards so that when the key content of the same key position in multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface, the display fill rate of the same key position is not lower than a predetermined fill threshold.

[0071] Regarding the pre-defined fill threshold, such as a pre-defined fill threshold t%, it can be adjusted according to the actual application scenario and test results; the display fill rate of each key position is not less than the pre-defined fill rate threshold t%, which makes the overlapping key content displayed on the key position more difficult to distinguish, thereby further improving the security of the password input interface when the user enters the password.

[0072] Figure 8 A flowchart of a method 800 for configuring a key layout based on color overlap rate according to an embodiment of the present disclosure is shown. Figure 9 A schematic diagram showing the color overlap area of ​​the button positions according to an embodiment of the present disclosure is provided. The following is in conjunction with... Figure 8 and Figure 9 Method 800 is described as follows: Method 800 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 800 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0073] In step 802, the computing device 110 determines the color overlap rate corresponding to a key position based on the area of ​​the key content actually displayed at a key position and the color overlap area in the overlapping key content.

[0074] Regarding color overlap rate, if the actual area of ​​the key content displayed at a given key position is b, and the area where overlap occurs is c, then the color overlap area within the key content is c, and the color overlap rate is c / b. Please refer to [reference needed]. Figure 9The diagram illustrates key 91. The actual content displayed on key 91 consists of a fill pattern covering the entire displayable area superimposed on the key text "Q". The overlapping area is the area containing the letter "Q", therefore, the color overlap area is the display area of ​​the letter "Q". It should be understood that when multiple characters are displayed simultaneously, the color overlap area only includes the portions where the characters overlap during display.

[0075] In step 804, the computing device 110 configures the key layout of each set of virtual keyboards so that when the key content of the same key position in multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface, the color overlap rate of the same key position is not lower than a predetermined overlap threshold.

[0076] Regarding the predetermined overlap threshold, for example, a predetermined overlap threshold of d%, it can be adjusted according to the actual application scenario and test results; the color overlap rate of each key position is not less than the predetermined overlap threshold of d%, which makes the overlapping key content displayed on the key position more difficult to distinguish, thereby further improving the security of the password input interface when the user enters the password.

[0077] Figure 10 A flowchart of a method 1000 for configuring a key layout according to display dispersion, according to an embodiment of the present disclosure, is shown. Figure 11 A schematic diagram illustrating the display dispersion of button positions according to an embodiment of this disclosure is shown. The following is in conjunction with... Figure 10 and Figure 11 Method 1000 is described below. Method 1000 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 800 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0078] In step 1002, the computing device 110 determines the display dispersion corresponding to a button position based on the displayable area of ​​different display areas of a button position and the actual display area of ​​different display areas.

[0079] Display dispersion refers to the spatial distribution of superimposed key content at a given key position. For example, if the key content at a certain key position is too concentrated, it might be because multiple virtual keyboards have similar key content at that position. If multiple virtual keyboards have identical key content at a particular key position, the key content at that position is easily identifiable by the naked eye, resulting in insufficient security. To avoid this, a dispersion threshold for display dispersion is needed to ensure the security of each key position. Please refer to [reference needed]. Figure 11An illustration of the dispersion of button positions. Figure 11 The diagram illustrates 81 different display areas for key 111. Based on the distribution of multiple virtual keyboards across these display areas and the displayable area of ​​key 111, the display dispersion of key 111 after being superimposed from multiple virtual keyboards can be obtained. It should be understood that each key can be divided into multiple different display areas as needed. Figure 11 The 81 display areas shown in the diagram are for reference only.

[0080] In step 1004, the computing device 110 configures the key layout of each set of virtual keyboards so that when the key content of the same key position in multiple sets of virtual keyboards with different display colors overlaps and is displayed on the input interface, the display dispersion of the same key position is not lower than a predetermined dispersion threshold.

[0081] Regarding the predetermined dispersion threshold, such as the predetermined dispersion threshold γ, it can be adjusted according to the actual application scenario and test results. The dispersion threshold of each key position is not lower than the predetermined dispersion threshold γ, which makes the similarity between the overlapping key content displayed on the key position lower, thus making it more difficult to distinguish, thereby further improving the security of the password input interface when the user enters the password.

[0082] Figure 12 A flowchart of a method 1200 for configuring a key layout according to an embodiment of the present disclosure is shown. Figure 13 A schematic diagram of the sub-display area showing the button positions according to an embodiment of this disclosure is shown. The following is in conjunction with... Figure 12 and Figure 13 Method 1200 will be described below. Method 1200 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 800 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0083] In step 1202, the computing device 110 divides the displayable area at the same key position into several sub-display areas.

[0084] Please refer to Figure 13 The diagram shows a key 131 divided into nine sub-display areas, q1 to q9. It should be understood that, depending on the actual usage scenario and requirements, more or fewer sub-display areas can be used; the nine sub-display areas of key 131 are merely illustrative.

[0085] In step 1204, the computing device 110 configures the display fill rate of each sub-display area so that the display fill rate of each sub-display area is not lower than the corresponding sub-fill threshold.

[0086] In step 1206, the computing device 110 configures the color overlap rate of each sub-display area so that the color overlap rate of each sub-display area is not lower than the corresponding sub-overlap threshold.

[0087] In step 1208, the computing device 110 configures the display dispersion of each sub-display area so that the display dispersion of each sub-display area is not lower than the corresponding sub-dispersion threshold.

[0088] The method of configuring the display of each sub-display area based on the sub-fill threshold, sub-overlap threshold, and sub-dispersion threshold of each sub-display area can fully take into account the differences in spatial location of each sub-display area (such as whether the sub-display area belongs to the center or the edge of the display area). Each button position is further refined and divided into several small areas. Each area meets its own sub-fill threshold, sub-overlap threshold, and sub-dispersion threshold, thereby making the display content of the entire button position more indistinguishable.

[0089] Figure 14 A flowchart of a method 1400 for determining a display fill rate according to an embodiment of the present disclosure is shown. Method 1400 may be performed by, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 1400 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0090] In step 1402, the computing device 110 randomly determines a display color as the effective display color based on all the display colors of multiple sets of virtual keyboards;

[0091] Alternatively, based on a password input request, user information can be obtained so that the user's pre-defined display color can be used as the valid display color.

[0092] Regarding the password input request, it includes user information, which includes at least user identity information, and may also include the user's current reserved valid display color, the user's historical valid display color records, etc.

[0093] Regarding the determination of the effective display color, it can be determined randomly or the user can pre-determine the effective display color. In the former case, the password verification device provides the user with bandpass filter glasses corresponding to the effective display color. In the latter case, in addition to the password verification device providing bandpass filter glasses corresponding to the effective display color, the user can also prepare bandpass filter glasses corresponding to the effective display color himself.

[0094] Regarding the random determination of the valid display color, since the valid display color is randomly determined, the user does not know what the valid color is when performing password verification. This prevents voyeurs and paparazzi from preparing bandpass filter glasses corresponding to the valid display color in advance, thus improving the security of the password verification process.

[0095] Regarding the user-defined valid display color, users may pre-define colors other than those available from the bandpass filter glasses provided by the password verification device. This prevents voyeurs from preparing multiple pairs of bandpass filters in advance based on the wavelengths of the bandpass filters available from the password verification device, thus improving the security of the password input interface.

[0096] In step 1404, the computing device 110 determines the valid display color corresponding to the password input request from among the display colors that meet the following conditions:

[0097] Within a predetermined security period, the number of times the same display color is determined as a valid display color on the same password verification device does not exceed a first security threshold.

[0098] And the number of times the same user consecutively reserves the same display color as a valid display color shall not exceed the second security threshold.

[0099] The predetermined security period can be one day, one week, one month, or every 4 hours, 6 hours, etc., and can be determined based on factors such as the frequency of use of the password verification device, the usage scenario, and the security requirements of the providing institution.

[0100] Regarding the first security threshold, setting a first security threshold can prevent the same display color from being identified as a valid display color multiple times on the same password verification device within the security period, thus avoiding detection by peeping and filming perpetrators. This allows for identification through corresponding bandpass filter glasses, thereby improving the security of the password input interface.

[0101] Regarding the second security threshold, setting a second security threshold can prevent the same user from repeatedly using the same display color as the effective display color, which could be detected by peeping or spying, and thus be identified through corresponding bandpass filter glasses, thereby improving the security of the password verification process.

[0102] The combined use of the first security threshold and the second security threshold can greatly improve the security of the password input interface. It can prevent the leakage of the effective display color due to the high frequency of using the same display color as the effective display color on the same password verification device, and also prevent the same user from using the same display color as the effective display color on one or more password verification devices.

[0103] Figure 15 A flowchart of a method 1500 for encrypting and associating key content according to an embodiment of the present disclosure is shown. Figure 16 A schematic diagram illustrating a key content association rule according to an embodiment of this disclosure is shown. The following is in conjunction with... Figure 15 and Figure 16 Method 1500 is described below. Method 1500 can be derived from, for example... Figure 1 The computing device 110 shown can be used for execution, and can also be used in Figure 18 The method is performed at the illustrated electronic device 1800. It should be understood that method 1500 may also include additional steps not shown and / or the steps shown may be omitted, and the scope of this disclosure is not limited in this respect.

[0104] In step 1502, the computing device 110, based on the user-defined encryption rules, encrypts and associates the key content of the virtual keyboard corresponding to the effective display color with that of other virtual keyboards.

[0105] The encryption rules pre-defined by the user should include at least the association rules between the virtual keyboard corresponding to the valid display color and the key content of other virtual keyboards, as well as the ciphertext rules for encrypting the associated results. By using the key content association rules, the mapping relationship between each set of displayed virtual keyboards and user input operations can be disrupted. This ensures that even if a spy obtains the key layout of each display color, they cannot obtain the actual password entered by the user, thus improving the security of user password verification.

[0106] In step 1504, computing device 110 generates a first input password based on the user's input on the virtual keyboard corresponding to the valid display color.

[0107] In step 1506, the computing device 110 associates the first input password with the key content of other virtual keyboards, obtains the second input password, and determines the second input password as the password entered by the user.

[0108] Please refer to Figure 16 This illustrates a key mapping rule, where virtual keyboard P1 is identified as the virtual keyboard corresponding to the valid display color. The mapping rules between virtual keyboard P1 and virtual keyboards P2, P2, and P3 are as follows: Figure 16As shown: the key contents 1, 2, and 4 of virtual keyboard P1 correspond to the key contents 4, 9, and 6 of virtual keyboard P2, respectively; the key contents 3, 6, and 9 of virtual keyboard P1 correspond to the key contents 5, 8, and 1 of virtual keyboard P3, respectively; and the key contents 5, 7, and 8 of virtual keyboard P1 correspond to the key contents 2, 3, and 7 of virtual keyboard P4, respectively. For example, if the user enters "258731", the first input password generated is "258731", and the second input password is "927354". The second input password "927354" is determined as the password entered by the user.

[0109] It should be understood that the association rules between the virtual keyboard P1 and other virtual keyboards mentioned above are only illustrative. The association rules can be established between the virtual keyboard corresponding to the valid display color and at least one other virtual keyboard. It can be a correspondence between key positions, a correspondence between key content, or other correspondences.

[0110] Regarding the ciphertext rules, the ciphertext rules include at least an encryption algorithm based on the user's identity ID, a hash algorithm built into the computing device 110 (such as MD5, SHA1), or the key corresponding to the user's ID. By using ciphertext rules, even if a spy obtains the virtual keyboard layout corresponding to each display color and the association rules of the virtual keyboard, they will not be able to decipher the actual password entered by the user, thus improving the security of user password verification.

[0111] In some embodiments, the method further includes providing the user with bandpass glasses corresponding to the valid display color if the user initiates a password input request, so that the user can identify the key content of the virtual keyboard corresponding to the valid display color in the input interface where the key content is overlaid, based on the provided bandpass glasses.

[0112] Regarding providing users with bandpass filter glasses corresponding to the valid display color, since the password input interface consists of multiple virtual keyboards of different colors, and only one valid display color, only one display color corresponds to the password actually entered by the user. When entering a password, the user wears bandpass filter glasses. These glasses filter out light outside a certain wavelength range, allowing the user to see only the light corresponding to the valid display color, and then input the password through the virtual keyboard corresponding to that valid display color. Without the filter glasses, the user will see indistinguishable keystrokes with chaotic overlapping colors and shapes. Wearing filter glasses of a non-valid display color will only show an invalid virtual keyboard, making it impossible to know the user's actual password. For the same reason, a spy cannot obtain the user's actual password. Therefore, password authentication can be achieved while mitigating the risk of password leakage due to the password input interface being spied on.

[0113] To facilitate understanding, a concrete example will be used to further illustrate this solution:

[0114] (1) Assume the positions of the keyboard keys are shown in Table 1 below:

[0115] Table 1

[0116] A B C D E F G H I J K L

[0117] Table 1 above shows the positions of 12 buttons, denoted as AL.

[0118] (2) Let the bandpass filter glasses numbered 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 display the colors red, bright red, orange-red, amber yellow, yellow, light green, pure green, cyan, bright blue, dark blue, pure purple, and dark purple respectively.

[0119] (3) Randomly generate 12 virtual keyboards. Each keyboard is selected from the above colors to determine a display color. The corresponding key layout is shown in Table 2 below:

[0120] Table 2

[0121]

[0122] Table 2 above shows the key layout of the 12 virtual keyboards, their corresponding display colors, and the wavelengths corresponding to those colors. Key position A is displayed by superimposing all twelve different characters: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, #, $. Key positions B and K also consist of superimposed 12 characters, but with different color compositions. Without wearing the corresponding bandpass glasses, the key layout would appear as a difficult-to-distinguish display of twelve different colored characters. For example, if the display color corresponding to bandpass glasses #1 is determined as the valid display color, a user wearing bandpass glasses #1 can input a password. In this case, the user will see the key layout displayed in red on the input interface. Clearly, this color can also be determined as the valid display color for password verification.

[0123] (4) Randomly generate 6 virtual keyboards. Each keyboard is assigned a display color from the colors mentioned above. The corresponding key layout is shown in Table 3 below:

[0124] Table 3

[0125]

[0126] The key bindings in Table 3 do not include all twelve different characters (1, 2, 3, 4, 5, 6, 7, 8, 9, 0, #, $), and differ from those in Table 2. Without the corresponding bandpass glasses, the overlapping of different colored characters creates difficult-to-distinguish key bindings. Compared to Table 2, the virtual keyboard in Table 3 is more convenient and faster, saving storage space and computing resources for the password verification device. For example, if the display color corresponding to bandpass glasses #5 is designated as the valid display color, the user can wear bandpass glasses #5 to input passwords. In this case, the user will see yellow key bindings on the input interface. Clearly, this color can also be designated as the valid display color for password verification.

[0127] (5) Randomly generate 12 virtual keyboards. Each keyboard is assigned a display color from the colors mentioned above. The corresponding key layout is shown in Table 4 below:

[0128] Table 4

[0129]

[0130]

[0131] In Table 4, the virtual keyboard does not completely include all twelve different characters (1, 2, 3, 4, 5, 6, 7, 8, 9, 0, #, $). Some virtual keyboards may repeat a certain distracting character at each key position. Without wearing the corresponding bandpass glasses, the overlapping of different colored characters can create difficult-to-distinguish key bindings. For example, if the color corresponding to bandpass glasses #3 is determined as the valid color, a user wearing bandpass glasses #3 can input a password. In this case, the user will see orange-red key bindings on the input interface. Obviously, this color can also be determined as the valid color for password verification.

[0132] In summary, the password verification method provided in this disclosure can overlay multiple key contents of different colors at each key position on the password input interface, making them difficult to distinguish with the naked eye, thereby improving the security of password input. Furthermore, this disclosure also determines whether the user's entered password passes verification by identifying the valid display color and by using the valid display color and the corresponding virtual keyboard. Therefore, this disclosure can achieve password authentication while mitigating the risk of password leakage due to the password input interface being spied on.

[0133] Please refer to Figure 17 , Figure 17A schematic diagram of a password verification device 1700 is shown. The password verification device 1700 includes, for example, at least: a password verification module 1704, a password input interface 1702, and an eyeglass compartment 1706.

[0134] The password verification module 1704 is configured to randomly generate multiple sets of virtual keyboards according to any one of the methods in the embodiments of this disclosure, each set of virtual keyboards having a corresponding display color, and to determine whether the password entered by the user passes verification based on the determined valid display color and the virtual keyboard corresponding to the valid display color.

[0135] The password input interface 1702 is used to simultaneously display multiple sets of virtual keyboards with different display colors and to receive user input on the virtual keyboard corresponding to the valid display color.

[0136] The eyeglass compartment 1706 is used to hold bandpass filter glasses corresponding to each display color and to provide the user with the corresponding bandpass filter glasses based on the effective display color.

[0137] In the above scheme, each module of the password verification device 1700 is communicatively connected to the password verification module 1704, which can realize the password verification method of any of the embodiments of this disclosure. Based on the user's password input request, multiple sets of virtual keyboards are randomly generated and each set of virtual keyboards is assigned a different display color from the other virtual keyboards. At the same time, the effective display color is determined. Multiple sets of virtual keyboards with different display colors are applied to the same password input interface. The password input interface receives the user's input in the virtual keyboard corresponding to the effective display color, and provides the user with corresponding bandpass filter glasses based on the effective display color. Thus, while realizing password authentication, the risk of user password leakage caused by the password input interface being spied on is avoided.

[0138] Figure 18 A schematic step diagram of an example electronic device 1800 that can be used to implement embodiments of the present disclosure is shown. For example, as Figure 1 The computing device 110 shown can be implemented by an electronic device 1800. As shown, the electronic device 1800 includes a central processing unit (CPU) 1801, which can perform various appropriate actions and processes according to computer program instructions stored in read-only memory (ROM) 1802 or loaded from storage unit 1808 into random access memory (RAM) 1803. The random access memory 1803 may also store various programs and data required for the operation of the electronic device 1800. The CPU 1801, ROM 1802, and RAM 1803 are interconnected via a bus 1804. An input / output (I / O) interface 1805 is also connected to the bus 1804.

[0139] Multiple components in electronic device 1800 are connected to input / output interface 1805, including: input unit 1806, such as keyboard, mouse, microphone, etc.; output unit 1807, such as various types of monitors, speakers, etc.; storage unit 1808, such as disk, optical disk, etc.; and communication unit 1809, such as network card, modem, wireless transceiver, etc. Communication unit 1809 allows device 1800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0140] The various processes and procedures described above, such as methods 200, 600, 800, 1000, 1200, 1400, and 1500, can be executed by the central processing unit 1801. For example, in some embodiments, methods 200, 600, 800, 1000, 1200, 1400, and 1500 can be implemented as computer software programs tangibly contained in a machine-readable medium, such as storage unit 1808. In some embodiments, part or all of the computer program can be loaded and / or installed on device 1800 via read-only memory 1802 and / or communication unit 1809. When the computer program is loaded into random access memory 1803 and executed by the central processing unit 1801, one or more actions of methods 200, 600, 800, 1000, 1200, 1400, and 1500 described above can be performed.

[0141] This disclosure relates to methods, apparatus, systems, electronic devices, computer-readable storage media, and / or computer program products. A computer program product may include computer-readable program instructions for performing various aspects of this disclosure.

[0142] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0143] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge computing devices. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to computer-readable storage media within the respective computing / processing device.

[0144] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0145] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or step diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each step in the flowchart illustrations and / or step diagrams, as well as combinations of steps in the flowchart illustrations and / or step diagrams, can be implemented by computer-readable program instructions.

[0146] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more steps of the flowchart and / or diagram of steps. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more steps of the flowchart and / or diagram of steps.

[0147] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more steps of a flowchart and / or a diagram of steps.

[0148] The flowcharts and step diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each step in a flowchart or step diagram may represent a module, segment, or part of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the step diagrams may occur in a different order than those indicated in the drawings. For example, two consecutive step diagrams may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each step in the step diagrams and / or flowcharts, and combinations of step diagrams in the step diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0149] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for password verification, comprising: In response to a user's password input request, multiple sets of virtual keyboards are randomly generated so that the key layout of each set of virtual keyboards is at least partially different from the other virtual keyboards; the key content of the virtual keyboard consists of characters and / or patterns, and the patterns include at least anti-counterfeiting patterns, regular filling patterns and irregular random patterns. Assign a display color to each set of virtual keyboards, and the display color of each set of virtual keyboards is different from the display colors of other virtual keyboards; Multiple sets of virtual keyboards with different display colors are applied simultaneously to the password input interface of the same password verification device so that the key content of the same key position in the multiple sets of virtual keyboards with different display colors is overlapped and displayed on the input interface. Among the multiple sets of virtual keyboards with different display colors, a valid display color corresponding to the password input request is determined so as to determine whether the password entered by the user passes verification based on the valid display color and the virtual keyboard corresponding to the valid display color. as well as Determining the valid display color corresponding to the password input request includes: randomly determining a display color as the valid display color based on all the display colors of the multiple sets of virtual keyboards, or obtaining user information based on the password input request so as to obtain the user's predetermined display color as the valid display color according to the user information; Divide the displayable area of ​​the same button position into several sub-display areas; configure the display fill rate of each sub-display area so that the display fill rate of each sub-display area is not lower than the corresponding sub-fill threshold; configure the color overlap rate of each sub-display area so that the color overlap rate of each sub-display area is not lower than the corresponding sub-overlap threshold. And configure the display dispersion of each sub-display area so that the display dispersion of each sub-display area is not lower than the corresponding sub-dispersion threshold; wherein the display dispersion is used to indicate the spatial distribution of the superimposed key content in a key position.

2. The method of claim 1, wherein making the key layout of each of the plurality of virtual keyboards at least partially different from the other virtual keyboards comprises: Based on the displayable area of ​​a button position and the area of ​​the key content actually displayed at that button position, the display fill rate corresponding to a button position is determined. as well as Configure the key layout of each virtual keyboard so that when the key content of the same key position in multiple virtual keyboards with different display colors overlaps and is displayed on the input interface, the display fill rate of the same key position is not lower than a predetermined fill threshold.

3. The method of claim 2, wherein the key layout of each of the plurality of virtual keyboards is at least partially different from the other virtual keyboards, further comprising: Based on the area of ​​the key content actually displayed at a key position and the color overlap area in the overlapping key content, determine the color overlap rate corresponding to a key position; and Configure the key layout of each virtual keyboard so that when the key content of the same key position in multiple virtual keyboards with different display colors overlaps and is displayed on the input interface, the color overlap rate of the same key position is not lower than a predetermined overlap threshold.

4. The method of claim 3, wherein the key layout of each of the plurality of virtual keyboards is at least partially different from the other virtual keyboards, further comprising: Based on the displayable area of ​​different display areas at a button location and the actual display area of ​​the different display areas, the display dispersion corresponding to a button location is determined. as well as Configure the key layout of each virtual keyboard so that when the key content of the same key position in multiple virtual keyboards with different display colors overlaps and is displayed on the input interface, the display dispersion of the same key position is not less than a predetermined dispersion threshold.

5. The method of claim 1, wherein determining the valid display color corresponding to the password input request further comprises: The valid display color corresponding to the password input request is determined from the display colors that meet the following conditions: Within a predetermined security period, the number of times the same display color is determined to be a valid display color on the same password verification device does not exceed a first security threshold; and The number of times a single user consecutively reserves the same display color as a valid display color shall not exceed the second security threshold.

6. The method according to claim 1, further comprising: Based on the effective display color, in response to a user-initiated password input request, a bandpass filter glasses corresponding to the effective display color are provided to the user so that the user can identify the key content of the virtual keyboard corresponding to the effective display color in the input interface where the key content is displayed in an overlay, based on the provided bandpass filter glasses.

7. The method according to claim 1, wherein determining whether the password entered by the user passes verification based on the valid display color and the virtual keyboard corresponding to the valid display color includes: Based on user-defined encryption rules, the virtual keyboard corresponding to the effective display color will be encrypted and associated with the key content of other virtual keyboards; A first input password is generated based on the user's input on the virtual keyboard corresponding to the valid display colors; as well as The first input password is associated with the key content of other virtual keyboards to obtain the second input password, and the second input password is determined as the password entered by the user.

8. A password verification device, comprising: The password verification module is configured to randomly generate multiple sets of virtual keyboards according to the method of any one of claims 1-7, each set of virtual keyboards having a corresponding display color, and to determine whether the password entered by the user passes verification based on the determined valid display color and the virtual keyboard corresponding to the valid display color; The password input interface is used to simultaneously display multiple sets of virtual keyboards with different display colors and to receive user input on the virtual keyboard corresponding to the valid display color. as well as The glasses compartment is used to hold bandpass filter glasses corresponding to each display color and to provide the user with the corresponding bandpass filter glasses in response to the effective display color.

9. A computing device, comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Text display method, text display device, and mobile terminal

    CN105138932A

  • Virtual keyboard encryption method and device and readable storage medium

    CN110598486A

  • Hybrid password keyboard, generation method thereof and electronic device

    CN111027106A