JP2000293251A - Method and device for managing suspension/resumption - Google Patents

Method and device for managing suspension/resumption

Info

Publication number
JP2000293251A
JP2000293251A JP11101007A JP10100799A JP2000293251A JP 2000293251 A JP2000293251 A JP 2000293251A JP 11101007 A JP11101007 A JP 11101007A JP 10100799 A JP10100799 A JP 10100799A JP 2000293251 A JP2000293251 A JP 2000293251A
Authority
JP
Japan
Prior art keywords
suspend
resume
time
processing
operating software
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP11101007A
Other languages
Japanese (ja)
Other versions
JP3389138B2 (en
Inventor
Kimio Igarashi
公夫 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Hokkaido Ltd
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 NEC Software Hokkaido Ltd filed Critical NEC Software Hokkaido Ltd
Priority to JP10100799A priority Critical patent/JP3389138B2/en
Publication of JP2000293251A publication Critical patent/JP2000293251A/en
Application granted granted Critical
Publication of JP3389138B2 publication Critical patent/JP3389138B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a suspension/resumption managing method and device, which conduct a test for continuously repeating a suspension processing/ resumption function by the number of suspension/resumption processing trial times. SOLUTION: A suspension processing which registers designated automatic start time to a task function that operating software supplies and temporarily preserves data during work and an execution program by operating software and/or a resumption processing for automatically starting the execution program when it becomes designated automatic starting time by the task function and restoring data during work and the execution program, which are preserved in a storage means, to an original state are used and the suspension processing/ resumption processing are automatically repeated by the number of suspension/ resumption processing trial times.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、オペレーティング
ソフトウェアのサスペンド/レジューム処理技術に係
り、特にタスク機能、サスペンド処理およびレジューム
処理を有するオペレーティングソフトウェアにおいてサ
スペンド/レジューム処理試行回数分だけ連続的にサス
ペンド処理/レジューム機能を繰り返す試験を実施する
サスペンド/レジューム管理方法およびサスペンド/レ
ジューム管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a suspend / resume processing technique for operating software, and more particularly to a suspend / resume process for operating software having a task function, suspend processing and resume processing. The present invention relates to a suspend / resume management method and a suspend / resume management device for performing a test for repeating a resume function.

【0002】[0002]

【従来の技術】近年、コンピュータの分野では、コンピ
ュータ本体であれワードプロセッサ等他の機器に組み込
まれたものであれ、小型、軽量化の進展に伴い、携帯に
便利なタイプの普及が著しい。そして、このタイプのコ
ンピュータはその電源としてバッテリが用いられている
が、バッテリの小型軽量化、寿命の延長を図る面から電
力消費を極力小さくすることが望まれている。ところ
で、コンピュータの電源は、スイッチをON/OFFす
ることにより供給/停止が行われている。このため、コ
ンピュータを使用中に他の作業をしている間や、電源ス
イッチのOFF動作をし忘れた場合には、その間中、無
駄な電力が流れ続けバッテリ電力を消費していた。次
に、持ち運び可能なパーソナルコンピュータでは、電源
をON/OFFする必要性が多いため、電源をOFFと
する前にサスペンド処理(すなわち、現在実行中のプロ
グラムの再継続処理に必要なすべてのデータ、周辺機器
の状態についての情報を不揮発性メモリに保持する)を
行い、その後、電源がいったんOFFとされ、再度ON
にしたときにはレジューム処理(すなわちその不揮発性
メモリに記憶している情報をもとに、中断していたプロ
グラムを中断時の状態からそのまま継続して実行させ
る)を行う、サスペンド/レジューム処理を持つものが
ある。そしてこのサスペンド/レジューム処理を持つパ
ーソナルコンピュータにおいては、上述の電源スイッチ
のOFF動作し忘れ時等のバッテリ電力消費を防止する
ため、一定期間キー入力が無いことだけを検出すること
によって自動的にサスペンド機能を発揮し、その上で電
源をオフとする技術がある。
2. Description of the Related Art In recent years, in the field of computers, a portable type has been remarkably popularized with the progress of miniaturization and weight reduction of a computer itself or a device incorporated in another device such as a word processor. In this type of computer, a battery is used as a power source. However, it is desired to reduce power consumption as much as possible from the viewpoint of reducing the size and weight of the battery and extending its life. By the way, the power supply of the computer is supplied / stopped by turning on / off a switch. For this reason, while performing other work while using the computer, or forgetting to turn off the power switch, wasteful power continues to flow and consumes battery power during that time. Next, in a portable personal computer, it is often necessary to turn on / off the power. Therefore, before the power is turned off, the suspend processing (that is, all the data necessary for the re-continuation processing of the program currently being executed, The information about the state of the peripheral device is stored in the non-volatile memory), and then the power is once turned off and then turned on again.
A suspend / resume process for performing a resume process (that is, executing a suspended program as it is based on information stored in the nonvolatile memory from the state at the time of suspension). There is. In a personal computer having the suspend / resume processing, in order to prevent battery power consumption when the power switch is forgotten to be turned off, the computer is automatically suspended by detecting only the absence of key input for a certain period of time. There is a technique that performs a function and then turns off the power.

【0003】このような従来技術としては、例えば、特
開平10−83227号公報(第1従来技術)に記載の
ものがある。すなわち、第1従来技術は、Ir(赤外
線)通信を用いて、オペレーティングソフトウェアが提
供しているパワーマネジメントの制御方法に関するもの
である。赤外線通信で受信した結果を保存するFIFO
を設け、受信したデータがサスペンド/レジューム要求
データか否かを判定し、判定結果に応じてサスペンド状
態あるいはレジューム状態に移行するものである。
[0003] As such a prior art, there is, for example, one described in Japanese Patent Application Laid-Open No. 10-83227 (first prior art). That is, the first related art relates to a power management control method provided by operating software using Ir (infrared) communication. FIFO for storing the result received by infrared communication
And determines whether or not the received data is suspend / resume request data, and shifts to a suspend state or a resume state according to the result of the determination.

【0004】また他の従来技術としては、例えば、特開
平10−133783号公報(第2従来技術)に記載の
ものがある。すなわち、第2従来技術は、ネットワーク
が動作中であるがリソースを使用しない場合にも指定さ
れた時間が経過した時にサスペンド処理を行う手段につ
いてのものである。
Another conventional technique is disclosed in, for example, Japanese Patent Application Laid-Open No. 10-133783 (second conventional technique). In other words, the second related art relates to a means for performing a suspend process when a designated time has elapsed even when a network is operating but resources are not used.

【0005】また他の従来技術としては、例えば、特許
第2752959号公報(第3従来技術)に記載のもの
がある。すなわち、第3従来技術は、サスペンド中の時
刻取得に関する内容が開示されている。
[0005] As another conventional technique, there is one disclosed in Japanese Patent No. 2752959 (third conventional technique). That is, the third related art discloses the contents related to the acquisition of the time during suspension.

【0006】そして他の従来技術としては、例えば、特
公平7−7316号公報(第4従来技術)に記載のもの
がある。すなわち、第4従来技術は、バッテリが少量の
環境でもシステムを再起動させる内容が開示されてい
る。
As another conventional technique, for example, there is one described in Japanese Patent Publication No. 7-7316 (fourth conventional technique). That is, the fourth prior art discloses that the system is restarted even in an environment with a small amount of battery.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来技
術のサスペンド/レジューム処理はコンピュータ装置
(例えば、パーソナルコンピュータ)の電源ON/OF
Fの操作を伴うため、手動操作が必要であり、耐久試験
の実施には人的ミスが発生したり、多大な人的工数を要
するという問題点があった。
However, the suspend / resume processing of the prior art is performed by turning on / off a computer device (for example, a personal computer).
Since the operation of F is involved, manual operation is required, and there is a problem that human error occurs in performing the durability test and a large number of man-hours are required.

【0008】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、タスク機能、サス
ペンド処理およびレジューム処理を有するオペレーティ
ングソフトウェアにおいてサスペンド/レジューム処理
試行回数分だけ連続的にサスペンド処理/レジューム機
能を繰り返す試験を実施するサスペンド/レジューム管
理方法およびサスペンド/レジューム管理装置を提供す
る点にある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to continuously execute the suspend / resume processing trials in operating software having a task function, a suspend process, and a resume process. An object of the present invention is to provide a suspend / resume management method and a suspend / resume management device for performing a test for repeating a suspend processing / resume function.

【0009】[0009]

【課題を解決するための手段】請求項1に記載の発明の
要旨は、タスク機能、サスペンド処理およびレジューム
処理を有するオペレーティングソフトウェアにおいてサ
スペンド/レジューム処理試行回数分だけ連続的にサス
ペンド処理/レジューム機能を繰り返す試験を実施する
サスペンド/レジューム管理方法であって、アプリケー
ションソフトウェアとしての実行プログラムをあらかじ
め指定された指定自動起動時刻に自動的に起動する工程
と、サスペンド状態を解除するレジューム処理機能を有
しているオペレーティングソフトウェアが提供するタス
ク機能に前記指定自動起動時刻を登録する工程と、オペ
レーティングソフトウェアによる作業中のデータや前記
実行プログラムを一時的に記憶手段に保存するサスペン
ド処理および/または前記タスク機能による前記指定自
動起動時刻になった際に前記実行プログラムを自動的に
起動する工程と、前記記憶手段に保存した作業中のデー
タや前記実行プログラムを元の状態に復元するレジュー
ム処理を利用して、あらかじめ指定されたサスペンド/
レジューム処理試行回数分だけサスペンド処理/レジュ
ーム処理を自動的に繰り返し実行する工程とを有するこ
とを特徴とするサスペンド/レジューム管理方法に存す
る。また請求項2に記載の発明の要旨は、サスペンド時
間を指定するサスペンド時間情報、レジューム時間を指
定するレジューム時間情報、サスペンド処理/レジュー
ム処理を繰り返し行うサスペンド/レジューム処理試行
回数を指定するサスペンド/レジューム処理試行回数情
報を含むサスペンド/レジューム情報をあらかじめ任意
に設定する工程と、前記サスペンド/レジューム情報を
基に指定されたサスペンド/レジューム処理試行回数分
だけ連続的にサスペンド/レジューム処理を無人で繰り
返し行う工程とを有することを特徴とする請求項1に記
載のサスペンド/レジューム管理方法に存する。また請
求項3に記載の発明の要旨は、サスペンド処理前にサス
ペンド状態を続けている時間をあらかじめ算出しておく
工程と、サスペンド要求時にレジュームする時間をオペ
レーティングソフトウェアへ通知するとともに、レジュ
ームする時間経過時にオペレーティングソフトウェアに
レジューム処理を実行させる工程とを有することを特徴
とする請求項1に記載のサスペンド/レジューム管理方
法に存する。また請求項4に記載の発明の要旨は、オペ
レーティングソフトウェアが提供している前記タスク機
能を前記指定自動起動時刻に起動させる工程を有するこ
とを特徴とする請求項1に記載のサスペンド/レジュー
ム管理方法に存する。また請求項5に記載の発明の要旨
は、前記実行プログラムは、前記サスペンド/レジュー
ム情報を任意に設定して保存するサスペンド/レジュー
ム情報設定処理と、前記サスペンド/レジューム情報設
定処理で指定したサスペンド/レジューム処理試行回数
分だけサスペンド/レジューム処理を実施したかを判断
するサスペンド/レジューム試行回数判断処理と、前記
サスペンド/レジューム情報設定処理で指定されたサス
ペンド時間が経過したかを判断するサスペンド時間判断
処理と、オペレーティングソフトウェアが提供している
前記タスク機能が起動されているかを判断するタスク起
動判断処理と、オペレーティングソフトウェアが提供す
る前記タスク機能に前記実行プログラムが登録されてい
るかを判断する実行プログラムタスク登録判断処理と、
前記サスペンド/レジューム情報設定処理で指定された
レジューム時間を基に自動起動する時刻を計算する自動
起動時刻計算処理と、オペレーティングソフトウェアに
対してサスペンド要求を行った後にオペレーティングソ
フトウェアにてサスペンド処理を実行するサスペンド実
行処理とを有することを特徴とする請求項2乃至4のい
ずれか一項に記載のサスペンド/レジューム管理方法に
存する。また請求項6に記載の発明の要旨は、前記タス
ク機能は、前記自動起動時刻計算処理で計算されたレジ
ュームする時刻か判断するレジューム時間判断処理と、
前記自動起動時刻計算処理で計算されたレジュームする
時刻になった場合に前記実行プログラムを自動起動させ
るとともに、レジューム処理を実行させるレジューム実
行処理とを有することを特徴とする請求項2乃至5のい
ずれか一項に記載のサスペンド/レジューム管理方法に
存する。また請求項7に記載の発明の要旨は、タスク機
能、サスペンド処理およびレジューム処理を有するオペ
レーティングソフトウェアにおいてサスペンド/レジュ
ーム処理試行回数分だけ連続的にサスペンド処理/レジ
ューム機能を繰り返す試験を実施するサスペンド/レジ
ューム管理装置であって、アプリケーションソフトウェ
アとしての実行プログラムをあらかじめ指定された指定
自動起動時刻に自動的に起動する手段と、サスペンド状
態を解除するレジューム処理機能を有しているオペレー
ティングソフトウェアが提供するタスク機能に前記指定
自動起動時刻を登録する手段と、オペレーティングソフ
トウェアによる作業中のデータや前記実行プログラムを
一時的に記憶手段に保存するサスペンド処理および/ま
たは前記タスク機能による前記指定自動起動時刻になっ
た際に前記実行プログラムを自動的に起動する手段と、
前記記憶手段に保存した作業中のデータや前記実行プロ
グラムを元の状態に復元するレジューム処理を利用し
て、あらかじめ指定されたサスペンド/レジューム処理
試行回数分だけサスペンド処理/レジューム処理を自動
的に繰り返し実行する手段とを有することを特徴とする
サスペンド/レジューム管理装置に存する。また請求項
8に記載の発明の要旨は、サスペンド時間を指定するサ
スペンド時間情報、レジューム時間を指定するレジュー
ム時間情報、サスペンド処理/レジューム処理を繰り返
し行うサスペンド/レジューム処理試行回数を指定する
サスペンド/レジューム処理試行回数情報を含むサスペ
ンド/レジューム情報をあらかじめ任意に設定する手段
と、前記サスペンド/レジューム情報を基に指定された
サスペンド/レジューム処理試行回数分だけ連続的にサ
スペンド/レジューム処理を無人で繰り返し行う手段と
を有することを特徴とする請求項7に記載のサスペンド
/レジューム管理装置に存する。また請求項9に記載の
発明の要旨は、サスペンド処理前にサスペンド状態を続
けている時間をあらかじめ算出しておく手段と、サスペ
ンド要求時にレジュームする時間をオペレーティングソ
フトウェアへ通知するとともに、レジュームする時間経
過時にオペレーティングソフトウェアにレジューム処理
を実行させる手段とを有することを特徴とする請求項7
に記載のサスペンド/レジューム管理装置に存する。ま
た請求項10に記載の発明の要旨は、オペレーティング
ソフトウェアが提供している前記タスク機能を前記指定
自動起動時刻に起動させる手段を有することを特徴とす
る請求項7に記載のサスペンド/レジューム管理装置に
存する。また請求項11に記載の発明の要旨は、前記サ
スペンド/レジューム情報を任意に設定して保存するサ
スペンド/レジューム情報設定処理を実行する手段と、
前記サスペンド/レジューム情報設定処理で指定したサ
スペンド/レジューム処理試行回数分だけサスペンド/
レジューム処理を実施したかを判断するサスペンド/レ
ジューム試行回数判断処理を実行する手段と、前記サス
ペンド/レジューム情報設定処理で指定されたサスペン
ド時間が経過したかを判断するサスペンド時間判断処理
を実行する手段と、オペレーティングソフトウェアが提
供している前記タスク機能が起動されているかを判断す
るタスク起動判断処理を実行する手段と、オペレーティ
ングソフトウェアが提供する前記タスク機能に前記実行
プログラムが登録されているかを判断する実行プログラ
ムタスク登録判断処理を実行する手段と、前記サスペン
ド/レジューム情報設定処理で指定されたレジューム時
間を基に自動起動する時刻を計算する自動起動時刻計算
処理を実行する手段と、オペレーティングソフトウェア
に対してサスペンド要求を行った後にオペレーティング
ソフトウェアにてサスペンド処理を実行するサスペンド
実行処理を実行する手段とを有することを特徴とする請
求項8乃至10のいずれか一項に記載のサスペンド/レ
ジューム管理装置に存する。また請求項12に記載の発
明の要旨は、前記タスク機能は、前記自動起動時刻計算
処理で計算されたレジュームする時刻か判断するレジュ
ーム時間判断処理を実行する手段と、前記自動起動時刻
計算処理で計算されたレジュームする時刻になった場合
に前記実行プログラムを自動起動させるとともに、レジ
ューム処理を実行させるレジューム実行処理を実行する
手段とを有することを特徴とする請求項8乃至11のい
ずれか一項に記載のサスペンド/レジューム管理装置に
存する。
The gist of the present invention is that an operating software having a task function, a suspend process, and a resume process continuously executes a suspend process / resume process by the number of times of suspend / resume process trials. A suspend / resume management method for performing a repeated test, comprising: a step of automatically starting an execution program as application software at a designated automatic start time designated in advance; and a resume processing function of releasing a suspended state. Registering the designated automatic start time in a task function provided by the operating software, suspending the working data by the operating software and the execution program temporarily in storage means, and / or Automatically starting the execution program when the designated automatic start time is reached by the task function, and resume processing for restoring the working data stored in the storage means and the execution program to the original state Using the suspend /
Automatically and repeatedly executing the suspend process / resume process for the number of times of the resume process trials. According to another aspect of the present invention, there is provided suspend time information for designating a suspend time, resume time information for designating a resume time, and suspend / resume for designating the number of trials of suspend / resume processing for repeating suspend / resume processing. A step of arbitrarily setting suspend / resume information including the number of times of processing trials in advance, and a process of repeatedly performing the suspend / resume processing continuously for the number of times of the number of trials of suspend / resume processing specified based on the information of the suspend / resume unattended. And a suspend / resume management method according to claim 1. Further, the gist of the invention described in claim 3 is that, before the suspend process, the time during which the suspend state is continued is calculated in advance, and the time for resuming when the suspend request is made is notified to the operating software, and the time for resuming the time is set. And a step of causing the operating software to execute a resume process at times. The gist of the invention according to claim 4 includes a step of starting the task function provided by the operating software at the designated automatic start time, the suspend / resume management method according to claim 1. Exists. According to another aspect of the present invention, the execution program includes a suspend / resume information setting process for arbitrarily setting and saving the suspend / resume information, and a suspend / resume information setting process specified in the suspend / resume information setting process. Suspend / resume trial number determination processing for determining whether the suspend / resume processing has been performed by the number of resume processing trials, and suspend time determination processing for determining whether the suspend time specified in the suspend / resume information setting processing has elapsed. A task activation determination process for determining whether the task function provided by the operating software is activated, and an execution program task registration for determining whether the execution program is registered in the task function provided by the operating software. And the determination process,
Automatic start time calculation processing for calculating a time for automatic start based on the resume time specified in the suspend / resume information setting processing, and suspend processing performed by the operating software after a suspend request is made to the operating software. The suspend / resume management method according to any one of claims 2 to 4, further comprising a suspend execution process. The gist of the invention according to claim 6 is that the task function includes a resume time determination process for determining whether the resume time calculated in the automatic start time calculation process is a time to resume.
6. The system according to claim 2, further comprising: a resume execution process for automatically starting the execution program when the resuming time calculated in the automatic start time calculation process comes, and executing the resuming process. The present invention lies in the suspend / resume management method according to any one of the first to third aspects. The gist of the invention described in claim 7 is that the suspend / resume process in which the suspend / resume process is repeated by the number of trials of the suspend / resume process in the operating software having the task function, the suspend process, and the resume process. A task function provided by an operating software which is a management device and has means for automatically starting an execution program as application software at a designated automatic start time specified in advance, and a resume processing function for canceling a suspend state. Means for registering the designated automatic start time in the storage means, and suspend processing for temporarily storing data in operation by the operating software and the execution program in the storage means and / or the task function. And means for automatically start the execution program when it becomes serial specify automatic start-up time,
Using a resume process for restoring the working data stored in the storage means and the execution program to the original state, the suspend process / resume process is automatically repeated by the number of suspend / resume process trials designated in advance. And a suspend / resume management device. The gist of the invention described in claim 8 is that the suspend time information for designating the suspend time, the resume time information for designating the resume time, the suspend / resume process for designating the number of trials of the suspend / resume process for repeating the suspend / resume process. Means for arbitrarily setting in advance suspend / resume information including information on the number of times of processing trials, and performing unattended repetition of the suspend / resume processing continuously for the number of times of suspend / resume processing specified on the basis of the suspend / resume information. Means for suspend / resume management according to claim 7. The gist of the invention described in claim 9 is that means for calculating in advance the time during which the suspend state is maintained before the suspend processing, that the operating software is notified of the time to resume when the suspend request is made, and that the time to resume Means for causing the operating software to execute resume processing at times.
In the suspend / resume management device described in (1). The gist of the invention described in claim 10 is that the suspend / resume management apparatus according to claim 7, further comprising means for starting the task function provided by operating software at the designated automatic start time. Exists. The gist of the invention according to claim 11 is a means for executing a suspend / resume information setting process for arbitrarily setting and saving the suspend / resume information,
Suspend / resume by the number of trials of the suspend / resume process specified in the suspend / resume information setting process
Means for performing a suspend / resume trial count determining process for determining whether the resume process has been performed, and means for performing a suspend time determining process for determining whether a suspend time designated in the suspend / resume information setting process has elapsed. Means for executing a task start determination process for determining whether the task function provided by the operating software is activated, and determining whether the execution program is registered in the task function provided by the operating software Means for executing an execution program task registration determination process; means for executing an automatic start time calculation process for calculating an automatic start time based on the resume time specified in the suspend / resume information setting process; Suspen It consists in the suspend / resume management device according to any one of claims 8 to 10, characterized in that it has means for executing a suspend execution process for executing the suspend process at the operating software after the request. The gist of the invention according to claim 12 is that the task function executes a resume time determination process for determining whether the resume time calculated in the automatic startup time calculation process is a time to resume, and the automatic startup time calculation process 12. A means for automatically starting up the execution program when the calculated resuming time has come, and for executing a resuming execution process for executing a resuming process. In the suspend / resume management device described in (1).

【0010】[0010]

【発明の実施の形態】以下に示す各実施の形態の特徴
は、まず第1に、アプリケーションソフトウェア(以
降、実行プログラムと称す)を指定時刻(指定自動起動
時刻)に自動的に起動し、同時にサスペンド状態を解除
する機能(レジューム処理を行う機能)を有しているオ
ペレーティングソフトウェア(Operating S
ystem:基本ソフトウェア)が提供するタスク機能
に指定時刻(指定自動起動時刻)を登録しておき、オペ
レーティングソフトウェアによる作業中のデータや実行
プログラムを一時的にメモリに保存するサスペンド処
理、タスク機能による指定自動起動時刻になった時に実
行プログラムを自動的に起動し、同時にメモリに保存し
た作業中のデータや実行プログラムを元の状態に復元す
るレジューム処理を利用して、サスペンド処理/レジュ
ーム処理を指定されたサスペンド/レジューム処理試行
回数分だけ自動的に繰り返し行えるようにする機能、ま
た第2に、サスペンド時間を指定するサスペンド時間情
報、レジューム時間を指定するレジューム時間情報、サ
スペンド処理/レジューム処理を繰り返し行うサスペン
ド/レジューム処理試行回数を指定するサスペンド/レ
ジューム処理試行回数情報を含むサスペンド/レジュー
ム情報をあらかじめ任意に設定するとともに、サスペン
ド/レジューム情報を基に、指定されたサスペンド/レ
ジューム処理試行回数分だけ連続的にサスペンド/レジ
ューム処理を無人で繰り返し行う機能、また第3に、サ
スペンド処理前にサスペンド状態を続けている時間(す
なわち、サスペンド状態からレジュームする時間)をあ
らかじめ算出しておき、サスペンド要求時にレジューム
する時間をオペレーティングソフトウェアへ通知するこ
とで、レジュームする時間経過時にオペレーティングソ
フトウェアにレジューム処理を実行させる機能、そして
第4に、オペレーティングソフトウェアが提供している
タスク機能を指定時刻(指定自動起動時刻)に起動させ
る機能を備えている点にある。以下、本発明の実施の形
態を図面に基づいて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The features of each of the embodiments described below are as follows. First, application software (hereinafter referred to as an execution program) is automatically started at a specified time (designated automatic start time). Operating software (Operating S) having a function of canceling the suspend state (function of performing resume processing)
system: the specified time (specified automatic start time) is registered in the task function provided by the basic software, and the suspending process for temporarily saving the working data and the execution program to the memory by the operating software, and the specification by the task function When the automatic start time comes, the execution program is automatically started, and at the same time, the suspend processing / resume processing is specified using the resume processing that restores the working data saved in the memory and the execution program to the original state. Secondly, the suspend / resume processing is repeated by the number of times the suspend / resume processing has been attempted, and secondly, the suspend time information for designating the suspend time, the resume time information for designating the resume time, and the suspend / resume processing are repeated. Suspend / resume processing Suspend / resume information including the number of times of suspend / resume processing trials that specifies the number of lines is arbitrarily set in advance, and based on the suspend / resume information, the suspend / resume processing is continuously performed by the specified number of times of suspend / resume processing trials. Thirdly, a function of repeatedly performing the resume processing unattended. Thirdly, the time during which the suspend state is continued before the suspend processing (that is, the time to resume from the suspend state) is calculated in advance, and the time to resume at the time of the suspend request is determined by the operating system. By notifying the software, the function that causes the operating software to execute the resume processing when the resume time elapses, and fourthly, the task function provided by the operating software is designated at the designated time (designated automatic start-up) In that it includes a function to start time). Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0011】(第1の実施の形態)図1は本発明の第1
の実施の形態にかかるサスペンド/レジューム管理方法
を説明するための論理フロー、図2はサスペンド/レジ
ューム情報設定処理M11で設定されるサスペンド/レ
ジューム情報20の構成テーブルである。図1を参照す
ると、M11はサスペンド/レジューム情報設定処理、
M12はサスペンド/レジューム試行回数判断処理、M
13はサスペンド時間判断処理、M14はタスク起動判
断処理、M15は実行プログラムタスク登録判断処理、
M16は自動起動時刻計算処理、M17はサスペンド実
行処理、M18はレジューム時間判断処理、M19はレ
ジューム実行処理である。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
FIG. 2 is a configuration table of suspend / resume information 20 set in a suspend / resume information setting process M11 according to an embodiment of the present invention. Referring to FIG. 1, M11 is a suspend / resume information setting process,
M12 is a suspend / resume trial number determination process;
13 is a suspend time determination process, M14 is a task activation determination process, M15 is an execution program task registration determination process,
M16 is an automatic start time calculation process, M17 is a suspend execution process, M18 is a resume time determination process, and M19 is a resume execution process.

