DE102009006411A1 - Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device - Google Patents

Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device Download PDF

Info

Publication number
DE102009006411A1
DE102009006411A1 DE200910006411 DE102009006411A DE102009006411A1 DE 102009006411 A1 DE102009006411 A1 DE 102009006411A1 DE 200910006411 DE200910006411 DE 200910006411 DE 102009006411 A DE102009006411 A DE 102009006411A DE 102009006411 A1 DE102009006411 A1 DE 102009006411A1
Authority
DE
Germany
Prior art keywords
configuration
description
file
generating
files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
DE200910006411
Other languages
German (de)
Inventor
Thorsten Hartwig
Rainer Mark
Gerhard Schawe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens AG
Original Assignee
Siemens AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens AG filed Critical Siemens AG
Priority to DE200910006411 priority Critical patent/DE102009006411A1/en
Publication of DE102009006411A1 publication Critical patent/DE102009006411A1/en
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information

Abstract

The method involves generating description (2) of a device e.g. switch, from parameter files (3), which describes device-parameters, and description files (4) i.e. XML-files, which include rules for testing dependency of device-parameters among each other. The description of the device is stored in the device and is compiled using a complier (5). Configuration files for the device and a configuration tool are generated from the compiled description of the device. The description files include information for representing the device-parameters at a user interface. Independent claims are also included for the following: (1) a computer program product having instructions to perform a method for generating configuration files for a device and a configuration tool (2) a device for generating configuration files for a device and a configuration tool.

Description

Die vorliegende Erfindung betrifft ein Verfahren und eine Vorrichtung zum Generieren von Konfigurationsdateien für mindestens ein Gerät und ein Konfigurationstool für dieses Gerät. Ferner betrifft die vorliegende Erfindung ein Computerprogrammprodukt mit computerausführbaren Instruktionen zur Durchführung des Verfahrens.The The present invention relates to a method and an apparatus to generate configuration files for at least one device and a configuration tool for this Device. Furthermore, the present invention relates to a computer program product with computer-executable Instructions for implementation of the procedure.

Herkömmlich werden intelligente Netzwerkkomponenten wie Switches oder Router, z. B. für ein Ethernet, online konfiguriert. Für solch eine Onlinekonfiguration meldet sich ein Inbetriebnehmer der Netzwerkkomponente oder ein Netzwerkmanager auf dem Gerät an, z. B. mittels Web-Oberfläche oder serieller Schnittstelle, um dann über eine Bedienoberfläche (Eingabemaske) oder ein Script Betriebsparameter der Netzwerkkomponente einzustellen. Damit keine inkonsistenten Betriebsparameter eingestellt werden können kommen Regeln zum Einsatz, welche Abhängigkeiten zwischen den einzelnen Parametern prüfen.Become conventional intelligent network components such as switches or routers, eg B. for an ethernet, configured online. For Such an online configuration is reported by a commissioning person of the network component or a network manager on the device, such as B. by web interface or serial Interface, then over a user interface (Input mask) or a script operating parameter of the network component adjust. So that no inconsistent operating parameters are set can be Rules are used, which dependencies between the individual Check parameters.

Um eine Einstellung beziehungsweise Konfiguration der Parameter mit einem entsprechenden Konfigurationstool (z. B. SINEMA Advanced der Firma Siemens AG) offline durchführen zu können, muss sichergestellt sein, dass mindestens die gleichen Prüfungen der Parameter auf Konsistenz durchgeführt werden wie auf der Netzwerkkomponente selbst. Mit anderen Worten müssen auch bei einer Offlinekonfiguration die Regeln der Onlinekonfiguration zum Einsatz kommen, um die Abhängigkeit zwischen den einzelnen Parametern prüfen zu können. Allerdings unterscheiden sich üblicherweise die Rahmenbedingungen für die Offlinekonfiguration und die Onlinekonfiguration. Bei der Onlinekonfiguration wird über einen Browser (z. B. Microsoft Internet Explorer) auf die Netzwerkkomponente zugegriffen. Denn herkömmliche Netzwerkkomponenten enthalten einen Web-Server, der eine entsprechende Web-Oberfläche für die Konfiguration von Parametern bereitstellt. Für die Offlinekonfiguration wird dagegen üblicherweise ein umfangreiches Konfigurationstool bereitgestellt, welches sich nicht so einfach bedienen lässt, insbesondere nicht über eine Web-Oberfläche.Around a setting or configuration of the parameters with an appropriate configuration tool (eg SINEMA Advanced der Company Siemens AG) offline to be able to be sure that at least the same exams of the Parameters are performed on consistency as on the network component yourself. In other words, you have to even with an offline configuration the rules of online configuration be used to the dependence between check the individual parameters to be able to. However, they usually differ the framework for the offline configuration and the online configuration. In the online configuration is via a Browser (for example, Microsoft Internet Explorer) to the network component accessed. Because conventional Network components include a web server that has an appropriate web interface for configuring Provides parameters. For the offline configuration, on the other hand, usually becomes extensive Configuration tool provided, which are not so easy to use leaves, especially not over a web interface.

