[go: up one dir, main page]

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 OR CALCULATING; 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 OR CALCULATING; 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 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/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 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/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

一种BIOS密码清除的方法、装置及系统Method, device and system for clearing BIOS password

技术领域technical field

本申请涉及计算机领域,特别是涉及一种BIOS密码清除的方法、装置及系统。The present application relates to the field of computers, and in particular, to a method, device and system for clearing a BIOS password.

背景技术Background technique

基本输入输出系统(Basic Input and Output System,简称BIOS)是服务器系统中保存着基本输入输出的程序,开机后的自检程序以及系统自动启动程序的重要系统,为了提高服务器的安全性,一般会在BIOS设置功能(Setup)中设置管理员密码,启动系统时需要输入预先设置的密码才能进入BIOS Setup和BIOS系统,从而保证了系统的安全性。The Basic Input and Output System (BIOS) is an important system that stores the basic input and output program in the server system, the self-check program after booting and the system automatically starts the program. In order to improve the security of the server, generally The administrator password is set in the BIOS setup function (Setup), and the preset password needs to be entered to enter the BIOS Setup and the BIOS system when starting the system, thereby ensuring the security of the system.

当用户忘记预先设置的密码时,需要清除之前预先设置的密码才能重新进入BIOSSetup和BIOS系统,目前,清除BIOS Setup预先设置的密码,需要将主机上的BIOS芯片拆卸下来,重新烧录后再将BIOS芯片焊接回去,用户操作起来非常麻烦,且反复拆卸和焊接可能对BIOS芯片造成损伤,此外,将BIOS芯片拆卸下来后需要对主板重新加工(rework),所以,维护BIOS系统给用户带来了极大的麻烦。When the user forgets the pre-set password, he needs to clear the pre-set password before re-entering the BIOS Setup and BIOS system. At present, to clear the pre-set password in the BIOS Setup, the BIOS chip on the host needs to be removed, and the BIOS chip needs to be removed after re-burning. Soldering the BIOS chip back is very troublesome for users to operate, and repeated disassembly and welding may cause damage to the BIOS chip. In addition, the motherboard needs to be reworked after the BIOS chip is removed. Therefore, maintaining the BIOS system brings users a great trouble.

由此可见,如何避免拆卸BIOS芯片以清除BIOS Setup密码的复杂操作,减少BIOS芯片的损伤,提高用户维护BIOS系统的效率,是本领域技术人员亟待解决的问题。It can be seen that how to avoid the complex operation of removing the BIOS chip to clear the BIOS Setup password, reduce damage to the BIOS chip, and improve the efficiency of the user in maintaining the BIOS system is an urgent problem to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本申请的目的是提供一种BIOS密码清除的方法、装置及系统,通过获取BIOS系统的当前实时时钟时间,并判断该当前实时时钟时间是否为系统默认时间,若为系统默认时间,则将BIOS系统的当前密码和当前用户名清除,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间,而该时间可由用户拆卸以及安装电池获得,无需将BIOS从主板上取下,进而提高了维护BIOS的效率。The purpose of this application is to provide a method, device and system for clearing BIOS password, by obtaining the current real-time clock time of the BIOS system, and judging whether the current real-time clock time is the system default time, if it is the system default time, then the BIOS The current password and current user name of the system are cleared. The default time of the system is the time obtained by reconnecting the power supply after the BIOS is discharged, and this time can be obtained by the user removing and installing the battery without removing the BIOS from the motherboard, thereby improving the performance of the system. to maintain the efficiency of the BIOS.

为解决上述技术问题,本申请提供一种BIOS密码清除的方法,包括:In order to solve the above-mentioned technical problems, the present application provides a method for clearing a BIOS password, including:

获取当前实时时钟时间;Get the current real-time clock time;

判断所述实时时钟时间是否为系统默认时间,若为系统默认时间,则清除当前用户名和当前密码;其中,所述系统默认时间为BIOS放电后重新接入电源所获得的时间。Determine whether the real-time clock time is the system default time, and if it is the system default time, clear the current user name and current password; wherein, the system default time is the time obtained by reconnecting the power supply after the BIOS is discharged.

优选地,在所述判断所述实时时钟时间是否为系统默认时间之前还包括:Preferably, before judging whether the real-time clock time is the system default time, the method further includes:

判断所述当前实时时钟时间是否为非法时间,若为非法时间,则控制所述当前实时时钟时间重写为所述系统默认时间,若为合法时间,则正常启动BIOS系统。It is judged whether the current real-time clock time is illegal time, and if it is illegal time, the current real-time clock time is controlled to be rewritten as the system default time, and if it is legal time, the BIOS system is normally started.

优选地,在所述获取当前实时时钟时间之前还包括:Preferably, before the acquisition of the current real-time clock time, the method further includes:

判断输入的所述当前密码和/或所述当前用户名是否错误,若错误,则进入所述获取当前实时时钟时间的步骤。It is judged whether the inputted current password and/or the current user name is wrong, and if it is wrong, the step of obtaining the current real-time clock time is entered.

优选地,若输入的当前密码和/或当前用户名错误还包括:Preferably, if the entered current password and/or the current user name is incorrect, it also includes:

