This application claims priority under 35 U.S.C. § 119 to European Patent Application No. EP19158670.0, filed Feb. 21, 2019, which is incorporated by reference as if fully set forth herein.
Examples relate to a mechanism for interfacing between devices, more particularly a device and method for transferring identification and/or data flow control information between link partner devices.
ITU-T G.999.1 defines an interface between a link layer and a physical layer for digital subscriber lines (DSL) transceivers. The interface defined in ITU-T G.999.1 is a single point-to-point interconnection between a link layer device and a physical layer device. In accordance with ITU-T G.999.1, an identification of a packet or a fragment of the packet, and data flow control information are carried between the link layer and the physical layer. The interface defined in ITU-T 999.1 adds an additional tag, an Ethernet encapsulation header, and an additional frame check sequence (FCS) to each packet or fragment. The interface defined in ITU-T 999.1 also inserts a pause frame to carry data flow control information.
Some examples of apparatuses and/or methods will be described in the following by way of example only, and with reference to the accompanying figures, in which
Various examples will now be described more fully with reference to the accompanying drawings in which some examples are illustrated. In the figures, the thicknesses of lines, layers and/or regions may be exaggerated for clarity.
Accordingly, while further examples are capable of various modifications and alternative forms, some particular examples thereof are shown in the figures and will subsequently be described in detail. However, this detailed description does not limit further examples to the particular forms described. Further examples may cover all modifications, equivalents, and alternatives falling within the scope of the disclosure. Like numbers refer to like or similar elements throughout the description of the figures, which may be implemented identically or in modified form when compared to one another while providing for the same or a similar functionality.
It will be understood that when an element is referred to as being “connected” or “coupled” to another element, the elements may be directly connected or coupled or via one or more intervening elements. If two elements A and B are combined using an “or”, this is to be understood to disclose all possible combinations, i.e. only A, only B as well as A and B. An alternative wording for the same combinations is “at least one of A and B”. The same applies for combinations of more than 2 elements.
The terminology used herein for the purpose of describing particular examples is not intended to be limiting for further examples. Whenever a singular form such as “a,” “an” and “the” is used and using only a single element is neither explicitly or implicitly defined as being mandatory, further examples may also use plural elements to implement the same functionality. Likewise, when a functionality is subsequently described as being implemented using multiple elements, further examples may implement the same functionality using a single element or processing entity. It will be further understood that the terms “comprises,” “comprising,” “includes” and/or “including,” when used, specify the presence of the stated features, integers, steps, operations, processes, acts, elements and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, processes, acts, elements, components and/or any group thereof.
Unless otherwise defined, all terms (including technical and scientific terms) are used herein in their ordinary meaning of the art to which the examples belong.
Examples are disclosed for a mechanism to transfer identification, priority information, and/or data flow control information without overhead in the interface between two link partner devices (e.g. a link layer device and a physical layer device).
A packet is a block of data consisting of a certain number of octets for transport between a physical layer port and a link layer port. The fragmentation function 112 may divide a packet to multiple fragments if the size of the packet exceeds the maximum fragment size. If the length of the packet is less than or equal to the maximum fragment size, the packet is transmitted without fragmentation.
The tag function 114 adds an identification tag to each packet or fragment of a packet. The identification tag is inserted into a tag control identification (TCI) field (16 bits). The TCI field includes a start of fragment (SoF) bit (1 bit), an end of fragment (EoF) bit (1 bit), a data stream flag (1 bit), and a stream identification (SID) (13 bits). The data stream flag differentiates between a data frame (=1) and a pause frame (=0). The tag function may add a length field to indicate the number of bytes in a packet/fragment. The tagged packets or fragments on multiple streams are multiplexed by a multiplexer 116.
The Ethernet (ETH) adaptation block 118 adds fields to the tagged packets or fragments for compliance with the IEEE 802.3 format. The Ethernet adaptation block 118 adds a source medium access control (MAC) address field, a destination MAC address field, and a virtual local area network (LAN) tag protocol identifier (TPID) field to the tagged packets/fragments. The Ethernet adaptation block 118 may also append a padding field. The frame check sequence (FCS) block 120 adds an FCS field for error detection.
Referring to
The packet transfer functions described above may also be implemented for transfer of packets from the physical layer 104 to the link layer 102. For the data transfer from the physical layer 104 to the link layer 102, the fragment function 132, the tagging function 134, the Ethernet function 136, and the FCS function 138 as explained above are performed in the physical layer, and the decapsulation function 140 is performed in the link layer 102.
Data flow control (DFC) is a mechanism that prevents congestion by ensuring that a transmitting device does not overwhelm a receiving device with data. To control the data flow from the link layer 102 to the physical layer 104, the physical layer 104 may send a pause frame to the link layer 102. Data flow control is implemented through a single pause frame containing the data flow states of all streams between the link layer 102 and the physical layer 104.
The DFC field contains N bits, where N represents the number of streams. The N data flow control bits represent the data flow control states for the stream with a stream identity (SID)=0 up to the stream with SID=N−1. A data flow control bit is set to ‘0’ to request to stop transmission and set to ‘1’ to request to resume transmission for the respective data stream. An Ethernet header is also added to the pause frame.
Examples are disclosed for a mechanism to transfer the identification and/or flow control information in the interface between devices (e.g. a link layer device and a physical layer device). In examples, the identification of a packet or a fragment of a packet may be carried in a packet control header (PCH) attached to each packet or fragment. In other examples, the data flow control information may be carried in the PCH attached to each data frame or fragment or an idle frame to eliminate the pause frame insertion. In other examples, priority information of the packet or fragment may be carried in the PCH of each frame/fragment to control quality of service (QoS) for the data packets. The identification information, the data flow control information, and the priority information, or any other information may be carried in the PCH independently.
Hereafter, the examples will be explained with reference to a connection between a link layer device and a physical layer device. Examples herein are explained in some parts with reference to ITU.T G.999.1 for the interface between a link layer and a physical layer. However, it should be noted that the examples disclosed herein are not limited to the interface defined in ITU.T G.999.1 or a link layer-to-physical layer interaction, but may be extended to any case where identification information and/or data flow control information need to transferred between devices. The example mechanisms disclosed herein may be used as an alternative to the method defined in ITU-T 999.1.
The first and second devices 310, 320 (e.g. a link layer device and a physical layer device) may be directly connected e.g. via a point-to-point connection between the devices 310, 320. Alternatively, there may be one or more network components between the first device 310 and the second device 320. In that case, the examples disclosed herein may be implemented if the network component(s) in the middle also supports the mechanism disclosed herein. The first and second devices 310, 320 are link partner devices in communication. A link partner device is a device in direct communication over a link established therebetween. The devices may be a physical layer device or a link layer device. The communication may be between two physical layer devices, between two link layer devices, or between a physical layer device and a link layer device.
Devices 310, 320 may support multiple streams simultaneously and identification information for packets or fragments of the packets and/or data flow control information may be transferred between the first device 310 and the second device 320. Each device 310, 320 includes a fragmentation unit 312, 322, a PCH unit 314, 324, a reassembly unit 316, 326, and a transceiver 318, 328, respectively. The fragmentation unit 312, 322 is configured to fragment a packet into multiple fragments if a size of the packet is greater than a maximum fragment size. If the size of the packet is not greater than the maximum fragment size, the packet may not be fragmented. The PCH unit 314, 324 is configured to generate a PCH for a packet or each fragment of the packet. The PCH may include at least one of a traffic control identifier field for identifying a data stream to which the packet belongs, a priority field for indicating a priority for the packet, or a data flow control field for congestion control between the devices 310, 320. The PCH may include any other information. The reassembly unit 316, 326 may reassemble fragments to a packet based on the information carried in the PCH. The transceiver 318, 328 is configured to send the packet or the fragments of the packet with the PCH via a connection 330 between the devices 310, 320. The transceiver 318, 328 may be configured to send the PCH in place of a preamble for bit-level synchronization at the link partner device.
The PCH may include a start of packet (SOP) field, a packet type field, an extension field type field, and an extension field, which will be explained in detail below. The traffic control identifier field, the priority field, and the data flow control field may be inserted into the extension field in the PCH. The packet type field may be set to a predetermined value to indicate that the packet or the fragment is sent with the PCH.
In one example, the data flow control field may include a first set of bits for indicating a group index of a data stream and a second set of bits for data flow control information for a group of data streams corresponding to the group index. The data flow control field may be sent in a round robin way for multiple groups of streams.
In one example, the PCH 450 may include an SOP field 451, a packet type field 452, a sub-port ID field 453, an extension field type field 454, an extension field 455, and a cyclic redundancy check (CRC) 456. The SOP field 451 may be set to a fixed value (e.g. 0xFB). The packet type field 452 (e.g. 2 bits) indicates the type of the packet. For example, the packet type field 452 may be set as follows: 00: Ethernet packet with packet specific information (e.g. the packet format as shown in
The extension field type field 454 (e.g. 2 bits) indicates the type of the extension field 455. The extension field type field 454 may be set as follows: 00: ignore the extension field, 01: the extension field carries time stamp, 10: user-defined information type 1 (as an example), and 11:user-defined information type 2 (as an example). The extension field 455 (e.g. 40 bits) carries data defined by the extension field type field 454, (e.g. time stamp).
For the transmission of data packets from the link layer device 502 to the physical layer device 504, the fragmentation function 512 in the link layer device 502 may divide the packet to multiple fragments if the size of the packet exceeds the maximum fragment size. If the length of the packet is less than or equal to the maximum fragment size, the packet may be transmitted without fragmentation. Data packets on the plurality of streams are multiplexed by the multiplexer 514. The PCH function 516 generates, and appends, a PCH to each packet or fragment of the packet. An example structure of the PCH is shown in
The PCH function 516 may add in the extension field 455 of the PCH at least one of a TCI field, a priority field, and/or a DFC field, or any additional information. The TCI field may include a start of fragment (SoF) field (1 bit), an end of fragment (EoF) field (1 bit), and a stream identification (SID) field (e.g. 10 bits to support 1024 streams between the link layer device 502 and the physical layer device 504). The extension field type field 454 in the PCH may be set to “10” or “11” to indicate that the packet is transmitted with the PCH. Alternatively, the extension field type field 454 may be set to a different value that is mutually agreed with between the devices 502, 504.
The priority field may indicate a priority of the packet/fragment (e.g. 3 bits) for QoS control. The DFC field may be included in the PCH for controlling data flow from the physical layer device 504 to the link layer device 502. Alternatively, the data flow control for the data flow from the physical layer device 504 to the link layer device 502 may not be implemented. The link layer device 502 sends a packet or fragment with the PCH to the physical layer device 504. If there is no data packet to be transferred and DFC information is changed for any stream, an idle packet (a packet without payload data) with DFC carried in the PCH may be generated and transferred between the devices 502, 504.
In the physical layer device 504, the packets/fragments on multiple streams are demultiplexed by the demultiplexer 518. The reassembly unit 520 of the physical layer device 504 reassembles fragments to a packet based on the TCI field in the PCH.
For the transmission of data packets from the physical layer device 504 to the link layer device 502, the same functions described above are performed in the physical layer device 504 and the link layer device 502. The fragmentation function 522 in the physical layer device 504 may divide the packet to multiple fragments if the size of the packet exceeds the maximum fragment size. If the length of the packet is less than or equal to the maximum fragment size, the packet may be transmitted without fragmentation. Data packets on the plurality of streams are multiplexed by the multiplexer 524. The PCH function 526 in the physical layer device 504 generates, and appends, a PCH to each packet or fragment of the packet. An example structure of the PCH is shown in
The PCH function 526 may add in the extension field 455 of the PCH at least one of a TCI field, a priority field, and/or a DFC field, or any additional information. The TCI field may include an SoF field (1 bit), an EoF field (1 bit), and an SID field (e.g. 10 bits to support 1024 streams between the link layer device 502 and the physical layer device 504). The extension field type field 454 in the PCH may be set to “10” or “11” to indicate that the packet is transmitted with the PCH. Alternatively, the extension field type field 454 may be set to a different value that is mutually agreed with between the devices 502, 504. The priority field may indicate a priority of the packet/fragment (e.g. 3 bits) for QoS control. The DFC field may be included in the PCH for controlling data flow from the link layer device 502 to the physical layer device 504. The physical layer device 504 sends a packet or fragment with the PCH to the link layer device 502. If there is no data packet to be transferred and DFC information is changed for any stream, an idle packet with DFC carried in the PCH may be generated and transferred between the devices 502, 504.
In the link layer device 502, the packets/fragments on multiple streams are demultiplexed by the demultiplexer 528. The reassembly unit 530 of the link layer device 502 reassembles fragments to a packet based on the TCI field in the PCH.
The examples disclosed herein do not require a separate identification tag, Ethernet header encapsulation, FCS generation and insertion, and the corresponding reverse actions in a link partner device. The examples do not require separate pause frame generation and insertion, and the corresponding reverse action in a link partner device. The transport mechanism in accordance with the examples disclosed herein may carry identification (e.g. start of fragment, end of fragment, stream ID), priority information, and/or DFC information in the PCH field that is transported in place of a preamble for a packet/fragment.
The mechanism in accordance with the examples disclosed herein, compared with the methods defined in ITU-T G.999.1, has no interface overhead for data frame and data flow control frame. In addition, implementation complexity is reduced in the mechanism in accordance with the examples disclosed herein. At the transmit side, tagging, Ethernet header encapsulation, FCS generation and insertion are not required in the examples. At the receive side, un-tagging, Ethernet header de-capsulation, FCS verification and removal are not required. The PCH (e.g. 8 bytes) may carry additional information that is not defined by the ITU-T G.999.1. For example, priority information which may improve overall QoS in the link layer and/or the physical layer may be additionally transferred between the devices.
N streams may be supported between the link layer device 502 and the physical layer device 504. Each of the N streams requires one DFC bit. In the example PCH format shown in
In order to support up to 1024 streams, the streams may be divided into multiple groups. In one example, the streams may be divided into 64 groups, each group with 16 streams. With 64 16-stream groups, 1024 streams can be supported. The DFC field in the PCH may be partitioned into two parts: one part for the stream group index (e.g. 6 bits for 64 groups) and the other part for DFC information for a specific stream group (e.g. 16 bits for 16 streams). The DFC group index indicates the index of the selected stream group, and the DFC information part are bit maps for the streams of the selected group. The DFC information of all streams in the selected group is indicated by the DFC group index.
If a DFC state of any stream within one group has changed, the DFC information of that group is selected to be carried in the PCH of the next data packet or fragment if there is a data packet to be sent. In this case, the packet type field 452 in the PCH may be set to “00.” If there is no data packet to be transferred and there is any DFC change, an idle packet with the PCH may be generated. In this case, the packet type field 452 in the PCH may be set to “10.” If a DFC state changes in multiple stream groups, a round robin mechanism may be used for selecting the stream group among all the stream groups with DFC state change. If there is no DFC state change for a specific stream group, the DFC field of a data packet may carry DFC information of any stream group. The PCH may be transmitted in place of a preamble preceding packet data. The packet with the PCH may be transmitted without preamble.
The packet control header may be sent in place of a preamble for bit-level synchronization at the link partner device. The packet control header may include an SOP field, a packet type field, an extension field type field, and an extension field. The traffic control identifier field, the priority field, and the data flow control field may be inserted into the extension field. The packet type field may indicate that the packet or the fragments is sent with the packet control header.
The data flow control field may include a first set of bits for indicating a group index of a data stream and a second set of bits for data flow control information for a group of data streams corresponding to the group index. The data flow control field may be sent in a round robin way for multiple groups of streams.
Another example is a computer program having a program code for performing at least one of the methods described herein, when the computer program is executed on a computer, a processor, or a programmable hardware component. Another example is a machine-readable storage including machine readable instructions, when executed, to implement a method or realize an apparatus as described herein. A further example is a machine-readable medium including code, when executed, to cause a machine to perform any of the methods described herein.
The examples as described herein may be summarized as follows:
Example 1 is a device for communicating with a link partner device. The device includes a fragmentation unit, a packet control header unit, and a transceiver. The fragmentation unit is configured to fragment a packet into multiple fragments if a size of the packet is greater than a maximum fragment size. The packet control header unit is configured to generate a packet control header for a packet or each fragment of the packet. The packet control header may include at least one of a traffic control identifier field for identifying a data stream to which the packet belongs, a priority field for indicating a priority for the packet, or a data flow control field for congestion control between the device and the link partner device. The transceiver is configured to send the packet or the fragments of the packet with the packet control header via a connection between the device and the link partner device.
Example 2 is the device of example 1, wherein the transceiver is configured to send the packet control header in place of a preamble for bit-level synchronization at the link partner device.
Example 3 is the device as in any one of examples 1-2, wherein the packet control header includes a start of packet field, a packet type field, an extension field type field, and an extension field, wherein the traffic control identifier field, the priority field, and the data flow control field are inserted into the extension field.
Example 4 is the device of example 3, wherein the packet type field indicates that the packet or the fragments is sent with the packet control header.
Example 5 is the device as in any one of examples 1-4, wherein the data flow control field includes a first set of bits for indicating a group index of a data stream and a second set of bits for data flow control information for a group of data streams corresponding to the group index.
Example 6 is the device of example 5, wherein the data flow control field is sent in a round robin way for multiple groups of streams among stream groups with data flow control state change.
Example 7 is the device as in any one of examples 1-6, wherein the device is either a physical layer device or a link layer device.
Example 8 is the device as in any one of examples 1-7, wherein if there is no data to be transferred and a data flow control status changes for any data stream, an idle packet is transferred with the packet control header.
Example 9 is the device as in any one of examples 1-8, further including a reassembly unit configured to reassemble fragments to a packet based on the packet control header.
Example 10 is a method for interfacing between devices. The method includes obtaining a data packet, fragmenting the packet into multiple fragments if a size of the packet is greater than a maximum fragment size, generating a packet control header for the packet or each fragment of the packet, wherein the packet control header includes at least one of a traffic control identifier field for identifying a data stream to which the packet belongs, a priority field for indicating a priority for the packet, or a data flow control field for congestion control between the devices, and sending the packet or the fragments of the packet with the packet control header to a link partner device.
Example 11 is the method of example 10, wherein the packet control header is sent in place of a preamble for bit-level synchronization at the link partner device.
Example 12 is the method as in any one of examples 10-11, wherein the packet control header includes a start of packet field, a packet type field, an extension field type field, and an extension field, wherein the traffic control identifier field, the priority field, and the data flow control field are inserted into the extension field.
Example 13 is the method of example 12, wherein the packet type field indicates that the packet or the fragments is sent with the packet control header.
Example 14 is the method as in any one of examples 10-13, wherein the data flow control field includes a first set of bits for indicating a group index of a data stream and a second set of bits for data flow control information for a group of data streams corresponding to the group index.
Example 15 is the method of example 14, wherein the data flow control field is sent in a round robin way for multiple groups of streams among stream groups with data flow control state change.
Example 16 is a computer program having a program code for performing at least one of the methods as in any one of examples 10-15.
Example 17 is a machine-readable storage including machine readable instructions, when executed, to implement a method or realize an apparatus as in any one of examples 1-15.
The aspects and features mentioned and described together with one or more of the previously detailed examples and figures, may as well be combined with one or more of the other examples in order to replace a like feature of the other example or in order to additionally introduce the feature to the other example.
Examples may further be or relate to a computer program having a program code for performing one or more of the above methods, when the computer program is executed on a computer or processor. Steps, operations or processes of various above-described methods may be performed by programmed computers or processors. Examples may also cover program storage devices such as digital data storage media, which are machine, processor or computer readable and encode machine-executable, processor-executable or computer-executable programs of instructions. The instructions perform or cause performing some or all of the acts of the above-described methods. The program storage devices may comprise or be, for instance, digital memories, magnetic storage media such as magnetic disks and magnetic tapes, hard drives, or optically readable digital data storage media. Further examples may also cover computers, processors or control units programmed to perform the acts of the above-described methods or (field) programmable logic arrays ((F)PLAs) or (field) programmable gate arrays ((F)PGAs), programmed to perform the acts of the above-described methods.
The description and drawings merely illustrate the principles of the disclosure. Furthermore, all examples recited herein are principally intended expressly to be only for pedagogical purposes to aid the reader in understanding the principles of the disclosure and the concepts contributed by the inventor(s) to furthering the art. All statements herein reciting principles, aspects, and examples of the disclosure, as well as specific examples thereof, are intended to encompass equivalents thereof.
A functional block denoted as “means for . . . ” performing a certain function may refer to a circuit that is configured to perform a certain function. Hence, a “means for s.th.” may be implemented as a “means configured to or suited for s.th.”, such as a device or a circuit configured to or suited for the respective task.
Functions of various elements shown in the figures, including any functional blocks labeled as “means”, “means for providing a sensor signal”, “means for generating a transmit signal.”, etc., may be implemented in the form of dedicated hardware, such as “a signal provider”, “a signal processing unit”, “a processor”, “a controller”, etc. as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some of which or all of which may be shared. However, the term “processor” or “controller” is by far not limited to hardware exclusively capable of executing software but may include digital signal processor (DSP) hardware, network processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), read only memory (ROM) for storing software, random access memory (RAM), and non-volatile storage. Other hardware, conventional and/or custom, may also be included.
A block diagram may, for instance, illustrate a high-level circuit diagram implementing the principles of the disclosure. Similarly, a flow chart, a flow diagram, a state transition diagram, a pseudo code, and the like may represent various processes, operations or steps, which may, for instance, be substantially represented in computer readable medium and so executed by a computer or processor, whether or not such computer or processor is explicitly shown. Methods disclosed in the specification or in the claims may be implemented by a device having means for performing each of the respective acts of these methods.
It is to be understood that the disclosure of multiple acts, processes, operations, steps or functions disclosed in the specification or claims may not be construed as to be within the specific order, unless explicitly or implicitly stated otherwise, for instance for technical reasons. Therefore, the disclosure of multiple acts or functions will not limit these to a particular order unless such acts or functions are not interchangeable for technical reasons. Furthermore, in some examples a single act, function, process, operation or step may include or may be broken into multiple sub-acts, -functions, -processes, -operations or -steps, respectively. Such sub acts may be included and part of the disclosure of this single act unless explicitly excluded.
Furthermore, the following claims are hereby incorporated into the detailed description, where each claim may stand on its own as a separate example. While each claim may stand on its own as a separate example, it is to be noted that—although a dependent claim may refer in the claims to a specific combination with one or more other claims—other examples may also include a combination of the dependent claim with the subject matter of each other dependent or independent claim. Such combinations are explicitly proposed herein unless it is stated that a specific combination is not intended. Furthermore, it is intended to include also features of a claim to any other independent claim even if this claim is not directly made dependent to the independent claim.
Number | Date | Country | Kind |
---|---|---|---|
19158670.0 | Feb 2019 | EP | regional |