Automatic software update

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

Patent Information

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

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method for automating software updates and / or programming logic updates of network subscribers. A network, having a firmware master, and a plurality of network subscribers that can communicate with one another are used. The firmware master can then manually obtain new firmware. The firmware master then distributes this new firmware to all adjacent network subscribers, which, after obtaining the new firmware, check said firmware for compatibility and, in the case of compatibility, independently execute an update process. These now updated network subscribers subsequently distribute the new firmware in turn to all network subscribers adjacent thereto and thus bring about the update process of these network devices.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Automatic software update

[0002] DESCRIPTION

[0003] The present invention relates to a method for automating software updates of network participants, in particular switches.

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

[0005] This programmable logic and / or software should be updated for security reasons and / or changes in functionality. Typically, firmware updates are installed and deployed individually on network devices. On the one hand, this can be a relatively complex process in large networks, as each device must be updated individually and manually. On the other hand, such an approach also carries the risk that individual network devices will not be updated (either because they are forgotten or because the update is not installed correctly without being noticed).

[0006] Experience shows that even if all switches are purchased at the same time but through different sales channels, they often have different software versions. Due to the way firmware updates are performed (described above), updating these software versions to the same, preferably the latest, version often proves to be very time-consuming and labor-intensive. SW = Software.

[0007] One approach to solving this problem is to use a network management tool to deploy the firmware update to multiple devices in the network at once. However, the risk of forgotten switches or failed updates remains. The objective of the present invention is therefore to resolve the aforementioned problems and provide a secure method for software updates for switches in order to bring as many switches in a network as possible up to date.

[0008] This problem is solved with the features of the claim.

[0009] A network device is defined as the firmware master. When the device is updated with new firmware, the network subsequently enters a temporary "self-organization phase" or "update phase." The firmware master distributes the firmware to neighboring devices, initiating an update for these devices. After a successful update, these devices, in turn, distribute the firmware image to their neighbors, where they initiate the update. The firmware image is only passed on to those neighbors who have a different firmware version installed.

[0010] Possible implementations as well as additions and the rule for this property would be:

[0011] - For image transfer from one switch to another, an FTP server could be implemented on all switches.

[0012] - Distribution of information about firmware versions of individual devices could be realized using LLDP (Link Layer Discovery Protocol).

[0013] - The firmware version delivered by the firmware master is always the one to which all devices should be updated. This can potentially lead to downgrades for devices on the network that already have a newer firmware version installed. However, it allows all devices on the network to be securely updated to the same version, which is determined by the firmware master.

[0014] - Alternatively: A higher firmware version is always "the better one," which prevails on the network and eventually replaces the lower firmware versions on all devices. - Firmware images may only be shared between identical or software-compatible devices. Where this is not possible and different firmware versions could subsequently exist, a warning message should be displayed.

[0015] - It would certainly also be possible to transfer the firmware between the neighboring switches using HTTP.

[0016] - Another possible solution would be to use a distributed / decentralized configuration protocol.

[0017] - The functionality of the SNMP agent (client) on the switch could also be used for this purpose. The switch with the "better" firmware image could, in a sense, "remotely control" the switch with a "worse" firmware version by setting its MIB variables using the SNMP agent.

[0018] - It would probably also be useful to make this feature of adopting the "better" firmware version from the neighboring switch switchable and deactivatable using a configurable parameter (e.g. a so-called AcceptBetterNeighbor firmware).

[0019] ADVANTAGES OF THE IDEA:

[0020] - This would provide an elegant way to solve the annoying problem of firmware updates and firmware version consistency in a network of any size, completely automatically.

[0021] - To do this, you would only have to install the newer firmware on one device and then leave the network to "take care of itself".

[0022] This automatic firmware update would not require any external entities such as PCs or a technician, nor any additional programs such as SNMP batches or Industrial HiVision. After the firmware update, it may be necessary to restart the devices (= network devices - network participants) via a boot process. The boot process can also be automated within the framework of the proposed procedure. Such automation is shown as an example in Figures 1 to 5.

Claims

PATENT CLAIMS 1. A method for automating software updates of network participants, wherein a firmware master and several network participants can communicate with each other in a network, characterized in that the firmware master manually receives a new firmware, the firmware master then distributes this new firmware to all neighboring network participants, the network participants, after receiving the new firmware, check it for compatibility and, if compatible, independently execute an update process and then distribute the new firmware again to all neighboring network participants.

2. Method according to claim 1, characterized in that the firmware master is integrated into a network participant.

3. Method according to claim 1 or 2, characterized in that the firmware master receives the new firmware via an FTP connection.

4. Method according to one of claims 1 to 3, characterized in that neighboring network participants are identified via a Link Layer Discovery Protocol (LLDP). A method according to any one of claims 1 to 4, characterized in that the distribution to neighboring network participants is carried out via FTP. A method according to any one of claims 1 to 4, characterized in that the distribution to neighboring network participants is carried out via HTTP or HTTPS. A method according to any one of claims 1 to 6, characterized in that, for compatibility checking, the network participant is identified and the firmware is compared to an entry within the network participant's firmware. A method according to claim 7, characterized in that the identity of the network participant is determined via a product number, an order designation, an order number, or the like. A method according to any one of claims 1 to 8, characterized in that, for compatibility checking, the installed firmware version is determined and the update process is only carried out if a newer firmware version is available.A method according to any one of claims 1 to 9, characterized in that the distribution of the firmware to the neighboring network participants is carried out by the network participant that is currently being updated. A method according to any one of claims 1 to 9, characterized in that the distribution of the firmware to the neighboring network participants is carried out by the firmware master. A method according to any one of claims 1 to 11, characterized in that the firmware is stored in a buffer of the respective network participants. A method according to any one of claims 1 to 12, characterized in that the distribution to neighboring network participants is carried out using an individual, in particular company-specific, image transfer protocol. A method according to any one of the preceding claims, characterized in that the firmware is deleted from the buffer after distribution to neighboring network participants. A method according to any one of claims 1 to 14, characterized in that the network participants are switches, routers, PC stations, or the like.