判断输入的所述当前密码和所述当前用户名的次数是否达到预设次数,若达到预设次数,则进入所述获取当前实时时钟时间的步骤,若未达到预设次数,则进入所述判断输入的当前密码和/或当前用户名是否错误的步骤。Determine whether the input times of the current password and the current user name have reached a preset number of times, and if so, enter the step of obtaining the current real-time clock time; The steps of determining whether the entered current password and/or current user name is incorrect.

优选地,若输入的当前密码和/或当前用户名错误还包括:Preferably, if the entered current password and/or the current user name is incorrect, it also includes:

提示用户重新输入所述当前用户名和/或所述当前密码。The user is prompted to re-enter the current username 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 includes:

提示用户重新输入新的用户名和/或密码。Prompt the user to re-enter a new username and/or password.

为了解决上述技术问题,本申请还提供了一种BIOS密码清除的装置,包括:In order to solve the above-mentioned technical problems, the present application also provides a device for clearing the BIOS password, including:

获取模块,用于获取当前实时时钟时间;The acquisition module is used to acquire the current real-time clock time;

判断模块,用于判断所述实时时钟时间是否为系统默认时间,若为系统默认时间,则清除当前管理员应户名和管理员密码。The judgment module is used for judging whether the real-time clock time is the system default time, and if it is the system default time, clearing the current administrator username and administrator password.

为了解决上述技术问题,本申请还提供了一种BIOS密码清除的装置,包括存储器,用于存储计算机程序;In order to solve the above-mentioned technical problems, the present application also provides a device for clearing a BIOS password, including a memory for storing a computer program;

处理器,用于执行所述计算机程序时实现如所述的BIOS密码清除的方法的步骤。The processor is configured to implement the steps of the method for clearing the BIOS password as described when executing the computer program.

为了解决上述技术问题,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如所述的BIOS密码清除的方法的步骤。In order to solve the above technical problems, the present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to realize the BIOS password clearing as described above. steps of the method.

本发明所提供的BIOS密码清除的方法,包括获取BIOS系统的当前实时时钟时间,判断获取的实时时钟时间是否为系统默认时间,若为系统默认时间,则清除BIOS Setup的当前用户名和当前密码,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间。由此可见,本发明提供的技术方案,当用户忘记设定的密码时,无需将BIOS芯片取下重新烧录,通过获取BIOS系统的当前实时时钟时间,并判断当前实时时钟时间是否为系统默认时间,若为系统默认时间,即可清除BIOS Setup的当前用户名和当前密码,而获取系统默认时间无需将BIOS芯片从主板上取下,用户只需要将主板的电池取下进行放电后重新安装电池即可获得,使得用户可以重新设置新的用户名和密码,进而避免了取下BIOS芯片重新烧录后焊接回去可能造成BIOS芯片的损坏,提高用户维护BIOS系统的效率。The method for clearing a BIOS password provided by the present invention includes acquiring the current real-time clock time of the BIOS system, judging whether the acquired real-time clock time is the system default time, and if it is the system default time, clearing the current user name and current password of the BIOS Setup, The default time of the system is the time obtained by reconnecting the power supply after the BIOS is discharged. It can be seen that, in the technical solution provided by the present invention, when the user forgets the set password, there is no need to remove the BIOS chip and re-program it. By obtaining the current real-time clock time of the BIOS system, it is judged whether the current real-time clock time is the system default. Time, if it is the system default time, the current user name and current password of the BIOS Setup can be cleared, and the BIOS chip does not need to be removed from the motherboard to obtain the system default time, the user only needs to remove the battery from the motherboard, discharge it, and then reinstall the battery It can be obtained, so that the user can reset a new user name and password, thereby avoiding the damage to the BIOS chip that may be caused by removing the BIOS chip and re-burning it and soldering it back, and improving the efficiency of the user to maintain the BIOS system.

此外,本申请还提供一种BIOS密码清除的装置及介质,与上述的BIOS密码清除的方法相对应,效果同上。In addition, the present application also provides a device and medium for clearing a BIOS password, which corresponds to the above-mentioned method for clearing a BIOS password, and has the same effect as above.

附图说明Description of drawings

为了更清楚地说明本申请实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to describe the embodiments of the present application more clearly, the following will briefly introduce the drawings that are used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, which are not relevant to ordinary skills in the art. As far as personnel are concerned, other drawings can also be obtained from these drawings on the premise of no creative work.

图1为本发明实施例所提供的一种BIOS密码清除的方法的流程图;1 is a flowchart of a method for clearing a BIOS password according to an embodiment of the present invention;

图2为本发明实施例所提供的一种BIOS密码清除的装置的结构图;2 is a structural diagram of a device for clearing a BIOS password according to an embodiment of the present invention;

图3为本发明另一实施例提供的BIOS密码清除的装置的结构图。FIG. 3 is a structural diagram of an apparatus for clearing a BIOS password provided by another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本申请保护范围。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. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative work fall within the protection scope of the present application.

