DE102017209428A1 - Method and device for identification in a computer network - Google Patents
Method and device for identification in a computer network Download PDFInfo
- Publication number
- DE102017209428A1 DE102017209428A1 DE102017209428.1A DE102017209428A DE102017209428A1 DE 102017209428 A1 DE102017209428 A1 DE 102017209428A1 DE 102017209428 A DE102017209428 A DE 102017209428A DE 102017209428 A1 DE102017209428 A1 DE 102017209428A1
- Authority
- DE
- Germany
- Prior art keywords
- node
- signal
- subnetwork
- signals
- information
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
- H04L12/2827—Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/403—Bus networks with centralised control, e.g. polling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/627—Controller area network [CAN] identifiers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
Abstract
Verfahren zur Identifikation in einem Rechnernetzwerk (100) mit einem ersten Teilnetzwerk (116), das einen ersten Knoten (116A) umfasst und einem zweiten Teilnetzwerk (112), das einen zweiten Knoten (114) umfasst, dadurch gekennzeichnet, dass Information über ein Signal empfangen wird (208), das der erste Knoten (116A) benötigt, wobei abhängig von der Information über das Signal geprüft wird (212), ob ein dritter Knoten (116B) des ersten Teilnetzwerks (116) vorhanden ist, der das Signal bereitstellt, wobei abhängig vom Ergebnis der Prüfung entweder, wenn der dritte Knoten (116B) vorhanden ist, eine Zuordnung des Signals zu dem ersten Knoten (116A) und dem dritten Knoten (116B) in einer Signalzuordnung abgespeichert wird, oder, wenn der dritte Knoten (116B) nicht vorhanden ist oder das Signal nicht bereitstellt, eine Anfrage (216) nach dem Signal an den zweiten Knoten (114) gesendet wird, eine Antwort vom zweiten Knoten (114) empfangen wird, wobei die Antwort Information über einen vierten Knoten (112B) umfasst, der das Signal bereitstellt, und eine Zuordnung des Signals zu dem ersten Knoten (116A) und dem vierten Knoten (112B) in einer Signalzuordnung abgespeichert wird. Vorrichtung und Computerprogramm ausgebildet das Verfahren auszuführen.A method of identification in a computer network (100) comprising a first subnetwork (116) comprising a first node (116A) and a second subnetwork (112) comprising a second node (114), characterized in that information about a signal (208) that the first node (116A) requires, (212) checking (212) whether there is a third node (116B) of the first subnetwork (116) providing the signal, depending on the information about the signal, depending on the result of the test, if the third node (116B) is present, an assignment of the signal to the first node (116A) and the third node (116B) is stored in a signal assignment, or if the third node (116B ) is not present or does not provide the signal, a request (216) is sent for the signal to the second node (114), a response is received from the second node (114), the response information via ei A fourth node (112B) provides the signal and an assignment of the signal to the first node (116A) and the fourth node (112B) is stored in a signal assignment. Device and computer program trained to perform the method.
Description
Stand der TechnikState of the art
Die Erfindung betrifft ein Verfahren und eine Vorrichtung zur Identifikation in einem Rechnernetzwerk. Insbesondere wird eine Topologie und eine Signalmatrix in einem einzelnen CAN Netzwerk oder einem Verbund von CAN Netzwerken identifizierbar.The invention relates to a method and a device for identification in a computer network. In particular, a topology and a signal matrix in a single CAN network or a network of CAN networks becomes identifiable.
Wünschenswert ist es demgegenüber ein verbessertes Verfahren zur Identifikation anzugeben.In contrast, it is desirable to specify an improved method for identification.
Offenbarung der ErfindungDisclosure of the invention
Dies wird durch ein Verfahren und eine Vorrichtung gemäß den unabhängigen Ansprüchen erreicht.This is achieved by a method and apparatus according to the independent claims.
Das Verfahren zur Identifikation in einem Rechnernetzwerk mit einem ersten Teilnetzwerk, das einen ersten Knoten umfasst und einem zweiten Teilnetzwerk, das einen zweiten Knoten umfasst, beinhaltet, dass Information über ein Signal empfangen wird, das der erste Knoten benötigt, wobei abhängig von der Information über das Signal geprüft wird, ob ein dritter Knoten des ersten Teilnetzwerks vorhanden ist, der das Signal bereitstellt, wobei abhängig vom Ergebnis der Prüfung entweder, wenn der dritte Knoten vorhanden ist, eine Zuordnung des Signals zu dem ersten Knoten und dem dritten Knoten in einer Signalzuordnung abgespeichert wird, oder, wenn der dritte Knoten nicht vorhanden ist oder das Signal nicht bereitstellt, eine Anfrage nach dem Signal an den zweiten Knoten gesendet wird, eine Antwort vom zweiten Knoten empfangen wird, wobei die Antwort Information über einen vierten Knoten umfasst, der das Signal bereitstellt, und eine Zuordnung des Signals zu dem ersten Knoten und dem vierten Knoten in einer Signalzuordnung abgespeichert wird. Dadurch wird automatisiert eine Signalzuordnung, beispielsweise eine Signalmatrix erstellt. Knoten können dabei Steuergeräte, beispielsweise Endknoten der Teilnetzwerke oder Gateway-Rechner sein. Die Gateway-Rechner verbinden die Teilnetzwerke.The method of identifying in a computer network having a first subnetwork comprising a first node and a second subnetwork comprising a second node comprises receiving information about a signal that the first node requires, depending on the information about the signal is checked to see if there is a third node of the first subnetwork providing the signal, and depending on the result of the test, if the third node is present, assigning the signal to the first node and the third node in a signal assignment is stored, or if the third node is absent or does not provide the signal, a request for the signal is sent to the second node, a response is received from the second node, the response comprising information about a fourth node containing the Signal provides, and an assignment of the signal to the first node and the fourth node is stored in a signal assignment. This automatically creates a signal assignment, for example a signal matrix. Nodes can be control devices, such as end nodes of the subnetworks or gateway computers. The gateway computers connect the subnetworks.
Vorteilhafterweise wird eine Vielzahl Zuordnungen einer Vielzahl von Signalen zu einer Vielzahl von Knoten einer Vielzahl von Teilnetzwerken in der Signalzuordnung abgespeichert, indem die Identifikation für die Vielzahl von Signalen, die von der Vielzahl Knoten benötigt werden, ausgeführt wird. Dadurch wird automatisiert eine Signalmatrix für eine Vielzahl von Signalen erstellt.Advantageously, a plurality of assignments of a plurality of signals to a plurality of nodes of a plurality of subnetworks are stored in the signal allocation by performing the identification of the plurality of signals needed by the plurality of nodes. This automatically creates a signal matrix for a large number of signals.
Vorteilhafterweise wird Information über eine Empfangs-Identifikation und Information über eine Sende-Identifikation eines Knotens empfangen, wobei die Empfangs-Identifikation in dem Teilnetzwerk ausschließlich für Botschaften auf einem Datenbus eines Teilnetzwerks verwendet wird, die an den Knoten mit der Empfangs-Identifikation adressiert sind, wobei die Sende-Identifikation ausschließlich Botschaften markiert, die der Knoten mit der Sende-Identifikation auf dem Datenbus des Teilnetzwerks sendet, und wobei eine Topologie des Teilnetzwerks nach Empfangen der Information über die Empfangs-Identifikationen und der Information über die Sende-Identifikationen abgespeichert wird. Durch die Signalmatrix und die Topologie des Teilnetzwerks sind die Steuergeräte, beispielsweise Endgeräte oder Gateway-Rechner sowie jeweils gesendete und empfangene Signale bekannt. Ändert sich beispielsweise in einem der Teilnetzwerke die Struktur, wird dies somit automatisiert erfassbar.Advantageously, information about a receive identification and information about a send identification of a node is received, wherein the receive identification in the subnetwork is used exclusively for messages on a data bus of a subnetwork that are addressed to the node with the receive identification, wherein the transmission identification exclusively marks messages that the node with the transmission identification transmits on the data network of the subnetwork, and wherein a topology of the subnetwork is stored after receiving the information about the reception identifications and the information about the transmission identifications. By the signal matrix and the topology of the subnetwork, the control devices, such as terminals or gateway computers and each transmitted and received signals are known. If, for example, the structure of one of the subnetworks changes, this is automatically detectable.
Vorteilhafterweise wird Information über eine Knotenart des Knotens empfangen und mit der Information über die Empfangs-Identifikation und der Information über die Sende-Identifikation in der Topologie abgespeichert. Dadurch wird automatisiert eine Topologie-Repräsentation mit der Knotenart erstellt. Die Knotenart ist beispielsweise eine Identifikation als Gateway-Rechner oder Endknoten in einem der Teilnetzwerke. Dies erlaubt eine hierarchische Strukturierung. Dadurch können bei der Erstellung der Signalmatrix gezielt einzelne Knoten abhängig von Ihrer Knotenart als Endknoten oder Gateway-Rechner abgefragt werden.Advantageously, information about a node type of the node is received and stored with the information about the reception identification and the information about the transmission identification in the topology. This automatically creates a topology representation with the node type. The node type is, for example, an identification as gateway computer or end node in one of the subnetworks. This allows a hierarchical structuring. As a result, individual nodes can be queried as end nodes or gateway computers, depending on their type of node, when creating the signal matrix.
Vorteilhafterweise wird eine Vielzahl von Informationen über Empfangs-Identifikationen, eine Vielzahl von Informationen über Sende-Identifikationen oder eine Vielzahl von Information über Knotenarten von einer Vielzahl von Knoten in einer Vielzahl Teilnetzwerke durch senden wenigstens einer Abfrage in jedem der Vielzahl der Teilnetzwerke abgefragt. Die gesamte Struktur des Rechnernetzwerks wird somit automatisiert erfasst. Advantageously, a plurality of information about receive identifications, a plurality of information about sender identifications, or a plurality of information about node types is retrieved from a plurality of nodes in a plurality of subnetworks by sending at least one poll in each of the plurality of subnetworks. The entire structure of the computer network is thus automatically detected.
Vorteilhafterweise wird die wenigstens eine Abfrage von einem Gateway-Rechner des ersten Teilnetzwerks, das das erste Teilnetzwerk mit dem zweiten Teilnetzwerk verbindet, in einer Botschaft auf einem ersten Datenbus des ersten Teilnetzwerks versendet, wobei die Botschaft mit einer Identifikation versehen ist, die im ersten Teilnetzwerk ausschließlich für Nachrichten vom Gateway-Rechner bestimmt ist. Hiermit wird eine hierarchische Strukturierung des Rechnernetzwerks für eine besonders effiziente Abfrage ausgenützt. Advantageously, the at least one query from a gateway computer of the first subnetwork connecting the first subnetwork to the second subnetwork is sent in a message on a first data bus of the first subnetwork, the message being provided with an identification in the first subnetwork is intended exclusively for messages from the gateway computer. This exploits a hierarchical structuring of the computer network for a particularly efficient query.
Vorteilhafterweise sind eine Vielzahl von Teilnetzwerken als lokale Controller-Area-Netzwerke ausgebildet, wobei in jedem der Teilnetzwerke ausschließlich unterschiedliche Steuergeräte angeordnet sind, wobei jedes der wenigstens ein Steuergeräte, mit wenigstens einem Gateway-Rechner aus einer Vielzahl Gateway-Rechner verbunden ist, wobei die Vielzahl Gateway-Rechner die Vielzahl Teilnetzwerke als ein globales Controller-Area-Netzwerk verbindet. Dies erlaubt eine Differenzierung des globalen Controller-Area-Netzwerks in Teilnetze, die getrennt entwickelbar sind.Advantageously, a plurality of subnetworks are configured as local controller area networks, wherein in each of the subnetworks exclusively different control devices are arranged, wherein each of the at least one control devices is connected to at least one gateway computer of a plurality of gateway computers, wherein the Variety of gateway computers that connects multiple subnetworks as a global controller area network. This allows differentiation of the global controller area network into subnetworks that can be developed separately.
Vorteilhafterweise wird eine erste Liste mit Signalen anlegt, die von Knoten in dem ersten Teilnetzwerk benötigt werden, wobei eine zweite Liste mit Signalen angelegt wird, die von Knoten in dem ersten Teilnetzwerk bereitstellbar sind, wobei die erste Liste mit der zweiten Liste verglichen wird, und wobei abhängig vom Ergebnis des Vergleichs, wenn ein benötigtes Signal nicht in der Liste der bereitstellbaren Signale enthalten ist, die Anfrage nach diesem benötigten Signal in dem zweiten Teilnetzwerk gesendet wird.Advantageously, a first list of signals required by nodes in the first subnetwork is created, a second list of signals being provided by nodes in the first subnetwork, the first list being compared to the second list, and depending on the result of the comparison, if a required signal is not included in the list of available signals, the request for this required signal is sent in the second subnetwork.
Durch das Verfahren erfolgen eine Detektion und eine Verteilung von benötigten sowie bereitstellbaren Signalen auf einem CAN-basierten Kommunikationsnetzwerk bzw. einem CAN-basierten Netzwerk von Kommunikationsnetzwerken. Für die Steuergeräte wird deren logische Position, d. h. eine Position in der Hierarchie des Rechnernetzwerks im Netzwerk als Topologie automatisiert festgestellt und erfasst. Für die Steuergeräte werden die benötigten Signale in der Signalmatrix automatisiert festgestellt und erfasst. Für die Steuergeräte wird in der Signalmatrix automatisiert festgestellt und erfasst, welche Signale, durch sie bereitstellbar sind. Dadurch wird in der Signalmatrix automatisiert ein vollständiges Bild der beteiligten Steuergeräte erstellt. Für die Gateway-Rechner wird deren logische Position im Netzwerk automatisiert festgestellt und erfasst. Für die Gateway-Rechner werden die benötigten Signale automatisiert festgestellt und erfasst. Für die Gateway-Rechner wird automatisiert festgestellt und erfasst, welche Signale, durch sie bereitstellbar sind. Dadurch wird automatisiert ein vollständiges Bild der beteiligten Steuergeräte und Gateway-Rechner erstellt. Gegenüber einer manuellen Beschreibung des Netzwerks durch einen Entwickler, erlaubt dieses Verfahren eine Detektion zur Laufzeit eines zunächst unbekannten CAN-basierten Kommunikationsnetzwerks bzw. eines Netzwerks von CAN-basierten Kommunikationsnetzwerken. Zudem vereinfacht das Verfahren die Entwicklungsarbeit im Bereich der Planung von Netzwerkarchitekturen im Fahrzeug und spart somit Entwicklungsaufwand ein.By means of the method, a detection and a distribution of required and available signals take place on a CAN-based communication network or a CAN-based network of communication networks. For the ECUs their logical position, d. H. Automatically detects and records a position in the hierarchy of the computer network in the network as a topology. For the control units, the required signals are automatically detected and recorded in the signal matrix. For the ECUs is automatically detected in the signal matrix and detects which signals are provided by them. As a result, a complete image of the control units involved is automatically created in the signal matrix. For the gateway computers their logical position in the network is automatically detected and recorded. The required signals are automatically detected and recorded for the gateway computers. For the gateway computer is automatically detected and recorded, which signals are provided by them. This automatically creates a complete picture of the control units and gateway computers involved. Compared to a manual description of the network by a developer, this method allows detection at runtime of an initially unknown CAN-based communication network or a network of CAN-based communication networks. In addition, the process simplifies the development work in the area of network architecture planning in the vehicle and thus saves development effort.
Eine entsprechende Vorrichtung ist ausgebildet, das Verfahren zur Erkennung eines Betriebszustands auszuführen.A corresponding device is designed to carry out the method for detecting an operating state.
Ein entsprechendes Computerprogramm ist ausgebildet, das Verfahren auszuführen.A corresponding computer program is designed to carry out the method.
Weitere vorteilhafte Ausgestaltungen ergeben sich aus der nachfolgenden Beschreibung und der Zeichnung.Further advantageous embodiments will become apparent from the following description and the drawings.
In der Zeichnung zeigt:
-
1 schematisch Teile eines Netzwerks von CAN-basierten Kommunikationsnetzwerken, -
2 schematisch eine Übersicht über ein Verfahren, zur Identifikation einer Topologie und einer Signalmatrix in einem lokalen CAN Netzwerkteil, -
3 schematisch Schritte einer Topologie-Erkennung, -
4 schematisch Schritte einer Detektion lokal bereitstellbarer Signale, -
5 schematisch Schritte einer Detektion lokal benötigter Signale, -
6 zeigt schematisch Schritte einer globalen Abfrage.
-
1 schematically parts of a network of CAN-based communication networks, -
2 schematically an overview of a method for identifying a topology and a signal matrix in a local CAN network part, -
3 schematically steps of a topology detection, -
4 schematically steps of detection of locally available signals, -
5 schematically steps of a detection of locally required signals, -
6 schematically shows steps of a global query.
Die Datenverbindungen basieren auf einem CAN Protokoll gemäß der ISO 11898 Standardfamilie. Beispielsweise ist die Datenverbindung auf der physischen Schicht nach
Botschaften, die über das CAN-Netzwerk ausgetauscht werden, umfassen CAN-Identifier. Botschaften, in denen CAN-Netzwerke gesendet werden, werden von allen innerhalb dieses CAN Netzwerks angeschlossenen Knoten empfangen. Die Knoten können als Gateway-Rechner oder als Endknoten ausgebildet sein. Die Knoten sind vorzugsweise Steuergeräte oder Recheneinrichtungen. Die Knoten weisen einen Kommunikationsstack auf, der ausgebildet ist CAN Botschaften zu verarbeiten. Genauer werden CAN Botschaften und CAN-Identifier im Kommunikationsstack verarbeitet, um CAN Botschaften durch Zugriff auf den CAN-Bus zu senden oder zu empfangen.Messages exchanged over the CAN network include CAN identifiers. Messages in which CAN networks are sent are received by all nodes connected within this CAN network. The nodes can be designed as gateway computers or as end nodes. The nodes are preferably control devices or computing devices. The nodes have a communication stack that is configured to process CAN messages. More specifically, CAN messages and CAN identifiers are processed in the communication stack to send or receive CAN messages by accessing the CAN bus.
Das in
In
Jedes lokale CAN-Netzwerk ist mit mindestens einem CAN-Identifier eingerichtet, welcher nur von einem Gateway-Rechner genutzt werden darf, der direkt auf den lokalen CAN-Bus zugreift, der die Endknoten des lokalen CAN-Netzwerks untereinander verbindet. Der CAN-Identifier wird ausschließlich in Botschaften vom Gateway-Rechner genutzt. Der CAN-Identifier wird genutzt, um Botschaften als beispielsweise Broadcast-Nachrichten an alle Endknoten innerhalb dieses lokalen CAN Netzwerks zu senden. Botschaften mit diesem CAN-Identifier werden von allen innerhalb dieses lokalen CAN Netzwerks angeschlossenen Knoten, d.h. direkt verbundenen Endknoten und Gateway-Rechnern, empfangen und in deren jeweiligem Kommunikationsstack zur Verarbeitung gereicht.Each local CAN network is equipped with at least one CAN identifier, which may only be used by a gateway computer, which directly accesses the local CAN bus, which connects the end nodes of the local CAN network with each other. The CAN identifier is used exclusively in messages from the gateway computer. The CAN identifier is used to send messages as For example, send broadcast messages to all end nodes within this local CAN network. Messages with this CAN identifier are received by all nodes connected within this local CAN network, ie directly connected end nodes and gateway computers, and are sent in their respective communication stack for processing.
Für jeden Knoten des lokalen CAN-Netzwerks sind beispielsweise zwei eindeutige CAN-Identifier vorgesehen. In Kombination mit einem Master-Slave Ansatz kann eine exklusive Kommunikation zwischen Gateway-Rechner und Endknoten auch mit mehr als zwei oder nur einem Identifier realisiert sein. Für jeden Knoten wird eine eindeutige „Empfangs-ID“ vorgegeben, welche genutzt werden kann um dem zugehörigen Knoten im lokalen CAN-Netzwerk Botschaften im Singlecast-Modus zu schicken. Für jeden Knoten wird eine eindeutige „Sende-ID“ vorgegeben, welche von diesem Knoten genutzt werden kann um Botschaften innerhalb dieses lokalen CAN Netzwerks zu senden.For example, two unique CAN identifiers are provided for each node of the local CAN network. In combination with a master-slave approach, an exclusive communication between gateway computer and end node can also be realized with more than two or only one identifier. For each node, a unique "receive ID" is given, which can be used to send messages to the associated node in the local CAN network in singlecast mode. For each node, a unique "Send ID" is given, which can be used by this node to send messages within this local CAN network.
Beispielsweise wird für alle Kommunikationsstacks von Endknoten, die Teil des lokalen CAN-Netzwerks sind, und für alle Kommunikationsstacks der Gateway-Rechner, die mit dem lokalen CAN-Netzwerk unmittelbar verbindbar sind, der mindestens eine CAN-Identifier und die „Empfangs-ID“ und die „Sende-ID“ vorgegeben und gespeichert.For example, for all communication stacks of end nodes that are part of the local CAN network, and for all communication stacks of the gateway computers that can be directly connected to the local CAN network, the at least one CAN identifier and the "receive ID" and the "send ID" specified and stored.
Jedes der lokalen CAN-Netzwerke bildet ein CAN-basiertes Kommunikationsnetzwerk. Das Netzwerk der CAN-basierten Kommunikationsnetzwerke bildet ein globales CAN-Netzwerk.Each of the local CAN networks forms a CAN-based communication network. The network of CAN-based communication networks forms a global CAN network.
Für ein lokales CAN-Netzwerk, dessen Knoten über denselben CAN-Bus verbunden sind, wird beispielsweise wie im Folgenden beschrieben, mittels eines Broadcast eine eindeutige Identifikation aller Knoten im lokalen CAN Netzwerk und eine Liste von benötigten und/oder bereitgestellten Signalen abgefragt. Vorzugsweise wird dieser Broadcast durch jene Gateway-Rechner eines lokalen CAN-Netzwerks gesendet, welches bezüglich des globalen CAN-Netzwerks gesehen hierarchisch am höchsten ist. In Erwiderung auf den Empfang eines derartigen Broadcast sind die Knoten ausgebildet beispielsweise eine Selbstbeschreibungsnachricht zu senden. In Erwiderung auf den Empfang eines derartigen Broadcast sind die Knoten ausgebildet beispielsweise eine Liste von benötigten und/oder bereitgestellten Signalen zu senden. Die Selbstbeschreibungsnachricht oder die Liste wird an den Gateway-Rechner oder im Broadcast gesendet.For a local CAN network whose nodes are connected via the same CAN bus, for example, as described below, a unique identification of all nodes in the local CAN network and a list of required and / or provided signals is queried by means of a broadcast. Preferably, this broadcast is sent by those gateway computers of a local CAN network, which is hierarchically highest in terms of the global CAN network. In response to receiving such a broadcast, the nodes are configured to send, for example, a self-description message. In response to receiving such a broadcast, the nodes are configured to send, for example, a list of needed and / or provided signals. The self-description message or list is sent to the gateway computer or broadcast.
Optional ist eine Übertragung der Liste oder der Selbstbeschreibungsnachricht durch verschiedene Knoten zur Vermeidung von Kollisionen auf dem CAN Bus sequentiell möglich. Anderenfalls wird das CAN Protokoll zur Auflösung von Kollisionen eingesetzt.Optionally, transmission of the list or self-description message through various nodes to avoid collisions on the CAN bus is sequentially possible. Otherwise, the CAN protocol is used to resolve collisions.
Der Gateway-Rechner ist dazu ausgebildet, im lokalen CAN-Netzwerk benötigte Signale, die nicht durch Knoten im lokalen CAN-Netzwerk bereitstellbar sind, gegebenenfalls zu erkennen. Der Gateway-Rechner ist dazu ausgebildet, im globalen CAN-Netzwerk Signale anzufragen, die im lokalen CAN-Netzwerk benötigt werden. Der Gateway-Rechner ist dazu ausgebildet Anfragen nach Signalen vom globalen CAN-Netzwerk zu empfangen und gegebenenfalls durch Knoten im lokalen CAN-Netzwerk bereitgestellte Signale an das globale CAN-Netzwerk zu senden. So werden bei Bedarf Signale lokal und/oder global bereitgestellt.The gateway computer is designed to possibly detect signals that are required in the local CAN network and that can not be provided by nodes in the local CAN network. The gateway computer is designed to request signals in the global CAN network that are required in the local CAN network. The gateway computer is configured to receive requests for signals from the global CAN network and, if appropriate, to send signals provided by nodes in the local CAN network to the global CAN network. If needed, signals are provided locally and / or globally.
In einer ersten Phase
In einer zweiten Phase
In einer dritten Phase
Anschließend endet das Verfahren.Then the process ends.
Nach dem Start der Topologie-Erkennung
Anschließend wird in einem Schritt
In einem Schritt
Sobald die Timeout-Zeit abgelaufen ist wertet beispielsweise das Gateway-Rechner im Schritt
Anschließend endet das Verfahren.Then the process ends.
Mögliche Alternative für die erste Phase
Anstatt während der Timeout-Zeit lediglich auf neue Nachrichten zu warten, kann der Gateway-Rechner die Trigger Topologie Detektion auch ein- oder mehrmals wiederholen um zu verhindern das einzelne Knoten im Netzwerk die Nachricht verpassen und damit nicht erkannt werden.Possible alternative for the first phase
Instead of merely waiting for new messages during the timeout period, the gateway computer can also repeat the trigger topology detection once or several times in order to prevent the individual node in the network from missing the message and therefore not being recognized.
Anstatt eines generellen Triggers der alle Knoten dazu auffordert sich zu identifizieren kann der Gateway-Rechner auch einzelne Abfragen zur Detektion nutzen. Hierbei sendet der Gateway-Rechner Einzelabfragen, d.h. als Singlecast, indem beispielsweise unter ständiger Hochzählung der ID der gesamten Bereich der Empfangs-IDs abfragt wird und die Antwort eines auf diese Empfangs-ID reagierenden Knotens abwartet.Instead of a general trigger that requires all nodes to identify themselves, the gateway computer can also use individual queries for detection. In this case, the gateway computer sends individual queries, i. as a singlecast, for example, by interrogating the ID continuously, polling the entire range of receive IDs and awaiting the response of a node responding to that receive ID.
Nach dem Start wird ein einem Schritt
Anschließend wird in einem Schritt
Anschließend wird in einem Schritt
Wenn der Trigger Start Übertragung von benötigten Signalen von einem Knoten empfangen wurde, wird in einem Schritt
In einem Schritt
Falls alle benötigten Signale empfangen wurden, wird die Phase der Übertragung von diesem Knoten beendet und ein Schritt
Im Schritt
Im Schritt
Anschließend endet das Verfahren. Then the process ends.
Nach dem Start wird ein einem Schritt
Anschließend wird in einem Schritt
Anschließend wird in einem Schritt
Wenn der Trigger Start Übertragung von bereitstellbaren Signalen von einem Knoten empfangen wurde, wird in einem Schritt
In einem Schritt
Falls alle bereitstellbaren Signale empfangen wurden, wird die Phase der Übertragung von diesem Knoten beendet und ein Schritt
Im Schritt
Im Schritt
Anschließend endet das Verfahren.Then the process ends.
Mögliche Alternativen für die zweite Phase
Die Einzelabfragen können gesendet werden, indem unter ständiger Hochzählung der Empfänger ID entsprechende CAN Botschaften gesendet werden und so der gesamte Bereich der möglichen Empfangs-IDs abfragt wird. Die Antwort eines eventuell auf einer ersten dieser Empfangs-IDs reagierenden Knotens wird abgewartet bevor eine zweite dieser Empfangs-IDs zum Senden der entsprechenden CAN Botschaft verwendet wird.The individual queries can be sent by sending continuous CAN messages to the receiver ID, thus polling the entire range of possible receive IDs. The response of any node responding to a first of these receive IDs is awaited before a second of these receive IDs is used to send the corresponding CAN message.
Die Einzelabfragen können gesendet werden, indem gezielt einzelne Abfragen zur Detektion genutzt werden. Hierbei sendet der Gateway-Rechner Einzelabfragen, d.h. Singlecast, an die zuvor in der ersten Phase ermittelten Knoten.
Anstelle der sequentiellen Abfrage von Knoten ist auch eine gleichzeitige Abfrage aller benötigen oder bereitstellbaren Signale möglich. Alle Knoten versuchen dann gleichzeitig die Anfrage zu beantworten. Kollisionen auf dem Datenbus werden durch das CAN-Protokoll aufgelöst. Als weitere Ergänzung hierzu kann eine „Busy“ Nachricht von seitens des Gateway-Rechners verwendet werden, um einer Überlastung des Gateway-Rechners entgegen zu wirken.The individual queries can be sent by selectively using individual queries for detection. In this case, the gateway computer sends individual queries, ie single cast, to the nodes previously determined in the first phase.
Instead of the sequential query of nodes, a simultaneous query of all signals that can be used or provided is possible. All nodes then try to answer the request at the same time. Collisions on the data bus are resolved by the CAN protocol. As a further supplement to this, a "busy" message can be used by the gateway computer to counteract an overload of the gateway computer.
Es kann auch vorgesehen sein, dass die Knoten nach der Übertragung aller benötigten und/oder nach der Übertragung aller bereitstellbaren Signale den Abschluss durch eine abschließende Nachricht „Ende Übertragung von benötigten Signalen“ bzw. „Ende Übertragung von bereitstellbaren Signalen“ anzeigen.It can also be provided that the nodes after the transmission of all required and / or after the transmission of all available signals indicate the completion by a final message "end transmission of required signals" or "end transmission of available signals".
Die zweite Liste aller in diesem Netzwerk bereitstellbaren Signale und die erste Liste aller in diesem Netzwerk benötigten Signale wird in einem weiteren Schritt verglichen. Damit sind die Signale identifizierbar, die im lokalen CAN-Netzwerk benötigt werden, jedoch nicht durch das lokale CAN-Netzwerk bereitstellbar sind.The second list of all available signals in this network and the first list of all the signals required in this network will be compared in a further step. This identifies the signals that are required in the local CAN network but can not be provided by the local CAN network.
Diese werde in der dritten Phase im globalen CAN Netzwerk in einer globalen Abfrage abgefragt und ggf. bereitgestellt. In the third phase of the global CAN network, this will be queried in a global query and made available if necessary.
Nach dem Start wird in einem Schritt
Im Schritt
Es wird so unterschieden, in welcher hierarchischen Ebene sich der ausführende Gateway-Rechner befindet. Ein Gateway-Rechner in der obersten Hierarchieebene kann beispielsweise mit dem Ablauf starten. Gateway-Rechner in darunterliegenden Hierarchieebenen müssen darauf warten zum Beginn aufgefordert zu werden.It is distinguished in which hierarchical level the executing gateway computer is located. For example, a gateway computer in the top hierarchical level can start the process. Gateway computers in underlying hierarchy levels must wait to be prompted to begin.
Im Schritt
Wenn es keine weiteren Gateway-Rechner gibt, sind alle bereitstellbaren Signale dem ausführenden Gateway-Rechner bereits bekannt, beispielsweise aus der Detektion lokal bereitstellbarer Signale. Wenn es keine weiteren Gateway-Rechner gibt, sind alle benötigten Signale dem ausführenden Gateway-Rechner bereits bekannt, beispielsweise in der ersten Liste und der zweiten Liste aus der Detektion lokal benötigten Signale.If there are no further gateway computers, all available signals are already known to the executing gateway computer, for example from the detection of locally available signals. If there are no further gateway computers, all required signals are already known to the executing gateway computer, for example in the first list and the second list from the detection locally required signals.
Wenn es weitere Gateway-Rechner gibt, die in einer bezüglich des ausführenden Gateway-Rechners untergeordneten Hierarchieebene sind, wird die Information über die benötigten Signale und bereitstellbare Signale möglicherweise von diesen Gateway-Rechnern bereitgestellt. Es ist jedoch auch möglich, dass nicht für alle bekannten benötigten Signale ein bekanntes bereitstellbares Signale vorhanden ist.If there are other gateway computers that are in a lower hierarchical level relative to the executing gateway computer, information about the required signals and provideable signals may be provided by these gateway computers. However, it is also possible that not all known signals required known signals is available.
Im Schritt
Im Schritt
Anschließend endet das Verfahren.Then the process ends.
Im Schritt
Anschließend wird ein Schritt 614 ausgeführt.Subsequently, a
Im Schritt
Anschließend wird ein Schritt 616 ausgeführt.Subsequently, a
Im Schritt
Anschließend wird ein Schritt 618 ausgeführt.Subsequently, a
Im Schritt
Im Schritt
Im Schritt
Anschließend wird in einem Schritt
Die positive Antwort wird beispielsweise in einer elften CAN Botschaft übermittelt. Die positive Antwort bestätigt, dass auf dem sendenden Gateway-Rechner ein bereitstellbares Signal verfügbar ist, das dem benötigten Signal entspricht.The positive answer is transmitted, for example, in an eleventh CAN message. The positive response confirms that a deliverable signal corresponding to the required signal is available on the sending gateway computer.
Im Schritt
Durch eine rekursive Ausführung wird der Abfragemechanismus schrittweise wieder beendet. Sobald das oberste Gateway-Rechner der Hierarchie den Mechanismus abgearbeitet hat ist des gesamte Vorgang der Detektion und Verteilung von benötigten sowie bereitstellbaren Signalen im CAN-Netzwerk oder eines Netzwerks von CAN-Netzwerken abgeschlossen.A recursive execution terminates the query mechanism step by step. As soon as the uppermost gateway computer of the hierarchy has processed the mechanism, the entire process of detecting and distributing required and deployable signals in the CAN network or a network of CAN networks has been completed.
ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION
Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.
Zitierte PatentliteraturCited patent literature
- EP 2573981 A2 [0002]EP 2573981 A2 [0002]
- DE 102014202071 A1 [0003]DE 102014202071 A1 [0003]
Zitierte Nicht-PatentliteraturCited non-patent literature
- ISO 11898-2 [0024]ISO 11898-2 [0024]
- ISO 11898-3 [0024]ISO 11898-3 [0024]
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102017209428.1A DE102017209428A1 (en) | 2017-06-02 | 2017-06-02 | Method and device for identification in a computer network |
CN201810554448.6A CN108989168B (en) | 2017-06-02 | 2018-06-01 | Method and apparatus for identification in a computer network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102017209428.1A DE102017209428A1 (en) | 2017-06-02 | 2017-06-02 | Method and device for identification in a computer network |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102017209428A1 true DE102017209428A1 (en) | 2018-12-06 |
Family
ID=64279212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102017209428.1A Pending DE102017209428A1 (en) | 2017-06-02 | 2017-06-02 | Method and device for identification in a computer network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108989168B (en) |
DE (1) | DE102017209428A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2573981A2 (en) | 2011-09-21 | 2013-03-27 | Nxp B.V. | System and method for encoding a slot table for a communications controller |
DE102014202071A1 (en) | 2014-02-05 | 2015-08-06 | Robert Bosch Gmbh | Method and device for operating a communication network, in particular of a motor vehicle |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179353A (en) * | 2006-11-06 | 2008-05-14 | 中兴通讯股份有限公司 | Method and system of monitoring multimedia service performance |
CN101626333B (en) * | 2009-08-07 | 2011-11-23 | 北京和利时电机技术有限公司 | Controller area network (CAN) bus system and application layer communication method in same |
CN101945026B (en) * | 2010-06-30 | 2013-08-07 | 艾默生网络能源有限公司 | Data transmission method of application layer in control area network and control area network system |
DE102011077409A1 (en) * | 2011-06-10 | 2012-12-13 | Robert Bosch Gmbh | Connection node for a communication network |
GB201112360D0 (en) * | 2011-07-18 | 2011-08-31 | Skype Ltd | Distributing information |
WO2012119411A1 (en) * | 2011-08-23 | 2012-09-13 | 华为技术有限公司 | Method for obtaining connection relationship of optical fibre, node device and optical network system |
JP5869130B2 (en) * | 2011-08-30 | 2016-02-24 | クアルコム,インコーポレイテッド | Topology discovery in hybrid networks |
CN102546820B (en) * | 2012-02-16 | 2015-12-16 | 华为技术有限公司 | The storage means of transmission optimization method, map information, Apparatus and system |
CN102857377B (en) * | 2012-09-12 | 2015-08-05 | 南车株洲电力机车研究所有限公司 | The online topological automatic generation method of a kind of train network |
CN103532741B (en) * | 2013-09-27 | 2016-09-07 | 瑞斯康达科技发展股份有限公司 | A kind of access level network topology management method and system |
CN104809129B (en) * | 2014-01-26 | 2018-07-20 | 华为技术有限公司 | A kind of distributed data storage method, device and system |
US10268485B2 (en) * | 2014-02-28 | 2019-04-23 | Tyco Fire & Security Gmbh | Constrained device and supporting operating system |
CN105376126B (en) * | 2014-07-16 | 2019-10-11 | 比亚迪股份有限公司 | CAN bus gateway and it is related to the communication means and system of CAN bus gateway |
CN104135539B (en) * | 2014-08-15 | 2018-03-16 | 华为技术有限公司 | Date storage method, SDN controllers and distributed network storage system |
CN105376166B (en) * | 2014-08-29 | 2018-11-20 | 中车大连电力牵引研发中心有限公司 | Data processing method and interchanger based on rail locomotive interchanger |
KR101586601B1 (en) * | 2015-01-07 | 2016-02-02 | 주식회사 와이즈오토모티브 | Apparatus and method for mapping ethernet address for interworking of can bus |
DE102015206051A1 (en) * | 2015-04-02 | 2016-10-06 | Robert Bosch Gmbh | Method and device for data transmission in a computer network |
US20170127427A1 (en) * | 2015-11-02 | 2017-05-04 | Viavi Solutions Uk Limited | Enhancing network topology information for a self-organizing network |
CN105764106B (en) * | 2016-02-03 | 2019-06-11 | 宇龙计算机通信科技(深圳)有限公司 | A kind of update method of transmission path, terminal and system |
-
2017
- 2017-06-02 DE DE102017209428.1A patent/DE102017209428A1/en active Pending
-
2018
- 2018-06-01 CN CN201810554448.6A patent/CN108989168B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2573981A2 (en) | 2011-09-21 | 2013-03-27 | Nxp B.V. | System and method for encoding a slot table for a communications controller |
DE102014202071A1 (en) | 2014-02-05 | 2015-08-06 | Robert Bosch Gmbh | Method and device for operating a communication network, in particular of a motor vehicle |
Non-Patent Citations (2)
Title |
---|
ISO 11898-2 |
ISO 11898-3 |
Also Published As
Publication number | Publication date |
---|---|
CN108989168B (en) | 2022-01-14 |
CN108989168A (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2622826B1 (en) | Method for automatically assigning addresses to identical bus users | |
DE102012220187B4 (en) | On-vehicle communication device and communication system for a vehicle | |
DE102012105016A1 (en) | Gateway device | |
EP2090031B1 (en) | Method and arrangement for communication on an lin bus | |
WO2003067853A2 (en) | System and method for analyzing a network and/or generating the topology of a network | |
EP1994723A1 (en) | Data communication method using a communication subscriber that is situated in a motor vehicle with dynamic address allocation | |
DE102017123251A1 (en) | Operating method of a communication node for selective waking in the vehicle network | |
DE102015213378A1 (en) | Method and device for diagnosing a network | |
EP2733910B1 (en) | BUS system, method for operating a BUS system and fluid system with a BUS system | |
DE102016204536B4 (en) | ROUTING DEVICE AND COMMUNICATION SYSTEM | |
DE102017008673A1 (en) | Method for charging a rechargeable battery | |
WO2011120856A1 (en) | Addressing method and communication network with such an addressing method | |
EP2587772A1 (en) | Method for producing a communication connection between a programming device and an automation technology field device | |
DE102016210625B4 (en) | Methods and apparatus for testing accessibility of Ethernet network nodes in heterogeneous networks | |
EP3345351B1 (en) | Method, device, and computer program for operating a data processing system | |
EP1642207B1 (en) | Allocation of station addresses to communication users in a bus system | |
DE102017209428A1 (en) | Method and device for identification in a computer network | |
EP3607437B1 (en) | Method for configuring at least one device of a railway vehicle in a network, computer program and computer-readable storage medium | |
DE102007053916A1 (en) | Method for managing network components in a network and network component | |
EP2996004B1 (en) | Method for providing information relating to communication network addresses within an industrial automation system and router | |
WO2012025323A1 (en) | Method for communicating | |
EP3560153B1 (en) | Method for operating a data processing system, and data processing system | |
EP2536106A1 (en) | Address transfer method | |
EP1885100B1 (en) | Method for automatic address allocation between communication devices | |
DE102022125552A1 (en) | DYNAMIC MESSAGE TRANSMISSION OF A CONTROLLER AREA NETWORK |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R079 | Amendment of ipc main class |
Free format text: PREVIOUS MAIN CLASS: H04L0012240000 Ipc: H04L0041000000 |