【0012】本実施の形態のサスペンド/レジューム管
理方法およびサスペンド/レジューム管理装置は、オペ
レーティングソフトウェアが提供する機能の一つである
タスク機能(すなわち、指定プログラムを指定時刻(指
定自動起動時刻)に自動的に起動させる機能、および指
定プログラムを起動時にレジューム処理(すなわち、サ
スペンド状態の解除処理)を行う機能)、およびオペレ
ーティングソフトウェアが提供する機能の一つであるサ
スペンド処理(すなわち、一時的にコンピュータの機能
を中断して消費電力の節約を図る機能)、およびオペレ
ーティングソフトウェアが提供する機能の一つであるレ
ジューム処理(サスペンド状態から元の状態に復帰する
機能)を有しているシステムに適応可能であって、図1
に示すように、実行プログラムおよびタスク機能を実行
する機能を有している。本実施の形態のサスペンド/レ
ジューム管理方法およびサスペンド/レジューム管理装
置で実行される実行プログラムは、図1に示すように、
サスペンド/レジューム情報設定処理M11、サスペン
ド/レジューム試行回数判断処理M12、サスペンド時
間判断処理M13、タスク起動判断処理M14、実行プ
ログラムタスク登録判断処理M15、自動起動時刻計算
処理M16、サスペンド実行処理M17をプログラムモ
ジュールとして含んで構成されている。一方タスク機能
は、レジューム時間判断処理M18およびレジューム実
行処理M19をプログラムモジュールとして含んで構成
されている。
The suspend / resume management method and the suspend / resume management apparatus according to the present embodiment automatically execute a task function (ie, a designated program at a designated time (designated automatic start time)) which is one of the functions provided by the operating software. Function, a resume process (ie, a function of canceling a suspended state) at the time of starting the designated program, and a suspend process (that is, temporarily suspending the computer), which is one of the functions provided by the operating software. This function can be applied to a system having a function of interrupting functions to save power consumption and a function of resume processing (a function of returning from a suspended state to an original state) which is one of functions provided by operating software. So, Figure 1
As shown in (1), it has a function of executing an execution program and a task function. The execution program executed by the suspend / resume management method and the suspend / resume management apparatus according to the present embodiment is, as shown in FIG.
A suspend / resume information setting process M11, a suspend / resume trial count decision process M12, a suspend time decision process M13, a task start decision process M14, an execution program task registration decision process M15, an automatic start time calculation process M16, and a suspend execution process M17 are programmed. It is comprised including as a module. On the other hand, the task function includes a resume time determination process M18 and a resume execution process M19 as program modules.

