Redundant storage of configurations including neighbor relationships for network devices

By setting up local storage on the network device and using topological fingerprints to identify the location, the file name of the configuration file is generated, the configuration file is stored locally or on the server, and the P2P protocol is used to store and read the configuration file, which solves the problem of configuration duplication when the device is replaced. Issues of time-consuming and manual operation errors are eliminated, and automated configuration and cost savings are achieved.

CN114946163BActive Publication Date: 2024-09-10HIRSCHMANN AUTOMATION AND CONTROL GMBH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202080093205.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-01-15
Filing Date
2020-10-06
Publication Date
2024-09-10
Estimated Expiration
2040-10-06

AI Technical Summary

Technical Problem

The existing technology requires external storage media for configuration copying when replacing network equipment, and the configuration copying process is time-consuming and does not avoid manual operation errors, and the use cost of additional components is high.

Method used

By setting up non-volatile local memory on the network device, and using topological fingerprints or neighboring devices to identify the location, the file name of the configuration file is generated, the configuration file is stored locally or on the server, and the P2P protocol is used to store and read the configuration file. to avoid the use of external storage media.

Benefits of technology

It realizes automatic recognition and application of configuration when equipment is replaced, saves costs, avoids manual operation errors, simplifies the configuration process, and improves the efficiency of equipment replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114946163B_ABST
    Figure CN114946163B_ABST
Patent Text Reader

Abstract

The invention relates to a method for allocating the configuration of network devices (1, 2, 3, 4, 5, 6, 7, 8). The network devices are connected to at least one network (11). At least two network devices (1, 2, 3, 4, 5, 6, 7, 8) are connected to the network (11) via a port (9). In addition, all network devices (1, 2, 3, 4, 5, 6, 7, 8) are provided with a unique identifier that can be determined and at least one memory (10) is used, which is assigned to at least one network device (1, 2, 3, 4, 5, 6, 7, 8). The memory is implemented in addition to the local memory of each network device. According to the invention, at least one network device (1, 2, 3, 4, 5, 6, 7, 8) has a device for determining a position, by which the position of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is determined. According to the invention, the configuration of at least one network device (1, 2, 3, 4, 5, 6, 7, 8), including the position, is then stored in the memory (10) of the other network members (1, 2, 3, 4, 5, 6, 7, 8). The configuration file can then be used to configure a replaced network device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for distributing the configuration of a network device. The distribution of the configuration according to the invention can be used to automatically configure an unconfigured network device, for example a replacement device that has just been put into operation. Background Art

[0002] Many devices used in the network need to be configured in order to operate properly, and the configuration is mostly in the form of configuration files. The configuration is usually stored on the network device itself, more precisely in the following form, that is, the configuration is stored in a non-volatile storage area, and the device uses the configuration after a possible restart to enter the state before the restart was triggered again.

[0003] If a device has to be replaced by a device of the same type due to damage or other fault characteristics, the data stored on the device are usually no longer available and cannot be stored on the newly replaced device. For this reason, according to the prior art, external storage media are used, which are connected to the device in continuous operation and on which the original configuration file or at least a copy of the configuration file is located. In the case of replacing a device, an external memory is connected to the new device and the replaced network device reads the configuration from the external storage medium in order to set up the configuration of the replaced device so that its characteristics correspond to the characteristics of the network device to be replaced.

[0004] However, the disadvantage of this type of configuration of new equipment is that the use of additional components, such as external memory, is mandatory. In addition, it is time-consuming for the network equipment to read regularly in order to reload the corresponding configuration for the network equipment when possible.

[0005] For this purpose, methods for self-configuration are known from the prior art, for example EP 0 241 678 A2 discloses a method for self-configuration in a ring-shaped network. Here, it is determined which devices are present in the ring-shaped network so that a corresponding request can be made when replacing a device. Then, in order to configure the new device, the corresponding configuration must be sent to the new device via the network.

[0006] WO 2008 / 082587 A1 discloses a further method for configuring a network device, wherein parameters for normal use of the network are transmitted. This occurs after a request from the network device to be reconfigured. The corresponding peripheral devices connected to the network device are not taken into account. Summary of the invention

[0007] The object of the present invention is therefore to specify a method for distributing the configuration of a network device, in which the configuration is not only stored locally on the network device to be replaced but can therefore be retrieved and used by the replacement device after connection to the network.

[0008] The object is achieved by a method for distributing a configuration of a network device by means of at least one network.

