CN113918929A - Method and device for clearing password and computer - Google Patents
Method and device for clearing password and computer Download PDFInfo
- Publication number
- CN113918929A CN113918929A CN202111151263.9A CN202111151263A CN113918929A CN 113918929 A CN113918929 A CN 113918929A CN 202111151263 A CN202111151263 A CN 202111151263A CN 113918929 A CN113918929 A CN 113918929A
- Authority
- CN
- China
- Prior art keywords
- password
- basic
- clearing
- user
- advanced
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012790 confirmation Methods 0.000 claims description 25
- 230000004913 activation Effects 0.000 claims description 19
- 230000009471 action Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a method, a device and a computer for clearing a password, wherein an advanced password with higher priority is additionally arranged on the basis of a basic password and stored in a fixed area of an NVRAM (non-volatile random access memory), when a user forgets the basic password, the permission for clearing the basic password can be obtained by inputting the advanced password, the operation is simple and convenient, the whole process is realized in a software mode, the operation of clearing the basic password by the user is convenient, and the advanced password is stored in the fixed area of the NVRAM and has read-only performance, so that the safety is higher.
Description
Technical Field
The invention relates to the technical field of computer security, in particular to a method and a device for clearing a password and a computer.
Background
At present, in consideration of computer security, a Basic password is often set in a BIOS (Basic Input Output System), and when a computer is powered on, a user is prompted to Input the set Basic password. When a user forgets a basic password, the set basic password needs to be cleared in a certain way, and in the prior art, when the basic password is stored in a Complementary Metal Oxide Semiconductor (CMOS) chip, the stored basic password can be cleared by disconnecting a battery that supplies power to the CMOS chip; therefore, the means for clearing the basic password in the prior art needs the participation of hardware, and has the disadvantages of complex operation, inconvenience for users and low safety.
Disclosure of Invention
The invention aims to provide a method, a device and a computer for clearing a password, wherein a user acquires the permission for clearing a basic password in a software mode, the operation of clearing the basic password by the user is convenient, and the security is higher.
In order to solve the above technical problem, the present invention provides a method for clearing a password, comprising:
receiving a high-level password input by a user;
and when the input advanced password is consistent with an advanced password pre-stored in a fixed area of the NVRAM, providing the permission to clear the basic password, wherein the fixed area has the read-only property.
Preferably, before receiving the advanced password input by the user, the method further comprises:
when receiving an instruction for calling the advanced password confirmation window, calling the advanced password confirmation window;
receiving a user-entered advanced password, comprising:
receiving the input advanced password through the advanced password confirmation window.
Preferably, the receiving of the instruction for invoking the advanced password confirmation window includes:
and receiving a preset hot key combination instruction corresponding to the calling of the advanced password confirmation window.
Preferably, the receiving of the instruction for invoking the advanced password confirmation window includes:
the wrong basic passwords are received consecutively a preset number of times.
Preferably, the high-level password comprises an enterprise password or a government password; the basic password includes a user password and/or an administrator password.
Preferably, after providing the right to clear the basic password, the method further includes:
calling a window for prompting a user whether to clear the basic password or not;
and clearing the basic password when receiving a basic password clearing instruction sent by a user through the window for clearing the basic password.
Preferably, after the basic password is cleared when receiving a basic password clearing instruction sent by a user through the window of whether to clear the basic password, the method further includes:
calling a window for prompting a user whether to reset the basic password;
calling a basic password setting window when a basic password resetting instruction sent by a user through the window for resetting the basic password is received;
and receiving and storing a new basic password set by the user through the basic password setting window.
Preferably, before receiving the input password input by the user, the method further comprises:
receiving a computer starting instruction;
prompting a user to input an activation password when a high-level password in a BIOS chip on the computer is not activated;
receiving the activation password input by a user;
if the activation password exists in the fixed area of the NVRAM, taking the activation password as a high-level password in a BIOS chip of the computer and executing a boot-up action;
and executing the boot-up action when the high-level password in the BIOS chip on the computer is activated.
In order to solve the above technical problem, the present invention further provides a device for clearing a password, including:
a memory for storing a computer program;
and the BIOS chip is used for executing the computer program to realize the steps of the method for clearing the password.
In order to solve the technical problem, the invention also provides a computer which comprises the device for clearing the password.
The invention provides a method for clearing a password, which is characterized in that an advanced password with higher priority is additionally arranged on the basis of a basic password and stored in a fixed area of an NVRAM (non-volatile random access memory), when a user forgets the basic password, the permission for clearing the basic password can be obtained by inputting the advanced password, the operation is simple and convenient, the whole process is realized in a software mode, the operation of clearing the basic password by the user is convenient, and the advanced password is stored in the fixed area of the NVRAM and has read-only property, so the safety is higher.
The invention also provides a device and a computer for clearing the password, which have the same beneficial effects as the method for clearing the password.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a method for clearing a password according to the present invention;
fig. 2 is a schematic structural diagram of a device for clearing a password according to the present invention.
Detailed Description
The core of the invention is to provide a method, a device and a computer for clearing the password, a user obtains the permission for clearing the basic password in a software mode, the operation of clearing the basic password by the user is convenient, and the security is higher.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for clearing a password according to the present invention, including:
s11: accepting a high-level password input by a user;
s12: when the input advanced password is identical to the advanced password pre-stored in a fixed area of the NVRAM, the permission to clear the basic password is provided, and the fixed area has read-only property.
In consideration of computer security, a user usually sets a basic password for a computer, and in consideration of the fact that the user may forget the basic password or the user needs to clear the basic password, the user needs to be provided with the right to clear the basic password to ensure normal use of the computer. In order to solve the above problem, the present solution additionally sets a high-level password with higher priority stored in the fixed area of the NVRAM on the basis of the basic password, when the user forgets the basic password or needs to clear the basic password, the BIOS chip 22 receives the high-level password input by the user, and when the BIOS chip 22 determines that the high-level password input by the user is consistent with the high-level password preset and stored in the fixed area of the NVRAM, the permission to clear the basic password is provided to the user.
It should be noted that the applicable scenario of the present scheme includes computers within an enterprise, and therefore, in consideration of security of computers within the enterprise, the advanced password of the enterprise should be a password with high security, and only a few people usually know that, for example, when employees of the enterprise forget the basic password or need to clear the basic password, a manager within the enterprise, who knows the advanced password, needs to input the advanced password on the computer to obtain the authority to clear the basic password, thereby facilitating overall management of the enterprise on the computers and enhancing security and reliability of the computers within the enterprise.
It should be noted that the fixed area of the NVRAM herein has read-only property, so the advanced password stored in the fixed area of the NVRAM cannot be modified by the user, and can only be modified by means of rewriting the BIOS program.
In summary, according to the method for clearing the password provided by the present invention, on the basis of the basic password, an advanced password with a higher priority is additionally set and stored in the fixed area of the NVRAM, when the user forgets the basic password, the user can obtain the permission to clear the basic password by inputting the advanced password, the operation is simple and convenient, the whole process is realized by a software manner, the operation of clearing the basic password by the user is facilitated, and the advanced password is stored in the fixed area of the NVRAM, and has read-only performance, so that the security is higher.
On the basis of the above-described embodiment:
as a preferred embodiment, before receiving the advanced password input by the user, the method further comprises:
when receiving an instruction for calling the advanced password confirmation window, calling the advanced password confirmation window;
receiving a user-entered advanced password, comprising:
receiving the input advanced password through an advanced password confirmation window.
In the embodiment, the convenience of human-computer interaction is considered, so that the advanced password input by a user is accepted by calling the advanced password confirmation window, when the user needs to input the advanced password to obtain the basic password clearing right, namely when an instruction for calling the advanced password confirmation window is received, the advanced password confirmation window is called so that the user can input the advanced password, and the advanced password input by the user is accepted through the advanced password confirmation window so as to facilitate subsequent operation.
As a preferred embodiment, receiving an instruction to invoke an advanced password confirmation window includes:
and receiving a preset hot key combination instruction corresponding to the calling of the advanced password confirmation window.
In this embodiment, considering that the advanced password is a password that has a higher authority and is not easy to use at ordinary times, the instruction for invoking the advanced password confirmation window in the present solution may be a preset hot key combination instruction for invoking the advanced password confirmation window, and this way is simple to implement and has a certain security.
It should be noted that the preset hot key combination command may be set according to a usage scenario, and the present invention is not limited thereto.
As a preferred embodiment, receiving an instruction to invoke an advanced password confirmation window includes:
the wrong basic passwords are received consecutively a preset number of times.
In the embodiment, it is considered that the user may try to input the basic password in the basic password confirmation window when forgetting the basic password, and when the number of times of errors of the input basic password reaches a certain number, it indicates that the user really forgets the basic password at this time, and the basic password needs to be cleared by providing the authority to clear the basic password.
As a preferred embodiment, the high-level password includes an enterprise password or a government password; the basic password includes a user password and/or an administrator password.
In this embodiment, considering that the high-level password may be a password with the highest priority, the high-level password of the present invention may be an enterprise password inside an enterprise or a government password inside a government, so as to facilitate overall management of the enterprise or the government, and the basic password includes a user password and an administrator password, where the priority of the administrator password is higher than that of the user password, and users having authority of the administrator password may delete or change the user password, but their priorities are lower than the high-level password, so that when users forget the user password and the administrator password at the same time, the authority to clear the basic password may be obtained through the high-level password, thereby facilitating the users.
As a preferred embodiment, after providing the right to clear the basic password, the method further includes:
calling a window for prompting a user whether to clear the basic password or not;
and clearing the basic password when receiving a basic password clearing instruction sent by a user through a window of whether the basic password is cleared.
In consideration of inquiring whether the user determines to clear the basic password after the permission for clearing the basic password is provided, the method calls the window for prompting the user whether to clear the basic password or not after the permission for clearing the basic password is provided, and executes the operation for clearing the basic password only when the basic password clearing instruction sent by the user through the window for clearing the basic password or not is received, so that the man-machine interaction is increased, and the mistaken clearing operation of the user is prevented.
As a preferred embodiment, after the basic password is cleared when a basic password clearing instruction sent by a user through a window of whether the basic password is cleared is received, the method further includes:
calling a window for prompting a user whether to reset the basic password;
calling a basic password setting window when a basic password resetting instruction sent by a user through a window for resetting the basic password is received;
and receiving and storing a new basic password set by the user through the basic password setting window.
In this embodiment, in consideration of computer security, after the basic password is cleared, the user should be prompted whether to reset the basic password, when an instruction that the user needs to reset the basic password is received, the basic password setting window is called so that the user can reset the basic password, and a new basic password set by the user is saved through the basic password setting window, which improves user experience and improves computer security.
As a preferred embodiment, before receiving the input password input by the user, the method further includes:
receiving a computer starting instruction;
prompting a user to input an activation password when a high-level password in a BIOS chip on the computer is not activated;
receiving an activation password input by a user;
if the activation password exists in the fixed area of the NVRAM, the activation password is used as a high-level password in a BIOS chip of the computer and a starting-up action is executed;
the boot action is performed when the high-level password in the BIOS chip on the computer is activated.
In this embodiment, considering that there may be multiple enterprises or users using the same BIOS, different enterprises or users may have their own advanced passwords, and thus the advanced password stored in the fixed area of the NVRAM is also plural, in the present invention, when the computer is started, whether the corresponding advanced password is activated or not is detected, and when the corresponding advanced password is not activated, the user is prompted to enter an activation password, and when the activation password entered by the user is consistent with one of the high-level passwords of the fixed area of the NVRAM, the activation is successful and the activation password entered by the user is used as the high-level password for the computer and the subsequent power-on action is performed, when the activation password input by the user is inconsistent with all high-level passwords in the fixed area of the NVRAM, judging that the activation fails, and prompting the user to input the activation password again; when detecting that the computer has activated the corresponding advanced password, the computer directly executes the boot-up action. The mode can achieve the purpose of general use of the BIOS, and the realization mode is simple and convenient without reducing the safety.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a device for clearing a password according to the present invention, including:
a memory 21 for storing a computer program;
the BIOS chip 22 is used for executing a computer program to implement the steps of the above-mentioned method for clearing the password.
For the introduction of the device for clearing a password provided by the present invention, please refer to the above method embodiments, which are not described herein again.
For the introduction of the computer provided by the present invention, please refer to the above method embodiment, which is not described herein again.
It is further noted that, in the present specification, 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for clearing a password is applied to a BIOS chip in a computer, and comprises the following steps:
receiving a high-level password input by a user;
and when the input advanced password is consistent with an advanced password pre-stored in a fixed area of the NVRAM, providing the permission to clear the basic password, wherein the fixed area has the read-only property.
2. The method for clearing a password as claimed in claim 1, wherein before receiving the high-level password input by the user, further comprising:
when receiving an instruction for calling the advanced password confirmation window, calling the advanced password confirmation window;
receiving a user-entered advanced password, comprising:
receiving the input advanced password through the advanced password confirmation window.
3. The method of clearing a password of claim 2, wherein receiving an instruction to invoke an advanced password confirmation window comprises:
and receiving a preset hot key combination instruction corresponding to the calling of the advanced password confirmation window.
4. The method of clearing a password of claim 2, wherein receiving an instruction to invoke an advanced password confirmation window comprises:
the wrong basic passwords are received consecutively a preset number of times.
5. The method of clearing a password of claim 1, wherein the high-level password comprises an enterprise password or a government password; the basic password includes a user password and/or an administrator password.
6. The method for clearing a password as claimed in claim 1, wherein after providing the right to clear the basic password, further comprising:
calling a window for prompting a user whether to clear the basic password or not;
and clearing the basic password when receiving a basic password clearing instruction sent by a user through the window for clearing the basic password.
7. The method for clearing a password according to claim 6, further comprising, after clearing the basic password upon receiving a command to clear the basic password from a user through the window of whether to clear the basic password, the step of:
calling a window for prompting a user whether to reset the basic password;
calling a basic password setting window when a basic password resetting instruction sent by a user through the window for resetting the basic password is received;
and receiving and storing a new basic password set by the user through the basic password setting window.
8. The method for clearing a password according to any one of claims 1 to 7, wherein before receiving the input password input by the user, the method further comprises:
receiving a computer starting instruction;
prompting a user to input an activation password when a high-level password in a BIOS chip on the computer is not activated;
receiving the activation password input by a user;
if the activation password exists in the fixed area of the NVRAM, taking the activation password as a high-level password in a BIOS chip of the computer and executing a boot-up action;
and executing the boot-up action when the high-level password in the BIOS chip on the computer is activated.
9. An apparatus for clearing a password, comprising:
a memory for storing a computer program;
a BIOS chip for executing the computer program to implement the steps of the method for clearing a password as described in any one of above 1 to 8.
10. A computer comprising the apparatus for clearing a password of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111151263.9A CN113918929A (en) | 2021-09-29 | 2021-09-29 | Method and device for clearing password and computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111151263.9A CN113918929A (en) | 2021-09-29 | 2021-09-29 | Method and device for clearing password and computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113918929A true CN113918929A (en) | 2022-01-11 |
Family
ID=79237170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111151263.9A Withdrawn CN113918929A (en) | 2021-09-29 | 2021-09-29 | Method and device for clearing password and computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113918929A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030182584A1 (en) * | 2002-03-22 | 2003-09-25 | John Banes | Systems and methods for setting and resetting a password |
CN101727558A (en) * | 2008-10-28 | 2010-06-09 | 联想(北京)有限公司 | Method for clearing password of computer, computer and server |
CN101770552A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for clearing computer password, computer and system for clearing computer password |
US20130174250A1 (en) * | 2011-12-29 | 2013-07-04 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for restricting access to the electronic device utilizing bios password |
CN112130903A (en) * | 2020-09-18 | 2020-12-25 | 山东云海国创云计算装备产业创新中心有限公司 | CMOS (complementary Metal oxide semiconductor) information clearing method and device and computer readable storage medium |
-
2021
- 2021-09-29 CN CN202111151263.9A patent/CN113918929A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030182584A1 (en) * | 2002-03-22 | 2003-09-25 | John Banes | Systems and methods for setting and resetting a password |
CN101727558A (en) * | 2008-10-28 | 2010-06-09 | 联想(北京)有限公司 | Method for clearing password of computer, computer and server |
CN101770552A (en) * | 2008-12-31 | 2010-07-07 | 北京联想软件有限公司 | Method for clearing computer password, computer and system for clearing computer password |
US20130174250A1 (en) * | 2011-12-29 | 2013-07-04 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for restricting access to the electronic device utilizing bios password |
CN112130903A (en) * | 2020-09-18 | 2020-12-25 | 山东云海国创云计算装备产业创新中心有限公司 | CMOS (complementary Metal oxide semiconductor) information clearing method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8244231B2 (en) | Method and apparatus for disambiguating an emergency call attempt during password entry for unlocking a mobile communication device | |
US11100202B2 (en) | Fingerprint recognition method and device for touch screen, and touch screen | |
US7617530B2 (en) | Rights elevator | |
US10831881B2 (en) | Method and terminal for enhancing information security | |
US8931081B2 (en) | Device identification for externalizing password from device coupled with user control of external password service | |
US7945951B2 (en) | Rights-context elevator | |
CN103336924A (en) | Starting lock for mobile terminal application program | |
US20060186199A1 (en) | Apparatus for authorising access to an electronic device | |
WO2017166689A1 (en) | Privacy protection method and device | |
US7941848B2 (en) | Elevating rights | |
WO2015188442A1 (en) | Password management method and device | |
CN107656639B (en) | Method for preventing misoperation of touch screen, storage medium and mobile terminal | |
US9781104B2 (en) | Working method of dynamic token | |
CN111552944A (en) | Login verification method and device | |
WO2019000972A1 (en) | Prompting information output method and apparatus | |
CN113221095A (en) | Application program protection method and device, electronic equipment and storage medium | |
CN113918929A (en) | Method and device for clearing password and computer | |
WO2023179399A1 (en) | Data processing method, system, apparatus and device, and storage medium | |
CN107181595A (en) | A kind of account method for retrieving and device for retrieving based on intelligent terminal | |
CN111581617B (en) | Software access method, device, equipment and storage medium | |
CA2800532C (en) | Method and apparatus for unlocking a mobile communication device | |
WO2019071927A1 (en) | Authorization information obtaining method and apparatus, electronic device, and readable storage medium | |
CN115879090A (en) | Account login method and device, electronic equipment and storage medium | |
KR100664148B1 (en) | Method for locking function in the portable terminal | |
JP5854070B2 (en) | Access control device, terminal device, and program |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220111 |
|
WW01 | Invention patent application withdrawn after publication |