【0013】実行プログラムを構成するサスペンド/レ
ジューム情報設定処理M11は、図2に示すサスペンド
/レジューム情報20を任意に設定し、HDD(固定デ
ィスク記憶装置)に保存するプログラムモジュールであ
る。ここで、サスペンド/レジューム情報20は、図2
に示すように、サスペンド時間情報21、レジューム時
間情報22およびサスペンド/レジューム処理試行回数
情報23を備えている。サスペンド時間情報21はサス
ペンド処理を行うまでのサスペンド時間を指定するデー
タである。レジューム時間情報22は、サスペンド後レ
ジューム処理するまでのレジューム時間を指定するデー
タである。およびサスペンド/レジューム処理を連続し
て実施させるデータである。サスペンド/レジューム処
理試行回数情報23は、サスペンド/レジューム処理試
行回数を指定するデータである。
The suspend / resume information setting process M11 constituting the execution program is a program module for arbitrarily setting the suspend / resume information 20 shown in FIG. 2 and storing it in an HDD (fixed disk storage device). Here, the suspend / resume information 20 is shown in FIG.
As shown in FIG. 2, the information includes suspend time information 21, resume time information 22, and suspend / resume process trial number information 23. The suspend time information 21 is data for designating a suspend time until a suspend process is performed. The resume time information 22 is data that specifies the resume time from the time of suspension until the time of resume processing. And data for continuously performing the suspend / resume processing. The suspend / resume process trial count information 23 is data for designating the suspend / resume process trial count.

