CN111913751A - Method for changing basic input/output system setting - Google Patents

Method for changing basic input/output system setting Download PDF

Info

Publication number
CN111913751A
CN111913751A CN201910391569.8A CN201910391569A CN111913751A CN 111913751 A CN111913751 A CN 111913751A CN 201910391569 A CN201910391569 A CN 201910391569A CN 111913751 A CN111913751 A CN 111913751A
Authority
CN
China
Prior art keywords
name
page
current
computer device
target
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.)
Granted
Application number
CN201910391569.8A
Other languages
Chinese (zh)
Other versions
CN111913751B (en
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.)
Shencloud Technology Co Ltd
Shunda Computer Factory Co Ltd
Original Assignee
Shencloud Technology Co Ltd
Shunda Computer Factory 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 Shencloud Technology Co Ltd, Shunda Computer Factory Co Ltd filed Critical Shencloud Technology Co Ltd
Priority to CN201910391569.8A priority Critical patent/CN111913751B/en
Publication of CN111913751A publication Critical patent/CN111913751A/en
Application granted granted Critical
Publication of CN111913751B publication Critical patent/CN111913751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/4406Loading of operating system

Abstract

A method for changing BIOS setting is implemented by a control terminal and comprises the following steps: (A) obtaining a setting path according to a change request containing a target change option name and a target setting value; (B) after receiving serial data of a current setting screen related to a basic input/output system of a computer device, obtaining a current page name according to the serial data; (C) according to the current page name and the setting path, transmitting a control instruction to the computer device to enable the computer device to switch the basic input output system to a target page corresponding to the target page name of the setting path and move to a target change option corresponding to the target change option name; and (D) changing the setting value of the target change option to the target setting value.

Description

