Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2021-02-26
KYLAND TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present invention is to solve the waste of time cost and labor cost caused by manual switch software upgrade test, and ensure the comprehensive coverage of the test

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software upgrading test method and device
  • Software upgrading test method and device
  • Software upgrading test method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a software upgrading test method and device. The method is applied to a switch, and comprises the following steps: reading configuration information of the switch and to-be-tested version information of to-be-upgraded software in the switch; upgrading to-be-upgraded software in the switch according to the selected upgrading parameters to obtain an upgrading result and target version information after the switch is upgraded; and verifying whether the switch is successfully upgraded or not according to the upgrading result, the target version information and the configuration information. Through the technical scheme provided by the invention, various to-be-tested parameters of the switch are integrated, the compatibility verification of the to-be-tested version is quickly and accurately carried out through automatic control, and the defects of manual intervention, long time consumption, incompleteness and the like of a traditional test method are avoided.

Description

technical field [0001] The invention relates to the technical field of network communication and the field of software testing, in particular to a method and device for software upgrading testing. Background technique [0002] A switch is a network device used for electrical (optical) signal forwarding. It can provide an exclusive electrical signal path for any two network nodes connected to the switch. [0003] Once the software version of the switch product is released, it will continue to upgrade the software version to fix existing network problems or meet new customer needs. In order to ensure the upgrade reliability of the switch on the network, testers need to test the software version upgrade of the interactive machine. The test is required to cover the compatibility between each historical version and the new version, and is required to cover various upgrade methods (usb, ftp, tftp, sftp, http), including various version upgrade / downgrade combinations, and also re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/368G06F11/3688Y02D10/00
Inventor 信丹丹
Owner KYLAND TECH CO LTD