Method for stamping any ethernet frames in conjunction with standard ethernet
Granted 20 Jul 2010 · 1 office action
Current assignee: SIEMENS AKTIENGESELL SCHAFT · originally Siemens AG
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Günter Steindl · Examiner: Salman Ahmed
Life of the application
8 dated eventsAbstract
There is provided a method and apparatus for stamping any Ethernet frames. Any Ethernet frame is provided with a time stamp, it being possible to use standard Ethernet controllers defined according to IEEE 802.X. This is achieved by the method in such a way that the stamp is applied between an Ethernet controller operated in RAW mode and a “Physical Layer†to an area of the Media Access Control (MAC) destination address, while the original MAC destination address is advantageously encoded in the remaining area.
Description
6 parts›CROSS REFERENCE TO RELATED APPLICATIONS
This application is the US National Stage of International Application No. PCT/EP2006/064257, filed Jul. 14, 2006 and claims the benefit thereof. The International Application claims the benefits of German application No. 10 2005 037 376.3 DE filed Aug. 8, 2005, both of the applications are incorporated by reference herein in their entirety.
›FIELD OF INVENTION
The invention relates to a method and a device for applying a stamp to any Ethernet frames in conjunction with a standard Ethernet controller.
›BACKGROUND OF INVENTION
A method or apparatus of this kind is used in local area networks, particularly in distributed systems in automation for which a precise time base is important. Automation systems are here to be understood as systems which use technical means to carry out particular operations partly or wholly according to predefined programs without human intervention. In this context, the term operations denotes e.g. manufacturing processes, assembly processes, transportation processes, quality control processes, etc. which take place particularly in an industrial environment.
Highly accurate Ethernet synchronization e.g. by means of the Precision Time Protocol (PTP) specified in IEEE 1588 requires time stamping of the Ethernet telegrams at the time of reception. Increasing the telegram length in order to add the stamp is not supported by the Media Access Controllers (MACs).
The known solutions apply the time stamp as a prefix or postfix to the Ethernet frame, which means that standard Ethernet controllers can no longer be used. This problem is solved in a proprietary manner by additional hardware which is generally connected to the Media Independent Interface (MII) between an Ethernet controller and a “Physical Layer” (PHY).
US 2003/0115369 A1 discloses a method wherein, by means of an “epoch packet” which marks the start of a frame having a plurality of time slots, a plurality of devices connected to a network are assigned said time slots together with an offset and the duration of the relevant time slot during which packets may be transmitted onto the network. The epoch packets themselves are e.g. standard Ethernet frames, the time slot information constituting to some extent the application data of the Ethernet frame. The actual time stamping for synchronization is performed here by a governor which provides the incoming epoch packets in a bus adapter of the relevant device with a time stamp after the media access controller incorporated in the adapter has removed the headers of the Ethernet frames.
›SUMMARY OF INVENTION
An object of the invention is to provide any Ethernet frames with a stamp, in particular a time stamp, it being possible to use standard Ethernet controllers defined by the general Ethernet standard IEEE 802.X.
This object is achieved by a method for applying a stamp to any Ethernet frames in conjunction with a standard Ethernet controller, said Ethernet controller being operated in so-called RAW mode in which e.g. no media access control (MAC) destination address filtering is performed, and the stamp is entered in an area of the MAC destination address of the Ethernet frame.
This object is further achieved by an apparatus for applying a stamp to any Ethernet frames in conjunction with a standard Ethernet controller, said apparatus being provided between an Ethernet controller operated in so-called RAW mode in which e.g. no media access control (MAC) destination address filtering is performed, and a “Physical Layer” (PHY), and incorporates means of entering the stamp in an area of the MAC destination address of the Ethernet frame.
Every Ethernet controller supports the so-called RAW mode in which checking of the Ethernet telegram is reduced to a minimum. If the Ethernet controller is operated in this mode and checking of the MAC destination address is shifted to the apparatus for stamping any Ethernet frames, the 6-byte MAC destination address is available for stamping. By means of the selected location of the apparatus between Ethernet controller and PHY, the apparatus can manipulate the data flow between Ethernet controller and PHY as required.
In a particularly advantageous embodiment, four bytes of the six-byte MAC destination address are provided for the stamp, while the remaining two bytes encode the original MAC destination address, which means that the full functionality of the MAC destination address, such as a plurality of unicast addresses or additional multicast addresses, is retained, as the stamp can be extracted by software at each Ethernet controller and the Ethernet frame can be re-provided with the original MAC destination address.
In a likewise advantageous embodiment, the apparatus and also the PHY can be controlled via reading and writing by the Serial Management Interface (SMI) protocol of the Media Independent Interface (MII) specified in the general Ethernet standard IEEE 802.X, by means of which a 32x32x2 byte address space is read and write addressable, and for its control e.g. the (28-31)xYYx2 byte address space is provided, which means that another 28 PHYs [(0-27)xYYx2 bytes] remain selectable.
The apparatus advantageously has means of entering the time stamp for the Precision Time Protocol (PTP) specified in IEEE 1588. This functionality is available on every conceivable Ethernet controller with SMI.
Multicast telegrams are provided in many Ethernet protocols, the apparatus advantageously being usable as a pre-filter for load reduction at the local interface.
›BRIEF DESCRIPTION OF THE DRAWINGS
The invention will now be described and explained in greater detail with reference to the accompanying drawings, in which:
FIG. 1 shows the apparatus for stamping any Ethernet frames between Ethernet controller and Physical Layer,
FIG. 2 shows an Ethernet frame defined according to the general Ethernet standard IEEE 802.X, and
FIG. 3 shows a MAC destination address including the stamp.
›DETAILED DESCRIPTION OF INVENTION
FIG. 1 shows an apparatus for stamping 1 any Ethernet frames between any Ethernet controller 2 (e.g. TriCore or NET+ARM) and any Physical Layer 3 (e.g. Intel or AMD). Every Ethernet controller supports the Media Independent Interface (MII) 5 specified in the general Ethernet standard IEEE 802.X, with its Serial Management Interface (SMI) 4 . The apparatus for stamping 1 is controlled like the Physical Layer 3 via reading and writing by the SMI protocol.
FIG. 2 shows an Ethernet frame defined according to the general Ethernet standard IEEE 802.X, the preamble field, as the name suggests, not being part of the actual Ethernet frame, likewise the subsequent Start Frame Delimiter (SFD) which marks the start of the actual Ethernet frame with the sequence 10101011. The frame begins with the Media Access Control (MAC) destination address described in the method according to the invention and the subsequent MAC source address. The length of the optional VLAN field varies according to the standard and e.g. in IEEE standard 802.1Q comprises 4 bytes. The actual data field has a minimum length of 46 bytes and is followed by the Frame Check Sequence (FCS) which ends the Ethernet frame. It contains a value calculated by means of a cyclic redundancy check.
Due to the selected location on the MII, the described method and apparatus are independent of the physical transmission type, glass fiber or copper, and of the transmission speed, 10 MBd to 10 GBd, as in all operating modes a MII or GMII is defined in the general Ethernet standard IEEE 802.X.
FIG. 3 shows a MAC destination address 6 , wherein four bytes of the six-byte MAC destination address are provided for the stamp, while the remaining two bytes encode the original MAC destination address.
The embodiments described have further advantages in terms of the simple hardware integration, low costs and large number of possible uses.
To summarize, the invention relates to a method and apparatus for stamping any Ethernet frames. The object of the invention is to provide any Ethernet frames with in particular a time stamp, it being possible to use standard Ethernet controllers defined according to IEEE 802.X. This object is achieved by a novel method in such a way that the stamp is applied between an Ethernet controller operated in RAW mode and a “Physical Layer” to an area of the Media Access Control (MAC) destination address, while the original MAC destination address is advantageously encoded in the remaining area.
Claims as granted
12 claimsLog in to read the claims of this application.
Log in to unlockClassifications
7 codes- H04L12/28
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock