# US 2021/0092633 A1 · Router and routing method

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

- Number: US 2021/0092633 A1
- Document ID: US20210092633A1
- Status: Published application
- Kind: A1
- Application number: 16/745,017
- Filed: 2020-01-16
- Published: 2021-03-25
- Earliest claimed: 2019-09-19
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corporation
- Inventors: TSUNG JEN HO; CHUNG CHANG LIN
- Web page: https://patentgrep.com/patent/US20210092633A1

## CPC

- H04L 49/25: Routing or path finding in a switch fabric
- H04W 28/0215: {based on user or device properties, e.g. MTC-capable devices (services for machine-to-machine communication [M2M] or machine type communication [MTC] H04W4/70; wireless resource selection or allocation plan definition based on terminal or device properties H04W72/51)}
- H04L 47/35: by embedding flow control information in regular packets, e.g. piggybacking
- H04L 49/901: using storage descriptor, e.g. read or write pointers
- H04W 40/16: based on interference
- H04W 8/04: Registration at HLR or HSS [Home Subscriber Server]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The application discloses a router coupled to a first device and a second device. The router includes a first packet input interface, a second packet input interface, a first register, a second register, a control circuit and a switch module. The switch module includes a control port, a first packet output interface and a second packet output interface. The application further discloses a routing method. The router and routing method saves idle time and improves quality of service.

## Claims

### Claim 1

A router, coupled to a first device and a second device, the router comprising:
a first packet input interface;
a second packet input interface;
a first register, configured to temporarily store a plurality of packets from the first packet input interface;
a second register, configured to temporarily store a plurality of packets from the second packet input interface;
a control circuit, configured to selectively read the first register or the second register to generate a plurality of packets corresponding to the first register or the second register; and
a switch module, including:
a first packet output interface, coupled to the first device;
a second packet output interface, coupled to the second device; and
a control port, configured to receive the plurality of packets generated by the control circuit to allow the switch module to accordingly generate a plurality of output packets corresponding to the first register or the second register to the first packet output interface or the second packet output interface;
wherein, when the switch module generates the plurality of output packets corresponding to the first register to the first packet output interface according to the plurality of packets generated by the control circuit, and the control port receives a flow control signal for pausing transmission from the first packet input interface, the control port generates a register pause signal to the control circuit, so as to instruct the control circuit to pause reading the first register.

### Claim 2 (depends on 1)

The router of claim 1, wherein the control circuit transmits a register information along with the plurality of packets read from the first register or the second register to the control port, wherein the register information is configured to indicate that the plurality of packets read from the first register or the second register come from which of the first register or the second register.

### Claim 3 (depends on 2)

The router of claim 2, wherein the control port determines to transmit the plurality of output packets to the first packet output interface or the second packet output interface according to contents of the plurality of packets.

### Claim 4 (depends on 1)

The router of claim 1, wherein the flow control signal is fed back to the control port by the switch module or the first device to pause the transmission from the first packet input interface.

### Claim 5 (depends on 1)

The router of claim 1, wherein when the control circuit pauses reading the first register according to the register pause signal, the control circuit starts to read the second register.

### Claim 6 (depends on 1)

The router of claim 1, further comprising:
a third packet input interface; and
a third register, configured to temporarily store a plurality of packets from the third packet input interface;
wherein the control circuit is further configured to selectively read the first register, the second register or the third register to generate the plurality of packets corresponding to the first register, the second register or the third register, and when the control circuit pauses reading the first register according to the register pause signal, the control circuit determines whether to read the second register or the third register according to a predetermined priority rule.

### Claim 7 (depends on 1)

The router of claim 1, further comprising:
a fourth register, configured to temporarily store the plurality of packets from the first packet input interface;
wherein the plurality of packets from the first packet input interface that are temporarily stored in the first register have a first type, and the plurality of packets from the first packet input interface that are temporarily stored in the fourth register have a second type, wherein the second type differs from the first type.

### Claim 8 (depends on 7)

The router of claim 7, wherein the fourth register is further configured to temporarily store the plurality of packets from the second packet input interface, wherein the plurality of packets from the second packet input interface that are temporarily stored in the second register have a third type, and the plurality of packets from the second packet input interface that are temporarily stored in the fourth register have the second type, wherein the third type differs from the first type.

### Claim 9 (depends on 1)

The router of claim 1, wherein the first packet input interface or the second packet input interface is a wireless network interface.

### Claim 10 (depends on 1)

The router of claim 1, wherein the first packet output interface or the second packet output interface is a wired network interface.

### Claim 11

A routing method, configured to couple a first packet input interface or a second packet input interface to a first device and a second device through a first packet output interface and a second packet output interface, the routing method comprising:
temporarily storing a plurality of packets from the first packet input interface in a first register;
temporarily storing a plurality of packets from the second packet input interface in a second register;
selectively reading the first register or the second register to generate a plurality of packets corresponding to the first register or the second register;
receiving the plurality of packets and generating a plurality of output packets to the first packet output interface or the second packet output interface corresponding to the first register or the second register; and
when generating the plurality of output packets corresponding to the first register to the first packet output interface according to the plurality of packets generated, and receiving a flow control signal for pausing transmission from the first packet input interface, generating a register pause signal to pause reading the first register.

### Claim 12 (depends on 11)

The routing method of claim 11, wherein, the step of selectively reading the first register or the second register to generate the plurality of packets corresponding to the first register or the second register comprises:
generating a register information, wherein the register information is configured to indicate that the plurality of packets read from the first register or the second register come from which of the first register or the second register.

### Claim 13 (depends on 12)

The routing method of claim 12, wherein, the step of generating the plurality of output packets corresponding to the first register or the second register to the first packet output interface or the second packet output interface according to the plurality of packets comprises:
determining to transmit the plurality of output packets to the first packet output interface or the second packet output interface according to contents of the plurality of packets.

### Claim 14 (depends on 11)

The routing method of claim 11, further comprising:
feeding back the flow control signal to pause the transmission from the first packet input interface.

### Claim 15 (depends on 11)

The routing method of claim 11, comprising: starting to read the second register when pausing reading the first register according to the register pause signal.

### Claim 16 (depends on 11)

The routing method of claim 11, further configured to couple the first packet input interface, the second packet input interface or a third packet input interface to the first device, the second or a third device through the first packet output interface, the second packet output interface or a third packet output interface, the routing method further comprising:
temporarily storing a plurality of packets from the third packet input interface in a third register;
selectively reading the first register, the second register or the third register so as to generate the plurality of packets corresponding to the first register, the second register or the third register, and when pausing reading the first register according to the register pause signal, determining whether to read the second register or the third register according to a predetermined priority rule.

### Claim 17 (depends on 11)

The routing method of claim 11, further comprising:
temporarily storing the plurality of packets from the first packet input interface in a fourth register;
wherein the plurality of packets from the first packet input interface that are temporarily stored in the first register have a first type, and the plurality of packets from the first packet input interface that are temporarily stored in the fourth register have a second type, wherein the second type differs from the first type.

### Claim 18 (depends on 17)

The routing method of claim 17, further comprising:
temporarily storing the plurality of packets from the second packet input interface in the fourth register, wherein the plurality of packets from the second packet input interface that are temporarily stored in the second register have a third type, and the plurality of packets from the second packet input interface that are temporarily stored in the fourth register have the second type, wherein the third type differs from the first type.

### Claim 19 (depends on 11)

The routing method of claim 11, wherein the first packet input interface or the second packet input interface is a wireless network interface.

### Claim 20 (depends on 11)

The routing method of claim 11, wherein the first packet output interface or the second packet output interface is a wired network interface.
