[go: up one dir, main page]

CN104834613B - Computer system and method for accessing virtual machine - Google Patents

Computer system and method for accessing virtual machine Download PDF

Info

Publication number
CN104834613B
CN104834613B CN201510213812.9A CN201510213812A CN104834613B CN 104834613 B CN104834613 B CN 104834613B CN 201510213812 A CN201510213812 A CN 201510213812A CN 104834613 B CN104834613 B CN 104834613B
Authority
CN
China
Prior art keywords
access
virtual machine
client
host side
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510213812.9A
Other languages
Chinese (zh)
Other versions
CN104834613A (en
Inventor
蔡攀龙
邱瀚辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanyuan Information Technology Co ltd
Original Assignee
Jieding International Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jieding International Co ltd filed Critical Jieding International Co ltd
Priority to CN201510213812.9A priority Critical patent/CN104834613B/en
Publication of CN104834613A publication Critical patent/CN104834613A/en
Application granted granted Critical
Publication of CN104834613B publication Critical patent/CN104834613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a computer system and a method for accessing a virtual machine. The computer system comprises a host operating system configured with a host driver and a virtual machine device. The virtual machine device comprises a virtual machine management program and a client operating system. When the host operating system wants to access the virtual machine device, at least one access instruction is sent to the virtual machine management program of the virtual machine device through the host driver program. The client operating system of the virtual machine device receives the access instruction from the virtual machine management program through a client driver, accesses a client application program, a real hardware device and/or a virtual hardware device according to the requirement of the access instruction to generate an access result, and returns the access result to the host operating system.

Description

用以存取虚拟机的计算机系统及方法Computer system and method for accessing virtual machine

技术领域technical field

本发明有关于一种用以存取虚拟机的计算机系统及方法,尤指一种可以将虚拟机视为系统装置或周边装置进行数据存取的计算机系统及方法。The present invention relates to a computer system and method for accessing a virtual machine, in particular to a computer system and method that can regard the virtual machine as a system device or a peripheral device for data access.

背景技术Background technique

虚拟机可以为一种用以仿真系统装置、周边装置或应用程序的操作行为的特殊软件。以往虚拟机的环境中,主机端的操作系统通过网络服务(例如:网页服务器(HTTP)、文件传输服务器(FTP)或网络驱动器机(NFS、CIFS))来存取虚拟机的客户端资料。A virtual machine can be a special software for simulating the operation behavior of system devices, peripheral devices or application programs. In the conventional virtual machine environment, the operating system on the host side accesses the client data of the virtual machine through network services (eg web server (HTTP), file transfer server (FTP) or network drive (NFS, CIFS)).

虚拟机是由一虚拟机程序管理程序与一虚拟机客户端操作系统来进行组合,其本质上也能视为一主机端的应用程序。因此,主机端可以通过共享内存(SHared Memory,SHM)的机制来进行虚拟机与其他应用程序之间的数据交换。The virtual machine is composed of a virtual machine program management program and a virtual machine client operating system, which can also be regarded as a host-side application program in essence. Therefore, the host side can exchange data between the virtual machine and other application programs through a shared memory (SHared Memory, SHM) mechanism.

目前虚拟机的客户端操作系统及应用程序都利用一操作系统层虚拟化(OS-levelVirtualization)或称为容器(Container)的技术来进行包装。然而,利用操作系统层虚拟化技术进行虚拟机的客户端操作系统及应用程序的包装,主机端应用程序与虚拟机的容器实体(Container Instance)之间的数据存取将通过一程序间通讯(Inter-ProcessCommunication,IPC)技术来进行,而不是类似于存取系统装置或周边装置的方式。At present, the client operating system and the application program of the virtual machine are packaged by an OS-level virtualization (OS-level Virtualization) or a technology called a container (Container). However, using the operating system layer virtualization technology to package the client operating system and application program of the virtual machine, the data access between the host application program and the container entity (Container Instance) of the virtual machine will be through an inter-program communication ( Inter-Process Communication, IPC) technology, rather than a similar way to access system devices or peripheral devices.

于是,本发明将提出一种创新的虚拟机存取技术,其技术将虚拟机当作系统装置或周边装置来进行数据存取,将会是本发明欲达到的技术目的。Therefore, the present invention will propose an innovative virtual machine access technology, which uses the virtual machine as a system device or a peripheral device to perform data access, which will be the technical purpose of the present invention.

发明内容Contents of the invention

本发明提出一种用以存取虚拟机的计算机系统及方法,其计算机系统可以将虚拟机视为系统装置或周边装置来进行数据存取。The present invention proposes a computer system and method for accessing a virtual machine. The computer system can regard the virtual machine as a system device or a peripheral device for data access.

本发明提出一种用以存取虚拟机的计算机系统及方法,其计算机系统包括一主机端操作系统,主机端操作系统配置有一主机端驱动程序及一虚拟机装置,主机端操作系统或主机端应用程序将利用主机端驱动程序来存取虚拟机装置。The present invention proposes a computer system and method for accessing a virtual machine. The computer system includes a host-side operating system. The host-side operating system is configured with a host-side driver and a virtual machine device. The host-side operating system or the host-side Applications will use host-side drivers to access virtual machine devices.

本发明提出一种用以存取虚拟机的计算机系统及方法,其虚拟机装置接收到主机端驱动程序所发送的一存取指令时,将利用一硬件驱动程序来存取一真实硬件装置或一虚拟硬件装置。The present invention proposes a computer system and method for accessing a virtual machine. When the virtual machine device receives an access command sent by the host-side driver, it will use a hardware driver to access a real hardware device or A virtual hardware device.

本发明提出一种用以存取虚拟机的计算机系统,其计算机系统的主机端操作系统通过虚拟机装置存取真实硬件装置,若真实硬件装置产生故障,只会影响到虚拟机装置的运作,不会造成主机端操作系统的崩溃。The present invention proposes a computer system for accessing a virtual machine. The host operating system of the computer system accesses the real hardware device through the virtual machine device. If the real hardware device fails, it will only affect the operation of the virtual machine device. It will not cause the crash of the host-side operating system.

为达成上述目的,本发明提供一种用以存取虚拟机的计算机系统,包括:一主机端驱动程序,配置于一主机端操作系统中;及一虚拟机装置,配置于主机端操作系统中,其中主机端操作系统或一主机端应用程序发布至少一存取指令,并通过主机端驱动程序发送存取指令至虚拟机装置,虚拟机装置包括:一虚拟机管理程序,包括一扩充模块,扩充模块接收存取指令且将存取指令的指令格式转换为虚拟机装置能够辨识的指令格式;及一客户端操作系统,包括:一客户端驱动程序;一客户端服务程序,其中客户端驱动程序从扩充模块接收存取指令并将存取指令发送至客户端服务程序,客户端服务程序辨识存取指令为读取、写入或控制的指令;及一客户端应用程序,其中客户端服务程序根据存取指令的要求以存取客户端应用程序而取得一第一存取结果,并将第一存取结果回传至主机端操作系统或主机端应用程序。To achieve the above object, the present invention provides a computer system for accessing a virtual machine, comprising: a host-side driver configured in a host-side operating system; and a virtual machine device configured in the host-side operating system , wherein the host-side operating system or a host-side application program issues at least one access command, and sends the access command to the virtual machine device through the host-side driver program, and the virtual machine device includes: a virtual machine management program, including an expansion module, The expansion module receives the access instruction and converts the instruction format of the access instruction into an instruction format that can be recognized by the virtual machine device; and a client operating system, including: a client driver program; a client service program, wherein the client driver The program receives the access command from the expansion module and sends the access command to the client service program, and the client service program identifies the access command as a read, write or control command; and a client application program, wherein the client service program The program obtains a first access result by accessing the client application according to the request of the access command, and returns the first access result to the host operating system or the host application.

本发明一实施例中,客户端服务程序存取客户端应用程序所取得第一存取结果经由客户端驱动程序、扩充模块及主机端驱动程序以回传至主机端操作系统或主机端应用程序。In one embodiment of the present invention, the first access result obtained by the client service program accessing the client application is sent back to the host operating system or the host application through the client driver, the expansion module, and the host driver. .

本发明一实施例中,虚拟机装置的客户端应用程序为一能够在主机端操作系统中执行的程序。In an embodiment of the present invention, the client application program of the virtual machine device is a program that can be executed in the host operating system.

本发明一实施例中,客户端操作系统更包括一第一硬件驱动程序,第一硬件驱动程序经由一硬件直通单元连接一真实硬件装置,客户端服务程序通过第一硬件驱动程序及硬件直通单元发送存取指令至真实硬件装置以存取真实硬件装置而取得一第二存取结果,并将第二存取结果回传至主机端操作系统或主机端应用程序。In one embodiment of the present invention, the client operating system further includes a first hardware driver, the first hardware driver is connected to a real hardware device through a hardware pass-through unit, and the client service program passes through the first hardware driver and the hardware pass-through unit Send the access command to the real hardware device to access the real hardware device to obtain a second access result, and send the second access result back to the host operating system or the host application.

本发明一实施例中,客户端服务程序存取真实硬件装置所取得第二存取结果经由客户端驱动程序、扩充模块及主机端驱动程序以回传至主机端操作系统或主机端应用程序。In one embodiment of the present invention, the second access result obtained by the client service program accessing the real hardware device is sent back to the host operating system or the host application through the client driver, the extension module and the host driver.

本发明一实施例中,虚拟机管理程序还包括一虚拟硬件装置,客户端操作系统还包括一第二硬件驱动程序,客户端服务程序通过第二硬件驱动程序发送存取指令至虚拟硬件装置以存取虚拟硬件装置而取得一第三存取结果,并将第三存取结果回传至主机端操作系统或主机端应用程序。In an embodiment of the present invention, the virtual machine management program further includes a virtual hardware device, the client operating system further includes a second hardware driver, and the client service program sends access instructions to the virtual hardware device through the second hardware driver to A third access result is obtained by accessing the virtual hardware device, and the third access result is returned to the host operating system or the host application.

本发明一实施例中,虚拟机装置被主机端操作系统仿真成一具有PCI、PCIExpress、SATA或USB规格接口的系统装置或周边装置。In one embodiment of the present invention, the virtual machine device is emulated by the host operating system as a system device or peripheral device with a PCI, PCIExpress, SATA or USB standard interface.

本发明又提供一种用以存取虚拟机的计算机系统,包括:一主机端驱动程序,配置于一主机端操作系统中;及一虚拟机装置,配置于主机端操作系统中,其中主机端操作系统或一主机端应用程序发布至少一存取指令,并通过主机端驱动程序发送存取指令至虚拟机装置,虚拟机装置包括:一虚拟机管理程序,包括一扩充模块,扩充模块接收存取指令且将存取指令的指令格式转换为虚拟机装置能够辨识的指令格式;一客户端操作系统,包括:一客户端驱动程序;一客户端服务程序,其中客户端驱动程序从扩充模块接收存取指令并将存取指令发送至客户端服务程序,客户端服务程序辨识存取指令为读取、写入或控制的指令;及一第一硬件驱动程序;及一真实硬件装置,其中第一硬件驱动程序经由一硬件直通单元连接真实硬件装置,客户端服务程序通过第一硬件驱动程序及硬件直通单元发送存取指令至真实硬件装置以存取真实硬件装置而取得一第二存取结果,并将第二存取结果回传至主机端操作系统或主机端应用程序。The present invention also provides a computer system for accessing a virtual machine, including: a host-side driver configured in a host-side operating system; and a virtual machine device configured in a host-side operating system, wherein the host-side The operating system or a host-side application program issues at least one access command, and sends the access command to the virtual machine device through the host-side driver program. The virtual machine device includes: a virtual machine management program, including an expansion module, and the expansion module receives the memory Fetching instructions and converting the instruction format of the access instruction into an instruction format that can be recognized by the virtual machine device; a client operating system, including: a client driver; a client service program, wherein the client driver receives from the expansion module access command and send the access command to the client service program, the client service program identifies the access command as a read, write or control command; and a first hardware driver; and a real hardware device, wherein the first A hardware driver is connected to the real hardware device through a hardware pass-through unit, and the client service program sends an access command to the real hardware device through the first hardware driver and the hardware pass-through unit to access the real hardware device and obtain a second access result , and return the second access result to the host-side operating system or the host-side application program.

本发明又提供一种用以存取虚拟机的方法,其方法适用在一将虚拟机视为系统装置、周边装置或应用程序的计算机系统中,计算机系统包括一主机端操作系统,主机端操作系统配置有一主机端驱动程序及一虚拟机装置,虚拟机装置包括一虚拟机管理程序及一客户端操作系统,虚拟机管理程序包括一扩充模块,客户端操作系统包括一客户端驱动程序、一客户端服务程序及一客户端应用程序,方法步骤包括:从主机端操作系统或一主机端应用程序发布一存取指令;经由主机端驱动程序发送存取指令至虚拟机装置;令虚拟机装置经由虚拟机管理程序的扩充模块接收存取指令并利用虚拟机管理程序的扩充模块将存取指令的指令格式转换为虚拟机装置能够辨识的指令格式;令虚拟机管理程序的扩充模块经由客户端驱动程序发送存取指令至客户端服务程序;及令客户端服务程序根据存取指令存取客户端应用程序以取得一第一存取结果并将第一存取结果回传至主机端操作系统或主机端应用程序。The present invention also provides a method for accessing a virtual machine. The method is applicable to a computer system that regards a virtual machine as a system device, a peripheral device or an application program. The computer system includes a host operating system, and the host operates The system is configured with a host driver and a virtual machine device, the virtual machine device includes a virtual machine management program and a client operating system, the virtual machine management program includes an expansion module, and the client operating system includes a client driver, a A client service program and a client application program, the method steps include: issuing an access command from a host-side operating system or a host-side application program; sending an access command to a virtual machine device through a host-side driver; making the virtual machine device Receive the access command through the expansion module of the virtual machine management program and use the expansion module of the virtual machine management program to convert the command format of the access command into a command format that can be recognized by the virtual machine device; make the expansion module of the virtual machine management program pass through the client The driver program sends the access command to the client service program; and makes the client service program access the client application program according to the access command to obtain a first access result and return the first access result to the host operating system or a host-side application.

本发明一实施例中,客户端操作系统更包括一第一硬件驱动程序,第一硬件驱动程序经由一硬件直通单元连接一真实硬件装置,方法还包括一步骤:令客户端服务程序通过第一硬件驱动程序及硬件直通单元发送存取指令至真实硬件装置以存取真实硬件装置而取得一第二存取结果并将第二存取结果回传至主机端操作系统或主机端应用程序。In an embodiment of the present invention, the client operating system further includes a first hardware driver, the first hardware driver is connected to a real hardware device through a hardware pass-through unit, and the method further includes a step: making the client service program pass through the first The hardware driver and the hardware pass-through unit send the access command to the real hardware device to access the real hardware device to obtain a second access result and send the second access result back to the host operating system or the host application.

本发明一实施例中,虚拟机管理程序还包括一虚拟硬件装置,客户端操作系统还包括一第二硬件驱动程序,方法还包括一步骤:令客户端服务程序通过第二硬件驱动程序发送存取指令至虚拟硬件装置以存取虚拟硬件装置而取得一第三存取结果并将第三存取结果回传至主机端操作系统或主机端应用程序。In an embodiment of the present invention, the virtual machine management program further includes a virtual hardware device, the client operating system further includes a second hardware driver, and the method further includes a step of: making the client service program send the stored data through the second hardware driver The command is fetched to the virtual hardware device to access the virtual hardware device to obtain a third access result, and the third access result is returned to the host operating system or the host application.

本发明一实施例中,还包括下列步骤:令客户端服务程序辨识存取指令的存取对象为客户端应用程序、真实硬件装置或虚拟硬件装置;及令客户端服务程序根据于存取指令的存取对象存取客户端应用程序、真实硬件装置或虚拟硬件装置。In one embodiment of the present invention, the following steps are also included: making the client service program recognize that the access object of the access command is a client application program, a real hardware device or a virtual hardware device; and making the client service program according to the access command Access objects for accessing client applications, real hardware devices, or virtual hardware devices.

本发明又提供一种用以存取虚拟机的方法,其方法适用在一将虚拟机视为系统装置、周边装置或应用程序的计算机系统中,计算机系统包括一主机端操作系统,主机端操作系统配置有一主机端驱动程序及一虚拟机装置,虚拟机装置包括一虚拟机管理程序及一客户端操作系统,虚拟机管理程序包括一扩充模块,客户端操作系统包括一客户端驱动程序、一客户端服务程序及一第一硬件驱动程序,第一硬件驱动程序经由一硬件直通单元连接一真实硬件装置,方法步骤包括:从主机端操作系统或一主机端应用程序发布一存取指令;经由主机端驱动程序发送存取指令至虚拟机装置;令虚拟机装置经由虚拟机管理程序的扩充模块接收存取指令并利用虚拟机管理程序的扩充模块将存取指令的指令格式转换为虚拟机装置能够辨识的指令格式;令虚拟机管理程序的扩充模块经由客户端驱动程序发送存取指令至客户端服务程序;及令客户端服务程序通过第一硬件驱动程序及硬件直通单元发送存取指令至真实硬件装置以存取真实硬件装置而取得一第二存取结果并第二存取结果回传至主机端操作系统或主机端应用程序。The present invention also provides a method for accessing a virtual machine. The method is applicable to a computer system that regards a virtual machine as a system device, a peripheral device or an application program. The computer system includes a host operating system, and the host operates The system is configured with a host driver and a virtual machine device, the virtual machine device includes a virtual machine management program and a client operating system, the virtual machine management program includes an expansion module, and the client operating system includes a client driver, a The client service program and a first hardware driver, the first hardware driver is connected to a real hardware device through a hardware pass-through unit, the method steps include: issuing an access command from a host-side operating system or a host-side application program; The host-side driver sends the access command to the virtual machine device; the virtual machine device receives the access command through the extension module of the hypervisor and uses the extension module of the hypervisor to convert the command format of the access command into the virtual machine device Recognizable command format; make the expansion module of the virtual machine management program send the access command to the client service program through the client driver; and make the client service program send the access command to the client service program through the first hardware driver and the hardware pass-through unit The real hardware device obtains a second access result by accessing the real hardware device, and the second access result is sent back to the host operating system or the host application.

附图说明Description of drawings

图1是本发明用以存取虚拟机的计算机系统一实施例的结构示意图。FIG. 1 is a schematic structural diagram of an embodiment of a computer system for accessing a virtual machine according to the present invention.

图2是本发明用以存取虚拟机的计算机系统又一实施例的结构示意图。FIG. 2 is a schematic structural diagram of another embodiment of a computer system for accessing a virtual machine according to the present invention.

图3是本发明用以存取虚拟机的计算机系统又一实施例的结构示意图。FIG. 3 is a schematic structural diagram of another embodiment of a computer system for accessing a virtual machine according to the present invention.

图4是本发明用以存取虚拟机的客户端应用程序的方法流程图。FIG. 4 is a flowchart of a method for accessing a client application program of a virtual machine according to the present invention.

图5是本发明用以存取虚拟机的真实硬件装置或虚拟硬件装置的方法流程图。FIG. 5 is a flowchart of a method for accessing a real hardware device or a virtual hardware device of a virtual machine according to the present invention.

图6是本发明用以存取虚拟机的客户端应用程序、真实硬件装置或虚拟硬件装置的方法流程图。FIG. 6 is a flowchart of a method for accessing a client application program of a virtual machine, a real hardware device or a virtual hardware device according to the present invention.

具体实施方式detailed description

请参阅图1,为本发明用以存取虚拟机的计算机系统一实施例的结构示意图。如图1所示,计算机系统100包括一主机端操作系统11。一主机端驱动程序111及一虚拟机装置12将配置于主机端操作系统11之中。Please refer to FIG. 1 , which is a structural diagram of an embodiment of a computer system for accessing a virtual machine according to the present invention. As shown in FIG. 1 , the computer system 100 includes a host operating system 11 . A host-side driver 111 and a virtual machine device 12 will be configured in the host-side operating system 11 .

其中,虚拟机装置12包括一虚拟机管理程序13及一客户端操作系统15。虚拟机管理程序(Hyper-visor)13包括一扩充模块131,而客户端操作系统15包括一客户端驱动程序151、一客户端服务程序153及一客户端应用程序155。在本实施例中,客户端应用程序155为一可以在主机端操作系统11中执行的程序。Wherein, the virtual machine device 12 includes a hypervisor 13 and a client operating system 15 . The hypervisor 13 includes an extension module 131 , and the client operating system 15 includes a client driver 151 , a client service program 153 and a client application 155 . In this embodiment, the client application program 155 is a program that can be executed in the host operating system 11 .

当主机端操作系统11或一主机端应用程序欲对于虚拟机装置12的客户端应用程序155进行数据存取时,将通过主机端驱动程序111发布至少一存取指令110至虚拟机装置12。并且,主机端驱动程序111对扩充模块131发出一软件中断以将存取指令110发送至扩充模块131。扩充模块131接收存取指令110后,将存取指令110的指令格式转换为虚拟机装置12可辨识的指令格式。扩充模块131对客户端驱动程序151发出一虚拟硬件中断,并将格式转换后的存取指令110发送至客户端驱动程序151。客户端驱动程序151在接收到存取指令110后,对于客户端服务程序153发出一软件中断,并将存取指令110发送至客户端服务程序153。客户端服务程序153辨识存取指令110为读取、写入或控制的指令,发送存取指令110至客户端应用程序155,以根据存取指令110的要求存取客户端应用程序155而取得一第一存取结果1551。客户端服务程序153将第一存取结果1551经由客户端驱动程序151、扩充模块131及主机端驱动程序111回传至发布存取指令110的主机端操作系统11或主机端应用程序。如此,主机端操作系统11或主机端应用程序即可以对于虚拟机装置12的客户端应用程序155完成数据存取的动作。When the host-side operating system 11 or a host-side application program wants to perform data access to the client application program 155 of the virtual machine device 12 , at least one access command 110 will be issued to the virtual machine device 12 through the host-side driver 111 . Moreover, the host driver 111 issues a software interrupt to the expansion module 131 to send the access command 110 to the expansion module 131 . After receiving the access command 110 , the expansion module 131 converts the command format of the access command 110 into a command format recognizable by the virtual machine device 12 . The extension module 131 issues a virtual hardware interrupt to the client driver 151 , and sends the format-converted access command 110 to the client driver 151 . After receiving the access command 110 , the client driver 151 issues a software interrupt to the client service program 153 and sends the access command 110 to the client service program 153 . The client service program 153 recognizes that the access command 110 is a command to read, write or control, and sends the access command 110 to the client application program 155, so as to access the client application program 155 according to the request of the access command 110 to obtain A first access result 1551 . The client service program 153 returns the first access result 1551 to the host operating system 11 or the host application that issues the access command 110 via the client driver 151 , the extension module 131 and the host driver 111 . In this way, the host-side operating system 11 or the host-side application program can complete data access to the client application program 155 of the virtual machine device 12 .

请参阅图2,为本发明用以存取虚拟机的计算机系统又一实施例的结构示意图。如图2所示,本实施例计算机系统101的结构相似于上述实施例计算机系统100的结构,其差异性在于虚拟机装置12的客户端操作系统15中的配置组件。Please refer to FIG. 2 , which is a structural diagram of another embodiment of a computer system for accessing a virtual machine according to the present invention. As shown in FIG. 2 , the structure of the computer system 101 of this embodiment is similar to the structure of the computer system 100 of the above embodiment, the difference lies in the configuration components in the client operating system 15 of the virtual machine device 12 .

本实施例的客户端操作系统15包括客户端驱动程序151、客户端服务程序153及一第一硬件驱动程序157,未包括有客户端应用程序155。第一硬件驱动程序157经由一硬件直通(hardware pass-through)单元150连接一真实硬件装置20。此硬件直通单元150为一可以在虚拟机装置12与真实硬件装置20之间建构通讯连接的软件接口。The client operating system 15 of this embodiment includes a client driver 151 , a client service program 153 and a first hardware driver 157 , but does not include a client application 155 . The first hardware driver 157 is connected to a real hardware device 20 via a hardware pass-through unit 150 . The hardware pass-through unit 150 is a software interface capable of establishing a communication connection between the virtual machine device 12 and the real hardware device 20 .

当主机端操作系统11或主机端应用程序欲对于虚拟机装置12所连接的真实硬件装置20进行数据存取时,将通过主机端驱动程序111发布至少一存取指令110至虚拟机装置12。并且,主机端驱动程序111对扩充模块131发出一软件中断,以将存取指令110发送至扩充模块131。扩充模块131接收存取指令110后,将存取指令110的指令格式转换为虚拟机装置12可辨识的指令格式。扩充模块131对客户端驱动程序151发出一虚拟硬件中断,并将格式转换后的存取指令110发送至客户端驱动程序151。客户端驱动程序151在接收到存取指令110后,对于客户端服务程序153发出一软件中断,并将存取指令110发送至客户端服务程序153。客户端服务程序153辨识存取指令110为读取、写入或控制的指令,并通过第一硬件驱动程序157及硬件直通单元150发送存取指令110至真实硬件装置20,根据存取指令110的要求以存取真实硬件装置20而取得一第二存取结果2001。客户端服务程序153将第二存取结果2001经由客户端驱动程序151、扩充模块131及主机端驱动程序111回传至发布存取指令110的主机端操作系统11或主机端应用程序。如此,主机端操作系统11或主机端应用程序即可通过虚拟机装置12对于外部的真实硬件装置20完成数据存取的动作。When the host-side operating system 11 or the host-side application program wants to perform data access to the real hardware device 20 connected to the virtual machine device 12 , at least one access command 110 will be issued to the virtual machine device 12 through the host-side driver 111 . Moreover, the host driver 111 issues a software interrupt to the expansion module 131 to send the access command 110 to the expansion module 131 . After receiving the access command 110 , the expansion module 131 converts the command format of the access command 110 into a command format recognizable by the virtual machine device 12 . The extension module 131 issues a virtual hardware interrupt to the client driver 151 , and sends the format-converted access command 110 to the client driver 151 . After receiving the access command 110 , the client driver 151 issues a software interrupt to the client service program 153 and sends the access command 110 to the client service program 153 . The client service program 153 recognizes that the access instruction 110 is an instruction to read, write or control, and sends the access instruction 110 to the real hardware device 20 through the first hardware driver 157 and the hardware pass-through unit 150, and according to the access instruction 110 request to access the real hardware device 20 to obtain a second access result 2001 . The client service program 153 returns the second access result 2001 to the host operating system 11 or the host application that issues the access command 110 via the client driver 151 , the extension module 131 and the host driver 111 . In this way, the host-side operating system 11 or the host-side application program can complete data access to the external real hardware device 20 through the virtual machine device 12 .

或者,本发明又一实施例中,客户端操作系统15尚包括一第二硬件驱动程序159,而虚拟机管理程序13尚包括一虚拟硬件装置133。Alternatively, in another embodiment of the present invention, the client operating system 15 further includes a second hardware driver 159 , and the virtual machine management program 13 further includes a virtual hardware device 133 .

同样地,当主机端操作系统11或主机端应用程序欲对于虚拟机装置12的虚拟硬件装置133进行数据存取时,将通过主机端驱动程序111发布至少一存取指令110至虚拟机装置12。此存取指令110通过主机端驱动程序111、扩充模块131及客户端驱动程序151的转传以发送至客户端服务程序153。客户端服务程序153辨识存取指令110为读取、写入或控制的指令,通过第二硬件驱动程序159发送存取指令110至虚拟硬件装置133,以根据存取指令110的要求存取虚拟硬件装置133而取得一第三存取结果1331。客户端服务程序153将第三存取结果1331经由客户端驱动程序151、扩充模块131及主机端驱动程序111回传至发布存取指令110的主机端操作系统11或主机端应用程序。如此,主机端操作系统11或主机端应用程序即可以对于虚拟机装置12的虚拟硬件装置133完成数据存取的动作。Similarly, when the host-side operating system 11 or the host-side application program intends to perform data access to the virtual hardware device 133 of the virtual machine device 12, at least one access command 110 will be issued to the virtual machine device 12 through the host-side driver 111 . The access command 110 is forwarded by the host driver 111 , the extension module 131 and the client driver 151 to be sent to the client service program 153 . The client service program 153 recognizes that the access instruction 110 is an instruction to read, write or control, and sends the access instruction 110 to the virtual hardware device 133 through the second hardware driver 159, so as to access the virtual hardware according to the requirements of the access instruction 110. The hardware device 133 obtains a third access result 1331 . The client service program 153 returns the third access result 1331 to the host operating system 11 or the host application that issued the access command 110 via the client driver 151 , the extension module 131 and the host driver 111 . In this way, the host-side operating system 11 or the host-side application program can complete data access to the virtual hardware device 133 of the virtual machine device 12 .

如上方式据以实施,于本发明中,虚拟机装置12可以被主机端操作系统11仿真成一系统装置或周边装置,例如:具有PCI、PCI Express、SATA、USB或其他连接器规格接口的系统装置或周边装置。换句话说,本发明虚拟机装置12可以被主机端操作系统11视为真实的系统装置或周边装置,则,主机端操作系统11即可通过驱动程序111、151、157及/或159以利用存取系统装置或周边装置的方式来存取虚拟机装置12。According to the above method, in the present invention, the virtual machine device 12 can be simulated as a system device or peripheral device by the host operating system 11, for example: a system device with PCI, PCI Express, SATA, USB or other connector specification interfaces or peripheral devices. In other words, the virtual machine device 12 of the present invention can be regarded as a real system device or peripheral device by the host-side operating system 11, then the host-side operating system 11 can use the drivers 111, 151, 157 and/or 159 The virtual machine device 12 is accessed in the manner of accessing a system device or a peripheral device.

此外,本发明主机端操作系统11通过虚拟机装置12存取真实硬件装置20。若真实硬件装置20产生故障,只会影响到虚拟机装置20的运作,不会造成主机端操作系统11的崩溃,以确保主机端操作系统11存取真实硬件装置20时的稳定性。并且,受到真实硬件装置20故障影响的虚拟机装置20只要重新启动即可恢复正常的运作。In addition, the host operating system 11 of the present invention accesses the real hardware device 20 through the virtual machine device 12 . If the real hardware device 20 fails, it will only affect the operation of the virtual machine device 20 and will not cause the host operating system 11 to crash, so as to ensure the stability of the host operating system 11 accessing the real hardware device 20 . Moreover, the virtual machine device 20 affected by the failure of the real hardware device 20 can resume normal operation as long as it is restarted.

请参阅图3,为本发明用以存取虚拟机的计算机系统又一实施例的结构示意图。如图3所示,本实施例计算机系统102的虚拟机装置12同时配置有客户端应用程序155、虚拟硬件装置133以及外部连接真实硬件装置20。Please refer to FIG. 3 , which is a structural diagram of another embodiment of a computer system for accessing a virtual machine according to the present invention. As shown in FIG. 3 , the virtual machine device 12 of the computer system 102 in this embodiment is configured with a client application program 155 , a virtual hardware device 133 and an externally connected real hardware device 20 .

当主机端操作系统11或主机端应用程序欲对于客户端应用程序155、真实硬件装置20或虚拟硬件装置133进行数据存取时,将产生一标示有存取对象的存取指令110。之后,客户端服务程序153收到此存取指令110时,将会辨识存取指令110的存取对象为客户端应用程序155、真实硬件装置20或虚拟硬件装置133,以根据于存取指令110所标示的存取对象存取客户端应用程序155、真实硬件装置20或虚拟硬件装置133。When the host-side operating system 11 or the host-side application program intends to perform data access to the client application program 155 , the real hardware device 20 or the virtual hardware device 133 , an access command 110 marked with an access object will be generated. Afterwards, when the client service program 153 receives the access instruction 110, it will identify the access object of the access instruction 110 as the client application program 155, the real hardware device 20 or the virtual hardware device 133, and based on the access instruction The access object indicated by 110 accesses the client application 155 , the real hardware device 20 or the virtual hardware device 133 .

请参阅图4,为本发明用以存取虚拟机的客户端应用程序的方法流程图,同时配合参阅图1。当主机端操作系统11或主机端应用程序欲对于虚拟机装置12的客户端应用程序155进行数据存取时,首先,执行步骤S301,主机端操作系统11或主机端应用程序将发布至少一存取指令110。步骤S303,主机端操作系统11或主机端应用程序通过主机端驱动程序111发送存取指令110至虚拟机装置12。Please refer to FIG. 4 , which is a flowchart of a method for accessing a client application program of a virtual machine according to the present invention, and refer to FIG. 1 together. When the host-side operating system 11 or the host-side application program intends to perform data access to the client-side application program 155 of the virtual machine device 12, first, step S301 is executed, and the host-side operating system 11 or the host-side application program will issue at least one stored Instruction fetch 110. Step S303 , the host-side operating system 11 or the host-side application program sends the access command 110 to the virtual machine device 12 through the host-side driver 111 .

步骤S305,虚拟机装置12经由虚拟机管理程序13的扩充模块131接收存取指令110,并利用扩充模块131将存取指令110的指令格式转换为虚拟机装置12可辨识的指令格式。步骤S307,扩充模块131经由客户端驱动程序151发送存取指令110至客户端服务程序153。Step S305 , the virtual machine device 12 receives the access command 110 through the extension module 131 of the virtual machine hypervisor 13 , and utilizes the extension module 131 to convert the command format of the access command 110 into a command format recognizable by the virtual machine device 12 . Step S307 , the extension module 131 sends the access command 110 to the client service program 153 via the client driver 151 .

接着,步骤S311,客户端服务程序153接收到存取指令110后,辨识存取指令110为读取、写入或控制的指令,并发送存取指令110至客户端应用程序155。步骤S313,客户端服务程序153根据存取指令110的要求存取客户端应用程序155而取得一第一存取结果1551,并将第一存取结果1551回传至发布存取指令110的主机端操作系统11或主机端应用程序。以此,主机端操作系统11或主机端应用程序即可以对于虚拟机装置12的客户端应用程序155完成数据存取的流程。Next, in step S311 , after receiving the access command 110 , the client service program 153 identifies the access command 110 as a read, write or control command, and sends the access command 110 to the client application program 155 . Step S313, the client service program 153 accesses the client application program 155 according to the request of the access command 110 to obtain a first access result 1551, and returns the first access result 1551 to the host that issued the access command 110 End operating system 11 or host end application program. In this way, the host-side operating system 11 or the host-side application program can complete the data access process for the client application program 155 of the virtual machine device 12 .

请参阅图5,为本发明用以存取虚拟机的真实硬件装置或虚拟硬件装置的方法流程图,同时配合参阅图2。当主机端操作系统11或主机端应用程序欲对于虚拟机装置12的真实硬件装置20或虚拟硬件装置133进行数据存取时,如同上述步骤S301至S307,主机端操作系统11或主机端应用程序通过主机端驱动程序111发布至少一存取指令110至虚拟机装置12,而虚拟机装置12的扩充模块131在接收到存取指令110后转换存取指令110的指令格式及经由客户端驱动程序151发送存取指令110至客户端服务程序153。Please refer to FIG. 5 , which is a flowchart of a method for accessing a real hardware device or a virtual hardware device of a virtual machine according to the present invention, and refer to FIG. 2 together. When the host-side operating system 11 or the host-side application program intends to perform data access to the real hardware device 20 or the virtual hardware device 133 of the virtual machine device 12, as in the above-mentioned steps S301 to S307, the host-side operating system 11 or the host-side application program Issue at least one access command 110 to the virtual machine device 12 through the host driver 111, and the extension module 131 of the virtual machine device 12 converts the command format of the access command 110 after receiving the access command 110 and passes the client driver program 151 sends the access command 110 to the client service program 153 .

接着,步骤S321,客户端服务程序153接收到存取指令110后,辨识存取指令110为读取、写入或控制的指令,并通过硬件驱动程序157、159及/或硬件直通单元150发送存取指令110至真实硬件装置20或虚拟硬件装置133。步骤S323,客户端服务程序153根据存取指令110的要求以存取真实硬件装置20或虚拟硬件装置133而取得一第二存取结果2001或一第三存取结果1331,并将第二存取结果2001或第三存取结果1331回传至发布存取指令110的主机端操作系统11或主机端应用程序。以此,主机端操作系统11或主机端应用程序即可以对于虚拟机装置12的真实硬件装置20或虚拟硬件装置133完成数据存取的流程。Next, in step S321, after the client service program 153 receives the access command 110, it recognizes that the access command 110 is a read, write or control command, and sends it through the hardware driver 157, 159 and/or the hardware pass-through unit 150 The instruction 110 is accessed to the real hardware device 20 or the virtual hardware device 133 . In step S323, the client service program 153 obtains a second access result 2001 or a third access result 1331 by accessing the real hardware device 20 or the virtual hardware device 133 according to the request of the access command 110, and stores the second access result 2001 or a third access result 1331. The fetch result 2001 or the third access result 1331 is sent back to the host-side operating system 11 or the host-side application program that issued the access command 110 . In this way, the host-side operating system 11 or the host-side application program can complete the process of data access to the real hardware device 20 or the virtual hardware device 133 of the virtual machine device 12 .

请参阅图6,为本发明用以存取虚拟机的客户端应用程序、真实硬件装置或虚拟硬件装置的方法流程图,同时配合参阅图3。当主机端操作系统11或主机端应用程序欲对于虚拟机装置12的客户端应用程序155、真实硬件装置20或虚拟硬件装置133进行数据存取时,如同上述步骤S301至S307,主机端操作系统11或主机端应用程序将通过主机端驱动程序111发布至少一存取指令110至虚拟机装置12,而虚拟机装置12的扩充模块131在接收到存取指令110后转换存取指令110的指令格式及经由客户端驱动程序151发送存取指令110至客户端服务程序153。Please refer to FIG. 6 , which is a flowchart of a method for accessing a client application program of a virtual machine, a real hardware device or a virtual hardware device according to the present invention, and refer to FIG. 3 together. When the host-side operating system 11 or the host-side application program intends to perform data access to the client application program 155 of the virtual machine device 12, the real hardware device 20 or the virtual hardware device 133, as in the above steps S301 to S307, the host-side operating system 11 or the host-side application program will issue at least one access command 110 to the virtual machine device 12 through the host-side driver 111, and the expansion module 131 of the virtual machine device 12 converts the instruction of the access command 110 after receiving the access command 110 format and send the access command 110 to the client server program 153 via the client driver program 151 .

接着,步骤S308,客户端服务程序153辨识存取指令110的存取对象是否为客户端应用程序155。若是,存取指令110的存取对象为客户端应用程序155,继续执行步骤S311,客户端服务程序153发送存取指令110至客户端应用程序155;以及执行步骤S313,客户端服务程序153根据存取指令110的要求存取客户端应用程序155而取得第一存取结果1551,并将第一存取结果1551回传至发布存取指令110的主机端操作系统11或主机端应用程序。Next, in step S308 , the client service program 153 identifies whether the access object of the access instruction 110 is the client application program 155 . If so, the access object of the access instruction 110 is the client application program 155, continue to execute step S311, the client service program 153 sends the access instruction 110 to the client application program 155; and execute step S313, the client service program 153 according to The request of the access command 110 accesses the client application 155 to obtain the first access result 1551 , and returns the first access result 1551 to the host operating system 11 or the host application that issued the access command 110 .

若否,存取指令110的存取对象为真实硬件装置20或虚拟硬件装置133,继续执行步骤S321,客户端服务程序153通过硬件驱动程序157、159及/或硬件直通单元150发送存取指令110至真实硬件装置20或虚拟硬件装置133;以及执行步骤S323,客户端服务程序153根据存取指令110的要求以存取真实硬件装置20或虚拟硬件装置133而取得第二存取结果2001或第三存取结果1331,并将第二存取结果2001或第三存取结果1331回传至发布存取指令110的主机端操作系统11或主机端应用程序。If not, the access object of the access command 110 is the real hardware device 20 or the virtual hardware device 133, and then proceed to step S321, and the client service program 153 sends the access command through the hardware drivers 157, 159 and/or the hardware pass-through unit 150 110 to the real hardware device 20 or the virtual hardware device 133; and execute step S323, the client service program 153 accesses the real hardware device 20 or the virtual hardware device 133 according to the request of the access instruction 110 to obtain the second access result 2001 or The third access result 1331 , and returns the second access result 2001 or the third access result 1331 to the host operating system 11 or the host application that issued the access command 110 .

以上所述者,仅为本发明的一较佳实施例而已,并非用来限定本发明实施的范围,即凡依本发明申请专利范围所述的形状、构造、特征及精神所为的均等变化与修饰,均应包括于本发明的申请专利范围内。What is described above is only a preferred embodiment of the present invention, and is not used to limit the scope of the present invention, that is, all equal changes made according to the shape, structure, characteristics and spirit described in the patent scope of the present invention All modifications and modifications should be included in the patent application scope of the present invention.

Claims (15)

1. to access the computer system of virtual machine, it is characterised in that including:
One host side driver, it is configured in a host side operating system;And
One virtual machine, it is configured in the host side operating system, wherein the host side operating system or a host side application Program issues an at least access instruction, and sends the access instruction to the virtual machine by the host side driver, should Virtual machine includes:
One virtual machine management program, including an enlargement module, the enlargement module receive the access instruction and by the access instructions Instruction format is converted to the instruction format that the virtual machine can recognize;And
One client operating system, including:
One client driver;
One client service programs, the wherein client driver receive the access instruction from the enlargement module and access this Instruction is sent to the client service programs, and the client service programs recognize the access instruction as reading, write-in or control Instruction;
One client application, the wherein client service programs should to access the client according to the requirement of the access instruction One first access results are obtained with program, and first access results are back to the host side operating system or the host side Application program;And
First hardware drive program, first hardware drive program lead directly to unit via a hardware and connect a real hardware device, The client service programs lead directly to the unit transmission access instruction by first hardware drive program and the hardware extremely should Real hardware device obtains one second access results to access the real hardware device, and second access results are back to The host side operating system or the host side application program.
It is 2. according to claim 1 accessing the computer system of virtual machine, it is characterised in that the client service First access results acquired by client application described in program access are via the client driver, expansion mould Block and host side driver are to be back to the host side operating system or host side application program.
It is 3. according to claim 1 accessing the computer system of virtual machine, it is characterised in that the virtual machine Client application be a program that can be performed in the host side operating system.
It is 4. according to claim 1 accessing the computer system of virtual machine, it is characterised in that the client service Second access results are via the client driver, enlargement module acquired by real hardware device described in program access And host side driver is to be back to the host side operating system or host side application program.
It is 5. according to claim 1 accessing the computer system of virtual machine, it is characterised in that the virtual machine By the host side operation system simulated into one have PCI, PCI Express, SATA or USB specification interface system and device or Peripheral device.
6. to access the computer system of virtual machine, it is characterised in that including:
One host side driver, it is configured in a host side operating system;And
One virtual machine, it is configured in the host side operating system, wherein the host side operating system or a host side application Program issues an at least access instruction, and sends the access instruction to the virtual machine by the host side driver, should Virtual machine includes:
One virtual machine management program, including an enlargement module, the enlargement module receive the access instruction and by the access instructions Instruction format is converted to the instruction format that the virtual machine can recognize;And
One client operating system, including:
One client driver;
One client service programs, the wherein client driver receive the access instruction from the enlargement module and access this Instruction is sent to the client service programs, and the client service programs recognize the access instruction as reading, write-in or control Instruction;
One client application, the wherein client service programs should to access the client according to the requirement of the access instruction One first access results are obtained with program, and first access results are back to the host side operating system or the host side Application program;And
One virtual hardware device, the client operating system further include one second hardware drive program, the client service programs The access instruction is sent to the virtual hardware device by second hardware drive program to access the virtual hardware device to take One the 3rd access results are obtained, and the 3rd access results are back to the host side operating system or the host side application program.
7. to access the computer system of virtual machine, it is characterised in that including:
One host side driver, it is configured in a host side operating system;
One virtual machine, it is configured in the host side operating system, wherein the host side operating system or a host side application Program issues an at least access instruction, and sends the access instruction to the virtual machine by the host side driver, should Virtual machine includes:
One virtual machine management program, including an enlargement module, the enlargement module receive the access instruction and by the access instructions Instruction format is converted to the instruction format that the virtual machine can recognize;
One client operating system, including:
One client driver;
One client service programs, the wherein client driver receive the access instruction from the enlargement module and access this Instruction is sent to the client service programs, and the client service programs recognize the access instruction as reading, write-in or control Instruction;And
One first hardware drive program;And
One real hardware device, wherein first hardware drive program lead directly to unit via a hardware and connect real hardware dress Put, the client service programs by first hardware drive program and the hardware lead directly to unit, and to send the access instruction true to this Real hardware unit obtains one second access results to access the real hardware device, and second access results are back into this Host side operating system or the host side application program.
It is 8. according to claim 7 accessing the computer system of virtual machine, it is characterised in that the client service Second access results are via the client driver, enlargement module acquired by real hardware device described in program access And host side driver is to be back to the host side operating system or host side application program.
It is 9. according to claim 7 accessing the computer system of virtual machine, it is characterised in that the Virtual Machine Manager Program also includes a virtual hardware device, and the client operating system also includes one second hardware drive program, the client Hold service routine virtual to access this to the virtual hardware device by second hardware drive program transmission access instruction Hardware unit and obtain one the 3rd access results, and the 3rd access results are back to the host side operating system or main frame Hold application program.
It is 10. according to claim 7 accessing the computer system of virtual machine, it is characterised in that the virtual machine dress Put by the host side operation system simulated into a system and device with PCI, PCI Express, SATA or USB specification interface Or peripheral device.
11. to access the method for virtual machine, its method is useful in one and virtual machine is considered as into system and device, peripheral device or application In the computer system of program, it is characterised in that the computer system includes a host side operating system, host side operation system Under unified central planning to be equipped with a host side driver and a virtual machine, the virtual machine includes a virtual machine management program and a visitor Family end operating system, the virtual machine management program include an enlargement module, and the client operating system drives including a client Program, a client service programs, a client application and one first hardware drive program, first hardware drive program Unit is led directly to via a hardware and connects a real hardware device, and this method step includes:
From the host side operating system or the access instruction of a host side application issued one;
The access instruction is sent to the virtual machine via the host side driver;
Make the virtual machine receive the access instruction via the enlargement module of the virtual machine management program and utilize this virtual The enlargement module of machine management program is converted to the instruction format of the access instruction instruction that the virtual machine can recognize Form;
The enlargement module of the virtual machine management program is made to send the access instruction to the client via the client driver Hold service routine;
The client service programs are made to access the client application according to the access instruction to obtain one first access results And first access results are back to the host side operating system or the host side application program;And
Make the client service programs lead directly to unit through first hardware drive program and the hardware and send the access instruction extremely The real hardware device obtains one second access results to access the real hardware device and returns second access results To the host side operating system or the host side application program.
It is 12. according to claim 11 accessing the method for virtual machine, it is characterised in that the virtual machine management program Also include a virtual hardware device, the client operating system also includes one second hardware drive program, and this method also includes One step:
Make the client service programs send the access instruction to the virtual hardware by second hardware drive program to fill Put to access the virtual hardware device and obtain one the 3rd access results and the 3rd access results are back to the host side Operating system or host side application program.
It is 13. according to claim 12 accessing the method for virtual machine, it is characterised in that also to comprise the following steps:
Make the client service programs recognize the access instruction access object be the client application, it is true hard Part device or virtual hardware device;And
The client service programs are made to access the client application, true according to the access object in the access instruction Real hardware unit or virtual hardware device.
14. to access the method for virtual machine, its method is useful in one and virtual machine is considered as into system and device, peripheral device or application In the computer system of program, it is characterised in that the computer system includes a host side operating system, host side operation system Under unified central planning to be equipped with a host side driver and a virtual machine, the virtual machine includes a virtual machine management program and a visitor Family end operating system, the virtual machine management program include an enlargement module, and the client operating system drives including a client Program, a client service programs and one first hardware drive program, first hardware drive program are straight-through single via a hardware Member one real hardware device of connection, this method step include:
From the host side operating system or the access instruction of a host side application issued one;
The access instruction is sent to the virtual machine via the host side driver;
Make the virtual machine receive the access instruction via the enlargement module of the virtual machine management program and utilize this virtual The enlargement module of machine management program is converted to the instruction format of the access instruction instruction that the virtual machine can recognize Form;
The enlargement module of the virtual machine management program is made to send the access instruction to the client via the client driver Hold service routine;And
Make the client service programs lead directly to unit by first hardware drive program and the hardware and send the access instruction extremely The real hardware device obtains one second access results to access the real hardware device and returns second access results To the host side operating system or the host side application program.
It is 15. according to claim 14 accessing the method for virtual machine, it is characterised in that the virtual machine management program Also include a virtual hardware device, the client operating system also includes one second hardware drive program, and this method also includes One step:
Make the client service programs send the access instruction to the virtual hardware by second hardware drive program to fill Put to access the virtual hardware device and obtain one the 3rd access results and the 3rd access results are back to the host side Operating system or host side application program.
CN201510213812.9A 2015-04-30 2015-04-30 Computer system and method for accessing virtual machine Active CN104834613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510213812.9A CN104834613B (en) 2015-04-30 2015-04-30 Computer system and method for accessing virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510213812.9A CN104834613B (en) 2015-04-30 2015-04-30 Computer system and method for accessing virtual machine

Publications (2)

Publication Number Publication Date
CN104834613A CN104834613A (en) 2015-08-12
CN104834613B true CN104834613B (en) 2018-01-26

Family

ID=53812516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510213812.9A Active CN104834613B (en) 2015-04-30 2015-04-30 Computer system and method for accessing virtual machine

Country Status (1)

Country Link
CN (1) CN104834613B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI592874B (en) * 2015-06-17 2017-07-21 康齊科技股份有限公司 Network server system
US10282210B2 (en) * 2016-06-13 2019-05-07 Huawei Technologies Co., Ltd. System and method for virtual hardware control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008903A (en) * 2006-01-23 2007-08-01 联想(北京)有限公司 Virtual machine system and device access method thereof
CN101059762A (en) * 2006-04-20 2007-10-24 联想(北京)有限公司 Dummy machine system and its video card access method
CN101533375A (en) * 2008-03-10 2009-09-16 联想(北京)有限公司 USB equipment accessing method, device and control system thereof in virtual machine system
CN101770389A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Computer and method for managing hardware device
CN103605559A (en) * 2013-11-21 2014-02-26 中标软件有限公司 KVM (kernel-based virtual machine) virtualized service system and data communication method for same
CN104133670A (en) * 2014-06-30 2014-11-05 中国科学院信息工程研究所 Intelligent terminal security GUI (Graphical User Interface) generation method on the basis of virtual isolation technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008903A (en) * 2006-01-23 2007-08-01 联想(北京)有限公司 Virtual machine system and device access method thereof
CN101059762A (en) * 2006-04-20 2007-10-24 联想(北京)有限公司 Dummy machine system and its video card access method
CN101533375A (en) * 2008-03-10 2009-09-16 联想(北京)有限公司 USB equipment accessing method, device and control system thereof in virtual machine system
CN101770389A (en) * 2008-12-29 2010-07-07 北京联想软件有限公司 Computer and method for managing hardware device
CN103605559A (en) * 2013-11-21 2014-02-26 中标软件有限公司 KVM (kernel-based virtual machine) virtualized service system and data communication method for same
CN104133670A (en) * 2014-06-30 2014-11-05 中国科学院信息工程研究所 Intelligent terminal security GUI (Graphical User Interface) generation method on the basis of virtual isolation technology

Also Published As

Publication number Publication date
CN104834613A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
US10628209B2 (en) Virtual machine monitor to I/O stack conduit in virtual real memory
TWI637613B (en) Systems and methods for enabling access to extensible storage devices over a network as local storage via nvme controller
US9733980B1 (en) Virtual machine management using I/O device logging
CN114880977B (en) Software and hardware joint simulation system, method, device, equipment and storage medium
WO2023044861A1 (en) Concept for providing access to remote memory
CN107783818A (en) Deep learning task processing method, device, equipment and storage medium
CN102270186A (en) Virtual desktop external equipment support system
TW201423422A (en) System and method for sharing device having PCIe interface
TWI540511B (en) Computer system and method for accessing virtual machine
CN115221089A (en) Apparatus, method and computer program product for efficient software-defined network acceleration processing using storage local to a host
CN104580399A (en) A cloud desktop implementation method based on OpenStack and Spice
CN116069453B (en) Simulation system
CN113778622B (en) Cloud desktop keyboard event processing method, device, equipment and storage medium
CN114691286A (en) Server system, virtual machine creation method and device
JP7649065B1 (en) Method and system for optimizing simulation performance of vehicle model, storage medium, and electronic device
US9081722B2 (en) Systems and methods for improving performance of remote USB storage
CN108733602B (en) data processing
WO2022126711A1 (en) Webpage forensics method, apparatus and device
CN108062234B (en) A system and method for realizing server host accessing BMC FLASH through mailbox protocol
CN104834613B (en) Computer system and method for accessing virtual machine
US10664292B2 (en) Web-based graphical user interface display system
CN113868174B (en) Verification platform building method and device and storage medium
CN109697102A (en) A kind of method and device for realizing virtual machine desktop access
CN103227825A (en) Desktop all-in-one machine framework
CN111090535B (en) Communication method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180827

Address after: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Patentee after: Jieding Innovation Co.,Ltd.

Address before: Chinese Taiwan New Taipei City

Patentee before: JIEDING INTERNATIONAL CO.,LTD.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10

Patentee after: British Cayman Islands shangjieding Innovation Co.,Ltd.

Address before: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Patentee before: Jieding Innovation Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20200513

Address after: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee after: INNODISK Corp.

Address before: Taiwan, Taipei, China, Nanhai District, 6 East section 465, 10

Patentee before: British Cayman Islands shangjieding Innovation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200611

Address after: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore

Patentee after: Jieding Singapore Pte. Ltd.

Address before: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee before: INNODISK Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200813

Address after: Building C, No. 888, Huanhu West 2nd Road, Lingang New Area, Pudong New Area (Shanghai) pilot Free Trade Zone

Patentee after: Shanghai Chuanyuan Information Technology Co.,Ltd.

Address before: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore

Patentee before: Jieding Singapore Pte. Ltd.

TR01 Transfer of patent right