CN116931807A - Virtual keyboard character layout control method and device, storage medium and electronic equipment - Google Patents

Virtual keyboard character layout control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116931807A
CN116931807A CN202310932404.3A CN202310932404A CN116931807A CN 116931807 A CN116931807 A CN 116931807A CN 202310932404 A CN202310932404 A CN 202310932404A CN 116931807 A CN116931807 A CN 116931807A
Authority
CN
China
Prior art keywords
character
scrambling
virtual keyboard
layout
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310932404.3A
Other languages
Chinese (zh)
Inventor
洪宇坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310932404.3A priority Critical patent/CN116931807A/en
Publication of CN116931807A publication Critical patent/CN116931807A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The virtual keyboard character layout control method, the device, the storage medium and the electronic equipment can be used in the field of artificial intelligence or finance. The method includes the steps that a user calls a virtual keyboard, and a scrambling character home position is randomly designated; scrambling operation is carried out on the character layout related to the position of the scrambling character; under the condition of triggering the character layout scrambling operation, generating random numbers by using a quantum random number generator; scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number; and displaying the virtual keyboard of the random character layout to the user, so that the user inputs the first target password character corresponding to the position of the scrambled character on the virtual keyboard of the random character layout. According to the method and the device, the character positions of the scrambling characters are randomly designated, and the random numbers generated by the quantum random number generator are used for scrambling the character layout of the virtual keyboard, so that the user password can be prevented from being revealed, and the safety of the user password is ensured.

Description

