1. Field of Invention
The invention relates to an application program sharing framework and method for operating systems and, in particular, it provides an interface for transforming at least one data parameter and a multimedia playing program between dual operating systems.
2. Related Art
For the facilitation of using computer, the operating system provides a uniform logical way, which is the file for data storing, and the file system is established in the partition of the storage for storing files. One of the file system techniques is the file allocation table (FAT) for recording all the addresses of the hard disk. The DOS operating system searches the available address while creating a file, and then marks the address “used”. That is, FAT is an area for recording the clusters status of the hard disk, and it is restricted to the 8.3 naming rule for file naming. Hence, the FAT formatted file lacks of the protection recovery, and the sufficient addressing abilities. Furthermore, the Linux operating system is less popular and compatible than the Microsoft Windows, and there exists the NTFS Microsoft for aiding with FAT, which having the compatibility for multiple operating system, fault tolerance for supporting multiple disk accessing methods, and providing parity check, error recovery, and speedup, security for authorizing and controlling the authority for accessing directories and files of the local and remote host, and so on.
Besides, Linux operating system taking “ext2” to be a primary file system, which is established in the partition of the storage. Before accessing the files, it's required for mounting them to the nodes of the directory tree of the file system, and then amounting them from the directory tree when finishing related operation. Moreover, kernel of the Linux supports various file system, such as ex2, file system of BSD platform and Microsoft, and it provides a uniform interface by a virtual file system for maintaining operating way, at least one of the application programs should be re-installed in the two operating system, which results in the waste of storage and locking of the resource sharing.
In order to provide the compatibility of the Linux and Windows, “Wine”, a simulation program, is proposed for simulating the Window operating system in the Linux environment. Wine can executing the software program in the MS-DOS, Window 3.x, and the Win 32 operating system, and it is valid even when the application calls for the interrupt service routines as well. Hence, Wine can load external DLL file, support multimedia functions such as GDI 32 and Direct X, covert the application program of the Windows into documents of postscript format of Unix operating system for printing by a printer. However, since the Wine is just a simulation program, the performing speed is still lower than that of Windows.
Since the demands arose from the virus defense, system management, and stability, the loading and system resource consuming arising continuously. When an end user performs an application program, the longer waiting time for file starting up results in the time cost arising.
In view of the foregoing, the invention is to provide an application program sharing framework and method for operating systems, herein it includes an application program for executing in the environment of a second operating system, and an interface for transforming at least one data parameter and a multimedia playing program of the first operating system into executable format of the second operating system for sharing the data parameter and the multimedia playing program.
In addition, the framework and method of the present invention transform the data parameter for sharing the multimedia playing program of the first operating system with the second operating system which issuing a transform command in an interface.
Besides, the system portability can be ensured since the second operating system is installed in a second storage whose size is smaller than a first storage.
Moreover, the present invention is storage-saving since the re-installation of the application program is avoided.
Furthermore, the present invention is power-saving since only the resource of the multimedia required is started.
In view of the foregoing, the application program sharing framework and method includes an basic input/output system for managing and controlling the boot setting of a host, a first operating system for providing an executing environment, a second operating system installed in a second storage which has smaller size than the first storage for portability, an application program for issuing the executing command for the data parameter of the second operating system, and an interface for transforming the data parameter and the parameter of the multimedia playing program to the executable format of the second operating system. Accordingly, the end user starts up the operating system which occupying fewer resource through the basic input/output system, and the application program issues the data parameter accessing and transforming commands in the interface and the second operating system for sharing the resource of the first operating system. Hence, the waiting time for starting the second operating system and the resource consuming will be reduced, and the portability, resource sharing and storage-saving can be achieved as well.
The invention will become more fully understood from the detailed description given herein below illustration only, and thus is not limitative of the present invention, and wherein:
With reference to
Moreover, the first operating system 3 provides a file format of FAT or NTFS, and it can be the windows XP, Windows NT, Window 98, Windows 2000, Windows Me, and so on. The second operating system 4 provides a file format of EXT 2 or EXT 3, and it can be the Linux operating system. Therefore, the end user starts up the second operating system 4 which occupying fewer resource through the basic input/output system 2, and the application program 5 issues the data parameter accessing and transforming commands to the interface 6. the interface 6 transfroms the related parameters of the data parameter and the multimedia playing program to allow the second operating system 4 to sharing the resource of the first operating system 3.
With reference to
With reference to
With reference to
With reference to
As mentioned above, the application program sharing framework and method of the invention includes a first operating system, at least one data parameter and a multimedia playing program installed in a first storage, a second operating system installed in a second storage which has smaller size than the first storage for portability, an application program for executing in the environment of the second operating system, an interface for transforming the data parameter and the parameter of the multimedia playing program into the executable format of the second operating system, a physical memory for storing the required data for executing, and a virtual memory as a complement of the physical memory. The end user thus starts up the second operating system which occupying fewer resource than the first operating system through the basic input/output system, issues the data parameter accessing and transforming commands to the interface for transforming the data parameter. Therefore, by loading the multimedia playing program requiring more resources into the virtual memory and then retrieving it to the physical memory during executing, the storing-saving and the avoidance of application program re-installation can be achieved.
Although the invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments, will be apparent to persons skilled in the art. It is, therefore, contemplated that the appended claims will cover all modifications that fall within the true scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
093102237 | Jan 2004 | TW | national |