IP Library › Granted Patent US 10,205,650
Granted Patent B2
US 10,205,650 · App. 15/169,755 · Granted Feb 12, 2019

Routing system with learning functions and routing method thereof

Inventor: Ching-Hung Chen (New Taipei, TW)
Assignee: MOXA INC.
H04L45/08H04L45/74H04L49/3009
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,205,650
App. No.
15/169,755
Granted
Feb 12, 2019
Kind
B2
Abstract

The present disclosure illustrates a routing system with learning functions and a routing method thereof. By detecting a raw packet's packet header and an entry port receiving the raw packet, a routing message is queried from a path table by the packet header and the entry port. When there is not the routing message, the raw packet is routed by a kernel and the routing result is recorded in the path table to be the routing message. When there is the routing message, the packet header of the raw packet is replaced with a modified packet header recorded in the routing message, to form a modified packet, and the modified packet is transmitted from the transmission port recorded in the routing message, to achieve the technical effect of improving the routing performance for the packets with the same packet headers and the same entry ports.

Claims (11)

1. A routing method with learning functions, applied to a routing device with a plurality of ports, and the routing method comprising the steps of:

providing a path table;

receiving a raw packet from one of the plurality of ports;

detecting the port receiving the raw packet to be an entry port, and reading the raw packet's packet header to be a raw packet header;

querying a routing message from the path table, wherein the routing message is in accordance with the raw packet header and the entry port;

using a kernel to transform the raw packet into the modified packet by Network Address Transformation (NAT) when the routing message does not exist, one of the plurality of ports is chosen to be a transmission port transmitting the modified packet according to a routing table of the kernel, the raw packet header, a modified packet header of the modified packet, the entry port and the transmission port of the modified packet are recorded in the path table to be the routing message, and the modified packet is transmitted from the transmission port; and

replacing the packet header of the raw packet with the modified packet header in the routing message to form the modified packet when the routing message exists, and the modified packet is transmitted from the transmission port recorded in the routing message.

2. The routing method with learning functions of claim 1 , wherein the path table is empty in the beginning, and the raw packet header, the modified packet header, the entry port and the transmission port are recorded as the routing message by using a text file or a database.

3. The routing method with learning functions of claim 1 , wherein a corresponding relation among a network segment, a subnet mask and the transmission port is recorded in the routing table and the path table is reset when the corresponding relation recorded in the routing table is changed.

4. The routing method with learning functions of claim 1 , wherein the raw packet and the modified packet are Ethernet packets.

5. The routing method with learning functions of claim 1 , wherein the raw packet header and the modified packet header record messages in data link layer, network layer and transport layer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 1, 2016
From: CHEN, CHING-HUNG
To: MOXA INC.
Reel/Frame 038755/0696 →
Continuity (1)
Related Publication 20170353378A1 · Dec 7, 2017