【0014】実行プログラムを構成するサスペンド/レ
ジューム試行回数判断処理M12は、サスペンド/レジ
ューム情報設定処理M11で指定したサスペンド/レジ
ューム処理試行回数分だけサスペンド/レジューム処理
を実施したかを判断するプログラムモジュールである。
またサスペンド時間判断処理M13は、サスペンド/レ
ジューム情報設定処理M11で指定されたサスペンド時
間が経過したかを判断するプログラムモジュールであ
る。またタスク起動判断処理M14は、オペレーティン
グソフトウェアが提供しているタスク機能が起動されて
いるかを判断するプログラムモジュールである。また実
行プログラムタスク登録判断処理M15は、オペレーテ
ィングソフトウェアが提供するタスク機能に実行プログ
ラムが登録されているかを判断するプログラムモジュー
ルである。また自動起動時刻計算処理M16は、サスペ
ンド/レジューム情報設定処理M11で指定されたレジ
ューム時間を基に自動起動する時刻を計算するプログラ
ムモジュールである。そしてサスペンド実行処理M17
は、オペレーティングソフトウェアに対してサスペンド
要求を行った後、実行プログラム自身は終了し、オペレ
ーティングソフトウェアにてサスペンド処理を実行する
プログラムモジュールである。
The suspend / resume trial count determining process M12 constituting the execution program is a program module for determining whether or not the suspend / resume process has been performed by the number of suspend / resume trials specified in the suspend / resume information setting process M11. is there.
The suspend time determination process M13 is a program module that determines whether the suspend time specified in the suspend / resume information setting process M11 has elapsed. The task activation determination process M14 is a program module that determines whether a task function provided by the operating software has been activated. The execution program task registration determination process M15 is a program module that determines whether an execution program is registered in a task function provided by operating software. The automatic start time calculation processing M16 is a program module that calculates the time of automatic start based on the resume time specified in the suspend / resume information setting processing M11. Then, the suspend execution process M17
Is a program module that terminates the execution program itself after making a suspend request to the operating software, and executes a suspend process by the operating software.

【0015】一方、本実施の形態のサスペンド/レジュ
ーム管理方法およびサスペンド/レジューム管理装置で
実行されるタスク機能は、レジューム時間判断処理M1
8およびレジューム実行処理M19をプログラムモジュ
ールとして含んで構成されている。タスク機能を構成す
るレジューム時間判断処理M18は、自動起動時刻計算
処理M16で計算されたレジュームする時刻か判断する
プログラムモジュールである。またレジューム実行処理
M19は、自動起動時刻計算処理M16で計算されたレ
ジュームする時刻になった場合に実行プログラムを自動
起動させるとともに、レジューム処理を実行させるプロ
グラムモジュールである。
On the other hand, the suspend / resume management method and the task function executed by the suspend / resume management apparatus according to the present embodiment include a resume time determination process M1.
8 and a resume execution process M19 as a program module. The resume time determination process M18 constituting the task function is a program module that determines whether the resumption time has been calculated in the automatic activation time calculation process M16. The resume execution process M19 is a program module for automatically starting the execution program and executing the resume process when the resume time calculated in the automatic start time calculation process M16 has come.

【0016】図3は図1のサスペンド/レジューム管理
方法の各処理(サスペンド/レジューム管理装置の動
作)を説明するためのフローチャートである。図3を参
照すると、サスペンド/レジューム情報設定処理M11
はステップS301〜ステップS304を備え、サスペ
ンド/レジューム試行回数判断処理M12はステップS
305,S306を備え、サスペンド時間判断処理M1
3はステップS307を備え、タスク起動判断処理M1
4はステップS308,S309を備え、実行プログラ
ムタスク登録判断処理M15はステップS310〜ステ
ップS312を備え、自動起動時刻計算処理M16はス
テップS313〜ステップS315を備え、サスペンド
実行処理M17はステップS316〜ステップS318
を備え、レジューム時間判断処理M18はステップS3
19を備え、レジューム実行処理M19はステップS3
20を備えている。
FIG. 3 is a flowchart for explaining each process (operation of the suspend / resume management apparatus) of the suspend / resume management method of FIG. Referring to FIG. 3, a suspend / resume information setting process M11
Comprises steps S301 to S304, and the suspend / resume trial number determination process M12 is performed at step S301.
305, S306, and suspend time determination processing M1
3 includes a step S307, in which a task activation determination process M1
4 includes steps S308 and S309, execution program task registration determination processing M15 includes steps S310 to S312, automatic start time calculation processing M16 includes steps S313 to S315, and suspend execution processing M17 includes steps S316 to S318.
The resume time determination processing M18 is performed in step S3.
19, and the resume execution process M19 is performed in step S3.
20.