Ein einfaches Kopieren einer Konfigurationsdatei der Netzwerkkomponente, welche notwendig ist, um die Parameter konfigurieren und das Einhalten von Regeln bei der Konfiguration prüfen zu können, in das Konfigurationstool für eine Offlinekonfiguration ist nicht möglich. Denn die Regeln für eine Prüfung und Darstellung der Konfigurationsparameter der Netzwerkkomponente sind in der Firmware der Netzwerkkomponente implementiert. Das heißt, die Konfigurationsdatei ist auf der Netzwerkkomponente im Firmwarecode (hardcoded) hinterlegt. Aus diesem Grund kann die Konfigurationsdatei der Netzwerkkomponente nicht einfach kopiert werden, sondern muss für das Konfigurationstool nachprogrammiert werden. Dazu wird die Konfigurationsdatei in einer für das Konfigurationstool geeigneten Sprache separat implementiert, um eine konsistente Offlinekonfiguration durchführen zu können.One simple copying of a configuration file of the network component, which is necessary to configure the parameters and to comply configuration rules in the configuration tool for one Offline configuration is not possible. Because the rules for an exam and representation of the configuration parameters of the network component are implemented in the firmware of the network component. That is, the configuration file is stored on the network component in firmware code (hardcoded). For this reason, the configuration file of the network component not simply copied, but must be reprogrammed for the configuration tool. For this purpose, the configuration file is in a suitable for the configuration tool Language implemented separately to a consistent offline configuration carry out to be able to.

Eine solche manuelle Nachbildung der Konfigurationsdatei führt jedoch häufig zu Fehlern und Problemen, da beispielsweise Teile der Konfigurationsdatei der Netzwerkkomponente falsch verstanden beziehungsweise interpretiert werden. Dadurch ist es bei herkömmlichen Lösungen äußerst schwierig und kompliziert, die Offline- und Onlinekonfiguration konsistent zu halten. Beispielsweise geht ein Update des Konfigurationstools für eine Offlinekonfiguration nicht immer konform mit einem Update der Netzwerkkomponente, da es aufgrund der Nachprogrammierung kompliziert und schwierig ist, beide Tools auf dem gleichen Stand zu halten.A however, such manual replication of the configuration file results often for errors and problems, for example, parts of the configuration file the network component misunderstood or interpreted become. This makes it conventional Solutions extremely difficult and complicated, the offline and online configuration consistent to keep. For example, an update of the configuration tool for one Offline configuration not always compliant with an update of the network component, because it is complicated and difficult due to the reprogramming is to keep both tools on the same level.

Aufgrund der manuellen Nachbildung der Konfigurationsdatei ist es ferner äußerst schwierig, auf dem Konfigurationstool für eine Offlinekonfiguration eine gleiche oder möglichst ähnliche Bedienoberfläche bereitzustellen wie auf der Netzwerkkomponente (Web-Oberfläche). Dadurch wird der Benutzer komfort bei einer Offlinekonfiguration stark eingeschränkt. Auch aus diesem Grund werden Netzwerkkomponenten weiterhin meist online konfiguriert, obwohl das Durchführen einer Offlinekonfiguration häufig sinnvoll oder notwendig wäre.by virtue of It is also extremely difficult to manually rebuild the configuration file the configuration tool for an offline configuration to provide the same or as similar as possible user interface as on the network component (web interface). This will comfort the user severely limited in an offline configuration. Also for this reason network components are still mostly configured online though performing an offline configuration frequently would be useful or necessary.

Daher liegt der vorliegenden Erfindung die Aufgabe zu Grunde, Konfigurationsbedingungen in einem Gerät und in einem Konfigurationstool für dieses Gerät auf einfache und zuverlässige Art und Weise konsistent zu halten.Therefore The present invention is based on the object configuration conditions in a device and in a configuration tool for this device to simple and reliable Consistent manner.

Die der Erfindung zu Grunde liegende Aufgabe wird mit den Merkmalen der unabhängigen Patentansprüche gelöst. Bevorzugte Ausführungsformen der Erfindung sind in den abhängigen Patentansprüchen angegeben.The The object underlying the invention is with the features the independent one claims solved. Preferred embodiments of Invention are in the dependent claims specified.

