Unlock instant, AI-driven research and patent intelligence for your innovation.

Communication method and device between virtual machines, physical host and medium

A technology of physical host and communication method, applied in the field of communication, can solve the problems of inflexible use, poor adaptability of cloud computing platform, large scale, etc.

Pending Publication Date: 2021-06-04
SANGFOR TECH INC
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to realize the requirements in the above example, in the current KVM (Kernel-based Virtual Machine, open source virtual machine) platform, there are two communication methods between virtual machines on different physical hosts: one is based on serial port data communication, Serial port-based data communication needs to directly specify the physical host IP (Internet Protocol, Internet Protocol) address of the other party in the virtual machines of the communicating parties. Once the virtual machine is migrated, it is necessary to directly modify the physical host IP configured in each virtual machine communicating with it. Therefore, the cloud computing platform with large scale, strong flexibility, and dynamic automatic configuration has poor adaptability
The second is network-based data communication. Network-based data communication needs to configure a dedicated network card and reserve an IP segment for each virtual machine, which is complex to manage, requires user participation, and is not flexible to use.

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
  • Communication method and device between virtual machines, physical host and medium
  • Communication method and device between virtual machines, physical host and medium
  • Communication method and device between virtual machines, physical host and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0059] see figure 1 As shown, the embodiment of the present application discloses a communication method between virtual machines, which is applied to the first physical host running the first virtual machine, and the method includes:

[0060] Step S11: When it is detected that the device driver corresponding to the first virtual machine performs a write operation on the I / O notification register in the PCIe device corresponding to the first virtual machine, read the target correspo...

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 discloses a communication method and device between virtual machines, a physical host and a medium, and the method comprises the steps: reading a to-be-transmitted original data packet in a target shared memory corresponding to a first virtual machine when it is monitored that a device driver corresponding to the first virtual machine performs write operation on an I / O notification register in a PCIe device corresponding to the first virtual machine; determining an IP address of a second physical host of the receiver based on a second virtual machine identifier in the to-be-transmitted original data packet and a preset virtual machine identifier and a server IP comparison table; sending the to-be-transmitted original data packet to the second physical host based on the IP address of the second physical host, wherein the to-be-transmitted original data packet is used for being transmitted to a second virtual machine corresponding to the second virtual machine identifier. Therefore, the adaptability is high, an IP address field does not need to be reserved, and use is flexible.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a communication method, device, physical host, and medium between virtual machines. Background technique [0002] With the improvement of hardware performance, the computing power of the physical host has been greatly improved. However, due to the uneven use of resources by the operating system, the performance of the hardware is not fully utilized, resulting in a serious waste of computing resources. In this case, virtualization technology emerges as the times require. Virtualization technology enables multiple independent virtual machines to run simultaneously on the same physical host. Each virtual machine has a complete hardware device, including BIOS (Basic Input Output System, basic input output system), CPU, memory, disk, network card, etc. With virtualization technology as the core, cloud computing provides users with elastic resources, which greatly...

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): G06F9/455
CPCG06F9/45558G06F2009/45595
Inventor 李波朱民
Owner SANGFOR TECH INC