|Publication number||US7916738 B2|
|Application number||US 10/489,764|
|Publication date||29 Mar 2011|
|Filing date||13 Sep 2002|
|Priority date||26 Sep 2001|
|Also published as||CA2461482A1, CN1561614A, CN1561614B, DE10147419A1, EP1430657A1, EP1430657B1, US20040246963, WO2003028308A1|
|Publication number||10489764, 489764, PCT/2002/3431, PCT/DE/2/003431, PCT/DE/2/03431, PCT/DE/2002/003431, PCT/DE/2002/03431, PCT/DE2/003431, PCT/DE2/03431, PCT/DE2002/003431, PCT/DE2002/03431, PCT/DE2002003431, PCT/DE200203431, PCT/DE2003431, PCT/DE203431, US 7916738 B2, US 7916738B2, US-B2-7916738, US7916738 B2, US7916738B2|
|Inventors||Dieter Brückner, Franz-Josef Götz, Dieter Klotz, Jürgen Schimmer|
|Original Assignee||Siemens Aktiengesellschaft|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (41), Referenced by (1), Classifications (18), Legal Events (2)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application is the US National Stage of International Application No. PCT/DE02/03431, filed Sep. 13, 2002 and claims the benefit thereof. The International Application claims the benefits of German application No. 10147419.9 DE filed Sep. 26, 2001, both of the applications are incorporated by reference herein in their entirety.
The invention relates to a method for creating a dynamic address table for a switching node in a data network, in particular in an automation system, and to a method for transmitting a data message via a switching node of such a data network, and to a corresponding switching node and a corresponding data network and computer program.
From the prior art, various types of data networks are known in which the data network components decide on the port of the respective data network component via which a data message is to be sent. In particular, switchable data networks, as they are called, are also known in which a connection is established in the data network between two subscribers by means of one or more point-to-point connections.
It is likewise known from the prior art that the decision concerning the port of a data network component via which a previously received data message is to be sent is made with the aid of an address table. Each entry in the address table stores e.g. the station address of a target data network component (a unicast address, as it is called), or a multicast address or a network address and the numbers of the respective ports of the data network component via which a received data message for forwarding to its target address is to be sent.
Also known from the prior art is the use of dynamically modifiable and static address tables. Dynamic address tables have dynamically modifiable table entries which are administered independently by the hardware of the respective data network without software support. The static entries in a static address table, by contrast, are administered by the application software of each data network component and may not be modified by the hardware of a data network component.
A possible method known from the prior art for recognizing whether an address, e.g. a multicast address, and the information assigned to the multicast address are stored in an address table is direct comparison of the target address of the respective data message with all the addresses stored in the address table. This method is time-consuming or requires a content-addressable memory.
A method which allows address entries which are initially mapped to the same entry address of the address table to be stored simultaneously in an address table is described in U.S. Pat. No. 5,923,660. In an Ethernet controller, a hash address table is to this end provided with a corresponding control which forms the hash value of the address of a data packet in order to find an initial value for an entry in the hash address table. This initial value is modified if necessary by a fixed entry value if the address which in the line of the hash address table identified by the initial value does not match the target address received [sic].
Data networks enable communication between multiple subscribers by the networking, i.e. connecting of individual subscribers to one another. Communication in this case means the transmission of data between the subscribers. The data to be transmitted is sent in this case as data messages, i.e. the data is packaged together into multiple packets and sent in this form via the data network to the corresponding recipient. It is customary therefore to talk of data packets.
The term ‘transmission of data’ is used synonymously here with the transmission of data messages or data packets mentioned above. The networking itself is achieved, for example in the case of switchable high-performance data networks, in particular Ethernet, in that between two subscribers at least one switching unit which is connected to both subscribers is switched in each case. Each switching unit can be connected to more than two subscribers.
Each subscriber is connected to at least one switching unit, but not directly to another subscriber. Subscribers are for example, computers, stored-program controllers (SPC) or other machines which exchange, in particular process, electronic data with other machines. In contrast to bus systems in which every subscriber can access every other subscriber of the data network directly via the data bus, switchable data networks involve exclusively point-to-point connections, i.e. a subscriber can access all the other subscribers in the switchable data network only indirectly, through corresponding forwarding of the data to be transmitted by means of one or more switching units.
In distributed automation systems, for example in the field of drive engineering, certain data must be received at certain times by the subscribers specified for it and be processed by the recipients. It is customary here to talk of real-time critical data or data traffic, since a failure of data to arrive at the point of destination at the proper time leads to undesired results for the subscriber. In compliance with IEC 61491, EN61491 SERCOS interface—brief technical description successful real-time critical data traffic of the type specified can be guaranteed in distributed automation systems.
From the prior art, various standardized communication systems, also called bus systems, for the exchange of data between two or more electronic modules and/or devices, in particular also for use in automation systems, are known. Examples of such communication systems are: Feldbus, Profibus, Ethernet, Industrial Ethernet, FireWire or even PC-internal bus systems (PCI). These bus systems are in each case designed and/or optimized for different application fields and permit the establishment of a distributed control system. For process control and supervision in automated production and in particular in the case of digital drive technologies, very fast and reliable communication systems with predictable response times are required.
With parallel bus systems such as, for example, SMP, ISA, PCI or VME, very fast and simple communications can be established between different modules. These known bus systems find use in particular in computers and PCs.
Synchronous clocked communication systems with equidistance characteristics are known from automation engineering, in particular. Such a system is deemed to refer to a system comprising at least two subscribers which are connected to one another via a data network for the purposes of mutually exchanging data and/or mutually transmitting data. Data is in this case exchanged cyclically in equidistant communication cycles which are predetermined by the communications clock pulse used by the system. Subscribers include for example central automation devices, programming, configuring or operator devices, peripheral devices such as e.g. input/output modules, drives, actuators, sensors, stored-program controllers (SPC) or other control units, computers or machines which exchange electronic data with other machines, and in particular process data from other machines. Control units are deemed below to refer to closed-loop or open-loop control units of any type.
An equidistant, deterministic and cyclical exchange of data in communication systems is founded on a shared clock pulse or timing basis of all the components involved in the communication. The clock pulse or timing basis is transmitted from one identified component (pulse generator) to the other components. In an isochronous real-time Ethernet, the pulse or timing basis is preset by a synchronization master through the sending of synchronization messages.
German patent application DE 100 58 524.8 discloses a system and a method for transmitting data via switchable data networks, in particular the Ethernet, which allows the mixed operation of real-time-critical and non-real-time-critical, in particular Internet- and intranet-based, data communications.
It is also known from the prior art that the components of a switchable data network decide concerning the port of a switching node via which a data message is to be sent with the aid of dynamic address tables. A dynamic address table stores in each case station addresses of network components and the details of the port via which a data message is to be sent to this network subscriber. Since the configuration of the network can change dynamically (e.g. through activation, deactivation and/or failure or rewiring), and since on account of the limited storage capacity not all station addresses can be stored simultaneously in an address table, the table entries administered by the network component, that is e.g. by the switching node, are dynamically changeable.
Since components of a data network may e.g. fail or be rewired, an aging mechanism must be provided which can declare an address entry to be invalid if a certain condition of the aging method selected is fulfilled.
From European patent application EP-A-0 993 156 a corresponding aging method is known, in which a data message has to be received within a parameterizable time interval from the respective network component with the station address entered in the address table in order to remain marked as valid.
The port D is also connected to the port E of the switching node 3. The ports F, G and H of the switching node 3 are connected to the automation components 5, 6 and 7 respectively.
Each of the switching nodes 2 and 3 contains an address table 8. Each line of an address table 8 contains a station address of one of the components of the data network 1, that is, of one of the automation components 4, 5, 6 or 7, for example. A respective line of the address table 8 of the switching node also contains details of the port of this switching node, from which port a data message received by the switching node is to be forwarded with the station address as the target address. Furthermore, such a line of the address table 8 contains an entry regarding the aging of the entry in the respective line, that is, regarding the validity of this entry.
An entry in a line of the address table 8 is then generated if a data message 9 with a source address and a target address is received, for example at port A of the switching node 2. Said message may for example be an Ethernet data message.
The fact that a data message with the respective source address has been received at port A is recorded in the address table 8 as an entry in a line of the address table. An aging bit in the respective line of the address table is set e.g. to 0 so as to indicate the current status of this entry.
Each of the switching nodes 2 and 3 has a time base which in each case applies globally to the address table 8. The time base can be implemented with a counter which in each case counts up to a threshold value.
After a current entry has been generated in the address table 8, and the counter is reset, the aging bit is set e.g. from 0 to 1. The entry then continues to be valid. If, at a time at which the aging bit is set to 1, a further data message 9 is received, the aging bit is again reset e.g. to 0. If this is not the case, then when the counter is next reset the aging bit is set e.g. to 2, which indicates that the entry is invalid.
The address tables 8 are administered here by means of a program 10.
A particular disadvantage of this method is that the address table 8 periodically has to be fully read out in order to check whether an entry should be marked as invalid.
The object of the invention is therefore to create an improved method for creating a dynamic address table and an improved method for transmitting a data message and an improved switching node and a corresponding data network and computer programming product.
The object of the invention is achieved in the respective features of the independent claims. Preferred embodiments of the invention are described in the dependent claims.
The aging mechanism according to the invention is particularly advantageous since it is event-driven with reference to the respective entry in the address table. By comparison with the time-based aging mechanism known from the prior art, this is particularly advantageous since the address table does not periodically have to be fully read out in order to check whether an entry should be marked as invalid.
According to a preferred embodiment of the invention, an entry in the address table is declared invalid if, since the data message last received from the network subscriber whose station address is entered in the address table, the number of data messages sent to this network subscriber is greater than a parameterized value.
According to a further preferred embodiment of the invention, the counted number of data messages sent to this network subscriber is reset if another data message is received from this network subscriber.
According to a further preferred embodiment of the invention, the updating and checking of the validity of a table entry is event-driven, i.e. with each send process when the network component decides with the aid of the address table via which port a data message is to be sent, and the station address of the network component for which the data message is intended is entered in the address table. By comparison with the time-driven aging method, this considerably reduces storage access to the address table.
A preferred embodiment of the invention is described in detail below with reference to the drawings, in which
The switching nodes 2 and 3 each have an address table 11 according to the invention and a component 12 for administering the address table 11. This table administration component 12 can be implemented in software and hardware.
If for example the switching node 2 receives at its port A a data message 9, then an entry is generated in the address table 11 based upon this. This entry in the address table 11 contains the source address of the data message 9 and the receiving port, i.e. in the example looked at, the input of the port A.
In addition, the respective entry contains a counter initial value. This can be parameterized for the data network 1 or for individual switching nodes and can be selected e.g. as 128.
If a further data message is now received by the switching node 2, for example from the automation component 4 at port C, said data message having as the target address the source address of the data message 9, then the corresponding entry in the address table 11 is accessed.
The program 12 then firstly checks whether the current counter value of the respective entry is greater than 0. If this is the case, the entry is considered valid and the data message received from the automation component 4 is forwarded via the port of the switching node 2 specified in the entry, i.e. via the port A. In addition to this, based on the receipt of a data message addressed to the source address in switching node 2 the current counter value of the table administration component 12 is decremented.
This procedure can be repeated for example until such time as the current counter value has reached the value 0. The respective entry is then marked as invalid on account of the value 0. Thus, the counter initial value corresponds to a maximum number of data messages addressed to the source address which are received by the switching node 2 before the respective entry is considered invalid.
Instead of decrementing the counter initial value it is also possible to stipulate a threshold value which corresponds to the maximum number of data messages which are addressed to the source address, the current counter value then being incremented each time such a data message is received.
Of particular advantage here is that the current counter values of the individual lines in the address table 11 are modified only in an event-driven manner. Upon receipt of a data message with the source address of the data message as the target address, access to the respective entry in the address table 11 is necessary in order to determine the particular port via which the respective data message is to be forwarded. When such an access is made, the current counter value is accessed simultaneously in order to check and, where applicable, decrement or increment this current counter value.
If the data message 9 is again received from the switching node 2, then the current counter value of the respective entry in the address table 11 is reset to the counter initial value.
An analogous procedure applies in respect of the address table 11 of the switching node 3 and its program 12, and in respect of the other switching nodes in the data network 1, which are not shown in
The switching nodes 2 and 3 can be individual devices, or they can also each constitute an integral part of an automation component. Automation components are principally considered to include all closed-loop control, open-loop control, drive and other components of an automation system.
In step 30, a data message is received at a port of the switching node of the data network, which switching node is examined here. This data message contains a source address, i.e. the station address of the data network subscriber which sent the data message, as well as a target address for the data message, i.e. the station address of the particular data network subscriber which is to receive the data message.
In step 32, the source address of the data message received in step 30 by the switching node is entered in the address table of the switching node. In the corresponding entry of the address table this source address has the function of a target address, i.e. if a data message with the source address of the data message of step 30 as the target address is received by the switching node at a different port, then the corresponding entry in the address table is accessed. This entry contains, in addition to the station address of the subscriber which sent the data message of step 30, the port at which the data message of step 30 has been received by the switching node under consideration, and a counter value.
When the entry in the address table is created in step 32, a counter initial value is assigned to the counter value.
In step 34, a data message is received at another port of the switching node with a target address. The target address of the data message of step 34 is the same as the source address of the data message of step 30.
In step 36, the address table is then accessed and the entry in the address table with the target address of the data message of step 34 is read. A check is then made in this entry as to whether the current counter value equals 0.
If the current counter value equals 0, then this means that the respective entry in the address table is invalid or is no longer valid. This is determined in step 38. The switching node cannot therefore determine via which of its ports the data message is to be forwarded in order to reach the desired target address. Therefore, in step 40 the data message which has been received in step 34 is forwarded as a broadcast data message, i.e. the data message is forwarded via all the ports of the switching node, with the exception of the port at which the data message was received in step 34.
If the check in step 36 reveals that the current counter value is greater than 0, then step 42 is then executed. In step 42, the data message is sent via the port of the switching node which is specified in the respective entry of the address table. In step 44, the current counter value of the respective entry is then decremented.
A check is made in step 46 to see whether a data message has again been received by the switching mode under consideration at the same port and with the same source address as in step 30. If this is the case, the counter value of the respective entry in the address table is reset in step 48 to the counter initial value. The sequence control system than goes back to step 34.
If the check in step 46 reveals that such a receipt has not occurred, the sequence control system goes directly to step 34.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5151897 *||6 Feb 1991||29 Sep 1992||Fujitsu Limited||Inter-LAN connection apparatus and inter-LAN connection method|
|US5519841 *||12 Nov 1992||21 May 1996||Digital Equipment Corporation||Multi instruction register mapper|
|US5740171 *||28 Mar 1996||14 Apr 1998||Cisco Systems, Inc.||Address translation mechanism for a high-performance network switch|
|US5768531||27 Mar 1995||16 Jun 1998||Toshiba America Information Systems||Apparatus and method for using multiple communication paths in a wireless LAN|
|US5790770 *||18 Jul 1996||4 Aug 1998||Fujitsu Network Communications, Inc.||Method and apparatus for reducing information loss in a communications network|
|US5796944 *||12 Jul 1995||18 Aug 1998||3Com Corporation||Apparatus and method for processing data frames in an internetworking device|
|US5909564 *||27 Mar 1997||1 Jun 1999||Pmc-Sierra Ltd.||Multi-port ethernet frame switch|
|US5917821 *||21 Dec 1994||29 Jun 1999||Newbridge Networks Corporation||Look-up engine for packet-based network|
|US5923660 *||28 Jan 1997||13 Jul 1999||Galileo Technologies Ltd.||Switching ethernet controller|
|US5946679 *||31 Jul 1997||31 Aug 1999||Torrent Networking Technologies, Corp.||System and method for locating a route in a route table using hashing and compressed radix tree searching|
|US5978359 *||18 Jul 1996||2 Nov 1999||Fujitsu Network Communications, Inc.||Allocated and dynamic switch flow control|
|US5983360 *||24 Jun 1997||9 Nov 1999||Hitachi, Ltd.||Information processing system with communication system and hot stand-by change-over function therefor|
|US6018526 *||20 Feb 1997||25 Jan 2000||Macronix America, Inc.||Bridge device with self learning between network media and integrated circuit and method based on the same|
|US6101170 *||27 Sep 1996||8 Aug 2000||Cabletron Systems, Inc.||Secure fast packet switch having improved memory utilization|
|US6101188 *||10 Sep 1997||8 Aug 2000||Nec Corporation||Internetworking router|
|US6151297 *||8 Jul 1997||21 Nov 2000||Hewlett-Packard Company||Method and system for link level server/switch trunking|
|US6185630 *||18 Dec 1997||6 Feb 2001||Advanced Micro Devices, Inc.||Device initializing system with programmable array logic configured to cause non-volatile memory to output address and data information to the device in a prescribed sequence|
|US6212164 *||18 Jun 1997||3 Apr 2001||Hitachi, Ltd.||ATM switch congestion control method of connection setup requests and priority control method for receiving connection requests|
|US6289414 *||8 Oct 1998||11 Sep 2001||Music Semiconductors, Inc.||Partially ordered cams used in ternary hierarchical address searching/sorting|
|US6578080 *||4 Feb 1999||10 Jun 2003||Advanced Micro Devices, Inc.||Mechanism for run time programming of hardware resources with least interference with continued operation|
|US6591317 *||12 May 2000||8 Jul 2003||3Com Corporation||Queue incorporating a duplicate counter per entry|
|US6633865 *||23 Dec 1999||14 Oct 2003||Pmc-Sierra Limited||Multithreaded address resolution system|
|US6665297 *||9 Dec 1999||16 Dec 2003||Mayan Networks Corporation||Network routing table|
|US6678678 *||8 Mar 2001||13 Jan 2004||Braodcom Corporation||Method and apparatus for high speed table search|
|US6687247 *||27 Oct 1999||3 Feb 2004||Cisco Technology, Inc.||Architecture for high speed class of service enabled linecard|
|US6690667 *||30 Nov 1999||10 Feb 2004||Intel Corporation||Switch with adaptive address lookup hashing scheme|
|US6732184 *||26 Jun 2000||4 May 2004||Advanced Micro Devices, Inc.||Address table overflow management in a network switch|
|US6738829 *||16 Oct 2000||18 May 2004||Wind River Systems, Inc.||System and method for implementing a generic enhanced network driver|
|US6779043 *||16 Nov 1999||17 Aug 2004||National Semiconductor Corporation||Network address manager|
|US6859459 *||13 Nov 2000||22 Feb 2005||Nec Corporation||High-speed/high-reliability ether transmission system and I/F apparatus|
|US6870840 *||16 Aug 2000||22 Mar 2005||Alcatel||Distributed source learning for data communication switch|
|US6987768 *||19 Apr 2000||17 Jan 2006||Fujitsu Limited||Packet transferring apparatus|
|US7103008 *||2 Jul 2002||5 Sep 2006||Conexant, Inc.||Communications system using rings architecture|
|US7116672 *||7 Apr 2000||3 Oct 2006||Cisco Technology, Inc.||Method and apparatus for reducing flooding in bridged networks|
|US7130903 *||3 Jan 2001||31 Oct 2006||Nec Corporation||Multi-layer class identifying communication apparatus with priority control|
|US20040039845 *||22 Aug 2003||26 Feb 2004||David Feldmeier||Partially-ordered cams used in ternary hierarchical address searching/sorting|
|US20050063382 *||16 Jul 2004||24 Mar 2005||Fenner Investments, Ltd.||Packet switching node|
|DE10058524A1||24 Nov 2000||13 Jun 2002||Siemens Ag||System und Verfahren zur parallelen Übertragung von echtzeitkritischen und nicht echtzeitkritischen Daten über schaltbare Datennetze, insbesondere Ethernet|
|EP0993156A2||4 Oct 1999||12 Apr 2000||Alcatel Alsthom Compagnie Generale D'electricite||Network switching device with forwarding database tables populated based on use|
|WO2000011888A2||10 Aug 1999||2 Mar 2000||Adc Telecommunications Inc||Telecommunication network with variable address learning, switching and routing|
|WO2001067686A1||1 Sep 2000||13 Sep 2001||Advanced Micro Devices Inc||Selective address table aging in a network switch|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US9210082||25 Feb 2013||8 Dec 2015||Avago Technologies General Ip (Singapore) Pte. Ltd.||High speed network bridging|
|U.S. Classification||370/401, 370/413, 370/466, 370/258, 370/389, 709/227, 719/311, 709/220, 370/241, 709/238|
|International Classification||H04L12/46, H04L29/06, H04L12/28|
|Cooperative Classification||H04L69/22, H04L12/462, H04L45/742|
|European Classification||H04L12/46B7, H04L45/742|
|16 Mar 2004||AS||Assignment|
Owner name: SIEMENS AKTIENGESELLSCHAFT, GERMANY
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BRUCKNER, DIETER;GOTZ, FRANZ-JOSEF;KLOTZ, DIETER;AND OTHERS;REEL/FRAME:015855/0500;SIGNING DATES FROM 20040302 TO 20040308
Owner name: SIEMENS AKTIENGESELLSCHAFT, GERMANY
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BRUCKNER, DIETER;GOTZ, FRANZ-JOSEF;KLOTZ, DIETER;AND OTHERS;SIGNING DATES FROM 20040302 TO 20040308;REEL/FRAME:015855/0500
|20 Aug 2014||FPAY||Fee payment|
Year of fee payment: 4