Software upgrading test method and device
A software upgrade, software technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as time cost and labor cost waste, and achieve the effect of avoiding manual intervention
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a flowchart of a software upgrade testing method provided by Embodiment 1 of the present invention. This method is applied to the scenario of upgrading the software in the switch.
[0050] Compared with other software upgrades, the software upgrade of the switch has the following characteristics: First, the switch includes a flash partition. When upgrading the software of the switch, it is necessary to distinguish between the primary partition and the backup partition. Second, the upgrade file of the switch may only include the software version, or may include both the software version and the boot version. When the switch is started, redboot must be started first. At this time, a boot file is required, and the software version can be loaded after the boot is started. Third, various upgrade forms covered by the switch, such as ftp, tftp, usb, and http. Fourth, when judging whether the switch is upgraded successfully, in addition to checking the version...
Embodiment 2
[0115] Figure 6 A structural diagram of a software upgrade testing device provided by Embodiment 2 of the present invention. refer to Figure 6 , the software upgrades tested on devices including:
[0116] The information reading module 10 is used to read the configuration information of the switch and the version information to be tested of the software to be upgraded in the switch;
[0117] An upgrade execution module 20, configured to upgrade the software to be upgraded in the switch according to selected upgrade parameters, so as to obtain an upgrade result and target version information of the switch after upgrading;
[0118] An upgrade verification module 30, configured to verify whether the switch is upgraded successfully according to the upgrade result, the target version information and the configuration information.
[0119] Through the technical solution provided by the embodiment of the present invention, various parameters to be tested of the switch are integr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


