Switch software updating method and device, equipment and storage medium
A software update and update method technology, applied in the field of communications, can solve the problems of inability to obtain computer equipment, high cost, complicated operation, etc., to achieve the effect of enhancing scene applicability, improving update efficiency, and simplifying update operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Figure 2A It is a flow chart of a method for updating switch software provided by Embodiment 1 of the present invention. This embodiment is applicable to updating switch software using a USB device. The method can be executed by a device for updating switch software. The device can pass It is realized by software and / or hardware, and generally can be integrated on electronic equipment, typically, can be integrated on switch equipment. like Figure 2A As shown, the method specifically includes the following steps:
[0036] S110. When the switch is in the process of resetting and starting, detect whether there is a universal serial bus USB device plugged into the switch.
[0037] Wherein, the switch is a network hardware device that receives and forwards data to the target terminal device through message exchange; in this embodiment, the switch may specifically include a layer-2 switch and a layer-3 switch with routing functions. Not specifically limited.
[0038] Re...
Embodiment 2
[0057] image 3 It is a flow chart of a method for updating switch software provided by Embodiment 2 of the present invention. This embodiment is a further refinement of the above technical solution, and the technical solution in this embodiment can be combined with one or more of the foregoing implementation modes. Specifically, refer to image 3 , the method specifically includes the following steps:
[0058] S210. When the switch is in the process of resetting and starting, detect whether there is a universal serial bus USB device plugged into the switch.
[0059] S220. If yes, obtain the initial configuration file inside the switch, and read the software update identifier recorded in the initial configuration file.
[0060] S230. If it is determined that the software update identifier is the first identifier value used to indicate the update, acquire the target software update file in the USB device, and complete the update of the switch software according to the target ...
Embodiment 3
[0078] Figure 4A It is a flow chart of a switch software update method provided by Embodiment 3 of the present invention. This embodiment is a further refinement of the above technical solution, and the technical solution in this embodiment can be combined with one or more of the foregoing implementation modes. Specifically, refer to Figure 4A , the method specifically includes the following steps:
[0079] S310. During the normal operation of the switch, if an insertion event of the USB device is detected, determine whether there is a service being processed by the switch.
[0080] In this embodiment, the insertion of the USB device can be detected in real time through a preset detection program, for example, the detection of the insertion of the USB device is performed every pre-period (for example, 100 ms). Wherein, if the switch is in normal operation, the insertion event of the USB device is detected; since the switch is not in the reset startup process, it is impossi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


