CZ20002529A3 - Suspend / Resume Operation Information Processing System - Google Patents

Suspend / Resume Operation Information Processing System Download PDF

Info

Publication number
CZ20002529A3
CZ20002529A3 CZ20002529A CZ20002529A CZ20002529A3 CZ 20002529 A3 CZ20002529 A3 CZ 20002529A3 CZ 20002529 A CZ20002529 A CZ 20002529A CZ 20002529 A CZ20002529 A CZ 20002529A CZ 20002529 A3 CZ20002529 A3 CZ 20002529A3
Authority
CZ
Czechia
Prior art keywords
hibernation
information
storing
area
control information
Prior art date
Application number
CZ20002529A
Other languages
Czech (cs)
Inventor
Hiroshi Kohno
Susumu Shimotohno
Original Assignee
International Business Machines Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corporation filed Critical International Business Machines Corporation
Priority to CZ20002529A priority Critical patent/CZ20002529A3/en
Publication of CZ20002529A3 publication Critical patent/CZ20002529A3/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

Systém pro zpracování informací a způsob jeho řízení, který umožňuje uložit stav systému počítače, aniž by se narušila ostatní uživatelská data na externím paměťovém zařízení. Když nastane předem určená událost, systém uloží hibemační informaci do oblasti pevného disku, která je pro uložení této informace vyhrazena. Pro ukládání informace o řízení hibernace je vyhrazena oblast v krajním cylindru pevného disku. Částí tohoto cylindruje sektor zavaděče. Informace o řízení hibernace se proto zapisuje do krajního cylindru poté, co byl do oblasti pro uchování hibemační informace umístěn sektor zavaděče. Když je tento postup operací ukončen, systém přejde do stavu hibernace. Když se naopak obnoví napájení systému z vnějšího zdroje, hibemační informace se přečte a zkontroluje se, zda systém byl v hibemačním módu apod.. Hibemační informace uložená v oblasti pro ukládání hibemační informace se obnoví v původním umístění a zapíše hlavní zaváděcí záznam, který byl uložen v oblasti pro ukládání hibernačních informací, zpět do krajního cylindru.An information processing system and method for controlling the same, which enables the system state of a computer to be saved without disturbing other user data on an external storage device. When a predetermined event occurs, the system saves hibernation information in an area of a hard disk that is reserved for storing this information. An area in the outer cylinder of the hard disk is reserved for storing hibernation control information. A part of this cylinder is the boot sector. Therefore, the hibernation control information is written to the outer cylinder after the boot sector has been placed in the hibernation information storage area. When this sequence of operations is completed, the system enters the hibernation state. Conversely, when the external power supply to the system is restored, the hibernation information is read and it is checked whether the system was in hibernation mode, etc. The hibernation information stored in the hibernation information storage area is restored to its original location and the master boot record that was stored in the hibernation information storage area is written back to the outer cylinder.

Description

Oblast technikyTechnical field

Vynález se týká systému pro. zpracování informací, který lze typicky reprezentovat osobním počítačem a způsobem jeho řízení, a zejména způsobu a systému zpracování informací takového typu, který využívá technologie s nízkou spotřebou, který vede k tomu, že systém přechází do stavu, ve kterém-je zpracovávání úkolu po výskytu předem definované události přerušeno. Po výskytu této události se provoz systému téměř úplně zastaví.The invention relates to an information processing system, which can be typically represented by a personal computer and a method of controlling it, and in particular to a method and system for processing information of such a type, which uses low-power technologies, which leads to the system entering a state in which the processing of a task is interrupted after the occurrence of a predefined event. After the occurrence of this event, the operation of the system almost completely stops.

V upřednostňované realizaci se vynález týká systému pro zpracování informací takového typu, který přechází do stavu s nízkou spotřebou poté, co systémové proměnné byly uloženy do vnější paměti, jakou je např. pevný disk, a k návratu do původního provozního stavu dojde po obnovení uložených systémových proměnných, přičemž systém je schopen uložit systémové proměnné, aniž by poškodil uživatelská data uložená ve vnějším paměťovém médiu, a dále způsobu řízení takového systému pro zpracování informací.In a preferred embodiment, the invention relates to an information processing system of a type that enters a low-power state after system variables have been stored in an external memory, such as a hard disk, and returns to the original operating state after the stored system variables are restored, the system being able to store the system variables without damaging user data stored in the external memory medium, and to a method of controlling such an information processing system.

Dosavadní stavCurrent status

V rámci současné technické revoluce byly vyvinuty a na trhu jsou dostupné různé varianty osobních počítačů (PC), jako např. stolní, věž a notebook. Stolní provedení je charakterizováno poměrně velkými rozměry, poměrně velkou váhou a umístěním, které je obvykle na pevném místě, tj. v kanceláři nebo doma. Naproti tomu provedení notebook je navrženo a vyráběno v malých rozměrech a s malou hmotností, protože je určeno pro mobilní použití, tzn. mimo budovy nebo v prostorách, kam se přenáší ze stabilního stanoviště. TypickýmAs part of the current technological revolution, various variants of personal computers (PCs) have been developed and are available on the market, such as desktop, tower and notebook. The desktop version is characterized by relatively large dimensions, relatively heavy weight and placement, which is usually in a fixed location, i.e. in the office or at home. In contrast, the notebook version is designed and manufactured in small dimensions and with low weight, because it is intended for mobile use, i.e. outside buildings or in areas where it is carried from a fixed location. Typically

příkladem notebooku je řada IBM ThinkPad 770 (obchodní značka International Business Machines Corporation), kterou prodává IBM Japan Co., Ltd.an example of a notebook is the IBM ThinkPad 770 series (a trademark of International Business Machines Corporation), sold by IBM Japan Co., Ltd.

Jak je známo, notebook je typickým představitelem struktury, která sestává z hlavní skříňky se základní deskou a víka, které je otočně upevněno k zadní hraně hlavní skříňky (viz obr. 6). Hlavní vstupní zařízení je tvořeno klávesnicí, která je umístěna navrchu základní jednotky. Hlavním výstupním zařízením je displej z tekutých krystalů umístěný ve víku přístroje. Aby se notebook mohl použít, je třeba jej otevřít zvednutím víka, čímž se současně zpřístupní klávesnice i displej. Naopak ve stavu, kdy se notebook nepoužívá nebo je třeba jej přepravovat, se víko sklopí k základní jednotce tak, že displej a klávesnice se uschovají a jsou chráněny proti poškození zvenčí. Součástí PC mohou být jednotky pevného disku (HDD), pružného disku (FDD) a optického disku (CD-ROM) coby externí paměťová zařízení. Tato zařízení jsou obvykle vyrobena jako uzavřené bloky, které lze podle potřeby připojovat, odpojovat nebo vyměňovat.As is known, a notebook is a typical representative of a structure consisting of a main box with a motherboard and a lid that is rotatably attached to the rear edge of the main box (see Fig. 6). The main input device is a keyboard located on top of the base unit. The main output device is a liquid crystal display located in the lid of the device. In order to use the notebook, it must be opened by lifting the lid, which simultaneously makes the keyboard and display accessible. Conversely, when the notebook is not in use or needs to be transported, the lid is folded down to the base unit so that the display and keyboard are stored and protected against external damage. A PC may include hard disk drives (HDD), floppy disk drives (FDD) and optical disk drives (CD-ROM) as external storage devices. These devices are usually manufactured as closed blocks that can be connected, disconnected or replaced as needed.

Téměř všechny notebooky jsou uzpůsobeny pro napájení z vnitřní baterie. To má umožnit jejich používání v mobilních podmínkách, kde síťové napájení není k dispozici. Vnitřní baterie notebooku je obvykle uzpůsobena jako tzv. battery-pack, který obsahuje množství různých typů sekundárních článků jako Li-Ion, NiCd a NiMH. Taková baterie pak váží typicky několik set gramů a poskytuje napětí 4 až 12V.Almost all notebooks are designed to be powered by an internal battery. This is to enable their use in mobile conditions where mains power is not available. The internal battery of a notebook is usually designed as a so-called battery-pack, which contains a number of different types of secondary cells such as Li-Ion, NiCd and NiMH. Such a battery typically weighs several hundred grams and provides a voltage of 4 to 12V.

Výkon bateriového zařízení závisí na efektivním využívání baterie. Vezmeme-li za příklad baterii notebooku, její nabíjení trvá 2 až 3 hodiny, ačkoliv její kapacita stačí sotva na 2 až 3 hodiny provozu počítače. Tak dlouhý čas nabíjení je u bateriových zařízení problémem, který vede k nutnosti mít v zásobě další rezervní baterie.The performance of a battery-powered device depends on the efficient use of the battery. For example, a laptop battery takes 2 to 3 hours to charge, although its capacity is barely enough for 2 to 3 hours of computer operation. Such a long charging time is a problem for battery-powered devices, leading to the need to carry extra spare batteries.

S ohledem na uvedenou situaci byla prozkoumána a vyvinuta technika snižování spotřeby, která umožní delší dobu využití baterie. Tato technika byla upravena pro využití bateriových zařízeních, jakými jsou např. notebooky.In view of this situation, a power saving technique has been researched and developed to enable longer battery life. This technique has been adapted for use in battery-powered devices such as notebook computers.

Ze sociálně-ekologického hlediska omezených zdrojů se v poslední době zdůrazňuje důležitost snižování příkonu i u zařízení, která mohou být bez omezení napájena z běžné komerční sítě. Např. Agentura pro ochranu životního prostředí USA (EPA) zveřejnila v červnu 1993 vlastní opatření pro snižování spotřeby nazvané „Energy Star Computer Program“. Toto opatření požaduje, aby spotřeba počítače v pohotovostním stavu nebyla vyšší než daná hranice (30W nebo 30% provozního příkonu). Z tohoto důvodu soutěží výrobci počítačů v uplatňování úsporných technologií i u stolních počítačů.From the socio-ecological perspective of limited resources, the importance of reducing power consumption has recently been emphasized, even for devices that can be powered without restrictions from a regular commercial network. For example, the US Environmental Protection Agency (EPA) published its own power reduction measures in June 1993 called the "Energy Star Computer Program". This measure requires that the power consumption of a computer in standby mode does not exceed a given limit (30W or 30% of the operating power consumption). For this reason, computer manufacturers are competing in the application of energy-saving technologies even for desktop computers.

Existuje řada různých technologií snižování spotřeby elektronických zařízení. Tu, která se používá u osobních počítačů, bychom mohli nazvat „řízení příkonu“.There are a number of different technologies for reducing the power consumption of electronic devices. The one used in personal computers could be called "power management".

Základním mechanismem řízení příkonu je přepnutí hardwaru, který nemusí pracovat, do úsporného stavu nebo úplné odpojení napájení odvozené od činnosti systému počítače, (nadále bude místo pojmu „systém počítače“ používán pouze pojem „systém“.) Mezi známé příklady řízení příkonu patří stavy „LCD off“, „HDD off“ a „CPU slow clock/clock down“ (vypnutí displeje, vypnutí pevného disku, zpomalení nebo vypnutí taktování procesoru).The basic mechanism of power management is to put hardware that does not need to work into a power-saving state or completely disconnect power derived from the operation of the computer system, (from now on, instead of the term "computer system", only the term "system" will be used.) Well-known examples of power management include the states "LCD off", "HDD off" and "CPU slow clock/clock down".

„LCD off“ vypne napájení displeje nebo jeho podsvícení, pokud nepřichází signály z klávesnice nebo myši po dobu delší, než je nastavená. „HDD off“ vypne napájení obvodů uvnitř pevného disku v závislosti na době zjištěné od posledního přístupu na disk. Tato technika je popsána např. v US patentové přihlášce č. 4,933,785. Protože podsvícení displeje a motor pevného disku spotřebovávají velký podíl příkonu celého systému, přispívají stavy „LCD off“ a „HDD off“ podstatně k úspoře energie.“LCD off” turns off the power to the display or its backlight if there is no input from the keyboard or mouse for a period of time longer than the set time. “HDD off” turns off the power to the circuitry inside the hard disk based on the time detected since the last disk access. This technique is described, for example, in US Patent Application No. 4,933,785. Since the display backlight and the hard disk motor consume a large portion of the system power, the “LCD off” and “HDD off” states contribute significantly to energy savings.

„CPU slow clock“ a „CPU clock down“ snižují spotřebu energie procesoru snížením jeho taktovacího kmitočtu nebo jeho úplným vypnutím v době jeho neaktivního provozu (např. nepřichází-li po dobu delší než nastavenou signály z klávesnice ani myši). Protože výpočetní schopnost procesorů a v důsledku toho i příkon a tudíž ohřívám"CPU slow clock" and "CPU clock down" reduce the processor's power consumption by reducing its clock frequency or completely turning it off during inactive operation (e.g. when there are no keyboard or mouse signals for a period longer than the set time). Because the computing power of processors and, as a result, the power consumption and therefore heating

fc fcfc fcfc ·· fcfcfc · fc fcfc · procesoru se v poslední době stále zvyšuje, mají uvedené úsporné stavy velkou důležitost. Tato technika byla popsána např. v japonské přihlášce patentu č. 7-278904 (PUPA 9-128106, výtah z přihlášky č. JA995100), na jejímž základě byl žadateli patent udělen.fc fcfc fcfc ·· fcfcfc · fc fcfc · processor has been increasing recently, the above-mentioned power-saving states are of great importance. This technique was described, for example, in Japanese Patent Application No. 7-278904 (PUPA 9-128106, Abstract of Application No. JA995100), on the basis of which the applicant was granted a patent.

Uvedené stavy „LCD off‘, „HDD off‘ a „CPU slow clock/clock down“ a další snižují spotřebu energie zastavením části hardwaru, zatímco zbytek hardwaru elektřinu spotřebovává dál. Není třeba zdůrazňovat, že kdyby se podařilo zastavit téměř celý systém, byla by úspora energie podstatně výraznější. V případě akumulátorů by navíc docházelo k degradaci jejich vlastností, pokud by byly dále vybíjeny ve stavu, kdy jejich zbytková kapacita má nižší než určenou minimální hodnotu. V takových situacích je tedy žádoucí zcela vypnout napájení systému.The states “LCD off”, “HDD off” and “CPU slow clock/clock down” and others reduce power consumption by stopping part of the hardware, while the rest of the hardware continues to consume electricity. Needless to say, if almost the entire system could be stopped, the energy savings would be significantly greater. In the case of batteries, their properties would also degrade if they were further discharged in a state where their residual capacity is lower than a specified minimum value. In such situations, it is therefore desirable to completely turn off the system power.

Tzv. hibernace je technika řízení příkonu, která umožňuje napájení prvků systému zcela vypnout. Systém dostane povel, aby přerušil právě prováděnou úlohu a přešel do stavu hibernace, když po dobu delší než nastavenou není zjištěna aktivita klávesnice a myši ani na vstupech ostatních vstupně-výstupních zařízení, nebo je-li baterie ve stavu blízkém vybití. Návrat systému ze stavu hibernace nazýváme „probuzení“. Probuzení vrací systém do původního provozního stavu, ve kterém se prováděla přerušená úloha, a liší se od obvyklého stavu po zapnutí napájení (Power-on Reset), kdy jsou všechny úlohy vynulované.Hibernation is a power management technique that allows the power to be completely turned off to system components. The system is instructed to interrupt the task it is currently performing and enter hibernation mode when there is no keyboard or mouse activity or other input/output device activity for a period of time longer than a set period, or when the battery is low. The return of the system from hibernation is called “waking up.” Waking up returns the system to the original operating state in which the interrupted task was being performed, and is different from the usual state after powering on (Power-on Reset), when all tasks are reset.

Aby se probuzením obnovila přerušená úloha, tj. aby se obnovil stav systému v časovém okamžiku, kdy byla úloha přerušena, je nutné před přechodem do stavu hibernace uložit stav systému. Stav systému v tomto smyslu znamená obsah volatilní paměti, tj. hlavní paměti a VRAM, hodnoty v registrech procesoru a vstupně-výstupních zařízení a některé stavy hardwaru, jako je třeba hodnota uložená v časovači. Navrácením těchto uložených údajů během probouzení do jejich původních míst se funkce systému obnoví v místě, kde byla přerušena. Informace, které jsou uloženy pro obnovení stavu před pozastavením, budou v dalším označovány jako „hibemační informace“.In order to resume an interrupted task by waking up, that is, to restore the system state at the point in time when the task was interrupted, it is necessary to save the system state before entering the hibernation state. System state in this sense means the contents of volatile memory, i.e., main memory and VRAM, values in processor and I/O device registers, and some hardware states, such as the value stored in a timer. By restoring these saved data to their original locations during waking up, the system function resumes from the point where it was interrupted. The information that is saved to resume the state before suspend will be referred to as "hibernation information" in the following.

• Φ φφφφ φ φφ ·· φφ φφ φ φφφφ φφφφ φφφ φφφ φφφφ φφφφ φφφ φφφφ φφ φφ φφφφφ φφ φφ• Φ φφφφ φ φφ ·· φφ φφ φ φφφφ φφφφ φφφ φφφ φφφφ φφφφ φφφ φφφφ φφ φφ φφφφφ φφ φφ