Durch die Erfindung werden ein Verfahren und eine Vorrichtung zum Generieren von Konfigurationsdateien für mindestens ein Gerät und ein Konfigurationstool für dieses Gerät geschaffen. Erfindungsgemäß umfasst eine Gerätebeschreibung für dieses Gerät, welche mit geeigneten Mitteln wie z. B. einem Prozessor erzeugt wird, nicht nur mindestens eine Parameterdatei, welche die Geräteparameter beschreibt, sondern auch mindestens eine Beschreibungsdatei, welche Regeln zum Überprüfen von Abhängigkeiten der Geräteparameter untereinander enthält.By The invention will be a method and apparatus for generating of configuration files for at least one device and a configuration tool for this device created. According to the invention a device description for this Device, which by suitable means such. B. generates a processor not just at least one parameter file describing the device parameters, but also at least one description file, which rules for checking dependencies the device parameter contains one another.

Geräteparameter sind üblicherweise in so genannte MIB(Management Information Base)-Objekte aufgeteilt, in welchen einzelne Parameter tabellarisch aufgeführt werden. Diese MIB-Objekte sind jeweils spezifisch für ein bestimmtes Gerät oder eine Klasse von Geräten und können über das SNMP(Simple Network Management Protocol)-Protokoll auf das entsprechende Gerät geladen werden. Die MIB-Objekte werden wiederum in MIB-Dateien beschrieben, das heißt, die MIB-Dateien enthalten MIB-Objekte. Die MIB-Dateien beschreiben nur die Geräteparameter, aber keine Abhängigkeiten dazwischen. Denn MIB-Dateien können keine Regeln festlegen, um Abhängigkeiten der Parameter untereinander zu überprüfen, da dafür keine Sprache existiert, um solche Regeln definieren zu können. Daher wird er findungsgemäß eine Gerätebeschreibung erzeugt, welche nicht nur MIB-Dateien sondern auch die Beschreibungsdatei für die Regeln enthält. Die Beschreibungsdatei wird beispielsweise vom Gerätehersteller bereitgestellt und in die Gerätebeschreibung integriert.Device parameters are usually in such divided MIB (Management Information Base) objects in which individual parameters are tabulated. Each of these MIB objects is specific to a particular device or class of devices and can be loaded onto the appropriate device via the SNMP (Simple Network Management Protocol) protocol. The MIB objects are again described in MIB files, that is, the MIB files contain MIB objects. The MIB files describe only the device parameters, but no dependencies in between. Because MIB files can not specify rules to check dependencies of the parameters with each other, as there is no language to define such rules. Therefore, according to the invention, a device description is generated which contains not only MIB files but also the description file for the rules. The description file is provided, for example, by the device manufacturer and integrated into the device description.

Mittels eines Compilers wird die Gerätebeschreibung kompiliert. Der Compiler muss dabei so ausgebildet sein, dass er die Dateiformate der mindestens einen Parameterdatei und der mindestens einen Beschreibungsdatei verarbeiten kann. Durch eine entsprechende Kompilierung der Gerätebeschreibung werden unterschiedliche Konfigurationsdateien für das mindestens eine Gerät und das Konfigurationstool erzeugt, welche beispielsweise als erste und zweite Konfigurationsdatei bezeichnet werden können. Die generierten Konfigurationsdateien werden in mindestens einem Speicher der Vorrichtung abgelegt, um sie zu einem beliebigen Zeitpunkt dem Konfigurationstool beziehungsweise dem Gerät bereitstellen zu können.through a compiler becomes the device description compiled. The compiler must be designed so that it the file formats of the at least one parameter file and the at least one Can handle description file. By an appropriate compilation the device description will be different configuration files for the at least one device and the Configuration tool generated, for example, as the first and second configuration file can be called. The generated configuration files are stored in at least one memory of the device to them at any time the configuration tool or to the device to be able to.