[0009] To this end, a method is proposed with at least one network to which a network device can be connected. All types of devices with a network interface are suitable as network devices, wherein the network interface can be wired or wireless. Thus, by way of example, a computer, a tablet computer, a printer, a scanner, a router, a monitor or a television can be referred to as a network device.

[0010] The method according to the invention requires at least two network devices, which are connected to the network via ports. For this purpose, the network devices can have a plurality of ports, via which further peripheral devices are connected.

[0011] According to the present invention, the network device is provided with a determinable, unique identification, which can be a simple name, a Mac address or an ID.

[0012] Finally, at least one of the network devices connected to the network is equipped with a memory, by means of which the configuration required for the network device can be stored and read. These memories are non-volatile and are provided in addition to the local memory of the network device.

[0013] According to the invention, the network device to be configured has means for position determination. The position of the network device is determined by means of these position determination means.

[0014] In particular, two methods are proposed for determining the position. The position can be determined by means of a topological fingerprint or by means of the neighboring devices of the network device to be configured knowing which device was connected to the location to be configured.

[0015] In this context, a character string is understood to be a topological fingerprint, which can be interpreted, for example, as a file name for a configuration file. The configuration of the device is then present as content in the file.

[0016] In order to create such a string, it is recommended to determine the devices connected in the neighborhood and read their unique identifications. These identifications are then stored successively as a string. The string can then be used as the file name of the configuration file.

[0017] As an addition, in a special embodiment, the port number of the network device to be configured, under which the adjacent network device is connected, can be read. Then, the character string used in this way is composed of the used port number and the identifier of the adjacent network device connected to the port number.

[0018] By means of the character string generated in this way, which can represent a partial file name of a configuration file, the network device to be configured can unambiguously create a dedicated configuration file and initially store it locally. According to the invention, provision is made for the configuration file to be stored in a memory of another network device.

[0019] As an alternative to the topological fingerprint, the own identification is stored on neighboring network devices, so that the neighboring network devices can recognize the network device to be configured and determine their own position from this.

[0020] According to the invention, after determining the position of a network device, the corresponding configuration including the position is stored in the memory of other network members. In a special embodiment, it can also be provided that the configuration is stored in a specific network member or distributed so that it is then present in multiple memories of the network device.

[0021] The network device that stores the configuration on its memory can be determined according to specific rules. The rule can be, for example, that the neighbor with the fewest neighbors is selected first. This prevents a device with multiple neighbors from having to store multiple configuration files.

[0022] After selecting a candidate (network device) suitable for storage, the configuration file is transferred to the corresponding device and stored there in a non-volatile manner. As is known from the prior art, in addition to local storage of the configuration file, the storage is also implemented in the form of a copy. If there is a server in the network, it is also possible to provide for the configuration file to be stored centrally on the server.

[0023] Configuration files can be stored on a fixed schedule or every time a configuration change occurs on a network member.

[0024] In the case of a network device failure, it must be removed and replaced with a new, factory-fresh network device at the same location, thereby reestablishing all connections that the failed device had in the same manner. In this case, the replacement device recognizes that the configuration does not exist and exchanges information with other network devices in the network to obtain the configuration files set for it.

[0025] For this purpose, it is again proposed to perform location identification as described above. Thus, the corresponding configuration files are identified by name as described above, so that the network device to be configured can now read its configuration file and apply it.

[0026] In a special embodiment, the storage of the configuration file can be encrypted. It can also be compressed to save storage space. Compression and encryption can also be implemented in combination.

[0027] In order to realize data exchange between different network devices, a suitable peer-to-peer protocol (P2P) is proposed. For this purpose, the configuration files to be stored are sent to the relevant members by means of this protocol and read again if necessary. The relevant protocols for this are already sufficiently known from the prior art.

[0028] In a special embodiment, it is proposed that at least one display device is provided and that parameters that can be visualized on the display device are generated for the status of the individual network devices. As a result, the status of the network devices and / or the configuration can be visible on the display device at any time.

[0029] The parameters generated above may include, in particular, how often and on which network devices the configuration is stored, whether configuration files with the same name have the same content, the number of network devices involved in the method, free and occupied memory of network members and / or tables about adjacent network devices and their states.

[0030] In a special embodiment, it is suggested that the configuration is not stored on a common network device, but is centrally stored on a server. Then, as mentioned above, the configuration file is stored on the server according to the rules and retrieved therefrom.

[0031] In another embodiment, the configuration is not stored completely in the configuration file, but only to the extent that the remaining configuration data that is still missing is loaded from a central location or other network devices. The configuration file is thus divided into a plurality of sub-files and these sub-files are stored on a plurality of network devices.

