JP2000242550A - Method for managing data operation - Google Patents

Method for managing data operation

Info

Publication number
JP2000242550A
JP2000242550A JP11041050A JP4105099A JP2000242550A JP 2000242550 A JP2000242550 A JP 2000242550A JP 11041050 A JP11041050 A JP 11041050A JP 4105099 A JP4105099 A JP 4105099A JP 2000242550 A JP2000242550 A JP 2000242550A
Authority
JP
Japan
Prior art keywords
area
data
computer
storage area
allocated
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.)
Pending
Application number
JP11041050A
Other languages
Japanese (ja)
Inventor
正靖 ▲浅▼野
Masayasu Asano
Toshiaki Arai
利明 新井
Tomonori Sekiguchi
知紀 関口
Seiji Fujioka
誠二 藤岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11041050A priority Critical patent/JP2000242550A/en
Publication of JP2000242550A publication Critical patent/JP2000242550A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve software operation by efficiently taking over data in a main memory which is lost by the operation of a computer. SOLUTION: A data area operated by an application program is dynamically allocated to a nonvolatile area 103 being a main storage area irrespective of computer start procedure when necessary, and the operation of the data area where storage is performed regardless of the operation state of a computer is performed with a unified function. Thus, it is possible to manage an area irrespective of the operation state of the computer on a main storage and to operate data in the main storage without depending on the start of the computer. Thus, data such as backup, i.e., data that is not stored does not have to be stored in an external storage device. Even though the computer is repeatedly started and also even though the application is frequently operated, it is possible to utilize the data stored in the main storage.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はデータ運用管理方法
及び装置に関して、特に計算機の動作状態に関わらず、
主記憶内のデータを統一した関数により、アプリケーシ
ョンプログラムで運用可能とするデータ運用管理及び装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data operation management method and apparatus, in particular, regardless of the operation state of a computer.
The present invention relates to a data operation management and an apparatus that can be operated by an application program by using a function that unifies data in a main memory.

【0002】[0002]

【従来の技術】計算機上で動作するプログラムは共通の
資源である主記憶を使用している。主記憶は計算機が起
動する時に初期化され、起動前にあった主記憶内容は失
われる。またアプリケーションプログラムが使用する記
憶領域においては、アプリケーションの終了と同時に解
放され、前記アプリケーションが使用した記憶領域は無
効になる。上記の場合で主記憶内容を保持したい場合
は、ディスク装置などの外部記憶装置に主記憶の内容を
保存する。
2. Description of the Related Art Programs operating on a computer use a main memory which is a common resource. The main memory is initialized when the computer starts, and the contents of the main memory before the start are lost. The storage area used by the application program is released at the same time as the termination of the application, and the storage area used by the application becomes invalid. If it is desired to retain the contents of the main storage in the above case, the contents of the main storage are stored in an external storage device such as a disk device.

【0003】また、計算機に障害が発生して計算機が停
止した後、再度計算機の起動を行なった場合は、主記憶
上の記憶内容は消滅する。主記憶上に必要なデータがあ
る場合には、計算機に障害が発生した場合を考慮して、
ディスク装置などの外部記憶装置へ主記憶上にあるデー
タのバックアップを通常動作中に適時行なう必要があ
る。しかし、計算機の障害は、計算機が動作中に突然起
こる可能性がある。その場合、主記憶中にバッグアップ
の取れなかった未保存データが存在することになる。
Further, if the computer is restarted after the computer has been stopped due to a failure, the contents stored in the main memory will be lost. If there is necessary data in the main memory, consider the case where a failure occurs in the computer,
It is necessary to back up the data in the main storage to an external storage device such as a disk device during normal operation in a timely manner. However, computer failure can occur suddenly while the computer is running. In this case, unsaved data that could not be backed up exists in the main memory.

【0004】計算機に障害が発生した場合、障害発生前
の主記憶中の未保存データを保存し、計算機再起動後、
再起動前の状態に復元して運用を再開する方法として特
開平9−325896がある。この方法では、ディスク
装置などの外部記憶装置にメモリ情報を保存し、再起動
後、ディスク装置に保存したメモリ情報から必要な情報
を取り出して計算機の運用を再開する。
When a failure occurs in a computer, the unsaved data in the main memory before the failure is saved, and after restarting the computer,
As a method of restoring the state before restarting and restarting operation, there is JP-A-9-325896. In this method, memory information is stored in an external storage device such as a disk device, and after restarting, necessary information is extracted from the memory information stored in the disk device, and the operation of the computer is restarted.

【0005】[0005]

【発明が解決しようとする課題】かかる従来の方法にお
いては、次のような問題がある。
However, such a conventional method has the following problems.