【0017】本実施の形態のサスペンド/レジューム管
理方法およびサスペンド/レジューム管理装置は、オペ
レーティングソフトウェアが提供する機能の一つである
タスク機能(すなわち、指定プログラムを指定時刻(指
定自動起動時刻)に自動的に起動させる機能、および指
定プログラムを起動時にレジューム処理(すなわち、サ
スペンド状態の解除処理)を行う機能)、およびオペレ
ーティングソフトウェアが提供する機能の一つであるサ
スペンド処理(すなわち、一時的にコンピュータの機能
を中断して消費電力の節約を図る機能)、およびオペレ
ーティングソフトウェアが提供する機能の一つであるレ
ジューム処理(サスペンド状態から元の状態に復帰する
機能)を有しているシステムにおいて動作するものであ
る。タスク機能は指定されたプログラムを指定時刻(指
定自動起動時刻)に自動的に起動(サスペンド状態にあ
る場合は、同時にサスペンド状態を解除(レジューム処
理を実施))するか否かの設定/解除機能を有してい
る。
The suspend / resume management method and the suspend / resume management apparatus according to the present embodiment automatically execute a task function (ie, a designated program at a designated time (designated automatic start time)) which is one of the functions provided by the operating software. Function, a resume process (ie, a function of canceling a suspended state) at the time of starting the designated program, and a suspend process (that is, temporarily suspending the computer), which is one of the functions provided by the operating software. A function that operates in a system having a function of suspending functions to save power consumption) and a resume process (a function of returning from a suspended state to an original state) which is one of functions provided by operating software. It is. The task function sets / cancels whether to automatically start the specified program at the specified time (specified automatic start time) (if it is in the suspended state, it simultaneously releases the suspended state (performs resume processing)) have.

【0018】まず、利用者は実行プログラムを起動し、
サスペンド/レジューム情報設定処理M11にて、サス
ペンド処理を行うまでのサスペンド時間を指定するサス
ペンド時間情報21、サスペンド後レジューム処理する
までのレジューム時間を指定するレジューム時間情報2
2、およびサスペンド/レジューム処理を連続して実施
させるサスペンド/レジューム処理試行回数を指定する
サスペンド/レジューム処理試行回数情報23を任意に
設定する(ステップS301,S302)。ステップS
301,S302で設定したサスペンド/レジューム情
報20は実行プログラムがハードディスクHDDに自動
的に保存する(ステップS303)。実行プログラムが
2回目以降のサスペンド/レジューム処理を行う場合
は、すでに設定したサスペンド/レジューム情報20が
ハードディスク(HDD)に出力済みになっており(ス
テップS301のYES)、すでに設定されているサス
ペンド/レジューム情報20を出力済みのハードディス
クHDDから読み込んで(ステップS304)、サスペ
ンド/レジューム情報20を取得する。
First, the user starts the execution program,
In a suspend / resume information setting process M11, suspend time information 21 for designating a suspend time until the suspend process is performed, and resume time information 2 for designating a resume time after the suspend until the resume process is performed.
2. Suspend / resume process trial number information 23 for designating the number of suspend / resume process trials for continuously executing the suspend / resume process is set arbitrarily (steps S301 and S302). Step S
The execution program automatically saves the suspend / resume information 20 set in 301 and S302 in the hard disk HDD (step S303). When the execution program performs the second or subsequent suspend / resume processing, the already set suspend / resume information 20 has already been output to the hard disk (HDD) (YES in step S301), and the already set suspend / resume processing has been completed. The resume information 20 is read from the output hard disk HDD (step S304), and the suspend / resume information 20 is obtained.

【0019】続いて、サスペンド/レジューム処理試行
回数判断処理M12では、サスペンド/レジューム情報
設定処理M11で設定されたサスペンド/レジューム処
理試行回数分だけサスペンド/レジューム処理を実施し
たかを判断し(ステップS305)、指定されたサスペ
ンド/レジューム処理試行回数分だけサスペンド/レジ
ューム処理を実施していた場合(ステップS305のY
ES)は、タスク機能にある「指定された実行プログラ
ムを指定時刻(指定自動起動時刻)に自動的に起動さ
せ、同時にサスペンド状態を解除する(レジューム処理
(サスペンド状態の解除処理)を行う)」機能を解除し
て(ステップS306)、実行プログラムを終了させ
る。これで実行プログラムは指定時刻(指定自動起動時
刻)に自動的に起動されなくなる。
Subsequently, in a suspend / resume process trial number determination process M12, it is determined whether the suspend / resume process has been performed by the number of suspend / resume process trials set in the suspend / resume information setting process M11 (step S305). ), When the suspend / resume processing has been performed for the designated number of trials of the suspend / resume processing (Y in step S305).
ES) in the task function is to “automatically start a specified execution program at a specified time (specified automatic start time) and release the suspended state at the same time (perform resume processing (suspend state release processing)”). The function is released (step S306), and the execution program ends. As a result, the execution program is not automatically started at the specified time (specified automatic start time).

【0020】指定されたサスペンド/レジューム処理試
行回数分だけサスペンド/レジューム処理を実施してい
ない場合(ステップS305のNO)は、サスペンド/
レジューム情報設定処理M11で設定されたサスペンド
時間が経過したかをサスペンド時間判断処理M13にて
判断(ステップS307)し、指定されたサスペンド時
間が経過していない場合は時間が経過するまで待ち続け
る。
If the suspend / resume processing has not been performed for the designated number of trials of the suspend / resume processing (NO in step S305), the suspend / resume processing is performed.
The suspend time determination process M13 determines whether the suspend time set in the resume information setting process M11 has elapsed (step S307). If the suspend time has not elapsed, the process waits until the time elapses.

【0021】指定されたサスペンド時間が経過していた
場合(ステップS307のYES)は、タスク機能が起
動されているかをタスク起動判断処理M14にて判断
(ステップS308)し、タスク機能が起動されていな
い場合(ステップS308のNO)には、実行プログラ
ムがタスク機能を起動(ステップS309)させる。
If the designated suspend time has elapsed (YES in step S307), it is determined in the task activation determination process M14 whether the task function has been activated (step S308), and the task function has been activated. If not (NO in step S308), the execution program activates the task function (step S309).

【0022】続いて、実行プログラム自身がタスク機能
に登録されているかを実行プログラムタスク登録判断処
理M15にて判断し(ステップS310)、登録されて
いなければ(ステップS310のNO)、実行プログラ
ム自身をタスク機能に登録する(ステップS312)。
実行プログラム自身をタスク機能に登録後、タスク機能
にある「指定されたプログラムを指定時刻(指定自動起
動時刻)に自動的に起動させ、同時にサスペンド状態を
解除する(レジューム処理(サスペンド状態の解除処
理)を行う)」機能を設定する(ステップS311)。
これで実行プログラムは指定時刻(指定自動起動時刻)
に自動的に起動され、実行プログラムの起動時にサスペ
ンド状態を解除し、レジューム処理が実行される。
Subsequently, it is determined in the execution program task registration determination processing M15 whether the execution program itself is registered in the task function (step S310). If not registered (NO in step S310), the execution program itself is registered. It is registered in the task function (step S312).
After registering the execution program itself in the task function, the task function automatically starts the specified program at the specified time (specified automatic start time) and simultaneously releases the suspend state (Resume processing (suspend state release processing) ) Is performed) (step S311).
The execution program is now at the specified time (specified automatic start time)
The suspended state is released when the execution program is activated, and the resume processing is executed.

【0023】続いて、実行プログラムは自動起動時刻計
算処理M16にて、指定されたレジューム時間後にレジ
ューム処理(サスペンド状態の解除処理)を行うための
自動起動時刻を計算する(ステップS313)。ここ
で、自動起動時刻は「現在の時刻」に「サスペンド/レ
ジューム情報設定処理M11で指定されたレジューム時
間」を加えた、「現在の時刻」+「サスペンド/レジュ
ーム情報設定処理M11で指定されたレジューム時間」
で定義される。ここで計算された自動起動時刻をタスク
機能に設定し、サスペンド/レジューム処理試行回数を
1だけ減算し(ステップS314)、サスペンド/レジ
ューム処理試行回数情報23をハードディスクHDD等
の記憶装置に保存する(ステップS315)。
Subsequently, the execution program calculates an automatic start time for performing the resume processing (suspend state release processing) after the designated resume time in the automatic start time calculation processing M16 (step S313). Here, the automatic start time is specified by “current time” + “suspend / resume information setting process M11”, which is obtained by adding “resume time specified in suspend / resume information setting process M11” to “current time”. Resume time "
Is defined by The calculated automatic start time is set in the task function, the number of times of suspend / resume processing trial is subtracted by 1 (step S314), and the number of times of suspend / resume process trials 23 is stored in a storage device such as a hard disk HDD (step S314). Step S315).

【0024】続いて、サスペンド実行処理M17にて、
実行プログラムはオペレーティングソフトウェアに対し
てサスペンド要求を行い(ステップS316)、実行プ
ログラムは終了する(ステップS317)。これに応じ
て、オペレーティングソフトウェア(OS)は実行プロ
グラムより要求されたサスペンド処理を実行し(ステッ
プS318)、作業中のデータや実行プログラムを一時
的にメモリに保存する。
Subsequently, in a suspend execution process M17,
The execution program issues a suspend request to the operating software (step S316), and the execution program ends (step S317). In response, the operating software (OS) executes the suspend process requested by the execution program (step S318), and temporarily saves the working data and the execution program in the memory.