Die Konfigurationsdateien werden somit aus der kompilierten Gerätebeschreibung generiert. Dabei erzeugt der Compiler die jeweils benötigten Dateiformate der Konfigurationsdateien, um sie in dem mindestens einen Gerät beziehungsweise in dem Konfigurationstool für dieses Gerät implementieren zu können. Aufgrund dieser Vorgehensweise enthalten die Konfigurationsdateien nicht nur die mindestens eine Parameterdatei sondern zusätzlich die mindestens eine Beschreibungsdatei, welche die Regeln zum Überprüfen von Abhängigkeiten der Geräteparameter untereinander enthält. Wird nun die so generierte Konfigurationsdatei in dem mindestens einen Gerät eingesetzt, kann in dem Gerät die Prüfung der an das Gerät gesendeten oder über eine Anwenderoberfläche eingestellten Betriebsparameter auf Konsistenz durchgeführt werden. Gleiches gilt für das Konfigurationstool, in welchem durch die entsprechende generierte Konfigurationsdatei die erforderlichen Prüfungsregeln, welche identisch zu denen des Geräts sind, implementiert werden können. Die Konfigurationsdatei für das Konfigurationstool kann auch separat bereitgestellt werden, um sie nachträglich in ein bereits existierendes Konfigurationstool zu implementieren. Dadurch kann sichergestellt werden, dass die Konfigurationsbedingungen in dem Gerät und dem Konfigurationstool für das Gerät konsistent sind. Das heißt, in dem Konfigurationstool und dem Gerät wird die gleiche Konfiguration durchgeführt.The Configuration files are thus from the compiled device description generated. The compiler generates the required file formats the configuration files to them in the at least one device respectively in the configuration tool for this device to implement. Because of this procedure, the configuration files contain not only the at least one parameter file but additionally the at least one description file containing the rules for checking dependencies the device parameter contains one another. Will now be the so generated configuration file in the at least a device used in the device the exam the to the device sent or over a user interface adjusted operating parameters to consistency. The same applies to the configuration tool in which is generated by the corresponding Configuration file the required examination rules, which are identical to those of the device are, can be implemented. The configuration file for the configuration tool can also be provided separately, at a later date to implement in an existing configuration tool. This can ensure that the configuration conditions in the device and the configuration tool for the device are consistent. This means, in the configuration tool and the device will be the same configuration carried out.

Gemäß einer Ausführungsform der vorliegenden Erfindung enthält die Beschreibungsdatei des Weiteren Hinweise zur Darstellung der Geräteparameter auf einer Bedienoberfläche. Dadurch wird ermöglicht, eine je nach Anwendung geeignete Bedienoberfläche bereitzustellen. Beispielsweise können die zu konfigurierenden Parameter mit einer Checkbox oder in einer Drop-Down-Box dargestellt werden. Mit anderen Worten ermöglicht das Einfügen von Hinweisen zur Darstellung der Geräteparameter in die Beschreibungsdatei eine automatische Generierung verschiedener Parametrieroberflächen, über welche Geräteparameter konfiguriert werden können. Ferner kann so das Erscheinungsbild der Bedienoberflächen auf dem mindestens einen Gerät und dem Konfigurationstool einheitlich gestaltet werden, wodurch der Komfort für Anwender erhöht wird, da keine Umgewöhnung notwendig ist.According to one embodiment of the present invention the description file further hints for the presentation of the device parameters on a user interface. This will allow to provide a suitable user interface depending on the application. For example can the parameters to be configured with a checkbox or in one Drop-down box will be displayed. In other words, that allows Insert from Hints for displaying the device parameters in the description file an automatic generation of different parameterization surfaces, via which device parameters can be configured. Furthermore, so can the appearance of the user interface on the at least one device and the configuration tool uniform, whereby the Comfort for User increased will, as no getting used necessary is.

Gemäß einer weiteren Ausführungsform der vorliegenden Erfindung wird die erzeugte Gerätebeschreibung in dem Gerät gespeichert. Vorzugsweise erfolgt diese Speicherung persistent, um die Gefahr eines Datenverlusts zu reduzieren. Wird das Gerät mit der darin gespeicherten Gerätebeschreibung ausgeliefert, so kann sichergestellt werden, dass die Gerätebeschreibung zur Version des Geräts passt. Das heißt, der Gerätehersteller kann die zur Gerätefirmware passende Beschreibungsdatei auf dem Gerät hinterlegen. Dies ist insbesondere in Fällen wichtig, in denen Geräte häufig einem Firmwareupdate unterzogen werden. Somit wird gemäß diesem Ausführungsbeispiel die aktuellste Beschreibungsdatei beim Generieren der Gerätefirmware einbezogen und gleichzeitig in der Gerätebeschreibung auf dem Gerät gespeichert, wobei bei einem Firmwareupdate genauso vorgegangen wird. Somit wird sichergestellt, dass die für das Gerät geltenden Regeln zum Konfigurieren von Parametern mit den Regeln in der auf dem Gerät gespeicherten Gerätebeschreibung (Beschreibungsdatei) übereinstimmen.According to one another embodiment In accordance with the present invention, the generated device description is stored in the device. Preferably, this storage is persistent to the risk of To reduce data loss. Will the device with the stored in it Device description delivered, this can ensure that the device description for the version of the device fits. This means, the device manufacturer Can the device firmware deposit the appropriate description file on the device. This is special in cases important in which devices often undergo a firmware update. Thus, according to this embodiment the most recent description file when generating the device firmware included and at the same time stored in the device description on the device, which is the same procedure for a firmware update. Thus, will made sure that the for the device applicable rules for configuring parameters with the rules in the on the device stored device description (description file) match.

