The present invention relates to an electronic apparatus having multiple operating systems and a data modification method thereof, and more particularly to a technique of using a first operating system to perform data modifying for a second operating system.
Generally speaking, an operating system can be considered as a combination of an operating system kernel and a software platform. The operating system kernel generally includes a memory management module, a process execution control module, a plurality of peripheral hardware device drive modules, a power management module, etc. One of the functions of the operating system kernel is to allow the software platform to be successfully running on electronic hardware via the operating system kernel. The software platform generally includes a window manager, an activity manager, a notification monitor, and an application terminator, and functions mainly to manage the running condition and display condition of different applications run thereon.
Currently, MICROSOFT Windows is adopted as the operating system (OS) by most computer users, while Linux operating system is chosen by other computer users. Meanwhile, with the popularization of various kinds of mobile Internet apparatus, such as smart phone, personal digital assistant (PDA) and the like, there are more and more electronic apparatuses that use an operating system other than the MICROSOFT Windows and the Linux operating system. Every operating system has its own advantages and disadvantages. Some of the currently available operating systems provide powerful functions but require more resources and the electronic apparatuses using these operating systems consume more electric power, while other operating systems require fewer resources but provide only limited functions.
Whether an operating system is good for use has a close relation with the number of application programs being supported by the operating system. Different operating systems are possibly developed at different time and accordingly, have different completeness in terms of their program developing environment. For example, the newest operating system developed for portable electronic apparatuses might provide the best effect of low power consumption while having less available application programs, which require more time to develop. As a result, users might feel inconvenient in operating the portable electronic apparatuses for some applications thereof. Therefore, it is desirable to work out a way for updating the operating system without scarifying the convenience in operating the application programs thereof.
With regards to the aforementioned conventional problems, one of the objects of the present invention is to provide a data modification method applicable to an electronic apparatus having multiple operating systems, so that a user can use the electronic apparatus in a more flexible manner.
Another object of the present invention is to provide an electronic apparatus having multiple operating systems on which a data modification method is implemented, so that the electronic apparatus is more convenient for use.
To achieve the above and other objects, the data modification method according to the present invention applicable to an electronic apparatus having multiple operating systems includes the following steps: executing a first operating system on the electronic apparatus; receiving an input data under the first operating system; under the first operating system, setting the input data to fit a second operating system; and operating the second operating system based on the input data while the second operating system is executed on the electronic apparatus.
Herein, the second operating system is preferably stored on the electronic apparatus in a compressed file format.
Herein, the step of setting the input data into the second operating system further includes: decompressing the compressed file of the second operating system to obtain a second operating system data; modifying the second operating system data according to the input data; and compressing the modified second operating system data.
Herein, the first operating system is preferably a Windows-based operating system.
Herein, the second operating system is preferably an operating system using Linux kernel based operating system or an embedded operating system.
Herein, the input data includes a URL (uniform resource locator), a password, or an email account.
Herein, the step of receiving input data is preferably executed by an application program under operation of the first operating system.
Herein, the compressed file is preferably an image file format.
To achieve the above and still other objects, the electronic apparatus having multiple operating systems according to the present invention is provided. The electronic apparatus having multiple operating systems comprises a storage unit and a processing unit. A first operating system, a second operating system and an application program is stored in the storage unit. The first operating system and the application program are executed by the processing unit to receive an input data and set the input data into the second operating system under the first operating system. After the data modifying, the second operating system is executed by the processing unit according to the input data which has been set into the second operating system by the application program.
Herein, the second operating system is preferably stored in the storage unit in a compressed file format.
Herein, the application program is further executed by the processing unit to decompress the compressed file under the second operating system to obtain a second operating system data, then modify the second operating system data according to the input data, and compress the modified second operating system data.
Herein, the first operating system is preferably a Windows-based operating system.
Herein, the second operating system is preferably a Linux kernel based operating system or an embedded operating system.
Herein, the input data includes a URL (uniform resource locator), a password, or an email account.
Herein, the compressed file is preferably in an image file format.
The structure and the technical means adopted by the present invention to achieve the above and other objects can be best understood by referring to the following detailed description of the preferred embodiments and the accompanying drawings, wherein
Please refer to
Please refer to
In the case a password is required for operating the second operating system, or a user's email account is required for running some specific application programs under the second operating system, or the data modifying is not easy for the user due to only a few interfaces are supported by the second operating system, a required modifying interface has not been developed by the manufacturer, or a relatively complicated data modifying manner is involved, the user can set the data under the first operating system using the above-described method. Or, when the user wishes to synchronize some specific data of the two operating systems, such as bookmarks, contacts data, or calendars, a data synchronizing function could also be designed and added in the above-mentioned application programs to synchronize the data to the second operating system in the compressed format under the first operating system. When the user launches the second operating system, the synchronized data is available for use and thereby largely increase the convenience in using the electronic apparatus.
Please refer to
Since a modifying interface for a user to change the email account 331 is not provided by the second operating system 33, the electronic apparatus 3 provides a mechanism for the user to modify the email account 331 under the first operating system 32. That is, the data input interface 341 is generated by the first application program 34 under the first operating system 32 to receiving an input data 371 that is input by the user via the input unit 37. It can be observed from the file system of the first operating system 32 that the second operating system 33 is stored in the storage unit 31 in a compressed file format. Therefore, the compression/decompression module 342 of the first application program 34 decompresses the compressed file of the second operating system 33 to obtain document data of the second operating system 33 after receiving the input data 371. And then, the email account 331 in the document data of the second operating system 33 is modified by the data modifying module 343 according to the input data 371, and the compression/decompression module 342 compresses the document data of the second operating system 33 to restore the same to the compressed format. When the processing unit 36 executes the second operating system 33 at next time, the email account 331 in the second operating system 33 is that being modified under the first application program 34. Thus, the user can use the modified email account 331 under the second operating system 33.
The present invention has been described with some preferred embodiments thereof and it is understood that many changes and modifications in the described embodiments can be carried out without departing from the scope and the spirit of the invention that is intended to be limited only by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
098127317 | Aug 2009 | TW | national |