<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.6//EN" "ep-patent-document-v1-6.dtd">
<!--This XML data has been generated under the supervision of the European Patent Office -->
<ep-patent-document id="EP17817990B1" file="EP17817990NWB1.xml" lang="en" country="EP" doc-number="3552097" kind="B1" date-publ="20240522" status="n" dtd-version="ep-patent-document-v1-6">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYALTRBGCZEEHUPLSK..HRIS..MTNORS..SM..................</B001EP><B003EP>*</B003EP><B005EP>J</B005EP><B007EP>BDM Ver 2.0.26 -  2100000/0</B007EP></eptags></B000><B100><B110>3552097</B110><B120><B121>EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B1</B130><B140><date>20240522</date></B140><B190>EP</B190></B100><B200><B210>17817990.9</B210><B220><date>20171201</date></B220><B240><B241><date>20190515</date></B241><B242><date>20210222</date></B242></B240><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>201615372236</B310><B320><date>20161207</date></B320><B330><ctry>US</ctry></B330></B300><B400><B405><date>20240522</date><bnum>202421</bnum></B405><B430><date>20191016</date><bnum>201942</bnum></B430><B450><date>20240522</date><bnum>202421</bnum></B450><B452EP><date>20231215</date></B452EP></B400><B500><B510EP><classification-ipcr sequence="1"><text>G06F   9/4401      20180101AFI20180615BHEP        </text></classification-ipcr></B510EP><B520EP><classifications-cpc><classification-cpc sequence="1"><text>G06F   9/4418      20130101 FI20221011BHEP        </text></classification-cpc><classification-cpc sequence="2"><text>Y02D  10/00        20180101 LA20200801RHEP        </text></classification-cpc></classifications-cpc></B520EP><B540><B541>de</B541><B542>OPTIMIERTE LEISTUNGSÜBERGÄNGE BASIEREND AUF BENUTZER- ODER PLATTFORMBEDINGUNGEN</B542><B541>en</B541><B542>OPTIMIZED POWER TRANSITIONS BASED ON USER OR PLATFORM CONDITIONS</B542><B541>fr</B541><B542>TRANSITIONS DE PUISSANCE OPTIMISÉES BASÉES SUR DES CONDITIONS D'UTILISATEUR OU DE PLATEFORME</B542></B540><B560><B561><text>US-A1- 2007 074 053</text></B561><B561><text>US-A1- 2007 250 730</text></B561><B561><text>US-B2- 8 914 658</text></B561></B560></B500><B700><B720><B721><snm>MAISURIA, Paresh</snm><adr><str>Microsoft Technology Licensing, LLC
One Microsoft Way</str><city>Redmond, WA 98052-6399</city><ctry>US</ctry></adr></B721><B721><snm>SCHWARTZ, James, Anthony, Jr.</snm><adr><str>Microsoft Technology Licensing, LLC
One Microsoft Way</str><city>Redmond, WA 98052-6399</city><ctry>US</ctry></adr></B721><B721><snm>SOLIMAN, M., Nashaat</snm><adr><str>Microsoft Technology Licensing, LLC
One Microsoft Way</str><city>Redmond, WA 98052-6399</city><ctry>US</ctry></adr></B721><B721><snm>HOLLE, Matthew</snm><adr><str>Microsoft Technology Licensing, LLC
One Microsoft Way</str><city>Redmond, WA 98052-6399</city><ctry>US</ctry></adr></B721></B720><B730><B731><snm>Microsoft Technology Licensing, LLC</snm><iid>101919221</iid><irf>O10816.08226</irf><adr><str>One Microsoft Way</str><city>Redmond, WA 98052-6399</city><ctry>US</ctry></adr></B731></B730><B740><B741><snm>CMS Cameron McKenna Nabarro 
Olswang LLP</snm><iid>101670164</iid><adr><str>Cannon Place 
78 Cannon Street</str><city>London EC4N 6AF</city><ctry>GB</ctry></adr></B741></B740></B700><B800><B840><ctry>AL</ctry><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>MK</ctry><ctry>MT</ctry><ctry>NL</ctry><ctry>NO</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>RS</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>SM</ctry><ctry>TR</ctry></B840><B860><B861><dnum><anum>US2017064105</anum></dnum><date>20171201</date></B861><B862>en</B862></B860><B870><B871><dnum><pnum>WO2018106517</pnum></dnum><date>20180614</date><bnum>201824</bnum></B871></B870></B800></SDOBI>
<description id="desc" lang="en"><!-- EPO <DP n="1"> -->
<heading id="h0001">BACKGROUND</heading>
<heading id="h0002">Background and Relevant Art</heading>
<p id="p0001" num="0001">As a means to save power, operating systems (OSs) may implement a hibernate sleep state, such as the ACPI-defined sleep state called S4 Hibernate, for a computing system. This hibernate state inventories memory of the system, stores it to non-volatile storage media, such as to disk in a hibernate file and turns power to the system off. Later, when power to the system is restored, the hibernate file on disk is detected and restored to memory so that no user-state is lost.</p>
<p id="p0002" num="0002">In addition to the hibernate file, some virtual memory contents may already be stored on non-volatile storage media, such as on disk as a result of being in paged into a virtual memory pagefile stored on disk during ordinary operations of the computing system. This data stored in virtual memory does not need to be stored in the hibernate file as it is already persisted in non-volatile media. Indeed, storing this data in the hibernate file would cause multiple inefficiencies in that it would require a longer time to hibernate the system due to the need to move the data from the pagefile to the hibernate file. Additionally, it would make the pagefile larger such that restoring from sleep would also be less efficient.</p>
<p id="p0003" num="0003">The subject matter claimed herein is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one exemplary technology area where some embodiments described herein may be practiced.<br/>
<patcit id="pcit0001" dnum="US2007250730A1"><text>US 2007/250730 A1</text></patcit> discloses a system that causes a computing device to enter a hibernation mode. The system generates a hibernation image which ensures that visible user interface elements can be reanimated prior to identified processes to get the computing device reanimated quickly.<br/>
<patcit id="pcit0002" dnum="US8914658B2"><text>US 8 914 658 B2</text></patcit> discloses a method, computer program product, and system for initiating hibernation when a user is in a meeting.</p>
<heading id="h0003">BRIEF SUMMARY</heading>
<p id="p0004" num="0004">According to aspects of the present invention there is provided a system and a method as defined in the accompanying claims.</p>
<p id="p0005" num="0005">One embodiment illustrated herein includes a computer implemented method of<!-- EPO <DP n="2"> --> hibernating a computing system. The method includes detecting at least one condition which includes a non-volatile storage type information, wherein the non-volatile storage type information is used to infer at least one of I/O access speed and relative cost of random I/O reads to contiguous reads; detecting that the computing system comprises non-volatile storage media which does not penalize disk seeks, wherein the non-volatile storage media comprises a pagefile and a hibernate file; detecting a trigger indicating that the computing system is to be put into a hibernate state; and as a result of detecting that the computing system comprises non-volatile storage media which does not penalize disk seeks and the trigger, performing hibernation to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system, by determining portions of the state in a memory to be stored in the pagefile and portions of the state in a memory to be stored in the hibernate file.<!-- EPO <DP n="3"> --></p>
<p id="p0006" num="0006">This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description.</p>
<p id="p0007" num="0007">Additional features and advantages will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the teachings herein. Features and advantages of the invention may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. Features of the present invention will become more fully apparent from the following description and appended claims, or may be learned by the practice of the invention as set forth hereinafter.</p>
<heading id="h0004">BRIEF DESCRIPTION OF THE DRAWINGS</heading>
<p id="p0008" num="0008">In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description of the subject matter briefly described above will be rendered by reference to specific embodiments which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments and are not therefore to be considered to be limiting in scope, embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
<ul id="ul0001" list-style="none" compact="compact">
<li><figref idref="f0001">Figure 1</figref> illustrates a system configured to optimize hibernation strategies;</li>
<li><figref idref="f0002">Figure 2</figref> illustrates additional details with respect to storing state to non-volatile storage;</li>
<li><figref idref="f0003">Figure 3</figref> illustrates a user interface and various details with respect to restoring from hibernate;</li>
<li><figref idref="f0004">Figure 4</figref> illustrates the user interface and additional details with respect to restoring from hibernate;</li>
<li><figref idref="f0005">Figure 5</figref> illustrates a flow showing various actions that can be performed with respect to hibernation processes; and</li>
<li><figref idref="f0006">Figure 6</figref> illustrates a method of hibernating a computer system.</li>
</ul></p>
<heading id="h0005">DETAILED DESCRIPTION</heading>
<p id="p0009" num="0009">Embodiments illustrated herein implement mechanisms where hibernate behavior is adjusted at runtime based on user and/or platform conditions. The OS will assess user, platform, or other conditions and preferences and use this as input to decide how best to optimize the hibernate experience. In particular, a number of different<!-- EPO <DP n="4"> --> hibernate strategies may be available. Based on various conditions, one of the strategies may be selected for hibernating the system.</p>
<p id="p0010" num="0010">In particular, new types of non-volatile storage media allow for very fast access of data. Using this new media, when restoring from hibernate, a sufficient amount of state is needed from the hibernate file to provide the user with only some basic parts of a user interface. For example, a basic user interface background, lock screen and/or mouse controlled pointer may be provided to the user. Additional user interface elements can be gradually restored from the pagefile in virtual memory either in some defined order and/or based on user interaction with the user interface so as to restore elements that appear to be desired by the user more quickly than other elements. If the media (i.e., the non-volatile storage media) storing the pagefile is sufficiently fast, elements can be restored on demand very quickly, and with little impact to the user. In particular, the hibernate file is restored in its entirety, and additional state can be paged in, on demand, from the pagefile.</p>
<p id="p0011" num="0011">In contrast, the larger the hibernate file, the longer it takes to provide the user with basic user interface elements at restore. Thus, on hibernate, data in the physical memory can be sent to a pagefile in virtual memory to reduce the amount of data that needs to be stored in the hibernate file. However, this causes the hibernate process to take longer. In particular, writing to the hibernate file can be optimized because it is a mirror of physical memory. Since the pagefile is dealing with virtual memory and multiple address spaces, writing to the pagefile takes additional coordination (flushing per process / address space). The consequence of this is that one is likely to get larger, more contiguous writes to the hibernate file.</p>
<p id="p0012" num="0012">Thus, attempting to reduce the size of the hibernate file, while benefiting the user when restoring, may adversely affect the user when hibernating. Thus, embodiments herein can determine if there is sufficient time to flush state from memory to the pagefile without adversely affecting the user.</p>
<p id="p0013" num="0013">Reference is now made to <figref idref="f0001">Figure 1</figref>, with illustrates a system 100. The system 100 includes system memory 102. The system memory 102 includes state for the system 100. Such state may include, for example, data values defining progression of execution of various executable entities, such as applications, drivers, operating system components, etc. The state may further include user state for at least one user of the system 100. User state may include information for a user, such as information about what applications, and state of applications a user is using on the system 100. User state may additionally or alternatively include authentication information for the user for various applications or<!-- EPO <DP n="5"> --> services being used by the user. In general, user state is any state that can be identified as being directly associated with a particular user of the system 100.</p>
<p id="p0014" num="0014">Note that the state may be stored in a distributed fashion where different portions of the state are stored in different locations. For example, with reference to <figref idref="f0002">Figure 2, Figure 2</figref> illustrates that state 104 stored in a distributed fashion, where a first portion 104-1 of the state 104 is stored in memory 102 and a second portion 104-2 of the state is stored in a pagefile 106 of virtual memory 108 on non-volatile storage 110 for the system 100. Note that various well-known virtual memory operations can be used to move portions of the state 104.</p>
<p id="p0015" num="0015">The non-volatile storage 110 of the system 100, may be for example, a hard-drive, solid state drive, or other storage that can persist data when power is removed from the non-volatile storage 110. As will be illustrated in detail below, some embodiments may include functionality for determining what type(s) of non-volatile storage are included in the system 100 and may use this information in determining how to hibernate the system 100. Although, in other embodiments, the non-volatile storage 110 may be known to be a particular type of storage having certain performance characteristics. In particular, it may be known that data can be accessed at or above some threshold speed. This allows for less user impact when a small hibernate file 114 that includes only sufficient information to provide a limited user interface and other state is gradually obtained from the pagefile 106. If the pagefile can be accessed with sufficient speed, then the user experience is more acceptable as additional user interface portions and applications can be loaded into memory 102 more quickly on resume.</p>
<p id="p0016" num="0016">When the system 100 hibernates, at least some portion of system state needs to be persisted. In particular, the state 104 may be stored in the non-volatile storage 110 such that when power is removed from major portions of the system, including from the memory 102, the processor 112, and non-volatile storage 110, the state 104 will persist, such that when the system 100 returns from hibernate, and power is reapplied to the memory 102, processor 112 and non-volatile storage 110, the state 104 can be accessed by the system 100 to return the system to the state that it was operating prior to hibernation.</p>
<p id="p0017" num="0017">To persist the state 104, the state 104 can be stored to the non-volatile storage 110. As noted, parts of the state, such as the portion 104-2, are already stored to the non-volatile storage 110. In the most basic example, the remaining parts of the state, that is, the portion 104-1 of the state 104 is stored to the hibernate file 114 such that all of the state 104 is stored to non-volatile storage 110.<!-- EPO <DP n="6"> --></p>
<p id="p0018" num="0018">However, it should be noted that other strategies for storing the state may be implemented. For example, parts of the portion 104-1 could be flushed to virtual memory 108, to the portion 104-2, which will reduce the size of the portion 104-1 stored in the hibernate file 114. Indeed, in some embodiments, part of the portion 104-2 may actually be read into memory 102, into the portion 104-1 of state and then stored to the hibernate file 114 as part of the hibernation process. Thus, various strategies may be implemented for determining what portions of the state 104 are stored in the pagefile 106 and what portions of the state 104 are stored in the hibernate file 114.</p>
<p id="p0019" num="0019">As part of the hibernation process, embodiments illustrated herein are able to analyze various conditions and use this analysis to select and/or refine hibernation strategies selected to put the system into a hibernate state. For example, <figref idref="f0001">Figure 1</figref> illustrates hibernation strategy logic 116. The hibernation strategy logic 116 may receive as inputs various conditions 118. Such conditions 118 may include user presence information, non-volatile storage type information, non-volatile storage size information, system type information, system connection information, system peripheral information, system triggers received for triggering putting the system 100 into hibernate, etc. Note that the non-volatile storage type information may be used to infer I/O access speed and/or relative cost of random I/O reads to contiguous reads. Alternatively or additionally, I/O access speed and/or relative cost of random I/O reads to contiguous reads may be provided in metadata to the hibernation strategy logic 116. Alternatively or additionally, in some embodiments, I/O access speeds, and in particular, write speeds, can be measured for use in determining hibernate strategies.</p>
<p id="p0020" num="0020">There are additional characteristics that can factor into the decision of flushing to the pagefile or not. For example, the cost of random I/Os to contiguous I/Os including such factors as the disk rotation with seek cost may be considered. It is significantly more costly to flush to page file than hiberfile on a rotational disk compared to a SSD. Another characteristic may be when different storage types are available for pagefile versus hibernate file 114. If the pagefile (or pagefiles if there are more than one) and the hibernate file 114 are on different storage devices, they have different characteristics which cause one to be more costly than the other.</p>
<p id="p0021" num="0021">The hibernation strategy logic 116 may also receive a trigger 120. This trigger 120 indicates that the system 100 should be put into hibernate. For example, this may include a lid closing on a laptop device, a hibernate button press, a given amount of time elapsing, a determination that a user is not present (and potentially that the use has not<!-- EPO <DP n="7"> --> been present for a particular amount of time) etc. Thus, embodiments may use inputs such as how the power transition to hibernate is initiated.</p>
<p id="p0022" num="0022">The hibernation strategy logic 116 can evaluate the conditions when the trigger 120 is received to determine a hibernation strategy for putting the system into hibernate. In particular, conditions may be used to determine which parts of the state 104 should be persisted to the pagefile 106 and which parts of the state 104 should be persisted to the hibernate file 114.</p>
<p id="p0023" num="0023">For example, in general, if there is a need to hibernate quickly, the portion104-1 of state 104 in memory 102 will be written to the hibernate file 114 without much if any attempt to change that portion 104-1. For example, a lid closing may indicate that a user is about to physically move the system 100. Thus, there may be an advantage to performing hibernation steps quickly to avoid disk accesses while the system 100 is making somewhat violent movements which might cause severe hard disk errors to the non-volatile storage 110 if writes are being performed during the movement. In contrast, if the hibernation steps are being performed in response to a timeout trigger, it may be assumed that the system 100 is unlikely to be used for some period of time, and therefore the hibernation process may be extended. In particular, various actions could be performed to make resume from hibernate occur more quickly, when it occurs. Various examples will be illustrated below. Note that the examples below illustrate how a hibernation strategy may be selected based on a single condition (or some low number of conditions) it should be appreciated that other embodiments may combine various conditions to perform a calculus and make engineering trade-offs when selecting and/or tuning a hibernation strategy.</p>
<p id="p0024" num="0024">Note that hibernation strategies may be implemented in several fashions. For example, in some embodiments, a hibernation strategy may be selected from a closed set of hibernation strategies, such as the set of hibernation strategies 122. In particular, conditions 118 can be evaluated and based on a score or other logical determination, a hibernation strategy may be selected from the hibernation strategies 122. Such hibernation strategies may include, for example:
<ul id="ul0002" list-style="dash" compact="compact">
<li>store all state in memory 102 to the hibernate file;</li>
<li>flush portions of the state in memory 102 to the pagefile 106;</li>
<li>flush all portions of the state in memory 102 to the pagefile 106, except those portions needed to provide a basic user interface, which are stored to the hibernate file 114.</li>
</ul></p>
<p id="p0025" num="0025">Other embodiments may include functionality for tuning hibernation strategies.<!-- EPO <DP n="8"> --> For example, embodiments may attempt to reduce the amount of state stored to the hibernate file 114 by a certain percentage or storage amount. Some embodiments may attempt to define a custom strategy to have a specific amount of state data written to the hibernate file 114. Some embodiments may identify an amount of time that hibernate steps may be performed and implement or select steps that allow a hibernation strategy to be performed within the amount of time. For example, embodiments may estimate an amount of time that will elapse before the system is physically moved, an amount of time a user is expected to be absent from the system 100, an amount of time a user can tolerate waiting for hibernation to occur, etc. This estimated time may be used to automatically select hibernation steps that will be able to be performed within this estimated time.</p>
<p id="p0026" num="0026">The following now illustrates various hibernation strategies that may be performed:<br/>
In one example, embodiments may detect available storage in the non-volatile storage 110, and if necessary, reduce the size of the hibernate file 114 on disk by compressing state data or aggressively flushing state data to virtual memory 108 (and specifically into the pagefile 106) and/or discarding non-critical memory before hibernating.</p>
<p id="p0027" num="0027">Additionally or alternatively, the size of the hibernate file 114 may be optimized (either reduced or increased) based on I/O speeds and capabilities of the backing storage hierarchy. For example, if the non-volatile storage 110 is sufficiently fast, and there is sufficient time to flush large portions of the state data from memory 102 to the pagefile 106, then embodiments will reduce the amount of state data to be stored in the hibernate file 114 by flushing data to the pagefile 106. For example, the same amount of data needs to be written to disk, whether it is the hibernate file 114 or the pagefile 106. The I/O patterns between the two files differ and how the non-volatile storage 110 handles those differences can be used in determining which strategy to impose. A difference between the two strategies is that writing to the pagefile 106 can lead to more random (i.e., smaller and/or non-contiguous I/Os). Fast storage which does not penalize disk seeks can result in near identical time writing to the pagefile 106 as to the hibernate file 114. For the reasons previously discussed, it may advantageous to bias towards writing to the pagefile 106 if the cost is the same or within some predetermined margin.</p>
<p id="p0028" num="0028">Some embodiments may determine to take additional time when hibernating to optimize for the resume experience. For example, embodiments may determine that the user is not present, and therefore will not be impacted by a hibernate process that takes<!-- EPO <DP n="9"> --> longer than a hibernate process that does not optimize for the resume experience, or that performs fewer optimizations for the resume experience. Thus, embodiments may be able to take additional time to create a hibernate file 114 that is of a size, and includes state data that makes the resume experience very efficient when the system resumes from hibernate.</p>
<p id="p0029" num="0029">In particular, in an example where no user is present, the OS could take additional time and do more work as part of the transition to hibernate, thus improving the speed of the resume experience. The OS could perform actions such as flushing more pagable memory from the memory 102 to the backing pagefile 106, thus reducing the size of the hibernate file 114 (and thus reducing the time required for reading that smaller hibernate file on the resume path). Flushing pagable memory takes more time that writing the equivalent data to the hibernate file 114. However, with no user present, this does not constrain this process.</p>
<p id="p0030" num="0030">User presence triggers may include various factors. For example, some embodiments may use sensors on the system 100 to determine if the user is present. Such sensors may include peripheral devices such as a mouse, keyboard, touchscreen, or other user input devices. A user not interacting with these devices for some period of time may be an indicator that a user is not present.</p>
<p id="p0031" num="0031">Additionally or alternatively, embodiments may use one or more of a camera, infrared sensor, microphone and/or other sensor to attempt to physically identify a user in proximity to the system 100. Indeed, in some embodiments, facial recognition software may be used to determine if an authorized user is present at the system 100. Thus, even though the system 100 may be able to detect an individual near the system 100, the system 100 can further determine that the individual is not an authorized user of the system 100, and may therefore still select a hibernation strategy consistent with the user not being present at the system. Typically, such hibernation strategies have the ability to optimize storage of state 104 between the hibernate file 114 and the pagefile 106 in a way that allows for resuming quickly from hibernate.</p>
<p id="p0032" num="0032">Alternatively or additionally, some embodiments may be able to detect user presence by using user data about the user. Such user data may include scheduling data, communication data between the user and other users, location data of the user (such as by the user carrying a device that can be located, the user checking in at some location, etc.). For example, such data may include data in calendar entries, emails, or other user data. For example, a calendar entry may indicate that the user is to be in a particular location or that a user has a particular appointment that would make the user being present at the system<!-- EPO <DP n="10"> --> unlikely. For example, the user may have a calendar entry for a dentist appointment at a particular time. Using this information, the system 100 could determine that the user is unlikely to be present at the system 100. Therefore, the system could determine that sufficient time is available to optimize a hibernate for quick resume. In some embodiments, this user data could be obtained from data stored on the system 100 itself. Alternatively or additionally, this data may be obtained from a service or other system remote from the system 100 through connection from the system 100 to other services and/or system.</p>
<p id="p0033" num="0033">In yet another example, the system 100 may be connected through network or other connections to other systems directly used by the user. Embodiments could detect that the user is present at one of the other systems, and that therefore, the user is unlikely to be present at the system 100. This could be used to determine that sufficient time is available such that hibernate steps could be optimized for quick resume from hibernate.</p>
<p id="p0034" num="0034">In another example, if there is a determination of an amount of time that constrains the hibernation process, embodiments may select a particular amount of pageable memory from the memory 102 that can be reliably flushed to the pagefile 106 within the determined amount of time. This determination may be made based on passed flushing processes, a determination of other operations the system 100 is presently performing, and/or other relevant factors. In some embodiments, the determined time may be determined using machine learning techniques or other techniques to fine-tune the amount of state data that can be reliably flushed to the pagefile 106 in the determined amount of time.</p>
<p id="p0035" num="0035">If the user is manually initiating the transition to hibernate, such as by pressing a button or closing a system lid, embodiments may opt for a speedy hibernation, by performing fewer operations on state data in memory than when optimizing for a quicker resume experience, based on the assumption that the user is present and waiting for completion of the hibernation process. For example, if the user has actively requested the system 100 go to hibernate (e.g. via a button-press or a lid closing), then there may be a requirement to quickly transition to hibernate. In this case, embodiments could immediately inventory all of the memory 102 that is in use and begin writing it to the hibernate file 114 on the non-volatile storage 110. This simpler mechanism has been shown to be faster. Of course, the resume path will be impacted because the larger hibernate file 114 will require more time to be read from the non-volatile storage 110 and processed.<!-- EPO <DP n="11"> --></p>
<p id="p0036" num="0036">Some embodiments may initiate transitioning to hibernate by a user simply moving out of the presence of the system 100. For example, the system 100 could detect, for example, by using a camera on the system 100, user data, or other information, that the user is moving physically away from the system 100 and that the user is unlikely to return for some period of time. This could trigger the system 100 being put into hibernate. And in particular, the hibernation process may be one that optimizes for a quick resume from hibernate.</p>
<p id="p0037" num="0037">In the case of the storage subsystem, if the read/write performance is deemed fast enough, and there is sufficient time, then all standby memory pages will be discarded and pagable memory will be written to the pagefile 106 before any remaining active memory is inventoried and stored to disk in the hibernate file 114. These additional steps can require multiple seconds before the system is hibernated. However the resume path is now made faster because the smaller hibernate file can be read more quickly and thus OS operation can begin earlier during a resume from hibernate path. Of course code and data must be paged in from the pagefile 106 as the system resumes, however since the storage subsystem has been pre-determined to be high speed, there is not a noticeable negative impact on the user experience that may otherwise have be observed on a system with a slower traditional harddisk or even a slower solid state drive.</p>
<p id="p0038" num="0038">The polarity of the above example can be reversed in cases where there is a need to perform a quick hibernate, for example when a user is present or when the system 100 uses mechanical hard disk drives that are subject to corruption if writing occurs conjunction with other intense movement. Here, there is risk the user could physically perturb the system 100 (e.g., by throwing the system in a backpack) soon after the transition was initiated with a button press or lid-close. In scenarios like this, the OS can immediately begin inventorying and writing to the hibernate file 114 all of the memory 102 that is currently in use, thus saving valuable seconds on the transition to hibernate.</p>
<p id="p0039" num="0039">In some embodiments, the OS will employ a set of logical checks to determine system characteristics, and in particular characteristics of the non-volatile storage 110. In particular, embodiments may attempt to identify characteristics that would indicate that the non-volatile storage is at or above a particular read speed. In particular, if the read speed is not above some threshold, then optimizations that reduce the size of the hibernate file 114 by flushing portions of state in memory 102 will not improve system performance on resume, and in many cases when using slower non-volatile storage, resume operations using a small hibernate file 114 that only includes sufficient data to instantiate a basic user<!-- EPO <DP n="12"> --> interface (e.g., pointer and lockscreen) while needing to access the pagefile 106 to obtain other elements, may be deleterious to the user experience on resume from hibernate.</p>
<p id="p0040" num="0040">Note that some embodiments may further include logic to determine hibernation steps based on anticipated time for resume from hibernate. For example, if the system determines that a user may want to return quickly from hibernate, then optimizations could be done at hibernate (such as by, as illustrated above, minimizing the size of the hibernate file 114 while flushing other state data to the pagefile 106. However, if the system 100 can determine that additional time is available for resuming from hibernate, embodiments may forgo optimizing on hibernate. For example, the system could determine, based on a time of day that hibernate is initiated, that the next resume will have additional time for resuming from hibernate. Alternatively, based on the time of day that a hibernate is initiated that a quicker resume is desirable, and could therefore optimize the hibernate steps to optimize for a quicker resume.</p>
<p id="p0041" num="0041">Referring now to <figref idref="f0003">Figure 3</figref>, details with respect to restoring from hibernate are illustrated. <figref idref="f0003">Figure 3</figref> illustrates a user interface 302 which includes a lockscreen with a text box 304 in which a user can enter credentials. When restoring from hibernate where an optimized hibernate has been performed, the hibernate file 114 may only contain sufficient information for a basic user interface, which is loaded into system memory 102 and used by the processor to display the basic user interface shown in the user interface 302.</p>
<p id="p0042" num="0042">For example, the hibernate file 114 may only contain sufficient state data to implement a basic user interface while excluding data needed to implement other applications or data in applications that was available and in active use by the user when, or just prior to when, the hibernate occurred. In some embodiments, a basic user interface includes only a background screen, a mouse pointer and authentication interfaces that allow a user to authenticate to the system 100. In other embodiments, a basic user interface includes only a background and a mouse pointer. In still other embodiments, a basic user interface may include a background, mouse pointer, and user interface elements, such as icons, allowing a user to select applications.</p>
<p id="p0043" num="0043">However selecting the icons will require the system 100 to obtain the state data needed to initiate the applications from the pagefile 106 as illustrated in <figref idref="f0004">Figure 4</figref>, such that applications 306 are able to restored or instantiated. In particular, <figref idref="f0004">Figure 4</figref> illustrates that state data for applications 306 can be obtained from the pagefile 106 and loaded into the memory 102, where the processor can use the state data to implement the applications 306. In some embodiments, data is obtained from the pagefile 106 on demand. For example, a<!-- EPO <DP n="13"> --> user making a selection in the user interface 302 will result in obtaining state data from the pagefile 106. Alternatively or additionally, if the system 100 is not busy with other tasks, state data can be loaded from the pagefile 106 into the memory 102. In some embodiments, this may be done predictively with the system predicting which state data will most likely be needed for the user.</p>
<p id="p0044" num="0044">Note that as noted above, if the non-volatile storage 110 is sufficiently fast in its reads, and not penalized for non-contiguous I/Os (which is more likely when reading from the pagefile 106 compared to the hibernate file 114, this can be done in a fashion that is nearly seamless for the user. Thus, embodiments may implement a more efficient system that is able to restore from hibernate in a much more seamless way, from the user perspective than previous systems.</p>
<p id="p0045" num="0045">The following discussion now refers to a number of methods and method acts that may be performed. Although the method acts may be discussed in a certain order or illustrated in a flow chart as occurring in a particular order, no particular ordering is required unless specifically stated, or required because an act is dependent on another act being completed prior to the act being performed.</p>
<p id="p0046" num="0046">Referring now to <figref idref="f0005">Figure 5</figref>, a flow 500 is illustrated showing how various actions may be performed. <figref idref="f0005">Figure 5</figref> illustrates an action of receiving a hibernate trigger (act 502). As illustrated above, this may include various manual triggers such as detecting a button press, detecting a lid on the system 100 closing, detecting a series of user interface interactions directing the system 100 to hibernate, etc. However, this may alternatively or additionally include various automatic triggers such as a timeout, recognizing a user moving away from the system 100 or other automatic triggers.</p>
<p id="p0047" num="0047">As illustrated at 504, this causes a determination to be made whether or not any longer hibernate processes can be performed. For example, in some embodiments, the system 100 may determine if there is sufficient time to optimize hibernate steps to create a small hibernate file 114 by trimming certain data in the memory 102 and flushing state from the memory 102 to the pagefile 106. For example, in some embodiments, this may be performed by determining that the user is not present at the system 100 or by determining that some time threshold can be met. Various ways of performing this detection are illustrated above. Additionally or alternatively, embodiments may determine that there is not sufficient time to perform a longer hibernate process. For example, the lid closing may indicate that the system 100 is about to be perturbed.</p>
<p id="p0048" num="0048">As illustrated at 506, if there is not sufficient time to perform a longer hibernate<!-- EPO <DP n="14"> --> process, then a fast hibernate is performed. For example, embodiments may simply take all state in memory 102 and write the state to the hibernate file 114 without discarding any state in the memory 102 or writing any of the state to the pagefile 106.</p>
<p id="p0049" num="0049">If there is sufficient time to perform a longer hibernate process, as illustrated at 508, a determination is made on based on various condition evaluations if a longer hibernate should be performed. For example, there may be no need to perform a longer hibernate process if the restore from hibernate will occur in a fashion that does not affect the user. For example, if the user typically restores from hibernate and performs other activities while the system 100 is restoring from hibernate, then there may be no need to perform the longer hibernation process. If there is no need to perform the longer hibernation process, then a fast hibernate as illustrated at 506 can be performed.</p>
<p id="p0050" num="0050">If a determination is made that a longer hibernate process should be performed, then as illustrated at 510, embodiments can determine if there is sufficient time to perform a fully optimized hibernate. For example, there may not be sufficient time to perform a fully optimized hibernate due to potential for the system 100 to be perturbed, or some other factor that limits the amount of time in which hibernation steps can be performed. In this case, as illustrated at 512 embodiments may perform a partially optimized hibernate process where portions of the state in memory 102 are written to the pagefile 106, but in which other portions which would be read into the pagefile 106 of a fully optimized hibernate were able to be performed are not written to the pagefile 106, but rather are written to the hibernate file 114, along with state data needed to create a basic user interface such as that illustrated in <figref idref="f0003">Figure 3</figref>.</p>
<p id="p0051" num="0051">As illustrated at 514, if a fully optimized hibernate can be performed, then the optimized hibernate is performed for quicker restore when a user restores from hibernate.</p>
<p id="p0052" num="0052">Referring now to <figref idref="f0006">Figure 6</figref>, a method 600 is illustrated. The method 600 is a computer implemented method of hibernating a computing system. The method includes detecting at least one condition which indicates the availability of time to perform hibernation optimization steps on the computing system (act 602). In some embodiments, detecting a condition that indicates the availability of time may include determining that optimization may be done at minimal or no cost. For example, embodiments may determine that the time to optimize for resume is roughly the same cost as not optimizing. For example, as I/O speeds increase, and on devices without seek penalties, the cost may be negligible The hibernation optimization steps optimize resume time from hibernate. For example, as illustrated above, a small hibernate file 114 may be created and state from<!-- EPO <DP n="15"> --> memory 102 may be flushed to the pagefile 106. This may be particularly useful when the non-volatile storage 100 has sufficiently fast read times to make the restoration from hibernate faster when such steps are taken.</p>
<p id="p0053" num="0053">The method 600 further includes detecting a trigger indicating that the computing system is to be put into a hibernate state (act 604). This may include, for example, the manual triggers or automatic triggers described above.</p>
<p id="p0054" num="0054">As a result of detecting the at least one condition and the trigger, the method 600 further includes performing hibernation steps to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system.</p>
<p id="p0055" num="0055">The method 600 may be performed where performing hibernation steps to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system includes as part of the hibernate process, flushing state from memory at the computing system to a pagefile in virtual memory on non-volatile storage of the computing system, and storing only a sufficient amount of state in a hibernate file to implement a basic user interface on restore from hibernate.</p>
<p id="p0056" num="0056">The method 600 may be practiced where detecting the at least one condition comprises detecting that a user is not present at the computing system. For example, detecting that a user is not present at the computing system may include detecting using a camera at the computing system. Alternatively or additionally, detecting that a user is not present at the computing system may include detecting that user is using a different device. Alternatively or additionally, detecting that a user is not present at the computing system may include detecting that the user's calendar indicates that user has an appointment that prevents the user from being present at the computing system. Other modalities may be used, alternatively or additionally, such as interaction with peripheral devices, a certain time elapsing, or other conditions that indicate that the user is not present at the system.</p>
<p id="p0057" num="0057">The method 600 may be practiced where detecting a trigger indicating that the computing system is to be put into a hibernate state comprises determining that a user has moved away from the computing system. For example, the user may have a device that can be detected moving from the system, or the system may be able to detect, through a camera or infrared (IR) sensor that the user is moving away from the system 100.</p>
<p id="p0058" num="0058">The method 600 may further include detecting that the computing system comprises non-volatile storage media with read speeds meeting a predetermined threshold. In such embodiments, performing hibernation steps to hibernate the computing system in a<!-- EPO <DP n="16"> --> way that optimizes resume time from hibernate of the computing system may be based on detecting that the computing system comprises non-volatile storage media with read speeds meeting a predetermined threshold. Detecting that the computing system comprises non-volatile storage media with read speeds meeting a predetermined threshold may include determining that the non-volatile media is of a type for which little or no penalty occurs for random non-contiguous I/O operations. In particular, this is the likely pattern for pagefiles as compared to hibernate files (which are typically more contiguous). If there is little or no non-volatile media penalty for random writes, then it can be determined that sufficient time exists for performing optimizations.</p>
<p id="p0059" num="0059">The method 600 may further include detecting an amount of time for performing hibernation actions. In some such embodiments, performing hibernation steps to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system is optimized to be performed within the detected amount of time.</p>
<p id="p0060" num="0060">Further, the methods may be practiced by a computer system including one or more processors and computer-readable media such as computer memory. In particular, the computer memory may store computer-executable instructions that when executed by one or more processors cause various functions to be performed, such as the acts recited in the embodiments.</p>
<p id="p0061" num="0061">Embodiments of the present invention may comprise or utilize a special purpose or general-purpose computer including computer hardware, as discussed in greater detail below. Embodiments within the scope of the present invention also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions are physical storage media. Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments of the invention can comprise at least two distinctly different kinds of computer-readable media: physical computer-readable storage media and transmission computer-readable media.</p>
<p id="p0062" num="0062">Physical computer-readable storage media includes RAM, ROM, EEPROM, CD-ROM or other optical disk storage (such as CDs, DVDs, etc), magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.<!-- EPO <DP n="17"> --></p>
<p id="p0063" num="0063">A "network" is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmissions media can include a network and/or data links which can be used to carry or desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above are also included within the scope of computer-readable media.</p>
<p id="p0064" num="0064">Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission computer-readable media to physical computer-readable storage media (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a "NIC"), and then eventually transferred to computer system RAM and/or to less volatile computer-readable physical storage media at a computer system. Thus, computer-readable physical storage media can be included in computer system components that also (or even primarily) utilize transmission media.</p>
<p id="p0065" num="0065">Computer-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer-executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.</p>
<p id="p0066" num="0066">Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, and the like. The invention may also be practiced in distributed system environments where local and remote computer systems,<!-- EPO <DP n="18"> --> which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.</p>
<p id="p0067" num="0067">Alternatively, or in addition, the functionality described herein can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.</p>
<p id="p0068" num="0068">The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description.</p>
</description>
<claims id="claims01" lang="en"><!-- EPO <DP n="19"> -->
<claim id="c-en-01-0001" num="0001">
<claim-text>A computing system (100) comprising:
<claim-text>one or more processors; and</claim-text>
<claim-text>one or more computer-readable media having stored thereon instructions that are executable by the one or more processors to configure the computing system (100) to hibernate, including instructions that are executable to configure the computing system (100) to:
<claim-text>detect at least one condition which includes a non-volatile storage type information, wherein the non-volatile storage type information is used to infer at least one of I/O access speed and relative cost of random I/O reads to contiguous reads;</claim-text>
<claim-text>detect that the computing system (100) comprises non-volatile storage media which does not penalize disk seeks, wherein the non-volatile storage media comprises a pagefile and a hibernate file;</claim-text>
<claim-text>detect a trigger (120) indicating that the computing system (100) is to be put into a hibernate state; and</claim-text>
<claim-text>as a result of detecting that the computing system comprises non-volatile storage media which does not penalize disk seeks and the trigger (120), perform hibernation to hibernate the computing system (100) in a way that optimizes resume time from hibernate of the computing system (100), by determining portions of the state (104) in a memory to be stored in the pagefile (106) and portions of the state in a memory to be stored in the hibernate file (114).</claim-text></claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>The system of claim 1, wherein performing hibernation comprises:
<claim-text>as part of the hibernate process, flushing state from the memory at the computing system to the pagefile in a virtual memory on the non-volatile storage of the computing system; and</claim-text>
<claim-text>storing only a portion of the state in the hibernate file to implement a basic user interface on restore from hibernate.</claim-text></claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>The system of claim 1 or claim 2, wherein performing hibernation comprises:<br/>
selecting an amount of pageable memory from the memory that can be reliably flushed to the pagefile within a determined amount of time, in response to a determination of an amount of time that constrains the hibernation process.</claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>The system of any preceding claim 1 to 3, wherein the non-volatile storage media has read speeds meeting a predetermined threshold; and the system performs the hibernation in response to detecting that the non-volatile storage media has read speeds<!-- EPO <DP n="20"> --> meeting the predetermined threshold.</claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>The system of any preceding claim 1 to 4, wherein the system detects that a user is not present at the computing system.</claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>The system of claim 5, wherein detecting that the user is not present at the computing system comprises:
<claim-text>detecting using one or more of a camera, infrared sensor, microphone and/or other sensor at the computing system; or</claim-text>
<claim-text>detecting that the user's calendar indicates that the user has an appointment that prevents the user from being present at the computing system.</claim-text></claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>The system of any preceding claim 1 to 6, wherein detecting the trigger indicating that the computing system is to be put into a hibernate state comprises determining that the user has moved away from the computing system.</claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>The system of any preceding claim 1 to 7, wherein the one or more computer-readable media further have stored thereon instructions that are executable by the one or more processors to configure the computer system to:
<claim-text>determine whether time cost of writing to the pagefile is the same or within some predetermined margin of writing to the hibernate file; and</claim-text>
<claim-text>wherein performing hibernation to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system is based on determining that the time cost of writing to the pagefile is the same or within some predetermined margin of writing to the hibernate file.</claim-text></claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>The system of any preceding claim 1 to 8, wherein the one or more computer-readable media further have stored thereon instructions that are executable by the one or more processors to configure the computer system to:
<claim-text>detect an amount of time for performing hibernation; and</claim-text>
<claim-text>wherein performing hibernation within the detected amount of time.</claim-text></claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>A computer implemented method (600) of hibernating a computing system (100), the method (600) comprising:
<claim-text>detecting at least one condition which includes a non-volatile storage type information, wherein the non-volatile storage type information is used to infer at least one of I/O access speed and relative cost of random I/O reads to contiguous reads;</claim-text>
<claim-text>detecting that the computing system comprises non-volatile storage media which does not penalize disk seeks, wherein the non-volatile storage media comprises a pagefile and a hibernate file;<!-- EPO <DP n="21"> --></claim-text>
<claim-text>detecting a trigger (120) indicating that the computing system (100) is to be put into a hibernate state; and</claim-text>
<claim-text>as a result of detecting that the computing system comprises non-volatile storage media which does not penalize disk seeks and the trigger (120), performing hibernation to hibernate the computing system (100) in a way that optimizes resume time from hibernate of the computing system (100), by determining portions of the state (104) in a memory to be stored in the pagefile (106) and portions of the state in a memory to be stored in the hibernate file (114).</claim-text></claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>The method of claim 10, wherein performing hibernation comprises:
<claim-text>as part of the hibernate process, flushing state from the memory at the computing system to the pagefile in a virtual memory on the non-volatile storage of the computing system; and</claim-text>
<claim-text>storing only a portion of the state in the hibernate file to implement a basic user interface on restore from hibernate.</claim-text></claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>The method of claim 10 or claim 11, comprising:<br/>
detecting that a user is not present at the computing system.</claim-text></claim>
<claim id="c-en-01-0013" num="0013">
<claim-text>The method of claim 12, wherein detecting that the user is not present at the computing system comprises:
<claim-text>detecting using one or more of a camera, infrared sensor, microphone and/or other sensor at the computing system; or</claim-text>
<claim-text>detecting that the user's calendar indicates that the user has an appointment that prevents the user from being present at the computing system.</claim-text></claim-text></claim>
<claim id="c-en-01-0014" num="0014">
<claim-text>The method of any preceding claim 10 to 13, comprising:
<claim-text>determining whether time cost of writing to the pagefile is the same or within some predetermined margin of writing to the hibernate file; and</claim-text>
<claim-text>wherein performing hibernation to hibernate the computing system in a way that optimizes resume time from hibernate of the computing system is based on determining that the time cost of writing to the pagefile is the same or within some predetermined margin of writing to the hibernate file.</claim-text></claim-text></claim>
<claim id="c-en-01-0015" num="0015">
<claim-text>The method of any preceding claim 10 to 14, comprising:
<claim-text>detecting an amount of time for performing hibernation; and</claim-text>
<claim-text>wherein performing hibernation within the detected amount of time.</claim-text></claim-text></claim>
</claims>
<claims id="claims02" lang="de"><!-- EPO <DP n="22"> -->
<claim id="c-de-01-0001" num="0001">
<claim-text>Computersystem (100), umfassend:
<claim-text>einen oder mehrere Prozessoren; und</claim-text>
<claim-text>ein oder mehrere computerlesbare Medien mit darauf gespeicherten Anweisungen, die von dem einem oder den mehreren Prozessoren ausführbar sind, um das Computersystem (100) für den Ruhezustand zu konfigurieren, einschließlich Anweisungen, die ausführbar sind, um das Computersystem (100) zu Folgendem zu konfigurieren:
<claim-text>Erkennen mindestens einer Bedingung, die eine nichtflüchtig gespeicherte Information einschließt, wobei die nichtflüchtig gespeicherte Information dazu verwendet wird, mindestens eines von einer Zugriffsgeschwindigkeit an Eingängen und Ausgängen (I/O) und einem relativen Aufwand von zufälligen I/O-Lesevorgängen zu zusammenhängenden I/O-Lesevorgängen abzuleiten;</claim-text>
<claim-text>Erkennen, dass das Computersystem (100) ein nichtflüchtiges Speichermedium umfasst, welches Suchen auf Festplatten nicht bestraft, wobei das nichtflüchtige Speichermedium eine Auslagerungsdatei und eine Ruhezustandsdatei umfasst;</claim-text>
<claim-text>Erkennen eines Auslösers (120), der angibt, dass das Computersystem (100) in einen Ruhezustand versetzt werden soll; und</claim-text>
<claim-text>als Ergebnis des Erkennens, dass das Computersystem über ein nichtflüchtiges Speichermedium verfügt, welches Suchen auf Festplatten nicht bestraft, des Erkennens des Auslösers (120) Durchführen eines Ruhezustands, um das Computersystem (100) auf eine Weise in den Ruhezustand zu versetzen, welche die Wiederherstellungszeit aus dem Ruhezustand des Computersystems (100) optimiert, indem es Teile des Zustands (104) in einem Speicher, die in der Auslagerungsdatei (106) zu speichern sind, sowie Teile des Zustands in einem Speicher, die in der Ruhezustandsdatei (114) zu speichern sind, bestimmt.</claim-text></claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>System nach Anspruch 1, wobei das Durchführen des Ruhezustands Folgendes umfasst:
<claim-text>Entleeren des Zustands aus dem Speicher des Computersystems in die<!-- EPO <DP n="23"> --> Auslagerungsdatei in einem virtuellen Speicher im nichtflüchtigen Speicher des Computersystems als Teil des Ruhezustandprozesses; und</claim-text>
<claim-text>das Speichern nur eines Teils des Zustands in der Ruhezustandsdatei, um eine grundlegende Benutzeroberfläche bei der Wiederherstellung aus dem Ruhezustand zu implementieren.</claim-text></claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>System nach Anspruch 1 oder Anspruch 2, wobei das Durchführen des Ruhezustands Folgendes umfasst:<br/>
Auswählen einer Menge an auslagerbarem Speicher aus dem Speicher, die sich zuverlässig innerhalb einer bestimmten Zeitspanne in die Auslagerungsdatei entleeren lässt, als Reaktion auf eine Bestimmung einer Zeitspanne, die den Ruhezustandsprozess einschränkt.</claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>System nach einem der vorhergehenden Ansprüche 1 bis 3, wobei das nichtflüchtige Speichermedium Lesegeschwindigkeiten aufweist, die einen vorgegebenen Schwellenwert erfüllen; und das System den Ruhezustand als Reaktion auf das Erkennen durchführt, dass das nichtflüchtige Speichermedium Lesegeschwindigkeiten aufweist, die den vorgegebenen Schwellenwert erfüllen.</claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>System nach einem der vorhergehenden Ansprüche 1 bis 4, wobei das System erkennt, dass ein Benutzer nicht am Computersystem anwesend ist.</claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>System nach Anspruch 5, wobei das Erkennen, dass der Benutzer nicht am Computersystem anwesend ist, Folgendes umfasst:
<claim-text>Erkennen unter Verwendung eines oder mehrerer einer Kamera, eines Infrarotsensor, eines Mikrofon und/oder eines anderen Sensors am Computersystem; oder</claim-text>
<claim-text>Erkennen, dass der Kalender des Benutzers angibt, dass der Benutzer einen Termin hat, der die Anwesenheit des Benutzers am Computersystem verhindert.</claim-text></claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>System nach einem der vorhergehenden Ansprüche 1 bis 6, wobei das Erkennen<!-- EPO <DP n="24"> --> des Auslösers, der angibt, dass das Computersystem in einen Ruhezustand versetzt werden soll, das Bestimmen umfasst, dass sich der Benutzer vom Computersystem wegbewegt hat.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>System nach einem der vorhergehenden Ansprüche 1 bis 7, wobei auf dem einen oder den mehreren computerlesbaren Medien ferner Anweisungen gespeichert sind, die von dem einen oder den mehreren Prozessoren ausführbar sind, um das Computersystem zu Folgendem zu konfigurieren:
<claim-text>Bestimmen, ob der Zeitaufwand des Schreibens in die Auslagerungsdatei gleich dem des Schreibens in die Ruhezustandsdatei ist oder innerhalb einer vorbestimmten Spanne zum Schreiben in die Ruhezustandsdatei liegt; und</claim-text>
<claim-text>wobei das Durchführen des Ruhezustands, um das Computersystem auf eine Weise in den Ruhezustand zu versetzen, welche die Wiederherstellungszeit aus dem Ruhezustand des Computersystems optimiert, auf dem Bestimmen basiert, dass der Zeitaufwand des Schreibens in die Auslagerungsdatei gleich dem des Schreibens in die Ruhezustandsdatei ist oder innerhalb einer vorbestimmten Spanne zum Schreiben in die Ruhezustandsdatei liegt.</claim-text></claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>System nach einem der vorhergehenden Ansprüche 1 bis 8, wobei auf dem einen oder den mehreren computerlesbaren Medien ferner Anweisungen gespeichert sind, die von dem einen oder den mehreren Prozessoren ausführbar sind, um das Computersystem zu Folgendem zu konfigurieren:
<claim-text>Erkennen eine Zeitspanne zum Durchführen des Ruhezustands; und</claim-text>
<claim-text>wobei der Ruhezustand innerhalb der erkannten Zeitspanne durchgeführt wird.</claim-text></claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Computerimplementiertes Verfahren (600) zum Versetzen eines Computersystems (100) in den Ruhezustand, wobei das Verfahren (600) Folgendes umfasst:
<claim-text>Erkennen mindestens einer Bedingung, die eine nichtflüchtig gespeicherte Information einschließt, wobei die nichtflüchtig gespeicherte Information dazu verwendet wird, mindestens eines von einer Zugriffsgeschwindigkeit an Eingängen und Ausgängen (I/O) und einem relativen Aufwand von zufälligen I/O-Lesevorgängen zu<!-- EPO <DP n="25"> --> zusammenhängenden I/O-Lesevorgängen abzuleiten;</claim-text>
<claim-text>Erkennen, dass das Computersystem ein nichtflüchtiges Speichermedium umfasst, welches Suchen auf Festplatten nicht bestraft, wobei das nichtflüchtige Speichermedium eine Auslagerungsdatei und eine Ruhezustandsdatei umfasst;</claim-text>
<claim-text>Erkennen eines Auslösers (120), der angibt, dass das Computersystem (100) in einen Ruhezustand versetzt werden soll; und</claim-text>
<claim-text>als Ergebnis des Erkennens, dass das Computersystem über ein nichtflüchtiges Speichermedium verfügt, welches Suchen auf Festplatten nicht bestraft, des Erkennens des Auslösers (120) Durchführen eines Ruhezustands, um das Computersystem (100) auf eine Weise in den Ruhezustand zu versetzen, welche die Wiederherstellungszeit aus dem Ruhezustand des Computersystems (100) optimiert, indem es Teile des Zustands (104) in einem Speicher, die in der Auslagerungsdatei (106) zu speichern sind, sowie Teile des Zustands in einem Speicher, die in der Ruhezustandsdatei (114) zu speichern sind, bestimmt.</claim-text></claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Verfahren nach Anspruch 10, wobei das Durchführen des Ruhezustands Folgendes umfasst:
<claim-text>Entleeren des Zustands aus dem Speicher des Computersystems in die Auslagerungsdatei in einem virtuellen Speicher im nichtflüchtigen Speicher des Computersystems als Teil des Ruhezustandprozesses; und</claim-text>
<claim-text>das Speichern nur eines Teils des Zustands in der Ruhezustandsdatei, um eine grundlegende Benutzeroberfläche bei der Wiederherstellung aus dem Ruhezustand zu implementieren.</claim-text></claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Verfahren nach Anspruch 10 oder Anspruch 11, umfassend:<br/>
Erkennen, dass ein Benutzer nicht am Computersystem anwesend ist.</claim-text></claim>
<claim id="c-de-01-0013" num="0013">
<claim-text>Verfahren nach Anspruch 12, wobei das Erkennen, dass der Benutzer nicht am Computersystem anwesend ist, Folgendes umfasst:
<claim-text>Erkennen unter Verwendung eines oder mehrerer einer Kamera, eines Infrarotsensor, eines Mikrofon und/oder eines anderen Sensors am Computersystem;<br/>
<!-- EPO <DP n="26"> -->oder</claim-text>
<claim-text>Erkennen, dass der Kalender des Benutzers angibt, dass der Benutzer einen Termin hat, der die Anwesenheit des Benutzers am Computersystem verhindert.</claim-text></claim-text></claim>
<claim id="c-de-01-0014" num="0014">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche 10 bis 13, umfassend:
<claim-text>Bestimmen, ob der Zeitaufwand des Schreibens in die Auslagerungsdatei gleich dem des Schreibens in die Ruhezustandsdatei ist oder innerhalb einer vorbestimmten Spanne zum Schreiben in die Ruhezustandsdatei liegt; und</claim-text>
<claim-text>wobei das Durchführen des Ruhezustands, um das Computersystem auf eine Weise in den Ruhezustand zu versetzen, welche die Wiederherstellungszeit aus dem Ruhezustand des Computersystems optimiert, auf dem Bestimmen basiert, dass der Zeitaufwand des Schreibens in die Auslagerungsdatei gleich dem des Schreibens in die Ruhezustandsdatei ist oder innerhalb einer vorbestimmten Spanne zum Schreiben in die Ruhezustandsdatei liegt.</claim-text></claim-text></claim>
<claim id="c-de-01-0015" num="0015">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche 10 bis 14, umfassend:
<claim-text>Erkennen eine Zeitspanne zum Durchführen des Ruhezustands; und</claim-text>
<claim-text>wobei der Ruhezustand innerhalb der erkannten Zeitspanne durchgeführt wird.</claim-text></claim-text></claim>
</claims>
<claims id="claims03" lang="fr"><!-- EPO <DP n="27"> -->
<claim id="c-fr-01-0001" num="0001">
<claim-text>Système informatique (100) comprenant :
<claim-text>un ou plusieurs processeurs ; et</claim-text>
<claim-text>un ou plusieurs supports à lecture informatique sur lesquels sont stockées des instructions exécutables par le(s) processeur(s) pour configurer le système informatique (100) pour passer en veille prolongée, notamment des instructions exécutables pour configurer le système informatique (100) :
<claim-text>pour détecter au moins une condition comportant des informations de type de stockage non volatil, ces informations de type de stockage non volatil servant à déduire au moins une vitesse d'accès d'E/S et/ou un coût relatif de lectures aléatoires d'E/S par rapport à des lectures contiguës ;</claim-text>
<claim-text>pour détecter que le système informatique (100) comprend un support de stockage non volatil ne pénalisant pas la recherche de disque, ce support de stockage non volatil comprenant un fichier d'échange et un fichier de mise en veille prolongée ;</claim-text>
<claim-text>pour détecter un déclencheur (120) indiquant que le système informatique (100) est à mettre en état de veille prolongée ; et</claim-text>
<claim-text>suite à la détection du fait que le système informatique comprend un support de stockage non volatil ne pénalisant pas les recherches de disques et le déclencheur (120), pour effectuer une mise en veille prolongée pour mettre le système informatique (100) en veille prolongée de manière à optimiser le temps de reprise après la mise en veille prolongée du système informatique (100), par détermination de parties de l'état (104) dans une mémoire à stocker dans le fichier d'échange (106) et de parties de l'état dans une mémoire à stocker dans le fichier de mise en veille prolongée (114).</claim-text></claim-text></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Système selon la revendication 1, dans lequel effectuer une mise en veille prolongée comprend :
<claim-text>dans le cadre du processus de mise en veille prolongée, le fait de vider l'état de la mémoire du système informatique vers le fichier d'échange dans une mémoire virtuelle du stockage non volatil du système informatique ; et</claim-text>
<claim-text>le stockage d'une seule partie de l'état dans le fichier de mise en veille prolongée,<!-- EPO <DP n="28"> --> pour implémenter une interface utilisateur de base lors de la restauration après mise en veille prolongée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Système selon la revendication 1 ou la revendication 2, dans lequel effectuer une mise en veille prolongée comprend :<br/>
la sélection d'une quantité de mémoire paginable dans la mémoire pouvant être vidée de manière fiable vers le fichier d'échange en une durée déterminée, en réponse à une détermination d'une durée qui contraint le processus de mise en veille prolongée.</claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Système selon l'une quelconque des revendications précédentes 1 à 3, dans lequel le support de stockage non volatil a des vitesses de lecture répondant à un seuil prédéterminé ; et où le système effectue la mise en veille prolongée en réponse à la détection du fait que le support de stockage non volatil a des vitesses de lecture atteignant le seuil prédéterminé.</claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Système selon l'une quelconque des revendications précédentes 1 à 4, le système détectant l'absence d'un utilisateur dans le système informatique.</claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Système selon la revendication 5, dans lequel la détection de l'absence de l'utilisateur dans le système informatique comprend :
<claim-text>la détection, à l'aide d'un ou plusieurs éléments parmi une caméra, un capteur infrarouge, un microphone et/ou un autre capteur du système informatique ; ou</claim-text>
<claim-text>la détection de l'indication, par le calendrier d'utilisateur, d'un rendez-vous de l'utilisateur empêchant sa présence dans le système informatique.</claim-text></claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Système selon l'une quelconque des revendications précédentes 1 à 6, dans lequel la détection du déclencheur indiquant que le système informatique est à mettre en état de mise en veille prolongée comprend la détermination de l'éloignement de l'utilisateur du système informatique.</claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Système selon l'une quelconque des revendications précédentes 1 à 7, dans lequel<!-- EPO <DP n="29"> --> le ou les supports à lecture informatique contiennent en outre des instructions exécutables par le(s) processeur(s) pour configurer le système informatique :
<claim-text>pour déterminer si le coût temporel d'écriture dans le fichier d'échange est le même ou dans une certaine marge prédéterminée d'écriture par rapport au fichier de mise en veille prolongée ; et</claim-text>
<claim-text>l'exécution d'une mise en veille prolongée pour mettre en veille prolongée le système informatique d'une manière optimisant le temps de reprise à partir de la mise en veille prolongée du système informatique étant basée sur la détermination du fait que le coût temporel d'écriture dans le fichier d'échange est le même ou dans une certaine marge prédéterminée d'écriture par rapport au fichier de mise en veille prolongée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Système selon l'une quelconque des revendications précédentes 1 à 8, dans lequel le ou les supports à lecture informatique contiennent en outre des instructions exécutables par le(s) processeur(s) pour configurer le système informatique :
<claim-text>pour détecter une durée pour effectuer une mise en veille prolongée ; et</claim-text>
<claim-text>dans lequel on effectue une mise en veille prolongée pendant la durée détectée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Procédé à implémentation informatique (600) de mise en veille prolongée d'un système informatique (100), le procédé (600) comprenant :
<claim-text>la détection d'au moins une condition qui comporte des informations de type stockage non volatil, les informations de type de stockage non volatil servant à déduire la vitesse d'accès d'E/S et/ou le coût relatif de lectures aléatoires d'E/S par rapport à des lectures contiguës ;</claim-text>
<claim-text>la détection du fait que le système informatique comprend un support de stockage non volatil ne pénalisant pas de recherches de disques, le support de stockage non volatil comprenant un fichier d'échange et un fichier de mise en veille prolongée ;</claim-text>
<claim-text>la détection d'un déclencheur (120) indiquant que le système informatique (100) est à mettre en état de veille prolongée ; et</claim-text>
<claim-text>suite à la détection du fait que le système informatique comprend un support de stockage non volatil ne pénalisant pas les recherches de disques et le déclencheur (120), la réalisation d'une mise en veille prolongée pour mettre le système informatique (100)<!-- EPO <DP n="30"> --> en veille prolongée de manière à optimiser le temps de reprise après la mise en veille prolongée du système informatique (100), par détermination de parties de l'état (104) d'une mémoire à stocker dans le fichier d'échange (106) et de parties de l'état d'une mémoire à stocker dans le fichier de mise en veille prolongée (114).</claim-text></claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Procédé selon la revendication 10, la réalisation de mise en veille prolongée comprenant :
<claim-text>dans le cadre du processus de mise en veille prolongée, le fait de vider l'état de la mémoire du système informatique vers le fichier d'échange dans une mémoire virtuelle du stockage non volatil du système informatique ; et</claim-text>
<claim-text>le stockage d'une seule partie de l'état dans le fichier de mise en veille prolongée, pour implémenter une interface utilisateur de base lors de la restauration après mise en veille prolongée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Procédé selon la revendication 10 ou la revendication 11, comprenant :<br/>
la détection de l'absence d'un utilisateur dans le système informatique.</claim-text></claim>
<claim id="c-fr-01-0013" num="0013">
<claim-text>Procédé selon la revendication 12, dans lequel la détection de l'absence de l'utilisateur dans le système informatique comprend :
<claim-text>la détection, à l'aide d'un ou plusieurs éléments parmi une caméra, un capteur infrarouge, un microphone et/ou un autre capteur du système informatique ; ou</claim-text>
<claim-text>la détection de l'indication, par le calendrier d'utilisateur, d'un rendez-vous de l'utilisateur empêchant sa présence dans le système informatique.</claim-text></claim-text></claim>
<claim id="c-fr-01-0014" num="0014">
<claim-text>Procédé selon l'une quelconque des revendications 10 à 13, comprenant :
<claim-text>le fait de déterminer si le coût en temps d'écriture dans le fichier d'échange est le même ou dans une certaine marge prédéterminée d'écriture par rapport au fichier de mise en veille prolongée ; et</claim-text>
<claim-text>l'exécution d'une mise en veille prolongée pour mettre en veille prolongée le système informatique d'une manière optimisant le temps de reprise à partir de la mise en veille prolongée du système informatique étant basée sur la détermination du fait que le<!-- EPO <DP n="31"> --> coût temporel d'écriture dans le fichier d'échange est le même ou dans une certaine marge prédéterminée d'écriture par rapport au fichier de mise en veille prolongée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0015" num="0015">
<claim-text>Procédé selon l'une quelconque des revendications 10 à 14, comprenant :
<claim-text>la détection d'une durée de réalisation d'une mise en veille prolongée ; et</claim-text>
<claim-text>dans lequel on effectue une mise en veille prolongée pendant la durée détectée.</claim-text></claim-text></claim>
</claims>
<drawings id="draw" lang="en"><!-- EPO <DP n="32"> -->
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="165" he="214" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="33"> -->
<figure id="f0002" num="2"><img id="if0002" file="imgf0002.tif" wi="102" he="233" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="34"> -->
<figure id="f0003" num="3"><img id="if0003" file="imgf0003.tif" wi="146" he="227" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="35"> -->
<figure id="f0004" num="4"><img id="if0004" file="imgf0004.tif" wi="137" he="231" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="36"> -->
<figure id="f0005" num="5"><img id="if0005" file="imgf0005.tif" wi="165" he="217" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="37"> -->
<figure id="f0006" num="6"><img id="if0006" file="imgf0006.tif" wi="103" he="233" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="US2007250730A1"><document-id><country>US</country><doc-number>2007250730</doc-number><kind>A1</kind></document-id></patcit><crossref idref="pcit0001">[0003]</crossref></li>
<li><patcit id="ref-pcit0002" dnum="US8914658B2"><document-id><country>US</country><doc-number>8914658</doc-number><kind>B2</kind></document-id></patcit><crossref idref="pcit0002">[0003]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