[0032] In a further special embodiment it is proposed that the communication protocol is not only a P2P protocol but can also include an extended neighborhood of network devices. This can be achieved by providing a protocol field which contains, for example, a transmission level (time-to-live: TTL).

[0033] Then, the sender of the protocol message sets the value to 2, for example, so that the protocol message does not reach the next network device next to the sender, but the next device. The first recipient of the message and thus the direct neighbor of the sender checks whether the value contained in the message is greater than 1. If this is the case, the first recipient forwards the message to all other ports and simultaneously reduces the TTL value by one. Subsequent recipients of the message recognize the 1 in the protocol and respond to the message accordingly. Thus, the sender of the message can determine whether a request or addressing should be made to a direct neighbor or a network device that is far away.

[0034] When such a protocol field is used, the original TTL value must also be retained in the protocol so that, when the corresponding network device responds, this value can be used for the responding protocol packet in order to reach the sender of the message again in the reverse direction.

[0035] The advantages achieved by means of the invention consist in particular in that each network device can dispense with the use of additional components by means of which the configuration is stored in existing neighboring devices or, optionally, on a server, thereby making it possible to save costs.

[0036] At the same time, possible erroneous manual operations when disconnecting the additional component from the network device to be swapped out and reconnecting it to the device to be swapped in are avoided. Only the disconnected connection of the device to be swapped in and the device to be swapped out must be connected in the same way in order to be able to identify and set the configuration with the aid of the claimed method. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Other features of the present invention are obtained from the accompanying drawings. The accompanying drawings are as follows:

[0038] Figure 1 A method according to the invention for distributing a configuration in a network is shown.

[0039] Figure 2 Show Figure 1 The method according to the invention for distributing a configuration in a network is described in detail herein, but with an additional network device as server. DETAILED DESCRIPTION

[0040] Figure 1 A network 11 is shown for applying the method according to the invention for distributing the configuration of network devices 1, 2, 3, 4, 5, 6, 7. The network 11 shown is partially designed as a ring, but partially designed as a star. However, in order to apply the method according to the invention, it is not necessary to have a specific network topology. The method can be applied to all known networks.

[0041] Network devices 1, 2, 3, 4, 5, 6, 7 are provided in the network 11. The network interface itself is implemented via the port 9, so that each network device 1, 2, 3, 4, 5, 6, 7 can access any other network device 1, 2, 3, 4, 5, 6, 7.

[0042] also, Figure 1 At least one network device 5 has a memory 10. Data can be stored in this memory, for example as files, and read out. The memory 10 can be regarded as a supplement to the local storage possibilities of each network device.

[0043] Figure 1 The network devices 1, 2, 3, 4, 5 shown in the figure can be, for example, network routers or hubs, to which two computers 6, 7 are connected by way of example. However, the method is not limited to this type of network device. On the contrary, all types of network devices can be used.

[0044] According to the method according to the invention, at least one network device 1, 2, 3, 4, 5, 6, 7 is equipped with means for position determination. These position determination means locate the at least one network device 1, 2, 3, 4, 5, 6, 7 so that it has a defined position in the network 11.

[0045] According to the invention, the method now proposes to store the configuration of the at least one network device 1, 2, 3, 4, 5, 6, 7, including the position read by the position determination device, in the memory 10 of the other network devices 1, 2, 3, 4, 5, 6, 7. That is to say, for example, if the method is to be carried out on network device 4, the position of network device 4 is determined by the position determination device and the configuration of network device 4 is stored in the memory 10 of network device 5.

[0046] exist Figure 1 In the example, only one network member (5) of the network members 1, 2, 3, 4, 5, 6, 7 is equipped with a memory 10. However, more storage possibilities are also conceivable, such as in particular Figure 2 As shown in .

[0047] In order to be able to determine which network device 1, 2, 3, 4, 5, 6, 7 is provided with a memory 10 and in which memory 10 the configuration can be stored, rules can be defined for the method according to the invention. These rules then clearly determine which memory 10 must be accessed to store or read a configuration.

[0048] If the aforementioned exemplary network device 4 stops operating because it is damaged or shows other fault characteristics, it must be replaced with a brand new device with the same structure. Then, the position of this new device is determined in the same way using the aforementioned method. Since there is no configuration in the new device, an attempt is made to find the corresponding configuration. For this purpose, the network device 4 to be configured is identified by means of position determination and its assigned configuration file is also identified, that is, taking the position into account. The configuration file is read out from the corresponding memory 10 via the aforementioned rules and applied in the network device 4.

