CN114491547A - Method, device and system for clearing BIOS (basic input output System) password - Google Patents

Method, device and system for clearing BIOS (basic input output System) password Download PDF

Info

Publication number
CN114491547A
CN114491547A CN202111594269.3A CN202111594269A CN114491547A CN 114491547 A CN114491547 A CN 114491547A CN 202111594269 A CN202111594269 A CN 202111594269A CN 114491547 A CN114491547 A CN 114491547A
Authority
CN
China
Prior art keywords
time
current
bios
password
real
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
Application number
CN202111594269.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.)
Inspur Shandong Computer Technology Co Ltd
Original Assignee
Inspur Shandong Computer 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 Inspur Shandong Computer Technology Co Ltd filed Critical Inspur Shandong Computer Technology Co Ltd
Priority to CN202111594269.3A priority Critical patent/CN114491547A/en
Publication of CN114491547A publication Critical patent/CN114491547A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Storage Device Security (AREA)

Abstract

The application discloses a method, a device and a system for clearing BIOS passwords, which comprises the steps of obtaining the current real-time clock time of a BIOS system, judging whether the obtained real-time clock time is the default time of the system, and clearing the current user name and the current passwords if the obtained real-time clock time is the default time of the system, wherein the default time of the system is the time obtained by the BIOS when the power supply is reconnected after discharging. Therefore, according to the technical scheme provided by the invention, the current real-time clock time of the BIOS system is obtained, whether the current real-time clock time is the default time of the system is judged, if the current real-time clock time is the default time of the system, the current user name and the current password can be cleared, the BIOS chip does not need to be taken down from the mainboard when the default time of the system is obtained, a user only needs to take down the battery of the mainboard for discharging and then reinstall the battery, the damage of the BIOS chip caused by welding after the BIOS chip is taken down for rewriting is avoided, and the efficiency of maintaining the BIOS system by the user is improved.

Description