【0006】計算機の動作に関わらず必要なデータを引
き継ぐため、ハードディスク装置などの外部記憶装置に
引き継ぐデータを確保し、再起動後にそのデータを使用
することになれば、外部記憶装置に保存したデータから
必要なデータを解析し取り出す手順が必要であり、この
処理に関する負荷がかかるという問題がある。また主記
憶と外部記憶装置間でのデータ転送にもまた負荷がかか
るという問題がある。
In order to take over necessary data regardless of the operation of the computer, the data to be taken over is secured in an external storage device such as a hard disk device, and if the data is to be used after restarting, the data stored in the external storage device is used. Therefore, there is a problem that a procedure for analyzing and extracting necessary data from the computer is required, and a load on this processing is imposed. Another problem is that data transfer between the main storage and the external storage device is also burdened.

【0007】また計算機の動作に関わらず、外部記憶装
置からデータを引き継ぐ場合、計算機システムに依存し
てしまい、アプリケーションプログラムで直接データの
引継ぎができていないという問題がある。
Further, when data is taken over from an external storage device regardless of the operation of the computer, there is a problem that data depends on the computer system and data cannot be taken over directly by an application program.

【0008】本発明の目的は、計算機の動作に関わら
ず、必要なデータの運用の操作を統一して、アプリケー
ションプログラムでデータの運用管理を行なうことにあ
る。
[0008] It is an object of the present invention to unify necessary data operations regardless of the operation of a computer and to manage data operations by an application program.

【0009】[0009]

【課題を解決するための手段】本発明は、主記憶領域を
分割し、OSが管理する主記憶領域以外の領域において、
計算機の動作に依存しない主記憶領域を割り当てる。そ
して、計算機の動作に依存しない主記憶領域のベースア
ドレスや大きさの情報をOSが獲得する。この領域は計算
機の起動には関係ないので、計算機が何度起動しても、
アプリケーションはこの領域の情報を基に、領域内の運
用を行なうことができる。そして、その領域にデータを
参照、書き込みを行なうことができる。
According to the present invention, a main storage area is divided into areas other than the main storage area managed by the OS.
Allocate a main storage area that does not depend on the operation of the computer. Then, the OS acquires information on the base address and the size of the main storage area that do not depend on the operation of the computer. This area is not related to the start of the computer, so no matter how many times the computer starts,
The application can operate within the area based on the information of the area. Then, data can be referred to and written in the area.

【0010】また前記記憶領域を初めに割り当てるため
か、領域にあるデータを引き継ぐためかをチェックする
ことで、統一した関数で、データの運用が可能である。
Further, by checking whether to allocate the storage area first or to take over the data in the area, it is possible to operate the data with a unified function.

【0011】また起動の回数から起動に関わらず、前記
記憶領域を初めに割り当てるためか、領域にあるデータ
を引き継ぐためかをチェックすることで、統一した関数
で、データの運用が可能である。
[0011] Regardless of the number of activations, regardless of the number of activations, it is possible to operate the data with a unified function by checking whether to allocate the storage area first or to take over the data in the area.

【0012】また割り当てた前記記憶領域に関して、記
憶領域を割り当てたプログラム以外のプログラムがその
領域を操作しないようにするため、アクセス権を割り当
てた領域に与える。これにより、各記憶領域の保守性が
保たれる。
In addition, in order to prevent programs other than the program to which the storage area is allocated from operating the allocated storage area, an access right is given to the allocated area. Thereby, maintainability of each storage area is maintained.

【0013】[0013]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は、本発明の実施の形態における計算
機構成を示す図である。計算機100は、主記憶装置1
01、CPU107、読み出し専用メモリ108、ディス
ク装置109、これらを接続するバス106で構成す
る。
FIG. 1 is a diagram showing a computer configuration according to an embodiment of the present invention. The computer 100 has a main storage device 1
1, a CPU 107, a read-only memory 108, a disk device 109, and a bus 106 connecting these.

【0015】主記憶装置101は、OS領域102と不揮
発領域103の2つの領域に分割される。不揮発領域1
03は、計算機100で実行するOS上で、計算機の起動
状態に関わらずに運用するデータを格納する領域であ
り、後で説明する起動方法により計算機の起動を行なっ
ても、内容が保持される領域である。103は103の
領域の管理情報104と実際に格納するデータ領域10
5により構成される。OS領域102は、その他のOSのコ
ード、データ、および、アプリケーションプログラムが
利用する。
The main storage device 101 is divided into two areas, an OS area 102 and a non-volatile area 103. Non-volatile area 1
Reference numeral 03 denotes an area for storing data operated on the OS executed by the computer 100 irrespective of the activation state of the computer. Even if the computer is activated by an activation method described later, the content is retained. Area. Reference numeral 103 denotes management information 104 of the area 103 and the data area 10 to be actually stored.
5. The OS area 102 is used by other OS codes, data, and application programs.