本申请的核心是提供一种BIOS密码清除的方法、装置及系统获取当前的实时时钟时间,并判断该当前实时时间是否为BIOS用户通过将主板的电池取下对BIOS系统进行放电后再重新安装电池所获得的系统默认时间,若为系统默认时间,则将当前用户名和当前密码清除,避免了将BIOS芯片从主板上取下重新烧录后焊接回主板带来的复杂操作,提高维护BIOS系统的效率。The core of the present application is to provide a method, device and system for clearing a BIOS password to obtain the current real-time clock time, and to determine whether the current real-time time is for the BIOS user to discharge the BIOS system by removing the battery of the motherboard and then reinstall it. The system default time obtained by the battery, if it is the system default time, the current user name and current password will be cleared, which avoids the complicated operation caused by removing the BIOS chip from the motherboard and then soldering it back to the motherboard, improving the maintenance of the BIOS system. s efficiency.

为了使本技术领域的人员更好地理解本申请方案,下面结合附图和具体实施方式对本申请作进一步的详细说明。In order to make those skilled in the art better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

在使用BIOS系统时,处于信息安全考虑,一般用户都会在BIOS Setup中设置用户名和密码以保护信息安全,设置完成后,用户每次开机都需要先输入密码和用户名才能进入BIOS Setup和BIOS系统,当用户忘记设定的密码或用户名时,目前只能拆机箱取下BIOS芯片重新烧录,再重新安装回去,操作起来十分复杂,而且BIOS芯片直接焊在主板上,拆下来烧录需要重新加工(rework)主板,进而导致用户无法自行操作,需要专业人员进行维护,通常情况下只能给客户更换主板。此外,若反复拆卸和焊接BIOS芯片,回对BIOS芯片造成损伤,影响BIOS芯片的使用寿命。When using the BIOS system, for the sake of information security, the general user will set the user name and password in the BIOS Setup to protect the information security. After the setting is completed, the user needs to enter the password and user name every time to start the BIOS Setup and the BIOS system. , When the user forgets the set password or user name, currently he can only disassemble the chassis, remove the BIOS chip and re-program it, and then reinstall it back. The motherboard needs to be reworked, so that the user cannot operate it by himself, and professional maintenance is required. Usually, the motherboard can only be replaced for the customer. In addition, if the BIOS chip is repeatedly disassembled and welded, the BIOS chip will be damaged and the service life of the BIOS chip will be affected.

除了重新烧录BIOS芯片外,还可以采用硬件跳帽清除COMS(clear COMS)信息的方式实现清除BIOS Setup中设置的用户名和密码,然而,例如龙芯平台台式机这样的硬件没有预留接口,并不支持硬件跳帽clear COMS信息,因此,依旧只能通过重新烧录BIOS的方式来清除用户名和密码。In addition to re-burning the BIOS chip, the user name and password set in the BIOS Setup can also be cleared by using the hardware jump cap to clear the COMS (clear COMS) information. However, hardware such as the Loongson platform desktop does not have a reserved interface, and Hardware jump caps are not supported to clear COMS information. Therefore, the user name and password can only be cleared by re-burning the BIOS.

为了避免拆卸BIOS芯片以清除BIOS Setup密码的复杂操作,减少BIOS芯片的损伤,提高用户维护BIOS系统的效率,本发明实施例提供了一种BIOS密码清除的方法,通过获取系统的当前实时时钟时间,并判断该当前实时时钟时间是否为系统默认时间,若为系统默认时间,则BIOS清除BIOS Setup中的当前用户名和当前密码,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间,而该时间可以由用户将主板的电池取下进行放电后重新安装电池即可获得,无需将BIOS芯片拆卸下来重新烧录以实现清除当前用户名和当前密码的目的。In order to avoid the complicated operation of removing the BIOS chip to clear the BIOS Setup password, reduce the damage of the BIOS chip, and improve the efficiency of the user in maintaining the BIOS system, the embodiment of the present invention provides a method for clearing the BIOS password, by obtaining the current real-time clock time of the system. , and determine whether the current real-time clock time is the system default time. If it is the system default time, the BIOS will clear the current user name and current password in the BIOS Setup. The system default time is the time obtained by reconnecting the power supply after the BIOS is discharged. , and the time can be obtained by the user removing the battery of the motherboard and then re-installing the battery, without removing the BIOS chip and re-burning to achieve the purpose of clearing the current user name and current password.

图1为本发明实施例所提供的一种BIOS密码清除的方法的流程图,如图1所示,该方法包括:FIG. 1 is a flowchart of a method for clearing a BIOS password provided by an embodiment of the present invention. As shown in FIG. 1 , the method includes:

S10:获取当前实时时钟时间。S10: Obtain the current real-time clock time.

在具体实施例中,步骤S10获取当前实时时钟时间可以在每次启动BIOS系统时获取,也可以是用户启动BIOS系统并输入用户名和密码错误时获取,对此本发明不作限定。当然,为了节约资源,优选在用户输入的用户名和密码错误时获取当前实时时钟时间。为了避免用户错误输入用户名或密码,并非是用户忘记用户名或密码的情况下触发获取当前实时时钟时间,则可以在用户输入用户名或密码错误的次数达到预设次数之后进行获取当前实时时钟时间。In a specific embodiment, the current real-time clock time obtained in step S10 may be obtained each time the BIOS system is started, or obtained when the user starts the BIOS system and enters an incorrect user name and password, which is not limited in the present invention. Of course, in order to save resources, it is preferable to obtain the current real-time clock time when the user name and password input by the user are incorrect. In order to prevent the user from entering the wrong username or password, and it is not when the user forgets the username or password that triggers the acquisition of the current real-time clock time, the current real-time clock can be obtained after the user has entered the wrong username or password for a preset number of times. time.

