CPC G06F 8/41 (2013.01) | 17 Claims |
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.
|