【0016】図2は管理情報104に登録されているデ
ータ構造を示す。不揮発領域管理テーブル200は、不
揮発領域内で管理する各データ領域のデータ識別子20
1と、各データ領域のサイズ202と、各データ領域の
ベース物理アドレス203と、各データ領域の割り当て
られた時期を確認するための値である登録値204と、
各データ領域に対するアクセス権限205で構成され
る。登録値204は、各データ領域の割当時にOS領域1
02が不揮発領域103を保存して起動した回数で表
す。この起動した回数は後述の不揮発領域起動回数21
0の値による。またアクセス権限205は各データ領域
に対してユーザ、アプリケーションがそれぞれ読み書き
可能であるかどうか許可を与える値である。この値によ
り各データ領域の保護がなされる。
FIG. 2 shows a data structure registered in the management information 104. The non-volatile area management table 200 includes a data identifier 20 for each data area managed in the non-volatile area.
1, a size 202 of each data area, a base physical address 203 of each data area, and a registration value 204 which is a value for confirming a time when each data area is allocated.
It is composed of an access right 205 for each data area. The registration value 204 is stored in the OS area 1 when each data area is allocated.
02 represents the number of times the nonvolatile area 103 is stored and started. The number of times of this start is a non-volatile area start number 21 described later.
Depends on the value of 0. The access authority 205 is a value that gives permission as to whether a user and an application can read and write each data area. This value protects each data area.

【0017】不揮発領域起動回数210は、OS領域10
2が不揮発領域103を保存して起動する回数を数えた
値である。各データ領域が割り当てられるとき、不揮発
領域起動回数210の値を登録204に格納する。これ
により、各データ領域の登録状況を判定する。
The non-volatile area activation count 210 is determined by the OS area 10
Reference numeral 2 denotes a value obtained by counting the number of times that the nonvolatile area 103 is saved and activated. When each data area is allocated, the value of the non-volatile area activation count 210 is stored in the registration 204. Thereby, the registration status of each data area is determined.

【0018】図3は不揮発領域103にデータ領域を割
り当てる手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure for allocating a data area to the nonvolatile area 103.

【0019】不揮発領域103に割り当て要求が入る
と、データ領域に対する設定情報を獲得する(ステップ
300)。設定情報にはデータ領域に対する識別子とサ
イズとアクセス権限がある。新規にデータ領域を割り当
てる場合に必要な設定情報は、識別子とサイズである。
必要があればデータ領域の操作許可を設定するために、
アクセス権限設定を行なう。また不揮発領域管理テーブ
ル200に登録されているデータ領域を再割り当てする
場合に必要な設定情報は、識別子のみである。
When an allocation request is received in the non-volatile area 103, setting information for the data area is obtained (step 300). The setting information includes an identifier, a size, and an access right for the data area. The setting information required when a new data area is allocated is an identifier and a size.
If necessary, to set the data area operation permission,
Make access authority settings. The only setting information required when reallocating a data area registered in the nonvolatile area management table 200 is an identifier.

【0020】次に新規にデータ領域を割り当てるかどう
か判定する(ステップ301)。これは識別子の設定情
報が不揮発領域管理テーブル200に登録されているか
どうかで判定する。新規に割り当てる場合、識別子は不
揮発領域管理テーブル200に割り当てられていない。
Next, it is determined whether a new data area is to be allocated (step 301). This is determined based on whether the setting information of the identifier is registered in the nonvolatile area management table 200. When newly assigning, the identifier is not assigned to the nonvolatile area management table 200.

【0021】新規にデータ領域を割り当てる場合、サイ
ズが設定情報で登録されているか判定する(ステップ3
02)。サイズが設定されていなければ、エラーとして
その旨を通知して終了する(ステップ303)。
When a new data area is allocated, it is determined whether the size is registered in the setting information (step 3).
02). If the size is not set, an error is notified and the process ends (step 303).

【0022】サイズ設定が設定情報にあれば、不揮発領
域管理テーブル200に空きエントリがあるかどうか判
定する(ステップ304)。空きエントリがなければ、
エラーとしてその旨を通知して終了する(ステップ30
5)。
If the size setting is found in the setting information, it is determined whether there is an empty entry in the nonvolatile area management table 200 (step 304). If there are no free entries,
The error is notified as an error and the processing is terminated (step 30).
5).

【0023】不揮発領域管理テーブル200に空きエン
トリがあれば、設定情報のサイズのデータ領域を割り当
てるために、不揮発領域103の格納データ領域105
に空き領域があるかどうか判定する(ステップ30
6)。これは図6で説明するOS領域内で管理する保存範
囲602の値と格納データに割り当てられているデータ
領域の大きさにより判定する。格納データ領域105に
空き領域がなければ、エラーとしてその旨を通知して終
了する(ステップ307)。
If there is an empty entry in the nonvolatile area management table 200, the storage data area 105 of the nonvolatile area 103 is allocated to allocate a data area of the size of the setting information.
It is determined whether or not there is an empty area (step 30).
6). This is determined based on the value of the storage range 602 managed in the OS area described in FIG. 6 and the size of the data area allocated to the stored data. If there is no free space in the storage data area 105, an error is notified to that effect and the process ends (step 307).