S11:判断实时时钟时间是否为系统默认时间,若为系统默认时间,则清除当前用户名和当前密码;其中,系统默认时间为BIOS放电后重新接入电源所获得的时间。S11: Determine whether the real-time clock time is the system default time, and if it is the system default time, clear the current user name and current password; wherein, the system default time is the time obtained by reconnecting the power supply after the BIOS is discharged.

经步骤S10获取到当前实时时钟后,判断该当前实时时钟是否为系统的默认时间,若为系统默认时间,则清除BIOS Setup中的当前用户名和当前密码,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间,也就是说,系统默认时间可以是用户将主板上的电池取下使得BIOS放电后载安装回去获取,无需用户将BIOS芯片取下重新烧录实现清除BIOS Setup中的当前用户名和当前密码。After obtaining the current real-time clock in step S10, determine whether the current real-time clock is the default time of the system, if it is the default time of the system, then clear the current user name and the current password in the BIOS Setup, wherein, the default time of the system is to reset the time after the BIOS is discharged. The time obtained by connecting to the power supply, that is to say, the default time of the system can be obtained when the user removes the battery on the motherboard, discharges the BIOS, and then loads and installs it back. Current username and current password.

可以理解的是,当用户将主板上的电池取下使BIOS放电再安装获取后,获取的当前实时时钟时间为非法时间,即该时间不是用户预先设定的时间范围内的时间,此时系统确定获取的当前实时时钟时间为非法时间后,将该实时时钟时间重写至系统的默认时间,由此,用户通过拆卸和安装电池得到系统默认时间。It is understandable that when the user removes the battery on the motherboard to discharge the BIOS and then installs it, the current real-time clock time obtained is an illegal time, that is, the time is not within the time range preset by the user. At this time, the system After it is determined that the acquired current real-time clock time is 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 removing and installing the battery.

在具体实施中,当用户忘记自己设定的用户名或者密码时,可以将主板上的电池取下使得BIOS放电,当BIOS放电完成后将电池再安装回去,此时获取的当前实时时钟时间为非法时间,则系统将实时时钟时间重写至系统默认时间,即当当前实时时钟时间为系统默认时间时,即可确定BIOS系统需要清除当前用户名和当前密码。用户通过拆卸和安装电池实现清除BIOS Setup的当前用户名和当前密码后,系统可以提示用户重新设置用户名和密码。In the specific implementation, when the user forgets the user name or password set by himself, the battery on the motherboard can be removed to discharge the BIOS, and the battery is installed after the BIOS discharge is completed. The current real-time clock time obtained at this time is If the time is illegal, the system will rewrite the real-time clock time to the system default time, that is, when the current real-time clock time is the system default time, it can be determined that the BIOS system needs to clear the current user name and current password. After the user removes and installs the battery to clear the current user name and current password of the BIOS Setup, the system may prompt the user to reset the user name and password.

需要说明的是,本发明提供的技术方案,不仅适用于例如龙芯平台台式机这样没有预留接口的硬件平台,还是用于任何平台下的服务器,PC,笔记本,一体机等设备上。It should be noted that the technical solutions provided by the present invention are not only applicable to hardware platforms without reserved interfaces such as Loongson platform desktops, but also to servers, PCs, notebooks, all-in-one computers and other devices under any platform.

本发明实施例所提供的BIOS密码清除的方法,包括获取BIOS系统的当前实时时钟时间,判断获取的实时时钟时间是否为系统默认时间,若为系统默认时间,则清除BIOSSetup的当前用户名和当前密码,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间。由此可见,本发明提供的技术方案,当用户忘记设定的密码时,无需将BIOS芯片取下重新烧录,通过获取BIOS系统的当前实时时钟时间,并判断当前实时时钟时间是否为系统默认时间,若为系统默认时间,即可清除BIOS Setup的当前用户名和当前密码,而获取系统默认时间无需将BIOS芯片从主板上取下,用户只需要将主板的电池取下进行放电后重新安装电池即可获得,使得用户可以重新设置新的用户名和密码,进而避免了取下BIOS芯片重新烧录后焊接回去可能造成BIOS芯片的损坏,提高用户维护BIOS系统的效率。The method for clearing a BIOS password provided by the embodiment of the present invention includes acquiring the current real-time clock time of the BIOS system, judging whether the acquired real-time clock time is the system default time, and if it is the system default time, clearing the current user name and current password of the BIOSSetup , where the default time of the system is the time obtained by reconnecting the power supply after the BIOS is discharged. It can be seen that, in the technical solution provided by the present invention, when the user forgets the set password, there is no need to remove the BIOS chip and re-program it. By obtaining the current real-time clock time of the BIOS system, it is judged whether the current real-time clock time is the system default. Time, if it is the system default time, the current user name and current password of the BIOS Setup can be cleared, and the BIOS chip does not need to be removed from the motherboard to obtain the system default time, the user only needs to remove the battery from the motherboard, discharge it, and then reinstall the battery It can be obtained, so that the user can reset a new user name and password, thereby avoiding the damage to the BIOS chip that may be caused by removing the BIOS chip and re-burning it and soldering it back, and improving the efficiency of the user to maintain the BIOS system.