【0025】続いて、タスク機能ではレジューム時間判
断処理M18にて、先に実行プログラムが指定している
スリープ中からレジュームする自動起動時刻に達したか
を判断(ステップS319)し、自動起動時刻に達して
いない場合(ステップS319のNO)は、時刻に達す
るまで待ち続ける。
Subsequently, in the task function, in a resume time determination process M18, it is determined whether or not the automatic start time for resuming from the sleep specified by the execution program has been reached (step S319). If the time has not reached (NO in step S319), the process waits until the time reaches.

【0026】一方、指定自動起動時刻に達した場合(ス
テップS319のYES)は、レジューム実行処理M1
9にて、先に指定したタスク機能の「指定されたプログ
ラムを指定時刻(指定自動起動時刻)に自動的に起動
し、同時にサスペンド状態を解除する(レジューム処理
を行う)」設定(ステップS311参照)により、レジ
ューム処理(サスペンド状態の解除処理)が実行されて
元の状態に復元され、実行プログラムは起動(ステップ
S320)される。起動された実行プログラムは、サス
ペンド/レジューム情報設定処理M11を再び開始す
る。
On the other hand, when the designated automatic start time has been reached (YES in step S319), the resume execution processing M1
In step 9, the setting of "start the specified program automatically at the specified time (specified automatic start time) and simultaneously release the suspended state (perform the resume processing)" of the task function specified earlier (see step S311) ), The resume processing (suspend state release processing) is executed and restored to the original state, and the execution program is started (step S320). The activated execution program restarts the suspend / resume information setting process M11.

【0027】以上説明したように第1の実施の形態によ
れば以下に掲げる効果を奏する。まず第1の効果は、製
品出荷前の耐久試験時に手動操作を排除することによ
り、人的ミスを防止することができることである。また
第2の効果は、無人状態で前記試験を行うことができる
ため、全体の人的工数を削減できることである。そして
第3の効果は、削減した人的工数を他の試験に回すこと
により、より充実した試験を行うことができ、製品全体
の品質向上が見込まれることである。
As described above, according to the first embodiment, the following effects can be obtained. First, a human error can be prevented by eliminating a manual operation during a durability test before shipping a product. The second effect is that the test can be performed in an unmanned state, so that the total man-hours can be reduced. The third effect is that a more complete test can be performed by transferring the reduced man-hours to another test, and the quality of the entire product is expected to be improved.

【0028】(第2の実施の形態)第1の実施の形態は
タスク機能を有するオペレーティングソフトウェアを対
象としているが、第2の実施の形態は、オペレーティン
グソフトウェアがタスク機能をサポートしていない場合
に、BIOS(Basic Input/Output
System)プログラムに同等の機能が存在する装
置システムに適用可能であって、BIOSの機能を利用
して第1の実施の形態と同等の処理を実施できる。
(Second Embodiment) The first embodiment is directed to operating software having a task function, but the second embodiment is directed to a case where the operating software does not support the task function. , BIOS (Basic Input / Output)
The present invention is applicable to an apparatus system in which an equivalent function exists in the System program, and can execute the same processing as that of the first embodiment using the function of the BIOS.

【0029】最後に、上記各実施の形態と前述の従来技
術との技術的差違について述べる。前述の第1従来技術
は、Ir(赤外線)通信を用いて、オペレーティングソ
フトウェアが提供しているパワーマネジメントの制御方
法に関するものである。赤外線通信で受信した結果を保
存するFIFOを設け、受信したデータがサスペンド/
レジューム要求データか否かを判定し、判定結果に応じ
てサスペンド状態あるいはレジューム状態に移行するも
のであるが、上記各実施の形態は、サスペンド時間を指
定するサスペンド時間情報21、レジューム時間を指定
するレジューム時間情報22、サスペンド処理/レジュ
ーム処理を繰り返し行うサスペンド/レジューム処理試
行回数を指定するサスペンド/レジューム処理試行回数
情報23を含むサスペンド/レジューム情報20をあら
かじめ任意に設定するとともに、サスペンド/レジュー
ム情報20を基に、指定されたサスペンド/レジューム
処理試行回数分だけ連続的にサスペンド/レジューム処
理を無人で繰り返し行うものであり、サスペンド/レジ
ューム処理の過程が明らかに異なる。また前述の第2従
来技術は、ネットワークが動作中であるがリソースを使
用しない場合にも指定された時間が経過した時にサスペ
ンド処理を行う手段についてのものであるが、上記各実
施の形態は、サスペンド時間を指定するサスペンド時間
情報21、レジューム時間を指定するレジューム時間情
報22、サスペンド処理/レジューム処理を繰り返し行
うサスペンド/レジューム処理試行回数を指定するサス
ペンド/レジューム処理試行回数情報23を含むサスペ
ンド/レジューム情報20をあらかじめ任意に設定する
とともに、サスペンド/レジューム情報20を基に、指
定されたサスペンド/レジューム処理試行回数分だけ連
続的にサスペンド/レジューム処理を無人で繰り返し行
うものであり、サスペンド/レジューム処理の過程が明
らかに異なる。また前述の第3従来技術は、サスペンド
中の時刻取得に関する内容が開示されているが、上記各
実施の形態は、サスペンド処理前にサスペンド状態を続
けている時間(すなわち、サスペンド状態からレジュー
ムする時間)をあらかじめ算出しておき、サスペンド要
求時にレジュームする時間をオペレーティングソフトウ
ェアへ通知することで、レジュームする時間経過時にオ
ペレーティングソフトウェアにレジューム処理を実行さ
せるものであり、サスペンド/レジューム処理の過程が
明らかに異なる。そして前述の第4従来技術は、バッテ
リが少量の環境でもシステムを再起動させる内容が開示
されているが、上記各実施の形態は、オペレーティング
ソフトウェアが提供しているタスク機能を指定時刻(指
定自動起動時刻)に起動させるものであり、サスペンド
/レジューム処理の過程が明らかに異なる。
Finally, a technical difference between each of the above embodiments and the above-described prior art will be described. The first related art described above relates to a power management control method provided by operating software using Ir (infrared) communication. A FIFO is provided to save the result received by infrared communication, and the received data is suspended /
It is determined whether or not the data is the resume request data, and the state shifts to the suspend state or the resume state according to the determination result. In the above embodiments, the suspend time information 21 for designating the suspend time and the resume time are designated. Resume time information 22, suspend / resume information 20 including suspend / resume process trial number information 23 for designating the number of suspend / resume process trials for repeatedly executing suspend / resume process are arbitrarily set in advance, and suspend / resume information 20 is set. , The suspend / resume process is continuously and unattended repeatedly for the designated number of trials of the suspend / resume process, and the process of the suspend / resume process is clearly different. The second prior art described above relates to a means for performing a suspend process when a designated time has elapsed even when a network is operating but resources are not used. Suspend / resume information including suspend time information 21 for designating a suspend time, resume time information 22 for designating a resume time, and suspend / resume process trial number information 23 for designating the number of suspend / resume process trials for repeating suspend / resume processing. The information 20 is arbitrarily set in advance, and the suspend / resume processing is continuously and unattended repeatedly for the designated number of trials of the suspend / resume processing based on the suspend / resume information 20, and the suspend / resume processing is performed. The process is clear Or different. Further, the third related art described above discloses the content related to the acquisition of the time during suspension. However, in each of the above embodiments, the time during which the suspend state is maintained before the suspend process (that is, the time during which the suspend state is resumed). ) Is calculated in advance, and the resume time is notified to the operating software at the time of the suspend request, thereby causing the operating software to execute the resume process when the resume time elapses. The suspend / resume process is clearly different. . The fourth prior art described above discloses that the system is restarted even in an environment with a small amount of battery. However, in each of the above embodiments, the task function provided by the operating software is set to a specified time (specified automatic time). At the start time), and the process of suspend / resume processing is clearly different.

【0030】なお、本発明が上記各実施の形態に限定さ
れず、本発明の技術思想の範囲内において、各実施の形
態は適宜変更され得ることは明らかである。また上記構
成部材の数、位置、形状等は上記実施の形態に限定され
ず、本発明を実施する上で好適な数、位置、形状等にす
ることができる。また、各図において、同一構成要素に
は同一符号を付している。
It should be noted that the present invention is not limited to the above embodiments, and it is clear that the embodiments can be appropriately modified within the scope of the technical idea of the present invention. Further, the number, position, shape, and the like of the constituent members are not limited to the above-described embodiment, and can be set to numbers, positions, shapes, and the like suitable for carrying out the present invention. In each drawing, the same components are denoted by the same reference numerals.

【0031】[0031]

【発明の効果】本発明は以上のように構成されているの
で、以下に掲げる効果を奏する。まず第1の効果は、製
品出荷前の耐久試験時に手動操作を排除することによ
り、人的ミスを防止することができることである。また
第2の効果は、無人状態で前記試験を行うことができる
ため、全体の人的工数を削減できることである。そして
第3の効果は、削減した人的工数を他の試験に回すこと
により、より充実した試験を行うことができ、製品全体
の品質向上が見込まれることである。
Since the present invention is configured as described above, the following effects can be obtained. First, a human error can be prevented by eliminating a manual operation during a durability test before shipping a product. The second effect is that the test can be performed in an unmanned state, so that the total man-hours can be reduced. The third effect is that a more complete test can be performed by transferring the reduced man-hours to another test, and the quality of the entire product is expected to be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態にかかるサスペンド
/レジューム管理方法を説明するための論理フローであ
る。
FIG. 1 is a logic flow for explaining a suspend / resume management method according to a first embodiment of the present invention.