【0024】不揮発領域に設定情報のサイズのデータ領
域を割り当てる空き領域があれば、設定情報のサイズか
ら不揮発領域103内の格納データ領域105にデータ
領域を割り当てる。また割り当ての際、仮想アドレスも
計算する(ステップ308)。ステップ308の処理は
OSがページテーブルを操作することで不揮発領域のデー
タ領域割り当てを行なう。
If there is a free area in the nonvolatile area to which a data area of the size of the setting information is allocated, a data area is allocated to the storage data area 105 in the nonvolatile area 103 based on the size of the setting information. At the time of assignment, a virtual address is also calculated (step 308). The process of step 308 is
The OS operates the page table to allocate a data area in the nonvolatile area.

【0025】次に、不揮発領域管理テーブル200に割
り当てたデータ領域に関する設定情報を登録する(ステ
ップ309)。
Next, setting information relating to the allocated data area is registered in the nonvolatile area management table 200 (step 309).

【0026】次に、割り当てたデータの先頭仮想アドレ
スと、各データ領域に関する不揮発領域を保存して計算
機を起動した回数を、返値として渡して処理を終了する
(ステップ310)。新規に割り当てた場合は、各デー
タ領域に関する不揮発領域を保存して計算機を起動した
回数は0になる。
Next, the process returns to the start virtual address of the allocated data and the number of times the computer has been started by storing the non-volatile area for each data area as a return value, and the processing is terminated (step 310). When newly assigned, the number of times the computer is started while the non-volatile area related to each data area is saved becomes zero.

【0027】ステップ301で新規の割り当てでないと
判定された場合、アクセス権限が許可されているかどう
か判定する(ステップ311)。またステップ311で
は登録されている識別子に対して、サイズの設定もある
場合は、識別子の登録が誤りであると判定する。アクセ
ス権限の許可がない場合や識別子の登録が誤りである場
合は、エラーとしてその旨を通知して終了する(ステッ
プ312)。
If it is determined in step 301 that the assignment is not a new assignment, it is determined whether an access right is permitted (step 311). In step 311, if there is a size setting for the registered identifier, it is determined that the registration of the identifier is incorrect. If the access right is not permitted or the registration of the identifier is erroneous, this is notified as an error and the process ends (step 312).

【0028】アクセス権限が許可されている場合は、設
定情報の識別子に対する各データ領域に関する不揮発領
域を保存した計算機の起動した回数を計算する(ステッ
プ313)。不揮発領域内で記憶領域を確保した後で計
算機を起動するときに設定情報の識別子に対するデータ
領域の再割り当てを行なう場合、その状況を通知するた
めに行なう。この計算方式は不揮発領域保存起動回数2
10と識別子に対する各データ領域の登録値204の差
で求める。これにより、各データ領域を割り当ててから
の不揮発領域保存起動回数が求まる。
If the access right is permitted, the number of times the computer storing the non-volatile area for each data area corresponding to the identifier of the setting information is started is calculated (step 313). When reallocating the data area to the identifier of the setting information when starting the computer after securing the storage area in the non-volatile area, this is performed to notify the situation. This calculation method uses the non-volatile area storage start count 2
It is determined by the difference between 10 and the registered value 204 of each data area for the identifier. As a result, the number of times of starting the non-volatile area storage after allocating each data area is obtained.

【0029】次に不揮発領域管理テーブル200から識
別子に対するデータ領域のサイズと物理ベースアドレス
を取り出す(ステップ314)。次にステップ308に
処理を移行し、この取り出した情報により、領域を実際
に割り当てる。
Next, the size of the data area and the physical base address corresponding to the identifier are extracted from the nonvolatile area management table 200 (step 314). Next, the processing shifts to step 308, and the area is actually allocated based on the extracted information.

【0030】以上ような不揮発領域のメモリ割り当て手
順により、計算機の起動状態に関係なく主記憶内のデー
タを保存する領域を動的に割り当て、計算機の動作状態
に関わらず、アプリケーションプログラムが主記憶内の
データを運用することが可能となる。
According to the above-mentioned procedure for allocating the non-volatile area to the memory, an area for storing data in the main memory is dynamically allocated regardless of the activation state of the computer, and the application program is stored in the main memory regardless of the operation state of the computer. Data can be operated.

【0031】図4は不揮発領域103に割り当てた各デ
ータ領域のアクセス権限を変更する処理手順を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a processing procedure for changing the access authority of each data area allocated to the nonvolatile area 103.

【0032】各データ領域のアクセス権限は不揮発領域
管理テーブル200で管理されている。図4は不揮発メ
モリ領域管理テーブル200のアクセス権限205の値
を変更する処理手順である。
The access authority of each data area is managed by the nonvolatile area management table 200. FIG. 4 shows a processing procedure for changing the value of the access authority 205 in the nonvolatile memory area management table 200.

