Apple patent involves hibernation mode for computers
TweetFollow Us on Twitter

Apple patent involves hibernation mode for computers

The invention relates generally to techniques for saving power in computing devices. More specifically, the present invention relates to a method and an apparatus for quickly recovering from a hibernation mode, wherein the active state of a computing device is preserved while power to the computing device is turned off.

The patent is for a system system that causes a computing device to enter a hibernation mode. During operation, the system creates a hibernation image for the computing device by identifying processes that do not have visible user interface elements, and generating the hibernation image so that processes with visible user interface elements can be reanimated from the hibernation image first to get the computing device reanimated quickly, while the identified processes are reanimated later. Next, the system stores the hibernation image in non-volatile storage. The system then causes the computing device to enter the hibernation mode, wherein the active state of the computing device is preserved in non-volatile storage while power to volatile storage is turned off.

Here's Apple's background and summary of the invention: "Power conservation is critically important for many types of computer systems. For example, portable computer systems need to conserve power in order to operate for long periods of time on battery power. Power conservation is also important for computer systems that directly (or indirectly) operate on A/C power to meet the strict power-usage requirements for Energy Star qualification.

"Many computer systems save power by entering a power-saving state known as 'sleep mode,' when they are not busy. During sleep mode, power is saved by placing much of the computer system in a low-power state, while power is maintained to volatile memory. Maintaining power to volatile memory preserves the active state of the computer system and thereby facilitates a nearly instant wake-up process, which provides an excellent user experience.

"One drawback of existing sleep systems is that if power is lost during sleep mode, any unsaved work in volatile memory disappears. This loss of power can be easily triggered if a user is distracted for a few hours, or takes too long when performing a sleep-swap of the system battery. Unfortunately, as computer systems begin to incorporate larger amounts of random-access memory (RAM), correspondingly more power is required keep this RAM memory powered up during sleep mode. At the same time, as portable computer systems become progressively thinner and lighter, they contain correspondingly smaller batteries.

"As a consequence of these trends, a few years ago, a laptop computer system could be expected to last multiple days in sleep mode, whereas at present, a new laptop computer system can rarely last more than a full day in sleep mode when it is configured with a maximum amount of RAM.

"One solution to this problem is to place the computer system into a hibernation mode, wherein the active state of a computing device is preserved while power to the computing device is turned off. Unfortunately, the response time for recovering from hibernation mode when a wakeup event is detected can be long, especially for computer systems configured with a maximum amount of RAM. Note that "response time" refers to the time it takes from the point when the computer system detects a wakeup event to the point the user can interact with the computer system.

"Hence, what is needed is a method and an apparatus that enables computer systems to quickly recover from a hibernation mode.

"One embodiment of the present invention provides a system that causes a computing device to enter a hibernation mode. During operation, the system creates a hibernation image for the computing device by identifying processes that do not have visible user interface elements, and generating the hibernation image so that processes with visible user interface elements can be reanimated from the hibernation image first to get the computing device reanimated quickly, while the identified processes are reanimated later. Next, the system stores the hibernation image in non-volatile storage. The system then causes the computing device to enter the hibernation mode, wherein the active state of the computing device is preserved in non-volatile storage while power to volatile storage is turned off.

"In a variation of this embodiment, the system reanimates the computing device by first reanimating processes with visible user interface elements from the hibernation image to get the computing device reanimated quickly, and then reanimating the identified processes.

"In a variation of this embodiment, while generating the hibernation image, the system evicts user pages for the identified processes into swap space in non-volatile storage, so that the user pages do not have to be part of the hibernation image, and can be swapped back in later as needed after the computing device is reanimated.

"In a variation of this embodiment, while generating the hibernation image, the system writes kernel pages and user pages for processes with visible user interface elements to a first portion of the hibernation image, wherein the first portion of the hibernation image is reanimated first. Next, the system writes pages for the identified processes that do not have visible user interface elements to a second portion of the hibernation image, wherein the second portion of the hibernation image is reanimated after the first portion. The system then marks operating system structures to ensure that a system pager does not swap out physical pages allocated to the user pages for the identified processes before the user pages for the identified processes can be restored during the reanimation process.

