US7590117B2 - Multichannel processor - Google Patents

Multichannel processor Download PDF

Info

Publication number
US7590117B2
US7590117B2 US10/745,934 US74593403A US7590117B2 US 7590117 B2 US7590117 B2 US 7590117B2 US 74593403 A US74593403 A US 74593403A US 7590117 B2 US7590117 B2 US 7590117B2
Authority
US
United States
Prior art keywords
data
payload
data packet
words
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US10/745,934
Other versions
US20040184457A1 (en
Inventor
Lorenzo Di Gregorio
Jinan Lin
Xiaoning Nie
Thomas Wahl
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Infineon Technologies AG
Original Assignee
Infineon Technologies AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Infineon Technologies AG filed Critical Infineon Technologies AG
Assigned to INFINEON TECHNOLOGIES AG reassignment INFINEON TECHNOLOGIES AG ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WAHL, THOMAS, NIE, XIAONING, DI GREGORIO, LORENZO, LIN, JINAN
Publication of US20040184457A1 publication Critical patent/US20040184457A1/en
Application granted granted Critical
Publication of US7590117B2 publication Critical patent/US7590117B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9084Reactions to storage capacity overflow
    • H04L49/9089Reactions to storage capacity overflow replacing packets in a storage arrangement, e.g. pushout
    • H04L49/9094Arrangements for simultaneous transmit and receive, e.g. simultaneous reading/writing from/to the storage element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/12Interfaces between hierarchically different network devices between access points and access point controllers

Definitions

  • the invention relates to a multichannel processor for processing data of multiprotocol data packets.
  • FIG. 1 shows a multichannel-multiprotocol processor (MMP) of the prior art.
  • MMP multichannel-multiprotocol processor
  • the multichannel-multiprotocol processor has input ports for the parallel reception of received data packets and output ports for transmitting transmit data packets.
  • the multichannel processor performs data processing of the received data packets. This data processing typically comprises the fragmentation of large data packets to form transmit data packets of smaller data volume or, respectively, the assembly of a multiplicity of smaller data packets with a smaller data volume to form data packets having a large data format.
  • FIG. 2 shows a typical application for a multichannel-multiprotocol processor of the prior art.
  • a multichannel processor of the prior art is located in a UMTS transmission node B and in a radio network controller RNC which are connected to one another hardwired via data transmission lines.
  • the UMTS transmission node receives data via a wireless transmission link from a mobile telephone and conducts data packets consisting of header and payload via data transmission lines to the corresponding multichannel-multiprotocol processor MMP within the radio network controller RNC.
  • the transmission time necessary for transmitting data between the two multichannel-multiprotocol processors is a result of the ratio of the packet length and the predetermined data transmission rate.
  • the relatively large data packets are fragmented or taken apart in the multichannel-multiprotocol processor of the UMTS data transmission node B.
  • the large data packets are split into four data packet fragments and transmitted in parallel through four data transmission lines to the multichannel-multiprotocol processor within the radio network controller RNC. This results in a reduction of the data transmission time by a factor of 4.
  • a typical data transmission rate in the example of the prior art shown in FIG. 2 is 2 megabits per second.
  • FIG. 3 shows a first computing architecture of a multichannel-multiprotocol processor of the prior art.
  • a microprocessor is connected via buffers to input ports for receiving data packets and to output ports for transmitting transmit data packets. Data packets of different size are received, for example, by the multichannel-multiprotocol processor via corresponding input ports and temporarily stored as raw data in the buffer.
  • the microprocessor accepts the received data packets via an internal processor bus and processes them in accordance with a program stored in a program memory, for the data processing of the received data packet. The processed data packet is then delivered to the corresponding output port via the processor bus and the buffer.
  • the computing architecture shown in FIG. 3 makes it possible to process data packets with any data packet protocols and with any data packet formats, i.e.
  • the computing architecture shown in FIG. 3 provides very great flexibility in the data processing.
  • the MMP computing architecture shown in FIG. 3 has some serious disadvantages.
  • the processor used is a full microprocessor with an extensive set of instructions.
  • the circuit complexity is, therefore, very high for the MMP processor as shown in FIG. 3 .
  • the MMP processor according to FIG. 3 requires a large chip area due to the high circuit complexity of the processor.
  • the power consumption of the MMP processor shown in FIG. 3 is very high.
  • the data processing in the MMP processor shown in FIG. 3 is carried out in accordance with the software programs stored in the program memory.
  • the software implementation of the multichannel-multiprotocol data processing of data packets is not suitable, in particular, for line card applications with very high data transmission rates.
  • the MMP computing architecture shown in FIG. 3 is too slow for many applications.
  • FIG. 4 shows an alternative multichannel-multiprotocol processor computer architecture of the prior art.
  • received data packets are read in in parallel via the input ports and stored in a buffer.
  • the data packets in each case comprise header and payload.
  • the header data of the different data packets are compared with predetermined headers which are stored, for example, in a memory, and if the header type is known or stored, the received buffered data packet is correspondingly processed.
  • the data processing consists, for example, of a fragmentation of a large data packet into a multiplicity of smaller data packets as shown in FIG. 4 .
  • the data processing can also consist of an assembly of many small data packets to form a large data packet.
  • the data packet is split into header H and payload PL in accordance with the detected header type and supplied to the hardwired fragmentation circuit and header data processing circuit allocated to the header type detected.
  • the processed header data H′ and the processed payload PL′ are then assembled again and buffered in an output data buffer as transmit data packets DP′.
  • the assembled transmit data packets are then output via an assigned output port.
  • the computer architecture for a multichannel-multiprotocol processor as shown in FIG. 4 has the serious disadvantage that data processing of data packets having an unknown header type is not possible.
  • the data processing circuits, e.g. the fragmentation circuits for processing the payload are hardwired. If the header type cannot be detected by the detection circuit, there is no further data processing.
  • the computing architecture shown in FIG. 4 has relatively little circuit complexity and low power consumption. However, there is no flexibility whatsoever with respect to the multiprotocol data packets to be processed.
  • the object of the present invention to create a multichannel-multiprotocol processor for processing data of multiprotocol data packets which, on the one hand, is capable of flexibly processing data packets with novel protocols and, on the other hand, has very little circuit complexity.
  • Embodiments of the invention include a multichannel processor arrangement for processing data of multiprotocol data packets, comprising:
  • the RISC processor generates headers for the transmit data packets in dependence on the data packet descriptors.
  • a control unit which delivers the input port number to the multiplexers and the output port number to the demultiplexers.
  • the two data processing units in each case preferably have a program memory.
  • the data processing units can be programmed by the RISC processor.
  • the data processing units are programmed during the processor configuration.
  • the data processing units are programmed during the ongoing processor operation.
  • the descriptor generator unit marks an invalid received data packet by means of a corresponding entry in the data packet descriptor.
  • the second programmable data processing unit when receiving a payload processing instruction for assembling input data packets, preferably joins the payload of the received data packets, read out of the payload memory, to form a payload sequence and then assembles this with a transmit data packet header, generated by the RISC processor, to form a transmit data packet.
  • the buffer management unit is preferably connected via a payload bus to the first data processing unit (reader), the second data processing unit (writer) and to the payload memory.
  • the RISC processor is preferably connected to a local data memory.
  • a local program memory is also provided, which is connected to the RISC processor.
  • a coprocessor is connected to the RISC processor.
  • FIG. 1 shows a multichannel-multiprotocol processor of the prior art
  • FIG. 2 shows a circuit arrangement in which multichannel-multiprotocol processors are used in accordance with the prior art
  • FIG. 3 shows a first computer architecture for a multichannel-multiprotocol processor of the prior art
  • FIG. 4 shows a second computer architecture for a multichannel-multiprotocol processor of the prior art
  • FIG. 5 shows a block diagram of the multichannel processor according to the invention
  • FIG. 6 shows a block diagram for explaining the operation of the first data processing unit in the multichannel processor according to the invention
  • FIG. 7 shows a preferred embodiment of the first data processing unit within the multichannel processor according to the invention.
  • FIG. 8 shows a preferred embodiment of the descriptor generator unit contained in the multichannel processor according to the invention.
  • FIG. 9 shows a preferred data structure for a descriptor generated by the descriptor unit
  • FIG. 10 shows a preferred embodiment of the second data processing unit provided in the multichannel processor according to the invention.
  • the input ports 2 are in each case connected to multiplexers 3 which switch a selected input port through byte by byte or, respectively, word by word to a subsequent first programmable data processing unit 4 via data lines 5 .
  • the multichannel processor 1 has two multiplexers 3 , namely a multiplexer 3 - 1 for N 1 logical links and a multiplexer 3 - 2 for N 2 physical channels.
  • the multiplexers 3 are driven by a control unit 7 of the multichannel processor 1 via control lines 6 .
  • the control unit 7 delivers an input port number to the multiplexer 3 and selects an input port for receiving the data packet which is received via a data transmission channel.
  • the data packets in each case comprise data packet headers and data packet payloads.
  • the selection of the input port by the control unit 7 can be effected in accordance with any selection method, for example by means of a round-robin arbitration.
  • the input multiplexers 3 switch the data present serially through as data bytes or, respectively, data words to the subsequent first programmable data processing unit 4 .
  • the first data processing unit 4 contains the port or data transmission channel number associated with the data word or data byte.
  • the operation of the first programmable data processing unit 4 is shown in principle in FIG. 6 .
  • the programmable data processing unit 4 or reader respectively, receives data byte by byte from the multiplexers 3 - i via data transmission lines 5 - i from a port switched through.
  • the associated port number is also delivered to the reader 4 by the multiplexer 3 - i .
  • the reader 4 receives the input port number via a control line 8 from the internal control unit 7 .
  • the reader 4 receives a start/stop signal, which indicates the beginning and the end of the data packet, via a control line 9 .
  • the programmable data processing unit 4 contains an internal controller 10 which is connected to an internal program memory 12 via lines 11 .
  • the program memory 12 contains various sorting programs for separating the data words or data bytes coming in via the data line 5 .
  • an associated sorting program is stored for each input port.
  • the controller 10 receives the input port number and performs the associated sorting program stored in the program memory 12 .
  • the controller 10 drives a demultiplexer 15 provided in the reader 4 via a control line 13 .
  • the demultiplexer 15 switches the incoming data words either as header data byte by byte to a data line 16 or as payload data to a data line 17 in dependence on the respective sorting program.
  • the sorting programs stored in the program memory 12 specify whether the serially received data words are header data words or payload words.
  • a sorting program could contain, for example, the following instructions:
  • the first 2 bytes in the given example which are received by a particular port, are switched through to line 16 , the next 2 bytes are switched through to line 17 as payload data, the next data item is switched through to line 16 as header data item and the remaining 1.023 bytes are switched through to line 17 as payload data.
  • the input port number received via line 8 is delivered to the subsequent unit via a line 18 .
  • the separation of the data packets into data packet header and data packet payload is thus done by the first data processing unit 4 and not by the RISC processor.
  • a number of data processing units 4 or readers 4 can be provided in a preferred embodiment of the multichannel processor 1 according to the invention.
  • the [lacuna] first data processing unit 4 can be done either during the configuration of the multichannel processor 1 or also dynamically during the ongoing operation.
  • the first data processing unit 4 preferably has buffers for temporarily storing data.
  • the first data processing unit 4 preferably indicates to the multiplexers 3 via indicating lines 19 whether there is still storage space in the buffers (back pressure).
  • FIG. 7 shows a preferred implementation of the first data processing unit 4 .
  • the multichannel processor 1 has a PRX input port 2 a and a PXR port 2 b in the implementation shown in FIG. 7 . If the multichannel processor 1 circuit is connected as shown in FIG. 2 and located in the UMTS node B, the PXR input port is connected to the radio network controller RNC via the data transmission lines.
  • the multiplexer 3 is driven by the control unit 7 which selects the required port.
  • the multiplexer 3 a switches the port number through via a line 20 to N channel status memory units 19 - 1 , 19 - 2 , . . . , 19 -N, connected in parallel, which are provided for N data transmission channels.
  • the channel status memory units 19 store the status of a data transmission channel or, respectively, its context or thread.
  • each channel status memory unit 19 has a control unit (CTR) 21 , a first register 22 as program counter PC and a second register 23 for the current program or opcode.
  • the inputs of the channel status memory units 19 are connected via lines 24 to the output of the multiplexer 3 c and receive data packet information or control signals such as, for example, an error bit, data indicating the end of the data packet (end of packet), and data indicating the beginning of a data packet (begin of packet).
  • the channel status memory units 19 receive the packet data switched through from the multiplexer 3 c via a data bus 25 .
  • the outputs of the data channel status memory unit or context memory 19 are connected via lines 26 to a multiplexer circuit 27 which receives the port number via a control line 28 .
  • the multiplexer circuit 27 has two outputs 29 which are connected to subsequent inputs of two multiplexers 30 .
  • the output of the multiplexer 30 - 1 is connected to a program memory 33 which has a program counter PC integrated therein, the program memory 31 applying to the program counter PC to the second input of the multiplexer 30 - 1 via a line 32 .
  • the second input of the other multiplexer 30 - 2 is connected to the output of the program memory 31 via a line 33 .
  • the multiplexer 30 - 2 switches the program opcode, temporarily stored in the register 23 in the associated context memory unit 19 , through into an opcode register 34 for a selected data transmission channel.
  • the opcode temporarily stored in the opcode register 34 is decoded and executed by a program decoding unit 35 .
  • the decoding unit drives the multiplexer 30 via control lines 36 in dependence on the decoded opcode.
  • the instruction set for the opcode essentially comprises four instructions, namely:
  • the opcode comprises two opcode bits for coding these four opcode instructions.
  • the program memory 31 contains the programmed-in programs for the various ports.
  • the program memory 31 in FIG. 7 corresponds to the program memory 12 in FIG. 6 .
  • the associated stored program is run for each data transmission channel.
  • the current opcode read out in accordance with the program counter PC is loaded into the associated context unit 19 and the corresponding program counter PC is incremented.
  • the previous opcode is loaded onto the opcode register 34 for the decoding.
  • the program memory 31 is connected to all context units 19 and to the second input of the multiplexer 30 - 2 via the program databus 33 .
  • the data words delivered by the multiplexer 3 c are temporarily stored in a data register 37 and supplied to the instruction execution unit 35 .
  • the output of the instruction execution unit 35 is connected via data lines 38 to a fixed buffer 39 and via data lines 40 to a second buffer 41 .
  • the buffers 39 , 41 are preferably FIFO registers with variable storage size.
  • the decoding unit 35 is connected to the context memories 19 - i via data lines 42 .
  • the data buffered in the data register 37 are written as header data into the buffer 39 via the data lines 38 or as payload data into the buffer 41 via the data line 40 .
  • the first buffer 39 is connected to the subsequent descriptor generator unit via data lines 16 .
  • the second buffer 41 is connected to the buffer management unit 44 of the multichannel processor 1 via data lines 17 .
  • the preferred embodiment of the first data processing unit 4 shown in FIG. 7 performs a four-stage data processing operation, namely the data fetch via the input ports 2 and the multiplexer 3 , fetching of the program instruction by means of the port number by the context unit 9 and the multiplexers 27 , 30 , decoding of the selected opcode and its execution by the unit 35 and the writing of the data into the FIFO registers 39 , 41 in accordance with the executed instruction.
  • a multiplicity of data packets from different data transmission channels can be processed at the same time.
  • the sorting or data processing programs stored in the program memory 31 for each data transmission channel can be programmed either statically during the configuration or during ongoing operation by the RISC processor provided in the multi-channel processor 1 . This greatly increases the operational flexibility of the multichannel processor 1 according to the invention.
  • the first data processing unit 4 is followed by a descriptor generator unit 43 and a buffer management unit 44 .
  • the descriptor generator unit 43 is shown diagrammatically in FIG. 8 .
  • the descriptor generator unit or distribution unit 43 is arranged between the first data processing unit 4 , the subsequent RISC processor 46 and the buffer management unit 44 .
  • the distribution unit 43 buffers the data words delivered by the reader 4 via the data lines 16 and assembles them to form data packet descriptors or generates these data packet descriptors.
  • the distribution unit 43 is connected to an associated RISC processor 46 via data lines 45 .
  • the buffer management unit 44 delivers localization data or memory address data to the distribution unit 43 via data lines 49 .
  • a temporarily stored descriptor contains, apart from the memory address (MEM address) of the associated payload, a counter, status bits, header data and the associated port number.
  • the descriptor generator unit 43 can be optionally connected to an additional dual-port RAM memory (DPRAM) which stores additional data for a header.
  • DPRAM dual-port RAM memory
  • a header pointer which points to the associated header data within a memory can be provided in the descriptor instead of the header data within the descriptor.
  • the descriptors formed are delivered by the distribution unit 43 via the data lines 45 to the RISC processor 46 for data processing.
  • FIG. 9 shows a preferred data structure of a descriptor D temporarily stored in the distribution unit 43 .
  • the descriptor D contains an error bit as status information, a counter which inputs the data volume of the payload of the input packet, a memory address for the associated payload in the payload memory, the input port number and storage space for a number of bytes on data packet management data or, respectively, header data.
  • storage space is provided for 6 bytes of header data.
  • the descriptor D contains 3 bits which specify the number of header data bytes (header length), with a 3-bit-long field for coding the number of header bytes, a maximum of 8 header bytes can be stored in the descriptor D.
  • the descriptor D comprises trailor [sic] data of the received data packet (padding 0 to padding 3), the number of padding data fields being specified by a 3-bit-long field (padding length).
  • the descriptor D comprises four rows of 32 bits each.
  • the distribution unit 43 is capable of filtering out invalid received data packets by means of status bits, particularly by means of the error bit.
  • the RISC processor 46 following the distribution unit 43 generates, in dependence on the received data packet descriptors D, payload processing instructions (writer task) for processing the payload of the received data packets EDP, which are stored in a data memory 47 by means of the buffer management unit 44 .
  • the buffer management unit 44 is connected to the payload memory 47 via data lines 48 .
  • the buffer management unit 44 writes the payload words of the received data packet, received via data lines 17 , into the addressable payload memory 47 and delivers the associated localization data or memory addresses to the distribution unit 43 via lines 49 .
  • the buffer management unit 44 stores the payload delivered by the first data processing unit 4 and delivers it, if required, to a second programmable data processing unit 50 , following the RISC processor 46 , via a data bus 51 .
  • the RISC processor 46 is connected to a local data memory 52 , a local program memory 53 and a coprocessor such as, for example, a CAM (Content Addressable Memory).
  • a coprocessor such as, for example, a CAM (Content Addressable Memory).
  • the data exchange between the first programmable data processing unit 4 and the buffer management unit 44 and between the buffer management unit 44 and the second programmable data processing unit 50 takes place via a separate data bus 17 , 51 , without the data from the local data memory 52 having to be transferred to the RISC processor 46 . This leads to a significant saving in the power consumption of the multichannel processor 1 .
  • the RISC processor 46 is connected to the first data processing unit 4 via programming lines 55 and to the second programmable data processing unit 50 via programming lines 56 .
  • the RISC processor 46 writes reader programs into the program memory 31 of the first data processing unit 4 via the programming lines 55 as shown in FIG. 7 .
  • the RISC processor 46 is capable of writing wirter [sic] programs into the second data processing unit 50 .
  • the RISC processor 46 generates, in dependence on the data packet descriptors received for lines 45 , payload processing instructions for processing the data packet payload words of the received data packets, stored in the payload memory 47 . These payload processing instructions or writer tasks are delivered to the second programmable data processing unit 50 via lines 57 .
  • the data processing by the RISC processor 46 consists, for example, in fragmenting large data packets to form small data packets or in assembling small data packets to form large data packets.
  • the RISC processor 46 is provided for generating the header data for the transmit data packets on the basis of the data packet descriptors supplied to it. During the fragmenting or assembling, the RISC processor reads in the start address (Mem adr) of the payload associated with the received data packet (Memsize) and the header data of the received data packet and calculates from these the new start address or addresses of the transmit data packets, their packet length and the new header data for the transmit data packets.
  • FIG. 10 shows a preferred implementation of the second programmable data processing unit 50 (writer), shown in FIG. 5 .
  • the second programmable data processing unit 50 of the multichannel processor 1 comprises a register 58 for receiving the writer tasks from the RISC processor 46 via the lines 57 .
  • a writer task essentially comprises the following data:
  • the data processing unit 5 has a number of data channel writer context buffers 59 , the number N of data channel writer context buffers 59 being less than or equal to the maximum number of output ports of the multichannel processor 1 .
  • Each data transmission channel writer context memory 59 comprises a cache controller 60 , a number of registers 61 and a load controller 62 .
  • five registers 61 a , 61 b , 61 c , 61 d , 61 e are provided in each writer context buffer 59 .
  • the first register 61 a stores the current opcode of the writer program
  • register 61 b stores the program counter
  • register 61 c stores a first pointer
  • register 61 d stores a second pointer
  • the fifth register 61 e stores the output port number.
  • the data processing unit 50 has a first local buffer 63 and a second local buffer 64 .
  • the first local buffer 63 receives the processed header data H′ from the RISC processor 46 and buffers them sequentially.
  • the second buffer 64 receives the payload from the buffer management unit 47 via the data bus 51 .
  • the data stored in the buffers 63 , 64 are accessed via an arbiter 65 in dependence on the pointers or address vectors stored in registers 61 c , 61 d.
  • the data processing unit 50 contains a multiplexer circuit 66 , the inputs of which is [sic] in each case connected to an output of a data channel writer context memory unit 59 .
  • the multiplexer circuit 66 has two outputs which are connected to subsequent multiplexers 67 .
  • the output of the first multiplexer 67 - 1 is connected to a program memory 68 of the programmable data processing unit 50 .
  • the program memory 68 can be programmed by the RISC processor via the program lines 56 .
  • the program memory 68 contains a number of writer programs for the different output ports.
  • the program memory 68 contains a program counter which is connected to the second input of the multiplexer 67 - 1 via a line 69 .
  • the opcodes or program instructions read out of the program memory 68 are written into the instruction register 61 - i of the associated output port via a line 70 and are buffered there.
  • the previous opcode is loaded into an instruction register 71 by the multiplexer 66 and the multiplexer 67 - 2 .
  • the opcode buffered in the instruction register 71 is decoded by a decoding device 72 and executed.
  • the decoded control data are loaded into a control data register 73 by the decoding device 72 , the control data driving the two buffers 63 , 64 and, via a control line 75 , a multiplexer 74 .
  • the processed header data H′ buffered in the buffer 63 and the payload received from the buffer management unit 44 are assembled by the multiplexer 74 to form transmit data packets in accordance with the control data buffered in the control register 73 .
  • the assembled transmit data packets are delivered by the multiplexer 74 to a subsequent FIFO memory 75 with variable memory size.
  • the output buffer 75 indicates to the preceding RISC processor, via a first indicating line 76 and a gate 77 , that the buffer 75 is full and any further transmission of header data to the buffer 63 must be interrupted.
  • the output buffer 75 indicates to the buffer management unit 44 via a second indicating line 78 and a gate 79 that, at present, there should be no transmission of further payload data into the buffer 64 .
  • the data channel writer context buffers 59 indicate the current operating state to the distribution unit 43 and the buffer management unit 47 via indicating lines and arbiter circuits 80 , 81 .
  • the output buffer 75 for the transmit data packets is connected to the output ports 83 of the multichannel processor 1 via multiplexer 82 .
  • the writer 50 performs pipeline data processing with a number of phases, namely fetching the program instruction, decoding the program instruction, accessing the stored data and outputting the transmit data packets.
  • the writer 50 Whilst the reader 4 separates the header data for received data packets from their payload, the writer 50 newly assembles transmit data packets from processed header data and buffered payload.
  • the transmit data packets can be either smaller or larger than the receive data packets.
  • the RISC processor 46 is capable of dynamically programming both the writer 50 and the reader 4 . The dynamic programming of the writer 50 can be performed newly for each transmit data packet.
  • the main task of the RISC processor 46 consists in processing the data packet descriptors D supplied by the distribution unit 43 .
  • the RISC processor 46 can be programmed in such a manner that it handles the following tasks or a combination of these, namely demultiplexing the incoming data packets in accordance with the input port number, the protocol identifier or the header data, processing header data, removing header data or inserting new header data, fragmenting data packets into smaller data packets or assembling a number of data packet fragments to form a large data packet, re-ordering a sequence of data packets and prioritizing data packets during the data forwarding.
  • the RISC processor 46 can be performed by the RISC processor 46 by means of the local data memory 52 without the payload memory 47 being accessed. There is no bus link between the RISC processor 46 and the payload memory 47 .
  • the RISC processor sends a writer task to the second programmable data processing unit 50 .
  • the RISC processor 46 is connected, for example, to a coprocessor 54 in the form of a CAM memory which assists the RISC processor 46 during demultiplexing and classifying operations.
  • the functions necessary during multichannel-multiprotocol data processing are separated into computing-intensive data processing operations such as parsing, data field extraction and the like and the buffer management functions with low latency such as allocation, data recovery and the like.
  • the computer architecture according to the invention for a multi-channel-multiprotocol processor 1 offers high flexibility in the data processing of various data packet formats and data packet protocols, with comparatively low circuit complexity.

Abstract

An arrangement and a method for processing data of multiprotocol data packets comprises at least one multiplexer connected to input ports; at least one first programmable data processing unit configured to provide header words and into payload words; a buffer management unit configured to generate localization data which specifies a corresponding memory area of the payload memory; a descriptor generator unit for generating data packet descriptors; a RISC processor configured to generate, in dependence on the data packet descriptors, header data for transmit data packets and payload processing instructions for processing data of the data packet payload words, stored in the payload memory, of the associated received data packet; and at least one second programmable data processing unit configured to process the payload words from the payload memory in accordance with the payload processing instructions and assembles the payload words with the header data to form transmit data packets.

Description

FIELD OF THE INVENTION
The invention relates to a multichannel processor for processing data of multiprotocol data packets.
BACKGROUND
FIG. 1 shows a multichannel-multiprotocol processor (MMP) of the prior art. In data networks, it is necessary in many applications to process sequences of data packets with different data packet protocols and with different data frame formats. As such, the data packets are received or transmitted by the multichannel processor via different data transmission channels. For this purpose, the multichannel-multiprotocol processor has input ports for the parallel reception of received data packets and output ports for transmitting transmit data packets. The multichannel processor performs data processing of the received data packets. This data processing typically comprises the fragmentation of large data packets to form transmit data packets of smaller data volume or, respectively, the assembly of a multiplicity of smaller data packets with a smaller data volume to form data packets having a large data format.
FIG. 2 shows a typical application for a multichannel-multiprotocol processor of the prior art. In the field of application shown in FIG. 2, a multichannel processor of the prior art is located in a UMTS transmission node B and in a radio network controller RNC which are connected to one another hardwired via data transmission lines. The UMTS transmission node receives data via a wireless transmission link from a mobile telephone and conducts data packets consisting of header and payload via data transmission lines to the corresponding multichannel-multiprotocol processor MMP within the radio network controller RNC. The transmission time necessary for transmitting data between the two multichannel-multiprotocol processors is a result of the ratio of the packet length and the predetermined data transmission rate.
Transmission time (ÜZ)=data packet length (bits): data transmission rate (megabits per second).
To reduce the transmission time ÜZ at the predetermined data transmission rate, the relatively large data packets are fragmented or taken apart in the multichannel-multiprotocol processor of the UMTS data transmission node B. In the example shown in FIG. 2, the large data packets are split into four data packet fragments and transmitted in parallel through four data transmission lines to the multichannel-multiprotocol processor within the radio network controller RNC. This results in a reduction of the data transmission time by a factor of 4. A typical data transmission rate in the example of the prior art shown in FIG. 2 is 2 megabits per second.
FIG. 3 shows a first computing architecture of a multichannel-multiprotocol processor of the prior art. A microprocessor is connected via buffers to input ports for receiving data packets and to output ports for transmitting transmit data packets. Data packets of different size are received, for example, by the multichannel-multiprotocol processor via corresponding input ports and temporarily stored as raw data in the buffer. The microprocessor accepts the received data packets via an internal processor bus and processes them in accordance with a program stored in a program memory, for the data processing of the received data packet. The processed data packet is then delivered to the corresponding output port via the processor bus and the buffer. The computing architecture shown in FIG. 3 makes it possible to process data packets with any data packet protocols and with any data packet formats, i.e. the computing architecture shown in FIG. 3 provides very great flexibility in the data processing. However, the MMP computing architecture shown in FIG. 3 has some serious disadvantages. The processor used is a full microprocessor with an extensive set of instructions. The circuit complexity is, therefore, very high for the MMP processor as shown in FIG. 3. The MMP processor according to FIG. 3 requires a large chip area due to the high circuit complexity of the processor. In addition, the power consumption of the MMP processor shown in FIG. 3 is very high. The data processing in the MMP processor shown in FIG. 3 is carried out in accordance with the software programs stored in the program memory. The software implementation of the multichannel-multiprotocol data processing of data packets is not suitable, in particular, for line card applications with very high data transmission rates. The MMP computing architecture shown in FIG. 3 is too slow for many applications.
FIG. 4 shows an alternative multichannel-multiprotocol processor computer architecture of the prior art. In the circuit arrangement shown in FIG. 4, received data packets are read in in parallel via the input ports and stored in a buffer. The data packets in each case comprise header and payload. In an identification circuit, the header data of the different data packets are compared with predetermined headers which are stored, for example, in a memory, and if the header type is known or stored, the received buffered data packet is correspondingly processed. The data processing consists, for example, of a fragmentation of a large data packet into a multiplicity of smaller data packets as shown in FIG. 4. As an alternative, the data processing can also consist of an assembly of many small data packets to form a large data packet. The data packet is split into header H and payload PL in accordance with the detected header type and supplied to the hardwired fragmentation circuit and header data processing circuit allocated to the header type detected. The processed header data H′ and the processed payload PL′ are then assembled again and buffered in an output data buffer as transmit data packets DP′. The assembled transmit data packets are then output via an assigned output port. The computer architecture for a multichannel-multiprotocol processor as shown in FIG. 4 has the serious disadvantage that data processing of data packets having an unknown header type is not possible. The data processing circuits, e.g. the fragmentation circuits for processing the payload, are hardwired. If the header type cannot be detected by the detection circuit, there is no further data processing. The computing architecture shown in FIG. 4 has relatively little circuit complexity and low power consumption. However, there is no flexibility whatsoever with respect to the multiprotocol data packets to be processed.
It is, therefore, the object of the present invention to create a multichannel-multiprotocol processor for processing data of multiprotocol data packets which, on the one hand, is capable of flexibly processing data packets with novel protocols and, on the other hand, has very little circuit complexity.
SUMMARY OF THE INVENTION
Embodiments of the invention include a multichannel processor arrangement for processing data of multiprotocol data packets, comprising:
  • (a) a number of input ports for receiving received data packets in parallel, which can be selected in each case by means of an input port number;
  • (b) at least one multiplexer connected to the input ports, which switches through the data present at the selected input port word by word;
  • (c) at least one first programmable data processing unit (reader), which separates the sequence of data words switched through by the multiplexer into data packet header words and into data packet payload words in accordance with a sorting program selected in accordance with the input port number;
  • (d) a buffer management unit (BMU) which writes the data packet payload words of a received data packet into an addressable payload memory and generates localization data which specify the corresponding memory area;
  • (e) a descriptor generator unit for generating data packet descriptors which in each case contain a header assembled from the data packet header words and the localization data for the associated payload of the received data packet;
  • (f) an RISC processor which generates, in dependence on the data packet descriptors, payload processing instructions for processing data of the data packet payload words, stored in the payload memory, of the associated received data packet;
  • (g) at least one second programmable data processing unit (writer), which processes the payload words, read out of the payload memory by the buffer management unit (BMU), in accordance with the payload processing instruction to form transmit data packets;
  • (h) at least one demultiplexer which switches the transmit data packets through to an output port selected by means of an output port number, and comprising
  • (i) a number of output ports for outputting the transmit data packets in parallel.
In a preferred embodiment of the multichannel processor, the RISC processor generates headers for the transmit data packets in dependence on the data packet descriptors.
In a preferred embodiment of the multichannel processor according to the invention, a control unit is provided which delivers the input port number to the multiplexers and the output port number to the demultiplexers.
The two data processing units in each case preferably have a program memory.
In a preferred embodiment, the data processing units can be programmed by the RISC processor.
In a first embodiment of the multichannel processor according to the invention, the data processing units are programmed during the processor configuration.
In an alternative embodiment of the multichannel processor according to the invention, the data processing units are programmed during the ongoing processor operation.
In a preferred embodiment of the multichannel processor according to the invention, the descriptor generator unit marks an invalid received data packet by means of a corresponding entry in the data packet descriptor.
The second programmable data processing unit (writer), when receiving a payload processing instruction for assembling input data packets, preferably joins the payload of the received data packets, read out of the payload memory, to form a payload sequence and then assembles this with a transmit data packet header, generated by the RISC processor, to form a transmit data packet.
The buffer management unit is preferably connected via a payload bus to the first data processing unit (reader), the second data processing unit (writer) and to the payload memory.
The RISC processor is preferably connected to a local data memory.
In a preferred embodiment, a local program memory is also provided, which is connected to the RISC processor.
In a preferred embodiment, a coprocessor is connected to the RISC processor.
In the further text, preferred embodiments of the multichannel processor according to the invention for processing data of multiprotocol data packets are described with reference to the attached figures for explaining features essential to the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a multichannel-multiprotocol processor of the prior art;
FIG. 2 shows a circuit arrangement in which multichannel-multiprotocol processors are used in accordance with the prior art;
FIG. 3 shows a first computer architecture for a multichannel-multiprotocol processor of the prior art;
FIG. 4 shows a second computer architecture for a multichannel-multiprotocol processor of the prior art;
FIG. 5 shows a block diagram of the multichannel processor according to the invention;
FIG. 6 shows a block diagram for explaining the operation of the first data processing unit in the multichannel processor according to the invention;
FIG. 7 shows a preferred embodiment of the first data processing unit within the multichannel processor according to the invention;
FIG. 8 shows a preferred embodiment of the descriptor generator unit contained in the multichannel processor according to the invention;
FIG. 9 shows a preferred data structure for a descriptor generated by the descriptor unit;
FIG. 10 shows a preferred embodiment of the second data processing unit provided in the multichannel processor according to the invention.
DETAILED DESCRIPTION
As can be seen from FIG. 5, the multichannel processor 1 according to the invention for processing data of multiprotocol data packets comprises a multiplicity of input ports 2-i for receiving received data packets EDP. The input ports 2 are in each case connected to multiplexers 3 which switch a selected input port through byte by byte or, respectively, word by word to a subsequent first programmable data processing unit 4 via data lines 5. In the embodiment shown in FIG. 5 the multichannel processor 1 has two multiplexers 3, namely a multiplexer 3-1 for N1 logical links and a multiplexer 3-2 for N2 physical channels. The multiplexers 3 are driven by a control unit 7 of the multichannel processor 1 via control lines 6. The control unit 7 delivers an input port number to the multiplexer 3 and selects an input port for receiving the data packet which is received via a data transmission channel. The data packets in each case comprise data packet headers and data packet payloads. The selection of the input port by the control unit 7 can be effected in accordance with any selection method, for example by means of a round-robin arbitration. The input multiplexers 3 switch the data present serially through as data bytes or, respectively, data words to the subsequent first programmable data processing unit 4. As such, the first data processing unit 4 contains the port or data transmission channel number associated with the data word or data byte.
The operation of the first programmable data processing unit 4 is shown in principle in FIG. 6. The programmable data processing unit 4 or reader, respectively, receives data byte by byte from the multiplexers 3-i via data transmission lines 5-i from a port switched through. The associated port number is also delivered to the reader 4 by the multiplexer 3-i. In an alternative embodiment, the reader 4 receives the input port number via a control line 8 from the internal control unit 7. In addition, the reader 4 receives a start/stop signal, which indicates the beginning and the end of the data packet, via a control line 9. The programmable data processing unit 4 contains an internal controller 10 which is connected to an internal program memory 12 via lines 11. The program memory 12 contains various sorting programs for separating the data words or data bytes coming in via the data line 5. In the program memory 12, an associated sorting program is stored for each input port. The controller 10 receives the input port number and performs the associated sorting program stored in the program memory 12. In accordance with the sorting program, the controller 10 drives a demultiplexer 15 provided in the reader 4 via a control line 13. The demultiplexer 15 switches the incoming data words either as header data byte by byte to a data line 16 or as payload data to a data line 17 in dependence on the respective sorting program. The sorting programs stored in the program memory 12 specify whether the serially received data words are header data words or payload words.
A sorting program could contain, for example, the following instructions:
  • 2 bytes header data,
  • 2 bytes payload data,
  • 1 byte header data,
  • 1.023 bytes payload data.
According to this sorting program the first 2 bytes in the given example, which are received by a particular port, are switched through to line 16, the next 2 bytes are switched through to line 17 as payload data, the next data item is switched through to line 16 as header data item and the remaining 1.023 bytes are switched through to line 17 as payload data.
The input port number received via line 8 is delivered to the subsequent unit via a line 18. In the multichannel processor architecture according to the invention, the separation of the data packets into data packet header and data packet payload is thus done by the first data processing unit 4 and not by the RISC processor. Depending on the number of input ports 2 or, respectively, of multiplexers 3, a number of data processing units 4 or readers 4 can be provided in a preferred embodiment of the multichannel processor 1 according to the invention. The [lacuna] first data processing unit 4 can be done either during the configuration of the multichannel processor 1 or also dynamically during the ongoing operation. The first data processing unit 4 preferably has buffers for temporarily storing data. The first data processing unit 4 preferably indicates to the multiplexers 3 via indicating lines 19 whether there is still storage space in the buffers (back pressure).
FIG. 7 shows a preferred implementation of the first data processing unit 4. The multichannel processor 1 has a PRX input port 2 a and a PXR port 2 b in the implementation shown in FIG. 7. If the multichannel processor 1 circuit is connected as shown in FIG. 2 and located in the UMTS node B, the PXR input port is connected to the radio network controller RNC via the data transmission lines. The multiplexer 3 is driven by the control unit 7 which selects the required port. The multiplexer 3 a switches the port number through via a line 20 to N channel status memory units 19-1, 19-2, . . . , 19-N, connected in parallel, which are provided for N data transmission channels. The channel status memory units 19 store the status of a data transmission channel or, respectively, its context or thread. For this purpose, each channel status memory unit 19 has a control unit (CTR) 21, a first register 22 as program counter PC and a second register 23 for the current program or opcode. The inputs of the channel status memory units 19 are connected via lines 24 to the output of the multiplexer 3 c and receive data packet information or control signals such as, for example, an error bit, data indicating the end of the data packet (end of packet), and data indicating the beginning of a data packet (begin of packet). In addition, the channel status memory units 19 receive the packet data switched through from the multiplexer 3 c via a data bus 25. The outputs of the data channel status memory unit or context memory 19 are connected via lines 26 to a multiplexer circuit 27 which receives the port number via a control line 28. The multiplexer circuit 27 has two outputs 29 which are connected to subsequent inputs of two multiplexers 30. The output of the multiplexer 30-1 is connected to a program memory 33 which has a program counter PC integrated therein, the program memory 31 applying to the program counter PC to the second input of the multiplexer 30-1 via a line 32. The second input of the other multiplexer 30-2 is connected to the output of the program memory 31 via a line 33.
The multiplexer 30-2 switches the program opcode, temporarily stored in the register 23 in the associated context memory unit 19, through into an opcode register 34 for a selected data transmission channel. The opcode temporarily stored in the opcode register 34 is decoded and executed by a program decoding unit 35. The decoding unit drives the multiplexer 30 via control lines 36 in dependence on the decoded opcode.
The instruction set for the opcode essentially comprises four instructions, namely:
    • forward data word as header data to descriptor unit;
    • deliver received data word as payload to buffer management unit;
    • deliver received data word both to descriptor generator unit and to buffer management unit;
    • delete received data word;
The opcode comprises two opcode bits for coding these four opcode instructions.
The program memory 31 contains the programmed-in programs for the various ports. The program memory 31 in FIG. 7 corresponds to the program memory 12 in FIG. 6. The associated stored program is run for each data transmission channel. As such, the current opcode read out in accordance with the program counter PC is loaded into the associated context unit 19 and the corresponding program counter PC is incremented. At the same time, the previous opcode is loaded onto the opcode register 34 for the decoding. The program memory 31 is connected to all context units 19 and to the second input of the multiplexer 30-2 via the program databus 33.
The data words delivered by the multiplexer 3 c are temporarily stored in a data register 37 and supplied to the instruction execution unit 35. The output of the instruction execution unit 35 is connected via data lines 38 to a fixed buffer 39 and via data lines 40 to a second buffer 41. The buffers 39, 41 are preferably FIFO registers with variable storage size. In addition, the decoding unit 35 is connected to the context memories 19-i via data lines 42. In accordance with the opcode read out of the opcode register 34, which is decoded by the decoder unit 35 and then executed by an execution unit, the data buffered in the data register 37 are written as header data into the buffer 39 via the data lines 38 or as payload data into the buffer 41 via the data line 40. There are two other possibilities in that the data are deleted or delivered to the two FIFO registers 39, 41. The first buffer 39 is connected to the subsequent descriptor generator unit via data lines 16. The second buffer 41 is connected to the buffer management unit 44 of the multichannel processor 1 via data lines 17.
The preferred embodiment of the first data processing unit 4 shown in FIG. 7 performs a four-stage data processing operation, namely the data fetch via the input ports 2 and the multiplexer 3, fetching of the program instruction by means of the port number by the context unit 9 and the multiplexers 27, 30, decoding of the selected opcode and its execution by the unit 35 and the writing of the data into the FIFO registers 39, 41 in accordance with the executed instruction. By using the respective channel context or the associated channel context unit 19 for the selected port or data transmission channel, a multiplicity of data packets from different data transmission channels can be processed at the same time. The sorting or data processing programs stored in the program memory 31 for each data transmission channel can be programmed either statically during the configuration or during ongoing operation by the RISC processor provided in the multi-channel processor 1. This greatly increases the operational flexibility of the multichannel processor 1 according to the invention.
As can be seen from FIG. 5, the first data processing unit 4 is followed by a descriptor generator unit 43 and a buffer management unit 44. The descriptor generator unit 43 is shown diagrammatically in FIG. 8. The descriptor generator unit or distribution unit 43 is arranged between the first data processing unit 4, the subsequent RISC processor 46 and the buffer management unit 44. The distribution unit 43 buffers the data words delivered by the reader 4 via the data lines 16 and assembles them to form data packet descriptors or generates these data packet descriptors. At the output end, the distribution unit 43 is connected to an associated RISC processor 46 via data lines 45. The buffer management unit 44 delivers localization data or memory address data to the distribution unit 43 via data lines 49.
As can be seen from FIG. 8, a temporarily stored descriptor contains, apart from the memory address (MEM address) of the associated payload, a counter, status bits, header data and the associated port number. The descriptor generator unit 43 can be optionally connected to an additional dual-port RAM memory (DPRAM) which stores additional data for a header. As an alternative, a header pointer which points to the associated header data within a memory can be provided in the descriptor instead of the header data within the descriptor. The descriptors formed are delivered by the distribution unit 43 via the data lines 45 to the RISC processor 46 for data processing.
FIG. 9 shows a preferred data structure of a descriptor D temporarily stored in the distribution unit 43. The descriptor D contains an error bit as status information, a counter which inputs the data volume of the payload of the input packet, a memory address for the associated payload in the payload memory, the input port number and storage space for a number of bytes on data packet management data or, respectively, header data. In the example shown in FIG. 9, storage space is provided for 6 bytes of header data. In the example shown in FIG. 9, the descriptor D contains 3 bits which specify the number of header data bytes (header length), with a 3-bit-long field for coding the number of header bytes, a maximum of 8 header bytes can be stored in the descriptor D. In addition, the descriptor D comprises trailor [sic] data of the received data packet (padding 0 to padding 3), the number of padding data fields being specified by a 3-bit-long field (padding length). In the example shown in FIG. 9, the descriptor D comprises four rows of 32 bits each. The distribution unit 43 is capable of filtering out invalid received data packets by means of status bits, particularly by means of the error bit.
The RISC processor 46 following the distribution unit 43 generates, in dependence on the received data packet descriptors D, payload processing instructions (writer task) for processing the payload of the received data packets EDP, which are stored in a data memory 47 by means of the buffer management unit 44. The buffer management unit 44 is connected to the payload memory 47 via data lines 48. The buffer management unit 44 writes the payload words of the received data packet, received via data lines 17, into the addressable payload memory 47 and delivers the associated localization data or memory addresses to the distribution unit 43 via lines 49. The buffer management unit 44 stores the payload delivered by the first data processing unit 4 and delivers it, if required, to a second programmable data processing unit 50, following the RISC processor 46, via a data bus 51.
In a preferred embodiment, the RISC processor 46 is connected to a local data memory 52, a local program memory 53 and a coprocessor such as, for example, a CAM (Content Addressable Memory). The data exchange between the first programmable data processing unit 4 and the buffer management unit 44 and between the buffer management unit 44 and the second programmable data processing unit 50 takes place via a separate data bus 17, 51, without the data from the local data memory 52 having to be transferred to the RISC processor 46. This leads to a significant saving in the power consumption of the multichannel processor 1. The RISC processor 46 is connected to the first data processing unit 4 via programming lines 55 and to the second programmable data processing unit 50 via programming lines 56. The RISC processor 46 writes reader programs into the program memory 31 of the first data processing unit 4 via the programming lines 55 as shown in FIG. 7. In the same manner, the RISC processor 46 is capable of writing wirter [sic] programs into the second data processing unit 50. The RISC processor 46 generates, in dependence on the data packet descriptors received for lines 45, payload processing instructions for processing the data packet payload words of the received data packets, stored in the payload memory 47. These payload processing instructions or writer tasks are delivered to the second programmable data processing unit 50 via lines 57. The data processing by the RISC processor 46 consists, for example, in fragmenting large data packets to form small data packets or in assembling small data packets to form large data packets. The RISC processor 46 is provided for generating the header data for the transmit data packets on the basis of the data packet descriptors supplied to it. During the fragmenting or assembling, the RISC processor reads in the start address (Mem adr) of the payload associated with the received data packet (Memsize) and the header data of the received data packet and calculates from these the new start address or addresses of the transmit data packets, their packet length and the new header data for the transmit data packets.
FIG. 10 shows a preferred implementation of the second programmable data processing unit 50 (writer), shown in FIG. 5.
The second programmable data processing unit 50 of the multichannel processor 1 comprises a register 58 for receiving the writer tasks from the RISC processor 46 via the lines 57.
A writer task essentially comprises the following data:
    • a port number for the output port,
    • a flag BOP (beginning of packet) which indicates the beginning of a data packet,
    • a flag EOP (end of packet) which indicates the end of a data packet,
    • a start address of the payload stored in the payload memory 47 for the data packet (MEMadr),
    • information about the volume of the payload stored (MEMsize),
    • the program address of the associated writer program in a program memory of the second programmable data processing unit 50 and
    • an error flag which indicates an invalid data packet.
The data processing unit 5 has a number of data channel writer context buffers 59, the number N of data channel writer context buffers 59 being less than or equal to the maximum number of output ports of the multichannel processor 1. Each data transmission channel writer context memory 59 comprises a cache controller 60, a number of registers 61 and a load controller 62. Preferably, five registers 61 a, 61 b, 61 c, 61 d, 61 e are provided in each writer context buffer 59. The first register 61 a stores the current opcode of the writer program, register 61 b stores the program counter, register 61 c stores a first pointer, register 61 d stores a second pointer and the fifth register 61 e stores the output port number.
The data processing unit 50 has a first local buffer 63 and a second local buffer 64. The first local buffer 63 receives the processed header data H′ from the RISC processor 46 and buffers them sequentially. The second buffer 64 receives the payload from the buffer management unit 47 via the data bus 51. The data stored in the buffers 63, 64 are accessed via an arbiter 65 in dependence on the pointers or address vectors stored in registers 61 c, 61 d.
The data processing unit 50 contains a multiplexer circuit 66, the inputs of which is [sic] in each case connected to an output of a data channel writer context memory unit 59. The multiplexer circuit 66 has two outputs which are connected to subsequent multiplexers 67. The output of the first multiplexer 67-1 is connected to a program memory 68 of the programmable data processing unit 50. The program memory 68 can be programmed by the RISC processor via the program lines 56. The program memory 68 contains a number of writer programs for the different output ports. The program memory 68 contains a program counter which is connected to the second input of the multiplexer 67-1 via a line 69. The opcodes or program instructions read out of the program memory 68 are written into the instruction register 61-i of the associated output port via a line 70 and are buffered there. The previous opcode is loaded into an instruction register 71 by the multiplexer 66 and the multiplexer 67-2. The opcode buffered in the instruction register 71 is decoded by a decoding device 72 and executed. The decoded control data are loaded into a control data register 73 by the decoding device 72, the control data driving the two buffers 63, 64 and, via a control line 75, a multiplexer 74.
The processed header data H′ buffered in the buffer 63 and the payload received from the buffer management unit 44 are assembled by the multiplexer 74 to form transmit data packets in accordance with the control data buffered in the control register 73. The assembled transmit data packets are delivered by the multiplexer 74 to a subsequent FIFO memory 75 with variable memory size.
The output buffer 75 indicates to the preceding RISC processor, via a first indicating line 76 and a gate 77, that the buffer 75 is full and any further transmission of header data to the buffer 63 must be interrupted. In addition, the output buffer 75 indicates to the buffer management unit 44 via a second indicating line 78 and a gate 79 that, at present, there should be no transmission of further payload data into the buffer 64. The data channel writer context buffers 59 indicate the current operating state to the distribution unit 43 and the buffer management unit 47 via indicating lines and arbiter circuits 80, 81. The output buffer 75 for the transmit data packets is connected to the output ports 83 of the multichannel processor 1 via multiplexer 82.
Like the reader 4, the writer 50 performs pipeline data processing with a number of phases, namely fetching the program instruction, decoding the program instruction, accessing the stored data and outputting the transmit data packets.
Whilst the reader 4 separates the header data for received data packets from their payload, the writer 50 newly assembles transmit data packets from processed header data and buffered payload. The transmit data packets can be either smaller or larger than the receive data packets. The RISC processor 46 is capable of dynamically programming both the writer 50 and the reader 4. The dynamic programming of the writer 50 can be performed newly for each transmit data packet.
The main task of the RISC processor 46 consists in processing the data packet descriptors D supplied by the distribution unit 43. The RISC processor 46 can be programmed in such a manner that it handles the following tasks or a combination of these, namely demultiplexing the incoming data packets in accordance with the input port number, the protocol identifier or the header data, processing header data, removing header data or inserting new header data, fragmenting data packets into smaller data packets or assembling a number of data packet fragments to form a large data packet, re-ordering a sequence of data packets and prioritizing data packets during the data forwarding.
This can be performed by the RISC processor 46 by means of the local data memory 52 without the payload memory 47 being accessed. There is no bus link between the RISC processor 46 and the payload memory 47. For processed data packets, the RISC processor sends a writer task to the second programmable data processing unit 50. The RISC processor 46 is connected, for example, to a coprocessor 54 in the form of a CAM memory which assists the RISC processor 46 during demultiplexing and classifying operations.
In the computer architecture according to the invention, the functions necessary during multichannel-multiprotocol data processing are separated into computing-intensive data processing operations such as parsing, data field extraction and the like and the buffer management functions with low latency such as allocation, data recovery and the like. The computer architecture according to the invention for a multi-channel-multiprotocol processor 1 offers high flexibility in the data processing of various data packet formats and data packet protocols, with comparatively low circuit complexity.
LIST OF REFERENCE DESIGNATIONS
  • 1 Multichannel processor
  • 2 Input ports
  • 3 Multiplexer
  • 4 First programmable data processing unit (reader)
  • 5 Lines
  • 6 Control lines
  • 7 Control unit
  • 8 Control line
  • 9 Control line
  • 10 Controller
  • 11 Data lines
  • 12 Programmable memory
  • 14 Control lines
  • 15 Demultiplexer
  • 16 Header data lines
  • 17 Payload data lines
  • 18 Control line
  • 19 Indicating line
  • 20 Control line
  • 21 Controller
  • 22 Register
  • 23 Register
  • 24 Control lines
  • 25 Data lines
  • 26 Lines
  • 27 Multiplexer circuit
  • 28 Control lines
  • 29 Lines
  • 30 Multiplexer
  • 31 Program memory
  • 32 Line
  • 33 Line
  • 34 Instruction register
  • 35 Coding unit
  • 36 Control line
  • 37 Data register
  • 38 Line
  • 39 Buffer
  • 40 Line
  • 41 Buffer
  • 42 Line
  • 43 Distribution unit
  • 44 Buffer management unit
  • 45 Lines
  • 46 RISC processor
  • 47 Bus data memory
  • 48 Lines
  • 49 Line
  • 50 Second programmable data processing unit (writer)
  • 51 Data lines
  • 52 Local data memory
  • 53 Local program memory
  • 54 Coprocessor
  • 55 Programming lines
  • 56 Programming lines
  • 57 Lines
  • 58 Register
  • 59 Data channel context memory
  • 60 Cache controller
  • 61 Context register
  • 62 Load controller
  • 63 Input buffer
  • 64 Input buffer
  • 65 Arbiter
  • 66 Multiplexer circuit
  • 67 Multiplexer
  • 68 Program memory
  • 69 Line
  • 70 Line
  • 71 Instruction register
  • 72 Decoding circuit
  • 73 Control data register
  • 74 Multiplexer
  • 75 Output buffer
  • 76 Indicating line
  • 77 Gate
  • 78 Indicating line
  • 79 Gate
  • 80 Arbiter
  • 81 Arbiter
  • 82 Multiplexer
  • 83 Output ports

Claims (23)

1. An arrangement for processing data of multiprotocol data packets, comprising:
(a)a plurality of input ports for receiving received data packets in parallel;
(b)at least one multiplexer connected to the input ports, the at least one multiplexer configured to switch through the data present at a selected input port word by word;
(c) at least one first programmable data processing unit configured to separate a sequence of data words from different input ports into data packet header words and into data packet payload words in accordance with a sorting program;
(d) a buffer management unit configured to write the data packet payload words of a received data packet into an addressable payload memory and further configured to generate localization data which specifies a corresponding memory area of the payload memory;
(e) a descriptor generator unit for generating data packet descriptors which in each case contain a header assembled from the data packet header words and the localization data for the associated payload of the received data packet;
(f) a RISC processor configured to generate, in dependence on the data packet descriptors, header data for transmit data packets and payload processing instructions for processing data of the data packet payload words, stored in the payload memory, of the associated received data packet; and
(g) at least one second programmable data processing unit configured to process the payload words from the payload memory in accordance with the payload processing instructions and assembles the payload words with the header data to form transmit data packets.
2. The arrangement of claim 1, wherein the RISC processor is further operable to generate headers for the transmit data packets in dependence on the data packet descriptors.
3. The arrangement of claim 1, wherein each of the at least one first programmable data processing unit includes a program memory.
4. The arrangement of claim 1, wherein the at least one first programmable data processing unit is configured to be programmed by the RISC processor.
5. The arrangement of claim 4, wherein the at least one first programmable data processing unit is configured to be programmed during processor configuration.
6. The arrangement of claim 4, wherein the at least one first programmable data processing unit is configured to be programmed during the ongoing processor operation.
7. The arrangement of claim 1, wherein the descriptor generator unit is further configured to mark an invalid received data packet using a corresponding entry in the data packet descriptor.
8. The arrangement of claim 1, wherein the second programmable data processing unit is configured to, in accordance with the payload processing instructions, form a payload sequence with the payload words from a plurality of received data packets, and assemble the payload sequence with a first transmit data packet header generated by the RISC processor to form a first transmit data packet.
9. The arrangement of claim 1, wherein the buffer management unit is connected via a payload bus to the first programmable data processing unit, the second programmable data processing unit and to the payload memory.
10. The arrangement of claim 1, further comprising a local data memory is connected to the RISC processor.
11. The arrangement of claim 1, further comprising a local program memory is connected to the RISC processor.
12. The arrangement of claim 1, further comprising a coprocessor is connected to the RISC processor.
13. The arrangement of claim 1, wherein the at least one first programmable data processing unit is further configured to separate a sequence of data words having different protocols from different input ports into data packet header words and into data packet payload words in accordance with a sorting program.
14. An arrangement for processing data of multiprotocol data packets, comprising:
(a) a plurality of input ports for receiving received data packets in parallel;
(b) a plurality of multiplexors connected to the input ports, at least one multiplexer in the plurality being configured to switch through the data present at a selected input port word by word;
(c) a plurality of first programmable data processing units configured to separate a sequence of data words from different input ports into data packet header words and into data packet payload words in accordance with a sorting program;
(d) a buffer management unit configured to write the data packet payload words of a received data packet into an addressable payload memory and further configured to generate localization data which specifies a corresponding memory area of the payload memory;
(e) a descriptor generator unit for generating data packet descriptors which in each case contain a header assembled from the data packet header words and the localization data for the associated payload of the received data packet;
(f) a RISC processor configured to generate, in dependence on the data packet descriptors, header data for transmit data packets and payload processing instructions for processing data of the data packet payload words, stored in the payload memory, of the associated received data packet; and
(g) a plurality of second programmable data processing units configured to process the payload words from the payload memory in accordance with the payload processing instructions and to assemble the payload words with the header data to form transmit data packets.
15. A method of processing data of multiprotocol data packets, the method comprising:
(a) separating a sequence of data words from a plurality of different input ports into data packet header words and into data packet payload words in accordance with a sorting program;
(b) writing the data packet payload words of a received data packet into an addressable payload memory;
(c) generating localization data which specifies a corresponding memory area of the payload memory in which the data packet payload words are written;
(d) generating data packet descriptors which in each case contain a header assembled from the data packet header words and the localization data for the associated payload of the received data packet;
(e) employing a RISC processor to generate, in dependence on the data packet descriptors, header data for transmit data packets and payload processing instructions for processing data of the data packet payload words, stored in the payload memory, of the associated received data packet; and
(f) processing the payload words from the payload memory in accordance with the payload processing instructions; and
(g) assembling the payload words with the header data to form transmit data packets.
16. The method of claim 15 wherein step (f) further comprising using a separate processor to process the payload words.
17. The method of claim 15 wherein step (a) further comprises separating a sequence of data words having different protocols from different input ports.
18. The method of claim 15 further comprising marking an invalid received data packet using a corresponding entry in the data packet descriptor.
19. The arrangement of claim 1, further comprising:
(h) a number of output ports for outputting the transmit data packets in parallel; and
(i) at least one demultiplexer configured to switch the transmit data packets through to a selected one of the number of output ports.
20. The arrangement of claim 19, characterized in that a control unit is provided which delivers the input port number to the multiplexer and the output port number to the demultiplexer.
21. The arrangement of claim 1, wherein the arrangement comprises a first multiplexor for a number N1 of first physical channels and a second multiplexor for a number N2 of second physical channels.
22. The arrangement of claim 1, wherein the multiplexor delivers a port number to said first programmable data processing unit, the port number being associated to the data delivered by the multiplexor.
23. The arrangement of claim 1, wherein an internal control unit is provided, which delivers a port number to said first programmable data processing unit, the port number being associated to the data delivered by the multiplexor.
US10/745,934 2002-12-23 2003-12-23 Multichannel processor Active 2026-05-02 US7590117B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE10260604A DE10260604B4 (en) 2002-12-23 2002-12-23 Multi-channel processor
DE10260604.8-31 2002-12-23

Publications (2)

Publication Number Publication Date
US20040184457A1 US20040184457A1 (en) 2004-09-23
US7590117B2 true US7590117B2 (en) 2009-09-15

Family

ID=32477923

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/745,934 Active 2026-05-02 US7590117B2 (en) 2002-12-23 2003-12-23 Multichannel processor

Country Status (2)

Country Link
US (1) US7590117B2 (en)
DE (1) DE10260604B4 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109974A1 (en) * 2007-10-31 2009-04-30 Shetty Suhas A Hardware Based Parallel Processing Cores with Multiple Threads and Multiple Pipeline Stages

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7460531B2 (en) * 2003-10-27 2008-12-02 Intel Corporation Method, system, and program for constructing a packet
US7564846B2 (en) * 2004-08-30 2009-07-21 Dezonno Anthony J Method of collecting communication system information
EP1647894A3 (en) * 2004-10-12 2007-11-21 NEC Electronics Corporation Information processing apparatus with parallel DMA processes
GB2421092B (en) * 2004-12-07 2008-12-03 Hewlett Packard Development Co Bufferless writing of data to memory
US7561573B2 (en) * 2005-03-23 2009-07-14 Fujitsu Limited Network adaptor, communication system and communication method
CN101043446A (en) * 2007-03-08 2007-09-26 华为技术有限公司 Method and apparatus for data transmission process
TW201140325A (en) * 2010-05-14 2011-11-16 Realtek Semiconductor Corp Memory access apparatus and method thereof
CZ303954B6 (en) * 2012-04-17 2013-07-10 CESNET, zájmové sdruzení právnických osob Circuit arrangement for quick analysis of packet headers transmitted on a data bus
US9170968B2 (en) * 2012-09-27 2015-10-27 Intel Corporation Device, system and method of multi-channel processing
CN104065588B (en) * 2013-03-21 2018-10-30 南京中兴新软件有限责任公司 A kind of device and method of data packet dispatching and caching

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721833A (en) * 1995-12-29 1998-02-24 Gte Laboratories Incorporated Push-out of low priority signals from switch buffers
US5841771A (en) * 1995-07-07 1998-11-24 Northern Telecom Limited Telecommunications switch apparatus and method for time switching
US6160811A (en) * 1997-09-12 2000-12-12 Gte Internetworking Incorporated Data packet router
WO2001016777A1 (en) 1999-08-27 2001-03-08 International Business Machines Corporation Network processor processing complex and methods
WO2001077849A2 (en) 2000-04-06 2001-10-18 International Business Machines Corporation Multiprotocol handling arrangement
US6480489B1 (en) * 1999-03-01 2002-11-12 Sun Microsystems, Inc. Method and apparatus for data re-assembly with a high performance network interface
US20020198687A1 (en) * 2001-03-30 2002-12-26 Gautam Dewan Micro-programmable protocol packet parser and encapsulator
US20030035430A1 (en) * 2000-10-03 2003-02-20 Junaid Islam Programmable network device
US20030189931A1 (en) * 2002-04-03 2003-10-09 Alcatel Method and apparatus for packet reordering in a network processor
US6711153B1 (en) * 1999-12-13 2004-03-23 Ascend Communications, Inc. Route lookup engine
US7079538B2 (en) * 2000-03-10 2006-07-18 Infineon Technologies Ag High-speed router

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5841771A (en) * 1995-07-07 1998-11-24 Northern Telecom Limited Telecommunications switch apparatus and method for time switching
US5721833A (en) * 1995-12-29 1998-02-24 Gte Laboratories Incorporated Push-out of low priority signals from switch buffers
US6160811A (en) * 1997-09-12 2000-12-12 Gte Internetworking Incorporated Data packet router
US6480489B1 (en) * 1999-03-01 2002-11-12 Sun Microsystems, Inc. Method and apparatus for data re-assembly with a high performance network interface
WO2001016777A1 (en) 1999-08-27 2001-03-08 International Business Machines Corporation Network processor processing complex and methods
US6711153B1 (en) * 1999-12-13 2004-03-23 Ascend Communications, Inc. Route lookup engine
US7079538B2 (en) * 2000-03-10 2006-07-18 Infineon Technologies Ag High-speed router
WO2001077849A2 (en) 2000-04-06 2001-10-18 International Business Machines Corporation Multiprotocol handling arrangement
US20030035430A1 (en) * 2000-10-03 2003-02-20 Junaid Islam Programmable network device
US20020198687A1 (en) * 2001-03-30 2002-12-26 Gautam Dewan Micro-programmable protocol packet parser and encapsulator
US20030189931A1 (en) * 2002-04-03 2003-10-09 Alcatel Method and apparatus for packet reordering in a network processor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Power Network Processor, Resource Manager," IBM Corporation, (C) 2000, (2 pages).
Norris, David L. "IBM Network Processor Overview," IBM Corporation, (C) 2001, (62 pages).

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109974A1 (en) * 2007-10-31 2009-04-30 Shetty Suhas A Hardware Based Parallel Processing Cores with Multiple Threads and Multiple Pipeline Stages
US8059650B2 (en) * 2007-10-31 2011-11-15 Aruba Networks, Inc. Hardware based parallel processing cores with multiple threads and multiple pipeline stages

Also Published As

Publication number Publication date
DE10260604B4 (en) 2006-09-21
DE10260604A1 (en) 2004-07-08
US20040184457A1 (en) 2004-09-23

Similar Documents

Publication Publication Date Title
US7415596B2 (en) Parser table/production rule table configuration using CAM and SRAM
US6965615B1 (en) Packet striping across a parallel header processor
EP1126367B1 (en) Data processing device, system and method using a state transition table
US5742361A (en) Data demultiplexer
US6799232B1 (en) Automatic byte swap and alignment for descriptor-based direct memory access data transfers
US20050281281A1 (en) Port input buffer architecture
US7590117B2 (en) Multichannel processor
US20030043800A1 (en) Dynamic data item processing
US20030046429A1 (en) Static data item processing
US20080013535A1 (en) Data Switch and Switch Fabric
EP1340139A1 (en) Synchronous network traffic processor
JP2008310832A (en) Apparatus and method for distributing signal from high level data link controller to a plurality of digital signal processor cores
US20070022249A1 (en) Information processing apparatus and its data processing method capable of forming descriptor queue
US9846662B2 (en) Chained CPP command
US6961338B2 (en) Demultiplexer for handling different multiplexed data formats
US6865656B2 (en) Method and system for efficient transfer of data between custom application specific integrated circuit hardware and an embedded microprocessor
US6868096B1 (en) Data multiplexing apparatus having single external memory
US20060259665A1 (en) Configurable multiple write-enhanced direct memory access unit
US7158529B2 (en) Device for data stream decoding
US5799155A (en) Method of data communication and system for carrying out the method
EP1476986B1 (en) Information communication controller interface apparatus and method
US7000244B1 (en) Multi-threaded direct memory access engine for broadcast data demultiplex operations
EP1972126B1 (en) A method for high speed framing and a device having framing capabilities
US7068280B1 (en) Method and apparatus to provide overlay buffering
KR100471516B1 (en) Processor system, especially a processor system for communications devices

Legal Events

Date Code Title Description
AS Assignment

Owner name: INFINEON TECHNOLOGIES AG, GERMAN DEMOCRATIC REPUBL

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:DI GREGORIO, LORENZO;LIN, JINAN;NIE, XIAONING;AND OTHERS;REEL/FRAME:015401/0431;SIGNING DATES FROM 20040115 TO 20040125

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12