KR20110071779A - System for data sharing among virtual machines and method thereof - Google Patents
System for data sharing among virtual machines and method thereof Download PDFInfo
- Publication number
- KR20110071779A KR20110071779A KR1020090128428A KR20090128428A KR20110071779A KR 20110071779 A KR20110071779 A KR 20110071779A KR 1020090128428 A KR1020090128428 A KR 1020090128428A KR 20090128428 A KR20090128428 A KR 20090128428A KR 20110071779 A KR20110071779 A KR 20110071779A
- Authority
- KR
- South Korea
- Prior art keywords
- virtual
- virtual machine
- storage device
- usb storage
- disk image
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
본 발명은 가상머신 간의 데이터 공유 시스템 및 그 방법에 관한 것이다. 보다 상세하게는, 가상머신 간의 데이터를 가상 디스크 이미지 또는 USB 저장 장치를 이용하여 데이터를 공유하는 시스템 및 그 방법에 관한 것이다.The present invention relates to a system and method for sharing data between virtual machines. More particularly, the present invention relates to a system and method for sharing data between virtual machines using a virtual disk image or a USB storage device.
본 발명은 지식경제부의 IT성장동력기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호:2008-S-034-02, 과제명:SoD(System on-Demand)서비스를 위한 협업형 VM 시스템 기술 개발].The present invention is derived from a study conducted as part of the IT growth engine technology development project of the Ministry of Knowledge Economy [Task management number: 2008-S-034-02, Task name: Collaborative type for system on-demand service VM system technology development].
프로세서 기술이 발전함에 따라 가상화 기술(virtualization technology)에 대한 관심이 꾸준히 증가하고 있다. 가상화 기술은 가상 머신 모니터(VMM:Virtual Machine Monitor)를 실행하는 단일 호스트 컴퓨터가 복수의 호스트의 뷰 또는 추상화를 제공하여 호스트의 기반 하드웨어가 독립적으로 동작하는 하나 또는 그보다 많은 가상 머신(VM:Virtual Machine)처럼 보이게 하는 것을 가능하게 한다.As processor technology evolves, interest in virtualization technology continues to increase. Virtualization technology allows a single host computer running a virtual machine monitor (VMM) to provide a view or abstraction of multiple hosts so that the host's underlying hardware operates independently. Makes it look like).
각 VM은 자신의 운영체제(OS) 또는 소프트웨어 어플리케이션들을 실행하는 일체 완비된(self-contained) 플랫폼으로서 기능할 수 있다.Each VM can function as a self-contained platform running its own operating system (OS) or software applications.
한편, 일반적으로 하이퍼바이저 상에서 동작하는 가상머신들은 서로 독립적인 시스템으로, 가상머신 간의 데이터 전달 또는 공유를 위해서 가상머신 웹 서버, FTP 서버 등의 별도의 네트워크 프로그램을 이용하였다.In general, virtual machines operating on a hypervisor are independent systems, and separate network programs such as a virtual machine web server and an FTP server are used for data transfer or sharing between virtual machines.
하지만, 이러한 방법은 일반 사용자들이 웹 서버나 FTP 서버 환경 설정을 하기에 번거로운 점이 있으며, 인터넷 환경이 제공되지 않는 장소에서는 사용하기 불가능한 단점이 존재한다.However, this method is cumbersome for general users to configure the web server or FTP server configuration, and there is a disadvantage that can not be used in places where the Internet environment is not provided.
본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로서,The present invention has been proposed to solve the above problems,
사용자가 가상머신 간에 데이터 공유, 전달, 또는 교환을 요청하면, 가상 디스크 이미지 또는 USB 저장 장치를 자동으로 인식하고, 인식된 가상 디스크 이미지 또는 USB 저장 장치를 가상머신에 할당 및 해제하는 과정을 통해 자유롭게 가상머신 간에 데이터를 공유, 전달, 또는 교환할 수 있도록 하는 것을 목적으로 한다.When a user requests to share, transfer, or exchange data between virtual machines, the virtual disk image or USB storage device is automatically recognized and the recognized virtual disk image or USB storage device is allocated to and released from the virtual machine. It aims to be able to share, transfer, or exchange data between virtual machines.
본 발명의 일 실시예에 따른 가상머신 간의 데이터 공유 시스템은, 사용자로부터의 데이터 공유 요청에 따라 공유 데이터를 저장하고 있는 제1가상머신에 가상 디스크 이미지가 할당되도록 요청하는 가상 디바이스 관리부; 및 상기 가상 디바이스 관리부로부터의 요청에 따라 상기 가상 디스크 이미지를 하드 디스크로 에뮬레이션(emulation)하여 상기 제1가상머신에 할당하고, 상기 가상 디스크 이미지에 상기 공유 데이터의 저장이 완료되면 상기 제1가상머신에 할당된 상기 가상 디스크 이미지를 해제하고, 상기 해제된 가상 디스크 이미지를 상기 공유 데이터를 저장하고자 하는 제2가상머신에 할당하는 가상 디바이스 에뮬레이터부를 구비한다.According to an embodiment of the present invention, a data sharing system between virtual machines includes a virtual device manager requesting a virtual disk image to be allocated to a first virtual machine storing shared data according to a data sharing request from a user; And emulating the virtual disk image to a hard disk according to a request from the virtual device manager and assigning the virtual disk image to the first virtual machine, and when storing of the shared data in the virtual disk image is completed, the first virtual machine. And a virtual device emulator unit for releasing the virtual disk image allocated to and assigning the released virtual disk image to a second virtual machine to store the shared data.
특히, 상기 제1가상머신 및 제2가상머신은, 상기 가상 디바이스 에뮬레이터부에 의해 하드 디스크로 에뮬레이션된 가상 디스크 이미지를 인식하는 하드 디스크 드라이버를 구비하는 것을 특징으로 한다.In particular, the first virtual machine and the second virtual machine is characterized by having a hard disk driver for recognizing a virtual disk image emulated by the virtual device emulator unit into a hard disk.
또한, 상기 제1가상머신은, 상기 하드 디스크를 파티셔닝, 포맷팅, 및 라벨링하는 장치 관리부를 더 구비하는 것을 특징으로 한다.The first virtual machine may further include a device manager configured to partition, format, and label the hard disk.
또한, 상기 가상 디스크 이미지에 상기 공유 데이터의 저장이 완료되면, 상기 가상 디바이스 관리부는 상기 가상 디바이스 에뮬레이터부에 상기 가상 디스크 이미지의 해제를 요청하고, 상기 가상 디바이스 에뮬레이터부는 상기 가상 디바이스 관리부로부터의 요청에 따라 상기 제1가상머신에 할당된 상기 가상 디스크 이미지를 해제하는 것을 특징으로 한다.When the storing of the shared data in the virtual disk image is completed, the virtual device manager requests the virtual device emulator to release the virtual disk image, and the virtual device emulator part responds to a request from the virtual device manager. Accordingly, the virtual disk image allocated to the first virtual machine is released.
한편, 본 발명의 다른 실시예에 따른 가상머신 간의 데이터 공유 시스템은, 사용자로부터의 데이터 공유 요청에 따라 공유 데이터를 저장하고 있는 제1가상머신에 USB 저장 장치가 할당되도록 요청하는 가상 디바이스 관리부; 및 상기 가상 디바이스 관리부로부터의 요청에 따라 상기 USB 저장 장치를 USB 장치로 에뮬레이션(emulation)하여 상기 제1가상머신에 할당하고, 상기 USB 저장 장치에 상기 공유 데이터의 저장이 완료되면 상기 제1가상머신에 할당된 상기 USB 저장 장치를 해제하고, 상기 해제된 USB 저장 장치를 상기 공유 데이터를 저장하고자 하는 제2가상 머신에 할당하는 가상 디바이스 에뮬레이터부를 구비한다.On the other hand, the data sharing system between virtual machines according to another embodiment of the present invention, the virtual device management unit for requesting the USB storage device is allocated to the first virtual machine that stores the shared data in response to a data sharing request from the user; And emulating the USB storage device to a USB device according to a request from the virtual device manager, assigning the USB storage device to the first virtual machine, and when the storing of the shared data in the USB storage device is completed, the first virtual machine. And a virtual device emulator unit for releasing the USB storage device allocated to and assigning the released USB storage device to a second virtual machine to store the shared data.
특히, 상기 제1가상머신 및 제2가상머신은, 상기 가상 디바이스 에뮬레이터부에 의해 USB 장치로 에뮬레이션된 USB 저장 장치를 인식하는 USB 드라이버를 구비하는 것을 특징으로 한다.In particular, the first virtual machine and the second virtual machine is characterized by having a USB driver for recognizing a USB storage device emulated by the virtual device emulator unit as a USB device.
또한, 상기 제1가상머신 및 제2가상머신은, 상기 가상 디바이스 관리부를 통해 상기 USB 저장 장치의 저장 공간을 확인하는 장치 관리부를 구비하는 것을 특징으로 한다.The first virtual machine and the second virtual machine may include a device manager that checks a storage space of the USB storage device through the virtual device manager.
또한, 상기 USB 저장 장치에 상기 공유 데이터의 저장이 완료되면, 상기 가상 디바이스 관리부는 상기 가상 디바이스 에뮬레이터부에 상기 USB 저장 장치의 해제를 요청하고, 상기 가상 디바이스 에뮬레이터부는 상기 가상 디바이스 관리부로부터의 요청에 따라 상기 제1가상머신에 할당된 상기 USB 저장 장치를 해제하는 것을 특징으로 한다.When the storing of the shared data is completed in the USB storage device, the virtual device manager requests the virtual device emulator to release the USB storage device, and the virtual device emulator part requests a request from the virtual device manager. Accordingly, the USB storage device allocated to the first virtual machine is released.
한편, 본 발명의 일 실시예에 따른 가상머신 간의 데이터 공유 방법은, 가상머신 간의 데이터 공유 시스템에서의 데이터 공유 방법에 관한 것으로서, 사용자로부터의 데이터 공유 요청에 따라 공유 데이터를 저장하고 있는 제1가상머신에 가상 디스크 이미지가 할당되도록 요청하는 단계; 상기 요청에 따라 상기 가상 디스크 이미지를 하드 디스크로 에뮬레이션(emulation)하여 상기 제1가상머신에 할당하는 단계; 상기 가상 디스크 이미지에 상기 공유 데이터의 저장이 완료되면, 상기 제1가상머신에 할당된 상기 가상 디스크 이미지를 해제하는 단계; 및 상기 해제된 가 상 디스크 이미지를 상기 공유 데이터를 저장하고자 하는 제2가상머신에 할당하는 단계를 포함한다.On the other hand, the data sharing method between the virtual machine according to an embodiment of the present invention relates to a data sharing method in a data sharing system between virtual machines, the first virtual to store the shared data in response to a data sharing request from the user Requesting the machine to be assigned a virtual disk image; Emulating the virtual disk image into a hard disk according to the request and assigning the virtual disk image to the first virtual machine; Releasing the virtual disk image allocated to the first virtual machine when the storing of the shared data in the virtual disk image is completed; And assigning the released virtual disk image to a second virtual machine to which the shared data is to be stored.
특히, 상기 제2가상머신에서 상기 공유 데이터를 저장하는 단계; 및 상기 제2가상머신에 상기 공유 데이터의 저장이 완료되면, 상기 제2가상머신에 할당된 상기 가상 디스크 이미지를 해제하는 단계를 더 포함하는 것을 특징으로 한다.In particular, storing the shared data in the second virtual machine; And when the storing of the shared data in the second virtual machine is completed, releasing the virtual disk image allocated to the second virtual machine.
또한, 상기 제1가상머신에서 하드 디스크로 에뮬레이션된 가상 디스크 이미지를 인식하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include recognizing a virtual disk image emulated as a hard disk in the first virtual machine.
또한, 상기 제1가상머신에서 상기 하드 디스크를 파티셔닝, 포맷팅, 및 라벨링하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include partitioning, formatting, and labeling the hard disk in the first virtual machine.
한편, 본 발명의 다른 실시예에 따른 가상머신 간의 데이터 공유 방법은, 가상머신 간의 데이터 공유 시스템에서의 데이터 공유 방법에 관한 것으로서, 사용자로부터의 데이터 공유 요청에 따라 공유 데이터를 저장하고 있는 제1가상머신에 USB 저장 장치가 할당되도록 요청하는 단계; 상기 요청에 따라 상기 USB 저장 장치를 USB 장치로 에뮬레이션(emulation)하여 상기 제1가상머신에 할당하는 단계; 상기 USB 저장 장치에 상기 공유 데이터의 저장이 완료되면, 상기 제1가상머신에 할당된 상기 USB 저장 장치를 해제하는 단계; 및 상기 해제된 USB 저장 장치를 상기 공유 데이터를 저장하고자 하는 제2가상머신에 할당하는 단계를 포함한다.On the other hand, the data sharing method between virtual machines according to another embodiment of the present invention relates to a data sharing method in a data sharing system between virtual machines, the first virtual to store the shared data in response to a data sharing request from the user Requesting a machine to be assigned a USB storage device; Emulating the USB storage device to a USB device according to the request and assigning the USB storage device to the first virtual machine; Releasing the USB storage device allocated to the first virtual machine when the storing of the shared data on the USB storage device is completed; And allocating the released USB storage device to a second virtual machine to store the shared data.
특히, 상기 제2가상머신에서 상기 공유 데이터를 저장하는 단계; 및 상기 제2가상머신에 상기 공유 데이터의 저장이 완료되면, 상기 제2가상머신에 할당된 상 기 USB 저장 장치를 해제하는 단계를 더 포함하는 것을 특징으로 한다.In particular, storing the shared data in the second virtual machine; And when the storage of the shared data is completed in the second virtual machine, releasing the USB storage device allocated to the second virtual machine.
또한, 상기 제1가상머신에서 USB 장치로 에뮬레이션된 USB 저장 장치를 인식하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include recognizing a USB storage device emulated as a USB device in the first virtual machine.
또한, 상기 USB 저장 장치 상기 제1가상머신에 할당되면, 상기 제1가상머신에서 상기 USB 저장 장치의 저장 공간을 확인하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include identifying a storage space of the USB storage device in the first virtual machine when the USB storage device is allocated to the first virtual machine.
본 발명에 따르면 다음과 같은 효과를 기대할 수 있다.According to the present invention, the following effects can be expected.
사용자가 가상머신 내에 특정 네트워크 프로그램을 설치하지 않고, 가상 머신 간의 네트워크나 인터넷이 불가능한 환경에서도 자유롭게 데이터를 공유할 수 있다.Users can freely share data even in environments where network or internet is not possible between virtual machines without installing a specific network program in the virtual machine.
또한, 본 발명에 따라 USB 저장 장치를 이용하여 데이터를 공유할 경우에는 데이터를 자유롭게 휴대할 수 있는 장점도 있으며, 대용량의 데이터의 경우에는 가상 디스크 이미지를 크게 하여 자유롭게 가상머신 간에 데이터를 공유할 수가 있다.In addition, according to the present invention, there is an advantage in that data can be freely carried when sharing data using a USB storage device, and in the case of a large amount of data, the data can be freely shared between virtual machines by enlarging a virtual disk image. have.
본 발명을 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다. 여기서, 반복되는 설명, 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능, 및 구성에 대한 상세한 설명은 생략한다. 본 발명의 실시형태는 당 업계에서 평균적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해서 제공되는 것이다. 따라서, 도면에서의 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.The present invention will now be described in detail with reference to the accompanying drawings. Here, the repeated description, well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention, and detailed description of the configuration will be omitted. Embodiments of the present invention are provided to more completely describe the present invention to those skilled in the art. Accordingly, the shape and size of elements in the drawings may be exaggerated for clarity.
이하, 본 발명의 바람직한 실시예에 따른 가상머신 간의 데이터 공유 시스템 및 그 방법을 첨부한 도면을 참조하여 상세하게 설명한다.Hereinafter, a system and a method for sharing data between virtual machines according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 바람직한 실시예에 따른 가상머신 간의 데이터 공유 시스템을 설명하기 위한 도면이다.1 is a view for explaining a data sharing system between virtual machines according to a preferred embodiment of the present invention.
도 1을 참조하면, 본 발명에 따른 가상머신 간의 데이터 공유 시스템은 가상머신부(100), 가상 디바이스 에뮬레이터(150), 가상 디바이스 관리부(200), 가상 디스크 이미지(250), 및 USB 저장 장치(300)를 구비한다.Referring to FIG. 1, a data sharing system between virtual machines according to the present invention includes a
가상머신부(100)는 복수 개의 가상머신(VM)들로 구성될 수 있으며, 가상머신부(100)에 존재하는 각각의 가상머신들은 모두 동일한 구성 요소를 구비하고 있다. The
다만, 이하에서는 본 발명의 이해를 돕기 위해 가상머신부(100)에 제1가상머신(110) 및 제2가상머신(120)이 존재하는 것으로 가정하고, 공유할 데이터 소스(이하, '공유할 데이터')가 저장되어 있는 가상머신을 제1가상머신(110), 제1가상머신(110)에 저장된 공유 데이터를 복사하고자 하는 가상머신을 제2가상머신(120)이라고 가정하기로 한다.However, hereinafter, it is assumed that the first
제1가상머신(110)은 기본적으로 리눅스, 윈도우 등의 운영체제(Operating system)를 탑재하고, 하드 디스크 드라이버(116), USB 드라이버(114), 및 장치 관리부(112)를 구비한다. 마찬가지로 제2가상머신(120) 또한, 기본적으로 리눅스, 윈도우 등의 운영체제를 탑재하고, 하드 디스크 드라이버(126), USB 드라이버(124), 및 장치 관리부(122)를 구비한다.The first
이하에서는, 불필요한 설명의 중복을 없애기 위해 제1가상머신(110)만을 예로 들어 설명하기로 한다.Hereinafter, only the first
하드 디스크 드라이버(116)는 제1가상머신(110)에 하드 디스크로 에뮬레이션된 가상 디스크 이미지가 할당되는 경우, 할당된 가상 디스크 이미지를 인식하고 장치 관리부(112)에 하드 디스크가 부착되었음을 통보한다.When the virtual disk image emulated as the hard disk is allocated to the first
USB 드라이버(114)는 제1가상머신(110)에 USB 장치로 에뮬레이션된 USB 저장 장치가 할당되는 경우, 할당된 USB 저장 장치를 인식하고 장치 관리부(112)에 USB 장치가 부착되었음을 통보한다.When a USB storage device emulated as a USB device is allocated to the first
장치 관리부(112)는 하드 디스크 드라이버(116)로부터의 통보에 따라, 제1가상머신(110)에 저장되어 있는 공유 데이터가 하드 디스크 또는 USB 저장 장치에 저장될 수 있도록 처리한다.The
특히, 장치 관리부(112)가 제1가상머신(110)에 하드 디스크가 부착되었음을 하드 디스크 드라이버(116)로부터 통보 받은 경우에는, 해당 하드 디스크를 파티셔닝/포맷팅/라벨링(partitioning/formatting/labeling)하여 공유 데이터가 해당 하드 디스크에 저장될 수 있도록 처리한다.In particular, when the
다만, 장치 관리부(112)가 제1가상머신(110)에 USB 저장 장치가 부착되었음 을 USB 드라이버(114)로부터 통보 받은 경우에는, USB 저장 장치는 이미 파티션을 가지는 저장 장치이므로 장치 관리부(112)에서는 별도의 파티셔닝/포맷팅/라벨링을 수행하지 않는다.However, when the
가상 디바이스 관리부(200)는 사용자로부터의 데이터 공유 요청에 따라 공유 데이터를 저장하고 있는 제1가상머신(110)에 가상 디스크 이미지(250) 또는 USB 저장 장치(300)가 할당되도록 요청한다. 사용자는 가상 디바이스 관리부(200)를 통해 후술할 가상 디스크 이미지(250)를 이용한 데이터 공유 방법 및 USB 저장 장치(300)데이터 공유 방법 중 어느 하나를 택일 할 수 있다.The
가상 디바이스 에뮬레이터부(150)는 가상 디바이스 관리부(200)로부터의 요청에 따라, 가상 디바이스 관리부(200)에 의해 생성된 가상 디스크 이미지(250)를 하드 디스크로 에뮬레이션(emulation)하여 제1가상머신(110)에 할당하거나 USB 저장 장치(300)를 에뮬레이션하여 제1가상머신(110)에 할당한다. 이는 전술한 바와 같이 사용자 선택에 따라 달라질 수 있다.In response to a request from the
먼저, 제1가상머신(110)에 가상 디스크 이미지(250)가 할당된 경우,First, when the
가상 디바이스 에뮬레이터부(150)는, 제1가상머신(110)에 할당된 가상 디스크 이미지에 공유 데이터의 저장이 완료되면, 제1가상머신(110)으로부터 가상 디스크 이미지를 해제하고, 해제된 가상 디스크 이미지를 공유 데이터를 저장하고자 하는 제2가상머신(120)에 할당한다. 즉, 가상 디스크 이미지에 공유 데이터의 저장이 완료되면, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에 가상 디스크 이미지의 해제를 요청하고, 가상 디바이스 에뮬레이터부(150)는 가상 디바이 스 관리부(200)로부터의 요청에 따라 제1가상머신(110)에 할당된 가상 디스크 이미지를 해제한다. 그리고, 가상 디바이스 에뮬레이터부(150)는 해제된 가상 디스크 이미지를 공유 데이터를 저장하고자 하는 제2가상머신(120)에 할당한다.When the storage of the shared data is completed in the virtual disk image allocated to the first
다음으로, 제1가상머신(110)에 USB 저장 장치(300)가 할당된 경우,Next, when the
가상 디바이스 에뮬레이터부(150)는, 제1가상머신(110)에 할당된 USB 저장 장치에 공유 데이터의 저장이 완료되면, 제1가상머신(110)으로부터 USB 저장 장치를 해제하고, 해제된 USB 저장 장치를 공유 데이터를 저장하고자 하는 제2가상머신(120)에 할당한다. 즉, USB 저장 장치에 공유 데이터의 저장이 완료되면, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에 USB 저장 장치의 해제를 요청하고, 가상 디바이스 에뮬레이터부(150)는 가상 디바이스 관리부(200)로부터의 요청에 따라 제1가상머신(110)에 할당된 USB 저장 장치를 해제한다. 그리고, 가상 디바이스 에뮬레이터부(150)는 해제된 USB 저장 장치를 공유 데이터를 저장하고자 하는 제2가상머신(120)에 할당한다.The
도 2 및 도 3은 본 발명의 일 실시예에 따른 가상 디스크 이미지를 이용한 가상머신 간의 데이터 공유 방법을 설명하기 위한 도면이다. 여기서, 공유할 데이터 소스(공유 데이터)가 저장되어 있는 가상머신을 제1가상머신, 제1가상머신에 저장된 공유 데이터를 복사하고자 하는 가상머신을 제2가상머신이라 지칭하기로 한다.2 and 3 are diagrams for explaining a data sharing method between virtual machines using a virtual disk image according to an embodiment of the present invention. Here, a virtual machine in which a data source (shared data) to be shared is stored is referred to as a first virtual machine, and a virtual machine to which the shared data stored in the first virtual machine is copied is referred to as a second virtual machine.
도 1 내지 도 3을 참조하면, 먼저, 제1가상머신(110) 및 제2가상머신(120)이 실행된다(S100).1 to 3, first, the first
S100 단계를 통해 제1가상머신(110)이 실행되어 있는 상태에서, 가상 디바이스 관리부(200)는 사용자로부터 데이터 공유 요청을 수신한다(S110).In a state where the first
S100 단계에서 데이터 공유 요청을 수신한 가상 디바이스 관리부(200)는 제1가상머신(110)에 저장되어 있는 공유 데이터를 복사(저장)하기 위한 가상 디스크 이미지를 생성한다(S120).In operation S100, the
다음으로, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 자신이 생성한 가상 디스크 이미지를 제1가상머신(110)에 할당해줄 것을 요청한다(S130).Next, the
이에, 가상 디바이스 에뮬레이터부(150)는 S120 단계를 통해 생성된 가상 디스크 이미지를 하드 디스크 드라이버(116)에서 인식 가능하도록 하드 디스크로 에뮬레이션(emulation)하고(S140), 이를 제1가상머신(110)에 할당한다(S150).Accordingly, the
S150 단계에서의 할당에 따라, 제1가상머신(110)의 하드 디스크 드라이버(116)에서는 할당된 하드 디스크를 인식한다(S160).According to the allocation in step S150, the
S160 단계를 통해 인식된 하드 디스크는 제1가상머신(110)의 장치 관리부(112)를 통해 하드 디스크 파티셔닝, 포맷팅, 및 라벨링이 수행된다(S170).The hard disk recognized through the step S160 is performed through the
S170 단계 이후에, 제1가상머신(110)에 저장되어 있던 공유 데이터가 사용자에 의해 가상 디스크 이미지에 복사(저장)된다(S180).After the step S170, the shared data stored in the first
사용자는 윈도우 탐색기 등을 이용하여 공유하고자 하는 데이터(공유 데이터)를 선택하고, 선택한 공유 데이터를 제1가상머신(110)에 할당되어 있는 가상 디 스크 이미지에 복사하면 된다.The user may select data to be shared (shared data) by using a window explorer and the like, and copy the selected shared data to the virtual disk image allocated to the first
가상 디스크 이미지에 공유 데이터 저장이 완료되면(S190), 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 제1가상머신(110)에서 가상 디스크 이미지를 해제 해줄 것을 요청한다(S200).When the storage of the shared data is completed in the virtual disk image (S190), the
S200 단계에서의 요청에 따라, 가상 디바이스 에뮬레이터부(150)는 제1가상머신(110)에서 가상 디스크 이미지를 해제한다.In response to the request in step S200, the virtual
다음으로, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 제2가상머신(120)에 가상 디스크 이미지를 할당해줄 것을 요청한다(S210). 이때의 가상 디스크 이미지는 전 단계에서 해제 처리된 가상 디스크 이미지이다.Next, the
이에 가상 디바이스 에뮬레이터부(150)는 가상 디스크 이미지를 제2가상머신(120)에 할당한다(S220).The
S42 단계에서의 할당에 따라, 제2가상머신(110)의 하드 디스크 드라이버(126)에서는 할당된 가상 디스크 이미지를 인식한다.According to the allocation in step S42, the
S220 단계 이후에, 가상 디스크 이미지에 저장되어 있던 공유 데이터가 사용자에 의해 제2가상머신(120)에 복사(저장)된다(S230).After the step S220, the shared data stored in the virtual disk image is copied (stored) to the second
사용자는 윈도우 탐색기 등을 이용하여 가상 디스크 이미지에 저장되어 있는 공유 데이터를 제2가상머신(120)에 복사하면 된다.The user may copy the shared data stored in the virtual disk image to the second
제2가상머신(120)에 공유 데이터 저장이 완료되면(S240), 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 제2가상머신(110)에서 가상 디스크 이미지를 해제 해줄 것을 요청한다(S250).When the storage of the shared data is completed in the second virtual machine 120 (S240), the
S250 단계에서의 요청에 따라, 가상 디바이스 에뮬레이터부(150)는 제2가상머신(110)에서 가상 디스크 이미지를 해제하고 과정을 종료한다.In response to the request in step S250, the virtual
전술한 바에 따르면, 사용자가 가상머신 내에 특정 네트워크 프로그램을 설치하지 않고, 가상 머신 간의 네트워크나 인터넷이 불가능한 환경에서도 자유롭게 데이터를 공유할 수 있다. 특히, 대용량의 데이터의 경우, 가상 디스크 이미지를 크게 하여 자유롭게 가상머신 간에 데이터를 공유할 수가 있다.As described above, a user can freely share data even in an environment where a network or an internet is not possible between virtual machines without installing a specific network program in the virtual machine. In particular, in the case of a large amount of data, the virtual disk image can be enlarged to freely share data among virtual machines.
도 4는 본 발명의 다른 실시예에 따른 USB 저장 장치를 이용한 가상머신 간의 데이터 공유 방법을 설명하기 위한 도면이다.4 is a diagram illustrating a data sharing method between virtual machines using a USB storage device according to another embodiment of the present invention.
도 4를 참조하면, 먼저, 제1가상머신(110) 및 제2가상머신(120)이 실행된다.Referring to FIG. 4, first, the first
제1가상머신(110)이 실행되어 있는 상태에서, 가상 디바이스 관리부(200)는 사용자로부터 데이터 공유 요청을 수신한다(S10). 도 4에서는 사용자가 본 발명에 다른 데이터 공유 방법 중 USB 저장 장치를 이용한 데이터 공유 방법을 선택한 것으로 가정하여 설명하기로 한다.In the state where the first
S10 단계를 통해 데이터 공유 요청을 수신한 가상 디바이스 관리부(200)는 사용자에게 공유 방법을 선택할 것으로 요청하고(S12), 그에 따라 사용자로부터 USB 저장 장치를 이용한 데이터 공유 방식을 선택 받는다(S14).The
S14 단계에서의 사용자 선택에 따라 가상 디바이스 관리부(200)는 사용자에게 USB 저장 장치를 연결할 것을 요청하고(S16), 그에 따라 사용자는 USB 저장 장 치를 본 발명에 따른 시스템에 연결한다(S18).According to the user selection in step S14, the
USB 저장 장치가 연결됨에 따라, 가상 디바이스 관리부(200)에서는 해당USB 저장 장치를 인식한다(S20).As the USB storage device is connected, the
다음으로, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 해당 USB 저장 장치를 제1가상머신(110)에 할당해줄 것을 요청한다(S22).Next, the
이에, 가상 디바이스 에뮬레이터부(150)는 해당 USB 저장 장치가 제1가상머신(110)의 USB 드라이버(114)에서 인식 가능하도록 USB 장치로 에뮬레이션 하고, 이를 제1가상머신(110)에 할당한다(S24).Thus, the
S24 단계에서의 할당에 따라, 제1가상머신(110)의 USB 드라이버(114)에서는 할당된 USB 저장 장치를 인식한다(S26).According to the allocation in step S24, the
S26 단계를 통해 USB 저장 장치가 인식되면, 제1가상머신(110)의 장치 관리부(112)에서는 가상 디바이스 관리부(200)를 통해 USB 저장 장치에 공유 데이터를 저장하기에 충분한 저장 공간이 확보되어 있는 지를 확인한다(S27, S28).When the USB storage device is recognized through the step S26, the
S28 단계를 통해 상기한 USB 저장 장치에 공유 데이터를 저장하기에 충분한 저장 공간이 있다고 판단되면, 제1가상머신(110)에 저장되어 있던 공유 데이터가 사용자에 의해 USB 저장 장치에 복사(저장)된다(S30).If it is determined in step S28 that there is sufficient storage space for storing the shared data on the USB storage device, the shared data stored in the first
사용자는 윈도우 탐색기 등을 이용하여 공유하고자 하는 데이터(공유 데이터)를 선택하고, 선택한 공유 데이터를 제1가상머신(110)에 할당되어 있는 USB 저장 장치에 복사하면 된다.The user may select data to be shared (shared data) using a window explorer and copy the selected shared data to a USB storage device allocated to the first
USB 저장 장치에 공유 데이터 저장이 완료되면(S32), 가상 디바이스 관리 부(200)는 가상 디바이스 에뮬레이터부(150)에게 제1가상머신(110)에서 USB 저장 장치를 해제해줄 것을 요청한다(S34).When the storage of shared data is completed in the USB storage device (S32), the
S34 단계에서의 요청에 따라, 가상 디바이스 에뮬레이터부(150)는 제1가상머신(110)에서 USB 저장 장치를 해제하고(S36), 해제 결과를 가상 디바이스 관리부(200)에 통보한다(S38).In response to the request in step S34, the virtual
다음으로, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 제2가상머신(120)에 USB 저장 장치를 할당해줄 것을 요청한다(S40). 이때의 USB 저장 장치는 전 단계에서 해제 처리된 USB 저장 장치이다.Next, the
이에 가상 디바이스 에뮬레이터부(150)는 USB 저장 장치를 제2가상머신(120)에 할당한다(S42).The
S42 단계에서의 할당에 따라, 제2가상머신(120)의 USB 드라이버(124)에서는 할당된 USB 저장 장치를 인식한다(S44).According to the allocation in step S42, the
S44 단계를 통해 USB 저장 장치가 인식되면, 제2가상머신(120)의 장치 관리부(122)에서는 USB 저장 장치의 저장 공간을 확인한다(S46, S48).When the USB storage device is recognized through the step S44, the
S48 단계를 단계 이후에, USB 저장 장치에 저장되어 있던 공유 데이터가 사용자에 의해 제2가상머신(120)에 복사(저장)된다(S50).After the step S48, the shared data stored in the USB storage device is copied (stored) to the second
사용자는 윈도우 탐색기 등을 이용하여 USB 저장 장치에 저장되어 있는 공유 데이터를 제2가상머신(120)에 복사하면 된다.The user may copy the shared data stored in the USB storage device to the second
제2가상머신(120)에 공유 데이터 저장이 완료되면, 가상 디바이스 관리부(200)는 가상 디바이스 에뮬레이터부(150)에게 제2가상머신(110)에서 USB 저장 장치를 해제 해줄 것을 요청한다(S250).When the shared data is stored in the second
S250 단계에서의 요청에 따라, 가상 디바이스 에뮬레이터부(150)는 제2가상머신(110)에서 USB 저장 장치를 해제하고(S54), 해제 결과를 가상 디바이스 관리부(200)에 통보하는 것으로 과정을 종료한다(S56).In response to the request in step S250, the virtual
전술한 바에 따르면, 사용자가 가상머신 내에 특정 네트워크 프로그램을 설치하지 않고, 가상 머신 간의 네트워크나 인터넷이 불가능한 환경에서도 자유롭게 데이터를 공유할 수 있다. 특히, USB 저장 장치를 이용하기 때문에 데이터를 자유롭게 휴대할 수 있는 장점이 있다.As described above, a user can freely share data even in an environment where a network or an internet is not possible between virtual machines without installing a specific network program in the virtual machine. In particular, the use of a USB storage device has the advantage that can be freely carried data.
본 발명의 일부 단계들은 컴퓨터가 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, CD-RW, 자기 테이프, 플로피디스크, HDD, 광 디스크, 광자기 저장장치 등이 있을 수 있으며, 또한 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드로 저장되고 실행될 수 있다.Some steps of the invention may be embodied as computer readable code on a computer readable recording medium. Computer-readable recording media include all kinds of recording devices that store data that can be read by a computer system. Examples of computer-readable recording media may include ROM, RAM, CD-ROM, CD-RW, magnetic tape, floppy disk, HDD, optical disk, magneto-optical storage, and the like. , Transmission over the Internet). The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
이상에서와 같이 도면과 명세서에서 최적의 실시예가 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로, 본 기술 분야의 통상의 지식을 가진자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다. As described above, the best embodiment has been disclosed in the drawings and the specification. Although specific terms have been used herein, they are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
도 1은 본 발명의 바람직한 실시예에 따른 가상머신 간의 데이터 공유 시스템을 설명하기 위한 도면이다.1 is a view for explaining a data sharing system between virtual machines according to a preferred embodiment of the present invention.
도 2 및 도 3은 본 발명의 일 실시예에 따른 가상 디스크 이미지를 이용한 가상머신 간의 데이터 공유 방법을 설명하기 위한 도면이다.2 and 3 are diagrams for explaining a data sharing method between virtual machines using a virtual disk image according to an embodiment of the present invention.
도 4는 본 발명의 다른 실시예에 따른 USB 저장 장치를 이용한 가상머신 간의 데이터 공유 방법을 설명하기 위한 도면이다.4 is a diagram illustrating a data sharing method between virtual machines using a USB storage device according to another embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
100:가상머신부 110:제1가상머신100: virtual machine part 110: the first virtual machine
112,122:장치 관리부 114,124:USB 드라이버112,122: Device management unit 114,124: USB driver
116,126:하드 디스크 드라이버 120:제2가상머신116,126: hard disk driver 120: second virtual machine
150:가상 디바이스 에뮬레이터부 200:가상 디바이스 관리부150: virtual device emulator 200: virtual device management unit
250:가상 디스크 이미지 300:USB 저장 장치250: virtual disk image 300: USB storage device
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090128428A KR101307342B1 (en) | 2009-12-21 | 2009-12-21 | System for data sharing among virtual machines and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090128428A KR101307342B1 (en) | 2009-12-21 | 2009-12-21 | System for data sharing among virtual machines and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110071779A true KR20110071779A (en) | 2011-06-29 |
KR101307342B1 KR101307342B1 (en) | 2013-09-11 |
Family
ID=44402796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090128428A KR101307342B1 (en) | 2009-12-21 | 2009-12-21 | System for data sharing among virtual machines and method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101307342B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103684965A (en) * | 2013-12-06 | 2014-03-26 | 杭州华三通信技术有限公司 | Exchanging device allocated based on VDs and message transmitting method allocated based on VDs |
KR20160012539A (en) * | 2014-07-24 | 2016-02-03 | 에스케이텔레콤 주식회사 | Method for Connecting Virtual Disk for Changing Between Virtual Machines |
US9619176B2 (en) | 2014-08-19 | 2017-04-11 | Samsung Electronics Co., Ltd. | Memory controller, storage device, server virtualization system, and storage device recognizing method performed in the server virtualization system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102322033B1 (en) | 2015-07-21 | 2021-11-04 | 삼성전자주식회사 | Method and device for sharing a disk image between operating systems |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8332370B2 (en) * | 2006-05-09 | 2012-12-11 | Hewlett-Packard Development Company, L.P. | Maintaining commonly named client-specific file content in hard disk drive emulation |
JP5056334B2 (en) * | 2007-10-15 | 2012-10-24 | 富士通株式会社 | Management program, management apparatus, and management method |
-
2009
- 2009-12-21 KR KR1020090128428A patent/KR101307342B1/en active IP Right Grant
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103684965A (en) * | 2013-12-06 | 2014-03-26 | 杭州华三通信技术有限公司 | Exchanging device allocated based on VDs and message transmitting method allocated based on VDs |
CN103684965B (en) * | 2013-12-06 | 2017-07-14 | 新华三技术有限公司 | The switching equipment and message forwarding method configured based on virtual unit |
KR20160012539A (en) * | 2014-07-24 | 2016-02-03 | 에스케이텔레콤 주식회사 | Method for Connecting Virtual Disk for Changing Between Virtual Machines |
US9619176B2 (en) | 2014-08-19 | 2017-04-11 | Samsung Electronics Co., Ltd. | Memory controller, storage device, server virtualization system, and storage device recognizing method performed in the server virtualization system |
Also Published As
Publication number | Publication date |
---|---|
KR101307342B1 (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101602519B1 (en) | Virtualized storage assignment method | |
JP4942966B2 (en) | Partition bus | |
EP3554025B1 (en) | Method for forwarding packet and physical host | |
KR102047558B1 (en) | Virtual disk storage techniques | |
US9582221B2 (en) | Virtualization-aware data locality in distributed data processing | |
US11243707B2 (en) | Method and system for implementing virtual machine images | |
US7984262B2 (en) | Data transmission for partition migration | |
JP4585276B2 (en) | Storage system | |
US8291412B2 (en) | Method of checking a possibility of executing a virtual machine | |
US20070050767A1 (en) | Method, apparatus and system for a virtual diskless client architecture | |
US20140173595A1 (en) | Hybrid virtual machine configuration management | |
US20080256530A1 (en) | System and Method for Determining Firmware Compatibility for Migrating Logical Partitions | |
US10289564B2 (en) | Computer and memory region management method | |
US20070253436A1 (en) | Communicating in a virtual environment | |
WO2016047814A1 (en) | Resource allocation method using cloud api key, and apparatus therefor | |
US20230133273A1 (en) | System and interrupt handling method | |
US10684884B1 (en) | Application containers running inside virtual machine | |
KR101307342B1 (en) | System for data sharing among virtual machines and method thereof | |
JP2008021252A (en) | Computer system and address allocating method | |
WO2013005923A1 (en) | Apparatus and method for migrating a physical server to a virtual server | |
JP5439435B2 (en) | Computer system and disk sharing method in the computer system | |
US20090307458A1 (en) | Virtual real memory exportation for logical partitions | |
US9088569B2 (en) | Managing access to a shared resource using client access credentials | |
JP2011221634A (en) | Computer system, logic section management method and logic division processing program | |
JP2001014147A (en) | Acting system for setup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20161004 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180904 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20190903 Year of fee payment: 7 |