在具体实施例中,当用户将主板上的电池取下对BIOS进行放电后,再将电池安装回去,此时BIOS获取到的当前实时时钟时间不在预先设定的时间范围内,即确定当前实时时钟时间为非法时间,此时,系统将实时时钟时间重置为系统的默认时间,当确定当前实时时钟时间为系统默认时间后,则将BIOS Setup的当前用户名和当前密码清除。为了便于理解,下面将举例说明。In a specific embodiment, when the user removes the battery on the motherboard to discharge the BIOS, and then installs the battery back, the current real-time clock time obtained by the BIOS is not within the preset time range, that is, the current real-time clock is determined. The clock time is illegal. In this case, the system resets the real-time clock time to the system default time. After determining that the current real-time clock time is the system default time, the current user name and current password of the BIOS Setup are cleared. For ease of understanding, examples will be given below.

例如,预先设定的合法时间范围为2000年1月1日-2099年12月31日,其中,2000年1月1日为系统默认时间,当用户拆卸电池等待BIOS完全放电后再安装电池至主板上,此时系统获取的当前实时时钟时间不在2000年1月1日-2099年12月31日内,即可确定该当前实时时钟时间为非法时间,则将当前实时时钟时间重写为2000年1月1日,即重写为系统默认时间。由此,系统确定当前实时时钟时间为系统默认时间后,将当前用户名和密码清除。For example, the preset legal time range is from January 1, 2000 to December 31, 2099. Among them, January 1, 2000 is the default time of the system. When the user removes the battery and waits for the BIOS to fully discharge, the battery is installed until On the motherboard, if the current real-time clock time obtained by the system is not within the period from January 1, 2000 to December 31, 2099, it can be determined that the current real-time clock time is illegal, and the current real-time clock time is rewritten as 2000. January 1, that is, rewritten to the system default time. Thus, after the system determines that the current real-time clock time is the system default time, the current user name and password are cleared.

对于预先设定时间区间,即合法时间,用户可以依据喜好自行设定,也可以是系统依据当前时间定期更新。例如,预先设定的合法时间范围为2000年1月1日-2099年12月31日,可在3年后更新为2003年1月1日-2102年12月31日,对此,本发明不作限定。For the preset time interval, that is, the legal time, the user can set it according to their preferences, or the system can regularly update it according to the current time. For example, the preset legal time range is from January 1, 2000 to December 31, 2099, which can be updated to January 1, 2003 to December 31, 2102 after 3 years. Not limited.

本发明实施例所提供的BIOS密码清除的方法,在判断当前实时时钟时间是否为系统默认时间之间,先判断当前实时时钟时间是否为非法时间,若为非法时间,则将当前实时时钟时间重写为系统默认时间,否则,正常启动BIOS系统,由此,用户可以通过拆卸和安装电池来实现获取系统默认时间的目的,即通过拆卸和安装电池实现清除BIOS系统的当前用户名和当前密码的目的。In the method for clearing the BIOS password provided by the embodiment of the present invention, before judging whether the current real-time clock time is the system default time, it is first judged whether the current real-time clock time is an illegal time, and if it is an illegal time, the current real-time clock time is reset. Write it as the system default time, otherwise, start the BIOS system normally, thus, the user can achieve the purpose of obtaining the system default time by removing and installing the battery, that is, removing and installing the battery to achieve the purpose of clearing the current user name and current password of the BIOS system .

在上述实施例的基础上,为了避免用户记得用户名和密码时还获取当前实时时钟时间造成资源浪费,在获取当前实时时钟时间前,先判断用户输入的当前密码和/或当前用户名是否错误,若错误,则确定用户忘记当前用户名和当前密码,则立即获取当前实时时钟时间,并判断该当前实时时钟时间是否为系统默认时间,若为系统默认时间,则将当前用户名和密码清除。On the basis of the above embodiment, in order to avoid the waste of resources caused by obtaining the current real-time clock time when the user remembers the user name and password, before obtaining the current real-time clock time, first determine whether the current password and/or the current user name input by the user is wrong, If it is wrong, it is determined that the user has forgotten the current user name and current password, and the current real-time clock time is obtained immediately, and it is judged whether the current real-time clock time is the system default time. If it is the system default time, the current user name and password are cleared.