[0049] Figure 2 The situation is shown in which, in addition to the other network devices 1, 2, 3, 4, 5, a server 8 is also present, which likewise has a memory 10. This shows a network 11 having two memories 10. By means of corresponding rules, it can now be determined in which memory 10 the configuration is stored.

[0050] On the one hand, it is conceivable to store all configurations centrally on the server 8, but it is also conceivable to distribute the configurations on a plurality of memories 10. This increases the availability of the configuration files in the entire system.

[0051] The connection of the present invention is not limited to the aforementioned features, on the contrary, other embodiments can be envisioned. Therefore, it is feasible to use the FTP protocol instead of the P2P protocol. In addition, it is conceivable that all network devices are equipped with a memory, wherein the memory 10 used is always regarded as a supplement to the configured local memory. However, it is also conceivable that no local memory is provided and only configuration files can be stored centrally, for example on a server. However, when starting the network, it is possible that all network devices must read the configuration from the server and apply it.

Claims

1. A method for distributing the configuration of network devices (1, 2, 3, 4, 5, 6, 7, 8) by means of at least one network (11), to which each network device (1, 2, 3, 4, 5, 6, 7, 8) can be connected, the network having at least two network devices (1, 2, 3, 4, 5, 6, 7, 8), the at least two network devices being connected to the network (11) via a port (9), wherein: The network device (1, 2, 3, 4, 5, 6, 7, 8) is provided with a unique identifier that can be determined, the network has at least one memory (10), and the memory is assigned to at least one network device (1, 2, 3, 4, 5, 6, 7, 8), characterized in that at least one network device (1, 2, 3, 4, 5, 6, 7, 8) has a device for determining a position, the position of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is determined by the device, and the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) including the position is determined. The configuration including the position of at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is stored in the memory (10) of another network member, and the configuration including the position of at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is stored in at least one memory (10) of another network member according to a predeterminable rule, wherein if there is no server in the network, the following rule is specified, namely: the storage is performed in the memory (10) of the network member that has the fewest neighboring network members; if there is a server in the network, the following rule is specified, namely: the storage is performed in the memory (10) of the network member that serves as the server (8).

2. The method according to claim 1, characterized in that The configuration, including the position, of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is stored on a plurality of memories (10) of other network members.

3. The method according to claim 1, characterized in that The configuration, including the position, of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is stored each time a configuration change occurs.

4. The method according to any one of claims 1 to 3, characterized in that The storage of the configuration, including the position, of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is carried out according to a predeterminable schedule.

5. The method according to any one of claims 1 to 3, characterized in that The device determines the position of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) when the configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) does not exist, and the configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) including the position is loaded from the memory of other network members and applied.

6. The method according to any one of claims 1 to 3, characterized in that The identifiers of the neighboring network devices (1, 2, 3, 4, 5, 6, 7, 8) are determined as means for position determination and used as character string.

7. The method according to claim 6, characterized in that The port (9) to which the adjacent network device is connected is added to the string.

8. The method according to claim 6, characterized in that The string is encrypted by an algorithm.

9. The method according to claim 8, characterized in that The string is encrypted by a hash algorithm.

10. The method according to any one of claims 1 to 3, characterized in that The configuration is stored as a configuration file and the configuration file can be encrypted and / or compressed.

11. The method according to any one of claims 1 to 3, characterized in that Parameters can be generated and displayed on at least one display device in order to visualize the state of the network mechanism (1, 2, 3, 4, 5, 6, 7, 8) and / or the configuration.

12. The method according to any one of claims 1 to 3, characterized in that The configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is not stored completely but distributed across a plurality of memories (10) of other network members.

13. The method according to any one of claims 1 to 3, characterized in that The configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is stored via a suitable point-to-point protocol (P2P).

14. The method according to any one of claims 1 to 3, characterized in that The configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is carried out by means of a suitable protocol taking into account the distance to other network members in whose memory the configuration of the at least one network device (1, 2, 3, 4, 5, 6, 7, 8) is to be stored.

Citation Information

Patent Citations

  • Method for self-configuring terminals in a data processing system

    EP0241678A2

  • Method and apparatus for base station self configuration

    WO2008082587A1

  • Distributed configuration management on a network

    US20020099787A1

  • Method and system for location based configuration of a wireless access point (WAP) and an access device in a hybrid wired / wireless network

    US20040051664A1

  • System and method for a distributed fault tolerant network configuration repository

    US20110185047A1