Method, device and system for clearing BIOS (basic input output System) password
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, and a system for clearing a BIOS password.
Background
In order to improve the security of the server, an administrator password is generally set in a BIOS setting function (Setup), and a preset password needs to be Input to start the System to enter the BIOS Setup and the BIOS System, thereby ensuring the security of the System.
When a user forgets a preset password, the user can re-enter the BIOS Setup and the BIOS system only by clearing the preset password, at present, the user clears the preset password of the BIOS Setup, the BIOS chip on the host needs to be detached, and the BIOS chip is welded back after re-burning, so that the user is very troublesome to operate, and the BIOS chip is damaged by repeated detachment and welding.
Therefore, the technical staff in the field needs to solve the problem of how to avoid the complicated operation of detaching the BIOS chip to clear the BIOS Setup password, reduce the damage of the BIOS chip, and improve the efficiency of maintaining the BIOS system by the user.
Disclosure of Invention
The method, the device and the system for clearing the BIOS password are characterized in that the current real-time clock time of a BIOS system is obtained, whether the current real-time clock time is the default time of the system is judged, if the current real-time clock time is the default time of the system, the current password and the current user name of the BIOS system are cleared, the default time of the system is the time obtained by reconnecting a power supply after the BIOS discharges, the time can be obtained by disassembling and installing a battery by a user, the BIOS does not need to be taken down from a mainboard, and the BIOS maintenance efficiency is improved.
To solve the above technical problem, the present application provides a method for clearing a BIOS password, including:
acquiring the current real-time clock time;
judging whether the real-time clock time is system default time or not, and if the real-time clock time is the system default time, clearing the current user name and the current password; and the default time of the system is the time obtained by switching on the power supply again after the BIOS discharges.
Preferably, before the determining whether the real-time clock time is the system default time, the method further includes:
and judging whether the current real-time clock time is illegal time, controlling the current real-time clock time to be rewritten into the default time of the system if the current real-time clock time is illegal time, and normally starting the BIOS system if the current real-time clock time is legal time.
Preferably, before the obtaining the current real-time clock time, the method further comprises:
and judging whether the input current password and/or the current user name are wrong, and if so, entering the step of acquiring the current real-time clock time.
Preferably, if the current password and/or current user name are input in error, the method further comprises the following steps:
and judging whether the input times of the current password and the current user name reach preset times or not, if so, entering the step of acquiring the current real-time clock time, and if not, entering the step of judging whether the input current password and/or the current user name are wrong.
Preferably, if the current password and/or current user name are input in error, the method further comprises the following steps:
and prompting the user to re-input the current user name and/or the current password.
Preferably, the legal time is a time within a preset time interval.
Preferably, after clearing the current user name and the current password, the method further comprises:
the user is prompted to re-enter a new username and/or password.
In order to solve the above technical problem, the present application further provides a device for clearing a BIOS password, including:
the acquisition module is used for acquiring the current real-time clock time;
and the judging module is used for judging whether the real-time clock time is the system default time or not, and clearing the current corresponding username of the administrator and the administrator password if the real-time clock time is the system default time.
In order to solve the above technical problem, the present application further provides a device for clearing a BIOS password, including a memory for storing a computer program;
a processor for implementing the steps of the method for BIOS password cleanup as described herein when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for BIOS password clearing as described above.
The method for clearing the BIOS password comprises the steps of obtaining the current real-time clock time of a BIOS system, judging whether the obtained real-time clock time is the default time of the system, and clearing the current user name and the current password of the BIOS Setup if the obtained real-time clock time is the default time of the system, wherein the default time of the system is the time obtained by re-accessing a power supply after the BIOS discharges. Therefore, according to the technical scheme provided by the invention, when a user forgets a set password, the BIOS chip does not need to be taken down and re-burned, the current user name and the current password of the BIOS Setup can be cleared by acquiring the current real-time clock time of the BIOS system and judging whether the current real-time clock time is the default time of the system, if the current real-time clock time is the default time of the system, the current user name and the current password of the BIOS Setup can be cleared, the BIOS chip does not need to be taken down from the mainboard when the default time of the system is acquired, and the user can obtain the current user name and the current password only by taking down the battery of the mainboard for discharging and then reinstalling the battery, so that the user can reset a new user name and a new password, further, the damage to the BIOS chip caused by welding and returning after the BIOS chip is taken down and re-burned is avoided, and the efficiency of maintaining the BIOS system by the user is improved.
In addition, the application also provides a device and a medium for clearing the BIOS password, which correspond to the method for clearing the BIOS password and have the same effects.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for 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 application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flowchart of a BIOS password clearing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a device for BIOS password clearing according to an embodiment of the present invention;
FIG. 3 is a block diagram of a device for BIOS password clearing according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a device and a system for clearing BIOS passwords to acquire the current real-time clock time, judge whether the current real-time is the system default time acquired by a BIOS user by taking down a battery of a mainboard to discharge the BIOS system and then reinstalling the battery, and clear the current user name and the current passwords if the current real-time is the system default time, so that the complex operation caused by welding the BIOS chip back to the mainboard after the BIOS chip is taken down from the mainboard and burned again is avoided, and the efficiency of maintaining the BIOS system is improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
When the BIOS system is used, information safety consideration is taken into account, a general user can set a user name and a password in a BIOS Setup to protect information safety, after the setting is completed, the user can enter the BIOS Setup and the BIOS system by inputting the password and the user name at first when the user starts up every time, when the user forgets the set password or the user name, the user can only detach a case to take down a BIOS chip for burning again at present, and then reinstalls the BIOS chip, the operation is very complicated, the BIOS chip is directly welded on a mainboard, and the mainboard (rework) needs to be processed after detaching and burning, so that the user can not operate by himself, the maintenance is required by professional personnel, and the mainboard can only be replaced for the user under normal conditions. In addition, if the BIOS chip is repeatedly disassembled and welded, the BIOS chip is damaged, and the service life of the BIOS chip is influenced.
In addition to burning the BIOS chip again, the method of removing the COMS (clear COMS) information by hardware cap-skipping can be used to remove the username and the password set in the BIOS Setup, however, hardware such as a desktop of a godson platform does not have a reserved interface and does not support hardware cap-skipping COMS information, and therefore, the username and the password can still only be removed by burning the BIOS again.
In order to avoid the complicated operation of detaching a BIOS chip to remove a BIOS Setup password, reduce the damage of the BIOS chip and improve the efficiency of maintaining a BIOS system by a user, the embodiment of the invention provides a BIOS password removing method.
Fig. 1 is a flowchart of a method for clearing a BIOS password according to an embodiment of the present invention, as shown in fig. 1, the method includes:
s10: and acquiring the current real-time clock time.
In a specific embodiment, the step S10 may obtain the current real-time clock time each time the BIOS system is started, or may obtain the current real-time clock time when the user starts the BIOS system and inputs a user name and a password with errors, which is not limited in the present invention. Of course, in order to save resources, it is preferable to acquire the current real-time clock time when the user name and password input by the user are wrong. In order to avoid that the user inputs the user name or the password by mistake, the current real-time clock time is obtained by triggering when the user forgets the user name or the password, and the current real-time clock time can be obtained after the user inputs the user name or the password by mistake reaches the preset number.
S11: judging whether the real-time clock time is the default time of the system, and if so, clearing the current user name and the current password; the system default time is the time obtained by switching in the power supply again after the BIOS discharges.
After the current real-time clock is obtained in step S10, it is determined whether the current real-time clock is the default time of the system, and if the current real-time clock is the default time of the system, the current user name and the current password in the BIOS Setup are cleared, where the default time of the system is the time obtained by reconnecting the BIOS after discharging, that is, the default time of the system may be the time obtained by removing the battery on the motherboard by the user so that the BIOS is installed and retrieved after discharging, and the user does not need to remove the BIOS chip and re-burn the BIOS chip to clear the current user name and the current password in the BIOS Setup.
It can be understood that, when the user takes down the battery on the motherboard to discharge the BIOS and then installs the BIOS to obtain the current real-time clock time, the obtained current real-time clock time is an illegal time, that is, the time is not a time within a time range preset by the user, and after the system determines that the obtained current real-time clock time is the illegal time, the real-time clock time is rewritten to the default time of the system, so that the user obtains the default time of the system by detaching and installing the battery.
In specific implementation, when a user forgets a user name or a password set by the user, the battery on the mainboard can be taken down to discharge the BIOS, the battery is installed back after the BIOS discharge is completed, the obtained current real-time clock time is illegal, the system rewrites the real-time clock time to the system default time, namely when the current real-time clock time is the system default time, the BIOS system can be determined to need to clear the current user name and the current password. After the user removes the current user name and the current password of the BIOS Setup by detaching and installing the battery, the system can prompt the user to reset the user name and the password.
It should be noted that the technical solution provided by the present invention is not only applicable to a hardware platform without a reserved interface, such as a loongson platform desktop, but also applicable to any platform, such as a server, a PC, a notebook, and an all-in-one machine.
The method for clearing the BIOS password comprises the steps of obtaining the current real-time clock time of a BIOS system, judging whether the obtained real-time clock time is the default time of the system, and clearing the current user name and the current password of the BIOS Setup if the obtained real-time clock time is the default time of the system, wherein the default time of the system is the time obtained by reconnecting a power supply after the BIOS discharges. Therefore, according to the technical scheme provided by the invention, when a user forgets a set password, the BIOS chip does not need to be taken down and re-burned, the current user name and the current password of the BIOS Setup can be cleared by acquiring the current real-time clock time of the BIOS system and judging whether the current real-time clock time is the default time of the system, if the current real-time clock time is the default time of the system, the current user name and the current password of the BIOS Setup can be cleared, the BIOS chip does not need to be taken down from the mainboard when the default time of the system is acquired, and the user can obtain the current user name and the current password only by taking down the battery of the mainboard for discharging and then reinstalling the battery, so that the user can reset a new user name and a new password, further, the damage to the BIOS chip caused by welding and returning after the BIOS chip is taken down and re-burned is avoided, and the efficiency of maintaining the BIOS system by the user is improved.
In a specific embodiment, after a user takes off a battery on a mainboard to discharge a BIOS, the battery is installed back, and at this time, the current real-time clock time acquired by the BIOS is not within a preset time range, that is, the current real-time clock time is determined to be illegal time, at this time, the system resets the real-time clock time to default time of the system, and after the current real-time clock time is determined to be the default time of the system, the current user name and the current password of the BIOS Setup are cleared. For ease of understanding, the following will be exemplified.
For example, the preset legal time range is 1 month and 1 day in 2000 to 2099 and 12 months and 31 days in 2000, wherein 1 month and 1 day in 2000 is the default time of the system, when the user detaches the battery and waits for the BIOS to be completely discharged and then installs the battery on the motherboard, the current real-time clock time acquired by the system is not within 1 month and 1 day in 2000 to 2099 and 12 months and 31 days in 12 years, that is, the current real-time clock time is determined to be illegal time, and the current real-time clock time is rewritten to 1 month and 1 day in 2000, that is, rewritten to the default time of the system. Therefore, after the system determines that the current real-time clock time is the default time of the system, the current user name and the password are cleared.
For the preset time interval, namely the legal time, the user can set the time interval by himself according to the preference, or the system can be updated regularly according to the current time. For example, the predetermined legal time range is from 1/month 1/year 2000 to 2099/year 12/month 31/year, and the legal time range may be updated to 1/month 1/year 2003 to 2102/month 12/month 31/year after 3 years, but the present invention is not limited thereto.
The method for clearing the BIOS password provided by the embodiment of the invention firstly judges whether the current real-time clock time is illegal or not between the judgment of whether the current real-time clock time is the default time of the system or not, rewrites the current real-time clock time to the default time of the system if the current real-time clock time is the illegal time, otherwise, normally starts the BIOS system, therefore, a user can achieve the purpose of obtaining the default time of the system by disassembling and installing a battery, namely, the purpose of clearing the current user name and the current password of the BIOS system is achieved by disassembling and installing the battery.
On the basis of the embodiment, in order to avoid resource waste caused by the fact that the user also acquires the current real-time clock time when remembering the user name and the password, before the current real-time clock time is acquired, whether the current password input by the user and/or the current user name are/is wrong is judged, if yes, it is determined that the user forgets the current user name and the current password, the current real-time clock time is immediately acquired, whether the current real-time clock time is the default time of the system is judged, and if the current real-time clock time is the default time of the system, the current user name and the password are removed.
Before judging whether the current real-time clock time is the default time of the system, the method for clearing the BIOS password firstly judges whether the current real-time clock time is illegal time, namely whether the currently acquired real-time clock time is the time within a preset time interval, and rewrites the current real-time clock time to the default time of the system if the current real-time clock time is the illegal time, so that the aim of clearing the current user and the password of the BIOS is fulfilled, the complex operation of taking down a BIOS chip from a mainboard and burning the BIOS chip again after installation is avoided, and the service life of the BIOS is prolonged.
On the basis of the above embodiment, considering that the user may input an incorrect user name or password by mistake, if the current real-time clock time is obtained once the user has input an incorrect user name or password, resource waste may be caused, and a bad experience may be brought to the user.
It should be noted that when the user inputs the wrong user name and password and the wrong times do not reach the preset times, the system prompts the user to re-input the current user name and password, when the wrong times reach the preset times, the system prompts the user that the input times reach the upper limit and then input after asking for the preset time, or prompts the user that the input times reach the upper limit and then reset the password. The present invention is not limited to the contents of the hint.
According to the BIOS password clearing method provided by the embodiment of the invention, when the number of times of error user name and/password input by a user reaches the preset number, the step of obtaining the current real-time clock time is carried out, so that whether the current real-time clock time is the default time of the system or not is judged, whether the current user name and the current password need to be cleared or not is determined, and if the input user name and the input password do not reach the preset number, the BIOS system is normally started without obtaining the current real-time clock time, so that unnecessary operation caused by obtaining the current real-time clock time when the user inputs the error time by mistake is avoided, the waste of data is caused, and the maintenance efficiency of the BIOS system is further improved.
In a specific embodiment, after completely discharging the BIOS by detaching the battery on the motherboard, the user installs the battery back to the motherboard, and the current real-time clock time obtained at this time is illegal time, that is, the current real-time clock time is not time within a preset time interval, and rewrites the current real-time clock time to system default time, and when it is determined that the current real-time clock time is the system default time, clears the current user name and the current password of the BIOS Setup. After clearing the current username and password, the system may prompt the user to reset the new password and username.
According to the method for clearing the BIOS password provided by the embodiment of the invention, when a user forgets the set password, the BIOS chip does not need to be taken down and burned again, the current user name and the current password of the BIOS Setup can be cleared if the current real-time clock time of the BIOS system is the system default time by acquiring the current real-time clock time of the BIOS system and judging whether the current real-time clock time is the system default time, and the BIOS chip does not need to be taken down from the mainboard if the current real-time clock time is the system default time, and the user can obtain the BIOS Setup only by taking down the battery of the mainboard for discharging and then reinstalling the battery, so that the user can reset a new user name and a new password.
In the above embodiments, the method for clearing the BIOS password is described in detail, and the present application also provides embodiments corresponding to the device for clearing the BIOS password. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is based on the functional module, and the other is based on the hardware structure.
Fig. 2 is a block diagram of a device for clearing BIOS passwords according to an embodiment of the present invention, as shown in fig. 2, the device includes:
and the obtaining module 10 is configured to obtain a current real-time clock time.
And the judging module 11 is configured to judge whether the real-time clock time is the system default time, and if the real-time clock time is the system default time, clear the current administrator account name and the administrator password.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The device for clearing the BIOS password comprises the steps of obtaining the current real-time clock time of the BIOS system, judging whether the obtained real-time clock time is the default time of the system, and clearing the current user name and the current password of the BIOS Setup if the obtained real-time clock time is the default time of the system, wherein the default time of the system is the time obtained by reconnecting a power supply after the BIOS discharges. Therefore, according to the technical scheme provided by the invention, when a user forgets a set password, the BIOS chip does not need to be taken down and re-burned, the current user name and the current password of the BIOS Setup can be cleared by acquiring the current real-time clock time of the BIOS system and judging whether the current real-time clock time is the default time of the system, if the current real-time clock time is the default time of the system, the current user name and the current password of the BIOS Setup can be cleared, the BIOS chip does not need to be taken down from the mainboard when the default time of the system is acquired, and the user can obtain the current user name and the current password only by taking down the battery of the mainboard for discharging and then reinstalling the battery, so that the user can reset a new user name and a new password, further, the damage to the BIOS chip caused by welding and returning after the BIOS chip is taken down and re-burned is avoided, and the efficiency of maintaining the BIOS system by the user is improved.
Fig. 3 is a block diagram of a device for BIOS password clearing according to another embodiment of the present invention, as shown in fig. 3, the device for BIOS password clearing includes: a memory 20 for storing a computer program;
the processor 21 is configured to implement the steps of the method for clearing BIOS passwords as mentioned in the above embodiments when executing the computer program.
The device for clearing the BIOS password provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (GPU), and the GPU is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the BIOS password clearing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, relevant data involved in methods of BIOS password cleanup, and the like.
In some embodiments, the device for clearing BIOS passwords may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 does not constitute a limitation on the means for BIOS password clearing and may include more or fewer components than those shown.
The device for clearing the BIOS password provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: BIOS password clearing method.
According to the device for clearing the BIOS password, provided by the embodiment of the invention, when a user forgets a set password, the BIOS chip does not need to be taken down for burning again, the current user name and the current password of the BIOS Setup can be cleared if the current real-time clock time of the BIOS system is acquired and is judged to be the default time of the system, and the BIOS chip does not need to be taken down from the mainboard if the current real-time clock time is the default time of the system, and the user can obtain the BIOS password only by taking down the battery of the mainboard for discharging and then reinstalling the battery, so that the user can reset a new user name and a new password, further the damage to the BIOS chip caused by welding after the BIOS chip is taken down for burning again is avoided, and the efficiency of maintaining the BIOS system by the user is improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, the device and the system for clearing the BIOS password provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
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 the process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for BIOS password cleanup, comprising:
acquiring the current real-time clock time;
judging whether the real-time clock time is system default time or not, and if the real-time clock time is the system default time, clearing the current user name and the current password; and the default time of the system is the time obtained by switching on the power supply again after the BIOS discharges.
2. The method of BIOS password cleanup of claim 1, further comprising, prior to said determining whether said real time clock time is a system default time:
and judging whether the current real-time clock time is illegal time, controlling the current real-time clock time to be rewritten into the default time of the system if the current real-time clock time is illegal time, and normally starting the BIOS system if the current real-time clock time is legal time.
3. The method of BIOS password cleanup of claim 1, further comprising, prior to said obtaining a current real time clock time:
and judging whether the input current password and/or the current user name are/is wrong, and if so, entering the step of acquiring the current real-time clock time.
4. The method of claim 3, wherein if the current password and/or the current user name are/is incorrect, further comprising:
and judging whether the input times of the current password and the current user name reach preset times or not, if so, entering the step of acquiring the current real-time clock time, and if not, entering the step of judging whether the input current password and/or the current user name are wrong.
5. The method of claim 3, wherein if the current password and/or the current user name are/is incorrect, further comprising:
and prompting the user to re-input the current user name and/or the current password.
6. The method of claim 1, wherein the valid time is a time within a predetermined time interval.
7. The method of BIOS password clearance of claim 1, further comprising after clearing the current username and current password:
the user is prompted to re-enter a new username and/or password.
8. An apparatus for BIOS password clearance, comprising:
the acquisition module is used for acquiring the current real-time clock time;
and the judging module is used for judging whether the real-time clock time is the system default time or not, and if the real-time clock time is the system default time, clearing the current administrator account name and the administrator password.
9. An apparatus for BIOS password clearance, comprising a memory for storing a computer program;
a processor for implementing the steps of the method of BIOS password clearance as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of BIOS password clearing as claimed in any one of claims 1 to 7.
CN202111594269.3A 2021-12-23 2021-12-23 Method, device and system for clearing BIOS (basic input output System) password Withdrawn CN114491547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111594269.3A CN114491547A (en) 2021-12-23 2021-12-23 Method, device and system for clearing BIOS (basic input output System) password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111594269.3A CN114491547A (en) 2021-12-23 2021-12-23 Method, device and system for clearing BIOS (basic input output System) password

