摘要:
A method for managing Virtual Machine (VM) storage space is provided. In the method, a Storage Balloon Agent (SBA) module deployed in a VM is adopted to directly acquire virtual storage free block information and deliver the acquired virtual storage free block information to a Storage Balloon Daemon (SBD) module deployed in a Virtual Machine Monitor (VMM) layer; and the SBD module releases a part or all of physical storage space corresponding to the virtual storage free block information, and marks virtual storage blocks corresponding to the released physical storage space as unavailable. A corresponding system and a physical host are further provided in the present invention. Through the method of an embodiment of the present invention, use condition of virtual storage space can be acquired in real time, and a large number of read and write operations of a storage system can be avoided. The method is applicable to both a virtual storage system in a dynamic allocation format and a virtual storage system in a pre-allocation format.
摘要:
An image processing method and apparatus are disclosed. The method includes: obtaining multiple video frames, where the multiple video frames are collected from a same scene at different angles; determining a depth map of each video frame according to corresponding pixels among the multiple video frames; supplementing background missing regions of the multiple video frames according to depth maps of the multiple video frames, to obtain supplemented video frames of the multiple video frames and depth maps of the multiple supplemented video frames; generating an alpha image of each video frame according to an occlusion relationship between each of the multiple video frames and a supplemented video frame of each video frame in a background missing region; and generating a browsing frame at a specified browsing angle according to the multiple video frames, the supplemented video frames of the multiple video frames, and alpha images of the multiple videos. Because a video frame image is supplemented before a browsing frame is generated, a speed in image browsing is improved with integrity of a browsed image ensured.
摘要:
Embodiments of the present invention disclose a virtualization processing method and apparatuses, and a computer system. A computing node in solutions of embodiments of the present invention includes: a hardware layer, a Host running on the hardware layer, and at least one virtual machine VM running on the Host, the hardware layer includes an I/O device, several corresponding virtual function VF devices are virtualized from the I/O device, the Host has several VF software instances, each of the VF software instances is corresponding to a different VF device of the several VF devices; the Host further has a back-end instance BE of an I/O virtual device having the same type with the I/O device, the VM has a front-end instance FE of the I/O virtual device; the BE in the Host is bound with an idle VF software instance. The solutions of the embodiments of the present invention are beneficial to optimization of the performance and compatibility of a virtualization system.
摘要:
Embodiments of the present invention disclose a virtualization processing method and apparatuses, and a computer system. A computing node in solutions of embodiments of the present invention includes: a hardware layer, a Host running on the hardware layer, and at least one virtual machine VM running on the Host, the hardware layer includes an I/O device, several corresponding virtual function VF devices are virtualized from the I/O device, the Host has several VF software instances, each of the VF software instances is corresponding to a different VF device of the several VF devices; the Host further has a back-end instance BE of an I/O virtual device having the same type with the I/O device, the VM has a front-end instance FE of the I/O virtual device; the BE in the Host is bound with an idle VF software instance. The solutions of the embodiments of the present invention are beneficial to optimization of the performance and compatibility of a virtualization system.
摘要:
The present invention discloses a virtual machine fault tolerance method, including: receiving a network request sent by a client, and separately sending the network request to a primary virtual machine and a secondary virtual machine; receiving a network response data packet, where the network response data packet is a primary-end data packet transmitted by the primary virtual machine or a secondary-end data packet transmitted by the secondary virtual machine; when peer-end data of the network response data packet is stored, comparing data of the received network response data packet with the peer-end data according to data byte order; and when the compared data is the same, generating and sending a newly created data packet to the client, where the newly created data packet includes the compared data. In the virtual machine fault tolerance method provided in embodiments of the present invention, network performance and computing performance of the primary virtual machine can be improved while network protocol stacks of the primary virtual machine and the secondary virtual machine do not need to be modified.
摘要:
A virtual storage migration method, a virtual storage migration system and a virtual machine monitor (VMM) are provided. The method includes: starting a data migration process, and copying, from a source storage device to a destination storage device, a data block in a virtual machine (VM) disk to be migrated; when a VM front-end I/O read request is received, directly reading corresponding data from the source storage device; when a VM front-end I/O write request is received, determining whether a migration data block that corresponds to the write request is being migrated, if the migration data block that corresponds to the write request is being migrated, executing a write operation that corresponds to the write request after the migration of the migration data block is completed, if the migration data block that corresponds to the write request is not being migrated, executing a write operation that corresponds to the write request; and after all the data blocks in the virtual disk to be migrated are copied to the destination storage device, stopping the data migration, and switching the virtual disk from the source storage device to the destination storage device. Through the virtual storage migration method, the virtual storage migration system and the VMM, the disadvantage of service interruption due to VM suspension is avoided.
摘要:
Embodiments of this application disclose an image processing method, a framework, and an apparatus in a computer vision technology in the field of artificial intelligence. The method includes: obtaining a plurality of frames of raw images; and after preprocessing such as image alignment, channel splitting, or pixel rearrangement is performed on the obtained plurality of frames of raw images, performing detail restoration on an image based on a deep learning network, and performing luminance enhancement and color enhancement on an image output by the deep learning network. In embodiments of this application, a plurality of types of processing related to detail restoration are integrated into a same deep learning network. This avoids mutual impact between different processing when a plurality of types of processing are serially performed, effectively fuses effective information of a plurality of frames of images, and better improves an image processing effect.