-
公开(公告)号:US11474712B2
公开(公告)日:2022-10-18
申请号:US16707393
申请日:2019-12-09
Abstract: A method, an apparatus, a device, and a storage medium for managing an access request are provided. The method includes acquiring a group of access requests for performing data access to a storage device in a computing system, the group of access requests indicating access operations for a group of addresses in the storage device respectively; arranging an order of the group of addresses based on address ranges of the addresses of the group of addresses in the storage device; generating a merged request based on at least one part of the access requests with consecutive addresses among the group of access requests with the arranged addresses; and executing a data access operation on the storage device based on the merged request, the method being implemented in a driver of the storage device, and the driver being implemented in a user state of the computing system.
-
公开(公告)号:US11169792B2
公开(公告)日:2021-11-09
申请号:US16133436
申请日:2018-09-17
IPC: G06F8/71 , G06F8/65 , G06F9/445 , G06F9/4401 , G06F8/658 , G06F40/157 , G06F8/41
Abstract: Embodiments of the disclosure disclose a method and apparatus for generating a patch file. A specific embodiment of the method comprises: acquiring a first target file for establishing a target process, the first target file comprising a first symbol table; acquiring a second target file compiled based on a target source code file, the second target file comprising a second symbol table; determining a difference symbol between the first target file and the second target file using the first symbol table and the second symbol table; and generating a patch file based on the difference symbol. The embodiment has enriched the way to generate a patch file.
-
公开(公告)号:US10318343B2
公开(公告)日:2019-06-11
申请号:US15534589
申请日:2015-11-27
Inventor: Yu Zhang , Zhen Xu , Feifei Cao , Guangjun Xie
Abstract: The present application discloses a virtual machine migration method and apparatus. A specific implementation of the method includes: receiving a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determining migration operations respectively corresponding to the local data and the shared data in response to the migration request; and executing the migration operations corresponding to the local data and the shared data, to complete migration of the virtual machine. This implementation achieves the migration of a virtual machine with a hybrid storage mode, that is, a storage mode in which the data to be migrated includes both local data and shared data.
-
公开(公告)号:US11210127B2
公开(公告)日:2021-12-28
申请号:US16458337
申请日:2019-07-01
Inventor: Yongji Xie , Wen Chai , Yu Zhang
IPC: G06F9/455
Abstract: Embodiments of the present disclosure disclose a method and apparatus for processing a request. A specific embodiment of the method includes: acquiring, in response to start-up of a virtual machine, work queue quantity information of each device of the virtual machine, the work queue quantity information indicating a quantity of work queues of a device bound with a processing thread corresponding to the device of the virtual machine, the quantity being one or more; and creating, based on the work queue quantity information of the each device of the virtual machine, processing threads corresponding to the each device of the virtual machine respectively, the processing thread corresponding to the device of the virtual machine being used to process an access request for the device of the virtual machine in the work queue of the device bound with the processing thread.
-
公开(公告)号:US20200371882A1
公开(公告)日:2020-11-26
申请号:US16707248
申请日:2019-12-09
Inventor: Yongji Xie , Wen Chai , Yu Zhang
Abstract: A method, an apparatus, a device, and a computer readable storage medium for starting a virtual machine are provided. The method includes generating a disk snapshot for a first piece of data on a virtual disk of a first virtual machine. The method further includes starting running a second virtual machine based on identifier information of the first virtual machine and address information of the disk snapshot, such that the first piece of data is copied to a virtual disk of the second virtual machine. The method further includes pausing running the second virtual machine, in response to initialization of an operating system on the started second virtual machine being completed, for restoring the first virtual machine when the first virtual machine is unavailable.
-
公开(公告)号:US10318331B2
公开(公告)日:2019-06-11
申请号:US15428941
申请日:2017-02-09
Abstract: An implementation of a method for live-migrating virtual machines includes: acquiring, when receiving a request for live-migrating a virtual machine to a target physical machine, CPU information of a source physical machine and CPU information of the target physical machine; determining whether a CPU instruction set architecture of the source physical machine is compatible with a CPU instruction set architecture of the target physical machine; determining whether CPU features of the source physical machine are compatible with CPU features of the target physical machine, if the two CPU instruction set architecture are compatible; determining whether incompatible CPU features between the source physical machine and the target physical machine are in a preset list, if the two CPU instruction set architecture are not compatible; and live-migrating the virtual machine from the source physical machine to the target physical machine, in response to determining that the incompatible CPU features are in the preset list.
-
公开(公告)号:US20180129520A1
公开(公告)日:2018-05-10
申请号:US15604804
申请日:2017-05-25
Inventor: Yu Zhang
CPC classification number: G06F9/45537 , G06F9/45558 , G06F9/5077 , G06F2009/45575 , H04L67/10 , H04L67/1095 , H04L67/34
Abstract: A method and apparatus for starting a virtual machine. A specific implementation of the method comprises: acquiring, by a physical machine, a mirror image file required for starting a to-be-started target virtual machine from a distributed block storage system, in response to an entered instruction to start the target virtual machine; and starting the target virtual machine by using the mirror image file. The mirror image file required for starting the virtual machine is stored in the cloud-based distributed block storage system, and a virtual disk is mapped to the physical machine. When the physical machine needs to start the virtual machine, the mirror image file required for starting the virtual machine is acquired from the cloud-based distributed block storage system by reading the virtual disk.
-
公开(公告)号:US10977062B2
公开(公告)日:2021-04-13
申请号:US15604804
申请日:2017-05-25
Inventor: Yu Zhang
Abstract: A method and apparatus for starting a virtual machine. A specific implementation of the method comprises: acquiring, by a physical machine, a mirror image file required for starting a to-be-started target virtual machine from a distributed block storage system, in response to an entered instruction to start the target virtual machine; and starting the target virtual machine by using the mirror image file. The mirror image file required for starting the virtual machine is stored in the cloud-based distributed block storage system, and a virtual disk is mapped to the physical machine. When the physical machine needs to start the virtual machine, the mirror image file required for starting the virtual machine is acquired from the cloud-based distributed block storage system by reading the virtual disk.
-
公开(公告)号:US10282120B2
公开(公告)日:2019-05-07
申请号:US15722850
申请日:2017-10-02
IPC: G06F3/06
Abstract: The present disclosure discloses a method and apparatus for inserting a disk. The method comprises: detecting whether a to-be-inserted disk has a drive letter identifier, wherein the drive letter identifier is acquired by a server through: acquiring a universally unique identifier of the disk; querying a correspondence between the universally unique identifier and a device name, acquiring the device name of the disk, analyzing the device name of the disk to generate a drive letter value of the disk, and generating a drive letter identifier for the disk; acquiring the drive letter value in response to detecting the disk identifier; determining whether the device name associated with the drive letter value is allocated to a different disk; and defining the device name of the disk based on the drive letter value so as to insert the disk if the device name is not allocated to the different disk.
-
公开(公告)号:US11741046B2
公开(公告)日:2023-08-29
申请号:US15239533
申请日:2016-08-17
Inventor: Yu Zhang
IPC: G06F16/11 , G06F16/16 , G06F16/188 , G06F11/14 , G06F9/455
CPC classification number: G06F16/128 , G06F9/45558 , G06F11/1446 , G06F11/1464 , G06F11/1469 , G06F16/166 , G06F16/188 , G06F2009/45562 , G06F2009/45583 , G06F2201/84
Abstract: A method and apparatus for creating a system disk snapshot of a virtual machine comprises: receiving an instruction for creating a snapshot of a virtual machine; determining existence of a power-on state; renaming a top file in a system disk in response to the received instruction if the power-on state exists; creating a new top file in response to renaming the top file, directing dependency of the new top file to the renamed top file and opening the new top file; determining whether a preceding snapshot is created successfully; using the renamed top file as a first snapshot file if the preceding snapshot is successful; and uploading the first snapshot file to a file management server. Accordingly, when a system disk snapshot is created in a power-on state, the snapshot may be created without stopping the virtual machine, thereby reducing requirements for data back up, storage space, and network bandwidth.
-
-
-
-
-
-
-
-
-