【0033】不揮発領域で割り当てたデータ領域のアク
セス権限の変更要求が入ると、変更内容を獲得する(ス
テップ400)。獲得情報は各データ領域の識別子と変
更するアクセス権限の内容である。
When a request to change the access authority of the data area allocated in the non-volatile area is received, the contents of the change are acquired (step 400). The acquisition information is the identifier of each data area and the contents of the access right to be changed.

【0034】次に現在のアクセス権限が、変更要求して
いるデータ領域に対して許可されているか判定する(ス
テップ401)。アクセス権限が許可されていない場合
エラーとしてその旨を通知して終了する(ステップ40
2)。
Next, it is determined whether the current access right is permitted for the data area requested to be changed (step 401). If the access right is not permitted, an error is notified and the processing ends (step 40).
2).

【0035】アクセス権限が許可されていれば、変更要
求のアクセス権限の内容を変更して処理を終了する(ス
テップ403)。
If the access authority is permitted, the contents of the access authority of the change request are changed, and the process is terminated (step 403).

【0036】以上のような不揮発領域に割り当てられた
各データ領域のアクセス権限の変更処理により、データ
の保護を行なう。
Data is protected by the above-described process of changing the access authority of each data area allocated to the non-volatile area.

【0037】図5は不揮発領域で割り当てた領域を解放
する手順を示すフローチャートである。
FIG. 5 is a flowchart showing a procedure for releasing the area allocated in the nonvolatile area.

【0038】不揮発領域で割り当てた領域を解放する要
求が入ると、ユーザが指定した解放する領域の識別子2
01を獲得する(ステップ500)。
When a request to release an area allocated in the non-volatile area is received, the identifier 2 of the area to be released specified by the user
01 is obtained (step 500).

【0039】次に要求した識別子に対して、アクセス権
限が許可されているか判定する(ステップ501)。ア
クセス権限が許可されていない場合エラーとしてその旨
を通知して終了する(ステップ502)。
Next, it is determined whether an access right is permitted for the requested identifier (step 501). If the access right is not permitted, an error is notified and the process ends (step 502).

【0040】アクセス権限が許可されていれば、獲得し
た識別子201から不揮発領域管理テーブル200を介
して、解放するメモリ領域を判定し、そのメモリを解放
する(ステップ503)。
If the access right is permitted, the memory area to be released is determined from the acquired identifier 201 via the nonvolatile area management table 200, and the memory is released (step 503).

【0041】次に管理テーブル200から、解放したメ
モリ領域に対応する識別子をもつ行の値を消去して処理
を終了する(ステップ504)以上のように、不揮発領
域で管理されているデータ領域を解放することが可能で
あり、不揮発領域を有効に運用管理することが可能とな
る。
Next, the value of the row having the identifier corresponding to the released memory area is deleted from the management table 200, and the processing is terminated (step 504). As described above, the data area managed in the nonvolatile area is deleted. It can be released and the non-volatile area can be effectively managed.

【0042】次に、図6により、OSを起動するときに参
照するデータについて説明する。図6は、本発明の形態
のOS領域102の様子を示している。OS領域102に
は、計算機起動方法を示す起動方法フラグ601と、不
揮発領域103のアドレス範囲を記録する保存範囲60
2がある。
Next, referring to FIG. 6, description will be given of data to be referred to when starting the OS. FIG. 6 shows a state of the OS area 102 according to the embodiment of the present invention. The OS area 102 includes a boot method flag 601 indicating a computer boot method, and a storage area 60 for recording an address range of the nonvolatile area 103.
There are two.

【0043】フラグ601と範囲602は、OSの停止
時、再起動時に設定する。フラグ601は、計算機起動
時の動作を決める値を格納する。例えば、電源投入時と
同様の初期化処理を実行する、一部の初期化処理を実行
せずに起動するなどである。本発明では、不揮発領域1
03の内容を保持してOSを起動することを示す値が存在
する。範囲602は、領域103のアドレス範囲を記録
している。
The flag 601 and the range 602 are set when the OS is stopped or restarted. The flag 601 stores a value that determines the operation at the time of starting the computer. For example, an initialization process similar to that performed when the power is turned on may be executed, or the process may be started without executing some initialization processes. In the present invention, the nonvolatile area 1
There is a value indicating that the OS is to be started while holding the content of 03. The range 602 records the address range of the area 103.

【0044】これらが格納されるメモリのアドレスは予
め決められており、起動処理でもこれらのデータを参照
でき、保持すべき領域103を発見することができる。
The addresses of the memories in which these are stored are predetermined, and these data can be referred to even in the start-up processing, and the area 103 to be held can be found.

【0045】次に図7により計算機の起動手順を説明す
る。図7に示した手順はROM108に格納され、CPU10
7がリセットされたときに実行されるように、ROM10
8はバス106に接続されている。
Next, the procedure for starting the computer will be described with reference to FIG. The procedure shown in FIG.
7 so that it is executed when reset.
8 is connected to the bus 106.

