The present invention relates generally to multi-environment operating systems and in particular, to a method and apparatus for user interface with applications of the multiple operating system environments.
Software functions that display a set of application statuses are provided in single operating system environments such as Microsoft Windows®, where they may appear in a system status bar. There are also functions that display the statuses of browser windows by using tabs. Software features that control groups of commands are provided within certain software applications such as Microsoft Excel®, wherein they may be referred to as ribbons.
Some mobile devices have the capability to utilize multiple run-time environments simultaneously on a single processor. A user of such a device may operate a first operating environment (e.g., Android) and a second operating environment (e.g., GNU Linux) simultaneously. When operating such a device, at least two co-existing independent middleware operating environments coupled to a core kernel are provided where the middleware operating environments each have a corresponding application component.
When a single display device is utilized as a user interface to a mobile device running multiple operating system environments (e.g., Android and GNU Linux), there may exist two windows on the display device. A first window may exist on a first portion of the display (e.g., an Android window that shows the Android environment). A second window, or background window, may also exist on the display (e.g., a background window showing a GNU Linux desktop environment). The user interaction can be confusing or cumbersome when the user attempts to interact with applications of one of the operating system environments.
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions and/or relative positioning of some of the elements in the figures may be exaggerated relative to other elements to help to improve understanding of various embodiments that include the present invention. Also, common but well-understood elements that are useful or necessary in a commercially feasible embodiment are often not depicted in order to facilitate a less obstructed view of these various embodiments, which include the present invention. It will further be appreciated that certain actions and/or steps may be described or depicted in a particular order of occurrence while those skilled in the art will understand that such specificity with respect to sequence is not actually required in all instances. Those skilled in the art will further recognize that references to specific implementation embodiments such as “circuitry” may equally be accomplished via replacement with software instruction executions either on general purpose computing apparatus (e.g., CPU) or specialized processing apparatus (e.g., DSP). It will also be understood that the terms and expressions used herein have the ordinary technical meaning as is accorded to such terms and expressions by persons skilled in the technical field as set forth above except where different specific meanings have otherwise been set forth herein.
In order to provide for efficient rendering of a window of a first operating system within a desktop of a second operating system, some embodiments are described.
The present invention encompasses a method comprising the following steps.
Controlling by a first operating system environment (first OSE) the states of a set of applications of the first OSE. Each application is controlled to be in one of at least a closed state, an open-running state, and an open-suspended state.
Rendering by a second operating system environment (second OSE) a set of application status indicators on a graphical user interface each of which indicates an identity and a current state of one of the open applications of the first OSE. The open applications comprise the applications that are in the open-running and open-suspended states
Determining by the second OSE a user input to alter the state of one of the applications (an identified application) of the open applications to a different state that is one of at least closed, open-running, and open-suspended.
Communicating by the second OSE to the first OSE an identity of the identified application and the different state to the first OSE.
Changing by the second OSE the rendering of the application status indicator of the identified application to indicate the different state.
The present invention further encompasses an apparatus comprising a central processing unit (CPU) existing on a device. The CPU performs the steps of executing a first operating system environment and executing a second operating system environment that provide the features described in the above method.
Turning now to the drawings, where like numerals designate like components,
Referring to
An exemplary software environment 16 includes Ubuntu® (Canonical Ltd., www.ubuntu.com) for the Linux-based operating system environment 224. The multiple middleware operating system environments co-exist independent of the other(s). Exemplary environments that can be included in software environment 216 include Android™ (Google, Inc., www.google.com), Ubuntu® (Canonical Ltd., www.ubuntu.com), standard Linux-based environments, Symbian (Symbian Foundation Ltd., www.symbian.com), and Windows-based environments. In an alternative embodiment, it is envisioned that greater than two operating system environments are configured to co-exist independently on the same core kernel 218.
Referring to
In one embodiment the external display comprises an external monitor attached to device 100 via a HDMI cable. As shown, external display 313 renders a desktop 318 this is a full screen desktop and therefore has the same boundary as the display 313. The desktop includes a system status bar 330 that shows the statuses of windows that are open, each window being generated by an application that is being executed by the second OSE. In
It should be noted that although not shown clearly in windows 325 and 328, each window 325, 328 would contain icons and graphics that represent standard applications that are being executed by the second OSE.
Referring to
In some embodiments, the AIW module 436 is configured to display a first OSE window 118 within a window 320 that is rendered on the desktop portion of the GUI display 313 of the external device 310 (
The portal service module 426 directs all communication with the resource manager 434. Additionally, the portal service module 426 is connected to activity associated with the portal activity module 428, as well as first OSE 222 broadcast events.
The second OSE 224 provides a desktop presentation 318 that may be presented on the display 313 of the second GUI 312. The desktop 318 is similar to desktops presented on laptop and desktop computers, having a background (wallpaper) area, and a system and an application status area (a Taskbar in Microsoft Windows terminology). One application or a plurality of applications that are being executed on the second OSE 224 may be presented simultaneously on the desktop 318. One of the applications is deemed to have “focus” at any given time, meaning that user interaction with that application is primarily by means of the window of that application. (That is to say, very few user interactions can be made by means other than the window that is in focus. An example is that the window may be maximized, minimized or closed by a user action within the region of the status bar). The application can also respond to system events. Each application window is controlled by the second OSE 224 to have a particular position. The second OSE application (e.g., one of 320, 325, 328 that is in focus is controlled by the second OSE 224 to be identifiable as being in focus by being given unique visual characteristics (such as a different border color, for example). Application windows may or may not overlap on the display of the second GUI, but when they do, each is controlled to appear in some layer order behind the second OSE window that is in focus. (e.g., if window 320 of
Certain ones of the applications that execute on the first OSE 222 can present differing windows that are each usable on the first GUI display 113, one at a time. The window that is being rendered at a given time for the first GUI 112 is herein termed the first OSE window 118. In some embodiments, every first OSE window 118 is a full screen window. The first OSE window 118 presents graphical information from a first OSE application, that is to say, an application that is being executed on the first OSE 222. Examples are the home screen, a phone book application, a game application, and a web browser application. For some of the first OSE applications the first OSE 222 may also present graphical information relevant to certain system states (e.g., call indicator, signal strength, time, battery status, etc.). This combined presentation is rendered on the first GUI display 113 by commands of the first OSE 222 that use the graphical information from one of the first OSE applications. This first OSE window 118 can be used for the purpose of user interface with the first OSE 222, including interaction with the first OSE application that is generating graphical information for the first OSE window 118. For simplicity, and in more general terms, this document describes such a user interaction as being “with the OSE” that includes the OSE application that is providing much of the graphics for the window, it being understood that the user inputs are passed through the OSE to the OSE application.
The kernel 218 includes a set of drivers 442 and an AEV module 444. Included with the drivers 442 are input device drivers for hardware components 220. The AEV 444 is a kernel module that takes absolute coordinate and keyboard events from AIW 436 when it has focus and passes them to an event hub.
The co-existing operating system environments within operating system 16 communicate with each other. The resource manager 434, which is part of the second OSE 224, communicates directly with the portal service module 426, which is part of the first OSE 222. Furthermore, the portal service module 426, which is part of the first OSE 222, communicates directly with the resource manager 434. The resource manager 434 is a set of instructions configured to manage resources shared by the first OSE 222 and second OSE 224. The shared resources may include display devices, input devices, power management services and system state information. Furthermore, the resource manager 434 is configured to control OSE 222 and OSE 224 access to the hardware 220. Additionally, the resource manager 434 identifies and controls which OSE user interface is displayed through each of the first GUI 112 and second GUI 312
According to the present embodiment, the portal service 426 is the source of all communications from the first OSE 222 to the resource manager 434. Additionally, the portal service 426 is a sink for all callbacks from the resource manager 434 to the first OSE 222. The resource manager 434 provides a status discoverable application programming interface (API) to the portal service 426. This API is configured to be called by the resource manager 434 at any time. The resource manager 434 is configured to obtain and process runtime status, which allows for the resource manager to maintain a state machine. For the first OSE 222, the portal service 426 provides runtime status to processes that require them. Similarly, the portal service 426 requests and receives status updates from processes which provide status information. A similar communication for the second OSE 224 is controlled by the resource manager 434, which provides runtime status to the processes that require them. Resource manager 434 requests and receives status updates from various processes that provide status information. Device drivers 442 logically associated with the kernel 218 communicate directly with the resource manager 434 as well as the processes that provide runtime status information. By example, the API arbitrates access to user interface devices, such as displays, touch screens or the GUIs. Yet another example, the API arbitrates access to power input devices, such as batteries and/or AC/DC wall plugs.
The first OSE 222 and the second OSE 224 are independent from the other, and co-exist with respect to the other. Each OSE 222, 224 is a fully functioning operating system environment, and does not need the other operating system environment to function. The two operating system environments exist on the same device 110 with independence with respect to the other. As identified above, the first and second OSE 222, 224 do not co-exist in a virtualization or emulation scheme, but in fact each operates in its native mode on a single kernel 218. There is runtime co-existence in which both OSE 222, 224 run in their respective native environments and neither OSE 222, 224 is recompiled, as there is no need to leverage a common C runtime environment. Applications can be accessed by a user which are coded purely for one or the other OSE 222, 224 without an interruption to a user's computing experience.
Referring to
Referring to
Embodiments described above with reference to
The tabs described above are one form of application status indicators. Another form is soft buttons. A first set of soft buttons 335 are shown in the system status bar 330 of the device 310 in
Other forms of application status indicators are possible. For example, icons could be used to identify which application is being represented, and the appearance of the icon could be changed (for example, different background colors or different brightnesses could be used) to indicate the current status (state). As for the tabs and soft buttons described above, these could be located anywhere within the desktop or window of the second application, but not within the first OSE window 118 when it is rendered within the window of the second OSE, inasmuch as the application status indicators are being rendered by the second OSE.
Although the embodiments herein above have been based on an aspect of the first and second OSE that they are running on one central processing unit, this configuration is not used in all embodiments. In some embodiments the device 110 is not a mobile device. For example, a first device may be a tablet that hosts a first OSE on a central processing unit of the first device and a second device may be a desktop that hosts the second OSE on a central processing unit of the second device. The second OSE may then display application status indicators for applications of the first OSE, as described above and further below. In some embodiments, the window of the first OSE is not rendered on the second device. This embodiment may be appropriate when the first and second devices are visible to the user but the first device is not readily accessible and is more generally an output device.
Referring now to
At step 710, a second operating system environment (second OSE) renders a set of application status indicators on a graphical user interface. Each application status indicator indicates an identity and a current state of one of the open applications of the first OSE, wherein the open applications comprise applications that are in one of the open-running and open-suspended states. Note that in some embodiments, the application status indicators may indicate applications that are in the closed state. Note also that other states may exist, of which one example is a not started state. The not-started state may be indicated in an identical manner as the open-suspended state in some embodiments. Another example is an open-running-but-not-in-focus application state. The open-running-but-not-in-focus state may be indicated in an identical manner as the open-suspended state in some embodiments.
At step 715 the second OSE determines a user input to alter the state of one of the applications. The user input identifies the application and a new (different) state. The application so identified is hereafter referred to as the identified application. The identified application is one of the open applications. The user input indicates that the current status of the identified application is to be altered to a different state that is one of at least closed, open-running, and open-suspended. At step 720, the second OSE communicates to the first OSE an identity of the identified application and the different state. At step 725 the second OSE changes the rendering of the application status indicator of the identified application to indicate the different state.
It will be appreciated that the first OSE in some instances will open or close an application without input from the second OSE. These instances may be due to global or system events detected or caused by the first OSE. An example of an event detected by the first OSE is a received call. For some of these events, the first OSE may alter the open or closed state of a first OSE application, and notify the second OSE of the application identity and the new state. The second OSE can then modify the application status indicators accordingly. Also, when the first OSE is performing rendering of the first OSE on a display without the first OSE window being rendered within a window of the second OSE, such as when the second OSE is not running, or when each OSE is presenting its OSE window on different displays, then human input is senses by and responded to by the first OSE.
Referring to
Referring to
Referring to
Referring to
At step 1105 the first OSE renders a set of command group indicators in the first OSE window on a graphical user interface. Each command group indicator indicates an identity of a command group. Each tab may further indicate the state of each command group, which may be one of open-running and open-suspended. At step 1110 the second OSE determines a user input to alter the state of one of the command groups from open-suspended to open-running. At step 1115 the second OSE communicates to the first OSE an identity of the command group for which the state is to be altered to the open-running state. The first OSE then renders at step 1120 the identified command group in the first OSE window and hides the previously rendered command group, and changes the tabs of the identified command group and the previously rendered command group accordingly, to indicate their new status. The indication may be one of the indications described above for application status tabs.
Referring to
The software environment 216 (
While the invention has been particularly shown and described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention. For example, the WIW 320 may be rendered on display 113 by the second OSE 224, when the external device 310 is not coupled to the mobile device 110 or is coupled to the mobile device 110 and is also rendering the WIW, or when the external device 310 is coupled to the mobile device 110 but is inactive. It is specifically intended that the present invention not be limited to the embodiments and illustrations contained herein, but include modified forms of those embodiments including portions of the embodiments and combinations of elements of different embodiments as come within the scope of the following claims.
The processes illustrated in this document, for example (but not limited to) the method steps described in
This application is related to U.S. application Ser. No. ______, filed on ______, which is entitiled “METHOD AND APPARATUS FOR LOCKING AND UNLOCKING MULTIPLE OPERATING SYSTEM ENVIRONMENTS WITH A SINGLE GESTURE INPUT, and assigned to the assignee hereof.