Das Konfigurationstool für das Gerät kann dann die Gerätebeschreibung aus dem Gerät auslesen und kompilieren, um so eine aktuelle Konfigurationsdatei zu generieren. Die Konfigurationsdatei für das Konfigurationstool kann dann während der Laufzeit im Konfigurationstool integriert werden. Dadurch wird sichergestellt, dass auch das Konfigurationstool die aktuellste Konfiguration bietet, welche konsistent mit der des Geräts ist. Die auf dem Gerät gespeicherte Gerätebeschreibung ist somit eine Art Quelldatei für die in dem Konfigurationstool generierte Konfigurationsdatei. Das Abrufen der Gerätebeschreibung von dem Gerät ist beispielsweise dann vorteilhaft, wenn das Gerät noch nicht im Katalog des Konfigurationstools enthalten ist.The configuration tool for the device can then read the device description from the device and compile to generate a current configuration file. The configuration file for the configuration tool can then be integrated in the configuration tool during runtime. This ensures that the configuration tool also provides the most up-to-date configuration consistent with that of the device. The device description stored on the device is thus a kind of source file for the configuration file generated in the configuration tool. Retrieving the device description from the device is advantageous, for example, if the device is not yet included in the catalog of the configuration tool.

Gemäß einer weiteren Ausführungsform der vorliegenden Erfindung umfasst der Compiler für jede zu generierende Konfigurationsdatei ein entsprechendes Backend. Die Kompilierung der Gerätebeschreibung (Programmcode) erfolgt in zwei Schritten, wobei der erste Schritt als Frontend und der zweite Schritt als Backend bezeichnet wird. Erfindungsgemäß unterscheidet sich der zweite Schritt im Compiler für unterschiedliche, zu generierende Konfigurationsdateien. Dadurch wird ermöglicht, dass aus derselben Quelle (Gerätebeschreibung) die Implementierung für das Konfigurationstool und die Implementierung für die Firmware des Geräts erzeugt werden kann. Sollen mehr als zwei unterschiedliche Konfigurationsdateien erzeugt werden, so muss der Compiler die entsprechende Anzahl an Backends besitzen.According to one another embodiment In the present invention, the compiler includes for each generating configuration file a corresponding backend. The Compilation of the device description (Program code) is done in two steps, the first step as the frontend and the second step as the backend. Different according to the invention the second step in the compiler for different, to be generated Configuration files. This will allow that out of the same Source (device description) the implementation for the configuration tool and the implementation for the firmware of the device are generated can. Should more than two different configuration files be generated, so the compiler needs the appropriate number Own backends.

Gemäß einer weiteren Ausführungsform der vorliegenden Erfindung ist die Beschreibungsdatei eine XML-Datei. Dabei enthält die Beschreibungsdatei Regeln zur Überprüfung der Abhängigkeiten der Geräteparameter untereinander, welche in der mindestens einen Parameterdatei aufgelistet sind. Vorteilhaft an XML-Dateien ist, dass sie besonders leicht zu erzeugen und zu lesen sind. Die Beschreibungsdatei kann jedoch auch in einem anderen Format bereitgestellt werden. Voraussetzung ist nur, dass die Beschreibungsdatei in einem Format bereitgestellt wird, welches der Compiler interpretieren kann.According to one another embodiment In the present invention, the description file is an XML file. It contains the description file rules for checking dependencies the device parameter among themselves, which are listed in the at least one parameter file are. An advantage of XML files is that they are particularly easy to use generate and read. However, the description file can also be provided in a different format. Requirement is just that the description file is provided in a format which the compiler can interpret.

Gemäß einer weiteren Ausführungsform der vorliegenden Erfindung ist das Gerät eine Netzwerkkomponente und das Konfigurationstool ein Konfigurationstool für eine Offlinekonfiguration der Netzwerkkomponente. Unter Netzwerkkomponenten sind insbesondere intelligente Geräte wie Switches oder Router zu verstehen, aber auch Feldgeräte wie Sensoren oder Aktuatoren, die eine Switch- oder Router-Funktionalität integriert haben. Nachdem eine Verbindung zu einer Netzwerkkomponente manchmal unterbrochen sein kann, so dass deren Onlinekonfiguration nicht möglich ist, kann eine Offlinekonfiguration notwendig werden. Die vorliegende Erfindung stellt sicher, dass die Konfigurationsbedingungen in der Netzwerkkomponente und dem Konfigurationstool konsistent gehalten werden. Das heißt, die bei der Konfiguration der Parameter einzuhaltenden Regeln sind durch die Generierung der Konfigurationsdateien für die Netzwerkkomponente und das Konfigurationstool aus der gleichen Quelldatei (Gerätebeschreibung, bestehend aus mindestens einer Parameterdatei und mindestens einer Beschreibungsdatei) identisch. Ferner kann gemäß der vorliegenden Erfindung eine Offlinekonfiguration für Anwender besonders komfortabel umgesetzt werden, wenn das Konfigurationstool gemäß der vorliegenden Erfindung eine Bedienoberfläche aufweist, die einer Bedienoberfläche bei einer Onlinekonfiguration sehr ähnlich ist.According to one another embodiment According to the present invention, the device is a network component and the configuration tool is a configuration tool for offline configuration the network component. Among network components are in particular smart devices like switches or routers, but also field devices like sensors or actuators that integrate a switch or router functionality to have. After connecting to a network component sometimes can be interrupted, so their online configuration is not possible is, an offline configuration may be necessary. The present Invention ensures that the configuration conditions in the Network component and the configuration tool become. This means, are the rules to be followed when configuring the parameters by generating the configuration files for the network component and the configuration tool from the same source file (device description, consisting of at least one parameter file and at least one Description file) identical. Further, according to the present invention an offline configuration for Users can be implemented particularly comfortably if the configuration tool according to the present Invention a user interface which has a user interface is very similar in an online configuration.