【0046】CPU107がリセットされると、ステップ
700を実行する。ここでは、OS領域102の起動方法
フラグ601を検査する。フラグ601にOS領域102
の保持を示す値が格納されている場合は、保存内容60
2を参照して、以降の起動処理で利用できるメモリ領域
から602で示される領域を除外して(ステップ70
1)、ステップ703へ進む。そうでない場合は、ステ
ップ702へ進む。
When the CPU 107 is reset, step 700 is executed. Here, the boot method flag 601 in the OS area 102 is checked. OS area 102 in flag 601
If a value indicating the retention is stored, the stored content 60
Referring to FIG. 2, the area indicated by 602 is excluded from the memory area that can be used in the subsequent boot processing (step 70).
1), proceed to step 703; Otherwise, go to step 702.

【0047】ステップ702は不揮発領域保存起動回数
210を更新する。これにより再起動後でデータを再度
引き継いで利用するかどうか判定するときなどに用いら
れる。この処理が終了すると、ステップ703に進む。
Step 702 updates the number of times 210 of non-volatile area storage activation. This is used, for example, when determining whether to take over and use the data again after the restart. When this process ends, the process proceeds to a step 703.

【0048】ステップ703からの処理は、通常の計算
機手順である。主記憶101を初期化し(ステップ70
3)、計算機に接続されている入出力装置の初期化と、
OSに渡す構成情報を構築する(ステップ704)。構築
する構成情報にはOSが利用可能な主記憶範囲が含まれ
る。この主記憶範囲からも、保存範囲602で指定され
る領域は除外される。
The processing from step 703 is a normal computer procedure. Initialize the main memory 101 (step 70)
3), initialization of input / output devices connected to the computer,
The configuration information to be passed to the OS is constructed (step 704). The configuration information to be constructed includes a main storage range usable by the OS. The area specified by the storage range 602 is also excluded from the main storage range.

【0049】続くステップ705でOSカーネルをロード
して、OS初期化処理を呼びさす。これらの処理の間、不
揮発領域103は利用可能な主記憶から除外されている
ので、使われることはない。したがって、OS停止による
再起動の場合でも、停止時に不揮発領域103に格納さ
れる管理情報104、格納データ105の内容も保存さ
れる。
In the following step 705, the OS kernel is loaded, and the OS initialization processing is called. During these processes, the non-volatile area 103 is not used because it is excluded from the available main memory. Therefore, even in the case of the restart due to the OS stop, the contents of the management information 104 and the storage data 105 stored in the non-volatile area 103 at the time of the stop are also saved.

【0050】以上で説明した計算機起動手順と、この計
算機起動手順で影響を受けない主記憶領域である不揮発
領域103の割り当て手順や解放手順を有する不揮発領
域管理手順により、計算機再起動前に主記憶上で格納し
たデータを計算機の再起動後に引き継いで運用すること
が可能となる。
The computer startup procedure described above and the non-volatile area management procedure including the procedure for allocating and releasing the non-volatile area 103, which is the main storage area unaffected by the computer startup procedure, allow the main storage to be executed before the computer is restarted. The data stored above can be taken over and operated after the computer is restarted.

【0051】またディスク装置など、外部記憶装置にバ
ックアップを取る必要もなく、主記憶に直接再起動前の
データを引き継いで運用することが可能となる。
Further, it is not necessary to make a backup in an external storage device such as a disk device, and it is possible to directly take over the data before the restart to the main storage and operate it.

【0052】次の実施の形態では、図8に示すように、
主記憶に補助電源装置を設けることで、計算機の電源障
害が起こっても、主記憶中の情報は保存されるので、再
び主記憶内容を保存して計算機を起動した場合、主記憶
のデータを引き継いで、運用を行なうことが可能であ
る。
In the next embodiment, as shown in FIG.
By providing the auxiliary power supply in the main memory, even if a power failure occurs in the computer, the information in the main memory is preserved. It is possible to take over and operate.

【0053】第3の実施の形態は、図9より、計算機1
00をサーバ機として実現し、900をサーバ管理を行
なう管理計算機として実現する。計算機100で障害が
発生した場合、管理計算機900が再起動を促し、再起
動後、不揮発領域中の情報をネットワーク経由で通し
て、管理計算機上で障害解析を行なう。また不揮発領域
中のデータを再度管理計算機からの指示により、運用す
る。また不揮発領域の内容をディスク装置109に反映
させて、計算機100の動作状態に関係なく、障害時に
主記憶中の未保存のデータを回復させることが可能であ
る。
In the third embodiment, as shown in FIG.
00 is implemented as a server machine, and 900 is implemented as a management computer that performs server management. When a failure occurs in the computer 100, the management computer 900 prompts a restart, and after the restart, passes information in the non-volatile area via a network and performs a failure analysis on the management computer. The data in the nonvolatile area is operated again according to an instruction from the management computer. In addition, by reflecting the contents of the non-volatile area on the disk device 109, it is possible to recover unsaved data in the main memory at the time of failure regardless of the operation state of the computer 100.