Pokud si uvědomíme, že napájení všech hardwarových součástí systému bude v stavu hibernace odpojeno, dojdeme k závěru, že hibemační informace musí být uložena v nevolatilním paměťovém médiu, jakým je třeba pevný disk. Proto je nutné na pevném disku vyhradit oblast pro uložení hibemační informace.If we consider that the power to all hardware components of the system will be disconnected in the hibernation state, we conclude that the hibernation information must be stored in a non-volatile storage medium, such as a hard disk. Therefore, it is necessary to reserve an area on the hard disk to store the hibernation information.

Jedním z řešení, jak vyhradit oblast na pevném disku pro uložení hibemační informace, může být vytvoření virtuálního disku (partition). Jiným způsobem může být uložení hibemační informace do „hibemačního souboru“, který bude spravován správcem souborů operačního systému (OS). Hibemační soubor bude uložen v uživatelské části pevného disku a bude mít stejnou úroveň jako ostatní uživatelské soubory.One solution to allocate an area on the hard disk to store the hibernation information is to create a virtual disk (partition). Another way is to store the hibernation information in a "hibernation file", which will be managed by the operating system (OS) file manager. The hibernation file will be stored in the user part of the hard disk and will have the same level as other user files.

Je-li jednou vytvořen virtuální disk, je dána jeho velikost, kterou nelze měnit jinak, než při jeho novém vytvoření. Při druhém uvedeném způsobu lze naopak velikost rezervovaného prostoru pro hibemační soubor dynamicky měnit pomocí správce souborů OS. I když se například celková velikost hibemační informace zvětší v důsledku přidání nových modulů do hlavní paměti, lze pro hibemační informaci jednoduše rezervovat větší prostor prostřednictvím správce souborů. Druhý přístup je tedy výhodnější, pokud uvažujeme možnost rozšíření kapacity paměti ze standardních 32 MB třeba až na 256 MB (velikost paměti se může měnit v širokém rozmezí) pomocí doplnění paměťových modulů SIMM (Single Inline Memory Module) nebo DIMM (Duál Inline Memory Module) do konektorů základní desky zejména novějších osobních počítačů.Once a virtual disk is created, its size is given, which cannot be changed except when it is newly created. In the second method, on the other hand, the size of the reserved space for the hibernation file can be changed dynamically using the OS file manager. Even if, for example, the total size of the hibernation information increases due to the addition of new modules to the main memory, a larger space can simply be reserved for the hibernation information using the file manager. The second approach is therefore more advantageous if we consider the possibility of expanding the memory capacity from the standard 32 MB to, for example, 256 MB (the memory size can vary within a wide range) by adding SIMM (Single Inline Memory Module) or DIMM (Dual Inline Memory Module) memory modules to the motherboard connectors, especially in newer personal computers.

Způsob ukládání stavu systému do hibemačního souboru je popsán např. v japonské patentové přihlášce ě. 5-184186 (PUPA 7-84848: výtah č. JA993020) udělené žadateli o tuto patentovou přihlášku.A method of storing the system state in a hibernation file is described, for example, in Japanese Patent Application No. 5-184186 (PUPA 7-84848: Abstract No. JA993020) granted to the applicant of this patent application.

V případě počítačového systému, který podporuje stav hibemace/probuzení, se napájení systému mimo normálního vypínače napájení odpojuje navíc i přechodem do hibemačního stavu.In the case of a computer system that supports hibernation/wake mode, the system power is disconnected in addition to the normal power switch by entering hibernation mode.

·· 9999 • · · · • 9 · ·· ·· • · · · · 9·· 9999 • · · · • 9 · ·· ·· • · · · · 9

9 · · · 9 • · · · 9 9 9 • · 9 9 9 99 · · · 9 • · · · 9 9 9 • · 9 9 9 9

99999999

Hibemační stav je stav, ve kterém je činnost počítače zmrazená a stav systému uložen, a lze jej snadno odlišit od vypnutého stavu. Když se zapne napájení systému, pak byl-li systém ve vypnutém stavu, proběhne normální postup POR. Pokud však systém byl ve stavu hibernace, musí proběhnout proces probuzení spojený s obnovením uložené informace. V souladu s tím je třeba při vstupu do hibemačního stavu někde v systému uložit informaci o tom, že systém bude v hibemačním stavu (tzn. že systém bude vypnut a jeho stav uložen). Taková informace bude dále nazývána „hibemační podpis“. Po zapnutí pak systém podle toho, zda najde hibemační podpis, určí, zda má po zapnutí dojít k probuzení nebo k řešetu.Hibernation is a state in which the computer's operations are frozen and the system state is saved, and it can be easily distinguished from the off state. When the system power is turned on, if the system was in the off state, the normal POR procedure will take place. However, if the system was in the hibernation state, a wake-up process must take place, which involves restoring the saved information. Accordingly, when entering the hibernation state, information must be stored somewhere in the system that the system will be in the hibernation state (i.e., the system will be turned off and its state saved). Such information will be referred to as the "hibernation signature". After powering on, the system determines whether to wake up or reboot after powering on, based on whether it finds the hibernation signature.

Hibemační podpis může být uložen kdekoliv, kam má systém po zapnutí přístup. Takovým místem může být např. pevný disk nebo nějaká nevolatilní paměť (NVRAM: např. baterií zálohovaná paměť CMOS). Pokud se má umožnit vzdálené probuzení, musí však hibemační podpis být uložen také na pevném disku spolu s hibemační informací.The hibernation signature can be stored anywhere that the system can access after power-on. This could be a hard drive or some non-volatile memory (NVRAM: e.g., battery-backed CMOS memory). However, if remote wake-up is to be enabled, the hibernation signature must also be stored on the hard drive along with the hibernation information.

Pojem „vzdálené probuzení“ v této souvislosti znamená, že stav systému se zaznamená na odpojitelný pevný disk v jednom počítačovém systému, který má přejít do hibemačního stavu, a poté je pevný disk připojen kjinému počítačovému systému, který se má probudit. Počítačový systém, který se má takto dálkově probudit, musí mít stejnou konfiguraci jako systém, který přešel do hibemačního stavu. Jinými slovy, systém musí mít stejnou velikost paměti a stejný druh a počet vstupně-výstupních zařízení, a tato zařízení musí sdílet stejné systémové zdroje. Pomocí vzdáleného probuzení může být stav úlohy bezprostředně před hibernací obnoven na velkém počtu vzdálených systémů pouze odpojením a výměnou pevného disku. To může přinést velké výhody např. s ohledem na celkové náklady vlastníka u velkých uživatelů (typicky podnik, společnost), který má nainstalováno velké množství systémů se stejnou konfigurací. Počítačový systém, ke kterému je připojen pevný disk, však o hibemačním stavu nemůže vědět, pokud na stejném disku, na němž je uložena hibemační informace, není uložen •· 999 9The term "remote wake-up" in this context means that the system state is recorded on a removable hard drive in one computer system that is to enter hibernation, and then the hard drive is connected to another computer system that is to be woken up. The computer system that is to be woken up remotely must have the same configuration as the system that entered hibernation. In other words, the system must have the same amount of memory and the same type and number of input/output devices, and these devices must share the same system resources. With remote wake-up, the state of the task immediately before hibernation can be restored on a large number of remote systems simply by disconnecting and replacing the hard drive. This can bring great advantages, for example, with regard to the total cost of ownership for large users (typically a business, a company) that have a large number of systems with the same configuration installed. However, the computer system to which the hard drive is attached cannot know about the hibernation state unless the hibernation information is stored on the same drive •· 999 9

9 · • · »9 · • · »

9 99 9

9 9 99 9 9

9999

9 99 9

9 99 9

9 99 9

9 99 9

999 9 9999 9 9

9999

9 9 99 9 9

9 9 99 9 9

9 9 99 9 9

9 9 99 9 9

9 9 9 také hibemační podpis. Jinými slovy, počítačový systém se nedokáže probudit, přestože dostane informaci o změněném stavu systému.9 9 9 also a hibernation signature. In other words, the computer system cannot wake up even though it receives information about the changed state of the system.

Je-li hibemační informace doprovázena hibemačním podpisem, lze využít výhod vzdáleného probuzení. Při ukládání hibemačního podpisu na pevný disk je však třeba dbát na některé okolnosti. Jednou z nich je umístění informace na pevném disku.If the hibernation information is accompanied by a hibernation signature, the benefits of remote wake-up can be taken advantage of. However, when storing the hibernation signature on the hard disk, some circumstances must be taken into account. One of them is the location of the information on the hard disk.

Systém musí rozhodnout, jestli má po zapnutí napájení systému proběhnout POR (počáteční reset) nebo proces probuzení. Je-li proto hibemační podpis uložen na pevném disku, musí to být na místě (cylindru), které lze použít bez správce souborů operačního systému. Např. v dříve uvedené patentové přihlášce č. 5-184186 (PUPA 7-84848) se hibemační podpis ukládá do určeného místa na pevném disku (přesněji na CE cylindru definovaném v krajní vnitřní dráze).The system must decide whether to perform a POR (initial reset) or a wake-up process when the system is powered on. Therefore, if the hibernation signature is stored on the hard disk, it must be in a location (cylinder) that can be used without the operating system file manager. For example, in the previously mentioned patent application No. 5-184186 (PUPA 7-84848), the hibernation signature is stored in a designated location on the hard disk (specifically, on the CE cylinder defined in the outermost inner track).

Dalším cílem je zabránit rušení hibemačního podpisu zapsaného na určeném místě pevného disku datovou informací uloženou ve stejném cylindru.Another goal is to prevent the deletion of a hibernation signature written in a designated location on the hard disk by data information stored in the same cylinder.

V systémech, v nichž získává správce souborů operačního systému přístup na disk prostřednictvím BIOSu (Basic I/O System - viz další odstavec), lze cylindr pro uložení hibemačního podpisu vyhradit pomocí jeho zamaskování BlOSem. Např. krajní vnitřní cylindr pevného disku má nejvyšší hodnotu adresy. Proto může BIOS CE cylindr skrýt před uživatelem tak, že na dotaz od správce souborů operačního systému udá nižší hodnotu velikosti disku. Správce souborů OS pak žádným způsobem nemůže zapisovat data na CE cylindr, správcem souborů dokonce ani neví o jeho existenci, takže uživatelská data nemohou hibemační podpis nijak narušit.In systems where the operating system file manager gains access to the disk via the BIOS (Basic I/O System - see the next paragraph), the cylinder for storing the hibernation signature can be reserved by masking it with the BIOS. For example, the innermost cylinder of a hard disk has the highest address value. Therefore, the BIOS can hide the CE cylinder from the user by giving a lower value for the disk size when asked by the operating system file manager. The OS file manager can then not write data to the CE cylinder in any way, and the file manager does not even know about its existence, so user data cannot violate the hibernation signature in any way.

(Aplikace a OS volají BIOS vydáním příkazu INT. Např. počítače kompatibilní s IBM PC/AT (PC/AT je chráněná značka International Business Machines Corporation) jsou všeobecně zkonstruovány tak, že volají diskové vstupně-výstupní podprogramy v BIOSu příkazem INT 13.) ft β ftft • · · · · · • · · • · ·(Applications and the OS call the BIOS by issuing the INT command. For example, IBM PC/AT compatible computers (PC/AT is a trademark of International Business Machines Corporation) are generally designed to call the disk I/O routines in the BIOS with the INT 13 command.) ft β ftft • · · · · · · • · · ·

• · ftft • * · · • ftft · « · · ft « · · · ftft ftft• · ftft • * · · • ftft · « · · ft « · · · ftft ftft

BIOS obvykle dodává koncovému uživateli výrobce nebo prodejce počítačového systému ve formě pevné paměti ROM (Read Only Memory) na základní desce počítače. Pokud může být cylindr pro uložení hibemačního podpisu vyhrazen pomocí funkce BIOSu, lze se vyhnout vzájemnému rušení uživatelských dat a hibemačního podpisu, aniž by o tom koncový uživatel a prodejce OS museli vědět. Výrobci a prodejci počítačových systémů také budou moci závazně zaručit řadu operací souvisejících s hibernací a probuzením systému.The BIOS is typically provided to the end user by the computer system manufacturer or vendor in the form of a ROM (Read Only Memory) on the computer's motherboard. If the cylinder for storing the hibernation signature can be reserved using a BIOS feature, mutual interference between user data and the hibernation signature can be avoided without the end user and OS vendor needing to know. Computer system manufacturers and vendors will also be able to guarantee a number of operations related to hibernation and wake-up.

Existují však některé novější operační systémy s přímým přístupem na disk, které se obejdou bez prostřednictví BIOSu (to znamená, že budič zařízení v OS vydává vstupně-výstupní povely pevnému disku, aniž by volal BIOS). Příkladem takového OS je OS/2 (obchodní značka firmy International Business Machines Corporation), který prodává IBM. U takových OS nemůže BIOS skrýt žádný cylindr na disku před správcem souborů, protože pevný disk nemá jinou možnost, než poctivě odpovědět na vstupně-výstupní povel, který je nezprostředkovanou hardwarovou operací, a není vybaven architekturou, která by skryla určitý cylindr.However, there are some newer direct disk access operating systems that do not require the BIOS (that is, the device driver in the OS issues I/O commands to the hard disk without calling the BIOS). An example of such an OS is OS/2 (a trademark of International Business Machines Corporation), sold by IBM. In such OSs, the BIOS cannot hide any cylinder on the disk from the file manager because the hard disk has no choice but to respond honestly to an I/O command, which is an unmediated hardware operation, and does not have the architecture to hide a particular cylinder.

Správce souborů operačního systému takového typu, který má přímý přístup k pevnému disku, má přístup i k cylindru, který byl zamaskován BlOSem. V takovém prostředí mohou uživatelská data být zapsána i do cylindru určeného pro hibemační podpis. Pokud ktomu dojde, zapsání hibemačního podpisu v okamžiku přechodu do stavu hibernace do určitého cylindru může zničit uživatelská data, která v něm původně byla zapsána. V takovém případě se systém bude schopen se po zapsání hibemačního podpisu probudit. Ztracená uživatelská data však nelze obnovit, takže systém po nastartování aplikace, která tuto část dat používala, nebude správně pracovat.The file manager of an operating system of this type, which has direct access to the hard disk, also has access to the cylinder that has been masked by the BlOS. In such an environment, user data can also be written to the cylinder designated for the hibernation signature. If this happens, writing the hibernation signature to a specific cylinder at the time of entering the hibernation state can destroy the user data that was originally written to it. In such a case, the system will be able to wake up after writing the hibernation signature. However, lost user data cannot be recovered, so the system will not work correctly after starting an application that used this part of the data.

Hibemační technologii dodává výrobce nebo prodejce počítačového systému. Ten se zpravidla liší od dodavatele operačního systému. Morfologie a způsob použití pevného disku se v jednotlivých operačních systémech liší, a proto je téměř nemožné dosáhnout dohody mezi výrobci, prodejci a dodavateli OS o místě uložení hibemačního podpisu.The hibernation technology is provided by the manufacturer or vendor of the computer system. This is usually different from the operating system vendor. The morphology and usage of the hard disk varies from operating system to operating system, making it almost impossible to reach an agreement between manufacturers, vendors, and OS suppliers on where the hibernation signature should be stored.

• ti • tititi * titi ·· ·· • · ti · · ti · · ti ti• ti • tititi * titi ·· ·· • · ti · · ti · · ti ti

9 9 9 9 9 9 9 · • ti · titi ti·· titi · titititi tititi · ·· <9 9 9 9 9 9 9 · • ti · titi ti·· titi · titititi tititi · ·· <

titi titi ti·ti ·< <· ··tit tit tit·ti ·< <· ··

Spolehlivost systému se ztrácí i s velmi malým poškozením uložených dat. Výrobci a prodejci počítačů se pak nemohou vyhnout obvinění z neschopnosti zajistit provoz systému.System reliability is lost with even a very small corruption of stored data. Computer manufacturers and vendors cannot avoid accusations of failure to ensure system operation.

Je snadno pochopitelné, že hibemační soubor se ukládá na pevném disku tak, že se navzájem neohrožuje s uživatelskými daty, protože tento proces je řízen správcem souborů operačního systému.It is easy to understand that the hibernation file is stored on the hard drive in a way that does not interfere with user data, since this process is controlled by the operating system's file manager.

Popis vynálezuDescription of the invention

Předmětem vynálezu je zlepšený systém pro zpracování informací a způsob jeho řízení, tak jak je uvedeno v patentových nárocích. Systém a způsob zavádějí technologii s nízkou spotřebou, kdy je vykonávaná úloha při výskytu určené události přerušena a systém je uveden do stavu, ve kterém je funkce systému téměř úplně zastavena (tj. systém přejde do stavu s nízkou spotřebou energie).The invention provides an improved information processing system and method for controlling the same, as set forth in the claims. The system and method implement low-power technology, wherein a task being performed is interrupted upon the occurrence of a specified event and the system is brought into a state in which the system function is almost completely stopped (i.e., the system enters a low-power state).

Vynález se dále popisuje paměťové médium, ze kterého může číst počítač, což je uvedeno v patentových nárocích.The invention further describes a storage medium from which a computer can read, which is set out in the claims.

