CN112947770A - Password input method - Google Patents
Password input method Download PDFInfo
- Publication number
- CN112947770A CN112947770A CN202110360388.6A CN202110360388A CN112947770A CN 112947770 A CN112947770 A CN 112947770A CN 202110360388 A CN202110360388 A CN 202110360388A CN 112947770 A CN112947770 A CN 112947770A
- Authority
- CN
- China
- Prior art keywords
- password
- module
- mapping
- setting
- mapping module
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000013507 mapping Methods 0.000 claims abstract description 41
- 238000004891 communication Methods 0.000 claims abstract description 4
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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
- G06F3/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a password input method, relates to the technical field of automobile encryption, and solves the technical problem of low encryption strength of the existing automobile, and the method comprises the following steps: setting a password write-in scheduling module in communication connection with an operating system; setting a write-in password module for receiving the number input by a keyboard or the number sent by a CAN bus; setting a mapping module, wherein the mapping module stores a mapping table in which numbers and characters are in one-to-one correspondence; setting a password storage module for storing passwords; the writing password module sends the received number to the mapping module, and the mapping module judges whether the received number is valid; if the number is valid, the mapping module queries the mapping table according to the received number to obtain a corresponding character and sends the character to the password writing scheduling module, and the password writing scheduling module sends the received character to the operating system and the password storage module; otherwise, the mapping module sends out error information to remind the user to input the numbers again.
Description
Technical Field
The invention relates to the technical field of automobile encryption, in particular to a password input method.
Background
In the field of industrial control or automotive electronics, there are times when it is necessary to enter a letter-type password, such as ABC, or a symbol-type password, such as + -, for strengthening the password strength. However, in some specific situations, such as the car CAN bus network, no keyboard or physical keys exist, or only a numeric keyboard is equipped for cost reduction without a full-size keyboard, so that letters or symbols cannot be obtained, and the password strength is greatly reduced.
Disclosure of Invention
The present invention is directed to solve the above-mentioned deficiencies of the prior art, and an object of the present invention is to provide a method for inputting a password, which can improve the password strength.
The technical scheme of the invention is as follows: a method of inputting a password, comprising:
setting a password write-in scheduling module in communication connection with an operating system;
setting a write-in password module for receiving the number input by a keyboard or the number sent by a CAN bus;
setting a mapping module, wherein the mapping module stores a mapping table in which numbers and characters are in one-to-one correspondence;
setting a password storage module for storing passwords;
the writing password module sends the received number to the mapping module, and the mapping module judges whether the received number is valid; if the number is valid, the mapping module queries the mapping table according to the received number to obtain a corresponding character, and sends the character to the password writing scheduling module, and the password writing scheduling module sends the received character to the operating system and the password storage module; otherwise, the mapping module sends out error information to remind the user to input the numbers again.
As a further improvement, the keyboard is a numeric keyboard.
Further, the CAN bus is connected to a terminal or a contact switch for transmitting binary information through a connector.
Further, the correspondence between the numbers and the characters is the correspondence between the numbers and the characters in the ASCII code.
Further, if the mapping module determines that the received number is valid, the mapping module feeds back the character corresponding to the number to the user.
Advantageous effects
Compared with the prior art, the invention has the advantages that: the invention can effectively input all characters in the ASCII code by inquiring the input number into the mapping table to obtain the corresponding characters, thereby greatly improving the password strength.
Drawings
FIG. 1 is a frame diagram of the present invention;
FIG. 2 is a flow chart of the present invention.
Detailed Description
The invention will be further described with reference to specific embodiments shown in the drawings.
Referring to fig. 1 and 2, a password input method includes:
setting a password write-in scheduling module in communication connection with an operating system of the automobile;
setting a write-in password module for receiving the number input by a keyboard or the number sent by a CAN bus;
setting a mapping module, wherein the mapping module stores a mapping table in which numbers and characters are in one-to-one correspondence;
setting a password storage module for storing passwords;
the writing password module sends the received number to the mapping module, and the mapping module judges whether the received number is valid, namely whether the number is in a number range in the mapping table; if the number is valid, the mapping module queries the mapping table according to the received number to obtain a corresponding character and sends the character to the password writing scheduling module, and the password writing scheduling module sends the received character to the operating system and the password storage module; otherwise, the mapping module sends out error information to remind the user to input the numbers again.
In this embodiment, the keyboard is a numeric keypad. The CAN bus is connected to the terminals or to the contact switches for sending binary information via the connections. The terminal can input numbers in various formats, such as binary, octal, decimal and hexadecimal, and the contact switch can input binary numbers. The correspondence between numbers and characters is the correspondence between numbers and characters in ASCII code, as shown in table 1 below. If the bus sends hexadecimal 0x41, then translated to "A", and sends hexadecimal 0x43, then translated to "C", if a numeric keypad is used, it may end up with # as a single character, e.g., input 101 #.
TABLE 1
If the mapping module judges that the received number is valid, the mapping module feeds back the character corresponding to the number to the user, so that the user can confirm whether the input password is the specified password. The information can be fed back or error information can be sent out through a display screen or a loudspeaker.
The password storage module compares the received password with the stored password, if the comparison is successful, the password write-in scheduling module sends success information to the operating system, and if the comparison is failed, the password write-in scheduling module sends failure information to the operating system. If the password storage module does not store the password, the received password is directly stored, and the password is written into the scheduling module to send success information to the operating system. If the password is modified, the received password is used for replacing the stored password.
The invention can effectively input all characters in the ASCII code by inquiring the input number into the mapping table to obtain the corresponding characters, thereby greatly improving the password strength.
The above is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that several variations and modifications can be made without departing from the structure of the present invention, which will not affect the effect of the implementation of the present invention and the utility of the patent.
Claims (5)
1. A method for inputting a password, comprising:
setting a password write-in scheduling module in communication connection with an operating system;
setting a write-in password module for receiving the number input by a keyboard or the number sent by a CAN bus;
setting a mapping module, wherein the mapping module stores a mapping table in which numbers and characters are in one-to-one correspondence;
setting a password storage module for storing passwords;
the writing password module sends the received number to the mapping module, and the mapping module judges whether the received number is valid; if the number is valid, the mapping module queries the mapping table according to the received number to obtain a corresponding character, and sends the character to the password writing scheduling module, and the password writing scheduling module sends the received character to the operating system and the password storage module; otherwise, the mapping module sends out error information to remind the user to input the numbers again.
2. The method of claim 1, wherein the keyboard is a numeric keypad.
3. The method of claim 1, wherein the CAN bus is connected to a terminal or a contact switch for transmitting binary information through a connector.
4. The method of claim 1, wherein the correspondence between the numbers and the characters is a correspondence between numbers and characters in ASCII code.
5. The method of claim 1, wherein if the mapping module determines that the received number is valid, the mapping module feeds back a character corresponding to the number to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110360388.6A CN112947770A (en) | 2021-04-02 | 2021-04-02 | Password input method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110360388.6A CN112947770A (en) | 2021-04-02 | 2021-04-02 | Password input method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112947770A true CN112947770A (en) | 2021-06-11 |
Family
ID=76232207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110360388.6A Pending CN112947770A (en) | 2021-04-02 | 2021-04-02 | Password input method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112947770A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104834840A (en) * | 2014-07-03 | 2015-08-12 | 中国人民解放军92728部队 | Password protection method based on mapping drifting technology |
CN105227520A (en) * | 2014-06-09 | 2016-01-06 | 中移电子商务有限公司 | The method and system of a kind of account password setting and authenticating user identification |
CN105743860A (en) * | 2014-12-10 | 2016-07-06 | 北京数码视讯科技股份有限公司 | Method and device for converting characters |
CN106022017A (en) * | 2016-05-06 | 2016-10-12 | 平安科技(深圳)有限公司 | A method, a device and a system realizing password input via a virtual keyboard |
CN106231391A (en) * | 2016-08-03 | 2016-12-14 | 深圳Tcl新技术有限公司 | Television set rapidly inputs the method and system of password |
-
2021
- 2021-04-02 CN CN202110360388.6A patent/CN112947770A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105227520A (en) * | 2014-06-09 | 2016-01-06 | 中移电子商务有限公司 | The method and system of a kind of account password setting and authenticating user identification |
CN104834840A (en) * | 2014-07-03 | 2015-08-12 | 中国人民解放军92728部队 | Password protection method based on mapping drifting technology |
CN105743860A (en) * | 2014-12-10 | 2016-07-06 | 北京数码视讯科技股份有限公司 | Method and device for converting characters |
CN106022017A (en) * | 2016-05-06 | 2016-10-12 | 平安科技(深圳)有限公司 | A method, a device and a system realizing password input via a virtual keyboard |
CN106231391A (en) * | 2016-08-03 | 2016-12-14 | 深圳Tcl新技术有限公司 | Television set rapidly inputs the method and system of password |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8054971B2 (en) | Free-hand mobile messaging-method and device | |
US9106767B2 (en) | Systems and methods for information exchange and synchronization using DTMF over telephone communication channels | |
CN100566283C (en) | A kind of long-range control method and system | |
CN108848164B (en) | Display device connection method, display device and system | |
JPH1056666A (en) | Menu drive entry method for message of short message service | |
US20030043022A1 (en) | Messaging system providing message redundancy reduction | |
CN101222556B (en) | Method and system for implementing long-distance wireless remote control based on mobile terminal | |
CN101465904A (en) | Mobile communication terminal as well as message control method and delete method thereof | |
CN1972485A (en) | Transmitting and receiving of hand-written data of no character recognition on wireless device | |
CN112947770A (en) | Password input method | |
GB2359399A (en) | Character display code conversion | |
US20070004460A1 (en) | Method and apparatus for non-numeric telephone address | |
CN105207747A (en) | Data transmission method based on HID protocol | |
CN105245694B (en) | Conversion method of digital coding and non-digital coding, communication system and communication method | |
CN107517278A (en) | The long-range control method and tele-control system of a kind of intelligent terminal | |
CN113938873B (en) | Network card locking method and device, storage medium and terminal | |
US20040127239A1 (en) | Method for changing performance controlling parameter for mobile telecommunication terminal | |
CN101026640B (en) | Method, device and system for realizing character input using communication terminal | |
CN101640848A (en) | Method for querying states of cluster group members, and mobile terminal | |
CN1985444B (en) | A cellular communication system, network element and method of operating the same | |
US6219410B1 (en) | Method of and apparatus for hiding numbers inputted by a user from being displayed on the LCD screen of a digital telephone | |
WO2022143471A1 (en) | Payment method and communication apparatus | |
CN100534072C (en) | Instant communication system realized by remote controller, method and remote controller | |
CN117201229B (en) | Communication method, system and storage medium | |
US7801524B2 (en) | Communication apparatus and signaling system thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210611 |