Gemäß einem weiteren Aspekt betrifft die vorliegende Erfindung ein Computerprogrammprodukt, insbesondere digitales Speichermedium, mit computerausführbaren Instruktionen zur Durchführung des Verfahrens nach einem der vorhergehenden Ansprüche.According to one In another aspect, the present invention relates to a computer program product, especially digital storage medium, with computer-executable Instructions for implementation the method according to any one of the preceding claims.

Nachfolgend werden bevorzugte Ausführungsbeispiele der Erfindung mit Bezugnahme auf die Zeichnung näher erläutert.following become preferred embodiments of the invention with reference to the drawing explained in more detail.

1 zeigt eine Vorrichtung zum Generieren von Konfigurationsdateien gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. 1 shows an apparatus for generating configuration files according to an embodiment of the present invention.

2 zeigt ein Verfahren zum Generieren von Konfigurationsdateien gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. 2 shows a method for generating configuration files according to an embodiment of the present invention.

1 zeigt eine Vorrichtung 1 zum Generieren von Konfigurationsdateien gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. Die Vorrichtung 1 umfasst Mittel (nicht gezeigt) zum Erzeugen einer Gerätebeschreibung 2 aus MIB-Dateien 3 und einer Beschreibungsdatei 4. Die MIB-Dateien 3 dienen der Beschreibung von Geräteparametern eines Geräts, für welches die Vorrichtung 1 aus der Gerätebeschreibung 2 eine geeignete Konfigurationsdatei generiert. Die Beschreibungsdatei 4 enthält Regeln zum Überprüfen von Abhängigkeiten der Geräteparameter untereinander, welche konfiguriert werden können. Ferner umfasst die Vorrichtung 1 einen Compiler 5, der aus einem Frontend 6 und zwei Backends 7, 8 besteht. Das Frontend 6 empfängt die Gerätebeschreibung 2 und kompiliert sie zu einem Zwischencode. Der Zwischencode wird dann an die Compilerbackends 7, 8 weitergeleitet, welche sich voneinander unterscheiden. Im dargestellten Ausführungsbeispiel ist das eine Backend 7 dafür zuständig, einen Code für ein Konfigurationstool zu generieren, und das andere Backend 8 dafür zuständig, einen Code für das Gerät (z. B. Netzwerkkomponente) zu generieren. Beispielsweise kann das eine Backend 7 mdd-Dateien generieren, wenn als Konfigurationstool STEP7 der Firma Siemens AG verwendet wird. Die mdd-Datei wird wiederum von STEP7 interpretiert, um ein Userinterface zu steuern. Das andere Backend 8 kann beispielsweise C++-Code für die Firmware der Netzwerkkomponente erzeugen. Der von den Backends 7, 8 erzeugte Code wird in entsprechenden Speichern 9, 10 abgelegt. Diese Codes können dann aus den Speichern geladen und in das Konfigurationstool beziehungsweise die Netzwerkkomponente implementiert werden. 1 shows a device 1 for generating configuration files according to an embodiment of the present invention. The device 1 includes means (not shown) for generating a device description 2 from MIB files 3 and a description file 4 , The MIB files 3 are used to describe device parameters of a device for which the device 1 from the device description 2 generates a suitable configuration file. The description file 4 contains rules for checking dependencies of the device parameters among each other, which can be configured. Furthermore, the device comprises 1 a compiler 5 that's from a frontend 6 and two backends 7 . 8th consists. The frontend 6 receives the device description 2 and compile it into an intermediate code. The intermediate code is then sent to the compiler bakends 7 . 8th forwarded, which differ from each other. In the illustrated embodiment, this is a backend 7 responsible for generating code for one configuration tool and the other backend 8th responsible for generating a code for the device (eg network component). For example, this can be a backend 7 Generate mdd files if STEP7 from Siemens AG is used as configuration tool. The mdd file is again interpreted by STEP7 to control a user interface. The other backend 8th For example, it can generate C ++ code for the firmware of the network component. The one from the backends 7 . 8th generated code is stored in appropriate memory 9 . 10 stored. These codes can then be loaded from the memories and into the configuration tool or the network component to be implemented.