【0054】[0054]

【発明の効果】本発明によれば、主記憶上で計算機の動
作状態に関わることない領域を管理し、計算機の起動に
よらず主記憶内でデータを運用することが可能である。
よって、計算機を起動するために、バックアップ等のデ
ータを外部記憶装置に未保存のデータを保存する必要は
なく、計算機を何度起動して動作させても、またアプリ
ケーションを何度動作させても、主記憶内で保存してあ
るデータを利用することが可能である。
According to the present invention, it is possible to manage an area on the main memory that is not related to the operation state of the computer, and to operate data in the main memory without starting the computer.
Therefore, in order to start the computer, it is not necessary to save unsaved data such as backup data to an external storage device, no matter how many times the computer is started and operated, and how many times the application is operated. It is possible to use data stored in the main memory.

【0055】また本発明では、データのバックアップを
主記憶とは別の外部記憶装置に取る必要がなく、記憶領
域のデータに関する管理の負荷がかからない。
Further, according to the present invention, it is not necessary to back up data in an external storage device separate from the main storage, and the management load on the data in the storage area is not imposed.

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

【図1】本発明の実施の形態における、計算機構成を示
す図である。
FIG. 1 is a diagram showing a computer configuration according to an embodiment of the present invention.

【図2】本発明の実施の形態における、計算機起動手順
に関わらない主記憶領域を管理する情報群を示す図であ
る。
FIG. 2 is a diagram showing a group of information for managing a main storage area irrespective of a computer startup procedure in the embodiment of the present invention.

【図3】本発明の実施の形態における、計算機起動手順
に関わらない主記憶領域に領域を割り当てる方法を示す
フローチャートである。
FIG. 3 is a flowchart illustrating a method of allocating an area to a main storage area irrespective of a computer startup procedure in the embodiment of the present invention.

【図4】本発明の実施の形態における、計算機起動手順
に関わらない主記憶領域に割り当てた領域のアクセス権
限を変更する方法を示すフローチャートである。
FIG. 4 is a flowchart illustrating a method for changing the access authority of an area allocated to a main storage area irrespective of a computer startup procedure in the embodiment of the present invention.

【図5】本発明の実施の形態における、計算機起動手順
に関わらない主記憶領域に割り当てられた領域を解放す
る方法を示すフローチャートである。
FIG. 5 is a flowchart illustrating a method of releasing an area allocated to a main storage area irrespective of a computer startup procedure in the embodiment of the present invention.

【図6】本発明の実施の形態における、計算機再起動処
理に関連するデータ構造を示す図である。
FIG. 6 is a diagram showing a data structure related to a computer restart process in the embodiment of the present invention.

【図7】本発明の実施の形態における、計算機起動手順
を示すフローチャートである。
FIG. 7 is a flowchart illustrating a computer activation procedure in the embodiment of the present invention.

【図8】本発明の第2の実施の形態における、計算機装
置を示す図である。
FIG. 8 is a diagram showing a computer device according to a second embodiment of the present invention.

【図9】本発明の第3の実施の形態における、計算機装
置を示す図である。
FIG. 9 is a diagram illustrating a computer device according to a third embodiment of the present invention.

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

