Physical layer and method for managing packet header fields
Through the header descriptor array of the physical layer, the data packet header fields are read and processed in parallel in the multi-layer packet network, which solves the problems of delay and high error rate caused by the traditional serial error correction method, and realizes low delay and high reliability. Data transfer.
Patent Information
- Application Number
- CN202311368078.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2023-10-20
- Publication Date
- 2024-10-29
AI Technical Summary
In multi-layer packet network communications, traditional serial error correction methods result in long delays and difficulty in effectively managing packet header fields, resulting in high packet error rates.
The header descriptor array (HDA) of the physical layer is used to store and read the header fields of data packets in parallel. The correctness verification and retransmission request processing of data packets are implemented through the write and read interface modules, and ultra-low packet error rate is supported. and low latency.
It achieves ultra-low packet error rate and low-latency transmission and retransmission in multi-layer packet network communications, improving the reliability and processing efficiency of data packets.
Smart Images

Figure CN118869844A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the inventive concepts disclosed herein relate to data communications, and more particularly, to a physical (PHY) layer and method for managing packet header fields in multi-layer packet network communications to facilitate low latency. Background Art
[0002] In general, packet data networks are built based on a multi-layer communication model, which consists of a physical (PHY) layer for encoding and decoding data into signals and transmitting these signals through physical media. The PHY layer is capable of transmitting high-speed data between electronic components, such as between sensors, cameras, display units, and their corresponding electronic control units (ECUs). In addition, the multi-layer communication model includes a data link layer, which ensures reliable transmission of data on the network, while also interfacing with the PHY layer and the network layer.
[0003] After encoding and decoding the received data, the data packets may contain errors, and the packet error rate (PER) defines the probability of errors in the decoded data. For example, in the automotive industry, short bursts of noise may be generated by factors that can interfere with the transmission of data packets between electronic components. Therefore, in order to minimize errors and obtain a low PER, packet data networks utilize one or more error detection and / or error correction capabilities in the PHY layer and the data link layer.
[0004] Traditionally, data packets are processed at the data link layer by utilizing queues, FIFOs, and other similar mechanisms. Each data packet may be checked individually and then processed using a retransmission mechanism. For example, if a data packet is corrupted due to a short burst of noise, a queue approach may be used to request a retransmission of the data packet. However, this serial implementation may require considerable time to perform multiple error correction actions. Summary of the invention
[0005] Embodiments of the inventive concept provide a method for a physical (PHY) layer to manage one or more packet header fields in multi-layer packet network communications.
[0006] Another embodiment of the inventive concept provides a PHY layer including a centralized module designed to support ultra-low packet error rate (PER) while maintaining low latency.
[0007] Yet another embodiment of the inventive concept provides a PHY layer capable of analyzing one or more header fields of one or more data packets to verify whether a correct data packet has been received.
[0008] Another embodiment of the inventive concept provides a PHY layer that stores header fields in an array, facilitating forwarding each data packet to the data link layer in its original order. In addition, this embodiment enables processing of retransmission requests to the next layer.
[0009] Yet another embodiment of the inventive concept provides a PHY layer capable of reading multiple header fields in parallel, thereby allowing transmission and retransmission of one or more data packets with lower latency.
[0010] Another embodiment of the inventive concept provides a method for managing packet header fields in a PHY layer, comprising: receiving a data packet and a status signal of the data packet by a header descriptor array (HDA) of the PHY layer; writing a header field for the received data packet by the HDA; storing the written header field and the status signal of the data packet in the header field array by the HDA; and obtaining the header field of the data packet by the HDA by allowing multiple positions of the header field array to be read in parallel, thereby allowing transmission and retransmission of the data packet.
[0011] Yet another embodiment of the inventive concept provides a PHY layer comprising: an HDA, the HDA being configured to: receive data packets and status signals of the data packets; write header fields for the received data packets; store the written header fields and status signals of the data packets in a header field array; and obtain the header fields of the data packets by allowing parallel reading of multiple positions of the header field array, thereby allowing transmission and retransmission of the data packets.
[0012] Another embodiment of the inventive concept provides a system for managing packet header fields in a PHY layer, comprising: an HDA, the HDA being configured to receive data packets and status signals of the data packets, store header fields of the data packets and track the status of a plurality of data packets, wherein the HDA comprises: a write interface module, being configured to write header fields and store the written header fields of the data packets, a plurality of internally generated fields and the status signals in a header field array, wherein the write interface module comprises a storage element array and a combinational logic, which is used to write and update the plurality of header fields using a plurality of internal blocks of the PHY layer, and is used to track the status signals before writing the header fields to verify whether the received data packets are good or bad; and a plurality of read interface modules, wherein each read interface module comprises: a multiplexer (MUX); an AND gate and a programmable delay element, which is used to access the status of a plurality of data packets by using a plurality of internal blocks of the PHY layer, so that a plurality of positions of the header field array can be read in parallel to obtain a plurality of header fields and a plurality of internally generated fields of a plurality of data packets. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Embodiments of the inventive concepts disclosed herein are illustrated in the accompanying drawings, wherein like reference numerals represent corresponding parts. Embodiments disclosed herein may be better understood by referring to the following description of the accompanying drawings, wherein:
[0014] Figure 1 Depicted is a physical (PHY layer; for managing packet header fields according to embodiments disclosed herein;
[0015] Figure 2 Depicting a write interface module of a header descriptor array (HDA) according to embodiments disclosed herein;
[0016] Figure 3 depicts a timing diagram of a write interface module according to an embodiment disclosed herein;
[0017] Figure 4 depicts a read interface module of a HDA according to embodiments disclosed herein;
[0018] Figure 5 depicts a timing diagram of a read interface module according to an embodiment disclosed herein;
[0019] Figure 6 A detailed block diagram depicting an HDA of a PHY layer according to embodiments disclosed herein; and
[0020] Figure 7 A method for managing packet header fields in a PHY layer according to embodiments disclosed herein is depicted. DETAILED DESCRIPTION
[0021] In the following detailed description, embodiments of the inventive concepts disclosed herein and their various features will be explained more fully with reference to the accompanying drawings. Descriptions of well-known components and processing techniques are omitted. The embodiments described herein are intended to facilitate understanding of the manner in which the inventive concepts may be practiced. Therefore, the disclosed embodiments should not be interpreted as limiting the scope of the inventive concepts.
[0022] Embodiments disclosed herein provide a physical (PHY) layer that stores and accesses header fields of one or more data packets, thereby supporting ultra-low packet error rates (PERs) while maintaining low latency.
[0023] Figure 1A PHY layer 100 for managing packet header fields is depicted. The PHY layer 100 may include a header descriptor array (HDA) 102. The HDA 102 is a centralized module for storing and accessing one or more data packet header fields. In other words, the HDA 102 stores and accesses header fields of one or more data packets. The HDA 102 may receive at least one data packet and at least one status signal of the data packet. The HDA 102 may store at least one header field, a plurality of internally generated fields, and a status signal of the data packet. The HDA 102 may store the complete header fields of any data packet, wherein each data packet can be forwarded to the data link layer in a regular order, while also enabling the processing of retransmission requests to the data link layer. The HDA 102 may further track the status of the plurality of data packets by analyzing the plurality of stored header fields and verifying the status signal. The HDA 102 may also check whether the data packet is received correctly.
[0024] The HDA 102 includes a write interface module 104 , a header field array 106 , a plurality of read interface modules 108 , a retransmission module 110 , and a packet timer module 112 .
[0025] In an embodiment, the write interface module 104 is configured to receive at least one data packet and at least one status signal of the data packet and write at least one header field for the received data packet. The status signal of the data packet may be generated by at least one internal block of the PHY layer 100 .
[0026] Figure 2 Depicted is a write interface module 104 of the HDA 102. The write interface module 104 includes a storage element array 202, a combinatorial logic circuit 204, and a demultiplexer (DEMUX) 206.
[0027] In an embodiment, the storage element array 202 can receive multiple data packets (e.g., data) from the input data packets, which can be received from an electronic computing device. The storage element array 202 is used as a storage capacity for temporarily storing header fields or internally generated fields, status signals, and multiple internally generated fields corresponding to the data packets to be written to the header field array 106. The internally generated fields stored by the write interface module 104 may include, but are not limited to, marking whether the received data packet is good or bad, marking lost data packets, the length of the data packet, the number of retries of a given data packet, tracking whether the received data packet is passed to the next layer, etc. The storage element array 202 may be a memory associated with the header field array 106, or an independent component, such as a disk drive, a USB storage device, an expandable storage device, or a combination thereof. Data packets can be received from the data link layer. In an embodiment, the storage element array 202 may be a temporary array.
[0028] In an embodiment, the combinational logic circuit 204 includes a NOT gate 207 and two AND gates 208 and 210. The NOT gate 207 and the first AND gate 208 receive a header write enable (header_wr_en) signal from an incoming data packet, and at least one status signal (header_good_to_write) from a plurality of internal blocks, the status signal indicating whether the received data packet is good or bad. The internal blocks of the PHY layer 100 decide which data packet must be sent to one or more other layers, analyze the feedback from the other layers, and take necessary actions, such as sending the header of the data packet whenever the transmitter side component and the receiver side component need information from the header. The decision of the data packet is made by verifying the cyclic redundancy check (CRC) at the header. If the header CRC is good, the header fields can be transferred from the storage element array 202 to the main header field array 106. However, if the header CRC is bad / damaged, the packet can be discarded.
[0029] The first AND gate 208 provides output logic indicating whether the header field can be moved from the storage element array 202 to the header field array 106. This can be determined by verifying the header CRC. If the header CRC is good, then the header field can be moved from the storage element array 202 to the header field array 106. If the header CRC is bad / damaged, then the packet can be discarded. The storage electrode array 202 receives the header write enable signal, which allows it to determine the location of the data packet to be transmitted based on the index of the stored data packet. If it is determined that the header is good, then the header field can be moved from the storage element array 202 to the header field array 106. The received header field includes a "packet number" field. The packet address value (pa_val) is sent from the storage element array 202 to the DEMUX 206. The packet number is used as an array position. The array position of the header is determined based on the packet number field in the received header. In addition, the second AND gate 210 receives the output logic from the first AND gate 208 and the index of the data packet from the storage element array 202 , and outputs a signal to the DEMUX 206 .
[0030] In an embodiment, the DEMUX 206 is configured to write at least one header field of the data packet and at least one status signal in the header field array 106 based on the signal obtained from the second AND gate 210 .
[0031] In an embodiment, the write interface module 104 is configured to write and update a plurality of header fields through a plurality of internal blocks of the PHY layer 100. Furthermore, when a plurality of internal blocks attempt to update the same header field at the same time, the header field is updated based on priority.
[0032] In an embodiment, the write interface module 104 may track the received status signal to verify the quality (e.g., good or bad) of the received data packet before writing at least one header field. The write interface module 104 may also use the status signal to check the receipt of any retransmission request for the data packet and whether the data packet is lost. The received data packet is verified using a CRC check.
[0033] Figure 3 A timing diagram 300 of the write interface module 104 is depicted. The timing signals indicate a lost data packet, a lost data packet address, and a lost data packet array marking the write interface module 104. An internal block requesting a write to the header field array 106 generates a pulse signal (e.g., marking the lost packet with a high level) and the address of the lost packet (e.g., PacketAddr). As shown in the timing diagram 300, the HDA 102 services the request by updating the array position with the new value.
[0034] In an embodiment, the header field array 106 is configured to store one or more written header fields, a plurality of internally generated fields, and status signals for data packets. Whenever a data packet with a good header CRC is received, the header fields of the data packet may be stored in the header field array 106. In addition, the header field array 106 stores other status signals generated internally to determine whether the received data packet is good or bad, whether a retransmission request has been generated, how many retransmission requests have been generated for a given data packet, whether any data packets have been lost, and the like.
[0035] In an embodiment, the header field array 106 may be configured with "N" elements for storing header fields and status for "N" data packets. Header fields are written and stored in the header field array 106 based on the index of the data packet. The header field array 106 may organize multiple header fields so that information is available to multiple internal blocks at the same time. For example, if there are multiple data packets, the internal block needs information from the data packets to determine which packet should be passed to the next layer, and if there are multiple requests, determine which request should be serviced.
[0036] In an embodiment, read interface module 108 may retrieve header or internally generated fields from at least one data packet by enabling parallel reading of multiple locations in header field array 106, which in turn allows transmission and retransmission of data packets with ultra-low packet error rate (PER).
[0037] Figure 4The read interface module 108 of the HDA 102 is depicted. The read interface module 108 includes a multiplexer (MUX) 402, an AND gate 404, and a read ready logic 406. In an embodiment, the read ready logic 406 may receive a read request (HDA_read_req) from at least one internal block of the PHY layer 100 that needs to access the status of at least one data packet. The internal block of the PHY layer 100 may also send a packet address value (pa_val) along with the read request (HDA_read_req), wherein the packet address value (pa_val) is sent to the MUX 402. The read interface module 108 is further connected to the header field array 106, and in this configuration, the MUX 402 may obtain input data (In_signal) from the header field array 106. The MUX 402 processes the input of the packet address value (pa_val) with the input data (In_signal) provided from the header field array 106. MUX 402 uses the packet address value (pa_val) as a select line. MUX 402 selects data from the desired array index using the packet address value (pa_val) and sends the selected data to its output signal (Out_signal). MUX 402 transmits the output signal (Out_signal) to AND gate 404. AND gate 404 validates the incoming read request and passes the selected header field value to the internal block.
[0038] In an embodiment, the read ready logic 406 includes a programmable delay element that can manipulate the rising and falling edges of the signal (in order to delay the signal) and then generate a read ready signal (HDA_read_ready) for the internal blocks. The programmable delay on the read ready signal (HDA_read_ready) can be used to adjust the delay of the block requested to read. The read interface module 108 can be instantiated multiple times based on how many blocks need to access the HDA 102 for reading.
[0039] In an embodiment, multiple read interface modules 108 may be configured in the HDA 102 based on the number of internal blocks of the PHY layer 100 that require information from the HDA 102. The HDA 102 may include multiple parallel read interface modules 108 for simultaneously reading multiple locations of the header field array 106 through multiple internal blocks. This significantly reduces the delay in processing data packets.
[0040] Figure 5A timing diagram 500 of the read interface module 108 is depicted. The timing signals indicate the HDA read request, read packet address, array read ready, and array read value of the read interface module 108. The internal block requesting the read generates an HDA read request pulse (see the high pulse of HDA read request) and a packet address value (e.g., an index of the array). The read interface module 108 generates a value read from the HDA 102 and a read ready signal (see the high pulse of array read ready) to indicate the read value.
[0041] In an embodiment, the retransmission module 110 of the PHY layer 100 is configured to receive at least one retransmission request from at least one internal block of the PHY layer 100 when an error is identified while transmitting at least one data packet from the PHY layer 100. When an error is detected using at least one error detection or correction method, the PHY layer 100 may initiate an error correction action. In an embodiment, the error correction action may include transmitting a retransmission request from the internal block to the HDA 102 to enable retransmission of the data packet to a next layer.
[0042] The retransmission module 110 includes a retransmission write logic 114 and a retransmission array 116. One example of a method of tracking the number of retransmission attempts is by using the retransmission array 116. The retransmission write logic 114 may receive a retransmission write request from an internal block to update the number of times a request retry transmission and a packet address for retransmission of a data packet. The retransmission write logic 114 may process the request and transmit an output signal to the retransmission array 116. Based on the output signal received from the retransmission write logic 114, the retransmission array 116 may retransmit the data packet from the PHY layer 100. The retransmission array 116 may store the number of retransmissions of the data packet.
[0043] In an embodiment, the packet timer module 112 includes a packet timer write logic 118 and a packet timer array 120. An example of a storage mechanism for the time at which a data packet is received within the PHY layer 100 is the packet timer array 120, which stores the time of an internally generated field of the received data packet. The packet timer write logic 118 can receive a packet timer write request to write the time at which a data packet is received from an internal block. The packet timer array 120 follows the same process performed by the retransmit array 116, such that when a data packet is received in the PHY layer 100, a request is generated from the internal block to write the packet timer value into the packet timer array 120 of the HDA 102.
[0044] Figure 1Example modules of the PHY layer 100 are shown, but it should be understood that other embodiments are not limited thereto. In other embodiments, the PHY layer 100 may include fewer or more modules. In addition, the labels or names of the modules are only for illustrative purposes and do not limit the scope of the inventive concept. One or more modules may be combined together to perform the same or substantially similar functions in the PHY layer 100.
[0045] Figure 6 A detailed block diagram of the HDA 102 of the PHY layer 100 is depicted. The HDA 102 receives a plurality of signals, such as clk (clock), reset, the number of symbols (n_sym) of a data packet, a signal from an input packet, a signal from an internal block, etc. The HDA 102 includes a write interface module 104 for receiving a plurality of data packets and writing a plurality of header fields of the data packets. The write interface module 104 may receive a data packet and a header write enable (header_wr_en) signal from the input packet, and a header_good_to_write signal from an internal block. The written header fields, internally generated fields, and status signals are then sent and stored in a header field array 106.
[0046] The header field array 106 may output signals such as header_out, header_crc, payload_len, header_field_1, header_field_2, ... header field_n. The HDA 102 may include a plurality of read interface modules 108, such as read interface module 1, read interface module 2, ... read interface module N. The read interface modules 108 are connected to the header field array 106 to enable parallel reading of multiple locations of the header field array 106 of the data packet to access the status of the data packet. The read interface modules 108 may receive read request signals such as read_Intf_In_1, read_Intf_In_2, ... read_Intf_In_n from the internal block and provide read output signals such as read_Intf_out_1, read_Intf_out_2, ... read_Intf_out_n.
[0047] The retransmission module 110 may receive at least one retransmission request from at least one internal block to enable retransmission of the data packet to the next layer. The retransmission module 110 may receive a write signal (such as Signal_1_wr, ... Signal_n_wr) and a packet address signal (such as Signal_1_pa, ... Signal_n_pa), and output a data packet transmission retry number (no._of_retries). The packet timer module 112 may receive a write signal (such as Signal_1_wr, ... Signal_n_wr) and a packet address signal (such as Signal_1_pa, ... Signal_n_pa), and output a timer value signal (such as pct_tmr_val) of the data packet.
[0048] Figure 7 A method 700 is depicted for managing packet header fields in the PHY layer 100. The method 700 discloses receiving, by the write interface module 104, at least one data packet and at least one status signal of the data packet from an input packet, as shown in step 702. Subsequently, the method 700 discloses tracking, by the write interface module 104, the status signal for verifying whether the data packet is good or bad before writing the header fields of the data packet, as shown in step 704.
[0049] Thereafter, the method 700 discloses writing, by the write interface module 104, at least one header field for the received data packet based on the tracked status signal, as shown in step 706. Next, the method 700 discloses storing, by the write interface module 104, the written header field of the data packet and the status signal in the header field array 106, as shown in step 708. Thereafter, the method 700 discloses receiving, by at least one read interface module 108, a read request from at least one internal block of the PHY layer 100 that requires access to the status of at least one data packet, as shown in step 710. Next, the method 700 discloses obtaining, by the read interface module 108, a header or internally generated field of at least one data packet by enabling parallel reading of multiple locations of the header field array 106, as shown in step 712, to allow transmission and retransmission of data packets with an ultra-low packet error rate (PER).
[0050] The various actions in method 700 may be performed in the order presented, in a different order, or simultaneously. Further, in some embodiments, the Figure 7 Some of the actions listed in .
[0051] Therefore, the PHY layer 100 supports low latency by using parallel reading of stored header fields. Because in the automotive industry, there are multiple burst noises, the PHY layer 100 handles transmission and retransmission of data packets by achieving ultra-low PER.
[0052] The embodiments disclosed herein may be implemented by running at least one software program on at least one hardware device. Figure 1 The modules shown may be at least one of hardware devices such as electronic circuits, or a combination of hardware devices and software devices.
[0053] While the inventive concept has been described with reference to the embodiments thereof, it will be apparent to those skilled in the art that various changes and modifications can be made thereto without departing from the spirit and scope of the inventive concept as set forth in the appended claims.
Claims
1. A method for managing packet header fields in a physical (PHY) layer, include: The header descriptor array HDA of the PHY layer receives a data packet and a status signal of the data packet; Writing, by the HDA, a header field for the received data packet; storing, by the HDA, the write header fields of the data packet and the status signal in a header field array; as well as Header fields of the data packet are retrieved by the HDA by enabling parallel reading of multiple locations of the header field array to enable transmission and retransmission of the data packet.
2. The method of claim 1, wherein the writing of the header field is performed using a write interface module of the HDA.
3. The method of claim 2, wherein the write interface module comprises a storage element array and combinatorial logic for writing and updating a plurality of header fields through a plurality of internal blocks of the PHY layer, wherein simultaneously updating the same header field through the plurality of internal blocks comprises updating the same header field based on a priority.
4. The method of claim 2, wherein the write interface module is configured to track the received status signal to verify whether the received data packet is good or bad in one of the following situations: 1) before writing the header field, 2) receiving at least one retransmission request for the data packet, and 3) the data packet is lost.
5. The method of claim 1, wherein the HDA comprises a plurality of read interface modules, wherein each read interface module comprises a multiplexer (MUX), an AND gate, and a programmable delay element for enabling parallel reading of the header field array. The method according to claim 1 , wherein the status signal of the data packet is generated by an internal block of the PHY layer.
7. The method of claim 1, wherein the transmission and retransmission of the data packets are performed with an ultra-low packet error rate (PER).
8. A physical PHY layer, include: The header descriptor array HDA is configured as follows: receiving a data packet and a status signal of the data packet; writing a header field for a received data packet; storing the written header fields of the data packet and the status signal in a header field array; as well as Header fields of the data packet are retrieved by enabling parallel reading of multiple locations of the header field array to enable transmission and retransmission of the data packet.
9. The PHY layer of claim 8, wherein the HDA comprises a write interface module for writing the header field.
10. The PHY layer of claim 9, wherein the write interface module comprises a storage element array and combinatorial logic for writing and updating a plurality of header fields through a plurality of internal blocks of the PHY layer, wherein simultaneously updating the same header field through the plurality of internal blocks comprises updating the same header field based on a priority.
11. The PHY layer of claim 9, wherein the write interface module is configured to track the received status signal to verify whether the received data packet is good or bad in one of the following situations: 1) before writing the header field, 2) at least one retransmission request for the data packet is received, and 3) the data packet is lost.
12. The PHY layer of claim 8, wherein the HDA comprises a plurality of read interface modules, wherein each read interface module comprises a multiplexer (MUX), an AND gate, and a programmable delay element for enabling parallel reading of the header field array.
13. The PHY layer of claim 8, wherein the status signal of the data packet is generated by an internal block of the PHY layer.
14. The PHY layer of claim 8, wherein the transmission and retransmission of the data packet are done with an ultra-low packet error rate (PER).
15. A system for managing packet header fields in a physical (PHY) layer, include: A header descriptor array HDA, configured to receive a data packet and a status signal of the data packet, store header fields of the data packet and track the status of a plurality of data packets, wherein the HDA comprises: a write interface module configured to write the header fields and store the written header fields, a plurality of internally generated fields, and the status signal of the data packet in a header field array, wherein the write interface module includes a storage element array and combinatorial logic for writing and updating a plurality of header fields using a plurality of internal blocks of the PHY layer, and for tracking the status signal to verify whether a received data packet is good or bad before writing the header fields; and A plurality of read interface modules, each of which includes a multiplexer (MUX), an AND gate, and a programmable delay element for accessing the status of the plurality of data packets by using the plurality of internal blocks of the PHY layer, so that the plurality of locations of the header field array can be read in parallel to obtain the plurality of header fields and the plurality of internally generated fields of the plurality of data packets.
16. The system of claim 15, wherein the plurality of internally generated fields stored by the write interface module include: At least one of marking whether a received data packet is good or bad, marking lost data packets, the length of the data packets, the number of retries for a given data packet, and tracking whether a received data packet is passed to the next layer.
17. The system of claim 15, wherein the write module further comprises a demultiplexer configured to receive an output of the storage element array and an output of the combinatorial logic.
18. The system of claim 17, wherein the output of the array of storage elements comprises grouped address values.
19. The system of claim 17, wherein an output of the combinatorial logic is based on an index of the data packet provided from the storage element array.
20. The system of claim 15, wherein the system supports ultra-low packet error rate (PER).