Method for changing basic input/output system setting
[ technical field ] A method for producing a semiconductor device
The present invention relates to a method for changing the setting of a bios running on a computer device, and more particularly, to a method for automatically changing the setting of a bios using a control terminal connected to the computer device.
[ background of the invention ]
The Basic Input/Output System (BIOS) is a program recorded On Flash ROM On a motherboard when the computer leaves a factory, and the BIOS is used to perform Self-detection (Power On Self Test) of each part of the System when the computer is powered On, and load a Power-On program (IPL) or an operating System stored in a main memory, which plays a role in communication between hardware and the operating System, and can set a System operating mode and related parameters of the hardware through a setting screen of the BIOS Setup program (BIOS Setup Utility).
Generally, if a user wants to change the BIOS setting of a computer device, the user usually needs to press a function Key (Hot Key) associated with entering the BIOS setup program to enter the computer device into a BIOS setup screen when the computer device is just started but does not enter the operating system, and then the BIOS setup screen is operated by the user's input to modify the BIOS setting to be modified. In order to change the BIOS setting, the user can modify the BIOS setting by connecting to the computer device through a remote control method, the existing remote control technologies include Console Redirection and Serial Over LAN (SOL), and the existing technologies can modify the BIOS setting through a Console Redirection or SOL, but these methods all allow the user to see a remote BIOS setting screen and manually operate the BIOS setting screen to modify the BIOS setting to be modified according to the seen BIOS setting screen, which is inconvenient. If the user wants to change the BIOS settings of multiple computer devices at a time, the user needs to connect to each computer device step by step through the remote control technology to perform manual modification, which is very complicated and time-consuming for the user, and is also prone to setting errors due to carelessness.
[ summary of the invention ]
The present invention provides a method for changing BIOS settings, which automatically changes the BIOS settings according to the user's modification requirements.
To solve the above technical problems, the method for changing bios settings of the present invention is adapted to change bios settings running on a computer device and implemented by a control terminal connected to the computer device, and the method for changing bios settings comprises the following steps:
(A) obtaining a setting path according to at least one setting related to a basic input output system and including a target change option name and a change request of a target setting value, wherein the setting path includes a target page name and the target change option name;
(B) after receiving serial data of a current setting screen of a basic input/output system related to the computer device, obtaining a current page name of a current page where the current setting screen stays at present according to the serial data;
(C) automatically transmitting a control command to the computer device according to the current page name and the setting path, so that the computer device switches the current page where the current setting screen of the basic input output system stays to a target page corresponding to the target page name, and moves the currently selected item currently selected by the current setting screen of the basic input output system to a target change option corresponding to the target change option name; and
(D) the setting value of the target change option is automatically changed to the target setting value.
Compared with the prior art, the invention judges the current page where the current setting picture stays at present by the control end, automatically transmits a control instruction to the computer device according to the current page name and the setting path, so that the computer device switches the current setting picture to the target page, moves the currently selected item selected by the basic input and output system to the target change option, and then changes the set value of the target change option to the target set value, thereby achieving the purpose of automatically changing the setting of the basic input and output system by the control end.
[ description of the drawings ]
Other features and effects of the present invention will become apparent from the following detailed description of the embodiments with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram illustrating a system for implementing an embodiment of the method for changing BIOS settings of the present invention;
FIG. 2 is a flowchart illustrating a Bios setup window entering routine of the method of changing BIOS setup according to the present invention;
FIG. 3 is a diagram illustrating serial data of a diagnostic screen associated with power-on self-test of a computer device;
FIG. 4 is a flowchart illustrating how a control end obtains each function key name and its corresponding function presented in the diagnosis screen;
FIG. 5 is a flowchart illustrating a first embodiment of a method for changing BIOS settings according to the present invention;
FIG. 6 is a diagram illustrating serial data associated with a current setup screen of the BIOS of the computer device;
FIG. 7 is a flowchart illustrating the control details of the control end transmitting a control command to the computer device;
FIG. 8 is a flowchart illustrating a second embodiment of the modified Bios setup procedure according to an embodiment of the method of modifying BIOS setup of the present invention;
FIG. 9 is a flowchart illustrating the process of building a lookup table; and
FIG. 10 is a flowchart illustrating a process for building a location map.
[ detailed description ] embodiments
Referring to fig. 1, a system for implementing the method of changing bios settings of the present invention includes a computer device 1 operating a bios 11, and a control terminal 2 connected to the computer device 1. The method for changing BIOS setting of the present invention is suitable for changing the setting of the BIOS 11 running on the computer device 1.
The computer device 1 starts the command Redirection to continuously transmit serial data of a running screen, such as a current setting screen or a diagnosis screen for power on self-detection, etc., of the bios 11 of the computer device 1 to the control end 2, and the computer device 1 changes the setting of the bios 11 running on the computer device 1 according to an instruction from the control end 2 by means of a running control panel application (command application). Each serial data comprises a plurality of character strings and a plurality of handles corresponding to the character strings, and each handle comprises position information indicating the position of the corresponding character string in the running picture and color information indicating the color of the corresponding character string in the running picture. For example, ESC [ 5; 1HESC [ 1; 37; 47mm Memory Voltage represents that the Memory Voltage is displayed on the 5 th column, the 1 st line of the running picture, and the color of the Memory Voltage displayed on the running picture is a high-brightness gray-bottom white character, wherein the ESC [ 5; 1H is the location information of the handle, the first number 5 indicates being located in column 5, the second number 1 indicates being located in row 1, ESC [ 1; 37; 47m is the color information of the handle, 1; 37; 47 represents a high brightness white character with grey background.
The implementation of the computer device 1 and the control terminal 2 can be, for example, a desktop computer, a notebook computer or a server. In this embodiment, the control end 2 is connected to the computer device 1 through a patch cord from a USB interface to an RS232 interface to continuously receive serial data from the computer device 1, wherein the control end 2 is connected to the USB end of the patch cord, and the computer device 1 is connected to the RS232 end of the patch cord, but not limited thereto. The control terminal 2 can automatically control the computer device 1 to change the setting of the BIOS 11 according to the received serial data and a change request set by a user, and the computer device 1 is controlled by the instruction from the control terminal 2 to change the setting of the BIOS 11. In addition, the control end 2 can be connected to a plurality of computer devices 1, so as to simultaneously change the setting of the BIOS 11 of each computer device 2; since the modification procedure of each computer device 2 is similar, only a single computer device 2 will be described in the following description.
The following describes an embodiment of the method for changing Bios setting according to the present invention implemented by the computer device 1 and the control end 2 with reference to the attached drawings, and the embodiment sequentially includes a Bios setting screen entering procedure and a Bios setting changing procedure. The control end 2 is used to execute an application program containing a plurality of instructions to implement the Bios setup screen entering procedure and change the Bios setup procedure in this embodiment.
Referring to fig. 1 and 2, before changing the setting of the Bios 11 of the computer device 1, the computer device 1 needs to enter a Bios setting screen, because the method for changing the Bios setting of the present invention intends to fully automatically control the computer device 1 to change the setting of the Bios 11 by the control end 1, the control end 1 will also automatically control the computer device 1 to enter the Bios setting screen, and the Bios setting screen entering program explains how the control end 1 enters the Bios setting screen into the computer device 1, and includes the following steps.
In step 21, the control terminal 2 receives serial data (i.e. serial data associated with each function key name 300, its corresponding function 301, and its position and color in the power-on self-test diagnosis screen) of the power-on self-test diagnosis screen of the computer device 1, and then obtains each function key name and its corresponding function presented in the diagnosis screen according to the serial data (see fig. 3).
It should be noted that, referring to fig. 1 and 4, step 21 includes the following sub-steps.
In sub-step 211, the control terminal 2 sends a data request related to the serial data of the computer device 1 to the computer device 1, so that the computer device 1 transmits the serial data related to the computer device 1 to the control terminal 2 in response to the data request.
In sub-step 212, the control terminal 2 determines whether the serial data is related to the diagnosis screen for power-on self-test of the computer device 1 after receiving the serial data in response to the data request. When the control terminal 2 determines that the serial data is related to the diagnostic screen of the power-on self-test of the computer device 1, the flow proceeds to sub-step 213; when the control terminal 2 determines that the serial data does not have a diagnostic screen related to the power-on self-test of the computer device 1, the flow proceeds to sub-step 214. In this embodiment, the control terminal 2 can determine whether the serial data is related to the diagnosis screen of the power-on self-test of the computer device 1 by determining whether the serial data includes a string such as Setup, BBS pop, and Boot from network, but not limited thereto.
In step 213, the control end 2 obtains each function key name and its corresponding function presented in the diagnosis screen according to the serial data. It should be noted that, in the present embodiment, the control end 2 utilizes a regular expression to compare out a character string related to the function corresponding to each function key name according to the serial data, so as to obtain the function corresponding to each function key name according to each character string. Wherein, the regular expression (regular expression) of the character string for comparing the function corresponding to each function key name is as follows:
(?<=’+HotKey+’>)[\s\w<>]+……………………………(1)
wherein, each function key name (i.e., HotKey) can be one of F1, F2, F3 …, F12, DEL, etc., for example. Each function key name and its corresponding function are shown in Table 1.
Function key name Function(s)
F2 Setup
F11 BBS POPUP
F12 Boot from network
In step 214, the control end 2 determines whether an interval between a current time and a sending time since the initial sending of the data request is greater than a predetermined time interval. When the control end 2 determines that the current time interval and the sending time interval are greater than the default time interval, the process proceeds to step 215; when the control end 2 determines that the current time interval and the sending time interval are not greater than the default time interval, the process proceeds to step 211 to send the data request to the computer device 1 again.
In step 215, the control end 2 transmits a reset command to the computer device 1 to restart the computer device 1, and returns to step 211.
Referring to fig. 1 and fig. 2, in step 22, the control end 2 identifies, from each obtained function key name and its corresponding function, that the corresponding function is the set function key name entered into the bios 11. In this embodiment, the control end 2 compares the function key name of the "Setup" string to identify the corresponding function as the set function key name entering the bios 11.
In step 23, the control terminal 2 transmits a control input related to the function key corresponding to the function key name identified in step 22 to the computer device 1 according to the function key name identified in step 22, so that the computer device 1 enters the bios configuration.
The modified Bios setup procedure illustrates how the setup of the Bios can be modified, and in practice, there are two embodiments of the modified Bios setup procedure. Referring to fig. 1 and 5, the first embodiment of the modified Bios setup procedure comprises the following steps.
In step 31, the control end 2 obtains a setting path according to a setting related to a bios 11 and including a target page name, a target modification option name and a modification request of a target setting value, wherein the setting path includes the target page name and the target modification option name. In this embodiment, the modification request is generated by the user performing an input operation using the control terminal 2, that is, the user assigns a target modification option name to be modified and a corresponding target page name and target setting value, and then the control terminal 2 automatically performs the modification Bios setup procedure; however, the change request may also be generated by an electronic device connected to the control terminal 2 via a communication network, such as a desktop computer, a notebook computer or a server, and then the electronic device transmits the change request to the control terminal 2 via the communication network, and the change request generated by the electronic device is also generated by a user performing an input operation using the electronic device, but not limited thereto. In addition, the change request disclosed in the present embodiment may be implemented by a testlink, and only one test case is illustrated (where the test case is composed of the target page name, the target change option name and the target setting value), however, in other embodiments of the present invention, the change request may also include a plurality of test cases, and each test case corresponds to different target page names, target change option names and target setting values, so as to change more than one Bios setting at a time.
In step 32, after the control end 2 receives another serial data (see fig. 6) related to a current setting screen of the bios 11 of the computer device 1, the control end 2 obtains a current page name of a current page where the current setting screen currently stays according to the another serial data. It should be noted that, in the embodiment, the control end 2 utilizes a regular expression to compare a character string associated with the current page according to the other serial data to obtain the current page name according to the character string, and the current page name 600 is "Main" in the example of fig. 6. The regular expression (regular expression) of the character string used for comparing the current page name 600 is as follows:
\x1b\[0;34;47m(.+)\x1b\[0;37;44m…………………(2)
since the current setting screen of the BIOS 11 of the computer device 1 will use blue-white with gray background to indicate the current page currently staying in the current setting screen, the current setting screen will be displayed with a current page name of the current page currently staying in the current setting screen, and therefore the display quality of the current page is improved according to the display quality of the current page displayed in the display screen at [ 0; 34; 47m the current page name is obtained from the character string after the handle representing the blue-on-grey word.
In step 33, the control end 2 transmits a control command to the computer device 1 according to the current page name and the setting path, so that the computer device 1 switches the current page on which the current setting screen of the bios 11 stays to a target page corresponding to the target page name, and moves the currently selected item currently selected on the current setting screen of the bios 11 to a target modification option corresponding to the target modification option name.
Referring to fig. 1 and 7, it is worth particularly describing that step 33 further includes the following sub-steps.
In sub-step 331, the control end 2 determines whether the current page name is the same as the target page name. When the control end 2 determines that the current page name is the same as the target page name, the process goes to substep 332; when the control end 2 determines that the current page name is different from the target page name, the flow proceeds to sub-step 336.
In sub-step 332, the control terminal 2 obtains a currently selected item name of a currently selected item currently selected by the current setting screen according to the another serial data associated with the current setting screen of the BIOS 11. It should be noted that, in the embodiment, the control end 2 compares a character string related to the currently selected item by using the regular expression according to the another serial data to obtain the name of the currently selected item according to the character string, and in the example of fig. 6, the name 601 of the currently selected item is "System Time". Wherein, the regular expression (regular expression) of the character string for comparing the currently selected item name is as follows:
\x1b\[1;37;47m(.+)\x1b\[0;34;47m……………….(3)
similarly, since the currently selected item name of the currently selected item currently selected by the currently set screen is indicated by a high-brightness gray-based white word on the currently set screen of the BIOS 11 of the computer device 1 to indicate the currently selected item currently selected by the currently set screen, the method is performed according to the method set forth in [ 1; 37; 47m the character string after the handle representing the high brightness gray-based white word can obtain the name of the currently selected item.
In sub-step 333, the control terminal 2 determines whether the currently selected item name is the same as the target modification item name. When the control end 2 determines that the currently selected item name is the same as the target modification option name, the current page on which the current setting screen of the bios 11 stays is the target page, and the currently selected current item on the current setting screen of the bios 11 is the target modification option, and the process continues to step 34; when the control end 2 determines that the currently selected item name is different from the target modification item name, the flow proceeds to sub-step 334.
In sub-step 334, the control terminal 2 transmits a switch option command to the computer device 1 to enable the computer device 1 to move the currently selected item selected by the currently set screen of the bios 11 to the next selected item.
In sub-step 335, after the control end 2 receives another serial data related to the current setting screen of the next selection item moved to by the bios 11, the control end 2 obtains the current selection item name of the currently selected item currently selected by the current setting screen of the next selection item according to the another serial data of the current setting screen of the next selection item moved to by the control end 2, and returns to step 333.
In sub-step 336, the control terminal 2 transmits a page switching command to the computer device 1, so that the computer device 1 switches the current page where the current setting screen of the bios 11 stays to the next page.
In sub-step 337, after the control end 2 receives another serial data related to the current setting screen of the bios 11 switched to the next page, the control end 2 obtains the current page name of a current page currently staying in the current setting screen switched to the next page according to the another serial data of the current setting screen switched to the next page, and returns to step 331. It should be noted that the page switching command and the option switching command together form the control command.
Referring to fig. 1 and fig. 5, in step 34, the control end 2 transmits a modification instruction including the target setting value to the computer device 1, so that the computer device 1 modifies the setting value of the target modification option to the target setting value.
Referring to fig. 1 and 8, the second embodiment of the modified Bios setup procedure is similar to the first embodiment, except that: in step 31 of the first embodiment, the target page name included in the setup path is directly obtained from the target page name in the change request; however, in the second embodiment, the control terminal 2 pre-stores a lookup table, which includes the page name of each page provided by the bios 11 and the corresponding selectable item name of the selectable item. In step 31' of the second embodiment, the control end 2 obtains the setting route according to the lookup table and the change request related to the setting of the bios 11 and including the target change option name and the target setting value. The control end 2 obtains the target page name corresponding to the target modification option name from the lookup table according to the target modification option name in the modification request (i.e. finding out the selectable item name with the same name as the target modification option name from the lookup table, and obtaining the page name corresponding to the selectable item name with the same name as the target page name), so as to obtain the target page name included in the setting path. Thus, the change request in the second embodiment does not need to include the target page name. Furthermore, in step 33 of the first embodiment, the control terminal 2 controls the computer device 1 to switch the stopped page step by step until the current page stopped on the current setting screen of the bios 11 is the target page, and controls the computer device 1 to switch the selected option step by step until the current selected item currently selected on the current setting screen of the bios 11 is the target change option; however, in the second embodiment, the control terminal 2 is pre-stored with a location map, and the location map includes the name of each page and its corresponding arrangement location, and the name of the selectable item corresponding to each page and its corresponding arrangement location. In step 33 'of the second embodiment, the control end 2 obtains a path plan for switching from the current page to the target page and the target modification option by using the location map according to the current page name and the setting path obtained in step 32', and transmits the control command to the computer device 1 according to the path plan, so that the computer device 1 switches the current page where the current setting screen of the bios 11 stays to the target page, and moves the currently selected item currently selected by the current setting screen of the bios 11 to the target modification option. Therefore, in the second embodiment, the control end 2 can accurately obtain the number of times of switching from the current page to the target page and the number of times of moving to the target change option according to the location map, thereby shortening the time of switching to the target page and moving to the target change option. It should be noted that other embodiments of the changing of the Bios setting procedure can be realized by matching steps 31 to 32, 34 of the first embodiment with step 33 'of the first embodiment, or by matching step 31' of the second embodiment with steps 32 to 34 of the first embodiment. In addition, the lookup table constructed by the construction process of the lookup table includes the page name of each page provided by the bios 11 and the selectable item name of the corresponding selectable item, and the location map constructed by the construction process of the location map includes the name of each page and its corresponding layout position, and the name of the selectable item corresponding to each page and its corresponding arrangement position. The location map includes the page name of each page and the corresponding selectable item name contained in the lookup table, and also includes the arrangement location corresponding to the name of each page and the arrangement location corresponding to the name of each selectable item. Therefore, if the control end 2 has the location map pre-stored, in step 31', the control end 2 can also directly obtain the setting path according to the location map and the setting related to the bios 11, and the change request including the target change option name and the target setting value, without obtaining the setting path according to the lookup table, and certainly without pre-storing and building the lookup table.
Referring to fig. 1 and 9, the process of building the lookup table will be described in detail, and the process of building the lookup table includes steps 41 to 46. It should be noted that the lookup table can be constructed from steps 41-46, or can be constructed manually, but not limited thereto. The lookup table created through steps 41-46 is available for step 31' of the second embodiment of the modified Bios setup procedure.
In step 41, after the control end 2 receives the serial data of another current setting screen related to the bios 11 of the computer device 1, the control end 2 obtains the current page name of another current page where the another current setting screen stays and the selectable item names of the selectable items according to the another serial data.
In step 42, the control end 2 stores the current page name obtained in step 41 and the corresponding selectable item names in the lookup table.
In step 43, the control end 2 transmits the page switching command to the computer device 1, so that the computer device 1 switches the other current page on which the other current setting screen of the bios 11 stays to the next page.
In step 44, after the control end 2 receives another serial data related to the current setting screen of the bios 11 of the computer device 1 switched to the next page (i.e. the page to which the bios 11 of the computer device 1 is switched in step 43), the control end 2 obtains the current page name of another current page currently staying in the current setting screen switched to the next page according to the another serial data, and determines whether the current page name is stored in the lookup table. When the control end 2 determines that the current page name is stored in the lookup table, the control end 2 determines that the lookup table is built completely, and the process is finished; when the control end 2 determines that the current page name is not stored in the lookup table, the process proceeds to step 45.
In step 45, the control end 2 obtains the current page name of the current page where the current setting screen switched to the next page currently stays and the selectable item names of the selectable items corresponding to the current page name according to the serial data.
In step 46, the control end 2 stores the current page name obtained in step 45 and the corresponding selectable item names in the lookup table, and returns to step 43.
Referring to fig. 1 and 10, the process of building the location map will be described in detail, and the process of building the location map includes steps 51 to 56. It should be noted that the location map can be constructed from steps 51-56, or can be constructed manually, but not limited thereto. The location map created through steps 51 to 56 is used in step 33' of the second embodiment of the modified Bios setup procedure.
In step 51, after the control end 2 receives serial data of another current setting screen related to the bios 11 of the computer device 1, the control end 2 obtains a current page name of another current page currently staying in the another current setting screen and selectable item names of a plurality of selectable items corresponding to the current page name according to the another serial data, and obtains an arrangement position of the page item corresponding to the another current page in the another current setting screen and an arrangement position of each selectable item in the another current setting screen. In this embodiment, the control end 2 obtains the layout position according to the handle of the character string corresponding to the current page name, and obtains the corresponding arrangement position according to the handle of the character string corresponding to each selectable item name.
In step 52, the control end 2 stores the current page name, the layout position, the selectable item names corresponding to the other current page, and the arrangement positions of the selectable items corresponding to the other current page obtained in step 51 in the location map.
In step 53, the control end 2 transmits the page switching command to the computer device 1, so that the computer device 1 switches the other current page on which the other current setting screen of the bios 11 stays to the next page.
In step 54, after the control end 2 receives another serial data related to the current setting screen of the bios 11 of the computer device 1 switched to the next page (i.e. the page to which the bios 11 of the computer device 1 is switched in step 53), the control end 2 obtains the current page name of another current page currently staying in the current setting screen switched to the next page according to the another serial data, and determines whether the current page name is stored in the location map. When the control end 2 determines that the current page name is stored in the position map, the control end 2 determines that the position map is built, and the process is finished; when the control end 2 determines that the current page name is not stored in the location map, the process goes to step 55.
In step 55, the control end 2 obtains the current page name of the current setting screen switched to the next page and the selectable item names of the selectable items corresponding to the current page name, and obtains the arrangement position of the page options corresponding to the current page in the current setting screen switched to the next page and the arrangement position of each selectable item in the current setting screen switched to the next page.
In step 56, the control end 2 stores the current page name, the layout position, the selectable item names corresponding to the further current page, and the arrangement positions of the selectable items corresponding to the further current page obtained in step 55 in the location map, and returns to step 53.
To sum up, the method for changing BIOS setting of the present invention is to transmit the control input to the computer device 1 according to the identified function key name for entering the BIOS 11 at the control end 2, so that after the computer device 1 enters the BIOS setting, the control end 2 determines the current page where the current setting screen currently stays, and automatically transmits a control command to the computer device 1 according to the current page name and the setting path, so that the computer device 1 switches the current setting screen to the target page, and moves the currently selected item of the BIOS 11 to the target change option, and then changes the setting value of the target change option to the target setting value, thereby achieving the effect of automatically changing the setting of the BIOS 11 by the control end 2, therefore, the object of the present invention can be achieved.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for changing BIOS settings, which is suitable for changing the BIOS settings running on a computer device and implemented by a control terminal connected to the computer device, is characterized in that the method for changing the BIOS settings comprises the following steps:
(A) obtaining a setting path according to at least one setting related to a basic input output system and including a target change option name and a change request of a target setting value, wherein the setting path includes a target page name and the target change option name;
(B) after receiving serial data of a current setting screen of a basic input/output system related to the computer device, obtaining a current page name of a current page where the current setting screen stays at present according to the serial data;
(C) automatically transmitting a control command to the computer device according to the current page name and the setting path, so that the computer device switches the current page where the current setting screen of the basic input output system stays to a target page corresponding to the target page name, and moves the currently selected item currently selected by the current setting screen of the basic input output system to a target change option corresponding to the target change option name; and
(D) automatically transmitting a change instruction containing the target setting value to the computer device, so that the computer device changes the setting value of the target change option into the target setting value.
2. The method according to claim 1, wherein in step (a), the change request further includes the target page name.
3. The method of changing bios settings of claim 1, further comprising, before step (a), the steps of:
(E) obtaining the current page name of another current page where the another current setting screen stays currently and the selectable item names of a plurality of selectable items corresponding to the current page name according to another serial data of another current setting screen related to the basic input output system;
(F) storing the current page name obtained in step (E) and the corresponding selectable item names in a lookup table; and
(G) transmitting a page switching command to the computer device to switch the other current page on which the other current setting screen of the BIOS stays to a next page, and repeating the steps (E) to (F) until the page name of each page provided by the BIOS and the selectable item name of the corresponding selectable item are stored in the lookup table;
in step (a), the control end obtains the target page name corresponding to the target modification option name from the lookup table according to the target modification option name in the modification request, so as to obtain the setting path.
4. The method according to claim 1, wherein in step (B), the control terminal utilizes a regular expression to match a string associated with the current page according to the serial data, so as to obtain the current page name according to the string.
5. The method of changing bios settings of claim 1, wherein step (C) comprises the substeps of:
(C-1) the control terminal determining whether the current page name is the same as the target page name;
(C-2) when the control end determines that the current page name is different from the target page name, the control end transmits a page switching instruction to the computer device to enable the computer device to switch the current page staying in the current setting screen of the basic input output system to the next page;
(C-3) the control terminal obtaining a current page name of a current page where the current setting screen currently stays according to serial data of a current setting screen switched to the next page related to one of the BIOS, and repeating the step (C-1);
(C-4) when the control end determines that the current page name is the same as the target page name, obtaining a currently selected item name of a currently selected item currently selected by the currently set screen according to serial data of the currently set screen related to the BIOS;
(C-5) the control terminal determining whether the currently selected item name is the same as the target modification option name;
(C-6) when the control end determines that the name of the currently selected item is different from the name of the target modification option, the control end transmits a command for switching options to the computer device, so that the computer device moves the currently selected item selected by the currently set screen of the BIOS to the next selected item;
(C-7) the control terminal obtaining a currently selected item name of the currently selected item currently selected by the currently selected item on the current setting screen according to serial data of the current setting screen moved to the next selected item with respect to one of the BIOS, and repeating the step (C-5);
(C-8) when the control end determines that the currently selected item name is the same as the target modification option name, the current page where the current setting screen of the BIOS stays is the target page, and the currently selected current option of the current setting screen of the BIOS is the target modification option.
6. The method of changing bios settings of claim 1, further comprising, before step (a), the steps of:
(H) according to another serial data of another current setting picture related to the basic input output system, obtaining a current page name of another current page where the another current setting picture stays at present and selectable item names of a plurality of selectable items corresponding to the current page name, and obtaining an arrangement position of a page option corresponding to the another current page in the another current setting picture and an arrangement position of each selectable item in the another current setting picture;
(I) storing the current page name, the layout position, the names of the selectable items corresponding to the other current page, and the arrangement positions of the selectable items corresponding to the other current page obtained in step (H) in a position map; and
(J) transmitting a page switching command to the computer device to switch the other current page where the other current setting screen of the BIOS stays to the next page, and repeating the steps (H) to (I) until the name of each page provided by the BIOS and the corresponding layout position thereof, and the name of the selectable item corresponding to each page and the corresponding arrangement position thereof are stored in the location map;
in step (C), the control end uses the location map to obtain a route plan for switching from the current page staying in step (B) to the target page and the target modification option according to the current page name and the set route obtained in step (B), and transmits the control command to the computer device according to the route plan.
7. The method of changing bios settings of claim 1, further comprising, before step (a), the steps of:
(K) after receiving another serial data of a diagnosis picture related to the power-on self-detection of the computer device, acquiring the name of each function key presented in the diagnosis picture and the corresponding function thereof according to the another serial data;
(L) identifying from each obtained function key name and its corresponding function that the corresponding function is the set function key name entered into the BIOS;
(M) according to the function key name identified in the step (L), transmitting a control input of the function key corresponding to the function key name identified in the step (L) to the computer device, so as to enable the computer device to enter the BIOS setting.
8. The method according to claim 7, wherein in step (K), the control terminal utilizes a normal representation to compare a string associated with the function corresponding to each function key name according to the other serial data, so as to obtain the function corresponding to each function key name according to each string.
9. The method of claim 7, wherein step (K) comprises the substeps of:
(K-1) sending a data request associated with the serial data of the computer device to the computer device;
(K-2) for each data request, upon receiving the further serial data in response to the data request, determining whether the further serial data is associated with a power-on self-test diagnostic screen of the computer device; and
(K-3) when it is determined that the another serial data is related to the power-on self-test diagnostic screen of the computer device, obtaining each function key name and its corresponding function presented in the diagnostic screen according to the another serial data related to the power-on self-test diagnostic screen of the computer device.
10. The method of changing bios settings of claim 9, further comprising the substeps of, after step (K-2):
(K-4) when it is determined that the another serial data does not relate to the diagnosis screen for power-on self-test of the computer device, determining whether an interval between a current time and a transmission time since the initial transmission of the data request is greater than a preset time interval;
(K-5) when it is determined that the interval between the current time and the sending time is greater than the predetermined time interval, transmitting a reset command to the computer device 1 to restart the computer device 1, and returning to substep (K-1); and
(K-6) returning to the substep (K-1) when it is determined that the interval between the current time and the transmission time is not greater than the preset time interval.
CN201910391569.8A 2019-05-10 2019-05-10 Method for changing setting of basic input output system Active CN111913751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910391569.8A CN111913751B (en) 2019-05-10 2019-05-10 Method for changing setting of basic input output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910391569.8A CN111913751B (en) 2019-05-10 2019-05-10 Method for changing setting of basic input output system

Publications (2)

Publication Number Publication Date
CN111913751A true CN111913751A (en) 2020-11-10
CN111913751B CN111913751B (en) 2024-04-19

Family

ID=73242353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910391569.8A Active CN111913751B (en) 2019-05-10 2019-05-10 Method for changing setting of basic input output system

Country Status (1)

Country Link
CN (1) CN111913751B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200907804A (en) * 2007-08-15 2009-02-16 Inventec Corp Method for updating BIOS and computer and system using the same
US20090292910A1 (en) * 2008-05-21 2009-11-26 Dell Products, Lp System and method of accessing bios change summary information within a bios operating environment
US7917816B1 (en) * 2009-10-20 2011-03-29 Hon Hai Precision Industry Co., Ltd. System and method for determining display function of BIOS error information
CN102750160A (en) * 2011-04-20 2012-10-24 技嘉科技股份有限公司 Touch control setting method for basic input/output system, computer system and recording medium thereof
US20150186161A1 (en) * 2013-11-18 2015-07-02 Insyde Software Corp. Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
CN105824652A (en) * 2015-01-08 2016-08-03 深圳市祈飞科技有限公司 Method and system for directly changing BIOS settings in operating system
CN107621961A (en) * 2017-09-11 2018-01-23 联想(北京)有限公司 Information processing method and electronic equipment
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200907804A (en) * 2007-08-15 2009-02-16 Inventec Corp Method for updating BIOS and computer and system using the same
US20090292910A1 (en) * 2008-05-21 2009-11-26 Dell Products, Lp System and method of accessing bios change summary information within a bios operating environment
US7917816B1 (en) * 2009-10-20 2011-03-29 Hon Hai Precision Industry Co., Ltd. System and method for determining display function of BIOS error information
CN102750160A (en) * 2011-04-20 2012-10-24 技嘉科技股份有限公司 Touch control setting method for basic input/output system, computer system and recording medium thereof
US20150186161A1 (en) * 2013-11-18 2015-07-02 Insyde Software Corp. Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
CN105824652A (en) * 2015-01-08 2016-08-03 深圳市祈飞科技有限公司 Method and system for directly changing BIOS settings in operating system
CN107621961A (en) * 2017-09-11 2018-01-23 联想(北京)有限公司 Information processing method and electronic equipment
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白晟;: "基本输入输出模拟系统的研发", 信息化建设, no. 04, 15 April 2016 (2016-04-15), pages 107 *

Also Published As

Publication number Publication date
CN111913751B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US10699037B2 (en) Layout generation system, energy management system, terminal device, layout generation method, and program
JP2019523727A (en) Electro-optic window control system
JP5739002B2 (en) Communication device and communication system
WO2020124958A1 (en) Firmware upgrading method and apparatus, and computer readable storage medium
EP3764293B1 (en) Food storage apparatus and control method thereof
EP3474517B1 (en) Electronic device for controlling iot device to correspond to state of external electronic device and operation method thereof
CN112567695B (en) Electronic device, server and control method thereof
KR20190104495A (en) Food storage apparatus and method for thereof
TWI714958B (en) A method of modifying setup of basic input/output system
JP6854468B2 (en) Lighting control device, lighting control system and control program
US20160117086A1 (en) Method of setting user interface of remote control system
US20190052745A1 (en) Method For Presenting An Interface Of A Remote Controller In A Mobile Device
US9921728B2 (en) Service providing device, and method of providing a user interface
CN111913751B (en) Method for changing setting of basic input output system
JP7224349B2 (en) Air conditioning system and system controller
CN116300501A (en) Smart home scene determination method, smart home scene execution method, smart home scene determination equipment and smart home scene execution medium
KR101966423B1 (en) Method for image matching and apparatus for executing the method
US20150222691A1 (en) Hub Application Automation Widget
US20190179274A1 (en) Control content management system, power control system, control content management method, and computer-readable recording medium
EP3439311B1 (en) Image transmission equipment
US20200064992A1 (en) Display screen generation apparatus, factory automation system, and display screen generation method
CN105094722A (en) Control method and control device thereof for supporting attribute display of multi-screen system
KR102098369B1 (en) Remote cooperation apparatus and system based on synchronization between devices
JPWO2019064533A1 (en) Controller and terminal device programs
JP2018191082A5 (en)

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
GR01 Patent grant