Method and device for data transmission
A data transmission method and a technology of a data transmission device, which are applied in the directions of multi-channel program devices, program control devices, electrical digital data processing, etc., can solve the problems of affecting function application performance, connection timeout, low efficiency, etc., and achieve simple and convenient implementation, Strong versatility and clear process effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] see figure 2 , this embodiment introduces a method for a virtual machine to transmit data to a host machine.
[0040] Step 201, allocate the memory space of the host machine as the shared memory space.
[0041] Start virtualbox, and add a PCI virtual device on the basis of virtualbox. The PCI virtual device allocates a memory space on the host computer to become the PCI device address space as a shared memory space. Among them, PCI is the most widely used general bus interface specification in computer systems at present. A PCI device refers to a device inserted into a PCI slot, and a PCI device has a device address space. Since the PCI virtual device is virtual, the device address space of the PCI virtual device is the memory address space of the host computer. In this embodiment, the size of the allocated memory space of the host computer is 64M, and the smallest unit is 4K.
[0042] Step 202, establishing a connection between the r0 layer (kernel mode, kernel la...
Embodiment 2
[0053] see figure 2 , this embodiment introduces a method for a host machine to transmit data to a virtual machine.
[0054] Step 301, allocate the memory space of the host computer as the shared memory space.
[0055] Start virtualbox, and add a PCI virtual device on the basis of virtualbox. The PCI virtual device allocates a memory space on the host computer to become the PCI device address space as a shared memory space. Among them, PCI is the most widely used general bus interface specification in computer systems at present. A PCI device refers to a device inserted into a PCI slot, and a PCI device has a device address space. Since the PCI virtual device is virtual, the device address space of the PCI virtual device is the memory address space of the host computer. In this embodiment, the size of the allocated memory space of the host computer is 64M, and the smallest unit is 4K.
[0056] Step 302, establishing a connection between the r0 layer driver of the virtual ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