本发明实施例所提供的BIOS密码清除的方法,在判断当前实时时钟时间是否为系统默认时间之前,先判断当前实时时钟时间是否为非法时间,即当前获取的实时时钟时间是否为预先设定时间区间内的时间,若为非法时间,则将当前实时时钟时间重写至系统默认时间,从而实现清除BIOS当前用户和密码的目的,避免将BIOS芯片从主板上取下重新烧录在安装回去的复杂操作,提高BIOS的使用寿命。In the method for clearing the BIOS password provided by the embodiment of the present invention, before judging whether the current real-time clock time is the system default time, it first determines whether the current real-time clock time is an illegal time, that is, whether the currently acquired real-time clock time is a preset time If the time in the interval is illegal, the current real-time clock time will be rewritten to the system default time, so as to achieve the purpose of clearing the current user and password of the BIOS, and avoid removing the BIOS chip from the motherboard and re-burning it in the installed computer. Complex operation, improve the service life of BIOS.

在上述实施例的基础上,考虑到用户可能误输入错误的用户名或密码,若一旦输入错误就获取当前实时时钟时间,还是可能会造成资源的浪费,还会给用户带来不好的体验,因此,在判断用户输入的当前用户名和当前密码错误后,确定当前输入错误的次数是否达到预设次数,若达到预设次数,则进入获取当前实时时钟时间的步骤,然后判断获取的实时时钟时间是否为系统默认时间以便于确定是否需要清除当前用户名和当前密码。On the basis of the above embodiment, considering that the user may enter the wrong username or password by mistake, if the current real-time clock time is obtained once the wrong input is made, it may cause a waste of resources and bring a bad experience to the user. , therefore, after judging that the current user name and the current password input by the user are incorrect, determine whether the number of current input errors reaches the preset number of times, and if it reaches the preset number of times, enter the step of acquiring the current real-time clock time, and then determine the acquired real-time clock time Whether the time is the system default time to determine whether the current user name and current password need to be cleared.

值得注意的是,当用户输入错误的用户名和密码,且错误的次数未达到预设次数时,系统提示用户重新输入当前用户名和密码,当错误次数达到预设次数时,系统提示用户输入次数达到上限,请再预设时间后再进行输入,或者提示用户输入次数达到上限,请重置密码。对于提示内容本发明不作限定。It is worth noting that when the user enters the wrong username and password, and the number of errors has not reached the preset number of times, the system prompts the user to re-enter the current user name and password. When the number of errors reaches the preset number of times, the system prompts the user to enter the number of times. The upper limit, please enter after a preset time, or prompt the user to enter the upper limit, please reset the password. The present invention does not limit the content of the reminder.

本发明实施例所提供的BIOS密码清除的方法,当用户输入的用户名和/密码错误的次数达到预设次数时,进入获取当前实时时钟时间的步骤,以便于判断当前实时时钟时间是否为系统默认时间,从而确定是否需要清除当前用户名和当前密码,若输入的用户名和密码没有达到预设次数时,无需获取当前实时时钟时间,正常启动BIOS系统即可,由此避免用户误输入错误时间时获取当前实时时钟时间造成的不必要操作,导致资料浪费,进而提高了BIOS系统的维护效率。In the method for clearing the BIOS password provided by the embodiment of the present invention, when the number of incorrect user names and/or passwords entered by the user reaches a preset number of times, the step of obtaining the current real-time clock time is entered, so as to determine whether the current real-time clock time is the system default time, so as to determine whether the current user name and current password need to be cleared. If the entered user name and password do not reach the preset number of times, there is no need to obtain the current real-time clock time, and the BIOS system can be started normally. Unnecessary operations caused by the current real-time clock time lead to waste of data, thereby improving the maintenance efficiency of the BIOS system.

在具体实施例中,用户通过将主板上的电池拆卸下来对BIOS进行完全放电后,再将电池安装回主板,此时获取的当前实时时钟时间为非法时间,即当前实时时钟时间不是预先设定的时间区间内的时间,则将当前实时时钟时间重写为系统默认时间,当确定当前实时时钟时间为系统默认时间后,清除BIOS Setup的当前用户名和当前密码。在清除当前用户名和密码后,系统可以提示用户重新设置新的密码和用户名。In a specific embodiment, after the user removes the battery on the motherboard to fully discharge the BIOS, and then installs the battery back to the motherboard, the current real-time clock time obtained at this time is an illegal time, that is, the current real-time clock time is not preset. If the current real-time clock time is within the time interval, the current real-time clock time will be rewritten as the system default time. When the current real-time clock time is determined to be the system default time, the current user name and current password of the BIOS Setup will be cleared. After clearing the current user name and password, the system can prompt the user to reset a new password and user name.

本发明实施例所提供的BIOS密码清除的方法,当用户忘记设定的密码时,无需将BIOS芯片取下重新烧录,通过获取BIOS系统的当前实时时钟时间,并判断当前实时时钟时间是否为系统默认时间,若为系统默认时间,即可清除BIOS Setup的当前用户名和当前密码,而获取系统默认时间无需将BIOS芯片从主板上取下,用户只需要将主板的电池取下进行放电后重新安装电池即可获得,使得用户可以重新设置新的用户名和密码。In the method for clearing the BIOS password provided by the embodiment of the present invention, when the user forgets the set password, there is no need to remove the BIOS chip and re-program it. By obtaining the current real-time clock time of the BIOS system, it is judged whether the current real-time clock time is The system default time, if it is the system default time, the current user name and current password of the BIOS Setup can be cleared, and the BIOS chip does not need to be removed from the motherboard to obtain the system default time. Available with a battery installed, allowing the user to reset a new username and password.

