Method, device and system for realizing software upgrade in stacking system
A software upgrade and stacking system technology, applied in the field of network communication, can solve problems such as limited Flash read and write speed, low efficiency, and high Flash space requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 as shown, figure 1 It is a flowchart of a method for implementing software upgrade in a stacking system provided by an embodiment of the present invention. The flow chart of the method for implementing software upgrade in the stacking system specifically includes the following steps:
[0032] S101. The master device downloads a software upgrade file to a local memory chain formed by discontinuous memory blocks, and sends an upgrade notification to the slave device.
[0033] In the embodiment of the present invention, the master device of the stacking system downloads the software upgrade file to the local memory through FTP, and the local memory uses a chain formed by discontinuous memory blocks to store the file, which is called a memory chain.
[0034] S102. After receiving the upgrade notification from the master device, the slave device sends an upgrade request carrying FTP access parameters to the master device.
[0035] In this step, after rece...
Embodiment 2
[0041] Such as figure 2 as shown, figure 2 It is a flowchart of a method for implementing software upgrade in a stacking system provided by an embodiment of the present invention. The flow chart of the method for implementing software upgrade in the stacking system specifically includes the following steps:
[0042] S201, register a virtual device in the IO driver layer of the master device in advance, so that file operations on the virtual device are redirected to a newly defined interface function, and add the virtual device and the newly defined interface function to The IO driver layer of the master device.
[0043] In the embodiment of the present invention, a virtual device is first registered with the system IO driver layer, such as the file name is / sysupd, and operations on this virtual device can be redirected to newly defined interface functions. The newly defined main operation interface functions include delete, open, close, read, write, ioctl, etc., and then...
Embodiment 3
[0059] Such as image 3 As shown, it is a structural block diagram of a device provided by an embodiment of the present invention. The device 30 is applied to the main equipment of the stacking system, including:
[0060] The file saving module 301 is configured to download the software upgrade file to the local memory chain formed by discontinuous memory blocks, and notify the upgrade notification module 302 .
[0061] The upgrade notification module 302 is configured to send a software upgrade notification to each slave device. In the implementation example of the present invention, the upgrade notification module 302 sends the upgrade notification to the slave device using the existing master-slave device interaction mechanism, for example, using a reliable message transmission mechanism similar to the TCP protocol, which can be freely defined by the developer.
[0062] The FTP service module 303 is configured to receive an upgrade request from the slave device, establish ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