【図2】サスペンド/レジューム情報設定処理で設定さ
れるサスペンド/レジューム情報の構成テーブルであ
る。
FIG. 2 is a configuration table of suspend / resume information set in a suspend / resume information setting process.

【図3】図1のサスペンド/レジューム管理方法の各処
理を説明するためのフローチャートである。
FIG. 3 is a flowchart illustrating each process of a suspend / resume management method in FIG. 1;

【符号の説明】[Explanation of symbols]

M11…サスペンド/レジューム情報設定処理 M12…サスペンド/レジューム試行回数判断処理 M13…サスペンド時間判断処理 M14…タスク起動判断処理 M15…実行プログラムタスク登録判断処理 M16…自動起動時刻計算処理 M17…サスペンド実行処理 M18…レジューム時間判断処理 M19…レジューム実行処理 20…サスペンド/レジューム情報 21…サスペンド時間情報 22…レジューム時間情報 23…サスペンド/レジューム処理試行回数情報 M11: Suspend / resume information setting processing M12: Suspend / resume trial count determination processing M13: Suspend time determination processing M14: Task activation determination processing M15: Execution program task registration determination processing M16: Automatic activation time calculation processing M17: Suspend execution processing M18 ... Resume time judgment processing M19 ... Resume execution processing 20 ... Suspend / resume information 21 ... Suspend time information 22 ... Resume time information 23 ... Suspension / resume processing trial number information

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 タスク機能、サスペンド処理およびレジ
ューム処理を有するオペレーティングソフトウェアにお
いてサスペンド/レジューム処理試行回数分だけ連続的
にサスペンド処理/レジューム機能を繰り返す試験を実
施するサスペンド/レジューム管理方法であって、 アプリケーションソフトウェアとしての実行プログラム
をあらかじめ指定された指定自動起動時刻に自動的に起
動する工程と、 サスペンド状態を解除するレジューム処理機能を有して
いるオペレーティングソフトウェアが提供するタスク機
能に前記指定自動起動時刻を登録する工程と、 オペレーティングソフトウェアによる作業中のデータや
前記実行プログラムを一時的に記憶手段に保存するサス
ペンド処理および/または前記タスク機能による前記指
定自動起動時刻になった際に前記実行プログラムを自動
的に起動する工程と、 前記記憶手段に保存した作業中のデータや前記実行プロ
グラムを元の状態に復元するレジューム処理を利用し
て、あらかじめ指定されたサスペンド/レジューム処理
試行回数分だけサスペンド処理/レジューム処理を自動
的に繰り返し実行する工程とを有することを特徴とする
サスペンド/レジューム管理方法。
1. A suspend / resume management method for performing a test for continuously repeating a suspend / resume function by the number of trials of the suspend / resume process in operating software having a task function, a suspend process, and a resume process, comprising: Automatically starting an execution program as software at a designated automatic start time designated in advance; anda task function provided by operating software having a resume processing function for releasing a suspend state. A registering process, a suspend process for temporarily storing working data by the operating software and the execution program in a storage unit, and / or the designated automatic start time by the task function Automatically starting the execution program when the program has become active, and using a resume process for restoring the working data stored in the storage means and the execution program to the original state, using a suspend designated in advance. Automatically and repeatedly executing the suspend process / resume process for the number of trials of the resume process.
【請求項2】 サスペンド時間を指定するサスペンド時
間情報、レジューム時間を指定するレジューム時間情
報、サスペンド処理/レジューム処理を繰り返し行うサ
スペンド/レジューム処理試行回数を指定するサスペン
ド/レジューム処理試行回数情報を含むサスペンド/レ
ジューム情報をあらかじめ任意に設定する工程と、 前記サスペンド/レジューム情報を基に指定されたサス
ペンド/レジューム処理試行回数分だけ連続的にサスペ
ンド/レジューム処理を無人で繰り返し行う工程とを有
することを特徴とする請求項1に記載のサスペンド/レ
ジューム管理方法。
2. A suspend including suspend time information for designating a suspend time, resume time information for designating a resume time, and suspend / resume process trial count information for designating a suspend / resume trial count for repeating suspend / resume processes. And a step of arbitrarily setting in advance the resume / resume information, and a step of repeatedly performing the suspend / resume process continuously by the number of trials of the suspend / resume process specified on the basis of the suspend / resume information unattended. The suspend / resume management method according to claim 1, wherein:
【請求項3】 サスペンド処理前にサスペンド状態を続
けている時間をあらかじめ算出しておく工程と、 サスペンド要求時にレジュームする時間をオペレーティ
ングソフトウェアへ通知するとともに、レジュームする
時間経過時にオペレーティングソフトウェアにレジュー
ム処理を実行させる工程とを有することを特徴とする請
求項1に記載のサスペンド/レジューム管理方法。
3. A process for calculating beforehand a time during which a suspend state is maintained before a suspend process, a process for notifying a resume time at a time of a suspend request to operating software, and a process for performing a resume process to the operating software when the resume time elapses. Executing the suspend / resume management method according to claim 1.
【請求項4】 オペレーティングソフトウェアが提供し
ている前記タスク機能を前記指定自動起動時刻に起動さ
せる工程を有することを特徴とする請求項1に記載のサ
スペンド/レジューム管理方法。
4. The suspend / resume management method according to claim 1, further comprising a step of starting the task function provided by operating software at the designated automatic start time.
【請求項5】 前記実行プログラムは、 前記サスペンド/レジューム情報を任意に設定して保存
するサスペンド/レジューム情報設定処理と、 前記サスペンド/レジューム情報設定処理で指定したサ
スペンド/レジューム処理試行回数分だけサスペンド/
レジューム処理を実施したかを判断するサスペンド/レ
ジューム試行回数判断処理と、 前記サスペンド/レジューム情報設定処理で指定された
サスペンド時間が経過したかを判断するサスペンド時間
判断処理と、 オペレーティングソフトウェアが提供している前記タス
ク機能が起動されているかを判断するタスク起動判断処
理と、 オペレーティングソフトウェアが提供する前記タスク機
能に前記実行プログラムが登録されているかを判断する
実行プログラムタスク登録判断処理と、 前記サスペンド/レジューム情報設定処理で指定された
レジューム時間を基に自動起動する時刻を計算する自動
起動時刻計算処理と、 オペレーティングソフトウェアに対してサスペンド要求
を行った後にオペレーティングソフトウェアにてサスペ
ンド処理を実行するサスペンド実行処理とを有すること
を特徴とする請求項2乃至4のいずれか一項に記載のサ
スペンド/レジューム管理方法。
5. An execution program comprising: a suspend / resume information setting process for arbitrarily setting and storing the suspend / resume information; and a suspend / resume process trial count specified in the suspend / resume information setting process. /
A suspend / resume trial count determining process for determining whether a resume process has been performed; a suspend time determining process for determining whether a suspend time designated in the suspend / resume information setting process has elapsed; Task activation determination processing for determining whether the task function is activated, execution program task registration determination processing for determining whether the execution program is registered in the task function provided by operating software, and suspend / resume. Automatic start time calculation processing to calculate the time to start automatically based on the resume time specified in the information setting processing, and suspend processing by the operating software after making a suspend request to the operating software Suspend / resume management method according to any one of claims 2 to 4, characterized in that it has a suspend execution processing row.
【請求項6】 前記タスク機能は、 前記自動起動時刻計算処理で計算されたレジュームする
時刻か判断するレジューム時間判断処理と、 前記自動起動時刻計算処理で計算されたレジュームする
時刻になった場合に前記実行プログラムを自動起動させ
るとともに、レジューム処理を実行させるレジューム実
行処理とを有することを特徴とする請求項2乃至5のい
ずれか一項に記載のサスペンド/レジューム管理方法。
6. The task function includes: a resume time determination process for determining whether the resuming time is calculated in the automatic start time calculation process; and a resuming time calculated in the automatic start time calculation process. The suspend / resume management method according to any one of claims 2 to 5, further comprising a resume execution process for automatically starting the execution program and executing a resume process.
【請求項7】 タスク機能、サスペンド処理およびレジ
ューム処理を有するオペレーティングソフトウェアにお
いてサスペンド/レジューム処理試行回数分だけ連続的
にサスペンド処理/レジューム機能を繰り返す試験を実
施するサスペンド/レジューム管理装置であって、 アプリケーションソフトウェアとしての実行プログラム
をあらかじめ指定された指定自動起動時刻に自動的に起
動する手段と、 サスペンド状態を解除するレジューム処理機能を有して
いるオペレーティングソフトウェアが提供するタスク機
能に前記指定自動起動時刻を登録する手段と、 オペレーティングソフトウェアによる作業中のデータや
前記実行プログラムを一時的に記憶手段に保存するサス
ペンド処理および/または前記タスク機能による前記指
定自動起動時刻になった際に前記実行プログラムを自動
的に起動する手段と、 前記記憶手段に保存した作業中のデータや前記実行プロ
グラムを元の状態に復元するレジューム処理を利用し
て、あらかじめ指定されたサスペンド/レジューム処理
試行回数分だけサスペンド処理/レジューム処理を自動
的に繰り返し実行する手段とを有することを特徴とする
サスペンド/レジューム管理装置。
7. A suspend / resume management apparatus for performing a test for continuously repeating a suspend / resume function by the number of trials of a suspend / resume process in operating software having a task function, a suspend process, and a resume process. Means for automatically starting an execution program as software at a designated automatic start time designated in advance; and a task function provided by operating software having a resume processing function for releasing a suspend state. Means for registering, a suspend process for temporarily storing working data by the operating software and the execution program in the storage means, and / or the designated automatic start time by the task function A means for automatically starting the execution program when the program has become active, and a resume processing for restoring the working data stored in the storage means and the execution program to the original state, and using a suspend designated in advance. And a means for automatically and repeatedly executing the suspend / resume process for the number of trials of the resume / resume process.
【請求項8】 サスペンド時間を指定するサスペンド時
間情報、レジューム時間を指定するレジューム時間情
報、サスペンド処理/レジューム処理を繰り返し行うサ
スペンド/レジューム処理試行回数を指定するサスペン
ド/レジューム処理試行回数情報を含むサスペンド/レ
ジューム情報をあらかじめ任意に設定する手段と、 前記サスペンド/レジューム情報を基に指定されたサス
ペンド/レジューム処理試行回数分だけ連続的にサスペ
ンド/レジューム処理を無人で繰り返し行う手段とを有
することを特徴とする請求項7に記載のサスペンド/レ
ジューム管理装置。
8. Suspend including suspend time information for designating suspend time, resume time information for designating resume time, and suspend / resume process trial count information for designating suspend / resume trial counts for repeating suspend / resume processing. Means for arbitrarily setting beforehand / resume information; and means for continuously and unattendedly repeating the suspend / resume processing for the number of trials of the suspend / resume processing designated based on the suspend / resume information. The suspend / resume management device according to claim 7, wherein
【請求項9】 サスペンド処理前にサスペンド状態を続
けている時間をあらかじめ算出しておく手段と、 サスペンド要求時にレジュームする時間をオペレーティ
ングソフトウェアへ通知するとともに、レジュームする
時間経過時にオペレーティングソフトウェアにレジュー
ム処理を実行させる手段とを有することを特徴とする請
求項7に記載のサスペンド/レジューム管理装置。
9. A means for calculating beforehand a time during which a suspend state is maintained before a suspend process, a method of notifying an operating software of a time to be resumed when a suspend request is made, and a step of instructing the operating software to execute a resume process when the time to be resumed has elapsed. 8. The suspend / resume management device according to claim 7, further comprising: means for executing.
【請求項10】 オペレーティングソフトウェアが提供
している前記タスク機能を前記指定自動起動時刻に起動
させる手段を有することを特徴とする請求項7に記載の
サスペンド/レジューム管理装置。
10. The suspend / resume management apparatus according to claim 7, further comprising means for starting the task function provided by operating software at the designated automatic start time.
【請求項11】 前記サスペンド/レジューム情報を任
意に設定して保存するサスペンド/レジューム情報設定
処理を実行する手段と、 前記サスペンド/レジューム情報設定処理で指定したサ
スペンド/レジューム処理試行回数分だけサスペンド/
レジューム処理を実施したかを判断するサスペンド/レ
ジューム試行回数判断処理を実行する手段と、 前記サスペンド/レジューム情報設定処理で指定された
サスペンド時間が経過したかを判断するサスペンド時間
判断処理を実行する手段と、 オペレーティングソフトウェアが提供している前記タス
ク機能が起動されているかを判断するタスク起動判断処
理を実行する手段と、 オペレーティングソフトウェアが提供する前記タスク機
能に前記実行プログラムが登録されているかを判断する
実行プログラムタスク登録判断処理を実行する手段と、 前記サスペンド/レジューム情報設定処理で指定された
レジューム時間を基に自動起動する時刻を計算する自動
起動時刻計算処理を実行する手段と、 オペレーティングソフトウェアに対してサスペンド要求
を行った後にオペレーティングソフトウェアにてサスペ
ンド処理を実行するサスペンド実行処理を実行する手段
とを有することを特徴とする請求項8乃至10のいずれ
か一項に記載のサスペンド/レジューム管理装置。
11. A means for executing a suspend / resume information setting process for arbitrarily setting and saving the suspend / resume information, and a suspend / resume process number of times specified by the suspend / resume information setting process.
Means for performing a suspend / resume trial count determining process for determining whether or not the resume process has been performed; and means for performing a suspend time determining process for determining whether a suspend time specified in the suspend / resume information setting process has elapsed. Means for executing a task activation determination process for determining whether the task function provided by the operating software is activated, and determining whether the execution program is registered in the task function provided by the operating software. Means for executing execution program task registration determination processing; means for executing automatic start time calculation processing for calculating a time of automatic start based on the resume time specified in the suspend / resume information setting processing; Tesus Suspend / resume management device according to any one of claims 8 to 10, characterized in that it has means for executing a suspend execution process for executing the suspend process at the operating software after the command request.
【請求項12】 前記タスク機能は、 前記自動起動時刻計算処理で計算されたレジュームする
時刻か判断するレジューム時間判断処理を実行する手段
と、 前記自動起動時刻計算処理で計算されたレジュームする
時刻になった場合に前記実行プログラムを自動起動させ
るとともに、レジューム処理を実行させるレジューム実
行処理を実行する手段とを有することを特徴とする請求
項8乃至11のいずれか一項に記載のサスペンド/レジ
ューム管理装置。
12. The task function includes: a means for executing a resume time determination process for determining whether to resume at a time calculated in the automatic start time calculation process; The suspend / resume management according to any one of claims 8 to 11, further comprising: means for automatically activating the execution program in the event of occurrence, and executing a resume execution process for executing a resume process. apparatus.
JP10100799A 1999-04-08 1999-04-08 Suspend / resume management method and suspend / resume management device Expired - Fee Related JP3389138B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10100799A JP3389138B2 (en) 1999-04-08 1999-04-08 Suspend / resume management method and suspend / resume management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10100799A JP3389138B2 (en) 1999-04-08 1999-04-08 Suspend / resume management method and suspend / resume management device

