The invention discloses a BIOS option modification method, which reads the option of BIOS file in advance under the shell and generates the option as the option file; stores the generated option file into the preset storage device; reads the option file from the preset storage device when the connection between the preset storage device and the current server is detected; and receives the corresponding value of the BIOS option in the option file. Modify the instructions to modify the corresponding values of BIOS options; upload the modified options file to BIOS to achieve the modification of BIOS options. After obtaining the option file generated by the pre-saved option, the BIOS option is modified by modifying the corresponding value of the option in the option file, avoiding the steps of searching the option according to the specific path of the option, thus realizing flexible and intuitive modification options, saving working time, and further improving the research and development speed and problem handling speed. In addition, the invention also provides a device, a device and a storage medium having the above technical effect.
【技术实现步骤摘要】
BIOS选项修改方法、装置、设备及存储介质
本专利技术涉及计算机
,特别是涉及一种BIOS选项修改方法、装置、设备及计算机可读存储介质。
技术介绍
BIOS(BasicInputOutputSystem,基础输入输出系统)是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序,它可从CMOS中读写系统设置的具体信息。其主要功能是为计算机提供最底层的、最直接的硬件设置和控制。此外,BIOS还向作业系统提供一些系统参数。系统硬件的变化是由BIOS隐藏,程序使用BIOS功能而不是直接控制硬件。现代作业系统会忽略BIOS提供的抽象层并直接控制硬件组件。现有技术中,BIOS选项修改是开机进入到BIOSSetup界面,进而找到想修改的选项所在的具体位置进行修改。而这种需要先找到具体选项才能进行修改的方式下,若对BIOS选项不熟悉,不了解选项的具体路径,查找过程会浪费较多的时间,并且若一次修改的选项过多,容易造成混乱,导致修改的效率不高。
技术实现思路
本专利技术的目的是提供一种BIOS选项修改方法,以解决现有BIOS选项修改时由于对选项不熟悉导致的时间浪费、效率低的问题。为解决上述技术问题,本专利技术提供一种BIOS选项修改方法,包括:预先在shell下读取BIOS文件的选项,将所述选项生成为选项文件;将生成的所述选项文件存储至预设存储设备中;当检测到所述预设存储设备与当前服务器建立连接时,从所述预设存储设备中读取选项文件;接收对所述选项文件中的BIOS选项对应的数值进行修改的指令,对所述BIOS选 ...
【技术保护点】
1.一种BIOS选项修改方法,应用于服务器,其特征在于,包括:预先在shell下读取BIOS文件的选项,将所述选项生成为选项文件;将生成的所述选项文件存储至预设存储设备中;当检测到所述预设存储设备与当前服务器建立连接时,从所述预设存储设备中读取选项文件;接收对所述选项文件中的BIOS选项对应的数值进行修改的指令,对所述BIOS选项对应的数值进行修改;将修改后的选项文件上载到BIOS中,实现对BIOS选项的修改。
【技术特征摘要】
1.一种BIOS选项修改方法,应用于服务器,其特征在于,包括:预先在shell下读取BIOS文件的选项,将所述选项生成为选项文件;将生成的所述选项文件存储至预设存储设备中;当检测到所述预设存储设备与当前服务器建立连接时,从所述预设存储设备中读取选项文件;接收对所述选项文件中的BIOS选项对应的数值进行修改的指令,对所述BIOS选项对应的数值进行修改;将修改后的选项文件上载到BIOS中,实现对BIOS选项的修改。2.如权利要求1所述的BIOS选项修改方法,其特征在于,所述预设存储设备为U盘或硬盘。3.如权利要求2所述的BIOS选项修改方法,其特征在于,所述选项文件为txt文件。4.如权利要求1至3任一项所述的BIOS选项修改方法,其特征在于,所述接收对所述选项文件中的BIOS选项对应的数值进行修改的指令,对所述BIOS选项对应的数值进行修改包括:接收输入的待修改选项信息;对所述选项文件进行搜索,根据所述待修改选项信息定位至所要修改的BIOS选项在所述选项文本中的位置;接收对所述BIOS选项对应的数值进行修改的指令,对所述BIOS选项对应的数值进行修改。5.一种BIOS选项修改装置,其特征在于,包括:文件存储模块,用于预先在shell下读取BIOS文件的选项,将所述选项生成为选项文件;将生成的所述选项文件存储至预设存储设备中;选项读取...
【专利技术属性】
技术研发人员:张曼曼,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。