Předmět vynálezu v upřednostňovaných realizacích popisuje zlepšený systém pro zpracování informací a způsob jeho řízení, který ukládá před přechodem do stavu s nízkou spotřebou informaci o stavu systému do externího paměťového média, jakým je například pevný disk, a poté se obnovením uloženého stavu opět vrátí do původního provozního stavu.The subject invention in preferred embodiments describes an improved information processing system and method of controlling it, which stores information about the system state in an external storage medium, such as a hard disk, before transitioning to a low-power state, and then returns to the original operating state by restoring the stored state.

Předmět vynálezu popisuje systém pro zpracování informací, který je schopen ukládat informaci o stavu systému, aniž by se tím poškodila jiná uživatelská data na vnějším paměťovém médiu, a způsob jeho řízení.The subject invention describes an information processing system capable of storing information about the system status without damaging other user data on an external storage medium, and a method of controlling it.

Prvním význakem předmětu vynálezu je systém pro zpracování informací obsahující procesor, volatilní paměť a nevolatilní externí paměťové médium, který podporuje hibemační funkci, která při výskytu předem určené události přeruší vykonávanou úlohu, uloží hibemační informaci včetně obsahu uvedené paměti do oblasti pro hibemační • ·The first feature of the subject invention is an information processing system comprising a processor, volatile memory and a non-volatile external storage medium, which supports a hibernation function which, upon the occurrence of a predetermined event, interrupts the task being performed, stores the hibernation information including the contents of said memory in a hibernation area.

informaci uvedeného externího paměťového média, a potom přeruší přívod elektrické energie k některým částem systému a způsobí, že systém přejde do hibemačního stavu, přičemž informační systém se skládá z:information of said external storage medium, and then interrupts the power supply to some parts of the system and causes the system to enter a hibernation state, the information system consisting of:

a) prostředků pro uložení hibemační informace včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném externím paměťovém médiu,a) means for storing the hibernation information, including the contents of said memory, in a hibernation information storage area in said external storage medium,

b) paměťová oblast pro uložení informace o řízení hibernace, která je vyhrazena na určitém místě uvedeného externího paměťového média,b) a memory area for storing hibernation control information, which is reserved at a specific location of said external storage medium,

c) prostředků pro uložení dat existujících v uvedené oblasti pro uložení informace o řízení hibernace do uvedené oblasti pro uložení informace o řízení hibernace, k čemuž dojde v reakci na výskyt uvedené předem určené události,c) means for storing data existing in said hibernation control information storage area into said hibernation control information storage area in response to the occurrence of said predetermined event,

d) prostředků pro uložení informace o řízení hibernace do uvedené oblasti pro uložení informace o řízení hibernace poté, co data byla uložena uvedenými prostředky c), ad) means for storing hibernation control information in said hibernation control information storage area after the data has been stored by said means c), and

e) prostředků pro přerušení napájení prvků systému poté, co uvedené prostředky a), b) a c) vykonaly svoji funkci.e) means for interrupting the power supply to the system elements after the means a), b) and c) have performed their function.

Druhým význakem předmětu vynálezu je způsob řízení systému pro zpracování informací sestávajícího z procesoru, volatilní paměti a nevolatilního externího paměťového média, a podpory hibemační funkce, která jako reakci na výskyt předem určené události přeruší vykonávanou úlohu, uloží hibemační informaci včetně obsahu uvedené paměti do oblasti pro uložení informace o hibernaci v uvedeném externím paměťovém médiu,a poté přeruší elektrické napájení prvků systému a způsobí, že systém přejde do hibemačního stavu, přičemž tento způsob sestává z následujících kroků:The second feature of the subject invention is a method of controlling an information processing system consisting of a processor, a volatile memory and a non-volatile external storage medium, and supporting a hibernation function that, in response to the occurrence of a predetermined event, interrupts the task being performed, stores hibernation information including the contents of said memory in an area for storing hibernation information in said external storage medium, and then interrupts the electrical power supply to the system elements and causes the system to enter a hibernation state, the method comprising the following steps:

a) uložení hibemační informace včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném externím paměťovém médiu, ·· ··a) storing the hibernation information, including the contents of said memory, in an area for storing hibernation information in said external storage medium, ·· ··

·· ···· ··

b) zajištění prostoru pro uložení informace o řízení hibernace v určené oblasti uvedeného externího paměťového média,b) providing space for storing hibernation control information in a designated area of said external storage medium,

c) uložení dat existujících v uvedené oblasti pro uložení informace o řízení hibernace jako reakce na výskyt uvedené předem určené události,c) storing data existing in said area for storing hibernation control information in response to the occurrence of said predetermined event,

d) uložení informace o řízem hibernace do uvedené oblasti pro uložení informace o řízení hibernace poté, co data byla uložena uvedeným krokem c), ad) storing hibernation control information in said hibernation control information storage area after the data has been stored by said step c), and

e) přerušení elektrického napájení prvků systému poté, co byly vykonány kroky a), c) a d).e) interruption of the electrical supply to the system elements after steps a), c) and d) have been performed.

Třetím význakem předmětu vynálezu je počítačem využitelné paměťové médium uchovávající ve hmotné formě počítačový program spuštěny na počítačovém systému sestávajícím z procesoru, volatilní paměti a externího nevolatilního paměťového média, kterýžto program podporuje híbemační funkci, která v reakci na předem určenou událost přeruší vykonávanou úlohu, uloží híbemační informaci včetně obsahu uvedené paměti do oblasti pro uložení híbemační informace v uvedeném externím paměťovém médiu, přeruší elektrické napájení částí systému a způsobí, že systém přejde do hibemačního stavu, přičemž uvedený počítačový program sestává z:A third feature of the subject invention is a computer-usable storage medium storing in tangible form a computer program running on a computer system consisting of a processor, volatile memory and an external non-volatile storage medium, which program supports a hibernation function that, in response to a predetermined event, interrupts the task being performed, stores hibernation information including the contents of said memory in an area for storing hibernation information in said external storage medium, interrupts electrical power to parts of the system and causes the system to enter a hibernation state, said computer program consisting of:

a) podprogramu pro uložení híbemační informace včetně obsahu uvedené paměti do oblasti pro uložení híbemační informace v uvedeném externím paměťovém médiu,a) a subroutine for storing the transfer information, including the contents of said memory, in an area for storing the transfer information in said external storage medium,

b) podprogramu pro zajištění prostoru pro uložení informace pro řízení hibernace v určené oblasti uvedeného externího paměťového média,b) a subroutine for providing space for storing hibernation control information in a designated area of said external storage medium,

c) podprogramu pro ukládám dat existujících v uvedené oblasti pro uložení informace pro řízení hibernace do uvedené paměťové oblasti, k čemuž dojde v reakci na výskyt uvedené předem určené události,c) a subroutine for storing data existing in said area for storing hibernation control information in said memory area, which occurs in response to the occurrence of said predetermined event,

d) podprogramu pro uložení informace o řízení hibernace do uvedené • · • · oblasti pro uložení informace o řízení hibernace poté, co byla uložena data uvedeným podprogramem c), ad) a subroutine for storing hibernation control information in said hibernation control information storage area after the data has been stored by said subroutine c), and

e) podprogramu pro přerušení elektrického napájení částí systému poté, co proběhly uvedené podprogramy a), c) a d).e) a subroutine for interrupting the electrical supply to parts of the system after the above subroutines a), c) and d) have been completed.

Externím nevolatilním paměťovým médiem může být např. pevný disk. Mechanika pevného disku je typicky instalována v téměř všech počítačových systémech.An external non-volatile storage medium can be, for example, a hard disk. A hard disk drive is typically installed in almost all computer systems.

Pojem „informace o řízení hibernace“, jak je zde užíván, může v sobě zahrnovat hibemační podpis poskytující informaci, kdy a jak systém přešel do hibernace a přerušil napájení, informace o místě uložení hibemační informace na pevném disku a informace o konfiguraci systému pro zpracování informací.The term "hibernation control information" as used herein may include a hibernation signature providing information about when and how the system entered hibernation and disconnected power, information about where the hibernation information is stored on the hard drive, and information about the system's configuration for processing information.

Hibemační podpis se používá pro určení, zda byl systém v okamžiku vypnutí napájení v hibemačním stavu.The hibernation signature is used to determine whether the system was in a hibernation state when the power was turned off.

Pro rychlé vyhledání místa v oblasti pro uložení hibemační informace, kam byla uložena data, slouží alokační informace.Allocation information is used to quickly find the location in the storage area where data was stored.

Informace o konfiguraci systému je připojena k informaci o konfiguraci systému pro zpracování informací, ve které probíhá proces probuzení. Pokud dochází ke vzdálenému probuzení, existuje možnost, že konfigurace systému, na němž probíhá probuzení, se liší od konfigurace systému, který přecházel do hibemačního stavu. Konfiguraci systému je třeba zkontrolovat, protože systém se může setkat s neočekávanými problémy (jako např. zablokování), pokud se pokoušíme probudit úlohu v odlišném systémovém prostředí.The system configuration information is attached to the system configuration information for the information processing system in which the wake-up process is taking place. When a remote wake-up occurs, there is a possibility that the configuration of the system on which the wake-up is taking place is different from the configuration of the system that entered the hibernation state. The system configuration should be checked because the system may encounter unexpected problems (such as hangs) if we try to wake up a task in a different system environment.

Je žádoucí, aby oblast pro ukládání informace o řízení hibernace byla definována na určitém fyzickém místě pevného disku. Je-li například alokována na cylindru v krajní vnější nebo krajní vnitřní oblasti pevného disku, značně se tím zjednoduší její hledání.It is desirable that the area for storing hibernation control information be defined in a specific physical location on the hard disk. For example, if it is allocated on a cylinder in the outermost or innermost area of the hard disk, this will greatly simplify its search.

Krajní vnější oblast pevného disku obvykle obsahuje sektor (tzv. sektor zavaděče) pro záznam informací o rozdělení pevného disku (počáteční adresa a velikost virtuálních disků). Krajní vnější cylindr je proto obvykle zablokován, aby do něj uživatel neměl přístup.The outermost area of a hard disk usually contains a sector (called the boot sector) for recording information about the hard disk partition (the starting address and size of virtual disks). The outermost cylinder is therefore usually locked to prevent user access.

Předmět vynálezu lze využít v systémech pro zpracování informací sestávajících z běžného osobního počítače vybaveného volatilní pamětí a externím nevolatilním paměťovým médiem. Systém podporuje stav tzv. hibernace, který dovoluje, aby systém byl probuzen do původního stavu před vypnutím napájení tím, že informace o stavu před vypnutím se uchová.The subject invention can be used in information processing systems consisting of a conventional personal computer equipped with volatile memory and an external non-volatile storage medium. The system supports a so-called hibernation state, which allows the system to be woken up to its original state before power is turned off by preserving information about the state before power is turned off.

Zvláště vynikající vlastností předmětu vynálezu je mechanismus uložení informace o řízení hibernace.A particularly outstanding feature of the subject invention is the mechanism for storing hibernation control information.

Když nastane předem určená událost, která vyvolá přechod systému do hibemačního stavu (např. nízký stav nabití baterie), systém na to reaguje uložením hibemační informace do oblasti pro uložení hibemační informace vyhrazené na pevném disku. Hibemační informace zahrnuje také volatilní data jako např. obsah paměti a VRAM.When a predetermined event occurs that causes the system to enter a hibernation state (such as a low battery level), the system responds by storing hibernation information in a hibernation information storage area reserved on the hard disk. Hibernation information also includes volatile data such as memory contents and VRAM.

Oblast pro uložení informace o řízení hibernace jek dispozici na určitém místě pevného disku. Jako oblast pro uložení informace o řízení hibernace může být vyhrazen např. některý cylindr v krajní vnitřní nebo krajní vnější dráze (nebo určitý sektor tohoto cylindru).The area for storing hibernation control information is available in a specific location on the hard disk. For example, a cylinder in the innermost or outermost track (or a specific sector of this cylinder) can be reserved as the area for storing hibernation control information.

Sektor zavaděče, který obsahuje data velmi důležitá pro systém, již existuje v krajním vnějším cylindru. Po uložení sektoru zavaděče je tak zapsána informace pro řízení hibernace do krajního vnějšího cylindru do oblasti pro uložení hibemační informace. Protože však existuje možnost, že uživatelská data byla zapsána do krajního vnitřního cylindru, je nutné uložit data z tohoto cylindru (nebo určitého sektoru cylindru) do oblasti pro uložení hibemační informace, je-li krajní vnitřní cylindr použit jako oblast pro uložení informace o řízení hibernace.The boot sector, which contains data that is very important to the system, already exists in the outermost cylinder. When the boot sector is stored, the hibernation control information is written to the outermost cylinder in the hibernation information storage area. However, since there is a possibility that user data has been written to the innermost cylinder, it is necessary to store data from this cylinder (or a specific sector of the cylinder) in the hibernation information storage area if the innermost cylinder is used as the hibernation control information storage area.

Po dokončení uvedeného sledu operací ukládajících data systém přeruší napájení jednotlivých částí systému a přejde do hibemačníhoAfter completing the above sequence of data saving operations, the system will cut off power to individual system components and enter hibernation mode.

9 9 · 9 9 ·9 9 · 9 9 ·

999 9 9 ·9 9999 9 9 ·9 9

9 9 9 9 9 ·9 9 9 9 9 ·

999 99 9999 99 9

9 9 9 9 9 99 9 9 9 9 9

999 99 9· 99 stavu.999 99 9· 99 status.

Když je naopak obnoveno napájení systému, informace o řízení hibernace uložená v oblasti pro uložení informace o řízení hibernace se přečte, aby se mohlo zkontrolovat, zda systém byl v stavu hibernace a jeli k dispozici informace o konfiguraci systému, která by dovolila jeho probuzení.Conversely, when system power is restored, the hibernation control information stored in the hibernation control information storage area is read to check whether the system was in a hibernation state and whether system configuration information is available to allow it to be woken up.

Informace o hibernaci uložená v oblasti pro uložení hibemační informace je poté přesunuta do původních míst uložení dat v paměti. Pro hledání míst uložení dat v oblasti pro uložení hibemační informace lze použít alokační informaci uloženou jako část informace o řízení hibernace.The hibernation information stored in the hibernation information storage area is then moved to the original data storage locations in memory. Allocation information stored as part of the hibernation control information can be used to search for data storage locations in the hibernation information storage area.

Sektor zavaděče nebo uživatelská data, které byly uloženy do oblasti pro uložení hibemační informace, se také přepíší zpět do původního krajního vnitřního nebo vnějšího cylindru (nebo určitého sektoru tohoto cylindru). Výsledkem je, že pevný disk je opět připraven pro operaci zavádění.The boot sector or user data that was stored in the hibernation information storage area is also overwritten back to the original outermost inner or outer cylinder (or a specific sector of that cylinder). As a result, the hard disk is once again ready for a boot operation.

Dále budou popsány jednotlivé kroky postupu ukládání hibemační informace na pevný disk tak, jak jsou uvedeny na obr. 5(a) až 5(d). Obdélník na každém obrázku schématicky znázorňuje adresovatelný prostor pevného disku.The individual steps of the procedure for storing the hibernation information on the hard disk will be described below as shown in Fig. 5(a) to 5(d). The rectangle in each figure schematically represents the addressable space of the hard disk.

Oblast pro uložení informace o hibernaci je „hibemační soubor“, který je spravován např. správcem souborů operačního systému. Hibemační soubor je uložen jako soubor stejné úrovně jako uživatelské soubory na uživatelském virtuálním disku, který je součástí pevného disku. Např. hibemační soubor je vytvořen na pevném disku pomocí utility pro vytváření souborů (obvykle je to spustitelný .exe soubor).The area for storing hibernation information is a "hibernation file", which is managed, for example, by the operating system's file manager. The hibernation file is stored as a file at the same level as user files on a user virtual disk that is part of the hard disk. For example, the hibernation file is created on the hard disk using a file creation utility (usually an executable .exe file).

Oblast pro uložení hibemační informace je na obr. 5 pro jednoduchost znázorněna, jako by se jednalo o souvislý blok po sobě následujících adres. Pokud se jedná o hibemační soubor, může být oblast ve skutečnosti rozdělena na skupiny diskrétních adres, jejichž návaznost je uložena ve formě alokační informace souborů (např. FAT - alokační tt fcfcfcfc · fcfc fcfc · · • fc · · · · · * · · « • fcfc fcfcfc »··· • · · · fcfc fcfcfc fcfc · « · · · fcfcfc fcfcfcfc • fc fcfc fcfcfc fcfc fcfc fcfc tabulka souborů).The area for storing the hibernation information is shown in Fig. 5 for simplicity as if it were a continuous block of consecutive addresses. If it is a hibernation file, the area may actually be divided into groups of discrete addresses, the continuity of which is stored in the form of file allocation information (e.g. FAT - allocation tt fcfcfcfc · fcfc fcfc · · • fc · · · · * · · « • fcfc fcfcfc »··· • · · · fcfc fcfcfc fcfc · « · · · fcfcfc ffcfcfc • fc fcfc fcfcfc fcfc fcfc fcfc fcfc).

V okamžiku, kdy dojde k události, která má vyvolat přechod do stavu hibernace, zapíše se v souladu sobr. 5(a) sektor zavaděče do krajního vnějšího cylindru. Tím, že se obsah sektoru zavaděče zapíše do oblasti pro uložení hibemační informace (obr. 5(b)), je krajní vnější cylindr (nebo jeho určitá oblast) připraven fungovat jako oblast pro uložení informace o řízení hibernace.When an event occurs that is intended to trigger a transition to the hibernation state, the boot sector is written to the outermost cylinder as shown in Fig. 5(a). By writing the contents of the boot sector to the hibernation information storage area (Fig. 5(b)), the outermost cylinder (or a certain area thereof) is prepared to function as the hibernation control information storage area.

Informace o řízení hibernace pak může být uložena v krajním vnějším cylindru (nebo jeho určitém sektoru), jak je ukázáno na obr. 5(c). Při probouzení zhibemačního stavu se pevný disk dostane do stavu umožňujícího zavedení systémové informace přepsáním obsahu uloženého sektoru zavaděče zpět do krajního vnějšího cylindru poté, co byla použita informace o řízení hibernace (viz obr. 5(d)).The hibernation control information can then be stored in the outermost cylinder (or a specific sector thereof), as shown in Figure 5(c). When waking from hibernation, the hard disk enters a state that allows the system information to be loaded by overwriting the contents of the stored boot sector back to the outermost cylinder after the hibernation control information has been applied (see Figure 5(d)).

Oblast pro uložení hibemační informace je na obr. 5 ukázána bez toho, že by se překrývala s oblastí pro uložení informace o řízení hibernace. Ve skutečnosti však tyto oblasti mohou být náhodně alokovány na stejné fyzické adresy pevného disku. To je tím, že fyzická adresa oblasti pro uložení informace o řízení hibernace je pevně určena, zatímco oblast pro uložení hibemační informace je alokována zcela nezávisle na fyzické adrese používané programovou utilitou. Ve skutečnosti však v těchto případech žádný provozní problém nevznikne, protože data původně uložená oblasti pro uložení informace o řízení hibernace již byla uložena.The hibernation information storage area is shown in Fig. 5 without overlapping with the hibernation control information storage area. In reality, however, these areas may be randomly allocated to the same physical addresses of the hard disk. This is because the physical address of the hibernation control information storage area is fixed, while the hibernation information storage area is allocated completely independently of the physical address used by the program utility. In reality, however, no operational problem arises in these cases because the data originally stored in the hibernation control information storage area has already been saved.

Podle tohoto vynálezu nedojde při ukládání informace o řízení hibernace na pevný disk k poškození žádných uživatelských dat.According to the present invention, no user data is corrupted when storing hibernation control information on the hard disk.

Výrobci a prodejci počítačových systémů tak budou moci s větší jistotou zaručit úspěšné provedení řady operací při přechodu do hibernace a probouzení zpět.This will allow computer system manufacturers and vendors to more confidently guarantee the successful execution of a range of operations when entering hibernation and waking up again.

Počítačem čitelné paměťové médium podle pátého a šestého význaku předmětu tohoto vynálezu definuje vztah strukturální a funkční spolupráce počítačového programu a paměťového média přiThe computer-readable storage medium according to the fifth and sixth features of the subject matter of the present invention defines a structural and functional cooperation relationship between a computer program and a storage medium in

implementování fonkce počítačového programu na počítačovém systému. Jinými slovy, připoj emm počítačově čitelného paměťového média k počítačovému systému (nebo instalováním počítačového programu do počítačového systému) se realizuje spolupráce, jejímž výsledkem je činnost a účinky obdobné prvnímu až čtvrtému význaku tohoto vynálezu.implementing the function of a computer program on a computer system. In other words, by connecting a computer-readable storage medium to a computer system (or by installing a computer program in a computer system), cooperation is realized, resulting in operations and effects similar to the first to fourth features of the present invention.

Příkladem počítačově čitelného paměťového média je ROM (read only memory) implementovaná na základní desce počítače. Je-li ROM přepisovatelného typu (např. EEPROM, elektricky přepisovatelná paměť), zahrnuje pojem počítačově čitelného paměťového média v kontextu tohoto popisu také vyměnitelné paměťové médium, které se připojuje jako vnější paměťová jednotka (např. disketa vkládaná do disketové jednotky) pro přepsání obsahu ROM. Pokud se nějaký program, který má být zapsán do ROM, stahuje ze sítě WAN, jakou je např. internet, pak i vzdálený pevný disk, který je řízen serverem sítě (internetovým serverem), lze zahrnout do pojmu počítačově čitelného paměťového média, jak je užíván v tomto popisu.An example of a computer-readable storage medium is a ROM (read only memory) implemented on a computer motherboard. If the ROM is of a rewritable type (e.g., EEPROM, electrically rewritable memory), the term computer-readable storage medium in the context of this description also includes a removable storage medium that is connected as an external storage unit (e.g., a floppy disk inserted into a floppy disk drive) to rewrite the contents of the ROM. If a program to be written to the ROM is downloaded from a WAN, such as the Internet, then a remote hard disk that is controlled by a network server (Internet server) may also be included in the term computer-readable storage medium as used in this description.

Další záměry, vlastnosti a výhody budou zřejmé z podrobného popisu vztahujícího se k realizaci předmětu tohoto vynálezu a z připojených nákresů.Other objects, features and advantages will be apparent from the detailed description relating to the embodiment of the present invention and from the accompanying drawings.

Stručný popis nákresůBrief description of the drawings

Realizace předmětu tohoto vynálezu je podrobně popsána dále pomocí příkladů a doprovodných nákresů:The implementation of the subject matter of this invention is described in detail below with the help of examples and accompanying drawings:

Obr. 1 je schéma hardwarové konfigurace osobního počítače (PC) 100, který je vhodný pro implementaci předmětu tohoto vynálezu.Fig. 1 is a diagram of the hardware configuration of a personal computer (PC) 100 that is suitable for implementing the subject matter of the present invention.

Obr. 2 ukazuje schématicky napájení subsystému pro realizaci funkce vypínání/zapínání napájení počítačového systému 100 podle obr. 1.Fig. 2 schematically shows a power subsystem for implementing the power on/off function of the computer system 100 of Fig. 1.

Obr. 3 je vývojový diagram popisující obecně postup přechodu do stavu hibernace a zpětné probouzení.Fig. 3 is a flow chart generally describing the process of entering a hibernation state and waking up again.

• · · · · ·• · · · · ·

Obr. 4 je nákres popisující strukturu dat ukládaných a obnovených při přechodu do stavu hibernace a zpět.Fig. 4 is a diagram describing the structure of data saved and restored when transitioning to and from hibernation.

Obr. 5 je schématický nákres popisující postup ukládání informace o řízení hibernace na pevný disk.Fig. 5 is a schematic diagram describing a process of storing hibernation control information on a hard disk.

Obr. 6 ukazuje vnější vzhled notebooku.Fig. 6 shows the external appearance of the notebook.

Obr. 7 je nákres popisující způsob, jakým se oblast pro uložení hibemační informace (hibemační soubor) překrývá s oblastí pro uložení informace o řízení hibernace.Fig. 7 is a diagram describing the manner in which an area for storing hibernation information (hibernation file) overlaps with an area for storing hibernation control information.

Podrobný popis upřednostňovaných realizacíDetailed description of preferred implementations

A. Hardwarová konfigurace počítačového systémuA. Hardware configuration of the computer system

Obr. 1 ukazuje schématicky hardwarovou konfiguraci typického osobního počítače (PC) 100, na němž lze předmět vynálezu vhodně implementovat. Příklad počítačového systému 100, na němž je předmět vynálezu implementován, odpovídá specifikacím OADG (PC Open Architecture Developer's Group) a jako operační systém využívá buď Windows95 společnosti Microsoft Corporation nebo OS/2 firmy International Busines Machines Corporation. Každá část systému bude dále popsána.Fig. 1 shows schematically the hardware configuration of a typical personal computer (PC) 100 on which the subject matter of the invention can be suitably implemented. An example computer system 100 on which the subject matter of the invention is implemented conforms to the specifications of the OADG (PC Open Architecture Developer's Group) and uses either Windows95 from Microsoft Corporation or OS/2 from International Business Machines Corporation as an operating system. Each part of the system will be described below.

Procesor (CPU) 11 je hlavním řadičem a provádí programy pod řízením operačního systému. CPU 11 může být buď Pentium nebo MMX Technology Pentium firmy Intel Corporation.The processor (CPU) 11 is the main controller and executes programs under the control of the operating system. The CPU 11 may be either a Pentium or MMX Technology Pentium from Intel Corporation.

CPU 11 podporuje provozní stav SMM (System Management Mode). Tento typ procesoru je v hlavní paměti 14, která bude popsána dále, vybaven paměťovou oblastí, ke které je přístup pouze v stavu SMM (zde ji předběžně nazýváme paměť SMM). Když dojde k přerušení SMI (System Management Interrupt) používající signálovou linku SMI 50, procesor 11 přejde do provozního stavu SMM, aby se dostala k paměti SMM a provádí určené operace SMM podle programových kódů, které jsou tam uloženy.The CPU 11 supports the SMM (System Management Mode) operating state. This type of processor is provided with a memory area in the main memory 14, which will be described later, that can only be accessed in the SMM state (herein, we will tentatively call it the SMM memory). When an SMI (System Management Interrupt) interrupt occurs using the SMI signal line 50, the processor 11 enters the SMM operating state to access the SMM memory and executes the designated SMM operations according to the program codes stored therein.

V této realizaci je pro hibernaci a probuzení používán stav SMM. Jeho mechanismus je takový, že kód řízení příkonu (PMC) popisující řadu provozních kroků týkajících se hibernace a probuzení, je natažen do paměti SMM, a výskyt přerušení SMI způsobí, že sled operací procesoru 11 přeskočí do PMC, aby systém 100 přešel do stavu hibernace. Výhoda použití provozního stavu SMM spočívá v tom, že hibemační funkci lze zavést bez nutnosti přepisovat dosavadní aplikační software.In this embodiment, the SMM state is used for hibernation and wake-up. Its mechanism is that the power management code (PMC) describing a series of operational steps related to hibernation and wake-up is loaded into the SMM memory, and the occurrence of an SMI interrupt causes the sequence of operations of the processor 11 to jump to the PMC to put the system 100 into the hibernation state. The advantage of using the SMM operating state is that the hibernation function can be implemented without having to rewrite the existing application software.

Centrální jednotka procesoru 11 je propojena se vstupně-výstupními zařízeními, která budou popsána dále, pomocí třívrstvé sběrnice skládající se z procesorové sběrnice 12 připojené ke svorkám procesoru 11, lokální sběrnice PCI (Peripheral Component Interconnect) 16 a systémové sběrnice ISA (industry Standard Architecture) 18.The central processing unit 11 is connected to input/output devices, which will be described below, by a three-layer bus consisting of a processor bus 12 connected to the terminals of the processor 11, a local PCI (Peripheral Component Interconnect) bus 16, and a system ISA (Industry Standard Architecture) bus 18.

Procesorová sběrnice 12 a sběrnice PCI 16 jsou spojeny obvodem mostu (host-PCI most) 13. Obvod mostu v realizaci podle předmětu vynálezu obsahuje řadič paměti pro řízení operací přístupu k hlavní paměti 14 a vyrovnávací paměti, které absorbují rozdíl přenosových rychlostí sběmic 12 a 16.The processor bus 12 and the PCI bus 16 are connected by a bridge circuit (host-PCI bridge) 13. The bridge circuit in the embodiment according to the subject invention includes a memory controller for controlling access operations to the main memory 14 and buffers that absorb the difference in transfer rates of the buses 12 and 16.

Do hlavní paměti 14 lze zapisovat a používá se pro záznam programového kódu procesoru 11 včetně budičů zařízení, operačního systému a aplikačního programu, a přechodně jsou v ní uložena pracovní data při vykonávání takového programového kódu. V předkládané realizaci je určená oblast hlavní paměti 14 alokována jako paměť SMM, která je dostupná jen v pracovním stavu SMM a je v ní uložen PMC (bylo popsáno dříve). PMC je trvale uložen paměti ROM 17 (bude popsáno dále) spolu s BlOSem atd., a natáhne se do hlavní paměti 14 po řešetu při zapojení napájení (POR).The main memory 14 is writable and is used to record the program code of the processor 11 including the device drivers, the operating system and the application program, and temporarily stores the working data while executing such program code. In the present embodiment, a designated area of the main memory 14 is allocated as the SMM memory, which is accessible only in the SMM working state, and the PMC (described earlier) is stored therein. The PMC is permanently stored in the ROM 17 (described later) together with the BlOS, etc., and is loaded into the main memory 14 after a power-on reset (POR).

Hlavní paměť 14 obvykle obsahuje množství čipů pamětí DRAM (dynamické RAM). Systém 100 je standardně vybaven 32 MB rozšířitelnými až na 512 MB.The main memory 14 typically includes a plurality of DRAM (dynamic random access memory) chips. The system 100 is equipped with 32 MB as standard, expandable up to 512 MB.

Vyrovnávací paměť L2 15 je rychlá paměť, která zkracuje čas přístupu procesoru 11 k hlavní paměti 14. Kódy a data omezené délky, které často využívá procesor 11, jsou přechodně uloženy v rychléThe L2 cache 15 is a fast memory that reduces the access time of the processor 11 to the main memory 14. Codes and data of limited length that are frequently used by the processor 11 are temporarily stored in the fast memory.

vyrovnávací paměti LI 15. Paměť L2 15 je obvykle realizována čipy SRAM (statická RAM) a má kapacitu např. 512 KB.L2 cache 15. The L2 memory 15 is usually implemented by SRAM (static RAM) chips and has a capacity of, for example, 512 KB.

Sběrnice PCI 16 je sběrnice takového typu, který dovoluje relativně rychlý přenos dat (šířka sběrnice 32/64 bitů, max. provozní rychlost 33/66 MHz, a max. rychlost přenosu dat 132/264 MB/s), a zařízení PCI s relativně vysokou rychlostí jako videořadič 20 a řadič sběrnice jednotek 23 jsou připojena kPCI sběrnici 16. Architektura PCI byla navržena firmou Intel Corporation a umožňuje funkci Plug and Play (PnP).The PCI bus 16 is a bus of a type that allows relatively fast data transfer (bus width 32/64 bits, max. operating speed 33/66 MHz, and max. data transfer rate 132/264 MB/s), and relatively high-speed PCI devices such as the video controller 20 and the drive bus controller 23 are connected to the PCI bus 16. The PCI architecture was designed by Intel Corporation and enables Plug and Play (PnP) functionality.

Videořadič 20 je navržen pro zpracovávání zobrazovacích instrukcí procesoru 11. Zapisuje dočasně zpracované zobrazovací informace do obrazové vyrovnávací paměti (VRAM) 21 a tyto informace z VRAM 21 čte a posílá je na displej 22 ve formě dat k zobrazení. Videořadič 20 podporuje zobrazení v bitmapovém formátu a jeho rozlišovací schopnost odpovídá např. XGA (Extended Graphic Array) nebo SVGA (Super Video Graphic Array). Je-li systém 100 zařízení přenosného typu, obvykle se ve funkci displeje 22 používá LCD (displej z tekutých krystalů). Zobrazení informace na LCD je osvětlena zezadu podsvícením ze zdroje (nezobrazeno) umístěného na zadní straně displeje. LCD displej je výhodnější než klasická obrazovka, protože je tenčí, lehčí a má poměrně nízkou spotřebu.The video controller 20 is designed to process display instructions from the processor 11. It writes temporarily processed display information to a video buffer memory (VRAM) 21 and reads this information from the VRAM 21 and sends it to the display 22 in the form of data for display. The video controller 20 supports display in a bitmap format and its resolution corresponds to, for example, XGA (Extended Graphic Array) or SVGA (Super Video Graphic Array). If the system 100 is a portable device, an LCD (liquid crystal display) is usually used as the display 22. The display of information on the LCD is illuminated from behind by a backlight from a source (not shown) located on the back of the display. The LCD display is more advantageous than a classic screen because it is thinner, lighter and has relatively low power consumption.

Řadičem řízeným signály sběrnice PCI je řadič sběrnice jednotek 23. Sběrnice PCI je pňpojena ke sběrnici jednotek a je vybavena dvěma pozicemi 24A a 24B pro zasunutí jednotky PC 25, která odpovídá doporučením PCMCIA (Personál Computer memory Card International Association) a JEIDA (Japan Electronic Industry Development Association) - např. PC Card Standard 95. Dále jsou zde konektory pro zasunutí jednotky LAN pro připojení systému do počítačové sítě, jednotky pevného disku a jednotky SCSI (Smáli Compter System Interface) pro připojení vnějších zařízení SCSI, jako je PC jednotka 25. Pomocí jednotky LAN se počítačový systém 100 může připojit do LAN (např. Ethernet nebo Token Ring) a dále přes bránu pomocí nezobrazeného směrovače k internetu, což umožní využití www (WorldThe controller controlled by the PCI bus signals is the drive bus controller 23. The PCI bus is connected to the drive bus and is equipped with two slots 24A and 24B for inserting a PC drive 25 that complies with the recommendations of the PCMCIA (Personal Computer Memory Card International Association) and JEIDA (Japan Electronic Industry Development Association) - e.g., PC Card Standard 95. Furthermore, there are connectors for inserting a LAN drive for connecting the system to a computer network, a hard disk drive, and a SCSI (Small Computer System Interface) drive for connecting external SCSI devices, such as the PC drive 25. Using the LAN drive, the computer system 100 can connect to a LAN (e.g., Ethernet or Token Ring) and further, via a gateway using a router (not shown), to the Internet, which will allow the use of the www (World Wide Web).

Wide Web) jako rozsáhlého systému získávání informací. Z webového serveru na internetu lze např. stáhnout nový obsah paměti ROM.Wide Web) as a large-scale information retrieval system. For example, new ROM content can be downloaded from a web server on the Internet.

Sběrnice PCI 16 a sběrnice ISA 18 jsou spojeny přes obvod mostu (PCI-ISA bridge) 19. Obvod mostu 19 obsahuje řadič DMA, programovatelný řadič přerušení (PIC), programovatelný intervalový časovač (PIT), hodiny reálného času (RTC) v technologii CMOS a logické obvody přerušení.The PCI bus 16 and the ISA bus 18 are connected via a bridge circuit (PCI-ISA bridge) 19. The bridge circuit 19 includes a DMA controller, a programmable interrupt controller (PIC), a programmable interval timer (PIT), a CMOS real-time clock (RTC), and interrupt logic circuits.

Řadič DMA je vyhrazen pro přenos dat mezi vstupně-výstupními zařízeními a hlavní paměti 14 bez účasti centrální procesorové jednotky CPU 11.The DMA controller is dedicated to transferring data between input/output devices and main memory 14 without the participation of the central processing unit CPU 11.

PIC zpracovává žádosti o přerušení (IRQ) od vstupně-výstupních zařízení a o IRQ informuje procesor 11. CPU 11 poté, co přijme informaci o IRQ, přeruší vykonávanou úlohu a provede předem určený program (rutina přerušení).The PIC processes interrupt requests (IRQ) from input/output devices and informs the processor 11 of the IRQ. After receiving the IRQ information, the CPU 11 interrupts the task being performed and executes a predetermined program (interrupt routine).

PIT je zařízení, které generuje hodinový signál (normálně s pravoúhlým průběhem) s určenou programovatelnou periodou.A PIT is a device that generates a clock signal (normally with a rectangular waveform) with a specified programmable period.

RTC část obvodu RTC/CMOS měří reálný čas. CMOS část se využívá pro uchování informace nepostradatelné pro bezpečnost systému 100, jako je informace o konfiguraci systému (nastavovací údaje z BIOSu) a heslo při zapnutí napájení. Obvod RTC/CMOS má napájení zálohované baterií (obvykle tvaru a velikosti mince), takže procesor systému 100 při stavu s vypnutým napájením neztratí svůj obsah. Technicky je možné v paměti CMOS uchovat i informaci o řízení hibernace, ale navrhovaná realizace této možnosti nevyužívá.The RTC portion of the RTC/CMOS circuit measures real time. The CMOS portion is used to store information essential to the security of the system 100, such as system configuration information (BIOS settings) and the power-on password. The RTC/CMOS circuit is powered by a battery (typically the shape and size of a coin) so that the processor of the system 100 does not lose its contents when the power is off. Technically, it is possible to store hibernation control information in CMOS, but the proposed implementation does not utilize this option.

Do obvodu logiky přerušení vstupuje spoj řídicích signálů 60 z řadiče 40 napájecího zdroje (bude popsán dále) přes jednu ze svorek externích vstupů pro všeobecné použití. Jejím výstupem je spoj 50 signálů SMI, který je přiveden na špičku vstupu SMI procesoru CPU 11. Obvody logiky přerušení mají v zásadě dvě funkce. Jednou z nich je vybudit signálový spoj SMI 50 v reakci na vybuzení spoje 60 řídicích signálů, čímž se generuje signál SMI přerušení. Druhou funkcí jeThe interrupt logic circuit receives a control signal line 60 from the power supply controller 40 (to be described later) through one of the general purpose external input terminals. Its output is an SMI signal line 50, which is applied to the SMI input pin of the CPU 11. Interrupt logic circuits have two basic functions. One is to drive the SMI signal line 50 in response to the drive of the control signal line 60, thereby generating an SMI interrupt signal. The second function is to

nepřetržitě monitorovat sběrnice 16 a 18 a vybudit spoj 50 signálu SMI pro generování přerušení SMI, je-li detekována adresa (vstupněvýstupního zařízení nebo paměti) nastavená ve vnitřním registru. Tato funkce je však pro realizaci tohoto vynálezu nepodstatná.continuously monitor buses 16 and 18 and drive SMI signal link 50 to generate an SMI interrupt when an address (of an I/O device or memory) set in an internal register is detected. However, this function is not essential to the implementation of the present invention.

Obvod mostu 19 navrhované realizace vynálezu je dále vybaven rozhraním IDE pro připojení vnějšího paměťového zařízení odpovídajícího standardu IDE (Integrated Drive Electronics). Pevný disk IDE (HDD) 26 je připojen k tomuto rozhraní IDE, k němuž je dále připojena další mechanika IDE CD-ROM 27 podle standardu ATA (AT Attachment Packet Interface). Tato zařízení IDE mohou být oddělitelná nebo výměnná. K IDE CD-ROM mechanice 27 může být případně připojeno další IDE zařízení jako např. DVD (Digital Video Disc nebo Digital Versatile Disc). Vnější paměťová zařízení jako pevný disk 26 a CD-ROM 27 jsou uložena v prostoru nazývaném „media bay“ nebo „device bay“ spolu s mechanikou pružného disku FDD 30 (bude popsáno dále).The bridge circuit 19 of the proposed embodiment of the invention is further equipped with an IDE interface for connecting an external storage device corresponding to the IDE (Integrated Drive Electronics) standard. An IDE hard disk (HDD) 26 is connected to this IDE interface, to which another IDE CD-ROM drive 27 according to the ATA (AT Attachment Packet Interface) standard is further connected. These IDE devices may be detachable or replaceable. An additional IDE device such as a DVD (Digital Video Disc or Digital Versatile Disc) may optionally be connected to the IDE CD-ROM drive 27. The external storage devices such as the hard disk 26 and the CD-ROM 27 are stored in a space called a “media bay” or “device bay” together with a floppy disk drive FDD 30 (to be described below).

Pevný disk 26 je vnější paměťové zařízení obsahující disk ve funkci paměťového média (což je dobře známo) a ve srovnání s jinými typy vnějších paměťových zařízení je výhodný vyšší přenosovou rychlostí dat. Softwarové programy (např. operační systém, budiče zařízení a aplikační programy) uložené na disku HDD 26 jsou k dispozici (tj. jsou nainstalované) pro použití systémem 100. Oblast pro uložení hibemační informace je zajištěna na pevném disku např. po počátečním řešetu systému 100 po zapnutí jeho napájení. Tato oblast může být deklarována jako „hibemační soubor“, tj. ve formátu vyhovujícím správci souborů operačního systému. Hibemační soubor je alokován v uživatelském virtuálním disku (partition) pevného disku ve formě jednoduchého souboru na stejné úrovni jako uživatelské soubory. Hibemační soubor může být např. vytvořen na pevném disku pomocí utility pro vytváření souborů (obvykle vykonatelný program ve formátu .exe).The hard disk drive 26 is an external storage device containing a disk as a storage medium (which is well known) and is advantageous in terms of higher data transfer rates compared to other types of external storage devices. Software programs (e.g., operating system, device drivers, and application programs) stored on the HDD 26 are available (i.e., installed) for use by the system 100. An area for storing hibernation information is provided on the hard disk, e.g., upon initial startup of the system 100 after powering it on. This area may be declared as a “hibernation file,” i.e., in a format compatible with the operating system’s file manager. The hibernation file is allocated in a user virtual disk (partition) of the hard disk as a simple file at the same level as user files. The hibernation file may, for example, be created on the hard disk using a file creation utility (usually an executable program in .exe format).

Mechanika 27 CD-ROM je vnější paměťové zařízení pro vkládání kompaktního disku (CD) jako paměťového média a v rámci systému 100Drive 27 CD-ROM is an external storage device for inserting a compact disc (CD) as a storage medium and within the system 100

00 00 • 000 • 000 0 0 00 00 00 00 00 00 • • • • 0 0 0 0 · 0 0 · 0 0 • 0 • 0 0 0 0 0 • • 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 • • 0 0 0 0 0 0 0 0 0 0 0 0 0 · 0 · 0 0 0 0 • · • · 0 0 0 0 0·· 0·· 0« 0« 0 0 0 0 00 00

se používá pro instalování softwarových programů na CD (CD-ROM) a pro přehrávání hudebních CD (CD-DA data). Toto vše jsou dobře známá fakta.is used to install software programs on CDs (CD-ROMs) and to play music CDs (CD-DA data). These are all well-known facts.

Obvod mostu 19 podle předmětu vynálezu obsahuje řadič USB instalovaný pro připojení univerzální sériové sběrnice (USB), což je sběrnice pro všeobecné použití vybavená nejméně jedním USB portem 28. USB podporuje funkci „hot plugging“, která dovoluje připojovat a odpojovat USB zařízení při zapnutém napájení systému. Mimoto dovoluje další funkci „Plug and Play“, která umožňuje automatické rozeznávání přidaných nebo odstraněných USB zařízení a odpovídající změny nastavení konfigurační informace systému. K jednomu USB portu 28 lze připojit do kruhu maximálně 63 USB zařízení. Příkladem USB zařízení jsou klávesnice, myš, joystick, tiskárna, modem, displej a tablet (ne všechna jsou znázorněna na obrázku).The bridge circuit 19 according to the subject invention includes a USB controller installed for connecting a universal serial bus (USB), which is a general purpose bus equipped with at least one USB port 28. USB supports the "hot plugging" function, which allows connecting and disconnecting USB devices while the system power is on. In addition, it allows another "Plug and Play" function, which allows automatic recognition of added or removed USB devices and corresponding changes to the system configuration information settings. A maximum of 63 USB devices can be connected in a circle to one USB port 28. Examples of USB devices are a keyboard, a mouse, a joystick, a printer, a modem, a display and a tablet (not all of which are shown in the figure).

Sběrnice ISA 18 má nižší přenosovou rychlost dat než sběrnice PCI 16 (šířka sběrnice: 16 bitů, maximální rychlost přenosu dat: 4 Mbit/s), a je proto používána pro připojování zařízení ISA jako řadič vstupů/výstupů 29, modemu 33, zvukového řadiče 34 a řadiče 40 napájecího zdroje, jakož i relativně pomalejších zařízení jako ROM 17.The ISA bus 18 has a lower data transfer rate than the PCI bus 16 (bus width: 16 bits, maximum data transfer rate: 4 Mbit/s), and is therefore used to connect ISA devices such as the input/output controller 29, the modem 33, the sound controller 34, and the power supply controller 40, as well as relatively slower devices such as the ROM 17.

Řadič 29 vstupů/výstupů je periferní řadič pro řízení činnosti mechaniky pružného disku FDD 30, vstupně/výstupních operací paralelních dat (PIO) přes paralelní port 31 a vstupně/výstupních operací sériových dat (SIO) přes sériový port 32. K paralelnímu portu 31 může být připojena tiskárna, joystick k sériovému portu 32.The input/output controller 29 is a peripheral controller for controlling the operation of the floppy disk drive FDD 30, parallel data input/output (PIO) operations via the parallel port 31, and serial data input/output (SIO) operations via the serial port 32. A printer can be connected to the parallel port 31, a joystick to the serial port 32.

FDD 30 je vnější paměťové září zem pro využívání výměnných paměťových pružných disků (disket) (FD). To je velmi dobře známo. FDD 30 se v systému 100 používá především pro instalaci softwarových programů dodávaných na disketách a pro ukládání výsledků práce na diskety. Např. nová verze dat ROM se do systému 100 dostane prostřednictvím diskety FD.The FDD 30 is an external memory source for the use of removable memory flexible disks (floppies) (FD). This is very well known. The FDD 30 is used in the system 100 primarily for installing software programs supplied on floppy disks and for storing work results on floppy disks. For example, a new version of ROM data is brought into the system 100 via the FD disk.

Modem 33 je zařízení pro přenos digitálních počítačových dat analogovou veřejnou komutovanou telefonní sítí (PSTN). Počítačový ·» >**· ♦ ♦ *A modem 33 is a device for transmitting digital computer data over the analog public switched telephone network (PSTN). Computer ·» >**· ♦ ♦ *

9 9 • ♦ · · « > · ·9 9 • ♦ · · « > · ·

9999

99 9· ··99 9· ··

V·· · · · 9 9In·· · · · 9 9

9 9 9 9 9 · • » · » · » · · « · 9 9 9 9 99 9 9 9 9 · • » · » · » · · « · 9 9 9 9 9

999 99 99 99 systém 100 může být prostřednictvím modemu 33 spojen se vzdáleným počítačovým systémem. Např. volbou a připojením k přístupovému bodu poskytovanému provozovatelem služeb se počítačový systém 100 připojí internetovým protokolem k internetu, aby mohl využívat WWW (World Wide Web) jako síťový informační zdroj, což je aplikace dobře známá. Ze síťového serveru lze tak např. stáhnout novou verzi dat ROM.999 99 99 99 system 100 can be connected to a remote computer system via modem 33. For example, by dialing and connecting to an access point provided by a service provider, computer system 100 connects to the Internet via Internet Protocol to utilize the WWW (World Wide Web) as a network information source, which is a well-known application. For example, a new version of ROM data can be downloaded from a network server.

Zvukový řadič 34 je řadič vyhrazený pro vstup/výstup zvukových signálů a obsahuje kodek (KOdér-DEKodér, tj. AD/DA převodník se směšovací funkcí) pro záznam a přehrávání audiosignálů. Výstupním zařízením pro audiosignál je vnitřní reproduktor 36 po zesílení zvukovým zesilovačem 35, nebo se signál může předat přes svorky linkového výstupu 37 do vnějšího zvukového zařízení (neznázoměno). Audiosignál vstupuje přes zvukový vstup z interního mikrofonu 38 nebo přes linkový vstup 39 vnější zvukové zařízení (neznázoměno).The audio controller 34 is a controller dedicated to input/output of audio signals and includes a codec (CODER-DECODER, i.e., an AD/DA converter with a mixing function) for recording and playing back audio signals. The output device for the audio signal is the internal speaker 36 after being amplified by the audio amplifier 35, or the signal can be transmitted via the line output terminals 37 to an external audio device (not shown). The audio signal is input via the audio input from the internal microphone 38 or via the line input 39 of an external audio device (not shown).

Úkolem řadiče 40 napájecího zdroje je řídit napájecí subsystém počítačového systému 100. Řadič 40 napájecího zdroje je přednostně realizován jednočipovým řadičovým obvodem „330/H8“ firmy Hitachi Corporation. Tento IO obsahuje lótibitový procesor, RAM, ROM, 8 analogových vstupů a 16 digitálních vstupů/výstupů a je programovatelný. Řadič 40 napájecího zdroje v navrhované realizaci je též vybaven funkcí řízení vstupů/výstupů klávesnice 41 a ukazovacího zařízení (myši) 42 a pracuje následujícím způsobem:The function of the power supply controller 40 is to control the power subsystem of the computer system 100. The power supply controller 40 is preferably implemented by a single-chip controller circuit "330/H8" from Hitachi Corporation. This IC includes a 100-bit processor, RAM, ROM, 8 analog inputs and 16 digital inputs/outputs and is programmable. The power supply controller 40 in the proposed embodiment is also equipped with the function of controlling the inputs/outputs of the keyboard 41 and the pointing device (mouse) 42 and operates as follows:

