# US 2023/0275832 A1 · Networking processor and network device

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

- Number: US 2023/0275832 A1
- Document ID: US20230275832A1
- Status: Published application
- Kind: A1
- Application number: 18/310,574
- Filed: 2023-05-02
- Published: 2023-08-31
- Earliest claimed: 2020-11-03
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Wan LAM
- Web page: https://patentgrep.com/patent/US20230275832A1

## CPC

- H04L 12/12: Arrangements for remote connection or disconnection of substations or of equipment thereof
- H04L 45/74: Address processing for routing
- H04L 49/102: using shared medium, e.g. bus or ring
- H04L 49/90: Buffering arrangements
- H04L 49/109: Integrated on microchip, e.g. switch-on-chip
- H04L 49/15: Interconnection of switching modules
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a networking processor. The networking processor is provided with a plurality of ports, and the networking processor further includes a plurality of buses and a plurality of switch units. The switch unit is bound to at least one of the ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through the bound port. Each of the plurality of buses is bound to at least two of the switch units, each of the switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units through a network formed by the plurality of buses. In this application, latency of data switching is reduced.

## Claims

### Claim 1

A networking processor, wherein the networking processor is provided with a plurality of ports, and the networking processor further comprises a plurality of buses and a plurality of switch units, wherein
the switch unit is bound to at least one of the ports, and is configured to receive data from outside of the networking processor and send the data to the outside of the networking processor through the bound port; and
each of the plurality of buses is bound to at least two of the switch units, each of the switch units is bound to at least one of the plurality of buses, and the switch unit forwards the data between different switch units through a network formed by the plurality of buses.

### Claim 2 (depends on 1)

The networking processor according to claim 1, wherein the switch unit comprises a switch and an access controller, wherein
the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs; and
the switch is configured to: obtain the data packet carrying the data from the access controller or the bus; obtain a destination address from the data packet; determine a send port in the plurality of ports based on the destination address; determine a destination unit based on the send port; determine a next transferring unit in the plurality of switch units based on the destination unit; and forward the data packet to the next transferring unit through the bus, so that the next transferring unit continues to determine a next transferring unit and forwards the data packet before the data carried in the data packet is forwarded to the destination unit.

### Claim 3 (depends on 1)

The networking processor according to claim 1, wherein the switch unit comprises a switch and an access controller, wherein
the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
when the switch obtains the data packet from the access controller, the switch is configured to: obtain a destination address from the data packet; determine a send port based on the destination address; determine a destination unit based on the send port; determine, based on the destination unit, path information for forwarding the data to the destination unit; and send the data and the path information to a transferring unit based on the path information through the bus, so that the transferring unit continues to forward the data and the path information based on the path information before the data is forwarded to the destination unit; and
when the switch obtains, from the bus, the data and the path information that are forwarded by another switch unit or the transferring unit, the switch is configured to continue to forward the data and the path information based on the path information before the data is forwarded to the destination unit, wherein
the path information indicates information about the transferring unit through which the data is forwarded to the destination unit, and the transferring unit is a switch unit that is in the plurality of switch units and that is configured to forward the data.

### Claim 4 (depends on 1)

The networking processor according to claim 1, wherein the switch unit comprises a switch, an access controller, and a packet processor, wherein
the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
the packet processor is configured to: obtain the data packet from the access controller or from the bus through the switch; obtain a destination address from the data packet; determine a send port in the plurality of ports based on the destination address; determine a destination unit based on the send port; and determine information about a next transferring unit based on the destination unit; and
the switch is configured to obtain the data packet and the information about the next transferring unit from the packet processor, and transmit the data packet to the next transferring unit based on the information about the next transferring unit through the bus, so that the next transferring unit continues to determine a next transferring unit and forwards the data packet before the data carried in the data packet is forwarded to the destination unit.

### Claim 5 (depends on 1)

The networking processor according to claim 1, wherein the switch unit comprises a switch, an access controller, and a packet processor, wherein
the access controller is configured to obtain a data packet carrying the data from the outside of the networking processor and send the data packet carrying the data to the outside of the networking processor through a port bound to the switch unit to which the access controller belongs;
the packet processor is configured to: obtain the data packet from the access controller; obtain a destination address from the data packet; determine a send port in the plurality of ports based on the destination address; determine a destination unit based on the send port; and determine, based on the destination unit, path information for forwarding the data to the destination unit;
when the switch obtains the path information and the data from the packet processor, the switch is configured to send the data and the path information to a transferring unit based on the path information through the bus, so that the transferring unit continues to forward the data and the path information based on the path information before the data is forwarded to the destination unit; and
when the switch obtains, from the bus, the data and the path information that are forwarded by another switch unit or the transferring unit, the switch is configured to continue to forward the data and the path information based on the path information before the data is forwarded to the destination unit, wherein
the path information indicates information about the transferring unit through which the data is forwarded to the destination unit, and the transferring unit is a switch unit that is in the plurality of switch units and that is configured to forward the data.

### Claim 6 (depends on 4)

The networking processor according to claim 4, wherein the switch unit is further configured to share packet processors in different switch units through the network formed by the plurality of buses.

### Claim 7 (depends on 2)

The networking processor according to claim 2 wherein the switch unit further comprises a traffic manager and/or a first buffer, wherein
the traffic manager is configured to write the data into a corresponding queue based on an attribute of the data, and schedule the data in the queue;
the first buffer is configured to buffer the data; and
the switch is further configured to forward the data based on scheduling information of the traffic manager for the data.

### Claim 8 (depends on 7)

The networking processor according to claim 7, wherein the switch unit is further configured to share first buffers in different switch units through the network formed by the plurality of buses.

### Claim 9 (depends on 7)

The networking processor according to claim 7, wherein the traffic manager in the switch unit is further configured to obtain, through the network formed by the plurality of buses, a data transmission scheduling request sent by another switch unit, and generate scheduling response information, so that the another switch unit schedules the data based on the scheduling response information.

### Claim 10 (depends on 1)

The networking processor according to claim 1, wherein the networking processor further comprises a second buffer and/or a forwarding table, wherein
both the second buffer and the forwarding table are connected to the switch unit through the bus;
the second buffer is configured to buffer data obtained by the switch unit; and
the forwarding table indicates port information used during communication between networking processors.

### Claim 11 (depends on 1)

A network device, comprising at least one networking processor according to claim 1, wherein the at least one networking processor is interconnected through a bus.