在上述实施例中,对于BIOS密码清除的方法进行了详细描述,本申请还提供BIOS密码清除的装置对应的实施例。需要说明的是,本申请从两个角度对装置部分的实施例进行描述,一种是基于功能模块的角度,另一种是基于硬件结构的角度。In the above embodiments, the method for clearing the BIOS password is described in detail, and the present application also provides an embodiment corresponding to the device for clearing the BIOS password. It should be noted that this application describes the embodiments of the device part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware structure.

图2为本发明实施例所提供的一种BIOS密码清除的装置的结构图,如图2所示,该装置包括:FIG. 2 is a structural diagram of a device for clearing a BIOS password provided by an embodiment of the present invention. As shown in FIG. 2 , the device includes:

获取模块10,用于获取当前实时时钟时间。The obtaining module 10 is used for obtaining the current real-time clock time.

判断模块11,用于判断实时时钟时间是否为系统默认时间,若为系统默认时间,则清除当前管理员应户名和管理员密码。The judging module 11 is used for judging whether the real-time clock time is the system default time, and if it is the system default time, clearing the current administrator username and administrator password.

由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的实施例请参见方法部分的实施例的描述,这里暂不赘述。Since the embodiment of the apparatus part corresponds to the embodiment of the method part, for the embodiment of the apparatus part, please refer to the description of the embodiment of the method part, which will not be repeated here.

本发明实施例所提供的BIOS密码清除的装置,包括获取BIOS系统的当前实时时钟时间,判断获取的实时时钟时间是否为系统默认时间,若为系统默认时间,则清除BIOSSetup的当前用户名和当前密码,其中,系统默认时间为BIOS放电后重新接入电源所获得的时间。由此可见,本发明提供的技术方案,当用户忘记设定的密码时,无需将BIOS芯片取下重新烧录,通过获取BIOS系统的当前实时时钟时间,并判断当前实时时钟时间是否为系统默认时间,若为系统默认时间,即可清除BIOS Setup的当前用户名和当前密码,而获取系统默认时间无需将BIOS芯片从主板上取下,用户只需要将主板的电池取下进行放电后重新安装电池即可获得,使得用户可以重新设置新的用户名和密码,进而避免了取下BIOS芯片重新烧录后焊接回去可能造成BIOS芯片的损坏,提高用户维护BIOS系统的效率。The device for clearing the BIOS password provided by the embodiment of the present invention includes acquiring the current real-time clock time of the BIOS system, judging whether the acquired real-time clock time is the system default time, and if it is the system default time, clearing the current user name and current password of the BIOSSetup , where the default time of the system is the time obtained by reconnecting the power supply after the BIOS is discharged. It can be seen that, in the technical solution provided by the present invention, when the user forgets the set password, there is no need to remove the BIOS chip and re-program it. By obtaining the current real-time clock time of the BIOS system, it is judged whether the current real-time clock time is the system default. Time, if it is the system default time, the current user name and current password of the BIOS Setup can be cleared, and the BIOS chip does not need to be removed from the motherboard to obtain the system default time, the user only needs to remove the battery from the motherboard, discharge it, and then reinstall the battery It can be obtained, so that the user can reset a new user name and password, thereby avoiding the damage to the BIOS chip that may be caused by removing the BIOS chip and re-burning it and soldering it back, and improving the efficiency of the user to maintain the BIOS system.

图3为本发明另一实施例提供的BIOS密码清除的装置的结构图,如图3所示,BIOS密码清除的装置包括:存储器20,用于存储计算机程序;3 is a structural diagram of a device for clearing a BIOS password provided by another embodiment of the present invention. As shown in FIG. 3 , the device for clearing a BIOS password includes: a memory 20 for storing computer programs;

处理器21,用于执行计算机程序时实现如上述实施例所提到的BIOS密码清除的方法的步骤。The processor 21 is configured to implement the steps of the method for clearing the BIOS password as mentioned in the above embodiments when executing the computer program.

本实施例提供的BIOS密码清除的装置可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。The apparatus 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.

