Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for forwarding messages, switch, equipment and storage medium

A technology for forwarding messages and switches, which is applied in the field of digital information transmission and can solve problems such as message sending errors and connection information failures

Active Publication Date: 2019-04-05
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing technology of using virtual switches to forward packets, when the connection state of the device corresponding to the connection information changes or the configuration of the control plane changes, the connection information will become invalid, and forwarding packets according to the expired connection information will cause the packet Send Error

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
  • Method and device for forwarding messages, switch, equipment and storage medium
  • Method and device for forwarding messages, switch, equipment and storage medium
  • Method and device for forwarding messages, switch, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0119] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0120] see figure 1 , figure 1 It is a schematic flow diagram of a switch forwarding a message in the prior art. When the switch receives the message, it firstly judges whether the destination address of the message and the address of the switch are in the same network segment, and determines whether it is a layer 2 data packet. If it is in the same network segment, it is a layer 2 data packet, then query the MAC table and then match the security group rules ...

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 embodiment of the invention provides a method and device for forwarding messages, a switch, a piece of equipment and a storage medium. The method includes the following steps: acquiring a messageto be forwarded; querying whether a first data table contains the connection cache information of the message to be forwarded; acquiring first identification of the connection cache information in thefirst data table if the first data table contains the connection cache information of the message to be forwarded; acquiring connection information corresponding to the connection cache information in a second data table, and determining second identification of the connection cache information, wherein the second identification is the current connection identification of the connection cache information, and when the connection information of the connection cache information changes, the current connection identification of the connection cache information whose connection information changes correspondingly changes according to a preset change rule; and if the first identification and the second identification of the connection cache information are the same, forwarding the message to be forwarded according to the connection cache information. The method for forwarding messages provided by the embodiment of the invention can reduce message forwarding errors.

Description

technical field [0001] The invention relates to the technical field of digital information transmission, in particular to a method, device, switch, equipment and storage medium for forwarding messages. Background technique [0002] A vSwitch (Virtual Switch, virtual switch) is a virtual device running on a computing node host computer in a public cloud environment, and is used to realize the functions of a physical switch in a layer 2 and layer 3 network through software. The vSwitch is mainly responsible for packet forwarding based on MAC (Media Access Control) addresses at Layer 2 and IP addresses (Internet Protocol Address, Internet Protocol Address) at Layer 3. It also has functions such as security groups and ACL (Access Control List, Access Control List). [0003] In the existing technology, when using a virtual switch to forward a message, when the message sending end and the message receiving end are in the same subnet, it is necessary to query the Layer 2 MAC addres...

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
IPC IPC(8): H04L12/751H04L12/747H04L45/02H04L45/74
CPCH04L45/02H04L45/742H04L63/0227H04L63/101H04L67/568H04L49/00G06F16/9024H04L45/38H04L45/7453H04L63/20H04L2101/622
Inventor 董玢
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More