The present application is related to application Ser. No. 09/990,084 entitled “Method and System for Configuring the Language of the BIOS in a Computer System,” now U.S. Pat. No. 6,996,705 assigned to the assignee of the present application and filed on the same date.
The present invention relates to computer systems and specifically to a method and system for configuring an operating system in a computer system.
Today, personal computers are used in many different countries throughout the world encompassing many different languages. Consequently, each different language requires a different operating system image to support that specific language, e.g. the French language requires a French operating system image, the Chinese language requires a Chinese operating system image, etc. Conventionally, computer systems are hard wired for a particular language when each system is built. In other words, the operating system image is provided based on a particular language at build time. This creates a problem if the user subsequently needs to use the system in a country with a language different than that in which the computer system was hard wired or because more than one language is spoken in the country, because the system must then be re-built with the correct operating system image. This can be a tedious and cumbersome process if a computer is utilized in several different languages.
Therefore, what is needed is a method and system that allows for the automatic selection of an appropriate operating system image based on the language requirement. The method and system should be simple, cost effective and capable of being easily adapted into existing technology. The present invention addresses such a need.
The present invention comprises a method and system for configuring the language of an operating system in a computer system. A first aspect of the method and system comprises providing a plurality of operating system images in the computer system, each of the plurality of operating system images being based upon a particular language, selecting one of the plurality of operating system images based on the language supported by the computer system and loading the selected operating system image into the computer system.
A second aspect of the method and system comprises providing a language-independent operating system image in the computer system, determining a language supported by the computer system, loading the language-independent operating system image into the computer system, and associating the language supported by the computer system with the language-independent operating system image.
Through the use of the method and system in accordance with the present invention, the language being supported by the computer system is determined when the computer system is booted up as opposed to when the computer system is being built. This results in an increase in manufacturing productivity since original equipment manufacturers can build computer systems without having to worry about language restrictions. The language is chosen at time of use by the end user versus being predefined at manufacturing time. This is critical in regions where multiple different languages are spoken and there is no way of knowing which language the end user prefers at time of system build.
The present invention relates to a method and system for determining the operating system operating system image in a computer system. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiment and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiment shown but is to be accorded the widest scope consistent with the principles and features described herein.
The present invention is presented in the context of a preferred embodiment. The preferred embodiment of the present invention is a method and system for determining the operating system image in a computer system based on a particular language. Through the use of the present invention, the language being supported by the operating system is determined by querying the keyboard when the computer system is booted.
For a further understanding of the present invention, please refer now to
The central processing unit 120 refers to the processor, the memory (RAM) and the I/O architecture (channels or buses). A memory 121 is coupled to the central processing unit 120. The operating system 140 is the master control program that runs the computer. It sets the standards for all application programs that run in the computer.
The USB keyboard 110 includes a plurality of device descriptor files 112. The device descriptor files 112 contain information related to the keyboard, e.g. what type of device it is, who made the device, etc. The device descriptor files 112 also contain user defined fields called report descriptors. Report descriptors are strings of information that the operating system 140 can read. Report descriptors are a method of passing useful information about the USB device to the operating system or device driver. They are unique for each type of USB device. Report descriptors adhere to the following format: Item Type, Item Length, Item Value.
The system and method in accordance with the present invention takes advantage of this feature of a USB keyboard to allow for configuring the operating system in a computer system. In accordance with the present invention, a new report descriptor (hereinafter “the language report descriptor”) contains a new Item Type (first field in the report descriptor) defined as the keyboard language. The new Item Type would be a value currently unused within the USB Keyboard device class. This value would be picked from the unused values and would then be defined as the language report descriptor. The next field (Item Length) is how many bytes are reserved for the language value. The last field (Item Value) is the language of the USB keyboard. The language report descriptor identifies the particular language that the USB keyboard 110 supports.
Based on this new item type, the language that the computer system will support can be determined by querying the keyboard upon the initialization of the computer system. Once the language is determined, the operating system image for the system is selected based on the language supported by the keyboard and utilized to configure the computer system. Accordingly, if a system user needs to change the language being supported by the computer system, the system user would simply swap the current keyboard with a keyboard that supports the desired language and then reboot the computer system.
Although the above described embodiment of the present invention is described in the context of utilizing the keyboard to determine the language being supported, one of ordinary skill in the art will readily recognize that a variety of devices could be utilized to determine the language being supported by the computer system while remaining within the spirit and scope of the present invention.
A method in accordance with the present invention may be implemented, for example, by operating a computer system to execute a sequence of machine-readable instructions. The instructions may reside in various types of computer readable media. In this respect, another aspect of the present invention concerns a programmed product, comprising computer readable media tangibly embodying a program of machine readable instructions executable by a digital data processor to perform a method for determining the operating system image in a computer system based on a particular language.
This computer readable media may be contained in media such as a magnetic data storage diskette and directly or indirectly accessed by the computer system. Whether contained in the computer system or elsewhere, the instructions may be stored on a variety of machine readable storage media, such as a DASD storage (e.g. a conventional “hard drive” or a RAID array), magnetic tape, electronic read-only memory, an optical storage device (e.g., CD ROM, WORM, DVD, digital optical tape), paper “punch” cards, or other suitable computer readable media including transmission media such as digital, analog, and wireless communication links. In an illustrative embodiment of the invention, the machine-readable instructions may comprise lines of compiled C, C++, or similar language code commonly used by those skilled in the programming for this type of application arts.
In order to support multiple language operating system images within the computer system, one of two embodiments could be utilized. A first embodiment contemplates the utilization of a common operating system image file that contains a plurality of operating system images wherein each of the plurality operating system images supports a different language in the computer system.
Referring now to
Accordingly, a system user can change the language supported by the computer system by simply swapping the current keyboard with a keyboard that supports the desired language and then relocating the computer system.
A second embodiment contemplates the utilization of a language-independent operating system image in the computer system. What is meant by a language independent operating system image is an image with text strings that are generic strings that relate to a plurality of language files. Examples of such text strings can include the help files within the operating system, system messages, text on the start screens, etc. Once the operating system image is provided, the language can be selected from a plurality of language files that are stored in the computer memory and accordingly associated with the operating system image.
A method and system in accordance with the present invention for configuring the operating system of a computer system based on a particular language is disclosed. Through the use of the method and system in accordance with the present invention, the language being supported by the computer system is determined when the computer system is booted up as opposed to when the computer system is being built. This results in an increase in manufacturing productivity since original equipment manufacturers can build computer systems without having to worry about language restrictions.
Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4185282 | Pick | Jan 1980 | A |
4459581 | Wilson et al. | Jul 1984 | A |
4879557 | Roche | Nov 1989 | A |
5127748 | Okimoto et al. | Jul 1992 | A |
5428772 | Merz | Jun 1995 | A |
5450078 | Silva et al. | Sep 1995 | A |
5973675 | Joto et al. | Oct 1999 | A |
6014616 | Kim | Jan 2000 | A |
6178503 | Madden et al. | Jan 2001 | B1 |
6182099 | Nakasato | Jan 2001 | B1 |
6205418 | Li et al. | Mar 2001 | B1 |
6219721 | Su | Apr 2001 | B1 |
6246976 | Mukaigawa et al. | Jun 2001 | B1 |
6326953 | Wana | Dec 2001 | B1 |
6467038 | Piwonka et al. | Oct 2002 | B1 |
6559861 | Kennelly et al. | May 2003 | B1 |
6615303 | Endo et al. | Sep 2003 | B1 |
Number | Date | Country | |
---|---|---|---|
20030097554 A1 | May 2003 | US |