Method to share licensed applications between virtual machines
Claim Score by NHIP
Abstract
A computer implemented method and computer program product for sharing licensed applications between virtual machines. When an event is intercepted which comprises an attempted access of a file stored in a hard disk of a guest operating system, wherein the file type has no association with any application installed on the guest operating system, an application installed on a host operating system capable of opening the file is identified. An association of the file type with an application on the host operating system is established, and the file is copied from the hard disk of the guest operating system to a temporary location on the host operating system. The file is opened and accessed using the associated application on the host operating system. The file is then copied back to the hard disk of the guest operating system.

Term
Projected expiry 11 August 2030.
- Priority and filed
- Published
- Today
- Projected expiry
8 claims: 2 independent, 6 dependent
- 1Broadest claimClaim Score 62, broad(NHIP)A computer implemented method for sharing licensed applications between virtual machines, the computer implemented method comprising:intercepting an event comprising an attempted access of a file stored in a hard disk of a guest operating system, wherein a file type of the file has no association with any application installed on the guest operating system;responsive to intercepting the event, identifying an application installed on a host operating system capable of opening the file;establishing an association of the file type with the application on the host operating system;responsive to establishing the association, copying the file from the hard disk of the guest operating system to a temporary location on the host operating system;opening the file using the associated application on the host operating system to allow access to the file;and copying the file back to the hard disk of the guest operating system if content of the file changed while the file was open.
- 5A computer program product for sharing licensed applications between virtual machines, the computer program product comprising:a computer usable medium having computer usable program code tangibly embodied thereon, the computer usable program code comprising: computer usable program code for intercepting an event comprising an attempted access of a file stored on a hard disk of a guest operating system, wherein a file type of the file has no association with any application installed on the guest operating system;computer usable program code for identifying an application installed on a host operating system capable of opening the file in response to intercepting the event;computer usable program code for establishing an association of the file type with the application on the host operating system;computer usable program code for copying the file from the hard disk of the guest operating system to a temporary location on the host operating system in response to establishing the association;computer usable program code for opening the file using the associated application on the host operating system to allow access to the file;and computer usable program code for copying the file back to the hard disk of the guest operating system if content of the file changed while the file was open.
Independent claims2
35 paragraphs in 4 sections, as filed
BACKGROUND OF THE INVENTION
00011. Field of the Invention
0002The present invention relates generally to an improved data processing system, and in particular, to a computer implemented method and computer program product for sharing licensed applications between virtual machines.
00032. Description of the Related Art
0004A virtual machine monitor (VMM) is a host program that allows a single computer to support multiple, identical execution environments. An example of a commercial VMM product is VMware®, which is a product of VMware Inc. VMware® is a virtual machine software system that allows a host operating system to run one or more virtual guest operating systems. For example, a system running Windows XP may use VMware® to run an operating system such as Linux or Windows 2000. Once the guest operating system is running, applications may be installed and services may be run which the guest operating system supports. The computing environments created (comprising the guest operating systems) are referred to as virtual machines.
0005While virtual machine monitors allow users to easily access multiple operating systems without using two separate desktop machines or a dual-boot computer, there can be problems when opening files which are associated with certain applications. Consider the example of an x86-based personal computer (PC) which is running Microsoft Windows as the host operating system, as well as another instance of Microsoft Windows running in VMware as the guest operating system. In this example, the host operating system has an application such as Microsoft Excel installed, and the guest operating system does not have the application installed. When a user wants to open an Excel file located on the guest operating system's hard disk, the user double-clicks the Excel file. Since the guest operating system does not have the Microsoft Excel application installed, a dialog is presented to the user which indicates that there is no application associated with the selected file type. In response, the user currently must drag and drop the Excel file from the guest operating system to the desktop of the host operating system, which does contain the Microsoft Excel program. The user may then double click on the Excel file in order to view the file and make changes. The user then drags and drops the Excel file from the host operating system back to the guest operating system. These existing steps are prone to errors, such as the user forgetting to drag the file back into the virtual machine (guest operating system), or having older copies lying around which can create havoc in version numbers.
SUMMARY OF THE INVENTION
0006The illustrative embodiments provide a computer implemented method and computer program product for sharing licensed application between virtual machines. When an event is intercepted which comprises an attempted access of a file stored in a hard disk of a guest operating system, wherein the file type has no association with any application installed on the guest operating system, an application installed on a host operating system capable of opening the file is identified. An association of the file type with an application on the host operating system is established, and the file is copied from the hard disk of the guest operating system to a temporary location on the host operating system. The file is opened and accessed using the associated application on the host operating system. The file is then copied back to the hard disk of the guest operating system.
BRIEF DESCRIPTION OF THE DRAWINGS
0007The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
0008<figref idref="DRAWINGS">FIG. 1</figref> depicts a pictorial representation of a computer system in which the illustrative embodiments may be implemented;
0009<figref idref="DRAWINGS">FIG. 2</figref> is a block diagram of a data processing system in which the illustrative embodiments may be implemented;
0010<figref idref="DRAWINGS">FIG. 3</figref> is a block diagram of an exemplary virtual machine environment in which the illustrative embodiments may be implemented; and
0011<figref idref="DRAWINGS">FIG. 4</figref> is a flowchart of a process for sharing licensed applications between virtual machines.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
0012With reference now to the figures and in particular with reference to <figref idref="DRAWINGS">FIG. 1</figref>, a pictorial representation of a data processing system is shown in which illustrative embodiments may be implemented. Computer <b>100</b> includes system unit <b>102</b>, video display terminal <b>104</b>, keyboard <b>106</b>, storage devices <b>108</b>, which may include floppy drives and other types of permanent and removable storage media, and mouse <b>110</b>. Additional input devices may be included with personal computer <b>100</b>. Examples of additional input devices include a joystick, touchpad, touch screen, trackball, microphone, and the like.
0013Computer <b>100</b> may be any suitable computer, such as an IBM® eServer™ computer or IntelliStation® computer which are products of International Business Machines Corporation, located in Armonk, N.Y. Although the depicted representation shows a personal computer, other embodiments may be implemented in other types of data processing systems. For example, other embodiments may be implemented in a network computer. Computer <b>100</b> also preferably includes a graphical user interface (GUI) that may be implemented by means of systems software residing in computer readable media in operation within computer <b>100</b>.
0014Next, <figref idref="DRAWINGS">FIG. 2</figref> depicts a block diagram of a data processing system in which illustrative embodiments may be implemented. Data processing system <b>200</b> is an example of a computer, such as computer <b>100</b> in <figref idref="DRAWINGS">FIG. 1</figref>, in which code or instructions implementing the processes of the illustrative embodiments may be located.
0015In the depicted example, data processing system <b>200</b> employs a hub architecture including a north bridge and memory controller hub (MCH) <b>202</b> and a south bridge and input/output (I/O) controller hub (ICH) <b>204</b>. Processing unit <b>206</b>, main memory <b>208</b>, and graphics processor <b>210</b> are coupled to north bridge and memory controller hub <b>202</b>. Processing unit <b>206</b> may contain one or more processors and even may be implemented using one or more heterogeneous processor systems. Graphics processor <b>210</b> may be coupled to the MCH through an accelerated graphics port (AGP), for example.
0016In the depicted example, local area network (LAN) adapter <b>212</b> is coupled to south bridge and I/O controller hub <b>204</b>, audio adapter <b>216</b>, keyboard and mouse adapter <b>220</b>, modem <b>222</b>, read only memory (ROM) <b>224</b>, universal serial bus (USB) ports, and other communications ports <b>232</b>. PCI/PCIe devices <b>234</b> are coupled to south bridge and I/O controller hub <b>204</b> through bus <b>238</b>. Hard disk drive (HDD) <b>226</b> and CD-ROM drive <b>230</b> are coupled to south bridge and I/O controller hub <b>204</b> through bus <b>240</b>.
0017PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not. ROM <b>224</b> may be, for example, a flash binary input/output system (BIOS). Hard disk drive <b>226</b> and CD-ROM drive <b>230</b> may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. A super I/O (SIO) device <b>236</b> may be coupled to south bridge and I/O controller hub <b>204</b>.
0018An operating system runs on processing unit <b>206</b>. This operating system coordinates and controls various components within data processing system <b>200</b> in <figref idref="DRAWINGS">FIG. 2</figref>. The operating system may be a commercially available operating system, such as Microsoft® Windows XP®. (Microsoft® and Windows XP® are trademarks of Microsoft Corporation in the United States, other countries, or both). An object oriented programming system, such as the Java™ programming system, may run in conjunction with the operating system and provides calls to the operating system from Java™ programs or applications executing on data processing system <b>200</b>. Java™ and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
0019Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive <b>226</b>. These instructions and may be loaded into main memory <b>208</b> for execution by processing unit <b>206</b>. The processes of the illustrative embodiments may be performed by processing unit <b>206</b> using computer implemented instructions, which may be located in a memory. An example of a memory is main memory <b>208</b>, read only memory <b>224</b>, or in one or more peripheral devices.
0020The hardware shown in <figref idref="DRAWINGS">FIG. 1</figref> and <figref idref="DRAWINGS">FIG. 2</figref> may vary depending on the implementation of the illustrated embodiments. Other internal hardware or peripheral devices, such as flash memory, equivalent non-volatile memory, or optical disk drives and the like, may be used in addition to or in place of the hardware depicted in <figref idref="DRAWINGS">FIG. 1</figref> and <figref idref="DRAWINGS">FIG. 2</figref>. Additionally, the processes of the illustrative embodiments may be applied to a multiprocessor data processing system.
0021The systems and components shown in <figref idref="DRAWINGS">FIG. 2</figref> can be varied from the illustrative examples shown. In some illustrative examples, data processing system <b>200</b> may be a personal digital assistant (PDA). A personal digital assistant generally is configured with flash memory to provide a non-volatile memory for storing operating system files and/or user-generated data. Additionally, data processing system <b>200</b> can be a tablet computer, laptop computer, or telephone device.
0022Other components shown in <figref idref="DRAWINGS">FIG. 2</figref> can be varied from the illustrative examples shown. For example, a bus system may be comprised of one or more buses, such as a system bus, an I/O bus, and a PCI bus. Of course the bus system may be implemented using any suitable type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. Additionally, a communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. Further, a memory may be, for example, main memory <b>208</b> or a cache such as found in north bridge and memory controller hub <b>202</b>. Also, a processing unit may include one or more processors or CPUs.
0023The depicted examples in <figref idref="DRAWINGS">FIG. 1</figref> and <figref idref="DRAWINGS">FIG. 2</figref> are not meant to imply architectural limitations. In addition, the illustrative embodiments provide for a computer implemented method, apparatus, and computer usable program code for compiling source code and for executing code. The methods described with respect to the depicted embodiments may be performed in a data processing system, such as data processing system <b>100</b> shown in <figref idref="DRAWINGS">FIG. 1</figref> or data processing system <b>200</b> shown in <figref idref="DRAWINGS">FIG. 2</figref>.
0024The illustrative embodiments provide a computer implemented method and computer program product for sharing licensed applications between virtual machines. The illustrative embodiments recognize that when a host operating system is running one or more virtual guest operating systems, it can be difficult to open a file located on the guest operating system's hard disk if only the host operating system, and not the guest operating system, has the application which is associated with the file installed. If a user attempts to open such a file, the user is typically presented with a dialog which indicates that no application is associated with the selected file. The illustrative embodiments address this problem by allowing the guest operating system to intercept certain operating system events and perform actions based on the intercepted event, such as calling an application associated with a certain file type. A file type is a string that describes the contents of a file, as well as identifies the application that can handle the file. For example, the file type “.doc” identifies the file as a Microsoft Word file.
0025For instance, using the previous example of an x86-based PC running Microsoft Windows as the host operating system and another instance of Microsoft Windows running in VMware as the guest operating system, if a user attempts to open an Excel file located in the guest operating system's hard disk which has no associated application, the illustrative embodiments allow the guest operating system to intercept such an “unknown file type” operating system event. The illustrative embodiments then determine if there is an appropriate application installed in the host operating system which may be used to open the file, such as Microsoft Excel. An appropriate application may be located by viewing the file type associations of the host operating system. If the file type is associated with the Excel application on the host operating system, the Excel file is copied to a temporary location on the host operating system. The Excel file may now be opened using the application on the host operating system, which is associated with the Excel file. The user is allowed to make changes to the file, and the updated file is then copied back to the guest operating system. A cleanup of the host operating system is then performed to remove all temporary files created as a result of the file copying and editing. The method in the illustrative embodiments provides an improvement in the usability of virtual machines, as well as allows for sharing licensed products among different instances of operating systems (i.e., the user is not required to buy a separate Microsoft Excel license for each virtual machine).
0026Turning now to <figref idref="DRAWINGS">FIG. 3</figref>, a block diagram of an exemplary virtual machine environment in which the illustrative embodiments may be implemented is shown. Virtual machine environment <b>300</b> may be implemented in a data processing system, such as data processing system <b>200</b> in <figref idref="DRAWINGS">FIG. 2</figref>. In particular, virtual machine environment <b>300</b> comprises host operating system <b>302</b>, virtualization layer <b>304</b>, guest operating systems <b>306</b> and <b>308</b>, and applications <b>310</b>, <b>312</b>, and <b>314</b>. Host operating system <b>302</b> may use a VMM product such as VMware® to run virtual guest operating systems <b>306</b> and <b>308</b> using VMware®. Virtualization layer <b>304</b> manages guest operating systems <b>306</b> and <b>308</b>. Application <b>310</b> is installed on host operating system <b>302</b>, and applications <b>312</b> and <b>314</b> are supported by guest operating systems <b>306</b> and <b>308</b> respectively. For instance, a file stored on the hard disks of guest operating systems <b>306</b> may be opened if it is associated with application <b>312</b>. However, if the file is not associated with any application installed on guest operating system <b>306</b>, an appropriate application installed on host operating system <b>302</b>, such as application <b>310</b>, may be used to access the file by checking whether this file type is already registered with the host operating system. If the file is associated with application <b>310</b>, application <b>310</b> may be used to access the file on the host operating system.
0027<figref idref="DRAWINGS">FIG. 4</figref> is a flowchart of a process for sharing licensed applications between virtual machines. The process in <figref idref="DRAWINGS">FIG. 4</figref> may be implemented in a data processing system comprising a host operating system that is running one or more virtual guest operating systems. The process begins when a guest operating system intercepts an operating system event (step <b>402</b>). An operating system event may include an unknown file type event which occurs when a user attempts to access a file which is located in the guest operating system's hard disk, but the application capable of opening the file is not installed on or supported by the guest operating system. When the guest operating system intercepts such an operating system event, a determination is made by the Virtual Machine as to whether the host operating system has an application installed which is associated with the file type (step <b>404</b>). If the file type is not associated with an application located on the host operating system (‘no’ output of step <b>404</b>), a dialog box is displayed which indicates that no application is associated with the file type (step <b>406</b>), with the process terminating thereafter.
0028If the file type is associated with an application located on the host operating system (‘yes’ output of step <b>404</b>), the file is copied to a temporary location on the host operating system (step <b>408</b>). The associated application on the host operating system may then be used to open the file (step <b>410</b>). At this point, the user is allowed to make changes to the file (step <b>412</b>). The file may then be copied back to the guest operating system (step <b>414</b>). Copying the file back to the guest operating system allows the changes made to the file while the file was open to also be reflected in the copy stored on the guest operating system. In one embodiment, if no changes were made to the file, the unchanged file does not need to be copied back to the guest operating system, since a copy of the same file still exists on the guest operating system. A cleanup of the file remaining on the host operating system is then performed (step <b>416</b>), with the process terminating thereafter.
0029The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
0030Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
0031The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
0032A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
0033Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
0034Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
0035The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Contents4
3 sheets
Sheet 1 Sheet 2 Sheet 3
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US9639706B2 | Cited by | United States of America | Applicant |
| GB2463345A | Cited by | United Kingdom | Search report |
| US2010031311A1 | Cited by | United States of America | Pre-grant |
| US9858062B2 | Cited by | United States of America | Applicant |
| US9176721B2 | Cited by | United States of America | Applicant |
| GB2499077B | Cited by | United Kingdom | Search report |
| US10635851B2 | Cited by | United States of America | Search report |
| CN103106101A | Cited by | China | Search report |
| US10282221B2 | Cited by | United States of America | Applicant |
| GB2463345B | Cited by | United Kingdom | Search report |
| US2010070980A1 | Cited by | United States of America | Pre-grant |
| US10635482B2 | Cited by | United States of America | Applicant |
| US8973093B2 | Cited by | United States of America | Applicant |
| US2008301676A1 | Cited by | United States of America | Pre-grant |
| US2018300290A1 | Cited by | United States of America | Search report |
| US10140118B2 | Cited by | United States of America | Search report |
| US9170855B2 | Cited by | United States of America | Applicant |
| US8474005B2 | Cited by | United States of America | Applicant |
| US8489708B2 | Cited by | United States of America | Applicant |
| US9880889B2 | Cited by | United States of America | Applicant |
| GB2499077A | Cited by | United Kingdom | Search report |
| US8387047B1 | Cited by | United States of America | Search report |
| US9779106B2 | Cited by | United States of America | Applicant |
| US2011162087A1 | Cited by | United States of America | Pre-grant |
| CN103049457A | Cited by | China | Search report |
| US8407696B2 | Cited by | United States of America | Search report |
| WO2010013871A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| US2006074869A1 | Cites | United States of America | Pre-grant |
| US2006149899A1 | Cites | United States of America | Pre-grant |
| US6735601B1 | Cites | United States of America | Pre-grant |
| US6868451B1 | Cites | United States of America | Pre-grant |
| US7546599B2 | Cites | United States of America | Pre-grant |
| US7765544B2 | Cites | United States of America | Pre-grant |
2 members in 1 office
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 55146306 | United States of America | A | |
| US20060551463 | – | – | – |
Members2
| Document | Office | Kind | |
|---|---|---|---|
| US2008098391A1 | United States of America | A1 | |
| US8037473B2 | United States of America | B2 |
27 transactions on the USPTO file
Allowed without a rejection on record.
- Non-final rejections
- 0
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Patent Issue Date Used in PTA CalculationAllowedPTAC | PTAC | |
| Email NotificationEML_NTR | EML_NTR | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Correspondence Address ChangeC.AD | C.AD | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Reasons for AllowanceEX.R | EX.R | |
| Examiner's Amendment CommunicationEX.A | EX.A | |
| Examiner Interview Summary Record (PTOL - 413)EXIN | EXIN | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Email NotificationEML_NTR | EML_NTR | |
| PG-Pub Issue NotificationPG-ISSUE | PG-ISSUE | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| IFW TSS Processing by Tech Center CompleteTSSCOMP | TSSCOMP | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Application Is Now CompleteCOMP | COMP | |
| Cleared by OIPE CSRL194 | L194 | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Initial Exam Team nnIEXX | IEXX |
11 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Lapsed due to failure to pay maintenance feeLapsedFP | FP | |
| Lapse for failure to pay maintenance feesLapsedPATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYLAPS | LAPS | |
| Information on status: patent discontinuationPATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362STCH | STCH | |
| Fee payment procedureMAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYFEPP | FEPP | |
| AssignmentAS | AS | |
| AssignmentAS | AS | |
| Fee paymentFPAY | FPAY | |
| Surcharge for late paymentSULP | SULP | |
| Maintenance fee reminder mailedREMI | REMI | |
| Information on status: patent grantGrantedPATENTED CASESTCF | STCF | |
| AssignmentAS | AS |
Numbers
- Publication
- 20080098391
- Publication, DOCDB
- 2008098391
- Publication, EPODOC
- US2008098391
- Application
- 11551463
- Application, DOCDB
- 55146306
- Application, EPODOC
- US20060551463
Titles
- English
- METHOD TO SHARE LICENSED APPLICATIONS BETWEEN VIRTUAL MACHINES
Classification
- CPC, 2
- G06F9/45537
- G06F9/44563
- IPC, 1
- G06F9 455
- USPC, 1
- 718001000