Packet forwarding device, and packet-forwarding priority setting circuit and method
First Claim
1. A packet forwarding device, comprising:
- a reception circuit configured to receive packets of a stream;
a decision circuit configured to detect whether an application type of the stream is included in a table;
a processing circuit configured to examine at least one preceding packet among the packets of the stream according to at least one predetermined keyword and/or at least one predetermined data pattern, after the decision circuit finds that the application type of the stream is not included in the table, so as to determine the application type of the stream and then store the application type of the stream in the table;
the processing circuit configured to determine the application type of the stream according to the table after the decision circuit finds that the application type of the stream is included in the table; and
the processing circuit configured to overwrite bits of type of service (ToS) of some or all of the packets of the stream after determining the application type of the stream;
a mapping circuit configured to distribute some or all of the packets of the stream to one of a plurality of queues according to the application type of the stream, in which the queues are associated with different priorities respectively; and
a transmission circuit configured to output packets in the queues according to the priorities.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a packet-forwarding priority setting circuit comprising: a decision circuit configured to detect whether an application type of a packet stream is included in a table; a processing circuit configured to examine at least one preceding packet among the packets of the stream if no application type of the stream is found in the table, so as to determine the application type of the stream and store it in the table, and the processing circuit configured to determine the application type of the stream according to the table if the application type of the stream is found in the table; and a mapping circuit configured to distribute some or all of the packets of the stream to one of a plurality of queues according to the application type of the stream, in which the queues are associated with different priorities respectively.
-
Citations
15 Claims
-
1. A packet forwarding device, comprising:
-
a reception circuit configured to receive packets of a stream; a decision circuit configured to detect whether an application type of the stream is included in a table; a processing circuit configured to examine at least one preceding packet among the packets of the stream according to at least one predetermined keyword and/or at least one predetermined data pattern, after the decision circuit finds that the application type of the stream is not included in the table, so as to determine the application type of the stream and then store the application type of the stream in the table;
the processing circuit configured to determine the application type of the stream according to the table after the decision circuit finds that the application type of the stream is included in the table; and
the processing circuit configured to overwrite bits of type of service (ToS) of some or all of the packets of the stream after determining the application type of the stream;a mapping circuit configured to distribute some or all of the packets of the stream to one of a plurality of queues according to the application type of the stream, in which the queues are associated with different priorities respectively; and a transmission circuit configured to output packets in the queues according to the priorities. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A packet-forwarding priority setting circuit, comprising:
-
a decision circuit configured to detect whether an application type of a stream is included in a table, in which the stream includes packets; a processing circuit configured to examine at least one preceding packet among the packets of the stream according to at least one predetermined keyword and/or at least one predetermined data pattern, after the decision circuit finds that the application type of the stream is not included in the table, so as to determine the application type of the stream and then store the application type of the stream in the table;
the processing circuit configured to determine the application type of the stream according to the table after the decision circuit finds that the application type of the stream is included in the table; and
the processing circuit configured to overwrite bits of type of service (ToS) of some or all of the packets of the stream after determining the application type of the stream. - View Dependent Claims (8, 9, 10)
-
-
11. A packet-forwarding priority setting method, comprising the following steps:
-
detecting whether an application type of a stream is included in a table, in which the stream includes packets; examining at least one preceding packet among the packets of the stream according to at least one predetermined keyword and/or at least one predetermined data pattern when finding that the application type of the stream is not included in the table, so as to determine the application type of the stream and then store the application type of the stream in the table; determining the application type of the stream according to the table when finding that the application type of the stream is included in the table; overwriting bits of type of service (ToS) of some or all of the packets of the stream after determining the application type of the stream; and distributing some or all of the packets of the stream to one of a plurality of queues according to the application type of the stream, in which the queues are associated with different priorities respectively. - View Dependent Claims (12, 13, 14, 15)
-
Specification