[go: up one dir, main page]

CN118171259A - Method for checking single display of password only in first input - Google Patents

Method for checking single display of password only in first input Download PDF

Info

Publication number
CN118171259A
CN118171259A CN202410450454.2A CN202410450454A CN118171259A CN 118171259 A CN118171259 A CN 118171259A CN 202410450454 A CN202410450454 A CN 202410450454A CN 118171259 A CN118171259 A CN 118171259A
Authority
CN
China
Prior art keywords
password
user
input
isfirstinput
entry
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
CN202410450454.2A
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.)
Shenzhen Yunyu Technology Co ltd
Original Assignee
Shenzhen Yunyu Technology Co 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 Shenzhen Yunyu Technology Co ltd filed Critical Shenzhen Yunyu Technology Co ltd
Priority to CN202410450454.2A priority Critical patent/CN118171259A/en
Publication of CN118171259A publication Critical patent/CN118171259A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for checking a password to be displayed only once when the password is input for the first time. The password checking method and the password checking device improve user experience and system performance while guaranteeing password safety by limiting the use times of password checking functions. The invention not only solves the problems existing in the prior art, but also provides a safer and user-friendly implementation mode for the design of the password input box.

Description

Method for checking single display of password only in first input
Technical Field
The invention relates to the technical field of information security, in particular to a method for checking a password to be displayed only once when the password is input for the first time.
Background
With the rapid development of information technology, cryptography is an important means for protecting personal privacy and enterprise data security. In many applications, a user is typically required to enter a password to complete authentication. To enhance user experience and security, many applications introduce a "display password" function when entering passwords, typically appearing as a small eye icon. The user can check or hide the input password by clicking the icon, thereby avoiding input errors or improving the trust feeling during input.
In the design of user experience, the design of a password input box has been attracting attention. Conventional password entry boxes typically do not provide visibility of the password, which may result in multiple attempts by the user at entering the password, as the accuracy of the entry cannot be confirmed. For this reason, many applications introduce a "display password" function. However, this function also brings a certain safety hazard. If the user inadvertently clicks on the function while sharing the device with others in public or with others, the password may be exposed to others.
Accordingly, the prior art has drawbacks and needs improvement.
Disclosure of Invention
The invention aims to solve the technical problems that: the method for checking the passwords only in the first input is provided, so that the problems of potential safety hazards and misoperation of users possibly caused by the password checking function in the prior art are solved.
The technical scheme of the invention is as follows: there is provided a method of viewing a password for single display only upon first input, including the following steps.
S1: when a user opens the password input box, the password is hidden in a default state, namely the password characters are displayed in special symbols; the small eye icon displaying the password is in a hidden state, i.e., the user is not initially allowed to view the password.
S2: when the user starts to input the password, the system sets an internal flag bit: isFirstInput, the initial value of which is true, is used for identifying whether the user inputs a password for the first time; if isFirstInput is true, the small eye icon for displaying the password is in a display state, i.e. the user is allowed to view the plaintext password; after the user finishes inputting the first password, the mouse is out of focus and leaves the password input box, and the system updates isFirstInput the flag bit to false.
S3: if the user makes an error in the process of inputting the password (for example, the password length is insufficient), if the user does not empty the password input box to directly input a new password, the previously set flag bits isFirstInput are checked; if the flag bit is false, the user is indicated to have completed at least one password input, and the small-eye icons are kept in a hidden state at the moment and are not allowed to view the password; after the user finishes the code retransmission, the system does not change isFirstInput flag bits and keeps as false.
In the prior art, a password input box is generally equipped with a function of displaying a password, and a user can view or hide the inputted password by clicking a small-eye icon. However, this design has major problems: if the user carelessly clicks the password display function in public places or when sharing equipment with other people, the password can be peeped by the other people, so that potential safety hazards are caused.
If the user selects to empty the password input box and restart the input, a reset operation is performed; the reset operation includes: all characters in the password input box are cleared, and the isFirstInput flag bit is reset to true to indicate that the user is now in a new first input session, and the small-eye icon displaying the password is reset to a display state, allowing the user to view the password once in the new input session.
The special characters are "·" or "×" or "#".
The method for emptying the password input box is as follows: by clicking a clear button or deleting all characters directly.
The invention realizes the single display of the password checking function when the password is input for the first time. By introducing isFirstInput flags, the system can track the user's input state and allow the user to view the password when he first enters it. In the subsequent input process, whether the user inputs the password again due to input errors or not, the system prohibits checking the password function, so that the password safety is enhanced. In addition, through the reset operation of the password input box, a user can obtain the opportunity of checking the password once in each new input session, so that the safety is ensured, and good user experience is provided. The password checking method and the password checking device optimize user experience while guaranteeing password safety, and solve the potential safety hazard and user misoperation problems possibly caused by password checking functions in the prior art.
By adopting the scheme, the invention provides the method for checking the password to be displayed only once when the password is input for the first time. The invention not only solves the problems existing in the prior art, but also provides a safer and user-friendly implementation mode for the design of the password input box. By realizing the technical solution that the check password is only displayed once when being input for the first time, the invention brings the following remarkable technical effects:
1. Enhancing password security: the use times of the password checking function are limited, and the user is allowed to check the plaintext password only when the user inputs the password for the first time, so that the risk of password leakage is effectively reduced. The possibility that the password is peeped when the user carelessly clicks the password display function and shares the device with other people in public places is reduced.
2. And the user experience is improved: allowing the user to view the password when the password is input for the first time helps the user to confirm the accuracy of input, especially in the case of high password input strength requirement or complex character combination. By providing proper prompt information on the user interface, the user is helped to understand and correctly use the password checking function, and the use satisfaction degree of the user is improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The invention will be described in detail below with reference to the drawings and the specific embodiments.
Referring to fig. 1, the present invention provides a method for checking that a password is only displayed once when the password is input for the first time, comprising the following steps.
S1: when a user opens the password input box, the password is hidden in a default state, namely the password characters are displayed in special symbols; the small eye icon displaying the password is in a hidden state, i.e., the user is not initially allowed to view the password.
S2: when the user starts to input the password, the system sets an internal flag bit: isFirstInput, the initial value of which is true, is used for identifying whether the user inputs a password for the first time; if isFirstInput is true, the small eye icon for displaying the password is in a display state, i.e. the user is allowed to view the plaintext password; after the user finishes inputting the first password, the mouse is out of focus and leaves the password input box, and the system updates isFirstInput the flag bit to false.
S3: if the user makes an error in the process of inputting the password (for example, the password length is insufficient), if the user does not empty the password input box to directly input a new password, the previously set flag bits isFirstInput are checked; if the flag bit is false, the user is indicated to have completed at least one password input, and the small-eye icons are kept in a hidden state at the moment and are not allowed to view the password; after the user finishes the code retransmission, the system does not change isFirstInput flag bits and keeps as false.
In the prior art, a password input box is generally equipped with a function of displaying a password, and a user can view or hide the inputted password by clicking a small-eye icon. However, this design has major problems: if the user carelessly clicks the password display function in public places or when sharing equipment with other people, the password can be peeped by the other people, so that potential safety hazards are caused.
If the user selects to empty the password input box and restart the input, a reset operation is performed; the reset operation includes: all characters in the password input box are cleared, and the isFirstInput flag bit is reset to true to indicate that the user is now in a new first input session, and the small-eye icon displaying the password is reset to a display state, allowing the user to view the password once in the new input session.
The special characters are "·" or "×" or "#".
The method for emptying the password input box is as follows: by clicking a clear button or deleting all characters directly.
The invention realizes the single display of the password checking function when the password is input for the first time. By introducing isFirstInput flags, the system can track the user's input state and allow the user to view the password when he first enters it. In the subsequent input process, whether the user inputs the password again due to input errors or not, the system prohibits checking the password function, so that the password safety is enhanced. In addition, through the reset operation of the password input box, a user can obtain the opportunity of checking the password once in each new input session, so that the safety is ensured, and good user experience is provided. The password checking method and the password checking device optimize user experience while guaranteeing password safety, and solve the potential safety hazard and user misoperation problems possibly caused by password checking functions in the prior art.
In summary, the invention provides a method for displaying the check password only once when the check password is input for the first time. The invention not only solves the problems existing in the prior art, but also provides a safer and user-friendly implementation mode for the design of the password input box. By realizing the technical solution that the check password is only displayed once when being input for the first time, the invention brings the following remarkable technical effects:
1. Enhancing password security: the use times of the password checking function are limited, and the user is allowed to check the plaintext password only when the user inputs the password for the first time, so that the risk of password leakage is effectively reduced. The possibility that the password is peeped when the user carelessly clicks the password display function and shares the device with other people in public places is reduced.
2. And the user experience is improved: allowing the user to view the password when the password is input for the first time helps the user to confirm the accuracy of input, especially in the case of high password input strength requirement or complex character combination. By providing proper prompt information on the user interface, the user is helped to understand and correctly use the password checking function, and the use satisfaction degree of the user is improved.
The foregoing description of the preferred embodiment of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (5)