100…計算機、101…主記憶、102…OS領域、1
03不揮発領域、104管理情報、105…格納デー
タ、106…バス、107…プロセッサ、108…読み
出し専用メモリ、109…ディスク、200…不揮発領
域管理テーブル、201…データ識別子、202…サイ
ズ、203…ベースアドレス、204…登録、205…
アクセス権限、210…不揮発領域保存起動回数、60
1…起動方法フラグ、602…保存範囲、800…電源
装置、801…補助電源装置、900…管理計算機、9
01…ネットワーク。
100: computer, 101: main memory, 102: OS area, 1
03 nonvolatile area, 104 management information, 105 storage data, 106 bus, 107 processor, 108 read-only memory, 109 disk, 200 nonvolatile area management table, 201 data identifier, 202 size, 203 base Address, 204 ... registration, 205 ...
Access authority, 210: number of times the nonvolatile area is saved, 60
1: start method flag, 602: storage range, 800: power supply, 801: auxiliary power supply, 900: management computer, 9
01 ... Network.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 関口 知紀 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 藤岡 誠二 神奈川県海老名市下今泉810番地 株式会 社日立製作所PC事業部内 Fターム(参考) 5B017 BA06 CA01 5B060 AA05 AA12 AA14 AC11  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tomoki Sekiguchi 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside System Development Laboratory, Hitachi, Ltd. F-term in Hitachi PC Division (Reference) 5B017 BA06 CA01 5B060 AA05 AA12 AA14 AC11

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】主記憶の定められた領域の内容を保持して
計算機を起動する手順と、前記領域を指定する手順を有
する計算機環境において、計算機の動作に関わらず、前
記主記憶領域内に動的に割り当てた記憶領域を継続して
運用することが可能であることを特徴とするデータ運用
管理方法。
In a computer environment having a procedure for activating a computer while retaining the contents of a predetermined area of a main memory and a procedure for specifying the area, the main storage area is stored in the main storage area regardless of the operation of the computer. A data operation management method, wherein a dynamically allocated storage area can be continuously operated.
【請求項2】請求項1において、前記主記憶領域に動的
に割り当てた記憶領域のデータを、計算機の動作に関わ
らず、統一した関数でアプリケーションプログラムが運
用することが可能であることを特徴とするデータ運用管
理方法。
2. An application program according to claim 1, wherein data of a storage area dynamically allocated to said main storage area can be operated by a unified function regardless of the operation of a computer. Data operation management method.
【請求項3】請求項1において、前記主記憶領域内に動
的に割り当てた記憶領域に含まれるデータの運用を、前
記記憶領域を割り当てたプログラム以外のプログラムか
ら保護することを特徴とするデータ運用管理方法。
3. The data according to claim 1, wherein operation of data included in a storage area dynamically allocated in said main storage area is protected from a program other than a program to which said storage area is allocated. Operation management method.
【請求項4】請求項3において、前記記憶領域を割り当
てたプログラム以外のプログラムが、前記記憶領域のデ
ータを運用するためには、運用する許可を与えられたと
きのみとすることで、データを保護することを特徴とす
るデータ運用管理方法。
4. A program according to claim 3, wherein a program other than the program to which said storage area has been allocated operates the data in said storage area only when the operation permission is given. A data operation management method characterized by protection.
JP11041050A 1999-02-19 1999-02-19 Method for managing data operation Pending JP2000242550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11041050A JP2000242550A (en) 1999-02-19 1999-02-19 Method for managing data operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11041050A JP2000242550A (en) 1999-02-19 1999-02-19 Method for managing data operation

Publications (1)

Publication Number Publication Date
JP2000242550A true JP2000242550A (en) 2000-09-08

Family

ID=12597591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11041050A Pending JP2000242550A (en) 1999-02-19 1999-02-19 Method for managing data operation

Country Status (1)

Country Link
JP (1) JP2000242550A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352704B2 (en) 2010-12-27 2013-01-08 Kabushiki Kaisha Toshiba Switching apparatus and data management method of same
JP2016009275A (en) * 2014-06-23 2016-01-18 キヤノン株式会社 Information processing device, information processing method, and computer program
JP2016111577A (en) * 2014-12-09 2016-06-20 三菱電機株式会社 Station side communication equipment, optical communication system, and reboot control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352704B2 (en) 2010-12-27 2013-01-08 Kabushiki Kaisha Toshiba Switching apparatus and data management method of same
JP2016009275A (en) * 2014-06-23 2016-01-18 キヤノン株式会社 Information processing device, information processing method, and computer program
JP2016111577A (en) * 2014-12-09 2016-06-20 三菱電機株式会社 Station side communication equipment, optical communication system, and reboot control method

Similar Documents

Publication Publication Date Title
JP3593241B2 (en) How to restart the computer
US7409536B2 (en) Computer systems with several operating systems coexisting thereon and swapping between these operating systems
US8166288B2 (en) Managing requests of operating systems executing in virtual machines
JP4683218B2 (en) Fast restart method, information processing apparatus, and program
EP3479224A1 (en) Memory allocation techniques at partially-offloaded virtualization managers
JPH03278126A (en) Computer system starting system
CN109710317B (en) System starting method and device, electronic equipment and storage medium
US7454547B1 (en) Data exchange between a runtime environment and a computer firmware in a multi-processor computing system
MX2007002204A (en) Apparatus, system, and method for file system serialization reinitialization.
US7921247B1 (en) Sharing a dynamically located memory block between components executing in different processor modes in an extensible firmware interface environment
US20120124581A1 (en) Virtual computer system and control method of virtual computer system
US9235426B2 (en) Multicore processor system, computer product, and notification method for updating operating system
WO2013088818A1 (en) Virtual computer system, virtualization mechanism, and data management method
JPH07311749A (en) Multiprocessor system and kernel substituting method
JP3882321B2 (en) Computer with operating system module program
JP2007133544A (en) Failure information analysis method and its implementation device
CN115480931A (en) Inter-core communication processing method and device and computer system
US7523284B1 (en) Method and apparatus for providing memory management within a system management mode
US9727390B1 (en) Invoking a firmware function
US11226755B1 (en) Core dump in a storage device
CN113127263B (en) Kernel crash recovery method, device, equipment and storage medium
EP2024843A2 (en) Supporting flash access in a partitioned platform
JPWO2004081791A1 (en) Virtual machine system and firmware update method in virtual machine system
GB2537760A (en) Computer, and resource scheduling method using hypervisor
JP2000242550A (en) Method for managing data operation