Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message forwarding method and system

A message forwarding and message technology, applied in the field of communications, can solve problems such as network delays and interruptions

Active Publication Date: 2017-08-18
HANGZHOU DPTECH TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and system for message forwarding, which are used to solve the problem of network delay or interruption caused when the three-layer forwarding ARP entry cannot be delivered to the switching chip in the existing message forwarding technology

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message forwarding method and system
  • Message forwarding method and system
  • Message forwarding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention are described below in conjunction with the accompanying drawings The program is described in further detail.

[0021] figure 1 It is a schematic diagram of an application scenario of the packet forwarding method in the embodiment of the present invention.

[0022] Such as figure 1 As shown, the switch shown in this application scenario includes: the CPU of the switch and the switching chip. information, and then obtains its corresponding MAC address according to the next-hop IP address and ARP information to complete packet forwarding.

[0023] In the prior art, the shown switch CPU generates an ARP table when forwarding a mess...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a message forwarding method and system. The method is applied to a switch, and comprises the following steps: a switch chip receives a message to be forwarded; after determining that a target ARP table item corresponding to the message to be forwarded is not stored in an ARP table, a CPU acquires the target ARP table item, associates a priority identifier for the target ARP table item, and issues the target ARP table item to a switch chip ARP table; when ARP storage resources in the switch chip ARP table are exhausted and the target ARP table item is associated with a high priority identifier, the CPU replaces any ARP table item that is associated with a normal priority identifier in the switch chip ARP table as the target ARP table item; and the switch chip forwards the message to be forwarded according to the target ARP table item. By adopting the message forwarding method and system provided by the invention, the ARP table items of the switch chip are associated with different priority identifiers, the ARP table items with low priority are replaced by the ARP table items with high priority, and thus the switch chip can store the three layers of forwarded ARP table items when the ARP storage resources are exhausted, and network delay or interruption caused by excessive usage of the CPU when forwarding the three layers of messages can be avoided.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a method and system for message forwarding. Background technique [0002] In network communication, ARP (Address Resolution Protocol, Address Resolution Protocol) is a TCP / IP protocol for obtaining a MAC (Media Access Control, Media Access Control) address according to an IP address. When a switch forwards a packet, its CPU needs to first look up the next-hop IP address and outbound interface information of the packet to be forwarded according to the routing table, and then obtain its corresponding MAC address according to the next-hop IP address and ARP information to complete the packet. Text forwarding. [0003] In the prior art, the switch CPU usually saves the MAC address obtained according to the next-hop IP address when forwarding the message, generates an ARP table according to the correspondence between the IP address and the MAC address and the out...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/747H04L29/12
CPCH04L45/742H04L61/103H04L61/58
Inventor 周立伟王富涛
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products