摘要 |
A portable virtual machine is provided on at least one of first and second devices to manage the execution of transactions between first and second devices 1, 5 that can communicate with each other. At least one of the first and second devices is an integrated circuit card 9 including at least one input/output device 10. The virtual machine includes a virtual microprocessor and a driver for the input/output device 10 and is responsive to an interpreted program for executing the program running on the machine. The virtual machine provides logical and arithmetic functions, addressing of actual memory via logical address space, and addressing of the input/output device via the virtual input/output device to the program. By using a virtual machine as an interpreter and including a driver for the I/O devices in the virtual machine, application programs in the devices will have a common interface with I/O devices and are therefore portable across widely differing environments. Because the virtual machine can allocate and deallocate memory and determine an indication of the amount of memory in the application program, the program will run successfully or it will not run at all so that security management functions are reduced to a minimum to improve operating speed. The virtual machine provides a secure way of importing and exporting data into and out of application programs and databases.
|