"In a variation of this embodiment, while identifying processes that do not have visible user interface elements, the system identifies processes that do not have visible user interface elements and which have a memory footprint above a threshold size.

"In a variation of this embodiment, the processes that do not have visible user interface elements can include processes that are associated with an off-screen session."

The inventors are Dean Reece and Joseph Sokol. The graphic below illustrates a computing device in accordance with an embodiment of the present invention.

image

For more info on patents, check out Patents.com, a free patent search site.image

imageIf you like what you see at Macsimum News, if you read Macsimum regularly, if we cover your products/services, feel free to leave us a tip at the MACSIMUM TIP JAR.

 
AAPL
$493.17
Apple Inc.
+0.00
GOOG
$611.46
Google Inc.
+0.00
MSFT
$30.77
Microsoft Corpora
+0.00
MacNews Search:
Community Search:

Ragdoll Blaster 3 Review
Ragdoll Blaster 3 Review By Carter Dotson on February 9th, 2012 Our Rating: :: A BLASTiPhone App - Designed for the iPhone, compatible with the iPad Ragdoll Blaster 3 is the newest, most colorful entry in the Ragdoll Blaster franchise from Backflip Studios.   | Read more »
Call of Cthulhu: The Wasted Land Review
Call of Cthulhu: The Wasted Land Review By Rob Thomas on February 9th, 2012 Our Rating: :: ANSWER THE CALLUniversal App - Designed for iPhone and iPad Battle foul cultists and star-spawned evils amid the gas-soaked trenches of World War I in this turn-based strategy game, courtesy of Red Wasp Design.   | Read more »
Tweetbot for iPad Review
Tweetbot for iPad Review By Carter Dotson on February 9th, 2012 Our Rating: :: WELL-BUILT MACHINEiPad Only App - Designed for the iPad Tweetbot for iPad is a Twitter client, created by design-conscious iOS developer Tapbots.   | Read more »
Tic Tac Viewr is a Minty Fresh Augmented...
Smartphones are changing how we see the world. With the cameras on them becoming more and more powerful, phones are now able to see our reality and present it back to us in an augmented form. It may ultimately just be an advertisement for their “Shake it Up” campaign, but Tic Tac mints’ new Tic Tic Viewr app still shows off how novel augmented... | Read more »
Huntville Review
Huntville Review By Kevin Stout on February 9th, 2012 Our Rating: :: GREAT MULTIPLAYERiPad Only App - Designed for the iPad While Huntville may not be the most enjoyable game, it has some awesome features that can’t be overlooked.   | Read more »
The 60beat GamePad Adds Support for More...
One of the concerns with 60beat’s GamePad has been whether the device would see enough support from developers to make it worthwhile. As promised by 60beat back when it was announced, February has rolled around and some titles are beginning to support the 60beat. | Read more »
Unstoppable Gorg Review
Unstoppable Gorg Review By Kevin Stout on February 9th, 2012 Our Rating: :: UNFORGETTABLEiPad Only App - Designed for the iPad Unstoppable Gorg is an unforgettable tower defense for the iPad with a 50s sci-fi theme and some incredibly unique gameplay elements.   | Read more »
Pirates of Black Cove: Sink ‘Em All Will...
Nitro Games have announced an iOS spinoff of their pirate-themed PC game Pirates of Black Cove, Sink ‘Em All – and they have an entertaining trailer to go along with it. This will take the ship combat gameplay of the PC version and make it the featured element, essentially a naval isometric shooter with cannons to fire, and booty to plunder. Well... | Read more »
Boy Loves Girl Review
Boy Loves Girl Review By Jennifer Allen on February 9th, 2012 Our Rating: :: TOUCHINGUniversal App - Designed for iPhone and iPad A charming and memorable game about a boy desperate to impress a girl.   | Read more »
Interview with Grubby Hands’s Company Di...
With Valentine’s Day just around the corner, we’ve been focusing on the romantic aspects of the App store. Alongside reviewing Boy Loves Girl, the tale of a boy keen to woo the lady in his life, we had the opportunity to interview Dr Danny Pearce, Company Director for the game’s British developer, Grubby Hands. One particular question that’s bound... | Read more »
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.