Virtual keyboard character layout control method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the field of artificial intelligence, and in particular relates to a virtual keyboard character layout control method, a device, a storage medium and electronic equipment.
Background
With the continuous development of information technology, the application of virtual keyboard technology is more and more in fields of information security related to password input.
Currently, commonly used virtual keyboards mainly include ordered virtual keyboards, full-random virtual keyboards, and initial random virtual keyboards. The ordered virtual keyboard accords with the user input habit, but has low safety, and the user password is easily obtained by remembering the corresponding input gesture through background software. The full-random virtual keyboard is randomly changed once after a user inputs a password character, so that the user can easily input the wrong password, and the use experience of the user is affected. The initial random virtual keyboard is randomly arranged in order only once when the virtual keyboard is opened every time, and the keyboard layout is unchanged in the whole password input process. Under the condition of enough calculation force, the mode of scrambling the keyboard layout by using the pseudo random number for the initial random virtual keyboard is easy to crack.
Therefore, how to improve the security of the password input of the virtual keyboard under the condition of considering the user experience when the user uses the virtual keyboard is an urgent technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above problems, the present disclosure provides a virtual keyboard character layout control method, apparatus, storage medium and electronic device, which overcome or at least partially solve the above problems, and the technical solutions are as follows:
a virtual keyboard character layout control method comprises the following steps:
responding to a call request of a user to a virtual keyboard, and randomly designating a scrambling character home position;
performing scrambling operation on the character layout related to the position of the scrambling character;
under the condition of triggering the character layout scrambling operation, generating a random number by using a quantum random number generator;
scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number;
and displaying the virtual keyboard of the random character layout to the user so that the user inputs a first target password character corresponding to the scrambling character home position on the virtual keyboard of the random character layout.
Optionally, after the presenting the virtual keyboard of the random character layout to the user, the method further comprises:
and under the condition that the first target password character input by the user is obtained, switching the random character layout of the virtual keyboard back to the ordered character layout so that the user inputs a second target password character corresponding to other character bits except the scrambling character home position on the virtual keyboard of the ordered character layout.
Optionally, after the scrambling operation of the scrambling character home position-related character layout, the method further includes:
and triggering the character layout scrambling operation under the condition that the scrambling character home position is the first password character position.
Optionally, after the scrambling operation of the scrambling character home position-related character layout, the method further includes:
and under the condition that the scrambling character home position is a non-first password character position, displaying the virtual keyboard of the ordered character layout to the user, and triggering the character layout scrambling operation after the user inputs a third target password character corresponding to the password character position before the scrambling character home position.
Optionally, the generating the random number using a quantum random number generator in the case of triggering the character layout scrambling operation includes:
under the condition of triggering the character layout scrambling operation, starting a quantum random number generator to collect optical signals;
the optical signal is converted into a random number represented by a digital signal.
Optionally, the method further comprises:
under the condition that the user triggers password verification operation, determining password characters sequentially input by the user on the virtual keyboard as a password character group;
performing password verification on the password character set to obtain a password verification result;
and under the condition that the password verification result is that verification fails, returning to execute the step of responding to the call request of the user to the virtual keyboard and randomly designating the position of the scrambling character.
Optionally, the virtual keyboard is a virtual numeric keyboard.
A virtual keyboard character layout control device, comprising: a scrambling character home position designating unit, a scrambling operation associating unit, a random number generating unit, a character layout scrambling unit and a first virtual keyboard displaying unit,
the scrambling character home position designating unit is used for randomly designating the scrambling character home position in response to a call request of a user to the virtual keyboard;
the scrambling operation association unit is used for carrying out scrambling operation on the scrambling character position-associated character layout;
the random number generation unit is used for generating random numbers by using a quantum random number generator under the condition of triggering the character layout scrambling operation;
the character layout scrambling unit is used for scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number;
the first virtual keyboard display unit is used for displaying the virtual keyboard of the random character layout to the user, so that the user inputs a first target password character corresponding to the scrambling character home position on the virtual keyboard of the random character layout.
A computer-readable storage medium having a program stored thereon, wherein the program, when executed by a processor, implements the virtual keyboard character layout control method of any one of the above.
An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke the program instructions in the memory to execute the virtual keyboard character layout control method of any one of the above.
By means of the technical scheme, the virtual keyboard character layout control method, the device, the storage medium and the electronic equipment can be used in the artificial intelligence field or the financial field. The method includes the steps that a user calls a virtual keyboard, and a scrambling character home position is randomly designated; scrambling operation is carried out on the character layout related to the position of the scrambling character; under the condition of triggering the character layout scrambling operation, generating random numbers by using a quantum random number generator; scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number; and displaying the virtual keyboard of the random character layout to the user, so that the user inputs the first target password character corresponding to the position of the scrambled character on the virtual keyboard of the random character layout. According to the method and the device, the character positions of the scrambling characters are randomly designated, and the random numbers generated by the quantum random number generator are used for scrambling the character layout of the virtual keyboard, so that the user password can be prevented from being revealed, and the safety of the user password is ensured.
The foregoing description is merely an overview of the technical solutions of the present disclosure, and may be implemented according to the content of the specification in order to make the technical means of the present disclosure more clearly understood, and in order to make the above and other objects, features and advantages of the present disclosure more clearly understood, the following specific embodiments of the present disclosure are specifically described.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a schematic flow chart of an implementation of a virtual keyboard character layout control method according to an embodiment of the disclosure;
FIG. 2 is a schematic flow chart of another embodiment of a method for controlling a character layout of a virtual keyboard according to an embodiment of the disclosure;
FIG. 3 is a schematic flow chart of another embodiment of a method for controlling a character layout of a virtual keyboard according to an embodiment of the disclosure;
fig. 4 shows a schematic structural diagram of a virtual keyboard character layout control device provided in an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, a flowchart of an implementation of a virtual keyboard character layout control method provided by an embodiment of the disclosure may include:
s100, responding to a call request of a user to the virtual keyboard, and randomly designating the position of the scrambling character.
The virtual keyboard character layout control method provided by the embodiment of the disclosure can be applied to computer equipment with character requirements, in particular to mobile terminal equipment. The embodiment of the disclosure can identify the character input operation of the user in the input interface displayed by the computer equipment, and generate the call request for the virtual keyboard, so that the call request of the virtual keyboard is responded, and the virtual keyboard is prepared to be called for the user to input the password characters. For example: the user may click on an input box in an input interface presented by the computer device, thereby generating a user invocation request for the virtual keyboard.
The scrambled character home position is a character position for inputting a password character by a virtual keyboard which is appointed to use a random character layout.
Alternatively, embodiments of the present disclosure may randomly designate one or more character positions in the user password as scrambling character home positions based on the length of the user password. For example: assuming that the length of the user password is a ten-bit password, the fifth character position may be randomly designated as the scrambling character home position among the first to tenth character positions. According to the embodiment of the disclosure, the scrambling character home position is designated according to the length of the user password, so that the randomly designated scrambling character home position can be prevented from exceeding the length of the user password, the subsequent character layout scrambling operation can be accurately triggered, and the effective control of the character layout of the virtual keyboard is ensured.
Alternatively, for a fixed-password-length financial transaction, embodiments of the present disclosure may randomly designate one or more character positions as scrambling character home positions based on the fixed password length. For example: the length of the bank card password is six bits, and the third character position can be set as the scrambling character home position. According to the embodiment of the invention, aiming at common financial business scenes, one or more character positions in the fixed password length can be rapidly and randomly designated as the scrambling character home position, and the control efficiency of the character layout of the virtual keyboard is improved.
S200, performing scrambling operation on the character layout related to the scrambling character position.
The character layout scrambling operation is an operation of switching the ordered character layout of the virtual keyboard to a random character layout.
It can be understood that the virtual keyboard of the ordered character layout is a default virtual keyboard, and the positions of the character keys in the ordered character layout of the default virtual keyboard are fixed, that is, the positions of the character keys in the default virtual keyboard are not changed each time the default virtual keyboard is displayed.
S300, under the condition that the character layout scrambling operation is triggered, a quantum random number generator is used for generating random numbers.
The embodiment of the disclosure can trigger the character layout scrambling operation when a user prepares to input the password character corresponding to the scrambling character home position. Optionally, the embodiment of the disclosure may identify a cursor position in the input box, and if the cursor position is in the scrambling character home position, determine that the user is ready to input a password character corresponding to the scrambling character home position, thereby triggering a character layout scrambling operation.
The quantum random number generator is a system for generating true random numbers based on quantum physics principle, and comprises four steps of entropy source selection, digital sampling, data post-processing and randomness checking. The random numbers generated by the quantum random number generator are also referred to as quantum random numbers. The quantum random number has the characteristics of unpredictability, unrepeatability, unbiasedness and the like.
S400, scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number.
Alternatively, the preset random algorithm may be any one of a numerical probability algorithm, a monte carlo algorithm, a labvegas algorithm, and a sjogren algorithm. The embodiment of the disclosure can preset a random algorithm based on actual requirements.
Specifically, the embodiment of the disclosure can substitute the random number into a preset random algorithm to calculate the position of each character key in the virtual keyboard after scrambling. And adjusting the positions of the character keys in the virtual keyboard of the ordered character layout according to the positions of the character keys after scrambling, so as to obtain the virtual keyboard of the random character layout.
S500, displaying the virtual keyboard of the random character layout to the user, so that the user inputs the first target password character corresponding to the position of the scrambling character on the virtual keyboard of the random character layout.
According to the embodiment of the disclosure, the scrambling character home position is randomly designated, so that the scrambling character home position designated each time can be different, and the character layout of the virtual keyboard is scrambled by the random number generated by the quantum random number generator, so that the positions of all character keys in the virtual keyboard have great randomness when the virtual keyboard with the random character layout is displayed each time. According to the embodiment of the disclosure, the character layout control of the virtual keyboard is realized in the single double random mode, so that other people are difficult to estimate the user password according to the input gesture of the user, and the safety requirement when the user inputs the user password by using the virtual keyboard can be met.
The virtual keyboard character layout control method provided by the disclosure can be used in the field of artificial intelligence or the field of finance. The method includes the steps that a user calls a virtual keyboard, and a scrambling character home position is randomly designated; scrambling operation is carried out on the character layout related to the position of the scrambling character; under the condition of triggering the character layout scrambling operation, generating random numbers by using a quantum random number generator; scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number; and displaying the virtual keyboard of the random character layout to the user, so that the user inputs the first target password character corresponding to the position of the scrambled character on the virtual keyboard of the random character layout. According to the method and the device, the character positions of the scrambling characters are randomly designated, and the random numbers generated by the quantum random number generator are used for scrambling the character layout of the virtual keyboard, so that the user password can be prevented from being revealed, and the safety of the user password is ensured.
In order to give consideration to the input habit of a user, the embodiment of the disclosure can provide the virtual keyboard with ordered character layout when the user prepares to input the password characters corresponding to the other character positions except the scrambled character position, so that the user can input the password characters corresponding to the other character positions except the scrambled character position according to the input habit of the user, and the use experience of the virtual keyboard of the user is improved.
Optionally, the embodiment of the disclosure may identify a cursor position in the input box, and determine that the user is ready to input the password characters corresponding to the other character positions except the scrambled character home position if the cursor position is in the other character positions except the scrambled character home position, thereby displaying the virtual keyboard of the ordered character layout.
Optionally, based on the method shown in fig. 1, as shown in fig. 2, a flowchart of another implementation of the virtual keyboard character layout control method provided in the embodiment of the present disclosure may further include, after step S500:
s600, under the condition that the first target password character input by the user is obtained, switching the random character layout of the virtual keyboard back to the ordered character layout, so that the user inputs the second target password character corresponding to the character bits except the scrambled character home position on the virtual keyboard of the ordered character layout.
In order to give consideration to the input habit of a user, improve the input speed of the user and strengthen the user experience, the embodiment of the disclosure provides a virtual keyboard with ordered character layout for the user to input corresponding second target password characters aiming at other character positions except for the scrambled character home position.
To facilitate an understanding of the overall user password entry process, this is illustrated by way of example: the method comprises the steps that if only one random character position is set, a user only uses a virtual keyboard of random character layout when inputting the N-bit password characters of the user password, wherein the virtual keyboard is used when inputting the password characters corresponding to the random character position, after inputting the password characters corresponding to the random character position, the virtual keyboard is switched back to ordered character layout from random character layout, so that when inputting the password characters of other N-1 character positions except the random character position, the user is ensured to use the virtual keyboard of ordered character layout, and the whole user password process almost accords with the input habit of the user.
Since the scrambling character home bit is randomly specified, i.e., any one character bit in the N-bit cipher character. Assuming that the first time the user password is entered is a virtual keyboard of a random character layout used by the ith character bit and the second time the user password is entered is a virtual keyboard of a random character layout used by the jth character bit, the random character layout in the process of inputting the password characters corresponding to the scrambling character home positions (ith and jth) in these two times is not consistent in normal cases. Even though the scrambling character home bits of the two inputs are identical (i.e., i=j), the random character layout of the two inputs is still different. Therefore, even if another person remembers the last input gesture, the correct user password cannot be obtained.
According to the embodiment of the disclosure, the random character layout of the virtual keyboard is switched back to the ordered character layout, so that a user can input the password characters corresponding to the character positions except the scrambled character home position according to the input habit of the user, the purpose of preventing other people from acquiring the user password while considering the input habit of the user is achieved, and the effect of considering the user experience and password safety is achieved.
Optionally, after step S200, the embodiment of the present disclosure may further trigger a character layout scrambling operation in a case where the scrambling character home bit is the first password character bit.
Specifically, the embodiment of the disclosure may directly execute steps S300 to S500 under the condition that the scrambling character home position is the first password character position, so as to directly display the virtual keyboard with the random character layout for the user to input the password characters in the initial stage of calling the virtual keyboard.
According to the embodiment of the disclosure, under the condition that the scrambling character home position is the first password character position, the random character layout is directly displayed when the virtual keyboard just appears by triggering the character layout scrambling operation, so that a user cannot sense the switching process of the character layout of the virtual keyboard, and the use experience of the virtual keyboard of the user is improved.
Optionally, after step S200, the embodiment of the present disclosure may further trigger the character layout scrambling operation after the user inputs the third target password character corresponding to the password character bit preceding the scrambling character home position, where the scrambling character home position is a non-first password character bit.
Specifically, in the embodiment of the disclosure, when the scrambling character position is a non-first-bit password character position, a previous password character position of the scrambling character position may be used as a trigger detection position of a character layout scrambling operation, and after detecting that a user inputs a password character corresponding to the previous password character position of the scrambling character position, the character layout scrambling operation is immediately triggered, so that before the user inputs the password character corresponding to the scrambling character position, the virtual keyboard is switched from the ordered character layout to the random character layout in advance, so that the user uses the virtual keyboard of the random character layout to input the password character corresponding to the scrambling character position.
According to the embodiment of the disclosure, the previous password character position of the scrambling character position is used as the trigger detection position of the character layout scrambling operation, so that the password character which is about to be input by the user and corresponds to the scrambling character position can be detected in advance, the character layout of the virtual keyboard is controlled to be switched in time while the input habit of the user is considered, and the password input safety of the user is ensured through the virtual keyboard with the random character layout.
In order to make the random character layout of the virtual keyboard switched to each time as different as possible, the embodiment of the disclosure uses the characteristic that the quantum random number generator can collect the optical signals in real time to generate the random number, and randomly breaks up the positions of all character keys in the virtual keyboard, so that other people cannot forcedly break out the password characters input by the user by means of algorithm rules and calculation force resources, thereby ensuring the password security of the user.
Optionally, based on the method shown in fig. 1, as shown in fig. 3, a flowchart of another implementation of the virtual keyboard character layout control method provided in the embodiment of the present disclosure, step S300 may include:
and S310, under the condition that the character layout scrambling operation is triggered, starting the quantum random number generator to collect the optical signals.
Alternatively, the quantum random number generator may be provided in a computer device where there is a character demand. The embodiment of the disclosure can start the quantum random number generator to collect the optical signals of the scene where the computer equipment is located under the condition that the character layout scrambling operation is triggered.
S320, converting the optical signal into a random number represented by a digital signal.
Alternatively, the quantum random number generator may generate random numbers based on a single photon scheme of discrete quantum sources, or may generate random numbers based on a laser phase fluctuation scheme of continuous quantum sources. According to the embodiment of the disclosure, the laser phase fluctuation scheme based on the continuous quantum source can be preferentially selected to generate the random number, and the random number is rapidly generated by utilizing the characteristic of high random number generation rate of the scheme, so that the control efficiency of character layout of the virtual keyboard is improved, and the service experience of a user is improved.
Because the probability of the consistent light signals in different scenes is extremely low, the probability of the consistent random number generated by the quantum random number generator is extremely low each time, and the method is beneficial to ensuring that the positions of all character keys in the random character layout displayed each time are not completely the same when the virtual keyboard of the random character layout is switched to each time, thereby ensuring the security of the user password.
In practical application, the user can sometimes input the user password, so that the user can normally input the password for a limited number of times, in order to ensure the safety of the user when inputting the password characters by using the virtual keyboard, the user needs to randomly designate the position of the scrambling character again, re-trigger the character layout scrambling operation, and display the virtual keyboard with different random character layout from the last password input.
Optionally, in the case that the user triggers the password verification operation, the embodiment of the disclosure may further determine the password characters sequentially input by the user on the virtual keyboard as the password character group. And carrying out password verification on the password character set to obtain a password verification result. If the result of the password verification is that the verification fails, the process returns to step S100.
Optionally, a specific key associated with the password verification operation may be provided in the virtual keyboard. After the user finishes the user password input through the virtual keyboard, the password verification operation is triggered by clicking the specific case.
Optionally, the embodiment of the disclosure may designate the last character bit in the user password as the password verification trigger bit based on the length of the user password, associate the password verification trigger bit with the password verification operation, and trigger the password verification operation after the user inputs the password character corresponding to the password verification trigger bit.
The password character group comprises all password characters which are arranged according to the input sequence of the user.
Specifically, the embodiment of the disclosure can perform consistency check on the password character set and the user password preset by the user, and if each password character in the password character set and the arrangement sequence thereof are consistent with the user password, the password check result is determined to be successful, otherwise, the password check result is determined to be failed.
According to the embodiment of the disclosure, after password verification fails, a call request for the virtual keyboard can be regenerated, and the scrambling character home position is randomly designated again, so that the scrambling character home position is not necessarily the same in the continuous two-time user password input process, and because the optical signal is easily influenced by a scene environment, the random number generated by the reuse quantum random number generator is also different from the random number generated last time in large probability, so that the positions of all character keys are not completely the same in the two-time random character layout, and the safety of inputting password characters on the virtual keyboard by a user is ensured.
Optionally, in the embodiment of the present disclosure, the operation permission of the relevant account of the user may be unlocked when the password verification result is that the verification is successful, so that the user uses the relevant account to perform the subsequent service operation.
Optionally, the virtual keyboard is a virtual numeric keyboard.
In an actual financial service scenario, the user password is usually formed by combining numbers, so in order to adapt to the actual requirement of the financial service, the virtual keyboard provided by the embodiment of the disclosure may be specifically a virtual numeric keyboard, and the user may input the user password through the numeric keys on the virtual numeric keyboard.
Although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a virtual keyboard character layout control device, where the structure of the virtual keyboard character layout control device is shown in fig. 4, and may include: a scrambling character home position specifying unit 100, a scrambling operation associating unit 200, a random number generating unit 300, a character layout scrambling unit 400, and a first virtual keyboard presenting unit 500.
The scrambled character home position specification unit 100 is configured to randomly specify a scrambled character home position in response to a call request from a user to a virtual keyboard.
The scrambling operation association unit 200 is configured to associate the scrambling character positions with the character layout scrambling operation.
The random number generation unit 300 is used for generating random numbers by using a quantum random number generator in the case of triggering the character layout scrambling operation.
The character layout scrambling unit 400 is configured to scramble the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number.
The first virtual keyboard display unit 500 is configured to display a virtual keyboard of a random character layout to a user, so that the user inputs a first target password character corresponding to the scrambling character home position on the virtual keyboard of the random character layout.
Optionally, the virtual keyboard character layout control device may further include: an ordered character layout switching unit.
And the ordered character layout switching unit is used for switching the random character layout of the virtual keyboard back to the ordered character layout under the condition that the first target password character input by the user is obtained after the first virtual keyboard display unit 500 displays the virtual keyboard of the random character layout for the user, so that the user inputs the second target password character corresponding to the character positions except the disordered character position on the virtual keyboard of the ordered character layout.
Optionally, the virtual keyboard character layout control device may further include: a first trigger unit.
The first trigger unit is used for triggering the character layout scrambling operation under the condition that the scrambling character home position is the first password character position.
Optionally, the virtual keyboard character layout control device may further include: the second virtual keyboard display unit and the second trigger unit.
The second virtual keyboard display unit is used for displaying the virtual keyboard with ordered character layout to the user under the condition that the scrambled character home position is the password character position which is not the first bit.
And the second triggering unit is used for triggering the character layout scrambling operation after the user inputs a third target password character corresponding to the password character bit before the scrambling character home position.
Optionally, the random number generation unit 300 includes: an optical signal acquisition subunit and a random number conversion unit.
And the optical signal acquisition subunit is used for starting the quantum random number generator to acquire the optical signal under the condition of triggering the character layout scrambling operation.
And the random number conversion unit is used for converting the optical signal into a random number represented by a digital signal.
Optionally, the virtual keyboard character layout control device may further include: the password character group determining unit and the password checking unit.
And the password character group determining unit is used for determining password characters sequentially input by the user on the virtual keyboard as a password character group under the condition that the user triggers password verification operation.
The password verification unit is configured to perform password verification on the password character set to obtain a password verification result, and trigger the scrambling character home position specifying unit 100 when the password verification result is that the verification fails.
The virtual keyboard character layout control device provided by the disclosure can be used in the field of artificial intelligence or the field of finance. The method includes the steps that a user calls a virtual keyboard, and a scrambling character home position is randomly designated; scrambling operation is carried out on the character layout related to the position of the scrambling character; under the condition of triggering the character layout scrambling operation, generating random numbers by using a quantum random number generator; scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number; and displaying the virtual keyboard of the random character layout to the user, so that the user inputs the first target password character corresponding to the position of the scrambled character on the virtual keyboard of the random character layout. According to the method and the device, the character positions of the scrambling characters are randomly designated, and the random numbers generated by the quantum random number generator are used for scrambling the character layout of the virtual keyboard, so that the user password can be prevented from being revealed, and the safety of the user password is ensured.
The specific manner in which the individual units perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method and will not be described in detail here.
The virtual keyboard character layout control device comprises a processor and a memory, wherein the scrambling character home position designating unit 100, the scrambling operation association unit 200, the random number generating unit 300, the character layout scrambling unit 400, the first virtual keyboard display unit 500 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, the kernel parameter is adjusted to randomly assign the scrambling character home position, and the random number generated by the quantum random number generator is used for scrambling the character layout of the virtual keyboard, so that the user password can be prevented from being leaked, and the safety of the user password is ensured.
Embodiments of the present disclosure provide a computer-readable storage medium having a program stored thereon, which when executed by a processor, implements the virtual keyboard character layout control method.
The embodiment of the disclosure provides a processor for running a program, wherein the program runs to execute the virtual keyboard character layout control method.
As shown in fig. 5, an embodiment of the present disclosure provides an electronic device 1000, the electronic device 1000 comprising at least one processor 1001, and at least one memory 1002, bus 1003 connected to the processor 1001; wherein, the processor 1001 and the memory 1002 complete communication with each other through the bus 1003; the processor 1001 is configured to call up program instructions in the memory 1002 to perform the virtual keyboard character layout control method described above. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to perform a program initialized with the steps of the virtual keyboard character layout control method when executed on an electronic device.
It should be noted that the method, the device, the storage medium and the electronic device for controlling the character layout of the virtual keyboard provided by the present disclosure may be used in the field of artificial intelligence or the field of finance. The foregoing is merely an example, and the application fields of the virtual keyboard character layout control method, the device, the storage medium and the electronic device provided by the present disclosure are not limited.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
In the description of the present disclosure, it should be understood that, if the directions or positional relationships indicated by the terms "upper", "lower", "front", "rear", "left" and "right", etc., are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the positions or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limitations of the present disclosure.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. A virtual keyboard character layout control method, comprising:
responding to a call request of a user to a virtual keyboard, and randomly designating a scrambling character home position;
performing scrambling operation on the character layout related to the position of the scrambling character;
under the condition of triggering the character layout scrambling operation, generating a random number by using a quantum random number generator;
scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number;
and displaying the virtual keyboard of the random character layout to the user so that the user inputs a first target password character corresponding to the scrambling character home position on the virtual keyboard of the random character layout.
2. The method of claim 1, wherein after the presenting the virtual keyboard of the random character layout to the user, the method further comprises:
and under the condition that the first target password character input by the user is obtained, switching the random character layout of the virtual keyboard back to the ordered character layout so that the user inputs a second target password character corresponding to other character bits except the scrambling character home position on the virtual keyboard of the ordered character layout.
3. The method of claim 1, wherein after said scrambling operation of the scrambling character home position-associated character layout, the method further comprises:
and triggering the character layout scrambling operation under the condition that the scrambling character home position is the first password character position.
4. The method of claim 1, wherein after said scrambling operation of the scrambling character home position-associated character layout, the method further comprises:
and under the condition that the scrambling character home position is a non-first password character position, displaying the virtual keyboard of the ordered character layout to the user, and triggering the character layout scrambling operation after the user inputs a third target password character corresponding to the password character position before the scrambling character home position.
5. The method of claim 1, wherein the generating a random number using a quantum random number generator in the event that the character layout scrambling operation is triggered comprises:
under the condition of triggering the character layout scrambling operation, starting a quantum random number generator to collect optical signals;
the optical signal is converted into a random number represented by a digital signal.
6. The method as recited in claim 1, further comprising:
under the condition that the user triggers password verification operation, determining password characters sequentially input by the user on the virtual keyboard as a password character group;
performing password verification on the password character set to obtain a password verification result;
and under the condition that the password verification result is that verification fails, returning to execute the step of responding to the call request of the user to the virtual keyboard and randomly designating the position of the scrambling character.
7. The method of any one of claims 1 to 6, wherein the virtual keyboard is a virtual numeric keyboard.
8. A virtual keyboard character layout control device, comprising: a scrambling character home position designating unit, a scrambling operation associating unit, a random number generating unit, a character layout scrambling unit and a first virtual keyboard displaying unit,
the scrambling character home position designating unit is used for randomly designating the scrambling character home position in response to a call request of a user to the virtual keyboard;
the scrambling operation association unit is used for carrying out scrambling operation on the scrambling character position-associated character layout;
the random number generation unit is used for generating random numbers by using a quantum random number generator under the condition of triggering the character layout scrambling operation;
the character layout scrambling unit is used for scrambling the ordered character layout of the virtual keyboard into a random character layout according to a preset random algorithm based on the random number;
the first virtual keyboard display unit is used for displaying the virtual keyboard of the random character layout to the user, so that the user inputs a first target password character corresponding to the scrambling character home position on the virtual keyboard of the random character layout.
9. A computer-readable storage medium having a program stored thereon, wherein the program when executed by a processor implements the virtual keyboard character layout control method of any one of claims 1 to 7.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform the virtual keyboard character layout control method of any of claims 1-7.
CN202310932404.3A 2023-07-27 2023-07-27 Virtual keyboard character layout control method and device, storage medium and electronic equipment Pending CN116931807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310932404.3A CN116931807A (en) 2023-07-27 2023-07-27 Virtual keyboard character layout control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310932404.3A CN116931807A (en) 2023-07-27 2023-07-27 Virtual keyboard character layout control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116931807A true CN116931807A (en) 2023-10-24

