The update method of program used for test
Technical field
The present invention relates to a kind of renewal technology of program used for test, more detailed it, relate to a kind of in order to upgrade the update method of the program used for test such as operating system program, firmware program and driver in the computing machine to be measured.
Background technology
At present to server such as network interface card (Network Interface Card; NIC), serial I/O (Serial Input/Output; When SIO), the performance of software and hardwares such as pci bus, floppy disk (Floppy Disk) or driving is tested, need to cooperate the use of different testing tools that a plurality of different test applications are installed, in addition, above-mentioned test jobs and for example operating system program such as Windows, Linux, for example Basic Input or Output System (BIOS) (Basic Input/OutputSystem; BIOS) and substrate controller (Baseboard Management Controller; BMC) (Fireware) program such as firmware and for example mouse, hard disk or floppy disk etc. to drive application programs such as (Driver) program closely bound up.And above-mentioned respectively this application program is not unalterable all the time, develop rapidly along with communication now and electronic technology, the frequency of its renewal also is a height very, therefore, generally in the official website of above-mentioned respectively this application program of correspondence, can irregularly issue the respectively renewal version of this application program, in case above-mentioned respectively this application version upgrades to some extent, the test jobs personnel then need corresponding in time from this official website's data download and upgrade application version in this server, and then be made in the system environments after the industry personnel will above-mentioned identical test software and hardware (test application cooperation testing tool) be based upon this renewal, the soft hardware performance execution follow-up test operation of this server.
And the update mode of above-mentioned each application program is generally: at first, operating system program data with required renewal version, the firmware program data, and the driver data that comprise a plurality of driven element programs are stored in for example first recording medium of CD respectively, can start second recording medium of the carry-on dish of for example USB (Universal Serial Bus) of (Bootable), and the 3rd recording medium, wherein, the driver data (being designated hereinafter simply as embedded driver (OSEmbedded Driver)) that generally differ in these operating system program data and be decided to be comprising of this renewal version of a plurality of driven element programs; Then, start this server, enter BIOS and interface is set this second recording medium is set is first-selected Starting mode, preserve and withdraw from after being provided with, restart this server again; Subsequently, this second recording medium is plugged to this server, to carry out the firmware update operation, restart this server after waiting to finish again, enter BIOS once more and interface is set to change this first recording medium be first-selected Starting mode, preserve once more and withdraw from after being provided with, restart this server again; This first recording medium is inserted this server, renewal operation with executive operating system, in the operating system update process, all embedded driven element routine datas that system can be had these operating system program data simultaneously are loaded in this server, treat to restart this server again after operating system update is finished, to enter this operating system, at this moment, again the 3rd recording medium is plugged to this server, and in the 3rd recording medium, hunt out the driver of the renewal version corresponding artificially one by one with respectively this embedded driven element program of having loaded in this server, carry out driven element program updates operation one by one, and this moment, because of respectively this embedded driven element program has been installed in the operating system of this server in advance, therefore, driven element program of every renewal all will restart server, so that this driven element program comes into force, can carry out the renewal operation of next driven element program.
As mentioned above, adopt above-mentioned application program update mode, if need upgrade firmware and operating system simultaneously, the BIOS that then need repeatedly enter server is provided with the interface change system start-up mode is set, also need cooperate repeatedly server to restart operation, increase the temporal waste of application program update undoubtedly; In addition, owing to when operating system update, load the embedded driven element program that it has, and after the operating system program renewal is finished, be the driven element program of upgrading version with the driven element program updates again, so, cause driven element program of every renewal, need restart server one time, and general driven element program have 5 or 6 at least, so, mean that then the number of times that restarts server will be up to more than 5 or 6 times, and then taken the too much time, operating efficiency is upgraded in influence; Moreover, the renewal operation of above-mentioned driver is the driven element program in the 3rd recording medium is chosen one by one and to be carried out follow-up renewal operation by artificial mode, so, very easily omit the renewal of a certain driven element program, and then influence the integrality of whole test with application program update owing to human factor.
Therefore, how to propose a kind of update method that solves the program used for test of prior art disadvantages, effectively saving time, to increase work efficiency, and provide complete renewal operation, real in desiring most ardently the technical matters of solution at present.
Summary of the invention
In view of the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of update method of program used for test, saving time, and then improves update efficiency.
Another object of the present invention is to provide a kind of update method of program used for test, the renewal of omitting a certain driver to avoid human factor, and then influence the drawback of the integrality that whole program used for test upgrades.
For reaching above-mentioned purpose and other purpose, the invention provides a kind of in order to upgrade the operating system program in the computing machine to be measured, the update method of the program used for test of firmware program and driver, it may further comprise the steps: (1) provides first recording medium that stores the operating system program data of upgrading version, and store the firmware program that upgrades version and second recording medium of driver data, pass through to connect this first and second recording medium to this computing machine to be measured for the user, to carry out the renewal operation of program used for test, wherein, be loaded with boot sequence (Boot Order) program in this operating system program, so that the start-up mode guiding that comprises operating system update start-up mode option or firmware update start-up mode option at least menu (Boot Menu) to be provided; (2) when this first and second recording medium is connected to this computing machine to be measured, by the boot sequence program that stores in this first recording medium, provide this start-up mode guiding menu to the user, this operating system update start-up mode option or this firmware update start-up mode option for you to choose, if the user selects this operating system update start-up mode option, then proceed to step (3),, then proceed to step (4) if the user selects this firmware update start-up mode option; (3) make this computing machine to be measured capture the stored operating system program data of this first recording medium, and carry out the renewal operation of this operating system according to this, simultaneously, in this second recording medium, extract the driver data of upgrading version, thereby for being loaded in this computing machine to be measured to carry out the renewal operation of this driver, and after the renewal operation of finishing this operating system, finish the renewal operation of this program used for test; And (4) allow this computing machine to be measured capture the stored firmware program data of this second recording medium, and carry out the renewal operation of this firmware program according to this, and after the renewal operation of finishing this firmware program, be back to step (2).
In an embodiment of the update method of program used for test of the present invention, this operating system update start-up mode is first-selected start-up mode.
In addition, these driver data comprise external equipment driven element routine datas such as network interface card driven element routine data, keyboard drive subroutine data, mouse-driven subroutine data, hard drive subroutine data and disk drive subroutine data.Also be loaded with in this operating system program and specify required driven element routine data to extract the drive installation program in path, with secondary load respectively this driven element program to this computing machine to be measured.And these operating system program data have the driver data that comprise all required driven element programs of drive installation program, correspondingly, this driven element routine data extracts the path and links to the extraction path of this second recording medium and the extraction rank links to this first recording medium than its low correspondence extraction path for correspondence.More detailed it, the renewal operation of this driver also comprises: when the renewal operation of this operating system is carried out to this drive installation step, in this second recording medium, extract all driven element routine datas that upgrade version, if when still not being stored in this second recording medium in required all the driven element routine datas of this drive installation program, then correspondence links to this first recording medium, from the driven element routine data of the operating system program extracting data correspondence of this first recording medium, and then carry out the corresponding operation of upgrading according to respectively this driven element program of extracting by this drive installation program.
Moreover in the update method of program used for test of the present invention, this start-up mode guiding menu comprises that also start-up mode withdraws from option.
In addition, this first recording medium and this second recording medium are and can start (Bootable) recording medium.Preferably, this first recording medium and this second recording medium are USB (Universal Serial Bus) dish, CD or floppy disk etc. with oneself.
In sum, the update method of program used for test of the present invention at first provides first recording medium, and second recording medium, then when this first and second recording medium is connected to this computing machine to be measured, by the boot sequence program that stores in this first recording medium, provide this start-up mode guiding menu to the user, this operating system or this firmware update start-up mode for you to choose, if select the former, then make this computing machine to be measured capture operating system program data in this first recording medium, renewal operation with executive operating system, simultaneously, extract the driver data of upgrading version certainly in this second recording medium, thereby for being loaded in this computing machine to be measured to carry out the renewal operation of this driver, and after the renewal operation of finishing this operating system, finish this refresh routine; If select the latter, then make this computing machine to be measured capture firmware program data in this second recording medium, to carry out the renewal operation of firmware program, after waiting to finish, then be back to this start-up mode guiding menu, for the further selection operation of user, only need single to start this computing machine to be measured thus and can disposablely finish the renewal operation of test with all programs, and effectively avoid existing program used for test to upgrade in the operation, the BIOS that need repeatedly enter server is provided with the interface change system start-up mode is set, also need cooperate repeatedly server to restart operation, can finish the renewal operation of program used for test, and then cause cost waste update time, and the drawback of operating efficiency is upgraded in influence; In addition,, therefore, exempt the step of artificially carrying out driver update one by one, can guarantee to upgrade the integrality of operation because the update method of program used for test of the present invention is to upgrade the driver of version in the operating system update process synchronously.
Description of drawings
Fig. 1 shows the operating process synoptic diagram of the update method of program used for test of the present invention.
[simple declaration of assembly label]
S100~S180 step
Embodiment
Below be that those skilled in the art can understand other advantage of the present invention and effect easily by the content that this instructions disclosed by specific instantiation explanation embodiments of the present invention.
See also Fig. 1, shown the operating process synoptic diagram of the update method of program used for test of the present invention.As shown in the figure, the update method of program used for test of the present invention in order to upgrade the test of pending soft hardware performance such as in the computing machine of server such as operating system programs such as Windows, Linux, such as Basic Input or Output System (BIOS) (Basic Input/Output System; BIOS) and substrate controller (Baseboard Management Controller; BMC) firmware program and driver etc. such as.Wherein, this driver packet contains external equipment driven element routine datas such as network interface card driven element routine data, keyboard drive subroutine data, mouse-driven subroutine data, hard drive subroutine data and disk drive subroutine data.
As shown in Figure 1, execution in step S100 at first, store in operating system program data to the first recording medium of upgrading version, and be loaded with boot sequence (BootOrder) program in this operating system program, comprise the start-up mode guiding menu (Boot Menu) that operating system update start-up mode option, firmware update start-up mode option or start-up mode withdraw from option to provide, and store in the firmware program and driver data to the second recording medium that upgrades version.Wherein, this first recording medium and this second recording medium are and can start (Bootable) recording medium, and this first recording medium and this second recording medium may be selected to be USB (Universal SerialBus) devices such as dish, CD or floppy disk with oneself.At this, what need be illustrated is, because the renewal speed of general firmware program and driver is fast than the renewal speed of operating system program, therefore, in the update method of program used for test of the present invention, the inconsistent program of renewal speed is stored in respectively in this first recording medium and this second recording medium.In addition, in one embodiment, this operating system update start-up mode is first-selected start-up mode, also be, when the user does not select arbitrary option of this start-up mode interface in the given time, then make this computing machine to be measured directly enter the renewal operation of operating system update start-up mode executive operating system; And also being loaded with in this operating system program to specify has required driven element routine data to extract the drive installation program in path, with secondary load respectively this driven element program to this computing machine to be measured, and these operating system program data have the driver data that comprise all required driven element programs of drive installation program, but, the version of the driver data that comprise in these operating system program data differs and is decided to be latest edition (promptly upgrading version), in the present embodiment, this driven element routine data extraction path comprises that correspondence links to the extraction path of this second recording medium, and the extraction rank links to the extraction path of this first recording medium than its low correspondence.Moreover, owing in this operating system program, load this boot sequence program, respectively this option of the start-up mode guiding menu that is provided by this boot sequence program, be bootable this computer starting correspondence to be measured recording medium (as mentioned above, corresponding this first recording medium that starts of this operating system update start-up mode option, corresponding this second recording medium that starts of this firmware update start-up mode), and then avoid in the prior art because of starting the different recording medium, need to cooperate and repeatedly to restart operation and repeatedly enter BIOS the drawback that the interface change is provided with the loaded down with trivial details step of system start-up mode is set, with the waste on saving time greatly.Then carry out step S110.
In step S110, respectively this first recording medium and this second recording medium are plugged in this computing machine to be measured.Then carry out step S120.
In step S120, by this boot sequence program that stores in this first recording medium, provide this start-up mode guiding menu to the user, this operating system update start-up mode option, this firmware update start-up mode option or start-up mode withdraw from option for you to choose, if select this operating system update start-up mode option, then proceed to step S130; If select this firmware update start-up mode option, then proceed to step S180; If select this start-up mode to withdraw from option, then finish this program used for test renewal process.
In step S130, make this computing machine to be measured capture the stored operating system program data of this first recording medium, the renewal operation of executive operating system, and when the renewal operation of this operating system is carried out to this drive installation step, extract all driven element routine datas that upgrade version certainly in this second recording medium.Then carry out step S140.
In step S140, detect all required driven element routine datas of this drive installation program and whether all be stored in this second recording medium, if not, then proceed to step S150, if then proceed to step S160.
In step S150, transfer the extraction path of this drive installation program to link to this second recording medium than correspondence the low extraction path of extraction path extraction rank, be that correspondence links to this first recording medium, and the driven element routine data that does not store in this first recording medium of the operating system program extracting data of this first recording medium certainly.Then carry out step S160.
In step S160, carry out the corresponding operation of upgrading according to respectively this driven element program of extracting by this drive installation program.Then carry out step S170.
In step S170, continue to carry out other step of this operating system update, after waiting to finish the renewal operation of this operating system, then finish this program used for test renewal process.
In step S180, make this computing machine to be measured capture the stored firmware program data of this second recording medium, carry out the renewal operation of firmware program, in the present embodiment, the renewal operation of this firmware program is carried out under DOS or MSDOS pattern, but not as limit, wait to finish this firmware update operation after, then be back to step S120, make further start-up mode selection operation for the user.
In sum, at above-mentioned steps S130 to step S170, when renewal operation in executive operating system, at first directly extracting the driven element program of upgrading version in this second recording medium installs, but not directly correspondence links to the driven element routine data that carries in these operating system program data of extraction in this first recording medium, and when only in all required driven element routine datas of this drive installation program, still not being stored in this second recording medium, just from this first recording medium, extract the driven element program, with the integrality that guarantees that driver is installed, therefore, as the driver that upgrades version, the driver that only needs to upgrade version is stored in this second recording medium, can make this computing machine to be measured in the operating system update process, load the driver of this latest edition automatically, thereby effectively avoid in the prior art because of in the operating system update process, upgrading the driven element program that these operating system program data carry earlier, and after finishing, operating system update carries out the renewal of driven element program more one by one by artificial mode, not only need carry out and repeatedly restart operation, and easily omit the disappearance of the renewal operation of a certain driven element program because of human factor.
Than prior art, the update method of program used for test of the present invention is for providing first recording medium earlier, and one second recording medium, then when this first and second recording medium is connected to this computing machine to be measured, by the boot sequence program that stores in this first recording medium, provide this start-up mode guiding menu to the user, this operating system or this firmware update start-up mode for you to choose, if select the former, then make this computing machine to be measured capture operating system program data in this first recording medium, renewal operation with executive operating system, simultaneously, from this second recording medium, extract the driver data of upgrading version, thereby for being loaded in this computing machine to be measured to carry out the renewal operation of this driver, and after the renewal operation of finishing this operating system, finish this refresh routine; If select the latter, then make this computing machine to be measured capture firmware program data in this second recording medium, to carry out the renewal operation of firmware program, after waiting to finish, then be back to this start-up mode guiding menu, for the further selection operation of user.
Therefore, use the update method of program used for test of the present invention, need not interface change to be set the system start-up mode is set by repeatedly entering BIOS, and operation is repeatedly restarted in cooperation, can finish program used for test and upgrade operation, saving time, and then promote and upgrade operating efficiency; Moreover the update method of program used for test of the present invention is a newer driver more synchronously in the operating system update process, therefore, exempts the step of artificially carrying out driver update one by one, can guarantee to upgrade the integrality of operation.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any those skilled in the art all can be under spirit of the present invention and category, and the foregoing description is modified and changed.Therefore, the scope of the present invention, claim is listed as described later.