Software update sequence using link layer discovery protocol (LLDP)

EP4453714A1Pending Publication Date: 2024-10-30HIRSCHMANN AUTOMATION AND CONTROL GMBH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
EP2022835385
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-22
Filing Date
2022-12-13
Publication Date
2024-10-30

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method for determining the best sequence of software updates and / or boot commands to switches, said sequence being used to allow the prevention of collisions when distributing the software updates and / or the boot commands and to allow the software update process and / or the boot command process to be optimized over time. For this purpose, a network is used in which an update station, multiple network participants, and multiple switches can communicate with one another. According to the invention, information relating to the switches in the network is collected using LLDP, and the removal of the switches from the update station is determined using the collected information. The sequence of updates and / or boot commands to the switches can then be ascertained by means of the removal process.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Software update sequence using LinkLayerDiscoveryProtocol (LLDP)

[0002] DESCRIPTION

[0003] The present invention relates to a method for determining the order of updates of software, firmware, programmable logic and / or boot commands on network devices, in particular switches.

[0004] Switches are network devices that connect other network devices, also known as network nodes. Fixed or programmable logic within the switches addresses the data packets exchanged between the network nodes.

[0005] This programmable logic and / or software should be updated for security reasons and / or to enhance functionality. It can happen that a software update for a switch in a network fails because the order of the update (or the subsequent boot process) is incorrect. This occurs particularly when many devices in the network are updated simultaneously. This can lead to a switch being booted, interrupting the boot command chain before the switches behind it receive the same command.

[0006] Typically, boot delays are used to resolve the issue. However, this is not always sufficient to prevent problems during the update process.

[0007] The object of the present invention is therefore to remedy the aforementioned problems and to provide a secure method for updating network devices, in particular switches.

[0008] This problem is solved with the features of the claim. For this purpose, the order of the network devices, in particular the switches, is determined using LLDP. The boot commands are then sent in the correct order. This results in the network devices, in particular the switches, being rebooted, for example, in the line in the order of their distance from the station (for example, a dedicated network device or a network management station) that distributes the updates. For example, the furthest device is rebooted first, then the second-furthest device next, and so on.

[0009] LLDP is a Layer 2 protocol standardized according to IEEE 802-1AB. This protocol enables information to be exchanged between neighboring network nodes and network components. The protocol operates independently of other protocols. It sends information about itself and receives information sent by other nodes. LLDP therefore requires no communication with other devices.

[0010] For the sake of simplicity, the procedure is described below using switches, but is not limited to this type of network device.

[0011] Preferably, it is suggested that the furthest switch be supplied with the new software and / or the reboot command first, then the second-furthest, and so on. Following this suggested order guarantees that the next software update (or boot command) actually reaches its target (this means that the switch to be supplied with a software update or booted is not located behind a switch that is currently booting and therefore unreachable).

[0012] The method according to the invention is shown by way of example in the figure.

Claims

3 PATENT CLAIMS 1. A method for determining the sequence of software updates and / or boot commands to network participants, preferably switches, wherein an update station, several network participants and at least one switch, preferably several switches, can communicate with each other in a network, characterized in that information about the network devices, preferably the switches, is collected in the network using LLDP, that the distance of at least one switch, preferably the several switches, from the update station is determined by the information, and that the sequence of updates and / or boot commands to the network participants, preferably the several switches, is determined by the distance.

2. Method according to claim 1, characterized in that initially those switches which are furthest away from the update station are supplied with updates and / or boot commands first.

3. Method according to claim 1 or 2, characterized in that the sequence of updates and / or boot commands is determined by the switch with the greatest distance to the switch with the shortest distance to the update station.

4. A method according to any one of claims 1 to 3, characterized in that the Management Information Bases (MIBs) of the switches are accessed and the distance to the individual switches is determined via these accesses. A method according to claim 4, characterized in that access to the MIBs is performed via the update station. A method according to claim 4, characterized in that access to the MIBs is performed via a network participant. A method according to any one of claims 1 to 6, characterized in that the switches are LLDP-enabled. A method according to any one of claims 1 to 6, characterized in that network participants adjacent to the switches are LLDP-enabled. A method according to any one of claims 4 to 8, characterized in that access to the MIBs is performed via SNMP commands. Method according to one of claims 1 to 9, characterized in that updates are initially distributed simultaneously across multiple switches and only the update sequence is determined by the distance.A method according to any one of claims 1 to 10, characterized in that, similar to switches, routers can also benefit from the proposed method for distributing software updates and / or boot commands. A method according to any one of claims 1 to 11, characterized in that the update station is implemented as an independent network participant. A method according to any one of claims 1 to 11, characterized in that the update station is integrated into one of the switches.

5. A method according to any one of claims 1 to 13, wherein a boot station that initiates the software updates of the other switches (or sends the boot commands) can be any device in the network, such as a PC, a switch, or a router. A method according to any one of claims 1 to 14, wherein the boot station is the device that distributes the software updates or sends boot commands, wherein this function of the boot station can also be performed by another device (switch, router, or the like) in the network if required.

Citation Information

Patent Citations

  • System and method for modelling cloud networks for automation

    US20210184936A1