Abstract:
An application program is provided to work with two operating systems of a computer. A first mode of the application program is configured to work with the computer before the primary operating system is booted. The second mode of the application program is provided to work under the environment provide by the primary operation system.

Description:
FIELD OF THE INVENTION  
       [0001]     The present invention relates to a method that provides an application program for working with two operating systems of a computer. The application program is configured to work with the computer before the primary operating system is booted.  
       BACKGROUND OF THE INVENTION  
       [0002]     This is a continuation in part application of U.S. patent application Ser. No. 10/429,645 filed May 5, 2003.  
         [0003]     The present invention relates generally to a method allowing a computer to run an application program before the operation system of the computer is booted.  
         [0004]     Traditional computer booting sequence starts at running the instructions stored at a BIOS storage device. After the BIOS is booted, the computer is instructed to run the operating system, represented by the term OS. The commonly used OS such as different versions of the Microsoft Windows takes around one to two minutes to boot the computer. When a computer is to be turned off, the OS takes another ten to thirty seconds to turn off the computer. The booting time and shut down time of the OS, although acceptable to most desktop computer working environments, are less tolerable for notebook computer users, especially when the computer is utilized as a real paper notebook, just for retrieving a telephone number, check the time of an appointment, or to drop down some notes.  
         [0005]     It is the objective of this invention to provide a computer system capable of accessing personalized application program prior to the booting process of the computer OS.  
       SUMMARY OF THE INVENTION  
       [0006]     Traditional booting sequence to power up a computer starts with running the instructions stored at a BIOS storage device. Typical BIOS storage device are represented by solid-state non-volatile memory or SRAM memory back up by battery power. A common type of memory used for computer BIOS is flash memory due to the nonvolatile nature of this technology even after power is removed. After the BIOS is booted, the computer is instructed to run the operating system, represented by the term OS. The OS of a computer is provided to set up all the interfacing settings of the hardware and software key components connected to the computer. The OS also defines the default parameters of the computer when power is turned on or when the computer is reset. Technically it is possible to provide a big BIOS for performing many important functions of the OS. However, the cost per mega byte of data of solid-state nonvolatile memory is very expensive as compared with the memory cost of hard disk drives. Accordingly BIOS is usually designed to occupy very small memory size just adequate to store simple programming instructions for the computer to start running the OS. Most of the lengthy start up programs are performed by the OS.  
         [0007]     The are many different OS systems available in the market. The most common OS available in the market for personal computer is the Microsoft Windows. Different versions of Windows required one to two minutes of booting time depending on the speed of the hard drive, speed of the processor and the number of supporting hardware and software installed. When a computer is shut down, the OS may take another 10 to 30 seconds to update the data and update the configuration information before closing the running programs. The booting time and shut down time is not causing significant problems to users of desktop computers. This is because the power supply of most desktop computers are left on or turned on/off only once a day. As notebook computers are getting lighter in weight, more and more notebook computers are installed with software servicing daily activities such as appointment schedulers, telephone directories, diary, note pad and many other personalized application programs. All these software servicing the daily activities of a person are collectively termed as personalized application program. Another characteristic of personalized application program is that the information stored, or retrieved are real personalized information. The broader term application program is defined to include any software servicing specific applications, requiring the support of a computer, including but not limiting to word processors and spreadsheets. It should be noted that according to this definition, the definition of application program does not include any software provided mainly to service the computer, such as to test the functions of a computer, virus scan or to configure the settings of a computer. In many actual notebook applications, an user accesses the computer only for simple information previously stored in paper notebooks, such as to retrieve a phone number, check appointments, or to write down some simple messages. The time required for these kinds of application process takes around two to ten seconds. The one to two minutes of booting time acceptable to the application of desktop computers is just too long for many simple notebook applications. It is the objective of this invention to provide a computer system capable of accessing personalized application program prior to the booting process of the computer OS, so that users are able to access data stored in the notebook computer instantly. Application programs are also classified according to the environments where they work. Pre-OS application programs are defined to be application programs working in the pre-OS environment, before a primary OS is booted. Primary OS, or simply OS application programs are defined as application programs suitable for working in the primary OS environment. Primary OS application programs will not work in the more primitive pre-OS environment. On the contrary, it is possible to configure pre-OS application program to work in primary OS environment. It is also a desire of this invention to provide a special form of dual modes application programs. A simple, fast to run application program is configured to run only in the pre-OS environment. At the same time, another application program offering at least the similar functions of the simple, fast to run application program is added with enhancements for running in the more luxury primary OS environment. This enriched, or enhanced application program to run is a primary OS environment is defined as a imaging application program of the corresponding primitive version of the pre-OS application program. When a pre-OS application and a corresponding image application program are bundled for selling to a customer, it is usually desirable to include a synchronizing program to synchronize the application data of the pre-OS application program and that of the primary OS application program, unless these application programs share the same data file. Application data is defined as the user data generated when the user works with an application program. Although application program are usually stored in the hard disk of a computer, in a preferred embodiment, a pre-OS application program is stored in an external memory means. The advantage is that the user will be able to work with the user program on any computer. A external memory means may also be connected with a computer before it is powered up. Upon power up, the computer detects the presence of the pre-OS application program of the external memory means and proceed to boot the pre-OS working environment. Application data of pre-OS application programs are preferred to be stored in the external memory means so as to enhance security control of the application data.  
         [0008]     The major difficulty in providing speedy access of application program before fully booting a computer is that the OS actually is required to set up the computer before full-featured application program can be run. For example, before an OS is booted, the computer may not be able to response to mouse or touch pad movements. The computer screen is set at the lowest resolution available. Modem and network card access are not available. Other communication ports such as the serial port, parallel port, infrared port and the popular USB port are not accessible. Audio function is not ready. Many of these basic functions are not available, not to mention the advanced features provided by the latest Windows and Apple OS.  
         [0009]     Close research of different notebook using habits reveals that over 90 percent of the task performed by the OS, although preferable, are not necessary to perform the personalized applications defined by this research. A lot of features can be compromised in exchange of the convenience of quick access to the personalized applications. In a first application embodiment, a personalized telephone directory program can be provided to work at VGA resolution, a low 8 bit color setting, no sound capability and without accessibility to any external communication ports. The next step is to run the application program before booting the OS.  
         [0010]     Different methods had been studied to enable running personalized application program before booting an OS. The first method is to provide a compact application program in a removable diskette. Most BIOS of notebook computer enables the computer to access a boot up diskette before booting the OS. This feature was provided to obtain start up control of the computer in case the OS is corrupted. When the computer is to be normally booted, the diskette containing the application program is removed from the diskette drive. When quick access to the personalized application program is required, the diskette containing the software is inserted into the diskette drive before power is turned on. Several difficulties had been discovered during the research of this direction. Firstly most notebook computers provide only a floppy diskette drive. The 1.44 M memory capacity of the floppy diskette is too small for a reasonable application program. This capacity is also too small for storing the personalized data. Secondly, there is an increasing trend that new notebook computers are provided with a CD drive instead of a floppy drive. Even though the capacity of CD drive is high enough for most personalized programs, it is not suitable for this invented application because the personalized data cannot be stored on a regular CD. Although CD R/W is capable of storing user data, it is also not perfect for this application because the CD is easy to be scratched. It is less reliable and difficult to handle as compare with a floppy diskette. In addition, the speed of a CD R/W is too slow especially in writing mode. Higher capacity Zip drive is perfect for this solution. Unfortunately the Zip drives, although popular, was not able to replace the floppy diskette drive to have a widely accepted installed base in notebook computers.  
         [0011]     Another approach tried in the research is to modify the BIOS for setting up a removable external miniature drive so that this drive can be accessed before the OS is booted. Portability and durability of the external drive is important. Accordingly, any electronics devices not configured to provide memory storage for computer data as it&#39;s major field of service, such as portable DVD player, digital picture frames, cell phones, digital cameras, scanners, iPOD are excluded from the definition of external memory means. Two different kinds of devices are qualified in the search for suitable products to be used to provide a suitable embodiment of the invention. They are the miniature portable hard drives and solid-state flash memory devices that make use of the PCMCIA slot, fire-wire or USB ports of the computer.  
         [0012]     Another method to access a personalized application program before booting an OS is to modify the BIOS such that it is responsive to certain hot keys on the keyboard during power up. When a key is depressed during the power up period, the computer is directed to a personalized application program installed in the hard drive.  
         [0013]     Many users and computer manufacturers may feel hesitate to modify content of the BIOS as it is difficult to handle and may cause serious problems very difficult to be fixed. Accordingly another solution is obtained from the research. A control program is provided in an external memory means that directs the computer to run an application program of the computer.  
         [0014]     Alternately the control program can be stored inside the hard drive of the computer. The BIOS is provided with instructions to access the control program before starting to boot the primary OS. The control program may be configured to detect hot keys before or during the booting sequence. Alternately the control program may help to define the functions of the hot keys, or the keys of the computer keyboard, so as for a user to decide which application program to be launched after the booting process. The control program may also provide a screen to prompt the user to decide which personalized startup application program to be selected or to proceed for booting the primary OS.  
         [0015]     The very primitive setup of the computer before booting the OS may be too limiting for some personalized application program. For example, the resolution of the screen may be desirable to be enhanced for better displaying pictures or a spreadsheet. Accordingly the application program or the control program previously discussed may comprise codes to set up the display screen to provide more colors or higher display resolution. The process of setting up a better working environment is actually part of the job of the full feature primary OS of the computer. Providing some fast set up and configuration task simpler than the primary OS for quickly supporting the personalized application program is defined as the task of a pre-OS. The primary OS, or simply OS is defined as the full-featured OS normally operated by a computer such as Windows. It should be noted that the computer may comprise only the primary OS if a pre-OS does not exist. It should also be noted that a consolidated OS may be designed to provide the functions of both the pre-OS and the primary OS; in this case the consolidated OS may also be termed as a primary OS or simply the OS of the computer system.  
         [0016]     Another further objective of the invention is to provide a computer system suitable for the user to access the personalized application programs both before the OS booting process and also during the normal operation mode after the OS is booted. For an example, it is desirable to provide an application program that allows a user to input some notes with a primitive notebook application program without booting the OS, and at a later time, using a full feature word processing software to copy or edit the message entered. Since the working environment is very primitive and many supporting devices are not ready before the OS is booted, features of the personalized software offered under this working condition will be difficult to match with the full features working under the OS environment. Different ways had been studied to configure the application program to work under this dual mode environment. The first way is to provide two different application programs, one to work in the pre-OS environment and one to work under the OS, or primary OS environment, such as Windows. These different programs may share some common parts, such as the subprograms and the shared data files. Although the two application programs are configured to work under different environments, they can be bundled under one brand or under one package for marketing purposes. The two programs can be packaged as a single software program, comprising a subprogram for use in the pre-OS environment. Assuming the application program working under the OS provides n application functions, or objectives, a portion of the software, or a parallel program can be provided to service applications functions under the pre-OS environment, where m is smaller than n. In most situations, the functions offered in the pre-OS environment is a subset of the full-featured software program, comprising functions selected from the full-featured software working under the primary OS environment. An application program packaged to work under both the pre-OS and primary OS environments is defined to be a dual mode application program. Dual mode application program may comprise two different application programs, one working in a pre primary OS environment and the other one working in a post primary OS environment. Dual mode application program may also be represented by a single program, capable to adjust itself to work under both the pre-OS and primary OS environments. It should be noted that a program working under a simulated pre-OS environment generated in a primary OS environment cannot be qualified to be a dual mode application program. This is because the program is actually not design to work with the improved features provided by the primary OS environment. A screen may also be provided at the early time of the process to prompt the user if the primary OS is to be booted at a background when the pre-OS application program is being utilized. When a user is working on a pre-OS application program under a pre-OS environment and the system is booting into the primary OS environment, a decision is to be made—how to handle the pre-OS application program that the user was working on? Three results had been achieved according to the research study of this invention. The first approach is to transport the pre-OS application software, or loading the corresponding image version of the pre-OS application software into the primary OS environment. The disadvantage of this embodiment is that the application program will not be able to enjoy the deluxe enhanced features of the primary OS environment. An alternate second solution is to automatically load the corresponding image application program into the primary OS environment, plugging in all the data previously entered or loaded by the user. A third approach is to give the user a prompt and control means, such as a key or an icon on the screen, for the user to switch from the pre-OS application program into the primary OS application program when the time is appropriate.  
         [0017]     Other than the functional features, transparency of data file in front of the user is very important. The user is desirable be able to access the data files entered in any of the two application environments. The optimal design is to provide data file common to the programs working in both the pre-OS and primary OS environments. If this is difficult for some applications, a set of two data files, each design for their respective working environment can be designed. A synchronizing program is required to update the pair of data files so that the data contents are consistent in the two files. In a preferred embodiment, the pre-OS application data file is stored in an external memory means. The post OS data file is stored in the hard drive. In another preferred embodiment, the pre-OS data file comprises the basic, small size data information required by the pre-OS application program. The post OS data file comprises more detail extended information, such as facial picture files for supporting a telephone directory program provided by a full-featured application program. Another advantage was discovered when the shared data file is stored in a removable storage device. The storage device can be removed or access prohibited before the computer is connected to the internet such that the confidential data will not be accessible by hackers.  
         [0018]     Another objective of the invention is to provide the users multiple startup programs and the choice of which personalized to be launched after running the BIOS. An embodiment of this application is to provide different hot keys each represent a personalized application program to be launched right after completing the BIOS. For example entering the “N” key during the power up process will launch a note pad. Entering the “D” key will launch a directory program. Entering the “W” key will launch a word processing program.  
         [0019]     The present invention is also directed to the inventive steps of providing the user a feature to continue booting the primary OS while the user is working on a startup pre-OS version of the application program. It means the computer continue to boot the OS after the application program is launched. The pre-OS environment may be configured to provide a choice, for a user to decide if he/she wishes to boot from the pre-OS environment into a primary OS environment. As soon as OS booting sequence is completed, the primary OS will take over the control. A preferred feature offered in the research is for the OS to automatically launch the full version of the application program. The OS may also be configured to automatically switch over the application program from the pre-OS version to the primary OS version. In this process, the primary OS can be configured to comprise a secondary OS portion, which allows the user to instantly launch the reduced version of the application program under the secondary OS environment while the full version of the primary OS is being booted. The feature for the computer to continue booting at the background may be offered as an optional feature. This is because some users may just want to momentarily access the start up application programs and then turn the power off. They may not want to spend the time waiting for the primary OS to power down.  
         [0020]     The novel features of the invention are set forth with particularly in the appended claims. The invention will be best understood from the following description when read in conjunction with the accompanying drawings.  
     
    
     BRIEF DESCRIPTION OF DRAWINGS  
       [0021]      FIG. 1  illustrates the block diagram structure of an embodiment of a notebook computer;  
         [0022]      FIG. 2  illustrates the typical ports enabling a computer to communicate with external devices;  
         [0023]      FIG. 3  is a flow chart illustrating the sequence when a prior art computer is reset or when power is turned on;  
         [0024]      FIG. 4  illustrates the introduction of startup application program into a booting sequence;  
         [0025]      FIG. 5  illustrates one structure of dual mode application program; and  
         [0026]      FIG. 6  illustrates another structure of dual mode application program.  
     
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0027]     Attention is initially directed to  FIG. 1 , which depicts the block diagram structure of a prior art personal computer. The computer  100  comprises of interfacing circuits  101  and internal components  102 . Interfacing circuits are defined by the components provided to interface between the internal components of the computer with the user or the external environment. Typical interfacing circuits includes the display unit  111 , a screen to display information for the user; the audio circuit  112  for providing audio output; the keyboard  113  for entering alpha numeric information; pointing devices  114  represented by mouse, track ball and touch pad sensors. The ports  115  include all different kinds of communication interfaces such as USB port, fire wire port, serial and parallel ports, network port and modem. The internal components  102  of a computer comprise an internal hard drive  121  provided for storing OS, programs and data. Drives  122  are provided to accept external storage media. Typical external media accepted by the drives  122  are magnetic diskettes and optical disks. Some add on flash memory modules are marketed as solid state drives. In addition to the internal hard drive, the computer requires faster internal solid state memory  123  for providing higher speed operation. BIOS is represented by battery back up memory or flash memory storing the instruction set to be run upon power up or resetting the computer. The core of the computer is a high speed processor  125  which is sometime named as a CPU. When the power of the computer is turned on, the processor  125  fetches instructions from the BIOS  124  which setup the primary configuration of the computer. Then the computer is directed to initiate programs stored inside the hard drive  121 . The operation system, also commonly referred as the OS stored in the hard drive  121  further set up the hardware and software configurations of the computer. After the OS is booted, application programs stored inside the hard drive  121  can be launched to service the needs of the users. In order to take over the control of the computer just in case a crash occurs, the BIOS  124  may instruct the computer to look at the external drive  122  for initial program before proceeding to launch the OS from the hard drive  121 .  
         [0028]      FIG. 2  illustrates the communication ports provided to a typical computer. Serial port  211  and parallel port  212  enable the computer to communicate with external devices such as printers. USB port  213  is another universal serial communication interface that provides limited power to the external devices. New computers may also provide interface connector  214  for connection with flash memory modules such as compact flash, smart media or memory stick. Network port  215  and modem port  216  enable the computer to communicate with external network. PCMCIA slot  217  is a standard interface port providing power and high speed interface for notebook computers to connect with miniature slim size devices such as network card or miniature drives. Some desk top computer may provide extra hard drive slot  218  connecting an external hard drive to the computer. IR port  219  and RF port  220  are provided for the computer to communicate with external devices without a cable. Blue tooth and WiFi are common RF standards used for note book computer.  
         [0029]      FIG. 3  demonstrates the booting sequence of a typical computer. Programs instructions stored inside the BIOS memory  301  are executed by the CPU when the power of the computer is turned on. After setting up the primitive configurations of the computer such as the video display and the keyboard, the computer starts to boot the operation system  302  which is also referred as the OS of the computer. When Windows or Apple OS are booted, the OS provides a desktop, which enables user to access different application program  304  by clicking the short cut icons displayed on the desktop screen.  
         [0030]     Attention is now drawn to  FIG. 4 , which illustrates the flow chart for a computer to access an application program  431  after executing the instructions stored in the BIOS memory  401 . Since the BIOS  401  only provides very primitive setup of the computer, this pre-OS environment provides limited features for the pre-OS application program  431 . Accordingly the application program may include a primitive but improved pre-OS for enriching the support of the application program  431 . The mechanism to initiate the path  422  can be achieved by modifying the content of the BIOS, or by providing another initialization program stored on a diskette, which directs the computer to set up the secondary OS or to launch the application program  431  before booting the primary OS  402 . When a user is working on the application program  431 , the computer may continue to boot the primary OS  402  at the background. After the primary OS is booted, the computer launches the desktop and the full-featured application program  404  for replacing the primitive pre-OS version of the application program  431 . It should be noted that the path  423  and  421  may be provided as an option because many users may only want to have a brief access to the application program  431  before turning off the computer.  
         [0031]     The primitive pre-OS version of the application program  431  and the full featured application program may be derived from two different programs, or from a packaged software providing services in both the pre and post OS environments. The pre-OS application program may be designed to provide some major functions of the full-featured application program  404 . In order for the application program  431  to be smoothly transformed over to  404 , a dual mode application program comprising both the application programs  431  and  404  is design to provide a common data file  505  as illustrated in  FIG. 5 . Pre-OS application program represented by the block  501  of  FIGS. 5 and 431  of  FIG. 4  is configured to access the data file  505 . After the post OS full feature application program  502  of  FIG. 5  or  404  of  FIG. 4  takes over the control, the full features application program may also obtain access to the common data file  505 .  
         [0032]     Due to technical constrains, sometimes it is preferable to provide different data files to each of the pre-OS and primary OS application program as illustrated in  FIG. 6 . For example the data file  605  managed by the pre-OS application program  601  provides only the basic data information for the user. The data file  606  may provide additional imaged data information not available from the file  605 , for accessing by the post OS application program. Although the data file  605  and  606  are designed basically to store the similar type of information, the data file  606  may provide extended information about the application less desirable to be accessed by the pre-OS application program  601 . An example of the extended information to be stored in the file  606  but not in the file  605  are graphical information of large file size. In order to maintain the consistency of data retrieved in both the pre-OS and primary OS modes, the data files of the dual mode application program is to be synchronized as shown in the step  607  when the operation is switching from one mode to another.  
         [0033]     Another reason to support the structure of  FIG. 6  is that sometimes both the pre-OS application program and the corresponding application data file are stored in an external memory means. Since these devices provide limited memory capacity, the data file  605  should be of smaller size as compared with the extended data file  606  stored in the hard drive  121  of  FIG. 1 .  
         [0034]     Although detailed background of the invention have been disclosed, it is recognized that variations and modifications, such as modifying the terms used in the specification, or repackaging the programs in a software package according to marketing needs. It is accordingly intended that all such variations and modifications be encompassed by the appended claims.