1. A method-for viewing a single display of a password only upon a first entry, comprising the steps of:
S1: when a user opens the password input box, the password is hidden in a default state, namely the password characters are displayed in special symbols; the icon for displaying the password is in a hidden state, namely, the user is not allowed to view the password initially;
S2: when the user starts to input the password, the system sets an internal flag bit: isFirstInput, the initial value of which is true, is used for identifying whether the user inputs a password for the first time; if isFirstInput is true, the icon for displaying the password is in a display state, namely, the user is allowed to view the plaintext password; after the user finishes inputting the first password, the mouse is out of focus and leaves the password input box, and the system updates isFirstInput the flag bit to false;
S3: if the user has an error in the password inputting process, if the user does not empty the password input box to directly input a new password, checking the previously set flag bits isFirstInput; if the flag bit is false, the user is indicated to have completed at least one password input, and the small-eye icons are kept in a hidden state at the moment and are not allowed to view the password; after the user finishes the code retransmission, the system does not change isFirstInput flag bits and keeps as false.
2. The method for viewing a single display of a password only upon a first input of claim 1, wherein if a user selects to empty a password entry box and restart entry, a reset operation is performed;
the reset operation includes: all characters in the password input box are cleared, and the isFirstInput flag bit is reset to true to indicate that the user is now in a new first input session, and the icon displaying the password is reset to a display state, so that the user is allowed to view the password once in the new input session.
3. A method of viewing a single display of a passcode only upon first entry as claimed in claim 1 wherein the icon displaying the passcode is a small eye icon.
4. A method of viewing a single display of a passcode only upon first entry as claimed in claim 1 wherein the special character is "·" or "×" or "#".
5. A method of viewing a single display of a password only upon a first entry as recited in claim 1, wherein the manner of clearing the password entry box is: by clicking a clear button or deleting all characters directly.
CN202410450454.2A 2024-04-15 2024-04-15 Method for checking single display of password only in first input Pending CN118171259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410450454.2A CN118171259A (en) 2024-04-15 2024-04-15 Method for checking single display of password only in first input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410450454.2A CN118171259A (en) 2024-04-15 2024-04-15 Method for checking single display of password only in first input