(1) generuje kód polohy v závislosti na tom, která klávesa klávesnice 41 je stisknuta nebo která poloha je označena myší 42, (2) zjišťuje zbytkovou kapacitu a časy započetí a ukončení nabij ení/vybíjení hlavní baterie 43 monitorováním svorkového napětí, nabíjecího a vybíjecího proudu a okolní teploty baterie 43, (3) vybudí spoj řídicího signálu 60 v závislosti na výskytu předem určené události (přičemž touto událostí je míněn popud k přechodu do hibemačního stavu, jako např. uplynutí určeného času od posledního příchodu signálu od klávesnice nebo myši, stisknutí funkční klávesy (hot key), nízký stav nabití hlavní • · · · · * • · · ···· «··· • 4 · · ♦ * « · · · « 4 ·· · · · · β i · ςΐ • · · « · · « · · · w •« ·· ··· »· β· · s baterie spod.), (4) vypne napájení jednotlivých zařízení nebo celého systému 100 podle povelů procesoru 11 (operace vypnutí napájení se realizuje ve spolupráci s registrem 70 řízení napájecího zdroje (není uveden na obr. 1, viz obr. 2), který bude podrobně popsán dále).(1) generates a position code depending on which key of the keyboard 41 is pressed or which position is marked with the mouse 42, (2) determines the residual capacity and the times of start and end of charging/discharging of the main battery 43 by monitoring the terminal voltage, charging and discharging current and the ambient temperature of the battery 43, (3) energizes the control signal connection 60 depending on the occurrence of a predetermined event (whereby this event is meant the trigger for transition to the hibernation state, such as e.g. the expiration of a specified time since the last arrival of a signal from the keyboard or mouse, pressing a function key (hot key), low charge level of the main battery, (4) turns off the power of individual devices or the entire system. 100 according to the commands of the processor 11 (the power-off operation is implemented in cooperation with the power supply control register 70 (not shown in Fig. 1, see Fig. 2), which will be described in detail below).

ROM 17 je nevolatilní paměť pro trvalé uložení určených programů a dat. V paměti ROM 17 jsou uloženy tyto údaje:ROM 17 is a non-volatile memory for permanent storage of designated programs and data. The following data is stored in ROM 17:

- IPL (počáteční zaváděcí program) pro zavedení programu do paměti po nastartování,- IPL (initial boot program) to load the program into memory after booting,

- POST (autotest po zapnutí napájení),- POST (power-on self-test),

- BIOS pro řízení vstupů/výstupů vstupně-výstupních zařízení, jako je klávesnice 41a FDD 30,- BIOS for controlling the inputs/outputs of input/output devices such as keyboard 41a FDD 30,

- PMC (program pro řízení příkonu), který zahrnuje řadu postupů, které se vztahují k hibernaci a probouzení počítače a budou popsány dále.- PMC (Power Management Program), which includes a number of procedures related to hibernation and wake-up of the computer and will be described below.

BIOS a PMC v paměti ROM 17 se natáhnou do hlavní paměti 14 prostřednictvím POST po počátečním řešetu systému 100 (za předpokladu, že PMC je natažen do SMM oblasti paměti, jak bylo popsáno dříve).The BIOS and PMC in ROM 17 are loaded into main memory 14 via POST upon initial system 100 power-up (assuming the PMC is loaded into the SMM memory area as previously described).

Pokud je ROM 17 typu přepisovatelného po vymazání (např. EEPROM), mohou být programy v paměti ROM jako BIOS a PMC přepsány novou verzí po dodávce výrobku. Nová verze programů určených pro nahrání do paměti ROM se dodává na disketě nebo ji lze stáhnout z určeného internetového serveru (obvykle to bývá domácí stránka výrobce a prodejce počítačového systému 100).If the ROM 17 is of the erasable-after-erasable type (e.g., EEPROM), the programs in the ROM such as BIOS and PMC may be overwritten with a new version after the product is shipped. The new version of the programs intended to be loaded into the ROM is shipped on a floppy disk or can be downloaded from a designated Internet server (usually the home page of the manufacturer and vendor of the computer system 100).

Typický uživatel osobního počítače 100 může na systému 100 pomocí klávesnice 41 nebo myši 42 provozovat aplikace, jako je textový editor, tabulkový procesor, komunikace a internetový prohlížeč, a tak si usnadnit výkon svého povolání. V současnosti prodávané osobní počítače mají pro funkci systému 100 zobrazeného na obr. 1 dostatečný výkon.A typical user of a personal computer 100 can use a keyboard 41 or a mouse 42 to run applications such as a word processor, spreadsheet, communications, and Internet browser on the system 100 to facilitate the performance of his or her job. Currently available personal computers have sufficient power to operate the system 100 shown in FIG. 1.

• · · fc * • · « « · φ · r:• · · fc * • · « « · φ · r:

Pro konfiguraci počítačového systému 100 je mimo obvodů uvedených na obr. 1 nutná řada dalších elektronických obvodů. V tomto popisu jsou však vynechány, protože v oboru jsou dobře známy a netvoří podstatu předmětu tohoto vynálezu. Je také třeba chápat, že na obr. 1 je uvedena pouze část propojení mezi jednotlivými zařízeními, aby se poedešlo zbytečné komplikovanosti obrázku.A number of other electronic circuits are required to configure the computer system 100 in addition to those shown in FIG. 1. However, they are omitted from this description because they are well known in the art and do not form the essence of the subject matter of the present invention. It should also be understood that FIG. 1 shows only a portion of the interconnections between the individual devices to avoid unnecessary complexity of the figure.

B. Subsystém napájení počítačového systémuB. Computer system power subsystem

Obr. 2 schématicky znázorouje napájecí subsystém zajišťující zapínání a vypínání napájení počítačového systému 100 uvedeného na obr. 1. Obr. 2 bude dále popsán.Fig. 2 schematically illustrates a power subsystem providing power on and off to the computer system 100 shown in Fig. 1. Fig. 2 will be described below.

Počítačový systém 100 v navrhované realizaci je napájen pomocí komerčního střídavého zdroje a hlavní baterie 43 ve funkci hlavního zdroje energie. Komerční střídavý zdroj konvertuje střídavé napětí sítě na stejnosměrné napájecí napětí pomocí střídavého adaptéru 72 a stejnosměrného měniče 73. Na jeho výstup je paralelně připojena hlavní baterie 43.The computer system 100 in the proposed embodiment is powered by a commercial AC power supply and a main battery 43 as the main power source. The commercial AC power supply converts AC mains voltage to DC mains voltage using an AC adapter 72 and a DC converter 73. The main battery 43 is connected in parallel to its output.

Stejnosměrný minič 73 je obvod pro změnu stejnosměrného napětí dodávaného uvedeným primárním síťovým zdrojem na stabilizované stejnosměrné napětí o velikosti vhodné pro napájení zařízení systému 100. Výstupní napětí stejnosměrného měniče 73 se rozvádí do různých částí systému přes spínač osazený tranzistorem řízeným polem FETO. Hlavní paměť 14 a VRAM jsou napájeny pouze přes spínač FETO. Procesor 11 a vstupně-výstupní zařízení jsou napájeny přes spínače FETO a FET1. Displej 22 a jeho podsvícení jsou napájeny přes spínače FETO a FET2. Modem 33 je napájen přes spínače FETO a FET3.The DC-DC converter 73 is a circuit for changing the DC voltage supplied by the primary power supply into a stabilized DC voltage of a size suitable for powering the devices of the system 100. The output voltage of the DC-DC converter 73 is distributed to various parts of the system through a switch equipped with a field-effect transistor controlled by a FETO. The main memory 14 and the VRAM are powered only through the FETO switch. The processor 11 and the input-output device are powered through the FETO and FET1 switches. The display 22 and its backlight are powered through the FETO and FET2 switches. The modem 33 is powered through the FETO and FET3 switches.

Hradla všech spínačů FET jsou připojena k odpovídajícím bitovým buňkám registru 70 řízení napájecího zdroje. Proto je řadič 40 napájecího zdroje schopen napájet části systému 100 v závislosti na nastavení hodnot v registru 70 řízení napájecího zdroje. Např. stav s vypnutím displeje se dosáhne nastavením spínače FET2 do vypnutého stavu.The gates of all FET switches are connected to corresponding bit cells of the power supply control register 70. Therefore, the power supply controller 40 is able to power portions of the system 100 depending on the settings of the values in the power supply control register 70. For example, a display off state is achieved by setting the FET2 switch to the off state.

Vypnutím spínačů FET1, FET2 a FET3 se systém 100 dostane do pozastaveného stavu (suspend mode), v němž jsou napájeny pouze paměti 14 a 21. Vypnutím spínače FETO je vypnut celý systém 100.By turning off the FET1, FET2 and FET3 switches, the system 100 enters a suspended state (suspend mode), in which only the memories 14 and 21 are powered. By turning off the FETO switch, the entire system 100 is turned off.

Vypínač napájení systému 71 (obvykle umístěný na boku skříně počítače) je elektricky spojen se vstupem pro řešeto vání registru 70 řízení napájecího zdroje. Hodnoty registru 70 se nastaví tak, že všechny spínače FET sepnou na signál generovaný tím, že uživatel zapne spínač 71 napájení, takže celý systém 100 dostává napájecí napětí.The system power switch 71 (usually located on the side of the computer case) is electrically connected to the reset input of the power supply control register 70. The values of register 70 are set such that all FET switches turn on in response to the signal generated by the user turning on the power switch 71, so that the entire system 100 receives power.

Jak již bylo popsáno, řadič 40 zdroje napájení vybudí spoj 60 řídicího signálu, jestliže zjistí výskyt předem určené události. Logika přerušení v obvodu mostu 19 vybudí SMI signál 50, je-li vybuzen spoj řídicího signálu 60 a vygeneruje přerušení SMI pro procesor 11. CPU 11 přeruší vykonávání právě prováděné úlohy a přejde do provozního stavu SMM, ve kterém proběhne proces vložení PMC do paměti SMM, tj. stav hibernace. Když proběhne provedení PMC, procesor 11 pošle povel řadiči 40 napájecího zdroje, aby vypnul celý systém 100.As previously described, the power supply controller 40 energizes the control signal link 60 when it detects the occurrence of a predetermined event. The interrupt logic in the bridge circuit 19 energizes the SMI signal 50 when the control signal link 60 is energized and generates an SMI interrupt to the processor 11. The CPU 11 interrupts the execution of the task currently being executed and enters the SMM operating state in which the process of inserting the PMC into the SMM memory takes place, i.e., the hibernation state. When the PMC execution takes place, the processor 11 sends a command to the power supply controller 40 to shut down the entire system 100.

C, Postup provedení přechodu do stavu hibernace a probouzeníC, Procedure for entering and exiting hibernation mode

Hardwarová konfigurace počítačového systému 100, který využívá předmětu vynálezu, byla popsána v předchozích odstavcích. V této části bude podrobně popsán postup, jakým systém 100 přechází do hibemačního stavu, a postup, jakým se systém 100 z hibemačního stavu probouzí.The hardware configuration of the computer system 100 that utilizes the subject invention has been described in the preceding paragraphs. In this section, the procedure for the system 100 to enter a hibernation state and the procedure for the system 100 to wake up from a hibernation state will be described in detail.

I když postup operací při přechodu do hibernace a zpět může být realizován programem zpracovávajícím přerušení, v této realizaci je implementován použitím přerušení SMI, jak bylo popsáno dříve. Jinými slovy, postup je realizován procesorem CPU 11, který vykonává povely řízení příkonu (PMC) uložené v paměti SMM. Je snadno pochopitelné, že kroky postupu lze modifikovat natažením nové verze PMC do paměti ROM 17.Although the procedure for transitioning to and from hibernation can be implemented by an interrupt handler program, in this embodiment it is implemented using the SMI interrupt as previously described. In other words, the procedure is implemented by the CPU 11 executing the power management commands (PMC) stored in the SMM. It is readily understood that the procedure steps can be modified by loading a new version of the PMC into the ROM 17.

• · · · · · · • · t · 9 9 ( · • · · · · · « • · · · · ·« · 9 9 9 · · · <V ··· · · · · ·«• · · · · · · • · t · 9 9 ( · • · · · · · « • · · · · ·« · 9 9 9 · · · <V ··· · · · · ·«

Obr. 3 obsahuje vývojový diagram popisující kroky postupu přechodu do stavu hibernace a zpět. Vývojový diagram popíšeme v dalším.Figure 3 contains a flowchart describing the steps involved in entering and exiting hibernation. The flowchart is described below.

Přechod do hibemačního stavuTransition to hibernation

Pokud v systému dojde k výskytu předem určené události, procesor 11 dostane signál přerušení SMI (krok S100). Výsledkem je, že se řízení systému 100 přesune v paměti SMM od OS a aplikace k PMC. Pojem „událost“, jak je zde používán, znamená, že od posledního stisknutí klávesy nebo tlačítka myši uplynul nastavený čas, nebo byla stisknuta funkční klávesa (hot key) nebo byl zjištěn nízký stav nabití baterie apod.When a predetermined event occurs in the system, the processor 11 receives an SMI interrupt signal (step S100). As a result, control of the system 100 is transferred from the OS and application memory to the PMC in the SMM. The term “event” as used herein means that a set time has elapsed since the last key or mouse button was pressed, or a function key (hot key) was pressed, or a low battery level is detected, etc.

PMC nejdříve zkontroluje přítomnost nebo nepřítomnost aktivity na všech vstupně-výstupních zařízeních (krok S102). Pokud je zjištěna aktivita (je-li např. aktivní přenos DMA), opakuje se kontrola aktivity v nastaveném časovém intervalu (např. každých 10 ms), dokud tato aktivita neskončí.The PMC first checks for the presence or absence of activity on all I/O devices (step S102). If activity is detected (e.g., if a DMA transfer is active), the activity check is repeated at a set time interval (e.g., every 10 ms) until the activity ends.

Když už není zjištěna žádná aktivita, PMC uloží hardwarovou kontextovou informaci a pracovní data do oblasti pro uložení hibemační informace (krok S104). Oblast pro uložení hibemační informace je předem vyhrazena na pevném disku, např. po počátečním řešetu systému 100 a může mít formát souboru (tj. hibemační soubor). Pojem „hardwarová kontextová informace“, jak je zde používán, zahrnuje hodnotu registru a hodnoty čítačů časovačů řídicích IO, jako jsou procesor 11, PIC, řadič DMA a videořadič 20. Hardwarová kontextová informace obsahuje důležitá data definující současný stav systému 100 a tvoří část hibemační informace.When no more activity is detected, the PMC stores the hardware context information and the work data in the hibernation information storage area (step S104). The hibernation information storage area is reserved in advance on the hard disk, e.g., after the initial reboot of the system 100, and may have a file format (i.e., a hibernation file). The term "hardware context information" as used herein includes the register value and timer counter values of the control IOs, such as the processor 11, the PIC, the DMA controller, and the video controller 20. The hardware context information contains important data defining the current state of the system 100 and forms part of the hibernation information.

PMC potom uloží původní data paměti VRAM 21 do oblasti pro uložení hibemační informace na pevném disku (krok S106). Původní data z hlavní paměti 14 se také uloží do oblasti pro uložení hibemační informace na pevném disku (krok S108). Protože obsah pamětí 14 a 21 je nestálý a jakmile je jednou vymazán, nelze jej obnovit, je také uloženThe PMC then stores the original data of the VRAM 21 in the hibernation information storage area of the hard disk (step S106). The original data of the main memory 14 is also stored in the hibernation information storage area of the hard disk (step S108). Since the contents of the memories 14 and 21 are volatile and cannot be restored once erased, they are also stored in the hibernation information storage area of the hard disk (step S109).

• · # · jako část hibemační informace. Pořadí ukládání obsahu pamiti VRAM 21 a hlavní paměti 14 lze zaměnit.• · # · as part of the hibernation information. The order of storage of the contents of the VRAM 21 and the main memory 14 can be interchanged.

Poté je na pevném disku zajištěna oblast pro uložení informace pro řízení hibernace (krok SI 10).Then, an area for storing hibernation control information is provided on the hard disk (step S110).

Oblast pro uložení informace pro řízení hibernace by měla být fyzicky pevně určenou oblastí pevného disku (určitý cylindr nebo určitý sektor určitého cylindru). Pokud je alokována na pevné adrese, jakou je cylindr (nebo určitý sektor cylindru) definovaný v krajní vnější nebo krajní vnitřní oblasti pevného disku, je snadné tuto oblast určit a opět nalézt při probouzení. Je zde však možnost, že sektor zaváděče byl zapsán do krajního vnějšího cylindru a uživatelská data do krajního vnitřního cylindru. Krok S110 zajistí, aby krajní vnější nebo krajní vnitřní cylindr (nebo určitý sektor cylindru) byl dostupný jako oblast pro uložení informace o řízení hibernace tím, že dosavadní sektor zaváděče a uživatelská data se uloží do oblasti pro uložení hibemační informace. Data, která se mají uložit, budou spíše uložena v určitém sektoru cylindru než v celém cylindru.The hibernation control information storage area should be a physically fixed area of the hard disk (a specific cylinder or a specific sector of a specific cylinder). If it is allocated at a fixed address such as a cylinder (or a specific sector of a cylinder) defined in the outermost or innermost area of the hard disk, it is easy to determine and find this area again when waking up. However, there is a possibility that the boot sector has been written to the outermost cylinder and the user data to the innermost cylinder. Step S110 ensures that the outermost or innermost cylinder (or a specific sector of a cylinder) is available as the hibernation control information storage area by storing the existing boot sector and user data in the hibernation information storage area. The data to be stored will be stored in a specific sector of the cylinder rather than in the entire cylinder.

Informace o řízení hibernace obsahuje hibemační podpis udávající, že systém 100 je hibemačním stavu, informaci o konfiguraci systému 100 a informaci o alokaci dat v oblasti pro uložení hibemační informace. Informace o řízení hibernace je požadována v relativně časném časovém období po zahájení procesu probouzení (bude popsáno dále). V souladu s tím je pro pohodlný přístup informace o řízení hibernace ukládána na pevnou adresu na pevném disku.The hibernation control information includes a hibernation signature indicating that the system 100 is in a hibernation state, information about the configuration of the system 100, and information about the allocation of data in the area for storing the hibernation information. The hibernation control information is requested at a relatively early time period after the start of the wake-up process (to be described later). Accordingly, the hibernation control information is stored at a fixed address on the hard disk for convenient access.

PMC poté uloží informaci o alokaci dat (počáteční adresu dat) v oblasti pro uložení hibemační informace do oblasti pro uložení informace o řízení hibernace (krok SI 12).The PMC then stores the data allocation information (starting data address) in the hibernation information storage area in the hibernation control information storage area (step S112).

Poté PMC uloží informaci o konfiguraci systému původně uloženou v paměti CMOS v obvodu mostu 19 do oblasti pro uložení informace o řízení hibernace (krok SI 14). Pojem „informace o konfiguraci systému“, jak je zde používán, zahrnuje počet a druh vstupně-výstupních zařízení připojených k systému 100, velikost hlavní paměti 14 a stav alokování • · « · « β « · • · · < · · · * · • · · · · · » * ftft ftft ftftft ftft « ft · · » ftftftft • * ftftft ftft » · ftft systémových zdrojů (úroveň IRQ, adresy vstupů a výstupů, adresu paměti apod.).Then, the PMC stores the system configuration information originally stored in the CMOS memory in the bridge circuit 19 in the hibernation control information storage area (step S1 14). The term “system configuration information” as used herein includes the number and type of input/output devices connected to the system 100, the size of the main memory 14, and the allocation status of system resources (IRQ level, input/output addresses, memory address, etc.).

PMC poté uloží hibemační podpis do oblasti pro uložení informace o řízení hibernace (krok SI 16).The PMC then stores the hibernation signature in the hibernation control information storage area (step S116).

Po ukončení těchto procesů pošle PMC povel řadiěi 40 napájecího zdroje, aby vypnul napájení celého systému 100 (krok S118). Jako důsledek toho systém 100 přejde do hibemačního stavu.After these processes are completed, the PMC sends a command to the power supply controller 40 to turn off the power to the entire system 100 (step S118). As a result, the system 100 enters a hibernation state.

V tomto časovém okamžiku jsou všechny informace potřebné pro probuzení systému 100 uloženy na pevném disku. Je-li pevný disk 26 oddělitelný nebo přenositelný, úloha může po odpojení pevného disku a jeho montáži do jiného systému pokračovat na vzdáleném počítači (tj. „vzdálené probuzení“).At this point in time, all the information needed to wake up system 100 is stored on the hard drive. If the hard drive 26 is removable or portable, the task can be continued on a remote computer after the hard drive is disconnected and mounted in another system (i.e., "remote wakeup").

Probuzení z hibemačního stavuWaking up from hibernation

Když uživatel stiskne spínač napájení 71, celý systém 100 opět začne být napájen (krok S200).When the user presses the power switch 71, the entire system 100 starts to be powered again (step S200).

Po zapnutí vykoná procesor 11 proceduru POST (autotest po zapnutí napájení), která je uložena v paměti ROM 17 (krok S202). POST zahrnuje test CPU 11, test hlavní paměti 14, nastavení a test displeje 22 a test vstupně-výstupních zařízení. POST také přepíše informaci o konfiguraci systému, která je uložena v paměti CMOS v obvodu mostu 19 (nebo nepřímo přepsána prostřednictvím předem určeného nastavovacího programu), pokud v době bez napájení došlo ke zvětšení nebo zmenšení paměti nebo ke změně počtu vstupně-výstupních zařízení. POST také natáhne BIOS a PMC z paměti ROM 17 do hlavní paměti 14, ovšem za předpokladu, že PMC je uloženo v paměti SMM, jak bylo popsáno dříve.After power-on, the processor 11 executes a POST (Power-On Self-Test) procedure stored in the ROM 17 (step S202). The POST includes a CPU 11 test, a main memory 14 test, a display 22 setup and test, and an I/O device test. The POST also overwrites the system configuration information stored in the CMOS memory in the bridge circuit 19 (or indirectly overwritten by a predetermined setup program) if the memory is increased or decreased or the number of I/O devices is changed during the power-off period. The POST also loads the BIOS and PMC from the ROM 17 into the main memory 14, provided that the PMC is stored in the SMM memory as described earlier.

V své závěrečné fázi POST vstoupí do oblasti pro uložení informace o řízení hibernace, která je definována v krajním vnějším nebo krajním vnitřním cylindru (nebo v určitém sektoru tohoto cylindru) pevného disku, aby zde získal informaci o řízení hibernace (krok S204).In its final phase, POST enters the hibernation control information storage area defined in the outermost or innermost cylinder (or a specific sector of that cylinder) of the hard disk to obtain hibernation control information there (step S204).

• ·· ·· fcfc fc·· fc · ·· · fc · · fcfcfcfc * fc » · fc * • fcfc fcfcfcfc fcfcfc · fc ·« fcfc• ·· ·· fcfc fc·· fc · ·· · fc · · fcfcfcfc * fc » · fc * • fcfc fcfcfcfc fcfcfc · fc ·« fcfc

Pak se zjistí, zda byl v informaci o řízení hibernace nastaven hibemační podpis (krok S206). Pokud nastaven nebyl, má se za to, že systém byl v normálním vypnutém stavu a ne v hibemačním stavu. V takovém případě započne normální zavádění systému, aniž by se řízení systému 100 přesouvalo do PMC (krok S300).Then, it is determined whether the hibernation signature has been set in the hibernation control information (step S206). If it has not been set, it is assumed that the system was in a normal shutdown state and not in a hibernation state. In this case, a normal system boot is started without transferring control of the system 100 to the PMC (step S300).

Naopak, je-li hibemační podpis nastaven, má se za to, že zapnutí napájení v kroku S200 je probouzení a ne POR (power on reset, reset po zapnutí). V tomto případě se předá řízení systému programu PMC.Conversely, if the hibernation signature is set, the power-on in step S200 is considered to be a wake-up and not a POR (power on reset). In this case, system control is transferred to the PMC program.

PMC nejdříve srovná informaci o konfiguraci systému obsaženou v informaci o řízení hibernace s informací o konfiguraci systému zapsanou v paměti CMOS v obvodu mostu 19 (krok S208).The PMC first compares the system configuration information contained in the hibernation control information with the system configuration information written in the CMOS memory in the bridge circuit 19 (step S208).

Pokud se uskutečňuje vzdálené probuzení pomocí přenositelného pevného disku 26, v němž je uložena hibemační informace, může obecně dojít ke změně konfigurace, tj. konfigurace systému v okamžiku přechodu do hibemačního stavu se může lišit od systémového prostředí v okamžiku probouzení (druhé prostředí). Například velikost hlavní paměti 14 může být v drahém prostředí menší. Nebo nějaká aplikace v prvním prostředí požaduje, aby základní adresa vstupně-výstupního zařízení měla určitou hodnotu, zatímco vstupně-výstupní zařízení ve drahém prostředí může používat jinou adresu. Dále v prvním prostředí může aplikace vyžadovat přístup k mechanice pražného disku a drahé prostředí není touto mechanikou vybaveno. Takový rozdíl konfigurací může vyvolat zničení dat v důsledku zrušení úlohy a navíc i nemožnost uskutečnění procesu probuzení. Z tohoto důvodu má kontrola konfigurace systému v kroku S208 technicky důležitý význam.If remote wake-up is performed using a portable hard disk 26 in which hibernation information is stored, a configuration change may generally occur, i.e., the system configuration at the time of transition to the hibernation state may differ from the system environment at the time of wake-up (second environment). For example, the size of the main memory 14 may be smaller in the expensive environment. Or, an application in the first environment requires the base address of the input/output device to have a certain value, while the input/output device in the expensive environment may use a different address. Furthermore, in the first environment, the application may require access to the hard disk drive, and the expensive environment is not equipped with this drive. Such a configuration difference may cause data corruption due to job cancellation and, in addition, the impossibility of performing the wake-up process. For this reason, checking the system configuration in step S208 is of technical importance.

Když je výsledek srovnávání v určovacím bloku S208 negativní, provede se zpracování chyby (krok S400). Obsah zpracování chyby jako takový nemá přímý vztah k předmětu tohoto vynálezu. Např. proces zpracování chyby zobrazí na displeji 22 chybové hlášení, které upozorní uživatele, že má vykonat určitý úkon. Tento úkon např. zahrnuje vyřazení hibemačního podpisu a zotavení původní konfigurace systému, aby se mohl systém 100 restartovat. Když je uživatel vyzván k zotaveníIf the comparison result in the determination block S208 is negative, error processing is performed (step S400). The content of the error processing as such is not directly related to the subject matter of the present invention. For example, the error processing process displays an error message on the display 22 to notify the user to perform a certain action. This action includes, for example, discarding the hibernation signature and restoring the original system configuration so that the system 100 can be restarted. When the user is prompted to restore

9999

9 9 99 9 9

9 9 9 • · 9 99 9 9 • · 9 9

9 9 9 • * 99 konfigurace systému, na displeji 22 může být původní konfigurace systému zobrazena, čímž je uživatel veden.9 9 9 • * 99 system configuration, the original system configuration can be displayed on the display 22, thereby guiding the user.

Naopak, když obě konfigurace systému souhlasí, sektor zavaděče, který byl uložen v oblasti pro uložení hibemační informace, nebo uživatelská data uložená v krajním vnitřním cylindru jsou obnovena v původním cylindru/sektoru (krok S210).Conversely, when both system configurations agree, the boot sector that was stored in the hibernation information storage area or the user data stored in the outermost inner cylinder is restored to the original cylinder/sector (step S210).

PMC poté obnoví v hlavní paměti 14 původní data, která byla uložena v oblasti pro uložení hibemační informace (krok S212).The PMC then restores the original data that was stored in the hibernation information storage area in the main memory 14 (step S212).

Dále PMC obnoví v paměti VRAM 21 původní data, která byla uložena v oblasti pro uložení hibemační informace na pevném disku (krok S214). Pořadí obnovení obsahu paměti VRAM 21a hlavní paměti 14 může být i opačné.Next, the PMC restores the original data that was stored in the hibernation information storage area of the hard disk to the VRAM 21 (step S214). The order of restoring the contents of the VRAM 21 and the main memory 14 may be reversed.

PMC poté obnoví hardwarovou kontextovou informaci a pracovní data, která byla uložena v oblasti pro uložení hibemační informace na pevném disku, na jejich původním místě (krok S216).The PMC then restores the hardware context information and work data that were stored in the hibernation information storage area on the hard disk to their original locations (step S216).

Procesy obnovování v krocích S212, S214 a S216 využívají alokační informaci, která byla uložena v kroku S112 jako část informace o řízení hibernace. V důsledku toho má PMC rychlý přístup k datům v oblasti pro uložení hibemační informace.The recovery processes in steps S212, S214 and S216 use the allocation information that was stored in step S112 as part of the hibernation control information. As a result, the PMC has quick access to the data in the hibernation information storage area.

Po provedení uvedených procesů je řízení systému vráceno zpět OS nebo aplikaci, aby úloha mohla navázat v místě, kde byla přerušena.After the above processes are performed, system control is returned to the OS or application so that the task can continue where it was interrupted.

Obr. 4 znázorňuje strukturu dat ukládaných a obnovovaných na disku při přechodu do hibemačního stavu. Tato struktura bude popsána dále.Figure 4 shows the structure of data saved and restored to disk during hibernation. This structure will be described below.

Hibemační informace zahrnuje informaci o řízení hibernace A, informaci o umístění souboru v hibemačním souboru (FAT) B, hardwarová kontextová informace (včetně pracovních dat) C, obsah paměti VRAM 21 D a obsah hlavní paměti 14 E. Přitom B až E jsou uloženy v oblasti pro uložení hibemační informace na pevném disku, zatímco A je uloženo zvlášť v oblasti pro uložení informací pro řízení hibernace.The hibernation information includes hibernation control information A, hibernation file location information (FAT) B, hardware context information (including work data) C, VRAM memory contents 21 D, and main memory contents 14 E. Here, B to E are stored in the hibernation information storage area on the hard disk, while A is stored separately in the hibernation control information storage area.

• 4 * · · · • 0• 4 * · · · • 0

Oblast pro uložení hibemační informace je „hibemační soubor“, který je spravován např. správcem souborů operačního systému. Hibemační soubor je uložen v uživatelské oblasti pevného disku jako soubor stejné úrovně jako uživatelské soubory. Hibemační soubor může být vytvořen na pevném disku např. pomocí utility pro vytváření souborů, což je obvykle vykonatelný program ve formátu .exe.The area for storing the hibernation information is a "hibernation file", which is managed, for example, by the operating system's file manager. The hibernation file is stored in the user area of the hard disk as a file of the same level as the user files. The hibernation file can be created on the hard disk, for example, using a file creation utility, which is usually an executable program in .exe format.

Oblast pro uložení hibemační informace je na obr. 4 pro jednoduchost znázorněna, jako by šlo o souvislý blok po sobě následujících adres. Ve skutečnosti tato oblast může být uložena ve formě rozptýlených shluků oddělených adres navzájem propojených pomocí alokační informace obsažené v tabulce FAT (Filé Allocation Table).The area for storing the hibernation information is shown in Fig. 4 for simplicity as if it were a continuous block of consecutive addresses. In reality, this area may be stored in the form of scattered clusters of separate addresses interconnected by allocation information contained in the FAT (File Allocation Table).

Oblast pro uložení informace o řízení hibernace je uložena na pevně definovaném místě pevného disku (krajní vnější nebo krajní vnitřní cylindr nebo určitý sektor tohoto cylindru). Protože v krajním vnějším cylindru je uložen sektor zaváděče, zatímco uživatelská data v krajním vnitřním cylindru, data A' v tomto cylindru nebo sektoru musí být uložena do oblasti pro uložení hibemační informace před tím, než je tento cylindr nebo sektor použit jako oblast pro uložení hibemační informace.The hibernation control information storage area is stored in a fixed location on the hard disk (the outermost or innermost cylinder or a specific sector of that cylinder). Since the boot sector is stored in the outermost cylinder, while the user data is stored in the innermost cylinder, the data A' in that cylinder or sector must be stored in the hibernation information storage area before that cylinder or sector is used as the hibernation information storage area.

Obr. 4 ukazuje, že oblast pro uložení hibemační informace (hibemační soubor) se nepřekrývá s oblastí pro uložení informace o řízení hibemační informace. Ve skutečnosti se však může přihodit, že obě oblasti mohou být uloženy na stejné fyzické adrese pevného disku. To je způsobeno tím, že fyzická adresa oblasti pro uložení informace o řízení hibernace je pevná, zatímco oblast pro uložení hibemační informace je umístěna zcela nezávisle na fyzické adrese, kterou používá utilita apod. V praxi to však nezpůsobuje problémy, protože data původně uložená v oblasti uložení informace pro řízení hibernace již byla uložena (obr. 7).Fig. 4 shows that the hibernation information storage area (hibernation file) does not overlap with the hibernation control information storage area. However, in reality, it may happen that both areas may be stored at the same physical address of the hard disk. This is because the physical address of the hibernation control information storage area is fixed, while the hibernation information storage area is located completely independently of the physical address used by the utility, etc. However, in practice, this does not cause any problems because the data originally stored in the hibernation control information storage area has already been saved (Fig. 7).

Předmět tohoto vynálezu byl podrobně popsán s odvoláním na určitou realizaci. Je však zřejmé, že různé modifikace a změny jsou • · 9 9 9 · 9 · · φ 9 «99 · 9 9 9*99 • · 9 » 99 9 9 9 9« 9 · > 9 999 9999The subject matter of the present invention has been described in detail with reference to a particular embodiment. It is, however, obvious that various modifications and changes are • · 9 9 9 · 9 · · φ 9 «99 · 9 9 9*99 • · 9 » 99 9 9 9 9« 9 · > 9 999 9999

99 9 9 9 ·9 « · 9« odborníkům v oboru jasné a neznamenají změnu předmětu vynálezu. Ačkoliv zde byla popsána realizace použitá na osobním počítači, je vcelku jasné, že předmět vynálezu lze aplikovat na jakýkoliv systém pro zpracování informací, pokud je schopen ukládat a obnovovat informace o stavu systému.99 9 9 9 ·9 « · 9« clear to those skilled in the art and do not constitute a change in the subject matter of the invention. Although an implementation used on a personal computer has been described herein, it is quite clear that the subject matter of the invention can be applied to any information processing system as long as it is capable of storing and restoring information about the state of the system.

Ačkoliv zde byla popisována realizace využívající tzv. PC/AT kompatibilního počítače (PC/AT je obchodní známka společnosti International Business Machines Corporation), který odpovídá specifikacím OADG, je zřejmé, že předmět vynálezu lze stejně využít i na strojích jiného typu (např. řada PC 98 fy NEC, Macintosh fy Apple Corporation, počítače kompatibilní s uvedenými typy a speciální počítače pro určité aplikace).Although the implementation described here uses a so-called PC/AT compatible computer (PC/AT is a trademark of International Business Machines Corporation), which complies with the OADG specifications, it is clear that the subject matter of the invention can also be used on machines of other types (e.g. the PC 98 series by NEC, the Macintosh by Apple Corporation, computers compatible with the aforementioned types, and special computers for certain applications).

Jak bylo dříve podrobně popsáno, předmět vynálezu umožňuje uplatnit v systémech pro zpracování informací nízkospotřebovou techniku, kde se vykonávaná úloha přeruší při výskytu předem určené události a zařízení přejde do stavu téměř úplně zastavené činnosti (tj. stav nízké spotřeby), a způsobu řízení této techniky.As previously described in detail, the subject matter of the invention enables the application of a low-power technique in information processing systems, where the task being performed is interrupted upon the occurrence of a predetermined event and the device enters a state of almost complete standstill (i.e., a low-power state), and a method of controlling this technique.

Předmět tohoto vynálezu také poskytuje zlepšený systém pro zpracování informací, který ukládá informaci o stavu systému do vnějšího paměťového zařízení, jakým je pevný disk, pro přechod do stavu s nízkou spotřebou, a vrací se do původního provozního stavu tím, že obnoví uložený stav, a způsob řízení tohoto systému.The present invention also provides an improved information processing system that stores system state information in an external storage device, such as a hard disk, to transition to a low-power state, and returns to an original operating state by restoring the stored state, and a method of controlling the system.

Předmět tohoto vynálezu dále poskytuje systém pro zpracování informací, který je schopen uložit informaci o stavu systému, aniž by poškodil ostatní uživatelská data na vnějším paměťovém zařízení, a způsob řízení tohoto systému.The present invention further provides an information processing system capable of storing system status information without damaging other user data on an external storage device, and a method of controlling the system.

Claims (21)

Patentové nárokyPatent claims 1. Systém pro zpracování informací sestávající z procesoru, volatilní paměti a nevolatilního vnějšího paměťového zařízení, který podporuje hibemační funkci, která přeruší vykonávanou úlohu, dojde-li k výskytu předem určené události, uloží hibemační informaci včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném vnějším paměťovém zařízení, a vyvolá přechod systému do hibemačního stavu, přičemž uvedený systém pro zpracování informací sestává z:1. An information processing system comprising a processor, a volatile memory and a non-volatile external storage device that supports a hibemation function that interrupts a task when a predetermined event occurs, stores the hibemation information including the contents of said memory in a hibernation information storage area. in said external storage device, and causing the system to enter a hibernation state, said information processing system comprising: a) prostředku pro uložení hibemační informace včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném vnějším paměťovém zařízení,a) means for storing the hibernation information, including the contents of said memory, in an area for storing the hibemation information in said external storage device; b) oblasti pro uložení informace o řízení hibernace umístěné na pevné pozici uvedeného vnějšího paměťového zařízení,b) an area for storing hibernation control information located at a fixed position of said external storage device; c) prostředku pro uložení dat existujících v uvedené oblasti pro uložení informace o řízení hibernace do uvedené oblasti pro uložení hibemační informace po výskytu uvedené předem určené události,c) means for storing data existing in said area for storing hibernation control information in said area for storing hibernation information after the occurrence of said predetermined event; d) prostředku pro uložení informace o řízení hibernace do uvedené oblasti pro uložení informace o řízení hibernace poté, co data byla uložena uvedeným prostředkem c), ad) means for storing the hibernation control information in said area for storing the hibernation control information after the data has been stored by said means c); and e) prostředku pro přerušení elektrického napájení prvků systému a tím pro přechod systému do hibemačního stavu poté, co uvedené prostředky a), c) a d) vykonaly svou funkci.(e) means for interrupting the electrical supply of the system components and thereby for hibernating the system after said means (a), (c) and (d) have performed their function. 2. Systém pro zpracování informací podle nároku 1, zahrnující:The information processing system of claim 1, comprising: f) prostředek pro kontrolu uvedené informace o řízení hibernace uložené v uvedené oblasti pro uložení informace o řízení hibernace po přerušení elektrického napájení systému,f) means for checking said hibernation control information stored in said area for storing hibernation control information upon interruption of the system power supply; g) prostředek pro obnovení uvedené hibemační informace uložené v uvedené oblasti pro uložení hibemační informace do původních oblastí paměti po úspěšně provedené kontrole uvedeným prostředkem í),g) means for recovering said hibernation information stored in said region for storing the hibernation information in the original memory regions after a successful check by said means i), h) prostředek pro vrácení dat uložených do uvedené oblasti pro uložení hibemační informace do uvedené oblasti pro uložení informace o řízení hibernace po úspěšně provedené kontrole uvedeným prostředkem f),h) means for returning data stored in said hibernation information storage area to said hibernation control information storage area after a successful check by said means f), 3. Systém pro zpracování informací podle nároku 1 nebo nároku 3, kde uvedená informace o řízení hibernace zahrnuje hibemační podpis, který zachycuje historii událostí včetně přerušení elektrického napájení uvedeného systému pro zpracování informací prostřednictvím hibemační funkce.The information processing system of claim 1 or claim 3, wherein said hibernation control information includes a hibemation signature that captures the history of events, including power interruption of said information processing system via a hibemation function. 4. Systém pro zpracování informací podle kteréhokoliv z nároků 1 až 3, přičemž uvedená informace o řízení hibernace obsahuje informaci o umístění uvedené oblasti pro uložení hibemační informace v uvedeném vnějším paměťovém zařízení.The information processing system of any one of claims 1 to 3, wherein said hibernation control information comprises location information of said area for storing hibernation information in said external storage device. 5. Systém pro zpracování informací podle kteréhokoliv z předchozích nároků, přičemž uvedená informace o řízení hibernace zahrnuje informaci o konfiguraci uvedeného systému pro zpracování informací.The information processing system of any preceding claim, wherein said hibernation control information includes configuration information of said information processing system. 6. Systém pro zpracování informací podle nároku 2, přičemž uvedený prostředek f) kontroluje, zda uvedená informace o řízení hibernace uvádí, zda systém pro zpracování informací jev hibemačním stavu.The information processing system of claim 2, wherein said means f) checks whether said hibernation control information indicates whether the information processing system is in a hibernation state. 7. Systém pro zpracování informací podle nároku 2, přičemž uvedený prostředek f) kontroluje, zda informace o konfiguraci systému obsažená v informaci o řízení hibernace odpovídá konfiguraci uvedeného systému pro zpracování informací.The information processing system of claim 2, wherein said means f) checks whether the system configuration information included in the hibernation control information matches the configuration of said information processing system. 8. Systém pro zpracování informací podle nároku 2, přičemž uvedený prostředek g) provádí proces probouzení v souladu s alokační informací obsaženou v uvedené informaci o řízení hibernace.The information processing system of claim 2, wherein said means g) performs a wake-up process in accordance with the allocation information contained in said hibernation control information. 9. Systém pro zpracování informací podle kteréhokoliv z předchozích nároků, přičemž uvedená oblast pro uložení informace o řízeníAn information processing system according to any preceding claim, wherein said area for storing control information 4 · 4 9 94 4 9 9 4 4 9 9 49 91 2 3 4 5 6 7 8 9 94 9494 94 4 4 9 94 9 4 9 49 4 9 4 9 4 φ ·9 4 φ · 9 9 9 4 • » « · hibernace je umístěna v cylindru, který je definován v krajní vnitřní nebo krajní vnější dráze uvedeného externího paměťového zařízení.9 9 9 4 • »« · hibernation is located in a cylinder that is defined in the outermost or outermost path of the external storage device. 10. Systém pro zpracování informací podle kteréhokoliv z předchozích nároků, přičemž data uložená do uvedené oblasti pro uložení informace o řízení hibernace uvedeným prostředkem (f) jsou informací popisující sektor zaváděče (počáteční adresa a velikost každého virtuálního disku) uvedeného externího paměťového zařízení.The information processing system of any preceding claim, wherein the data stored in said hibernation control information storage area by said means (f) is information describing the boot sector (start address and size of each virtual disk) of said external storage device. 11. Způsob řízení systému pro zpracování informací sestávajícího z procesoru, volatilní paměti a nevolatilního externího paměťového zařízení a podporujícího híbemační funkci, která po výskytu předem definované události přeruší vykonávanou úlohu, uloží híbemační informaci včetně obsahu uvedené paměti do oblasti pro uložení híbemační informace v uvedeném externím paměťovém zařízení, a převede systém do hibemačního stavu, přičemž tento způsob sestává z následujících kroků:11. A method of controlling an information processing system comprising a processor, volatile memory and a non-volatile external storage device and supporting a hibernation function that interrupts a task after a predefined event occurs, stores the hibernation information including the contents of said memory in the hibernation information storage area in said external storage device, and converts the system into a hibernation state, the method comprising the following steps: (a) uložení híbemační informace včetně obsahu uvedené paměti do oblasti pro uložení híbemační informace v uvedeném externím paměťovém zařízení, (b) zajištění oblasti pro uložení informace o řízem hibernace v pevné pozici uvedeného externího paměťového zařízení, (c) uložení dat existujících v uvedené oblasti pro uložení informace o řízení hibernace do uvedené oblasti pro uložení híbemační informace po výskytu uvedené předem definované události, (d) uložení informace o řízení hibernace do uvedené oblasti pro uložení informace o řízení hibernace poté, co data byla uložena uvedeným krokem c), a (e) přerušení elektrického napájení částí systému a přechod systému do hibemačního stavu po provedení uvedených kroků a), c) a d).(a) storing the hibernation information including the contents of said memory in an area for storing the hibernation information in said external storage device; for storing the hibernation control information in said area for storing the hibernation information after the occurrence of said predefined event, (d) storing the hibernation control information in said area for storing the hibernation control information after the data has been stored by said step c), and ( e) interrupting the electrical supply of the system components and transitioning the system to the hibernation state after performing steps a), c) and d). 12. Způsob podle nároku 11, zahrnující:The method of claim 11, comprising: (f) kontrolu uvedené informace o řízení hibernace uložené po obnovení elektrického napájení systému do uvedené oblasti pro uložení informace o řízení hibernace, (g) obnovení uvedené hibemační informace uložené v uvedené oblasti pro uložení hibemační informace do původní oblasti paměti po úspěšném provedení kontroly uvedeným krokem f), a (h) navrácení dat uložených v uvedené oblasti pro uložení hibemační informace do uvedené oblasti pro uložení informace o řízení hibernace po úspěšném provedení kontroly uvedeným krokem f).(f) reviewing said hibernation control information stored upon restoring the system power to said hibernation control information storage area; (g) recovering said hibernation information stored in said hibernation information storage area to the original memory area after successfully performing the control of said step and (h) returning the data stored in said hibernation information storage area to said hibernation management information area upon successful completion of the inspection by said step f). 13. Způsob podle nároku 11 nebo nároku 12, přičemž uvedená informace o řízení hibernace zahrnuje hibemační podpis popisující historii událostí včetně uvedeného přerušení napájení systému pro zpracování informací prostřednictvím hibemační funkce.The method of claim 11 or claim 12, wherein said hibernation control information comprises a hibemation signature describing an event history including said power interruption of the information processing system via the hibemation function. 14. Způsob podle kteréhokoliv z nároků 11 až 13, přičemž uvedená informace o řízení hibernace zahrnuje informaci o umístění oblasti pro uložení hibemační informace v uvedeném externím paměťovém zařízení.The method of any one of claims 11 to 13, wherein said hibernation control information comprises location information for storing hibernation information in said external storage device. 15. Způsob podle kteréhokoliv z nároků 11 až 14, přičemž uvedená informace o řízení hibernace zahrnuje informaci o konfiguraci uvedeného systému pro zpracování informací.The method of any one of claims 11 to 14, wherein said hibernation control information comprises configuration information of said information processing system. 16. Způsob podle nároku 12, přičemž uvedený krok í) kontroluje, zda uvedená informace o řízení hibernace udává, že systém pro zpracování informací je v hibemačním stavu.The method of claim 12, wherein said step i) checks whether said hibernation control information indicates that the information processing system is in a hibernation state. 17. Způsob podle nároku 12, přičemž uvedený krok f) kontroluje, zda uvedená informace o konfiguraci systému zahrnutá v uvedené informaci o řízení hibernace souhlasí s konfigurací systému pro zpracování informací.The method of claim 12, wherein said step f) checks whether said system configuration information included in said hibernation control information matches the configuration of the information processing system. 18. Způsob podle nároku 12, přičemž uvedený krok g) provádí proces obnovení podle alokační informace obsažené v uvedené informaci o řízení hibernace.The method of claim 12, wherein said step g) performs a recovery process according to the allocation information contained in said hibernation control information. 19. Způsob podle kteréhokoliv z nároků 11 až 18, přičemž uvedená oblast pro uložení informace o řízení hibernace je umístěna v krajním vnějším nebo krajním vnitřním cylindru uvedeného externího paměťového zařízení.The method of any one of claims 11 to 18, wherein said hibernation control information storage area is located in an outermost or outermost cylinder of said external storage device. 20. Způsob podle kteréhokoliv z nároků 11 až 19, přičemž data uložená do uvedené oblasti pro uložení hibemační informace v uvedeném kroku c) jsou informací popisující sektor zaváděče (počáteční adresa a velikost každého virtuálního disku) uvedeného externího paměťového zařízení.The method of any one of claims 11 to 19, wherein the data stored in said hibemation information storage area in said step c) is information describing the boot sector (start address and size of each virtual disk) of said external storage device. 21. Paměťové médium využitelné počítačem, které ukládá v počítačem použitelné formě počítačový program spustitelný na počítačovém systému, který obsahuje procesor, volatilní paměť a nevolatilní externí paměťové zařízení, a který podporuje hibemační funkci, která po výskytu předem definované události přeruší vykonávanou úlohu, uloží hibemační informaci včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném externím paměťovém zařízení, a potom způsobí přechod systému do hibemačního stavu, přičemž uvedený počítačový program obsahuje:21. A computer-usable storage medium that stores in a computer-usable form a computer program executable on a computer system that includes a processor, volatile memory and a non-volatile external storage device and that supports a hibemation function that interrupts a task when a predefined event occurs. information, including the contents of said memory, in an area for storing hibernation information in said external storage device, and then causes the system to enter a hibernation state, said computer program comprising: (a) podprogram pro uložení hibemační informace včetně obsahu uvedené paměti do oblasti pro uložení hibemační informace v uvedeném externím paměťovém zařízení, (b) podprogram pro zajištění oblasti pro uložení informace o řízení hibernace v pevné pozici uvedeného externího paměťového zařízení, (c) podprogramu pro uložení dat existujících v uvedené oblasti pro uložení informace o řízení hibernace do uvedené oblasti pro uložení hibemační informace po výskytu uvedené předem určené události, (d) podprogram pro uložení informace o řízení hibernace do uvedené oblasti pro uložení informace o řízení hibernace poté, co data byla • · uložena pomocí podprogramu c), a (e) podprogramu pro přerušení elektrického napájení pro části systému poté, co byly vykonány uvedené podprogramy a), c) a d).(a) a subroutine for storing hibernation information including the contents of said memory in an area for storing hibemation information in said external storage device, (b) a subroutine for providing an area for storing hibernation control information at a fixed position of said external storage device, (c) a subroutine for storing data existing in said area for storing hibernation control information in said area for storing hibernation information after the occurrence of said predetermined event, (d) a subroutine for storing hibernation control information in said area for storing hibernation control information after the data has been • stored by subroutine c), and (e) a power interrupt subroutine for parts of the system after the subroutines a), c) and d) have been executed.
CZ20002529A 1999-01-07 1999-01-07 Suspend / Resume Operation Information Processing System CZ20002529A3 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CZ20002529A CZ20002529A3 (en) 1999-01-07 1999-01-07 Suspend / Resume Operation Information Processing System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CZ20002529A CZ20002529A3 (en) 1999-01-07 1999-01-07 Suspend / Resume Operation Information Processing System