2 zeigt ein Verfahren zum Generieren von Konfigurationsdateien für mindestens ein Gerät und ein Konfigurationstool für dieses Gerät gemäß einem Ausführungsbeispiel der vorliegenden Erfindung. In einem ersten Schritt S1 wird eine Gerätebeschreibung aus mindestens einer Parameterdatei, welche Geräteparameter des Geräts beschreibt, und mindestens einer Beschreibungsdatei erzeugt, welche Regeln zur Überprüfung von Abhängigkeiten der Geräteparameter untereinander enthält. In einem zweiten Schritt S2 wird die Gerätebeschreibung kompiliert. In einem dritten Schritt S3 wird eine erste Konfigurationsdatei für das mindestens eine Gerät und eine zweite Konfigurationsdatei für das Konfigurationstool aus der kompilierten Gerätebeschreibung generiert. 2 shows a method for generating configuration files for at least one device and a configuration tool for this device according to an embodiment of the present invention. In a first step S1, a device description is generated from at least one parameter file which describes device parameters of the device and at least one description file which contains rules for checking dependencies of the device parameters with one another. In a second step S2, the device description is compiled. In a third step S3, a first configuration file for the at least one device and a second configuration file for the configuration tool are generated from the compiled device description.

Claims (8)

Verfahren zum Generieren von Konfigurationsdateien für mindestens ein Gerät und ein Konfigurationstool für dieses Gerät, umfassend die Schritte: – Erzeugen (S1) einer Gerätebeschreibung (2) aus mindestens einer Parameterdatei (3), welche Geräteparameter des Geräts beschreibt, und mindestens einer Beschreibungsdatei (4), welche Regeln zum Überprüfen von Abhängigkeiten der Geräteparameter untereinander enthält, – Kompilieren (S2) der Gerätebeschreibung (2), und – Generieren (S3) einer ersten Konfigurationsdatei für das mindestens eine Gerät und einer zweiten Konfigurationsdatei für das Konfigurationstool aus der kompilierten Gerätebeschreibung.A method for generating configuration files for at least one device and a configuration tool for this device, comprising the steps of: - generating (S1) a device description ( 2 ) from at least one parameter file ( 3 ), which describes device parameters of the device, and at least one description file ( 4 ), which contains rules for checking dependencies between the device parameters, - Compiling (S2) the device description ( 2 ), and - generating (S3) a first configuration file for the at least one device and a second configuration file for the configuration tool from the compiled device description. Verfahren nach Anspruch 1, wobei die Beschreibungsdatei (4) des Weiteren Hinweise zur Darstellung der Geräteparameter auf einer Bedienoberfläche enthält.The method of claim 1, wherein the description file ( 4 ) also contains notes on the display of the device parameters on a user interface. Verfahren nach Anspruch 1 oder 2, wobei die Gerätebeschreibung (2) in dem Gerät gespeichert wird.Method according to claim 1 or 2, wherein the device description ( 2 ) is stored in the device. Computerprogrammprodukt, insbesondere digitales Speichermedium, mit computerausführbaren Instruktionen zur Durchführung des Verfahrens nach einem der vorhergehenden Ansprüche.Computer program product, in particular digital storage medium, with computer-executable instructions to carry out the method according to any one of the preceding claims. Vorrichtung (1) zum Generieren von Konfigurationsdateien für mindestens ein Gerät und ein Konfigurationstool für dieses Gerät, umfassend: – Mittel zum Erzeugen einer Gerätebeschreibung (2) aus mindestens einer Parameterdatei (3), welche Geräteparameter des Geräts beschreibt, und mindestens einer Beschreibungsdatei (4), welche Regeln zum Überprüfen von Abhängigkeiten der Geräteparameter untereinander enthält, – einen Compiler (5) zum Kompilieren der Gerätebeschreibung (2), und – mindestens einen Speicher (9, 10) zum Ablegen unterschiedlicher Konfigurationsdateien, welche aus der kompilierten Gerätebeschreibung generiert werden.Contraption ( 1 ) for generating configuration files for at least one device and a configuration tool for this device, comprising: means for generating a device description ( 2 ) from at least one parameter file ( 3 ), which describes device parameters of the device, and at least one description file ( 4 ), which contains rules for checking dependencies of the device parameters among each other, - a compiler ( 5 ) for compiling the device description ( 2 ), and - at least one memory ( 9 . 10 ) for storing different configuration files, which are generated from the compiled device description. Vorrichtung (1) nach Anspruch 5, wobei der Compiler (5) für jede zu generierende Konfigurationsdatei ein entsprechendes Backend (7, 8) umfasst.Contraption ( 1 ) according to claim 5, wherein the compiler ( 5 ) for each configuration file to be generated a corresponding backend ( 7 . 8th ). Vorrichtung (1) nach Anspruch 5 oder 6, wobei die Beschreibungsdatei (4) eine XML-Datei ist.Contraption ( 1 ) according to claim 5 or 6, wherein the description file ( 4 ) is an XML file. Vorrichtung (1) nach einem der Ansprüche 5 bis 7, wobei das Gerät eine Netzwerkkomponente und das Konfigurationstool ein Konfigurationstool für eine Offlinekonfiguration der Netzwerkkomponente ist.Contraption ( 1 ) according to one of claims 5 to 7, wherein the device is a network component and the configuration tool is a configuration tool for an offline configuration of the network component.
DE200910006411 2009-01-28 2009-01-28 Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device Ceased DE102009006411A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE200910006411 DE102009006411A1 (en) 2009-01-28 2009-01-28 Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE200910006411 DE102009006411A1 (en) 2009-01-28 2009-01-28 Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device