Publications (2)

Publication Number Publication Date
JP2000293251A true JP2000293251A (en) 2000-10-20
JP3389138B2 JP3389138B2 (en) 2003-03-24

Family

ID=14289199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10100799A Expired - Fee Related JP3389138B2 (en) 1999-04-08 1999-04-08 Suspend / resume management method and suspend / resume management device

Country Status (1)

Country Link
JP (1) JP3389138B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112465466A (en) * 2020-12-10 2021-03-09 金蝶软件(中国)有限公司 Flow task execution method and device, computer equipment and storage medium
CN114137432A (en) * 2021-11-26 2022-03-04 深圳市新威尔电子有限公司 Channel automatic locking detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112465466A (en) * 2020-12-10 2021-03-09 金蝶软件(中国)有限公司 Flow task execution method and device, computer equipment and storage medium
CN112465466B (en) * 2020-12-10 2024-05-03 金蝶软件(中国)有限公司 Method, device, computer equipment and storage medium for executing flow task
CN114137432A (en) * 2021-11-26 2022-03-04 深圳市新威尔电子有限公司 Channel automatic locking detection method

Also Published As

Publication number Publication date
JP3389138B2 (en) 2003-03-24

Similar Documents

Publication Publication Date Title
US8413171B2 (en) Interlocked plug and play with power management for operating systems
JP3507822B2 (en) Computer device and power saving control method thereof
US5692197A (en) Method and apparatus for reducing power consumption in a computer network without sacrificing performance
JP4437137B2 (en) Adjustment of computer system power policy in response to positive instructions from users
CN102156532B (en) Computer and method that reduces power consumption while maintaining a specific function
CN103282854B (en) System and method for power management
US20030204708A1 (en) Portable computer having hierarchical operating systems
TW201011524A (en) Method and controller for power management
JPH096465A (en) Information processor and its control method
US6438708B1 (en) Information processing apparatus that can hold internal information
TWI485623B (en) Method for fast resuming computer system and computer system
US7308586B2 (en) Interlocked plug and play with power management for operating systems
JP2000215100A (en) Power-saving memory management system
JP2008152708A (en) Resume method, program, and information processor
JP2000293251A (en) Method and device for managing suspension/resumption
JP2004021603A (en) Electronic apparatus and suspending/resuming method
JPH08297530A (en) Computer system,its suspending method and its resuming method
TW201435567A (en) Method and device for advanced configuration and power interface (ACPI) sleep-state support using CPU-only reset
WO2012126345A1 (en) Computer startup method, startup apparatus, state transition method, and state transition apparatus
JP2959655B2 (en) Control method of battery driven computer
JP2001147821A (en) Processor
JPH10333790A (en) Information processor equipped with power-saving function and power saving releasing method for the information processor
JP2923111B2 (en) Data processing method and apparatus
JPH06314134A (en) Computer with suspending/resuming function
CN113268135A (en) Low-power-consumption standby method and device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees