Gateway function realization method and device

An implementation method and gateway technology, applied in the field of communication, can solve problems such as low communication efficiency, communication interruption between source virtual machine and target host, and failure to communicate normally

Active Publication Date: 2015-06-17
HUAWEI TECH CO LTD
View PDF6 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above-mentioned method for implementing the gateway function, on the one hand, is limited by the performance of forwarding data packets of the virtual machine implementing the gateway function and the bandwidth of the virtual machine implementing the gateway function, thus resulting in communication efficiency between the source virtual machine and the target host. Low,

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
  • Gateway function realization method and device
  • Gateway function realization method and device
  • Gateway function realization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0101] Embodiments of the present invention provide a method for implementing a gateway function, such as figure 2 As shown, the method is an implementation method of the gateway function on the server side, and the method may include:

[0102] S101. The server receives a first request message sent by a management node, where the first request message carries first routing information of a first gateway and a first detection rule of the first gateway, and the first request message is used to request the server to Create the first gateway on the virtual switch in the server.

[0103] The management node is a node in the virtualization system that manages network resources and virtual resources. The management node may include a network resource management unit and a virtual resource management unit. The management node can manage multiple servers in the virtualization system, and the management node allocates network resources and virtual resources to the multiple servers, a...

Embodiment 2

[0136] Embodiments of the present invention provide a method for implementing a gateway function, such as Figure 5 As shown, the method is an implementation method of the gateway function on the server side, and the method may include:

[0137] S301. When a first virtual machine is created on a first server, the management node searches the first server for a first routing rule and a second detection rule, where the first routing rule and the second detection rule are related to the first virtual machine Corresponding rules of the first gateway.

[0138] The management node is a node in the virtualization system that manages network resources and virtual resources. The management node may include a network resource management unit and a virtual resource management unit. The management node can manage multiple servers in the virtualization system, and the management node allocates network resources and virtual resources to the multiple servers, and sends and receives data to...

Embodiment 3

[0241] like Figure 9 As shown, the embodiment of the present invention provides a server 1, which corresponds to the implementation method of the gateway function on the server side provided by the embodiment of the present invention, and the server 1 may include:

[0242] A receiving unit 10, configured to receive a first request message sent by a management node, where the first request message carries first routing information of the first gateway and a first detection rule of the first gateway, the first request message for requesting the creation of the first gateway on a virtual switch in the server.

[0243] The obtaining unit 11 is configured to obtain the first routing information and the first detection rule according to the first request message received by the receiving unit 10 .

[0244] The generating unit 12 is configured to generate a first routing rule and a second detection rule according to the first routing information and the first detection rule acquire...

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 gateway function realization method and device and relates to the technical field of communications. Communication efficiency and communication stability between a virtual machine and a main engine can be improved. The method comprises the steps that a server receives a first request message sent by a management node, wherein the first request message carries a first routing message of a first gateway and a first detection rule of the first gateway, and the first request message is used for requesting the server to create the first gateway on a virtual switch in the server; the server obtains the first routing message and the first detection rule according to the first request message; the server generates a first routing rule and a second detection rule according to the first routing message and the first detection rule; the server achieves the functions of the first gateway through the virtual switch according to the first routing rule and the second detection rule.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular, to a method and device for realizing a gateway function. Background technique [0002] In a virtualization system, a virtual machine in one subnet and a host in another subnet may communicate through a corresponding virtual gateway, where the host may include a physical host and a virtual machine. At present, a virtualization system may include multiple servers, and each server may run at least one virtual machine, wherein each virtual machine only belongs to a certain subnet in the virtualization system. [0003] In the prior art, when a subnet is created, a gateway corresponding to the subnet also needs to be created. Specifically, you can create a virtual machine on a server in the virtualization system, and when adding the subnet, configure the gateway of the subnet to a virtual network interface, and use a separate interface of the virtual machine at the ...

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/24H04L12/66
Inventor 刘军利
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products