其中,处理器21可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器21可以采用数字信号处理器(Digital Signal Processor,简称DSP)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)、可编程逻辑阵列(ProgrammableLogic Array,简称PLA)中的至少一种硬件形式来实现。处理器21也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,简称CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器21可以在集成有图像处理器(GraphicsProcessing Unit,简称GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器21还可以包括人工智能(Artificial Intelligence,简称AI)处理器,该AI处理器用于处理有关机器学习的计算操作。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 use at least one of a digital signal processor (Digital Signal Processor, DSP for short), a Field-Programmable Gate Array (FPGA for short), and a Programmable Logic Array (Programmable Logic Array, PLA for short) implemented in hardware. The processor 21 may also include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state, also called a central processing unit (Central Processing Unit, CPU for short); a coprocessor It is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processor (Graphics Processing Unit, GPU for short), and the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 21 may further include an artificial intelligence (Artificial Intelligence, AI for short) processor, where the AI processor is used to process computing operations related to machine learning.

存储器20可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器20还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器20至少用于存储以下计算机程序201,其中,该计算机程序被处理器21加载并执行之后,能够实现前述任一实施例公开的BIOS密码清除的方法的相关步骤。另外,存储器20所存储的资源还可以包括操作系统202和数据203等,存储方式可以是短暂存储或者永久存储。其中,操作系统202可以包括Windows、Unix、Linux等。数据203可以包括但不限于BIOS密码清除的方法中所涉及的相关数据等。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 storage devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, the relevant steps of the method for clearing the BIOS password disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, etc., and the storage mode may be short-term storage or permanent storage. The operating system 202 may include Windows, Unix, Linux, and the like. The data 203 may include, but is not limited to, the related data involved in the method for clearing the BIOS password, and the like.

在一些实施例中,BIOS密码清除的装置还可包括有显示屏22、输入输出接口23、通信接口24、电源25以及通信总线26。In some embodiments, the device for clearing the BIOS password may further include a display screen 22 , an input/output interface 23 , a communication interface 24 , a power supply 25 and a communication bus 26 .

本领域技术人员可以理解,图3中示出的结构并不构成对BIOS密码清除的装置的限定,可以包括比图示更多或更少的组件。Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the device for clearing the BIOS password, and may include more or less components than those shown.

本申请实施例提供的BIOS密码清除的装置,包括存储器和处理器,处理器在执行存储器存储的程序时,能够实现如下方法:BIOS密码清除的方法。The device for clearing a BIOS password provided by an embodiment of the present application includes a memory and a processor. When the processor executes a program stored in the memory, the processor can implement the following method: a method for clearing a BIOS password.

本发明实施例所提供的BIOS密码清除的装置,当用户忘记设定的密码时,无需将BIOS芯片取下重新烧录,通过获取BIOS系统的当前实时时钟时间,并判断当前实时时钟时间是否为系统默认时间,若为系统默认时间,即可清除BIOS Setup的当前用户名和当前密码,而获取系统默认时间无需将BIOS芯片从主板上取下,用户只需要将主板的电池取下进行放电后重新安装电池即可获得,使得用户可以重新设置新的用户名和密码,进而避免了取下BIOS芯片重新烧录后焊接回去可能造成BIOS芯片的损坏,提高用户维护BIOS系统的效率。With the device for clearing the BIOS password provided by the embodiment of the present invention, when the user forgets the set password, there is no need to remove the BIOS chip and re-program it. By obtaining the current real-time clock time of the BIOS system, it is judged whether the current real-time clock time is The system default time, if it is the system default time, the current user name and current password of the BIOS Setup can be cleared, and the BIOS chip does not need to be removed from the motherboard to obtain the system default time. It can be obtained by installing the battery, so that the user can reset a new user name and password, thereby avoiding the damage to the BIOS chip that may be caused by removing the BIOS chip and re-programming it and soldering it back, and improving the efficiency of user maintenance of the BIOS system.

最后,本申请还提供一种计算机可读存储介质对应的实施例。计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述方法实施例中记载的步骤。Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps described in the foregoing method embodiments are implemented.

可以理解的是,如果上述实施例中的方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood that, if the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.

以上对本申请所提供的一种BIOS密码清除的方法、装置及系统进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The method, device and system for clearing a BIOS password provided by the present application have been described in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is no such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes 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 苏州浪潮智能科技有限公司 A BIOS boot 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 苏州浪潮智能科技有限公司 A BIOS boot 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
CN106201563B (en) Configuration method and device of starting parameters and method and device for starting mainboard
US8863109B2 (en) Updating secure pre-boot firmware in a computing system in real-time
CN106897093A (en) A kind of dispositions method and device of windows operating systems
CN111414285A (en) Test method, test device and test equipment for startup function of server system
CN117032813B (en) Switching judging method and device for flash memory of dual basic input/output system
CN111104271A (en) A kind of stability testing method, device and equipment for in-band firmware refresh process
US12292958B2 (en) Method for managing passwords for basic input/output system and baseboard management controller
CN111475186A (en) Firmware upgrading method, device, equipment and medium based on BMC
CN112506745B (en) Memory temperature reading method and device and computer readable storage medium
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN104572143A (en) Startup detection system and method for computer
CN114461286B (en) A server startup method, device, electronic equipment and readable storage medium
CN111522559A (en) Intelligent network card firmware refreshing method and device and computer readable storage medium
US20140365758A1 (en) Techniques for booting an information processing system
CN111399871B (en) System updating method, device, equipment and medium of HBA card
WO2022199335A1 (en) Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
WO2020113469A1 (en) Power on self test method, power on self test device and mobile terminal
CN114491547A (en) Method, device and system for clearing BIOS (basic input output System) password
CN111309358A (en) A kind of CPLD firmware upgrade method, apparatus, equipment and readable storage medium
CN114153388B (en) Hard disk system, hard disk configuration information refreshing method, device and medium
CN115114212B (en) VPD (virtual private digital) refreshing method, device, equipment and medium
CN114860611B (en) A BIOS upgrade test method, device and medium
TWI839136B (en) Firmware update method for downstream devices of bmc
CN111400093B (en) A kind of NVDIMM configuration method, configuration device and configuration equipment

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220513