Publications (1)

Publication Number Publication Date
CN114491547A true CN114491547A (en) 2022-05-13

Family

ID=81494663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111594269.3A Withdrawn CN114491547A (en) 2021-12-23 2021-12-23 Method, device and system for clearing BIOS (basic input output System) password

Country Status (1)

Country Link
CN (1) CN114491547A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085845A1 (en) * 2004-10-16 2006-04-20 International Business Machines Corp. Method and system for secure, one-time password override during password-protected system boot
CN104102886A (en) * 2014-07-09 2014-10-15 山东超越数控电子有限公司 EFI BIOS power-on password clearing method
US20160034676A1 (en) * 2014-07-30 2016-02-04 Wistron Corporation Electronic system, electronic device and method capable of erasing password from basic input/output system automatically
CN108280340A (en) * 2018-01-18 2018-07-13 郑州云海信息技术有限公司 A kind of system password sweep-out method, system, equipment and readable storage medium storing program for executing
WO2018216911A1 (en) * 2017-05-26 2018-11-29 김유빈 Password input system
CN111339525A (en) * 2020-02-28 2020-06-26 苏州浪潮智能科技有限公司 BIOS (basic input output System) starting password setting method, system and device
CN112163201A (en) * 2020-09-29 2021-01-01 江西江铃集团新能源汽车有限公司 User login management method and system, readable storage medium and electronic device
US20210365546A1 (en) * 2018-07-31 2021-11-25 Hewlett-Packard Development Company, L.P. Password updates

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085845A1 (en) * 2004-10-16 2006-04-20 International Business Machines Corp. Method and system for secure, one-time password override during password-protected system boot
CN104102886A (en) * 2014-07-09 2014-10-15 山东超越数控电子有限公司 EFI BIOS power-on password clearing method
US20160034676A1 (en) * 2014-07-30 2016-02-04 Wistron Corporation Electronic system, electronic device and method capable of erasing password from basic input/output system automatically
WO2018216911A1 (en) * 2017-05-26 2018-11-29 김유빈 Password input system
CN108280340A (en) * 2018-01-18 2018-07-13 郑州云海信息技术有限公司 A kind of system password sweep-out method, system, equipment and readable storage medium storing program for executing
US20210365546A1 (en) * 2018-07-31 2021-11-25 Hewlett-Packard Development Company, L.P. Password updates
CN111339525A (en) * 2020-02-28 2020-06-26 苏州浪潮智能科技有限公司 BIOS (basic input output System) starting password setting method, system and device
CN112163201A (en) * 2020-09-29 2021-01-01 江西江铃集团新能源汽车有限公司 User login management method and system, readable storage medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
_SLIENCE: "浅谈通过CMOS放电破解BIOS密码的原理", pages 1 - 2, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_41652128> *
NERDZWS: "清除bios密码", pages 1 - 3, Retrieved from the Internet <URL:https://blog.csdn.net/wyzxzws/article/details/84121311> *

