# US 2023/0273778 A1 · Method and system for protocol processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273778 A1
- Document ID: US20230273778A1
- Status: Published application
- Kind: A1
- Application number: 18/021,959
- Filed: 2020-08-28
- Published: 2023-08-31
- Earliest claimed: 2020-08-28
- Assignees: Siemens Industry Software Inc.
- Applicants: Siemens Industry Software Inc.
- Inventors: Kari Vierimaa
- Web page: https://patentgrep.com/patent/US20230273778A1

## CPC

- G06F 8/41: Compilation
- G06F 8/451: {Code distribution (considering CPU load at run-time G06F9/505; load rebalancing G06F9/5083)}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of protocol processing including a main program code that has one or more code segments and instructions for processing different protocol elements of a data packet stream of a transport protocol is disclosed herein. The method includes assigning a latency requirement and/or bandwidth requirement to one or more of the code segments of the main program code; and compiling each of the code segments according to the assigned latency and/or bandwidth requirement into a respective target code for executing each of the target codes by different processors.

## Claims

### Claim 1

A computer-implemented method of protocol processing comprising a main program code, the main program code comprising instructions for processing different protocol elements of data packets of a data packet stream of a transport protocol, wherein a data packet of the data packet stream has a header and a payload, wherein the header keeps overhead information about the data packet, a service, and other transmission-related data, and wherein the different protocol elements correspond to the overhead information, wherein the main program code further comprises multiple code segments, the method comprising:
assigning a latency requirement and/or bandwidth requirement to one or more of the multiple code segments of the main program code;
compiling each code segment of the multiple code segments according to the assigned latency and/or the bandwidth requirement into a respective target code for executing each target code of the target codes by a plurality of processors depending on specific requirements set for the multiple code segments of the main program code, wherein processors of the plurality of processors have different processing capabilities, for processing a first type of protocol elements by a first processor of the plurality of processors according to a first target code, and for processing a second type of protocol elements by a second processor of the plurality of processors according to a second target code, wherein the first type of protocol elements and the second type of protocol elements are different; and
distributing the target code to the respective processor for executing the target code.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
dividing the main program code into the multiple code segments.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
processing of a first sub-stream and a second sub-stream of the data packet stream according to the first target code executed by the first processor of the plurality of processors; and
processing the first sub-stream and the second sub-stream according to the second target code executed by the second processor of the plurality of processors; and
processing the first sub-stream and the second sub-stream according to a third target code executed by a third processor of the plurality of processors.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
compiling a first code segment of the main program code by a first compiler;
compiling a second code segment of the main program code by a second compiler; and
compiling a third code segment of the main program code by a third compiler.

### Claim 6 (depends on 1)

The method of claim 1, wherein the protocol elements are required to reliably send a payload of data over a transport network, and/or
wherein the protocol elements correspond to elements of an Ethernet frame, and/or
wherein the protocol elements comprise a preamble, a start of frame delimiter, a MAC destination address, a MAC source address, a 802.1Q tag, an Ethertype (Ethernet II) or length (IEEE 802.3), a Frame check sequence such as a 32-bit CRC, an interpacket gap, or a combination thereof.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
dividing data packets of the data packet stream into a first sub-stream and a second sub-stream.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
processing the first sub-stream according to a first processing path,
wherein the first processing path comprises one or more sub-processing modules of the first processor and one or more sub-processing modules of the second processor.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
processing, in the first processing path, a first protocol element of the data packets of the first sub-stream by a sub-processing module of the one or more sub-processing modules of the first processor; and
processing, in the first processing path, a second protocol element of the data packets of the first sub-stream by a sub-processing module of the one or more sub-processing modules of the second processor.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
processing the second sub-stream according to a second processing path,
wherein the second processing path comprises one or more sub-processing modules of the first processor and one or more sub-processing modules of the second processor.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
processing, in the second processing path, a first protocol element of the data packets of the second sub-stream by a first sub-processing module of the one or more sub-processing modules of the first processor; and
processing, in the second processing path, a second protocol element of the data packets of the second sub-stream by a second sub-processing module of the one or more sub-processing modules of the second processor.

### Claim 12 (depends on 7)

The method of claim 7, wherein the dividing of the data packets of the data packet stream comprises:
receiving the data packet stream in serial form;
converting the data packet stream in parallel form; and
multiplexing the first sub-stream and the second sub-stream in parallel form onto a first processing path and a second processing path.

### Claim 13 (depends on 7)

The method of claim 7, wherein the dividing of the data packets of the data packet stream comprises:
assigning data packets associated with a first antenna carrier to the first sub-stream; and
assigning data packets associated with a second antenna carrier to the second sub-stream.

### Claim 14 (depends on 7)

The method of claim 7, further comprising:
processing the first sub-stream and the second sub-stream of the data packet stream by a third processor.

### Claim 15 (depends on 1)

The method of claim 1, wherein a first sub-processing module of the first processor performs low-level line coding and real-time functions,
wherein a second sub-processing module of the first processor performs data stream operations,
wherein the second processor performs control functionalities such as timing functionalities and/or payload processing,
wherein the first sub-processing module is a Field Programmable Gate Array (FPGA),
wherein the second sub-processing module is a soft microprocessor, and
wherein the second processor is a Central Processing Unit (CPU).

### Claim 16 (depends on 1)

The method of claim 1, wherein sub-processing modules of the first processor, the second processor, and a third processor share a local memory of the first processor, the second processor, and the third processor, and
wherein the first processor, the second processor, and the third processor share a global memory for storing 5G NR symbols.

### Claim 17

A test device configured to:
assign a latency requirement and/or bandwidth requirement to one or more code segments of multiple code segments of a main program code;
compile each code segment of the multiple code segments according to the assigned latency and/or the bandwidth requirement into a respective target code for executing each target code of the target codes by a plurality of processors depending on specific requirements set for the multiple code segments of the main program code for processing a first type of protocol elements by a first processor of the plurality of processors according to a first target code and for processing a second type of protocol elements by a second processor of the plurality of processors according to a second target code, wherein the first type of protocol elements and the second type of protocol elements are different, and wherein processors of the plurality of processors have different processing capabilities; and
distribute the target code to a respective processor for executing the target code.

### Claim 18

(canceled)

### Claim 19

A non-transitory computer program comprising instructions that, when executed by a computer, cause the computer to:
assign a latency requirement and/or bandwidth requirement to one or more code segments of multiple code segments of a main program code;
compile each code segment of the multiple code segments according to the assigned latency and/or the bandwidth requirement into a respective target code for executing each target code of the target codes by a plurality of processors depending on specific requirements set for the multiple code segments of the main program code for processing a first type of protocol elements by a first processor of the plurality of processors according to a first target code and for processing a second type of protocol elements by a second processor of the plurality of processors according to a second target code, wherein the first type of protocol elements and the second type of protocol elements are different, and wherein processors of the plurality of processors have different processing capabilities; and
distribute the target code to a respective processor for executing the target code.
