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

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

Active Publication Date: 2019-02-01
MAIPU COMM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a method, device and system for implementing software upgrades in a stacking system to solve the problems in the prior art that are limited by the read and write speed of Flash, have low efficiency, and have high requirements for the size of Flash space

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
  • Method, device and system for realizing software upgrade in stacking system
  • Method, device and system for realizing software upgrade in stacking system
  • Method, device and system for realizing software upgrade in stacking system

Examples

Experimental program
Comparison scheme
Effect test

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

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 provides a method for realizing software upgrading in a stacking system and solves the problems of limitation of Flash read-write speed, lower efficiency and higher requirement for Flash space size in the prior art. The specific scheme of the method comprises steps as follows: master equipment downloads a software upgrading file to a local memory chain formed by non-continuous memory blocks, and sends an upgrading notice to slave equipment; the slave equipment after receiving the upgrading notice from the master equipment sends an upgrading request carried with FTP (file transfer protocol) access parameters to the master equipment; the master equipment after receiving the upgrading request of the slave equipment establishes FTP connection with the slave equipment according to the FTP access parameters; the slave equipment reads the software upgrading file stored in the non-continuous memory chain on the master equipment according to the established FTP connection and downloads the software upgrading file to local FLASH for upgrading operation. According to the stacking system, the software upgrading of the slave equipment do not depend on the software upgrading file in Flash of the master equipment, and the master equipment and the slave equipment can download the software upgrading file in parallel.

Description

technical field [0001] The invention relates to stacking technology in the field of network communication, in particular to a method, device and system for realizing software upgrade in a stacking system. Background technique [0002] The stacking technology can form two or more network devices into a virtual device that runs independently. These network devices are called stack member devices, or member devices for short. The stacking system can improve the stability and reliability of network transmission, and can freely expand the number of ports and bandwidth of data transmission. All member devices participating in the stack use the same global configuration; one of the member devices is the master device (Master device), and the other member devices are slave devices (Slave devices). Among them, the Master device is in the Active state and acts as the management The role of the controller and the controller, the configuration takes effect, and the Slave device is in t...

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 Patents(China)
IPC IPC(8): G06F8/654
CPCG06F9/44578
Inventor 王立锟
Owner MAIPU COMM TECH CO LTD