Initializing system arrangements for packet-based data transmission
By setting delay and bandwidth specifications for the virtual data path in the car and selecting appropriate data packet lengths, the problem of data transmission delay and efficiency in the car is solved, achieving deterministic delay time and efficient data transmission, reducing weight and Resource consumption.
Patent Information
- Application Number
- CN202380023533.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-27
- Filing Date
- 2023-09-21
- Publication Date
- 2024-10-08
AI Technical Summary
In automobiles, existing technologies struggle to achieve packet-based data transmission with deterministic latency while reducing weight and improving bandwidth utilization, especially in multi-data paths and high bit-rate transmission scenarios.
Achieve short latency requirements and high bandwidth efficiency by setting delay specifications and bandwidth specifications for each virtual data path and selecting appropriate packet lengths based on predefined packet lengths (187, 411, 635, 859 bits) The data transmission uses both 112-bit constant packet fragments and 25-bit header data, reducing encoding complexity and overhead.
It achieves deterministic latency and efficient data transmission on up to 128 virtual data paths in the car, reduces weight and resource consumption, improves the flexibility and efficiency of data transmission, and is suitable for different data formats and bandwidth requirements.
Smart Images

Figure CN118749192A_ABST
Abstract
Description
[0001] The invention relates to a method for initializing a system arrangement or a data channel, in which data transmissions based on data packets are optimized so that these data transmissions have deterministic delay times. In addition, it is ensured that a single physical data line can be used, but 128 lines must be implemented. Due to the data packet-based transmission, the delay time of the data transmission can be controlled independently of the bandwidth of the transmission channel. Therefore, deterministic delay times are achieved via a single physical communication channel, which in turn is particularly advantageous in automobiles, since weight reduction is necessary to increase the range of automobiles, especially in e-mobility. The invention also relates to a suitably configured system arrangement and a computer program product and a computer-readable medium with control commands, which implement the method or operate the system arrangement.
[0002] Data transmission based on packets is known from the state of the art, although the underlying hardware is not subject to any weight restrictions. For example, network coupling via a certain number of data cables is known. However, here, weight is usually secondary, and redundant data lines or data paths are proposed in computer networks. However, these network-based data transmissions (including the implied topology and architecture) cannot be used in automobiles due to special requirements.
[0003] Data transmission solutions for automotive use cases must have maximum efficiency (minimum overhead) in terms of bandwidth utilization. Additionally, it must be possible to transmit many (>100) data paths in parallel via the physical medium (fiber or cable). The data paths must be independent of each other.
[0004] A data path with low latency must not require high bandwidth; this is not possible in a purely frame-based system or in a TDM system (low latency is brought about by a fixed bandwidth allocation).
[0005] The data path must have deterministic latency. In systems with possible collisions at the physical layer or in systems with flexible data routing (Ethernet), a deterministic data path is not possible.
[0006] Systems with inefficient line coding (eg, 8B / 10B = 25% overhead) have too high an overhead for high bit rate data transmission.
[0007] Variable (data) packet lengths require too much overhead to identify them during data recovery (from the serial data stream).
[0008] Therefore, it is necessary to create a process in the automobile which is able to achieve deterministic delay times with little technical effort both on the hardware side and on the software side, taking into account the parameters of the data line.
[0009] The object of the present invention is therefore to provide a method for initializing a system arrangement, a communication channel or a data transmission, which method allows deterministic delay times to be achieved while minimizing the workload. In addition, the object of the present invention is to provide a correspondingly equipped system arrangement and a computer program product and a computer-readable medium with control commands that implement the method or operate the system arrangement.
[0010] The problem is solved with the features of claim 1. Further advantageous embodiments are given in the dependent claims.
[0011] Therefore, a method is proposed for initializing a system arrangement for packet-based data transmission on up to 128 virtual paths via a physical data channel of a vehicle with deterministic latency, the method comprising: reading out the provided latency specifications and / or bandwidth specifications of the data channel in each case for all virtual data paths for transmitting a bit sequence to be transmitted; and setting the packet length for each of the 128 data paths taking into account four predefined packet lengths of the bit sequence, selecting the packet length such that a short packet length is used for short latency requirements and low available bandwidth and a long packet length is selected for long latency requirements and high available bandwidth.
[0012] According to the invention, it is proposed to initialize a system arrangement or to initialize a data channel in order to perform a data transmission based on data packets thereon. Although a single physical data channel is specified, there can be up to 128 virtual data paths on this channel, which connect different data sources with data slots. Identifiers of the virtual paths can be used for this purpose and / or corresponding addresses can be used. Initially, the data channel or the data transmission is not necessarily characterized by specific characteristics, but any bandwidth is available and the delay time is non-deterministic. The present method takes into account the bandwidth provided and ensures that the data transmission is then deterministic in terms of delay.
[0013] In the preparation process step, the provided delay time specification and / or bandwidth specification of the data channel is read out. The delay time specification may be caused by the application scenario, and in this regard, a data memory can be used to store the expected delay time for each channel. In addition, the specification may be affected by the data channel itself, so that only delay times within a predetermined range are possible. The data channel can also specify the specific bandwidth required. The bandwidth specification can also be derived from the application scenario, so that it specifies how much bandwidth is required. The delay specification and / or bandwidth specification can also be based on the number of virtual data paths occupied, so that the data paths divide specific system parameters between them.
[0014] In general, the latency specification or bandwidth specification need not be the same for each virtual data path. The readout of the provided latency specification and / or bandwidth specification may be defined individually for each virtual data path, such that these parameters may vary for each virtual data path. The latency specification or bandwidth specification may also be read out, such that a physical data channel is measured and a corresponding specification results from the measurement. This may also be done continuously or at repeated intervals, such that the latency or bandwidth specification may be adjusted over time.
[0015] Then, the packet length is set for each of the 128 virtual data paths taking into account the four predefined packet lengths of the bit sequence. Thus, a selected packet length is set for each virtual data path. Empirically, it has been found that exactly four predefined packet lengths are particularly advantageous. This allows a significantly reduced number of packet lengths to be considered, namely exactly four, and still sufficient to balance the provided latency specification with the bandwidth specification.
[0016] The packet length is selected such that a short packet length is used for short latency requirements and low available bandwidth. Similarly, a long packet length is selected for long latency requirements and high available bandwidth. This process step is based on the idea that smaller or shorter packets can be transmitted faster, and in this regard, these packets are selected for short latency requirements. A short latency requirement corresponds to a numerically low latency requirement; therefore, a short delay time is required. In general, a low latency requirement is referred to as a short latency requirement. With respect to a low latency requirement, a short latency is required. With respect to a higher or longer latency requirement, a higher latency is expected. Depending on the terminology used, a low requirement does not result in a high latency. Similarly, a high requirement does not result in a low latency.
[0017] For example, the packet length refers to the number of bits available per packet. If a larger bandwidth is available, a long packet length is chosen because a larger amount of data is to be transmitted, which then also requires a higher bandwidth. The listed parameters may also be influenced by other parameters. For example, the choice of packet length may also be influenced by the total amount of data to be transmitted. A larger bandwidth and therefore a longer packet length is suitable for larger amounts of data.
[0018] According to one aspect of the present invention, the amount of overhead data is reduced by increasing the length of the data packet. This has the advantage that the so-called data surplus can also be determined during encoding, and the data packet length can also be affected depending on the amount of data to be transmitted. If, for example, the amount of data to be transmitted increases, a higher data packet length than the initially set data packet length can be selected according to the present invention. If it is therefore recognized that the surplus is too high or can be minimized according to the present invention, the data packet length is increased. The so-called excess data amount is the amount of data that does not directly reference user data but describes the data required for encoding or data transmission. For example, optimizing the difference in the data to be transmitted can mean that now 128 bits must be transmitted instead of 112 bits of data. Since multiples of this amount of data can also be transmitted, or there is a higher amount of data, the data packet length can also be increased.
[0019] According to another aspect of the present invention, the data to be transmitted is 112 bits or a multiple thereof. This has the advantage that the proposed method can be particularly efficiently applied to these data fragments. For example, for a 112-bit wide data fragment transmitted with a 128-bit symbol, encoding is particularly advantageous. If the entire number of bits is to be encoded, this will result in a rapid increase in encoding work and complexity. In the current case, the data to be transmitted is limited to four data packet lengths, and it is easy to create a coding table during encoding, which no longer has the complexity of data packet transmission using a single data length. A single data length defines a very long bit sequence to be transmitted. However, the complexity of finding encoding for this increases exponentially. Partial data lengths (e.g., four lengths) reduce this complexity to a much smaller number of encoding options. Therefore, efficient encoding is achieved according to the present invention. According to the present invention, the coding table is therefore much shorter than a traditional coding table, or the number of required coding rules is significantly reduced.
[0020] According to another aspect of the invention, a path identifier, a sequence number, a cell type, at least one checksum, at least one user data information and / or further user data information are transmitted together with the bit sequence to be transmitted. This has the advantage that different data fields can also be transmitted which describe the virtual path or have a sequence number providing an indication of the sequence of the data packets. Furthermore, other data fields can be transmitted which indicate whether the data have been completely transmitted, such as a checksum.
[0021] According to another aspect of the invention, the overhead data is 25 or 37 bits. This has the advantage that a sufficient but still minimal bit length has been found which can encode all possible data which is also necessary in addition to the user data loading. By way of example only, reference is made here to Figure 3, which encodes the first 5 data fields with 25 bits, and also provides an optional check digit of 12 bits. It was therefore empirically determined that these bit lengths are optimal, and so no more bits than necessary are transmitted and all the necessary information can still be provided.
[0022] According to another aspect of the invention, a stored metric is used which indicates which of the four predefined packet lengths is to be selected. This has the advantage that it is possible to store in the metric which bandwidth specification or which latency specification leads to which packet length. This means that the appropriate packet length can be determined empirically and when which packet length is used can be adjusted dynamically at runtime. This can be done individually for all up to 128 virtual data paths.
[0023] According to another aspect of the invention, the metric specifies the corresponding data packet length taking into account the bandwidth and / or the data packet length to be transmitted. This has the advantage that the data packet length to be transmitted is also taken into account and a larger data packet length is specified in the case of larger data. The data packet length to be transmitted is the total data packet length to be transmitted, which in turn is subdivided according to the invention into four named categories of data packet lengths.
[0024] According to another aspect of the invention, a shorter data packet length is selected at a lower bandwidth. This has the advantage that the bandwidth is sufficiently selected to transmit the shorter data packet length. If there is a shorter data packet length, it is usually also assumed that the total amount of data to be transmitted is lower, and therefore the lower bandwidth will also be sufficient.
[0025] According to another aspect of the invention, a longer data packet length is selected for higher bandwidth requirements. This has the advantage that more data is transmitted when more bandwidth is needed, i.e., more user data is transmitted per header data. With a longer data packet length and constant header data (overhead), a better data / overhead ratio is generated. When a larger amount of data is to be transmitted, a longer data packet length is always advantageous. Larger user data requires relatively less header data because more user data is transmitted per header data.
[0026] According to another aspect of the invention, a short data packet length is selected when there is less data to be transmitted, and a long data packet length is selected when there is a large amount of data to be transmitted. This has the advantage that the ratio of constant overhead or header data to user data is reduced. The data packet length can thus be selected not only depending on the bandwidth or latency requirements, but also taking into account the size of the data to be transmitted. This has an impact on the selection of the data packet length.
[0027] According to another aspect of the invention, a stored metric is used, which indicates which data packet length is selected within which value range of the delay requirement and / or the available bandwidth. This has the advantage that the delay requirement and the bandwidth can be classified, and therefore the value range can be subdivided. Typically, a framework is specified when the delay requirement or the bandwidth is high or low. Classification is then performed within this framework, on the basis of which the data packet length can be selected from four categories. The delay requirement and the bandwidth are always within a specific frame range or value range, into which the actual values are to be classified. Within these value ranges, the available bandwidth or delay requirement can be classified as low, low to medium, medium to high or high. Other classifications are also possible, based on which the metric specifies which of the four data packet length categories should now be used.
[0028] According to another aspect of the invention, a stored metric is used which indicates which data packet length is selected for which latency requirement and which bandwidth. This has the advantage that a balance is established in terms of latency requirement and bandwidth, which indicates exactly when each virtual data channel uses which data packet length. Thus, the available bandwidth and latency requirement are mapped to four data packet length categories. The corresponding data packet length is then selected.
[0029] According to another aspect of the invention, four predefined user data lengths are 187 bits, 411 bits, 635 bits and 859 bits. This has the advantage that a constant data packet fragment length of 112 bits can be used, and in addition, 25 bits of header data can be used, and in addition, a 12-bit checksum can be used. According to the invention, it is determined that 112 bits of data can be encoded in a particularly advantageous manner with respect to the difference, so that 128 bits are generated, and in this respect, a bit length of 112 bits per data packet fragment is particularly advantageous. According to the invention, multiples of 112 bits are now sent, depending on how large the amount of data to be transmitted is. In the case where the bit length corresponds to a multiple of 112 bits and the multiple is equal to 2, 4, 6 or 8, the following formula is derived for 25 bits of header data and 12 bits of checksum:
[0030] 112 bits*n-25-12
[0031] So that when 4 possible data packet lengths are selected, the specified values of 187, 411, 635 and 859 bits are established for the user data. This establishes a particularly advantageous encoding and corresponds to the 4 proposed data packet lengths.
[0032] According to another aspect of the invention, the physical data channels are operated electrically or optically. This has the advantage that different transmission technologies are possible and that up to 128 virtual data channels can also be provided.
[0033] One aspect of the present invention is to bundle several data streams (video, audio and data) in a transmission frame and transmit them serially. Different data formats have not only different bandwidth requirements, but also different delay and bit error rate requirements. In particular, the transmission of today's video data formats requires not only the transmission of pure video data and its frame information, but also the support of encryption methods such as HDCP. All of this requires many different data channels with various bandwidth, delay and bit error rate requirements. In addition to this, a more complex network architecture than a simple transmitter / receiver architecture is required. An architecture with several repeaters (data paths can start and end at repeaters), branches (Y) and the possibility of reintegrating data paths into links is advantageous.
[0034] According to one aspect of the invention, the technology follows the basic idea of bundling data of different services, but offers completely new possibilities regarding network architecture and allows new approaches in implementing today's video interfaces. In addition, it can be used as a universal data transport layer, for example for transporting Ethernet or camera data or any type of sensor data.
[0035] Regarding virtual paths (in the present invention), all packets / cells take the same path unlike IP, where a packet can reach its destination via a different path than previous and subsequent packets. Therefore, the latency on the virtual path is constant.
[0036] Data cell based virtual paths also have the advantage that they can be used as a multiplexing layer for different services (video, audio, Ethernet).
[0037] Virtual paths consume bandwidth only when data is actually being transferred.
[0038] The concept of virtual paths also enables complex and far-reaching diagnostic and network configuration functions to be implemented at runtime with individual (virtual) data signals.
[0039] According to one aspect of the present invention, a virtual path layer is implemented between the physical layer (serializer and framer) and the various application data interfaces.
[0040] According to one aspect of the invention, this is used to multiplex various data paths and support more complex architectures with repeaters and branches. This is basically done in a sub-layer of the virtual path layer of the cell layer.
[0041] According to aspects of the invention, another part of the virtual path layer is the application adaptation layer, which performs the packaging of video (stream) or, for example, Ethernet (packet) data into a cell format. The application adaptation layer also includes OAM functions for network diagnosis and management.
[0042] According to one aspect of the invention, the technology could be the basis for transmitting a variety of data formats via serial connections in cars (and elsewhere). As such, it forms the basis for a new generation of devices.
[0043] High serial bandwidths make it necessary to define architectures, cell formats and interfaces that enable flexible internal data bus widths in order to adapt the speed of the internal clock system to the possibilities of the chip technology.
[0044] According to one aspect of the present invention, the virtual path layer is a physical layer including a transport sublayer and a physical medium sublayer, a cell layer including a segmentation and reassembly sublayer and an application adaptation layer, and a function for adapting the data format to the corresponding application.
[0045] According to one aspect of the present invention, another part of the virtual path layer is the physical layer. The main task is to establish a physical connection with other physical layers. This connection is basically bidirectional. In theory, this connection can be achieved via a variety of media. In practice, two serial differential GBps connections are used. In this layer, line coding is performed, empty cells are inserted to decouple the cell rate from the connection rate, and the cell stream is integrated into a serial frame.
[0046] In the cell layer, the segmented data (cell payload data) from the above segmentation and reassembly sublayer is assembled into a complete cell with header, VP identifier and CRC, or the cell is CRC-checked, and the payload is passed to the segmentation and reassembly sublayer. This is also where the multiplexing of different cell streams for application-customized functions or the allocation of cell payloads to application-customized functions based on VP identifiers occurs. (Feed-in / Feed-out)
[0047] According to one aspect of the present invention, multiplexing and demultiplexing (forwarding) of cell streams in repeaters and splitters also occurs at the cell layer.
[0048] According to one aspect of the invention, the task of the application adaptation function is to adapt the data of the application interface to the format of the user data field of the information element, and transmit control information to the opposite side, or transmit control information of the opposite side for use adaptation (time generation, frame formation).
[0049] According to one aspect of the invention, all virtual data paths are unidirectional, i.e., they start at an initiator and end at one or more targets. If the virtual data paths logically belong together, such as HDCP for video channels, and thus form bidirectional data paths, these paths should have the same VP identifier.
[0050] A virtual data path begins with an initiator and ends with one or more targets.
[0051] It is implemented via the cell sublayer and performs the following functions on the virtual path:
[0052] - Add / remove multiplexing
[0053] -VP Conversion
[0054] The present invention enables up to 128 virtual data paths via a common physical layer (cable / wire). The data paths behave as if they were routed independently of each other via separate wires / cables. Using one cable and one connector system for 128 data paths instead of 128 cables and 128 connector systems saves resources (cables, connectors), potential sources of error (mechanical, electrical, EMC) and weight in the car.
[0055] Due to the cell-based transmission, the latency of data transmission is independent of the bandwidth of the transmission channel, as in the frame-based (TDM) case. Data paths that require little bandwidth (such as video encryption control HDCP) can still be transmitted with minimal latency.
[0056] Furthermore, due to cell-based transmission, the data paths "consume" / require bandwidth only when they are actually transmitting data. This is not the case with frame-based (TDM) since a fixed bandwidth is allocated to the data paths.
[0057] In order to transmit data serially via an electrical or optical medium, the serial data signal must have specific characteristics. In general, the signal must be DC-free (equal number of zeros and ones over a certain period of time), and it must have transitions from zero to one or from one to zero at specific intervals to enable the receiver to synchronize the individual data bits. This is achieved by line codes. The data to be transmitted is encoded accordingly before being sent and decoded again after being received. The encoding of the data results in an overhead during transmission. More bits than "pure" data bits must be transmitted. The goal is always to keep this overhead as low as possible.
[0058] In the present invention, according to one aspect of the invention, 112B / 128B block codes are used for this purpose.The developed block codes represent a very good compromise between the effort required to generate the code and the overhead incurred.
[0059] Encoding 11 bits of data into 128-bit symbols (line code) means an overhead of 14.28%. In comparison, the common 8B / 10B line code has an overhead of 25%.
[0060] At the same time, it is still very easy to implement line code using digital logic.
[0061] Streaming data (continuous data flow)
[0062] The streaming data function combines the interleaving of the application clock system and the cell data clock system with the conversion of the data bit widths of the application data and the cell data. The cell payload is already preformatted so that the cell footer and header fit into the first and last cell lines.
[0063] The streamed data is (usually) source synchronous. Clock domain crossing of the data path from the application clock domain to the virtual path layer clock domain is performed here.
[0064] A data buffer is provided in the transmit direction, into which source synchronized data is written along with the source clock. The segmentation layer retrieves data from this buffer as needed to perform data format conversion on the N-bit wide rows of cells. Frame data (e.g., Hsync, Vsync, DE) is encoded in the payload information bits so that the frame can be reconstructed at the receiver side.
[0065] In the receive direction, the cell data from the reassembly sublayer is written to the data buffer, whereby the cell row bit width is (with the cell row bit width). The frame information is reconstructed based on the payload information bits. For example, the source clock is regenerated using the buffer fill level and clock synthesis.
[0066] If data encryption (HDCP) is required, the cell data is encrypted or decrypted in this function.
[0067] Due to the different types of streamed data, such as encrypted and unencrypted audio and video, this basic function may have different implementations (eg, VStream In / Out; AStream In / Out; EncVStream In / Out).
[0068] The interface to the segmentation and reassembly sublayer is the same for all functions.
[0069] Burst data (discontinuous data flow)
[0070] The burst data function combines clock domain crossing with data bit width conversion of N bits from the application interface to the cell row. The cell row payload is already preformatted so that the cell footer and header fit into the first and last cell row.
[0071] The burst data is (usually) synchronized with an external time and has different identification signals (address / data / byte enable) for direction and data type.
[0072] This data is usually accompanied by control lines in order to implement a specific protocol.
[0073] In the transmit direction a data buffer is provided into which burst data is written together with the interface clock. The segmentation layer retrieves data from the buffer as required to perform data format conversion on N-bit wide row cells.
[0074] In the receive direction, the cell data from the reassembly sublayer is written to the data buffer, whereby the cell rows are bits wide. The interface control signals are reconstructed based on the payload information bits.
[0075] The payload information bits are used to generate control signals for the application-specific interface or to synchronize a protocol state machine in the application-specific interface.
[0076] Due to the different interfaces that provide burst-like data (SPI, I2C, MII), there may be different implementations of this basic function (for example: SPIBurst, I2CBurst, MIIBurst).
[0077] Therefore, there will also be (slightly) different stream input / output interfaces, but their structure should be the same.
[0078] The problem is also solved by a system arrangement for packet-based data transmission on up to 128 virtual data paths via a physical data channel of a vehicle with deterministic delay times, the system arrangement comprising: an interface unit, which is arranged to read out the provided delay time specifications and / or bandwidth specifications of the data channel in each case for all virtual data paths used to transmit the bit sequence to be transmitted; and an initialization unit, which is arranged to set the packet length for each of the 128 data paths taking into account four predefined packet lengths of the bit sequence, the packet length being selected in each case with the aid of a selection unit such that short packet lengths are used for short delay requirements and low available bandwidth and long packet lengths are selected for long delay requirements and high available bandwidth.
[0079] The object is also achieved by a computer program product having control commands for carrying out the proposed method or for operating the proposed device.
[0080] According to the invention, it is particularly advantageous that the method can be used to operate the proposed device and unit. In addition, the proposed device and unit are suitable for carrying out the method according to the invention. Therefore, in each case, the device implements a structural feature suitable for carrying out the corresponding method. However, the structural feature can also be designed as a process step. The proposed method also provides steps for implementing the functions of the structural feature. In addition, physical components can also be provided virtually or virtualized.
[0081] Further advantages, features and details of the invention are shown in the following description, in which various aspects of the invention are described in detail with reference to the accompanying drawings. The features mentioned in the claims and the specification may each be essential to the invention individually or in any combination. Similarly, the above-mentioned features and the features further described herein may be used individually or in any combination. Functionally similar or identical parts or components sometimes have the same figure marks. The terms "left", "right", "top" and "bottom" used in the description of the embodiments refer to the drawings in an orientation with a generally clear figure name or a generally clear figure mark. The embodiments shown and described should not be understood as conclusive, but have an exemplary nature for explaining the invention. The detailed description is provided for reference by those skilled in the art, and therefore known circuits, structures and methods are not shown or explained in detail in the description so as not to hinder the understanding of this description.
[0082] Figure 1 : is a schematic flow chart of a method for initializing a system arrangement for data packet-based data transmission according to one aspect of the present invention;
[0083] Figure 2 : is a frame format used in the proposed method or system arrangement according to one aspect of the present invention;
[0084] Figure 3 : is a frame panel used according to one aspect of the present invention;
[0085] Figure 4A , 4B : is a metric for selecting the length of a bit sequence based on delay requirements and available bandwidth according to aspects of the present invention; and
[0086] Figure 5 : is an exemplary encoding of data segments into symbols, wherein 14 bits are encoded into 16 bits such that the difference is optimized according to aspects of the present invention.
[0087] Some of these figures show parameters with English names familiar to those skilled in the art, which are used as parameters and cannot be translated in this way.
[0088] Figure 1A schematic flow chart of a method for initializing a system arrangement according to an aspect of the invention is shown, the system arrangement being for packet-based data transmission on up to 128 virtual data paths via physical data channels of a vehicle with deterministic latency, the method comprising: reading out 100 the provided latency specifications and bandwidth specifications of the data channels in each case for all virtual data paths for transmitting a bit sequence to be transmitted; and setting 102 a packet length for each of the 128 data paths taking into account four predefined packet lengths of the bit sequence, selecting 101 a packet length in each case such that a short packet length is used for short latency requirements and low available bandwidth and a long packet length is selected for long latency requirements and high available bandwidth.
[0089] Figure 2 shows a frame format in which 112 bits are encoded into 128 bits, resulting in a bit sequence optimized in terms of differences, e.g. Figure 5 The uncoded data symbol is 112 bits and is coded into 128 bits, so that the difference (i.e. the ratio of 0 and 1) is optimized. In addition, the run length of the symbol is limited to 7. This optimizes the data transmission, so that the corresponding bit sequence can be read out particularly advantageously in terms of clock rate.
[0090] The transmission method combines cell-oriented (packet-oriented) data transmission with a simple frame for synchronizing the transmitter and receiver. According to one aspect of the invention, 256 data cells are transmitted, followed by a 128-bit wide synchronization word. The synchronization word consists of two parts, a 64-bit wide self-synchronizing LFSR sequence for monitoring the synchronization of the transmitter and receiver and a constant 64-bit wide synchronization pattern for fast synchronization of the transmitter and receiver. According to one aspect of the invention, the synchronization pattern is unique throughout the data stream. This is ensured by the selected line coding (see below). The overhead caused by synchronization is: 128 bits / (256*2*128) bits in the worst case =
[0091] 0.2%, and in the best case 128 bits / (256*8*128) bits = 0.05%.
[0092] According to one aspect of the invention, the transmission method implements 128 virtual data paths by packaging data to be transmitted from up to 128 data sources into 4 different length (configurable) cells. Each cell is assigned a 7-bit wide address that corresponds 1:1 to a virtual data path.
[0093] According to one aspect of the present invention, a data cell comprises a predefined constant length header field (cell header line) with payload data, a header field with a configurable length (0, 2*128.4*128.6*
[0094] 128) and a constant length footer field with a payload checksum and payload data.
[0095] Figure 3 The frame fields that can be transmitted according to the proposed invention are shown. In particular, this figure shows the bit lengths of the user data. These bit lengths are divided into four categories or four predefined bit lengths, according to which each virtual data channel transmits data. In addition to the user data, the overhead data listed in the table above and / or below the user data is also transmitted. This makes the bit length of the overhead data above the user data 25 bits, and as described below the user data, a 12-bit checksum can also be transmitted.
[0096] The task of the header field is to enable control of the data flow through the transmission system. For this purpose, a 7-bit wide address, the VP (Virtual Path Identifier), is used. With 7 bits, 128 different data paths can be uniquely addressed. This is perfectly sufficient for automotive applications.
[0097] Another task of the header field is to be able to "mark" the data in the cell in order to transmit frame information such as the start / end of the data stream or burst information such as the packet number depending on the data stream or data interface in order to implement hardware-supported packing / unpacking of the data stream, which is different from e.g. Ethernet where this task must be solved completely in software. Hardware-supported packing / unpacking reduces the overhead of this task to a minimum, in this case to 3 bits of PI (payload information).
[0098] Another task of the header field is to efficiently encode the length of the data field. This is done using the 2-bit CT (cell type).
[0099] The four different data packet lengths have been chosen in order to be able to implement different bandwidth and latency requirements efficiently on the one hand and to minimize the necessary control effort (2 bits of cell type information per cell) on the other hand.
[0100] Another task of the header field is to implement integrity checking of the data stream at the hardware level. For this purpose, a 3-bit SN (Running Sequence Number) is generated for each cell. In other systems (Ethernet), this must be done in software and is therefore much less efficient.
[0101] According to one aspect of the invention, due to the central role of the header field for data flow and data evaluation, the header field is protected with a 10-bit CRC. This achieves a Hamming distance of 5 with a maximum of 21 bits. Therefore, the header is significantly better protected than the data. However, since the header has significantly fewer bits than the efficient payload field, this is very efficient. Unlike Ethernet, the data and header in Ethernet are protected using the same (short) polynomial.
[0102] Figure 4A and 4B Four basic categories or choices of bit lengths are shown. The predefined packet lengths are shown on the far right, the latency requirements are shown in the left column, and the available bandwidth is shown in the middle. For example, if the latency requirement is low and the available bandwidth is low, a predefined packet length of 187 bits can be selected for the bit sequence. On the other hand, if the latency requirement is high and the available bandwidth is high, a packet length of 859 bits can be selected. In a hybrid assignment, you can choose Figure 4A The metrics shown in Figure 4B The metrics shown in . For low latency requirements and high bandwidth, 411 bits or 635 bits can be selected. The same applies to high latency requirements and low available bandwidth, where 635 bits or 411 bits can be selected.
[0103] Figure 5 An example of how to encode 14 bits into 16 bits so as to optimize the difference of the resulting data stream is shown. Since the optimized difference is advantageous for data transmission, 112 bits are encoded into 128 bits according to one aspect of the present invention. Therefore, the absolute value is also determined empirically in the proposed technical teaching.
[0104] In the present context, cell is used as a synonym for frame. These can also be packets.
[0105] Cell format / frame format
[0106] According to one aspect of the present invention, a cell includes a header having a fixed bit length, a payload area having 4 selectable bit lengths, and a footer also having a fixed bit length.
[0107] The cell structure is the following bit sequence:
[0108] - A 7-bit Virtual Path Identifier (VP) which indicates the unique address of the virtual path.
[0109] - 3-bit sequence number (SN) which numbers the cells consecutively in order.
[0110] - A 2-bit wide Cell Type (CT) identifier that specifies the length of the user data.
[0111] - 3 bits wide Payload Information (PI) which contains additional information about the payload. This can also be used to synchronize payload data and frame data or control data.
[0112] - A 10-bit wide CRC polynomial (HCRC) used for error protection of header information. This polynomial has a bit sequence of up to 21 bits (P=0x2B9) and a Hamming distance of 5.
[0113] - The length of the payload (PL) field is: 187, 411, 635 or 859 bits, depending on the CT value. The shortest payload is chosen so that it is still larger than the largest supported (video) streaming bus width. (Should simplify the mapping of streaming data to cell payloads).
[0114] - Finally, a 12-bit wide CRC polynomial (PCRC) is used for error protection of user data. This polynomial has a bit sequence of up to 2035 bits (P=0x8F3) and a Hamming distance of 4.
[0115] Transmission frame format
[0116] According to one aspect of the invention, a transmission frame comprises a sequence of M-bit wide words. The frame starts with an M-bit wide "comma" word from a sequence of defined comma words used for frame alignment. This is followed by K cells. A cell consists of 2, 4, 6 or 8 N-bit wide words that carry headers, payload and footers. These N-bit wide words are encoded into M-bit wide symbols (line coding).
[0117] This format is chosen so that cell data can be processed at an appropriate temporal frequency, provided that the serializer / deserializer always processes M-bit blocks.
Claims
1. A method for initializing a system arrangement for data packet-based transmission of data over up to 128 virtual data paths via a physical data channel of a vehicle with deterministic latency, characterized in that The method comprises: - reading out (100) the provided delay specification and / or bandwidth specification of the data channel in each case for all virtual data paths used for transmitting the bit sequence to be transmitted; - setting (102) a packet length for each of the 128 data paths taking into account four predefined packet lengths of the bit sequence, selecting (101) the packet length in each case such that a short packet length is used for a short latency requirement and a low available bandwidth and a long packet length is selected for a long latency requirement and a high available bandwidth.
2. The method according to claim 1, characterized in that The amount of overhead data is reduced by increasing the data packet length.
3. The method according to claim 1 or 2, characterized in that: The data to be transmitted is n*112 bits+187.
4. The method according to any one of the preceding claims, characterized in that A path identifier, a sequence number, a cell type, at least one checksum, at least one user data information item and / or a further user data information item are transmitted together with the bit sequence to be transmitted.
5. The method according to any one of the preceding claims, characterized in that The overhead data is 25 or 37 bits.
6. The method according to any one of the preceding claims, characterized in that A stored metric is used, the metric indicating which of the four predefined data packet lengths is to be selected.
7. The method according to claim 6, characterized in that The metric specifies the respective data packet length and takes into account the bandwidth and / or the length of the data packet to be transmitted.
8. The method according to any one of the preceding claims, characterized in that Choose a shorter packet length for low bandwidth.
9. The method according to any one of the preceding claims, characterized in that Choose a longer packet length for higher bandwidth.
10. The method according to any of the preceding claims, characterized in that A short packet length is selected for a small amount of data to be transmitted and a long packet length is used for a large amount of data to be transmitted.
11. The method according to any one of the preceding claims, characterized in that The stored metrics are used, which metrics indicate which data packet length is selected within which range of values of the latency requirement and / or the available bandwidth.
12. The method according to any one of the preceding claims, characterized in that Stored metrics are used which indicate which data packet length is selected for which latency requirement and which bandwidth.
13. The method according to any of the preceding claims, characterized in that The four predefined data packet lengths are 187 bits, 411 bits, 635 bits and 859 bits.
14. The method according to any of the preceding claims, characterized in that The physical data channel is operated electrically or optically.
15. A system arrangement for data packet-based data transmission over up to 128 virtual data paths via a physical data channel of an automobile with deterministic latency, characterized in that The system arrangement has: an interface unit, which is configured to read out (100) the provided delay time specification and / or bandwidth specification of the data channel for all virtual data paths for transmitting the bit sequence to be transmitted; - an initialization unit, which is configured to set (102) a data packet length for each of the 128 data paths taking into account four predefined data packet lengths of the bit sequence, in each case selecting (101) the data packet length by means of a selection unit, such that a short data packet length is used for a short delay requirement and a low available bandwidth and a long data packet length is selected for a long delay requirement and a high available bandwidth.
16. A computer program product comprising instructions, characterized in that When the instructions are executed by at least one computer, the computer performs the steps of the method according to any one of claims 1 to 14 .
17. A computer-readable storage medium comprising instructions, characterized in that: The instructions, when executed by at least one computer, cause the computer to perform the steps of the method of any one of claims 1 to 14 .