Similar Documents

Publication Publication Date Title
US10866623B2 (en) Information handling system and method to detect and recover from no power/no post failures
KR101861724B1 (en) Selective power management for pre-boot firmware updates
CN106445580B (en) Method and device for upgrading BMC (baseboard management controller) out of band
CN110096314B (en) Interface initialization method, device, equipment and computer readable storage medium
CN106897093A (en) A kind of dispositions method and device of windows operating systems
US20140149644A1 (en) Electronic apparatus, method of updating firmware, and computer-readable recording medium
CN104461631B (en) A kind of system OTA upgrade methods and device
CN112083971B (en) Component processing method, device and storage medium
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN114640709A (en) Edge node processing method, device and medium
CN114491547A (en) Method, device and system for clearing BIOS (basic input output System) password
CN111309358A (en) CPLD (Complex programmable logic device) firmware upgrading method, device, equipment and readable storage medium
CN110134546B (en) Batch restarting windows system method, electronic device and storage medium
CN116841629A (en) Network card function configuration method, device and medium thereof
CN111783090A (en) Information processing method and device, equipment and storage medium
CN111381850A (en) BIOS firmware upgrading method, device, equipment and medium
CN111176958A (en) Information monitoring method, system and storage medium
CN115269021A (en) Operation processing method, device and medium for network card
CN114153507A (en) Control method and device and storage medium
Cisco Reimaging Instructions for SPE310 Cards on the Cisco ICS 7750 (Release 2.3.0)
CN113407943A (en) Server starting method, system and storage medium
CN113595762A (en) Network card configuration storage method and device
CN112231704A (en) Trusted network environment protection method, apparatus and computer readable storage medium
JP7518954B1 (en) Information processing device and control method
CN105302592A (en) Electronic system, electronic device and method capable of automatically clearing password

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: 20220513

WW01 Invention patent application withdrawn after publication