The present invention relates to the technology field of operating systems, and more particularly to a method and system for executing compatibility test of operating system.
With the advance of science and technology, there are various industrial computers developed and proposes so as to be applied in different technology fields of network communication, industrial automation, medical apparatus, cloud computing, Internet of Things (IoTs), etc. It should know that, a specific application industrial computer certainly installed with a specifically-designed operating system, thereby facilitating a user or a controller operate the specific application industrial computer through the specifically-designed operating system. However, any one type of industrial computer commonly consists of many hardware modules, at least one firmware module, and an exclusive operating system thereof. As such, compatibility issue often occurs between the hardware module (or the firmware module) and the operating system of the industrial computer in case of the industrial computer is applied with a hardware update (or a firmware update). It is foreseeable that, the industrial computer fails to work normally when an incompatible hardware or firmware is installed in the industrial computer.
As a result, above descriptions have revealed that, how to prevent the compatibility issue from occurring between the hardware module (or the firmware module) and the operating system of the industrial computer has therefore become an important issue for solving. In view of that, inventors of the present application have made great efforts to make inventive research and eventually provided a method and system for executing compatibility test of operating system.
The primary objective of the present invention is to disclose a method and system for executing compatibility test of operating system. The system is principally a compatibility test management module that comprises a setting unit, a test execution unit, a compatibility determination unit, and a restart aborting unit. During executing a compatibility test for a host electronic device installed with an operating system, the compatibility test management module establishes an agent executor of the test execution unit and an agent executor of the restart aborting unit in the operating system, thereby executing at least one compatibility test for the operating system of the host electronic device during a reboot procedure. Moreover, the reboot aborting unit is configured to stop the agent executor of the test execution unit successively rebooting the host electronic device after the compatibility test is completed.
For achieving the primary objective of the present invention, the present invention provides an embodiment of the method for executing compatibility test of operating system, comprising following steps:
In order to achieve the primary objective of the present invention, the present invention also provides an embodiment of the system for executing compatibility test of operating system, comprising:
The invention as well as a preferred mode of use and advantages thereof will be best understood by referring to the following detailed description of an illustrative embodiment in conjunction with the accompanying drawings, wherein:
To more clearly describe a method and system for executing compatibility test of operating system disclosed by the present invention, embodiments of the present invention will be described in detail with reference to the attached drawings hereinafter.
With reference to
When using this system 1 to execute at least one compatibility test for the operating system 21 of the host electronic device 2, the compatibility test management module 11 establishes an agent executor of the test execution unit 112 and an agent executor of the restart aborting unit 114 in a host electronic device 2 that is installed with an operating system 21. The operating system 21 can be Windows 7, Windows 8, Windows server 2012, or Windows server 2016. In one embodiment, the said two agent executors can both be a shortcut executor that is set in a startup folder of the Windows operating system 21. As such, it is able to use the agent executor of the test execution unit 112 to reboot the host electronic device 2, thereby executing at least one compatibility test for the operating system 21 of the host electronic device 2 during a reboot procedure. After one time of the compatibility test is completed, the compatibility determination unit 113 is configured to produce a compatibility verifying table for recording at least one compatibility test result. Consequently, the agent executor (i.e., the shortcut executor) of the restart aborting unit 114 in the operating system 21 is configured to stop the agent executor of the test execution unit 112 successively rebooting the host electronic device 2 after the compatibility test is eventually completed.
The compatibility test is selected from the group consisting of compatibility test of driver program, compatibility test of hardware, and compatibility test of MAC address. Briefly speaking, after setting a first number of reboot of a host electronic device 2, the compatibility test management module 11 produce a shortcut executor of the test execution unit 112 to execute a few of compatibility tests by successively rebooting the host electronic device 2. Moreover, until an amount of reboot times of the host electronic device 2 reaches to the second number of reboot, a shortcut executor of the restart aborting unit 114, produced in the operating system by the compatibility test management module 11, is configured to stop the test execution unit 112 successively rebooting the host electronic device 2. On the other hand,
Thus, above descriptions have clearly introduce the system 1 for executing compatibility test of operating system proposed by the present invention. Please refer to
After the second number of reboot (i.e., the summation of the first number of reboot and 1) is generated, the method flow is subsequently proceeded to step S3, so as to establish an agent executor (i.e., an shortcut executor) of the test execution unit 112 and an agent executor (i.e., an shortcut executor) of the restart aborting unit 114 in the operating system 21 of the host electronic device 2. Therefore, in step S4, the agent executor of the test execution unit 112 is adopted for rebooting the host electronic device 2, so as to execute at least one compatibility test for the operating system 21 of the host electronic device 2 during a reboot procedure.
After one time of compatibility test is completed, the compatibility determination unit 113 is configured to produce a compatibility verifying table for recording at least one compatibility test result (step S5). It is worth noting that, the method flow would repeatedly proceeds back to the steps S4 and S5 until an amount of reboot times of the host electronic device 2 reaches to the second number of reboot. In other words, until an amount of reboot times of the host electronic device 2 reaches to the second number of reboot, the agent executor of the restart aborting unit 114, produced in the operating system 21 by the compatibility test management module 11, is configured to stop the test execution unit 112 successively rebooting the host electronic device 2.
Therefore, through above descriptions, the system and method for executing compatibility test of operating system proposed by the present invention have been introduced completely and clearly; in summary, the present invention includes the advantages of:
(1) The present invention disclose a method and system 1 for executing compatibility test of operating system. The system 1 is principally a compatibility test management module 11 that comprises a setting unit 111, a test execution unit 112, a compatibility determination unit 113, and a restart aborting unit 114. During executing a compatibility test for a host electronic device 2 installed with an operating system 21, the compatibility test management module 11 establishes an agent executor of the test execution unit 112 and an agent executor of the restart aborting unit 114 in the operating system 21, thereby executing at least one compatibility test for the operating system 21 of the host electronic device 2 during at least one reboot procedure. Moreover, the reboot aborting unit 114 is configured to stop the agent executor of the test execution unit 112 successively rebooting the host electronic device 2 after the compatibility test is completed.
The above description is made on embodiments of the present invention. However, the embodiments are not intended to limit scope of the present invention, and all equivalent implementations or alterations within the spirit of the present invention still fall within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
108115805 | May 2019 | TW | national |