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

Address self-learning method and device and switch

A self-learning, switch technology, applied in the field of communication, can solve the problem of not supporting the cascading network, not supporting the acquisition and use of two-layer addresses, etc.

Active Publication Date: 2018-09-25
ZTE CORP
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] An address self-learning method, device and switch are provided in the embodiment of the present invention, to at least solve the problem that the OpenFlow network in the related art cannot su

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
  • Address self-learning method and device and switch
  • Address self-learning method and device and switch
  • Address self-learning method and device and switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] The method embodiment provided in Embodiment 1 of the present application may be executed in a switch, a switch, a computer terminal, or a similar computing device. Taking running on a switch as an example, Figure 4 It is a block diagram of the hardware structure of the switch according to the address self-learning method of the embodiment of the present invention. Such as Figure 4 As shown, the switch 40 may include one or more (only one is shown in the figure) processors 42 (the processors 42 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA, etc.), for storing A memory 44 for data, and a transmission device 46 for communication functions. Those of ordinary skill in the art can understand that, Figure 4 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, switch 40 may also include a ratio Figure 4 more or fewer comp...

example 1

[0094] Figure 7 It is a schematic diagram of realizing the MAC address self-learning function according to a preferred embodiment of the present invention. Such as Figure 7 As shown, in this example, the steps performed by the OpenFlow controller and the OpenFlow switch are as follows:

[0095] In step 1, the OpenFlow controller issues a flow table for obtaining packet ingress port information, an address self-learning status table, and a flow table for storing address self-learning results to the OpenFlow switch.

[0096] The matching field of the flow table for obtaining packet ingress port information is "wildcard", and the corresponding action is "copy to the new state"; the matching key value of the address self-learning state table is "the source of the packet MAC address", the status value is "the inbound port of the message"; the matching field of the flow table storing the address self-learning result is "", and the corresponding action is "From the outbound port...

example 2

[0103] Figure 8 It is a schematic diagram of realizing the self-learning function of the outer layer address to be encapsulated according to the preferred embodiment of the present invention. Such as Figure 8 As shown, in this example, the OpenFlow controller and the OpenFlow switch as the edge node of the stack network need to perform the following steps:

[0104] In step 1, the OpenFlow controller issues a flow table for obtaining the outer layer source address information of the packet, an address self-learning status table, and a flow table for storing address self-learning results to the OpenFlow switch.

[0105] The matching field of the flow table to obtain the outer source address information of the message is "the inbound port of the message is the network side port", and the corresponding action is "copy to the new state"; the address is self-learning The matching key value of the state table is "the inner source address of the message", and the state value is "...

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 an address self-learning method and device and a switch. The method comprises the steps of obtaining first action indication information matching a received first message from afirst flow table; copying a first source address corresponding to the first message to a first state variable according to the first action indication information; updating a state table for addressself-learning according to the first state variable, wherein a mapping relationship between a second source address and the first source address is corresponding to the first message and stored in thestate table; and updating a preset table according to the updated state table, wherein the preset table is used for storing an address self-learning result. Through application of the method, the device and the switch, the problem that in related technologies, a to-be-packaged external layer address self-learning function required by an overlay network cannot be supported due to the fact that theobtaining and application of two layers of addressees are not supported in an OpenFlow network is solved, and further an effect of effectively carrying out the address self-learning is achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method, device and switch for address self-learning. Background technique [0002] The OpenFlow (Open Flow) network adopts an architecture in which the control plane and the forwarding plane are separated. figure 1 It is a schematic diagram of an OpenFlow network component architecture according to related technologies. like figure 1 As shown, the control plane of the OpenFlow network is realized by the OpenFlow controller, the forwarding plane of the OpenFlow network is realized by the OpenFlow switch, and the OpenFlow protocol is run between the OpenFlow controller and the OpenFlow switch; A flow table (Flow Table) with multiple entries (Entry) and multiple types of group tables (Group Table), flow table parameters include match fields (Match Fields) and instructions (Instructions) containing actions (Actions), etc. Parameters include group type (Group Type) and action se...

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/741H04L45/74
CPCH04L45/54H04L45/74H04L45/745H04L45/36H04L45/66
Inventor 肖敏
Owner ZTE CORP
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