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

Method and device for realizing communication between virtual machines based on scheduling layer

A technology of virtual machine and scheduling layer, applied in inter-program communication, multi-program device, program control device, etc., can solve the problems of low real-time performance and waste of CPU resources, etc.

Active Publication Date: 2017-02-08
ZTE CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method usually requires the virtual machine to allocate specified memory, and when the virtual machines need to communicate, it is also necessary to read the contents of the shared memory through the CPU.
In this way, the real-time performance of the communication between the two virtual machines is not high, and it is also a waste of CPU resources.

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 realizing communication between virtual machines based on scheduling layer
  • Method and device for realizing communication between virtual machines based on scheduling layer
  • Method and device for realizing communication between virtual machines based on scheduling layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0037] refer to figure 1 An embodiment of the method for realizing communication between virtual machines based on the scheduling layer of the present invention is proposed. The method includes:

[0038] Step S101, receiving the first communication request sent by the source virtual machine, and returning a first tag ID for identifying the successful binding of the first communication request to the source virtual machine, so that the source virtual machine can communicate with the first callback function after registering the first callback function A tag ID for binding;

[0039] The method for realizing communication between virtual machines based on the scheduling layer provided by the present invention receives communication requests from the source virtual machine and one or more target virtual machines through...

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 method for realizing communication between virtual machines based on a scheduling layer, comprising: receiving a first communication request sent by a source virtual machine, and returning a first tag ID to the source virtual machine, so that the source virtual machine can register the first callback After the function is bound with the first tag ID; receive the second communication request sent by the target virtual machine, and return the second tag ID to the target virtual machine, so that the target virtual machine can register the second callback function with the second tag The ID is bound; the communication information sent by the source virtual machine is forwarded to the target virtual machine, and the CPU is authorized to the target virtual machine to process the communication information. The invention also provides corresponding devices. The method for realizing communication between virtual machines based on the scheduling layer provided by the present invention uses the scheduling layer so that the source virtual machine can directly send communication information to the target virtual machine, thereby improving the speed of communication between virtual machines to a large extent , and can save memory resources.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for realizing communication between virtual machines based on a scheduling layer. Background technique [0002] The virtualized operating system enables multiple operating systems to run simultaneously on a single CPU. For mobile terminals such as mobile phones, real-time performance is a very important indicator. When multiple virtual machines are running at the same time, it is very important to realize fast communication between multiple virtual machines. In the current existing technology, the method for communication between virtual machines is mainly to share memory between two virtual machines, and then use the CPU to read the content in the shared memory, so as to realize the communication between two virtual machines. communication. However, this method usually requires the virtual machine to allocate a specified memory, and when the virtual ...

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 Patents(China)
IPC IPC(8): G06F9/54G06F9/455
CPCG06F9/54G06F9/45558G06F2009/45595G06F9/45533
Inventor 梁玲玲
Owner ZTE CORP