Patent ID: 6553400
Filing Date: 2003-04-22
Classification: G06F

Abstract:
A suspend and resume processing method for performing suspend and resume operations by using a data processing apparatus including a power management signal detecting section, a pushed key detecting and storage area selecting section, a save and load processing section, and a counting section; and a storage device including a plurality of storage areas for storing a plurality of hardware execution states of programmed operations, and a look-up table for storing data of information on each program task which has been suspended, wherein the information includes a task name of a target task, a key code of a key designated by a user in the suspend operation, a target storage area for the task, and the number of resume operations of the task, and wherein:in the suspend operation in which a target hardware execution state of a program task, corresponding to a key code designated by the user, is suspended, said method comprises: a signal detecting step, executed by the power management signal detecting section, of detecting a power management signal generated according to a user operation; a key detecting and storage area selecting step, executed by the pushed key detecting and storage area selecting section, of recognizing the key code designated by the user; determining one of the storage areas in which the hardware execution state of the program task to be suspended is stored; and storing the data of information on the relevant program task in the look-up table; and a data saving step, executed by the save and load processing section, of saving data of the target hardware execution state in the determined storage area, and in the resume operation in which a program task which has been suspended is resumed, said method comprises: a signal detecting step, executed by the power management signal detecting section, of detecting a power management signal generated according to a user operation; a data displaying and task determining step, executed by the pushed key detecting and storage area selecting section, of displaying the data of the look-up table on a display; and determining the task name of a program task to be resumed by detecting data input by the user; a data loading step, executed by the save and load processing section, of loading data of the target hardware execution state of the determined program task from the relevant storage area; and a counting step, executed by the counting section, of counting the number of resume operations with respect to the determined program task, and updating the data of information on the number of resume operations in the look-up table.