Publications (1)

Publication Number Publication Date
CZ20002529A3 true CZ20002529A3 (en) 2001-01-17

Family

ID=5471260

Family Applications (1)

Application Number Title Priority Date Filing Date
CZ20002529A CZ20002529A3 (en) 1999-01-07 1999-01-07 Suspend / Resume Operation Information Processing System

Country Status (1)

Country Link
CZ (1) CZ20002529A3 (en)

Similar Documents

Publication Publication Date Title
JP3266560B2 (en) Information processing system and control method thereof
KR100368079B1 (en) Computer and power control method for computer
US6243831B1 (en) Computer system with power loss protection mechanism
US7058831B2 (en) System and method for transitioning a system comprising a microcontroller into a low power state in response to a first sleep type which is not recognized by part of the system and a second sleep type which is recognized by part of the system
JP3045948B2 (en) Information processing apparatus and control method thereof
US6453423B1 (en) Computer remote power on
TWI436199B (en) Method and controller for power management
US6405320B1 (en) Computer system performing machine specific tasks before going to a low power state
US7949814B2 (en) Swapping “fixed system” hard disk
US6826703B2 (en) System for notifying operating system of additional event for restoring suspend mode after a hardware device event switches computer to normal mode
CN101911031A (en) Systems and methods for rapid platform hibernation and recovery
KR100229575B1 (en) Information processing system
US20190004818A1 (en) Method of UEFI Shell for Supporting Power Saving Mode and Computer System thereof
JP3618878B2 (en) Computer system and bus connection method
EP1037133A1 (en) Method and apparatus for alternation between instances of operating systems in computer systems
US20040103345A1 (en) Method, apparatus and system for ensuring reliable power down of a personal computer
JPH0944418A (en) Information processing system and control method thereof
JP2000259546A (en) Information processing apparatus, information processing method, and providing medium
JPH11194847A (en) Computer system and initialization controller
US7093142B2 (en) Method, apparatus and program for user-determined operational state of a portable computer prior to detachment
JP3769541B2 (en) Computer apparatus, miniPCI card, automatic power-on circuit, and automatic startup method
JPH0944417A (en) Information processing system and control method thereof
JP2003345474A (en) Computer system and data transfer control method