SELECTIVE HIBERNATION OF ACTIVITIES IN AN ELECTRONIC DEVICE
20230081380 · 2023-03-16
Inventors
- Daniel Marc Gatan Shiplacoff (Los Altos, CA)
- Matias Gonzalo DUARTE (Sunnyvale, CA, US)
- Jeremy Godfrey LYON (Sunnyvale, CA, US)
Cpc classification
G06F3/04842
PHYSICS
H04M1/72403
ELECTRICITY
G06F1/3287
PHYSICS
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06F3/0483
PHYSICS
G06F1/3228
PHYSICS
Y02D30/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y02D10/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
G06F3/0481
PHYSICS
G06F3/0483
PHYSICS
G06F3/04842
PHYSICS
Abstract
In an electronic device capable of running multiple software applications concurrently, applications, documents, cards, or other activities can be selected for hibernation so as to free up system resources for other activities that are in active use. A determination is made as to which activities should hibernate, for example based on a determination as to which activities have not been used recently or based on relative resource usage. When an activity is to hibernate, its state is preserved on a storage medium such as a disk, so that the activity can later be revived in the same state and the user can continue with the same task that was being performed before the activity entered hibernation.
Claims
1. A method of operating a mobile computing device, the method comprising: concurrently running, on the mobile computing device, a multitude of distinct applications each representable on a display screen of the mobile computing device by a corresponding card containing a user interface for the corresponding application; placing a first application of the multitude of applications into a hibernation state; transitioning, in response to a user input, operation of the mobile computing device from a full-screen mode to a windowed mode, wherein while operating in the windowed mode, the method further comprises: displaying, on the display screen, the cards in a linear arrangement along an axis of the display screen; moving, in response to a directional touch input provided by a user along an axis of the display screen, the cards across the display screen in the same direction as the directional touch input; and detecting the user tapping the corresponding card of the first application displayed on the display screen; transitioning, in response to the user tapping the corresponding card of the first application, operation of the mobile computing device from the windowed mode to the full-screen mode; and reviving the first application in response to the user tapping the corresponding card of the first application, irrespective of a position of the corresponding card displayed on the display screen.
2. The method of claim 1, wherein: placing the first application into the hibernation state comprises: storing, in a storage device of the mobile computing device, state information for the first application in response to being placed in the hibernation state; and reviving the first application comprises: retrieving state information for the first application from the storage device; and restoring the first application based on the retrieved state information.
3. The method of claim 2, wherein the first application is restored based on the retrieved state information to the first application's state at the time the first application was placed into the hibernation state.
4. The method of claim 2, wherein the storage device comprises flash memory.
5. The method of claim 1, wherein the mobile computing device is transitioned from operating in the windowed mode to operating in the full-screen mode in response to reviving the first application such that the user interface of the first application occupies substantially the entire display screen.
6. The method of claim 1, wherein each card comprises a snapshot of the user interface for the corresponding application.
7. The method of claim 1, wherein the cards are moved across the display screen along the axis.
8. The method of claim 1, further comprising: maintaining the first application in the hibernation state during the moving.
9. The method of claim 1, further comprising: dismissing the first application based on the user dragging the corresponding card in an upward direction towards a top of the display screen.
10. The method of claim 1, wherein the first application is placed into the hibernation state after not being used for a first period of time.
11. The method of claim 1, wherein the first application is placed into the hibernation state in response to launching a second application.
12. The method of claim 1, wherein the first application is placed into the hibernation state in response to a low-memory condition of the mobile computing device.
13. The method of claim 1, wherein the first application is placed into the hibernation state based on at least one of a user preference, an amount of processing resources consumed by the running applications, or a limit on the number of applications concurrently running on the mobile computing device.
14. A mobile computing device, comprising: a touch-sensitive display screen; a processor coupled to the touch-sensitive display screen; and a memory coupled to the processor and storing instructions that, when executed by the processor, cause the mobile computing device to: concurrently run, on the mobile computing device, a multitude of distinct applications each representable on the touch-sensitive display screen by a corresponding card containing a user interface for the corresponding application; place a first application of the multitude of applications into a hibernation state; and transition, in response to a user input, operation of the mobile computing device from a full-screen mode to a windowed mode, wherein while operating in the windowed mode, execution of the instructions further cause the mobile computing device to: display, on the touch-sensitive display screen, the cards in a linear arrangement along an axis of the display screen; move, in response to a directional touch input provided by a user along an axis of the touch-sensitive display screen, the cards across the display screen in the same direction as the directional touch input; and detect the user tapping the corresponding card of the first application displayed on the display screen; transition, in response to the user tapping the corresponding card of the first application, operation of the mobile computing device from the windowed mode to the full-screen mode; and revive the first application in response to the user tapping the corresponding card of the first application, irrespective of a position of the corresponding card displayed on the touch-sensitive display screen.
15. The mobile computing device of claim 14, wherein: execution of the instructions to place the first application into the hibernation state causes the mobile computing device to: store, in a storage device of the mobile computing device, state information for the first application in response to being placed in the hibernation state; and execution of the instructions to revive the first application causes the mobile computing device to: retrieve state information for the first application from the storage device; and restore the first application based on the retrieved state information.
16. The mobile computing device of claim 15, wherein the first application is restored based on the retrieved state information to the first application's state at the time the first application was placed into the hibernation state.
17. The mobile computing device of claim 15, wherein the storage device comprises flash memory.
18. The mobile computing device of claim 14, wherein the mobile computing device is transitioned from operating in the windowed mode to operating in the full-screen mode in response to reviving the first application such that the user interface of the first application occupies substantially the entire display screen.
19. The mobile computing device of claim 14, wherein each card comprises a snapshot of the user interface for the corresponding application.
20. The mobile computing device of claim 14, wherein the cards are moved across the touch-sensitive display screen along the axis.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings illustrate several embodiments of the invention and, together with the description, serve to explain the principles of the invention. One skilled in the art will recognize that the particular embodiments illustrated in the drawings are merely exemplary, and are not intended to limit the scope of the present invention.
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
DETAILED DESCRIPTION
[0045] Related U.S. patent application Ser. No. 12/126,145, filed May 23, 2008, for “Navigating Among Activities in a Computing Device,” and U.S. patent application Ser. No. 12/416,279, filed Apr. 1, 2009, for “Card Metaphor for Activities in a Computing Device,” the disclosures of which are incorporated herein, describe various embodiments for running two or more activities concurrently on a computing device, and for interacting with these activities using various modes and user interface paradigms. In one embodiment, the present invention is implemented in conjunction with the various techniques described in these related applications, although one skilled in the art will recognize that the present invention can be implemented in other ways as well.
System Architecture
[0046] Referring now to
[0047] Device 100 also includes storage device 1102, which may be a hard drive, flash memory, or any other fixed or removable component for data storage. In one embodiment, as discussed in more detail below, the system and method of the present invention store activity state information 1103 in storage device 1102 when activities enter hibernation, and retrieve such state information 1103 from storage device 1102 when reviving activities.
[0048] In various embodiments, device 100 can also include additional components, such as, optionally, network interface 1107 (such as Bluetooth and/or wired connectivity to a network such as the Internet), and/or cellular network interface 1108 providing cellular telephony functionality. It is well known to provide such functionality on smartphones.
[0049] One skilled in the art will recognize that the functional architecture depicted in
[0050] In one embodiment, the invention can be implemented as a feature of an application management paradigm for a software application or operating system running on such a device. Accordingly, certain aspects of the present invention can be implemented as part of a graphical user interface for controlling software on such a device.
[0051] In various embodiments, the invention is particularly well-suited to devices 100 such as smartphones, handheld computers, and PDAs, which often have limited resources such as processing power, memory, and network bandwidth, and which are capable of running several software applications concurrently. One skilled in the art will recognize, however, that the invention can be practiced in many other contexts, including any environment in which it may be desirable to provide a mechanism for causing activities to hibernate, whether to conserve system resources, improve system responsiveness, reduce user confusion, or for any other reason. Accordingly, the following description is intended to illustrate the invention by way of example, rather than to limit the scope of the claimed invention.
[0052] Referring now to
[0053] In the example of
[0054] In one embodiment, screen 101 is touch-sensitive, so that a user can launch a software application, or open a document, or initiate any other activity by touching a displayed icon 106, and can manipulate cards 301 and other displayed objects by touching and/or gesturing in various areas of screen 101. For example, in one embodiment the user can dismiss an application or other activity by dragging its card 301 upward towards the top edge of screen 101. In one embodiment, the user can access open activities whose cards 301 are not currently visible on screen 101, by dragging on-screen cards 301 in a horizontal direction, thus causing off-screen cards 301 to come into view. Details of such operations are described in the related patent applications cited above. One skilled in the art will recognize that the present invention can be implemented in other embodiments wherein screen 101 is not touch-sensitive, and that the techniques described herein are not limited to applicability with any particular input mechanism.
[0055] In one embodiment, device 100 also includes a touch-sensitive gesture area 102 for entering gesture-based commands, as described in the above-referenced related patent applications. In another embodiment, screen 101 and/or gesture area 102 is sensitive to user motion in proximity to the surface, so as to detect gestures and commands performed near the surface but without necessarily contacting the surface.
[0056] For illustrative purposes, device 100 as shown in
[0057] In various embodiments, touch-sensitive screen 101 and gesture area 102 can be implemented using any technology that is capable of detecting a location of contact and/or user motion proximate to the surface. Alternatively, as mentioned above, the present invention can be implemented with other user input mechanisms, such as a keyboard, trackball, stylus, or the like.
[0058] In one embodiment, device 100 as shown in
[0059] Hibernation
[0060] In one embodiment of the present invention, device 100 selectively causes activities to hibernate. This can be done automatically, for example in response to certain trigger events or conditions, such as detection of a low-memory condition. Such a condition may occur, for example, when the number of open activities exceeds (or is close to exceeding) device's 100 capabilities, or when the performance, reliability, and/or stability of device 100 is/are in danger of being compromised because of an excess of concurrently running activities. The hibernation can take place automatically, without any user intervention. Alternatively, the user can be prompted to indicate whether to proceed with hibernation, so that hibernation takes place only if the user indicates that it should take place. In one embodiment, a user can manually initiate hibernation of an activity, for example by selecting a “hibernate” button or command
[0061] By providing selective hibernation of activities, the present invention enables implementation of a system wherein a larger number of activities can be opened, and wherein the user is not burdened with repeatedly closing and/or opening activities, and manually restoring state, in order to avoid exceeding limits on system resources. As described in more detail below, hibernating activities can be easily revived as needed, with a minimum of delay and without requiring the user to explicitly relaunch or restore state.
[0062] It may also be useful to cause an activity to hibernate for other reasons, such as to simplify operation of device 100, conserve user attention, and/or to enhance security (for example so as to avoid keeping an activity open that might cause device 100 to be vulnerable to unauthorized access over a computer network).
[0063] In one embodiment, wherein a software application may have more than one card 301 associated with it, activities associated with individual cards 301 can be placed into hibernation independently of one another. Alternatively, activities for all cards 301 associated with a software application can be placed into hibernation.
[0064] In one embodiment, as described in more detail below, when initiating hibernation of an activity, device 100 saves the state of the activity in storage 1102 so that it can later be restored. A snapshot of the activity's user interface is taken. This snapshot, or a portion thereof, or an image derived therefrom, is used to replace the live view presented in the card 301 (or cards 301) corresponding to the activity. In one embodiment, a distinctive visual characteristic or effect is applied to the card 301 corresponding to the activity, so as to inform the user that the activity is hibernating and that the image shown on card 301 is a static snapshot rather than a live presentation of the user interface. In one embodiment, the distinctive visual characteristic is an icon or text indicator; in another embodiment, the image shown in card 301 is grayed-out, shown in black-and-white, or otherwise modified or transformed. In another embodiment, the size, orientation, or other visual characteristic of card 301 is changed to indicate that the activity is hibernating. In another embodiment the image shown in card 301 is darkened or lightened, for example by applying a transparent grayscale overlay, referred to as a “scrim”, atop on the image shown in card 301. In one embodiment, the scrim is applied by the operating system of device 100 when card 301 is being displayed; thus, display 101 shows the snapshot for card 301 with the scrim applied. In another embodiment, the scrim is applied at the time the snapshot is made, so that the snapshot image itself incorporates the scrim, and no additional processing need be applied when displaying the snapshot.
[0065] In one embodiment, the snapshot is taken at a relatively high level of resolution so that it can be scaled as appropriate depending on the current displayed size of the associated card 301. In one embodiment, the snapshot occupies the card 301 associated with the hibernating activity. In another embodiment, some animation is introduced, for example to emphasize the fact that the activity is hibernating. In yet another embodiment, hibernating activities are represented in some other manner, such as a generic image or textual indicator, rather than being represented by a snapshot of the user interface.
[0066] Referring now to
[0067] In the example of
[0068] In one embodiment, cards 301 for hibernating activities maintain their positions with respect to cards 301 for live activities. In other embodiments, cards 301 are repositioned within the sequence when their activities hibernate, for example by being grouped with one another, or moved to the end of the sequence of cards 301, or otherwise repositioned to indicate the hibernation state.
[0069] Cards 301 for hibernating activities can be moved, repositioned, and otherwise manipulated in the same manner as cards 301 for live activities, although cards 301 for hibernating activities are occupied by static snapshots of their respective user interfaces. Thus, in one embodiment, the various techniques for interacting with cards 301, as described in the above-referenced related patent applications, can all be applied to cards 301 for hibernating activities. As will be described in more detail below, certain actions performed by the user may cause a hibernating activity to be revived.
[0070] Referring now to
[0071] In one embodiment, cards 301 for hibernating activities can be displayed in other modes as well. Referring now to
[0072] As described in the above-referenced related patent applications, shuffle mode is optimized for reordering and manipulating cards 301 representing activities. In one embodiment, in shuffle mode, cards 301 are shown at a reduced size, thus permitting more cards 301 to be shown on screen 101 simultaneously. In one embodiment, when device 100 is in shuffle mode, cards 301 are arranged linearly as they are in card mode. The user can rearrange cards 301 as described above for card mode, and substantially all of the behaviors described above with respect to card mode also apply to shuffle mode. Thus, when the user drags a card 301 to the left or right within display screen 100, other cards 301 move in concert with the dragged card 301. Shuffle mode provides a way to rearrange cards while being able to view more cards 301 simultaneously.
[0073] As shown in
[0074] In the example of
[0075] Referring now to
[0076] As described in the above-referenced related patent applications, in grid mode, cards 301 are presented at a size that permits all cards 301 to be displayed simultaneously. Thus, for example, in
[0077] As described in the above-referenced related patent applications, in one embodiment, in grid mode, a minimum card 301 size (or a maximum number of displayed cards 301) is enforced, even if this means that only a subset of cards 301 can be displayed. Thus, in effect, once cards 301 have been scaled down to the minimum size (or once the maximum number of displayed cards 301 is shown on screen 101), no further downward scaling takes place. Rather, scrolling is permitted to allow the user to access remaining non-displayed cards 301. Some visual indication can be provided to inform the user that additional cards 301 can be accessed via scrolling, for example by showing the edges of cards 301 that are off-screen. The user can scroll, for example, by moving cards 301 to the left or right, or performing a gesture in gesture area 102, or by any other known means.
[0078] In the example of
[0079] In one embodiment, as described in the above-referenced related patent applications, cards 301 can be visually grouped with one another. Thus, cards 301 having some relationship to one another (such as cards 301 associated with a particular software application) can be displayed in a manner that indicates and/or reinforces the relationship. For example, cards 301 representing various web pages being viewed via a browser application can be grouped.
[0080] In one embodiment, if a software application associated with a group of cards 301 is hibernating, all cards 301 in the group are shown with static snapshots 152 and scrims.
[0081] For example, one visual paradigm for indicating groups of cards 301 is to depict the cards 301 in a manner that resembles a stack or deck, with a fully-visible front card 301 (or “top card”) and one or more additional cards 301 depicted as though they are behind the front card 301. Referring now to
[0082] Another example of a visual paradigm for indicating groups of cards 301 is to depict the grouped cards 301 at a different size or vertical offset with respect to other cards 301. Referring now to
Revival
[0083] In one embodiment, a hibernating activity is revived when a user attempts to interact with it. As described in the above-referenced related patent applications, if a user taps or clicks on card 301 for an activity, that activity is given focus; in one embodiment, device 100 switches to a full-screen mode wherein the user can interact with the activity. In one embodiment, if the user taps or clicks on card 301 for a hibernating activity, the activity is automatically revived so that the user can interact with it. In one embodiment, the user is first prompted, for example via a dialog box (not shown) asking whether the selected activity should be revived. In another embodiment, the activity is revived without first prompting the user.
[0084] Revival of one or more activities can take place in any display mode, whether card mode, full-screen mode, shuffle mode, grid mode, or any other mode. According to various embodiments of the invention, different types of trigger events might cause an activity to be revived. In one embodiment, switching from one mode to another can trigger revival; in other embodiments, incoming communications, alerts, attempts by the user to perform certain actions, and/or other events can trigger revival of one or more activities. In some embodiments, placing a card 301 in the center position causes its activity to revive. In other embodiments, revival takes place after card 301 has occupied the center position for some period of time.
[0085] In some cases, it may take time for an activity to be revived, as data from activity state information 1103 is being retrieved and the activity is re-launched. Referring now to
[0086] Once revival is complete, static snapshot 152 is replaced by a live user interface for the activity, and the scrim (or other visual indication of hibernation state) is dismissed. In one embodiment, a visual transition effect, such as a dissolve effect, is performed between display of the static snapshot 152 and display of the live user interface. Once the revival process is complete, progress indicator 151 is dismissed.
[0087] Referring now to
[0088] Referring now to
[0089]
[0090] In one embodiment, a hibernating activity is revived when the user attempts to interact with the associated card 301 (other than to reposition or dismiss card 301). For example, if the user switches to full-screen mode while a card 301 for a hibernating activity is in the focus position (center position) on screen 101, in one embodiment the activity will automatically be revived.
[0091] In
[0092] In
[0093] In
Trigger Events
[0094] According to various embodiments of the present invention, hibernation of activities can be initiated in response to any of a number of different trigger events. In one embodiment, hibernation is initiated when a low-memory condition is detected. In other embodiments, hibernation is initiated when a determination is made that performance, reliability, and/or stability of device 100 may be compromised by depletion or overtaxing of system resources such as memory, processor speed, network bandwidth, or the like. Such conditions may occur, for example, when too many activities are open concurrently, or when some or all of the open activities consume an inordinately large fraction of available system resources.
[0095] In one embodiment, an attempt to launch a new activity can trigger hibernation of an already-open activity. For example, if the newly launched activity cannot be launched without first freeing up some system resources, or if the newly launched activity cannot be added to the set of currently open activities without detrimental effect to system performance, then hibernation of a previously open activity may be automatically initiated in response to the attempted launch of the new activity.
[0096] Referring now to
[0097] In this example, the system determines that launching the new activity will result in a low-memory condition or other overburdening of system resources. Accordingly, device 101 causes one of the open activities to hibernate, thus freeing up system resources and allowing the new activity to be launched. As shown in
[0098] Particular techniques for determining which activity should be selected for hibernation are discussed in more detail below.
[0099] In some embodiments, where a software application may be associated with two or more cards 301, cards 301 can hibernate and/or be revived independently of one another. Thus, a card 301 associated with a software application may be selected for hibernation while another card 301 for the same software application remains live. Conversely, a hibernating card 301 associated with a software application may be revived while another card 301 for the same software application remains in hibernation.
[0100] In other embodiments, a software application may be selected for hibernation, so that all cards 301 associated with that software application hibernate in concert with one another. Conversely, when the software application is being revived, all cards 301 associated with that software application are revived in concert with one another.
Method
[0101] Referring now to
[0102] In one embodiment, processor 1101 on device 100 detects 701 a low memory condition or potential low memory condition. In other embodiments, other events can trigger hibernation, such as detection that some fixed limit on open activities has been reached, or that some activities have been open without being used by the user for some period of time, or any other trigger event. If no such trigger event or condition has taken place, the method ends 799.
[0103] Processor 1101 selects 702 an activity (or more than one activity) for hibernation. The selection 702 can be made based on any factor or combination of factors, including memory usage, perceived importance of the activity, time since the activity was last viewed or used by the user, or the like.
[0104] In one embodiment, a priority order is established in order to determine which categories of activities should be placed into hibernation first. An example of such a priority order is as follows (from first to be placed into hibernation to last):
[0105] web browser;
[0106] other activities not directly associated with communication with other parties;
[0107] messaging application;
[0108] email application;
[0109] telephone application.
[0110] In one embodiment, the telephone application is not placed into hibernation if an active call is in progress.
[0111] In one embodiment, processor 1101 selects 702 an activity for hibernation according to the priority list. If hibernation of the selected activity is insufficient to resolve the low-memory condition (or whatever condition triggered the hibernation operation), another activity is selected. The process is repeated until the condition that triggered hibernation has been resolved.
[0112] In one embodiment, where a software application may have more than one card 301 associated with it, individual cards 301 can be placed into hibernation independently of one another. Thus, processor 1101 selects 702, for hibernation, an individual card 301 associated with a software application according to the priority list. In one embodiment, processor 1101 selects the card 301 occupying the most memory, or consuming the most system resources among those cards associated with the selected software application. In another embodiment, some other criterion (or more than one criteria) can be used for selecting an individual card 301 for hibernation. If hibernation of the activity associated with the selected card 301 is insufficient to resolve the low-memory condition (or whatever condition triggered the hibernation operation), another card 301 for that software application is selected. The process is repeated until the condition that triggered hibernation has been resolved.
[0113] Thus, in one embodiment, successive cards 301 for a given software application are selected for hibernation before cards 301 for a different software application are selected for hibernation. In another embodiment, cards 301 are selected based on the amount of memory or other resources they consume, regardless of which software application they are associated with. Thus, in this second embodiment, it is not necessary for all cards 301 for a given software application to be selected for hibernation before cards 301 for a different software application are selected.
[0114] In other embodiments, other criteria can be employed for selecting 702 activities for hibernation. Selection can be based on any of the following, alone or in any combination: [0115] Which activity is using the most memory; [0116] Which activity is using the most system resources; [0117] Which activity is using the most memory but is not currently in focus (active use); [0118] Which activity is using the most system resources but is not currently in focus (active use); [0119] Which activity is using the most memory but is not currently visible on screen 101; [0120] Which activity is using the most system resources but is not currently visible on screen 101; [0121] Which activity was least recently used or viewed by the user; [0122] Which activity was least recently launched; [0123] Which activity has been designated by the user as being appropriate for hibernation.
[0124] In one embodiment, a heuristic may be employed, including a combination of any or all of the above factors. One skilled in the art will recognize that the above list is merely exemplary, and that other factors may be employed.
[0125]
[0126] Processor 1101 saves 705 activity state information 1103 in storage device 1102. If one or more individual cards 301 for a software application are being placed into hibernation, in one embodiment the state for those card(s) 301 is stored. In one embodiment, if no activities remain live for a software application, the software application is closed 706 so as to free up resources for other activities.
[0127] Processor 1101 determines 707 whether sufficient memory has been freed (or whatever condition triggered the hibernation operation has been resolved). If so, the process ends 799. Otherwise, processor returns to step 702 to select another activity for hibernation.
[0128] Referring now to
[0129] In one embodiment, while the activity is being revived, display screen 101 displays progress indicator 151. The activity being revived is launched 803, if it has not already been launched. In one embodiment, where an individual card 301 is being revived, the software application associated with the card 301 may already be live because other cards 301 exist and are live for the software application. Thus, it may not be necessary to launch the software application. Processor 1101 retrieves 804 activity state information 1103 from storage device 1102, so as to restore the state of the activity. The snapshot for card 301 is replaced 805 with the appropriate live user interface; any scrim or other indicator of hibernation state is dismissed. In one embodiment, a transition effect can be employed while the live user interface is introduced and the scrim or other indicator dismissed. Once the activity is fully revived, progress indicator 151 is dismissed 806, and the method ends 899.
User Notification
[0130] As described above, in one embodiment, activities are placed into hibernation automatically in response to certain trigger events. In other embodiments, the user may be prompted to indicate whether activities should be placed into hibernation.
[0131] In some embodiments, when resources (such as memory 1106) of device 100 are low, and activities are in hibernation, it may be desirable to prevent or limit the launch of new activities. Thus, if the user attempts to launch a new activity under such conditions, the user can be prompted to dismiss activities in order to free up resources for new activities. Such a prompt may also be appropriate when a new activity would otherwise be automatically launched, such as to display a new incoming email message or for any other reason.
[0132] Referring now to
[0133] In one embodiment, a visual indicator can be provided to indicate to the user that an activity is potentially subject to hibernation should the need arise, or that hibernation is imminent. For example, a visual indicator can be presented to inform the user that, should hibernation be deemed necessary or advisable, a particular activity (such as one that is low-priority or has not recently been used by the user) is likely to be selected. An example of such an indicator is a visual depiction of decay, for example superimposed on the user interface for the card 301.
[0134] In one embodiment, under certain conditions, hibernating activities can be dismissed entirely. For example, in one embodiment, if device 100 is turned off, or enters a sleep state, hibernating activities are dismissed, and their state information 1103 is discarded from storage device 1102. In one embodiment, any open documents associated with the hibernating activities are saved. In one embodiment, a notification can be presented to inform the user that these activities are to be (or have been) dismissed.
[0135] In one embodiment, hibernation is implemented as a prelude to dismissal. Thus, a two-stage process is employed, wherein activities are placed into hibernation to conserve system resources; then, after some period of time, if the hibernating activities are not revived, they are dismissed.
Desktop Metaphor
[0136] The card metaphor described above is merely one example of an environment for implementing the present invention. In other embodiments, the present invention can be implemented in connection with other types of user interfaces, including for example a desktop-based interface having overlapping windows. Referring now to
[0137]
[0138] In
[0139] In
[0140] In various embodiments, the present invention can be implemented as a system or a method for performing the above-described techniques, either singly or in any combination. In another embodiment, the present invention can be implemented as a computer program product comprising a computer-readable storage medium and computer program code, encoded on the medium, for performing the above-described techniques.
[0141] The various features described above can be implemented singly or in any combination, as will be apparent to one skilled in the art.
[0142] The present invention has been described in particular detail with respect to possible embodiments. Those of skill in the art will appreciate that the invention may be practiced in other embodiments. First, the particular naming of the components, capitalization of terms, the attributes, data structures, or any other programming or structural aspect is not mandatory or significant, and the mechanisms that implement the invention or its features may have different names, formats, or protocols. Further, the system may be implemented via a combination of hardware and software, as described, or entirely in hardware elements, or entirely in software elements. Also, the particular division of functionality between the various system components described herein is merely exemplary, and not mandatory; functions performed by a single system component may instead be performed by multiple components, and functions performed by multiple components may instead be performed by a single component.
[0143] In various embodiments, the present invention can be implemented as a system or a method for performing the above-described techniques, either singly or in any combination. In another embodiment, the present invention can be implemented as a computer program product comprising a computer-readable storage medium and computer program code, encoded on the medium, for causing a processor in a computing device or other electronic device to perform the above-described techniques.
[0144] Reference in the specification to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
[0145] Some portions of the above are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps (instructions) leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic or optical signals capable of being stored, transferred, combined, compared, transformed, and otherwise manipulated. It is convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Furthermore, it is also convenient at times, to refer to certain arrangements of steps requiring physical manipulations of physical quantities as modules or code devices, without loss of generality.
[0146] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “displaying” or “determining” or the like, refer to the action and processes of a computer system, or similar electronic computing module and/or device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system memories or registers or other such information storage, transmission or display devices.
[0147] Certain aspects of the present invention include process steps and instructions described herein in the form of an algorithm. It should be noted that the process steps and instructions of the present invention can be embodied in software, firmware and/or hardware, and when embodied in software, can be downloaded to reside on and be operated from different platforms used by a variety of operating systems.
[0148] The present invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. Furthermore, the computers and/or other electronic devices referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
[0149] The algorithms and displays presented herein are not inherently related to any particular computer, virtualized system, or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will be apparent from the description provided herein. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any references above to specific languages are provided for disclosure of enablement and best mode of the present invention.
[0150] Accordingly, in various embodiments, the present invention can be implemented as software, hardware, and/or other elements for controlling a computer system, computing device, or other electronic device, or any combination or plurality thereof. Such an electronic device can include, for example, a processor, an input device (such as a keyboard, mouse, touchpad, trackpad, joystick, trackball, microphone, and/or any combination thereof), an output device (such as a screen, speaker, and/or the like), memory, long-term storage (such as magnetic storage, optical storage, and/or the like), and/or network connectivity, according to techniques that are well known in the art. Such an electronic device may be portable or nonportable. Examples of electronic devices that may be used for implementing the invention include: a mobile phone, personal digital assistant, smartphone, kiosk, desktop computer, laptop computer, consumer electronic device, television, set-top box, or the like. An electronic device for implementing the present invention may use an operating system such as, for example, Microsoft Windows Vista available from Microsoft Corporation of Redmond, Wash., or any other operating system that is adapted for use on the device. In some embodiments, the electronic device for implementing the present invention includes functionality for communication over one or more networks, including for example a cellular telephone network, wireless network, and/or computer network such as the Internet.
[0151] Finally, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the claims.
[0152] While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments may be devised which do not depart from the scope of the present invention as described herein. In addition, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the claims.