A Chinese character password input verification method and system based on twelve keys

CN122569759APending Publication Date: 2026-08-14王朋
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-22
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]本发明要解决的技术问题:提供一套基于十二键的纯汉字密码输入验证方法及系统,同时解决现有密码依赖阿拉伯数字、安全强度低、易被窥视、记忆困难等问题

Benefits of technology

2. 安全性提升:汉字组合空间远超数字(常用3000汉字,6位密码组合≈10¹8),抗暴力破解;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122569759A_ABST
    Figure CN122569759A_ABST
Patent Text Reader

Abstract

The present invention discloses a Chinese character password input and verification method and system based on twelve keys. The virtual keyboard adopts a layout of four rows and three columns with twelve keys. Among them, the red "middle" character mode switching key is located in the lower right corner, the upper left, upper right, and lower left keys are pure white, and the remaining eight keys are dark gray. The pure white and dark gray together form the outline of the "middle" character. The user can short-press the "middle" character key to switch between the pinyin input mode or the Chinese character stroke input mode. After each Chinese character is input, short-press the confirmation key. After 2 to 6 Chinese characters are input, long-press the confirmation key to submit. The system requires the two inputs to be consistent, calculates the salted hash value for storage, and compares the hash value for verification during login. The present invention abandons Arabic numerals, consolidates the use of Chinese characters, and has the characteristics of high security, anti-peeping, and easy memorization.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] A Chinese character password input and verification method and system based on a twelve - key keyboard Technical Field

[0002] The present invention relates to the field of information security technology, and particularly to a Chinese character password input and verification method and system based on a twelve - key keyboard for scenarios such as login verification, access control unlocking, and financial transactions. Background Art

[0003] Existing password input methods mainly use combinations of numbers (0 - 9), letters, or symbols, and have the following problems: 1. The keyboard layout usually prints Arabic numerals, relying on numbers for character selection, which does not conform to the minimalist concept of pure Chinese character input; 2. The digital password combination space is limited (only 10 6 combinations for 6 - digit numbers), and it is easily cracked by brute force; 3. Random alphanumeric passwords with high security strength are difficult to remember, and users tend to use weak passwords; 4. When entering traditional passwords, the key operations are directly exposed, posing a risk of being peeked at over the shoulder or leaked through screen recording; 5. It does not adapt to the input habits of users of different age groups (for example, the elderly are not familiar with pinyin, and young people may forget the stroke order); 6. Existing nine - grid or full - keyboard input methods are mainly used for text input rather than password verification, and their security mechanisms are insufficient.

[0004] Therefore, there is an urgent need for a password input and verification method that can both consolidate the use of Chinese characters, have high security, and be easy to remember. Summary of the Invention

[0005] The technical problem to be solved by the present invention: Provide a set of pure Chinese character password input and verification methods and systems based on a twelve - key keyboard, and at the same time solve problems such as existing passwords relying on Arabic numerals, low security strength, being easily peeked at, and difficult to remember. Technical Solution

[0006] A Chinese character password input and verification method based on a twelve - key keyboard includes the following steps: (1) Provide a virtual keyboard, and the virtual keyboard includes twelve keys distributed in four rows and three columns; (2) Among the twelve keys, the key located in the lower - right corner is a mode - switching key, with the Chinese character "中" marked on its key surface and displayed in red; (3) Among the twelve keys, the three keys located in the upper - left corner, upper - right corner, and lower - left corner are displayed in pure white; the remaining eight keys are displayed in dark gray; the pure white and dark gray keys together form the outline pattern of the Chinese character "中"; (4)In response to the user's click on the mode switch key, switch between the pinyin input mode and the Chinese character stroke input mode; (5)In the pinyin input mode, receive the pinyin sequence input by the user as the password; in the Chinese character stroke input mode, receive the stroke sequence input by the user according to the stroke order of Chinese characters as the password; (6)After the user inputs each Chinese character, short - press the confirmation key to confirm the current input; after inputting a preset length (2 to 6 Chinese characters), long - press the confirmation key (greater than or equal to 2 seconds) to submit; (7)The system requires the user to input the same password again. After the two are consistent, calculate the salted hash value and store it, and discard the plaintext sequence; (8)During login verification, compare the received pinyin sequence or stroke sequence with the stored hash value. If they are consistent, the verification passes. Beneficial effects

[0007] 1. Cultural consolidation: Force the user to input Chinese characters frequently to combat the marginalization of Chinese characters; 2. Improved security: The combination space of Chinese characters is far larger than that of numbers (about 3000 commonly used Chinese characters, 6 - digit password combinations ≈ 10¹ 8 ), resisting brute - force cracking; 3. Memory - friendly: Combinations of mother - tongue Chinese characters are much easier to remember than random letters and numbers; 4. Resistance to shoulder surfing / screen recording prevention: The same key sequence corresponds to multiple Chinese characters, and observers cannot reverse - infer the real password; 5. Dual - input compatibility: Support both pinyin initials and stroke input simultaneously, suitable for all age groups; 6. Visual guidance: The pure - white and dark - gray keys form the outline of the character '中', reducing the key search time and lowering the mis - touch rate; 7. No need for dedicated hardware: Based on the standard twelve - key layout, it can be deployed on devices such as mobile phones, computers, and touchscreens. Brief description of the drawings

[0008] Figure 1 It is a schematic diagram of the virtual keyboard layout of the present invention. Detailed implementation manners

[0009] The present invention will be further described in detail below with reference to the accompanying drawings.