Publications (1)

Publication Number Publication Date
DE102009006411A1 true DE102009006411A1 (en) 2010-05-12

Family

ID=42096547

Family Applications (1)

Application Number Title Priority Date Filing Date
DE200910006411 Ceased DE102009006411A1 (en) 2009-01-28 2009-01-28 Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device

Country Status (1)

Country Link
DE (1) DE102009006411A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030135508A1 (en) * 2001-11-21 2003-07-17 Dominic Chorafakis Translating configuration files among network devices
US6959329B2 (en) * 2002-05-15 2005-10-25 Intelliden System and method for transforming configuration commands

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030135508A1 (en) * 2001-11-21 2003-07-17 Dominic Chorafakis Translating configuration files among network devices
US6959329B2 (en) * 2002-05-15 2005-10-25 Intelliden System and method for transforming configuration commands

Similar Documents

Publication Publication Date Title
DE19781804B4 (en) Device for simulating a real-time process control
EP1723513B1 (en) Method for configuring a computer program
DE112011103428T5 (en) Automated analysis of composite applications
EP3082000A1 (en) Method and system for testing a mechatronic system
DE102005051365A1 (en) Method for merging files and corresponding systems
DE10333088A1 (en) Method for providing access to the internal signals of a dynamic system model from outside regarding the modeling environment
EP2863277A1 (en) Method for device simulation
DE60225464T2 (en) ROBOT SYSTEM AND METHOD AND SOFTWARE FOR THE ROBOT SYSTEM
WO1999017192A1 (en) Method for configuring data processing equipment
DE102006047762B4 (en) System for testing the function of a computer network
DE102005060161A1 (en) Method for processing and generating diagnostic data in a software development process
DE102009006411A1 (en) Configuration files generating method for e.g. router for Ethernet, involves compiling description of device using complier, and generating configuration files for device and configuration tool from compiled description of device
EP1128600A1 (en) Method to draw up a communication sequence to run at least between two instances and a protocol tester therefore
EP1862901A1 (en) Input of program commands in imperative programming languages
DE102006060322A1 (en) Method for automatic testing of simulation models for software functions, involves copying one or multiple objects from simulation model on basis of selection criteria
DE102011055905A1 (en) Method for testing software in e.g. personal, involves storing entire or part of test software and/or test components in central database, where entire or part of software and/or components is downloaded for test procedure from data base
EP2329374A1 (en) Test module and method for testing an o/r imaging middleware
DE10233971A1 (en) Software generating method for a software-controlled device uses a software model implemented as data in a computer to derive software program code automatically from the model
EP1746499A1 (en) System and method for developping a software or softwarecomponent and method for operating such a software
EP1547313A2 (en) Method and device for the automatic generation of program code, documentation text and management information bases using the data of a database
DE102009017816A1 (en) Method for parameterizing operating units, involves providing technical manual in program-high level language required for controlling, where each technical manual has function and set of parameters
EP3376736A1 (en) Method and device for communications of data in a computer network and computer program with an implementation of the method
EP2085880A2 (en) Add-on mechanism for a control system or an engineering system based on a type data field
EP1241568B1 (en) Method and apparatus for entering variables into the program flow of a data processing system
DE112017005761B4 (en) Programming device

Legal Events

Date Code Title Description
OAV Applicant agreed to the publication of the unexamined application as to paragraph 31 lit. 2 z1
OP8 Request for examination as to paragraph 44 patent law
8131 Rejection