Publications (1)

Publication Number Publication Date
CN118171259A true CN118171259A (en) 2024-06-11

Family

ID=91360424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410450454.2A Pending CN118171259A (en) 2024-04-15 2024-04-15 Method for checking single display of password only in first input

Country Status (1)

Country Link
CN (1) CN118171259A (en)

Similar Documents

Publication Publication Date Title
KR102149340B1 (en) Method and apparatus for acquiring verification code, and terminal
CN101827454B (en) For observing the method and system of the level of trust that network communication operations is connected with server
CN104657643B (en) Method for protecting privacy, wearable device and mobile terminal
US9087218B1 (en) Trusted path
US9369468B2 (en) Generation of a visually obfuscated representation of an alphanumeric message that indicates availability of a proposed identifier
US9390249B2 (en) System and method for improving security of user account access
US20100043062A1 (en) Methods and Systems for Management of Image-Based Password Accounts
US20080046723A1 (en) Multi-factor authentication
US8334845B2 (en) Thwarting screen logging of keypad in a web-based form
US11902283B2 (en) Transaction system, transaction method, and information recording medium
US20200089910A1 (en) Message privacy
Fernandes et al. Tivos: Trusted visual i/o paths for android
KR101160719B1 (en) Method and system for sending electronic mail over a network
JP2012094031A (en) Information input method, information input system, information input device and computer program
JP6584824B2 (en) Transaction system, transaction method, and information recording medium
US12120232B2 (en) Secure communication tool for use alongside non-secure communications
CN118171259A (en) Method for checking single display of password only in first input
JP6325654B2 (en) Network service providing apparatus, network service providing method, and program
JP5670001B1 (en) Transaction system, transaction method, and information recording medium
JP6336383B2 (en) Trading system
CN110941352B (en) Keyboard generation method, security information input method and device and mobile terminal
CN118940251A (en) Touch screen password input method, device and terminal equipment
CN118940253A (en) Touch screen password input method, device and terminal equipment
WO2018232659A1 (en) Mobile terminal privacy processing method and mobile terminal
JP5750560B1 (en) Transaction system, transaction method, and information recording 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