[0010] As Figure 1 shown, the virtual keyboard of the present invention adopts a four - row and three - column layout, with a total of twelve keys. They are defined in the following order by position: · The upper - left - corner key (the first row and the first column): The setting key. Long - press (greater than or equal to 2 seconds) to enter the password setting or modification mode; · The keys from the key at the second column of the first row to the key at the third column of the third row (a total of eight keys): The combinations of pinyin letters are arranged in sequence, corresponding respectively to the pinyin letter layout of the standard telephone keypad (abc, def, ghi, jkl, mno, pqrs, tuv, wxyz), and are used for inputting pinyin or strokes. · The key at the lower left corner (the first column of the fourth row): A combined key for backspace and clearing. Pressing it briefly (less than 1 second) deletes the last input stroke or Chinese character, and pressing it long (greater than or equal to 2 seconds) clears all inputs. · The key at the middle lower part (the second column of the fourth row): A confirmation and submission key. Pressing it briefly confirms the single Chinese character currently input, and pressing it long (greater than or equal to 2 seconds) submits the entire password. · The key at the lower right corner (the third column of the fourth row): A mode switching key, with the Chinese character "中" marked on its key surface and displayed in red. Pressing it briefly is used to switch between the pinyin input mode and the Chinese character stroke input mode.

[0011] No Arabic numerals are set on the surfaces of all keys, and only pinyin letters and Chinese character function identifiers are marked.

[0012] In this embodiment, the color configuration of the virtual keyboard is as follows: The three keys at the upper left corner, upper right corner, and lower left corner are pure white; the mode switching key at the lower right corner is red; the remaining eight keys are dark gray. The pure white keys and the dark gray keys together form the contour pattern of the Chinese character "中", which is used to visually guide the user to divide the area and reduce the key search time.

[0013] When inputting a password, the user first selects the pinyin mode or the stroke mode through the red "中" key at the lower right corner. In the pinyin mode, the user inputs the first letter of the pinyin of each Chinese character in sequence; in the stroke mode, the user inputs the keys corresponding to the horizontal, vertical, left-falling, right-falling, and turning strokes in sequence according to the stroke order of the Chinese character. After inputting each Chinese character, press the confirmation key briefly to confirm. When the user inputs a preset length (2 to 6 Chinese characters), press the confirmation key long (greater than or equal to 2 seconds) to submit. The system requires the user to input the same password again. After the two are consistent, calculate the salted hash value (such as SM3) and store it, and discard the plaintext sequence.

[0014] When performing login verification, the user inputs the password according to the same process. The system compares the complete key sequence input with the stored hash value. If they are consistent, the verification passes; if it fails continuously 3 times, it will be locked for 30 seconds.

[0015] If an error occurs during the user's input, the user can press the backspace key at the lower left corner briefly to delete the last stroke or Chinese character, or press the backspace key long to clear all inputs.

[0016] The above is only the preferred embodiment of the present invention, and does not limit the patent scope of the present invention accordingly. Any modifications, equivalent replacements, improvements, etc. made within the concept and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A Chinese character password input and verification method and system based on twelve keys (1) Provide a virtual keyboard, which is composed of twelve keys distributed in four rows and three columns; (2) Among the twelve keys, the key located in the lower right corner is the mode switch key, on which the Chinese character "中" is marked and displayed in red; (3) Among the twelve keys, the three keys located in the upper left corner, upper right corner, and lower left corner are displayed in pure white; the remaining eight keys are displayed in dark gray; the pure white and dark gray keys together form the outline pattern of the Chinese character "中"; (4) In response to the user's click on the mode switch key, switch between the pinyin input mode and the Chinese character stroke input mode; (5) In Pinyin input mode, receive the Pinyin sequence input by the user as a password; In the Chinese character stroke input mode, receive the stroke sequence input by the user according to the Chinese character stroke order as the password; (6) After the user inputs each Chinese character, short-press the confirmation key to confirm the current input; After inputting the preset length (2 to 6 Chinese characters), long-press the confirmation key (greater than or equal to 2 seconds) to submit; (7) The system requires the user to input the same password again. After the two are consistent, calculate the salted hash value and store it, and discard the plaintext sequence; (8) During login verification, compare the received pinyin sequence or stroke sequence with the stored hash value. If they are consistent, the verification passes.

2. Claim 2: The method according to claim 1, characterized in that, The virtual keyboard further includes a backspace key and a clear composite key: short-press (less than 1 second) to delete the previous stroke or Chinese character; long-press (greater than or equal to 2 seconds) to clear all inputs.

3. Claim 3: The method according to claim 1, characterized in that, No Arabic numerals are set on the surfaces of all keys of the virtual keyboard, and only pinyin letters and Chinese character function identifiers are set.

4. Claim 4: The method according to claim 1, characterized in that, In the pinyin input mode, the user inputs the first letter of the pinyin of each Chinese character, and the system uses the first letter sequence as the password.

5. Claim 5: The method according to claim 1, characterized in that, In the Chinese character stroke input mode, the user inputs the sequential codes of the five basic strokes of each Chinese character, namely horizontal, vertical, left-falling stroke, right-falling stroke, and turning stroke.

6. Claim 6: The method according to claim 1, characterized in that, After 3 consecutive verification failures, the system locks for 30 seconds.

7. Claim 7: A Chinese character password input verification system based on a twelve-key key, characterized in that, It includes: A display module for displaying the virtual keyboard described in claim 1; An input module for receiving the user's click operations on the virtual keyboard; A mode switching module that switches between the pinyin mode and the stroke mode in response to the click on the red "中" key; A password receiving module for receiving the pinyin sequence or stroke sequence; A storage module for storing the salted hash value of the password template; A verification module for comparing the input sequence with the template and outputting the verification result.

8. Claim 8: The method according to claim 1, characterized in that, Among the twelve keys of the virtual keyboard, the key located in the first row and first column is the setting key, the key located in the fourth row and first column is the backspace key and clear composite key, the key located in the fourth row and second column is the confirmation key and submission key, and the key located in the fourth row and third column is the mode switch key.