Family

ID=88380392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310932404.3A Pending CN116931807A (en) 2023-07-27 2023-07-27 Virtual keyboard character layout control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116931807A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807584A (en) * 2024-01-02 2024-04-02 珠海海富思科技有限公司 Intelligent lock plate digital analysis data processing system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807584A (en) * 2024-01-02 2024-04-02 珠海海富思科技有限公司 Intelligent lock plate digital analysis data processing system and method

Similar Documents

Publication Publication Date Title
CN110688662A (en) Sensitive data desensitization and inverse desensitization method and electronic equipment
CN112668041B (en) Method and device for generating document file, computer equipment and storage medium
CN106529235A (en) Unlocking method and terminal
CN103023657A (en) Security verification system based on distributed network transaction
CN109493048A (en) Financial accounting method, apparatus, equipment and storage medium based on block chain
CN105844180A (en) Starting method and device of input method keyboard
CN113691374B (en) Data encryption method and device, storage medium and electronic equipment
US20230274023A1 (en) Data management computer, data management system including the data management computer, and method thereof
CN116931807A (en) Virtual keyboard character layout control method and device, storage medium and electronic equipment
CN107633174B (en) User input management method and device and terminal
CN108985759B (en) Address generating method, system, equipment and storage medium for cryptocurrency
KR20140044962A (en) Lock releasing method of electronic device, apparatus thereof, and medium storing program source thereof
CN113987574A (en) Block chain private transaction method, device, equipment and readable storage medium
WO2018053988A1 (en) Secure input system and method, intelligent terminal, and storage medium
CN114741727A (en) Data sending method and device
CN113706131A (en) Block chain transaction method, device and equipment based on encryption card
CN111314057A (en) Private key using method and device depending on user input
CN111092721A (en) Method and device for setting access password
CN104915607A (en) Password data processing and exchanging method based on mobile terminal
CN105306209A (en) Password setting method, login method and devices
CN113965314B (en) Homomorphic encryption processing method and related equipment
US20240031386A1 (en) Digital Security Violation System
CN113987596A (en) Block chain privacy transaction protection method, device, equipment and readable storage medium
KR20100005935A (en) Method for identifying own program usage permission jointly and terminal device, recording medium
CN115935331A (en) User password generation method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination