JPH09128302A - Data access method to non-volatile memory - Google Patents

Data access method to non-volatile memory

Info

Publication number
JPH09128302A
JPH09128302A JP28497195A JP28497195A JPH09128302A JP H09128302 A JPH09128302 A JP H09128302A JP 28497195 A JP28497195 A JP 28497195A JP 28497195 A JP28497195 A JP 28497195A JP H09128302 A JPH09128302 A JP H09128302A
Authority
JP
Japan
Prior art keywords
volatile memory
data
memory
cpu
writing
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
JP28497195A
Other languages
Japanese (ja)
Inventor
Takeshi Komatsu
剛 小松
Ritsuko Suketa
律子 助田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28497195A priority Critical patent/JPH09128302A/en
Publication of JPH09128302A publication Critical patent/JPH09128302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently make data-access to a non-volatile memory by adding an external memory to the non-volatile memory of a package loading CPU in a transmission device system. SOLUTION: The device used for the method is provided with a non-volatile memory 1 for storing data, a CPU 7 accessing data on the non-volatile memory 1, a PKG 9 loading CUP, which has data of the same structure/same value as the non-volatile memory 1 and has RAM data 2 which can always be read/ written from/into CPU, an external by added memory 3 which has the same structure at the non-volatile memory 1 and which exists on a PKG different from the PKG loading CPU, a virtual space 4 addressing the external by added memory 3 on the same memory of RAM data 2 and the plural non-volatile memories 2 for the backup of the non-volatile memory 1. A FILE control function 6 controls/manages the PKG loading CPU 9 and a PKG loading external by added memory 10 with such constitution.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は伝送装置システムに
おけるCPU搭載パッケージの不揮発性メモリへのデー
タアクセス方法に関する。特に不揮発メモリを使用した
装置においての性能の向上/品質の向上/信頼性の向上
/制御の効率化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data access method for a non-volatile memory of a CPU mounted package in a transmission device system. Particularly, the present invention relates to performance improvement / quality improvement / reliability improvement / control efficiency improvement in a device using a non-volatile memory.

【0002】近年、高速化および多機能化のコンピュー
タシステム内でのデータ管理の要求に伴い、装置停止後
もデータ維持できる不揮発性メモリを搭載する装置が増
加してきている。搭載された不揮発性メモリは、機器の
設定条件や通電時間等のデータを変更または保存するた
め、もしくはバックアップデータ保存を目的として使用
される場合が多い。
In recent years, with the demand for data management in high-speed and multi-functional computer systems, an increasing number of devices are equipped with a non-volatile memory capable of maintaining data even after the device is stopped. The mounted non-volatile memory is often used for changing or storing data such as the setting conditions of the device and the energization time, or for the purpose of storing backup data.

【0003】[0003]

【従来の技術】不揮発性メモリの使用には、従来いくつ
かの機能制約が伴っている。従来のCPU搭載PKGの
接続構成例と処理フローを図8に示す。図において、21
は不揮発性メモリ、22はメモリ、23はCPU、24はCP
U搭載PKG、25はRAMデータ、26はFILE制御機
能を示す。
2. Description of the Related Art The use of non-volatile memories has been accompanied by some functional restrictions. FIG. 8 shows a connection configuration example and a processing flow of a conventional CPU-installed PKG. In the figure, 21
Is non-volatile memory, 22 is memory, 23 is CPU, 24 is CP
U-installed PKG, 25 is RAM data, and 26 is a FILE control function.

【0004】CPU搭載PKG24はデータを記憶するた
めの不揮発性メモリ21と、この不揮発性メモリ上のデー
タにアクセスするCPU23と、前記不揮発性メモリと同
構造/同値のデータを持ち前記CPUから常に読み書き
の可能なRAMデータ25とを有し、CPU23にはFIL
E制御機能26を持ち、依頼元からの依頼受付とデータの
設定制御を行う。
The CPU-equipped PKG 24 has a non-volatile memory 21 for storing data, a CPU 23 for accessing data on the non-volatile memory, and data having the same structure / value as the non-volatile memory, and always reads / writes from the CPU. It has RAM data 25 that can
It has an E control function 26, and accepts requests from requesters and controls data settings.

【0005】処理フローは、(21)依頼元から書込み依頼
を受付ると、不揮発性メモリに書込みを開始し、(22)書
込みタイミングを待つてから、(23)書込み完了か否かを
チェックし、未だ書込み完了でなければ、再び書込みタ
イミングを待つ。書込みタイミング内に書込みが完了す
れば依頼元からの不揮発性メモリへの書込みを完了す
る。
The process flow is as follows: (21) When a write request is received from the request source, writing is started in the non-volatile memory, (22) Wait for the write timing, and (23) Check whether or not the write is completed. If the writing is not completed yet, the writing timing is waited again. When the writing is completed within the writing timing, the writing from the request source to the nonvolatile memory is completed.

【0006】従来の書込/読出の要求シーケンス図を図
9に示す。図は依頼元1からの書込み依頼中に、依頼元
2から読出し依頼があった場合を示す。FILE制御機
能において、不揮発性メモリへの書込み依頼から書込み
確認までの間にタイマーによる時間が設定されるため、
この時間中に他の依頼元2からデータの読出し依頼があ
っても、依頼元1の書込み完了までは読出しが出来ず、
書込み完了後に読出しが可能となる。
FIG. 9 shows a conventional write / read request sequence diagram. The figure shows a case where a request for reading is issued from the request source 2 during a write request from the request source 1. In the FILE control function, the time set by the timer is set between the write request to the nonvolatile memory and the write confirmation.
Even if there is a request to read data from another requester 2 during this time, the data cannot be read until the requester 1 completes writing,
It becomes possible to read after writing is completed.

【0007】図9に示すように、不揮発性メモリはデー
タを書込む際に一定の書込時間が必要なため、書込処理
結果の判定までを含めるとかなりの時間がかかる。更
に、この一定の書込時間中に受け付けた新規の読出しお
よび書込み依頼は、実行中の書込み処理の結果確認が終
わらないと、処理に取り掛かることができない。このた
め、これがソフトへの制約となり、システム応答時間を
遅らせる大きな原因になっている。
As shown in FIG. 9, since a nonvolatile memory requires a certain writing time when writing data, it takes a considerable time to include the determination of the writing processing result. Furthermore, the new read and write requests received during this fixed write time cannot be processed until the result of the write process being executed is confirmed. For this reason, this becomes a constraint on the software and is a major cause of delaying the system response time.

【0008】また、不揮発性メモリには、予め書込回数
に制限が設けられている。最大書込回数に達するとなん
らかの形でこれを通知する機能も多いが、最大書込回数
を超えたメモリはデータ内容の保証度が低くなる。ま
た、この場合には交換手順が必要となり、その際のデー
タ移行が問題点となっている。
Further, the nonvolatile memory has a limit on the number of times of writing in advance. There are many functions that notify this in some form when the maximum write count is reached, but the memory content that exceeds the maximum write count has a low degree of guarantee of data content. Further, in this case, a replacement procedure is required, and data migration at that time becomes a problem.

【0009】[0009]

【発明が解決しようとする課題】上述したとおり不揮発
性メモリには、「書込み時の処理時間が長い。」、「書
込み可能回数が限定されている。」と言う欠点がある。
これらを原因としてアプリケーションソフトが受ける影
響は大きい。
As described above, the non-volatile memory has the drawbacks that "the processing time at the time of writing is long" and "the number of writable times is limited."
The application software is greatly affected by these factors.

【0010】本発明は、不揮発性メモリと揮発性メモリ
(RAM)を組合せた管理により、アプリケーションソ
フトが受ける影響を軽減することを目的とする。
An object of the present invention is to reduce the influence of application software by managing a combination of a non-volatile memory and a volatile memory (RAM).

【0011】[0011]

【課題を解決するための手段】本発明の原理構成図を図
1に示す。図において、1は不揮発性メモリ、2はRA
Mデータ、3は外付けメモリ、4は仮想空間、5はバッ
クアップ用不揮発性メモリ、6はFILE制御機能、7
はCPU、8はメモリ、9はCPU搭載PKG、10はP
KGを示す。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, 1 is a non-volatile memory, 2 is RA
M data, 3 external memory, 4 virtual space, 5 non-volatile memory for backup, 6 FILE control function, 7
Is a CPU, 8 is a memory, 9 is a PKG equipped with a CPU, and 10 is P
Indicates KG.

【0012】不揮発性メモリ1はデータを記憶する為の
E2PROM、CPU7はこの不揮発性メモリ上のデー
タをアクセスする処理部、RAMデータ2は前記不揮発
メモリ1と同構造/同値のデータを持ち、前記CPUか
ら常に読み書きの可能なRAMデータ、外付けメモリ3
は前記不揮発性メモリと同構成で最新データを持ち、前
述のCPU搭載PKG9とは別PKG10上に存在する外
付けメモリを示す。
The non-volatile memory 1 is an E2PROM for storing data, the CPU 7 is a processing unit for accessing the data on the non-volatile memory, and the RAM data 2 has the same structure / value data as the non-volatile memory 1, RAM data that can always be read and written by the CPU, external memory 3
Indicates an external memory having the same configuration as the nonvolatile memory, having the latest data, and existing on the PKG 10 different from the CPU-installed PKG 9 described above.

【0013】仮想空間4は外付けメモリ3を前述のRA
Mデータ2と同一メモリ8上にアドレッシングした仮想
空間、バックアップ用不揮発性メモリ5は前記不揮発性
メモリ1のバックアップ用の複数の不揮発性メモリ(E
2PROM)を示す。これらの構成からなるCPU搭載
PKG9と外付けメモリ3搭載PKG10の制御/管理
は、CPU7のFILE制御機能6により行われる。
In the virtual space 4, the external memory 3 is stored in the RA described above.
The virtual space addressed on the same memory 8 as the M data 2 and the backup non-volatile memory 5 are a plurality of non-volatile memories (E) for backup of the non-volatile memory 1.
2PROM) is shown. Control and management of the CPU-equipped PKG 9 and the external memory 3-equipped PKG 10 having these configurations are performed by the FILE control function 6 of the CPU 7.

【0014】本発明の原理説明図を図2に示す。図は、
図1の原理構成図におけるアプリケーションプログラム
とFILE制御機能と仮想空間と外付けメモリとRAM
データと不揮発性メモリとバックアップ用不揮発性メモ
リ間のシーケンス図を示す。 依頼元からの書込み依頼によりアプリケーションプロ
グラムに書込みが設定されると、FILE制御機能にデ
ータ書込みが行われ、仮想空間を経由して外付けメモリ
にデータ書込みが行われ、FILE制御機能よりデータ
の書込みの結果がアプリケーションプログラムに設定さ
れる。 依頼元からの読出し依頼によりアプリケーションプロ
グラムに読出しが設定されると、FILE制御機能に読
出しが行われ、仮想空間からデータの読出しが行われ、
アプリケーションプログラムにデータの読出し結果が設
定される。 依頼元から次の書込依頼がきてアプリケーションプロ
グラムに書込みが設定されると、前回のと同様にFI
LE制御機能にデータ書込みが行われ、仮想空間を経由
して外付けメモリにデータ書込みが行われ、FILE制
御機能よりデータの書込みの結果がアプリケーションプ
ログラムに設定される。 アプリケーションプログラムのタイマー1により外付
けメモリから不揮発性メモリへの複写が設定されると、
FILE制御機能により仮想空間のデータとRAMデー
タとの比較が行われ、比較結果差分ありの時のみ複写処
理がFILE制御機能により行われ、仮想空間に書込ま
れたデータがRAMデータに書込まれ、RAMデータか
ら不揮発性メモリへデータが書込まれる。 アプリケーションプログラムにおいて優先書込みが設
定されると、FILE制御機能にデータ書込みが行わ
れ、仮想空間を経由して外付けメモリへデータの書込み
が行われる。FILE制御機能で仮想空間に書込まれた
データとRAMデータに書込まれているデータとを比較
し、差分が有る時のみFILE制御機能が複写処理を行
い、仮想空間に書込み、仮想空間からRAMデータに書
込み、不揮発性メモリに書込みが行われる。 アプリケーションプログラムのタイマー2により不揮
発性メモリからパックアップ用不揮発性メモリへの複写
が設定されると、FILE制御機能により複写処理が行
われ、不揮発性メモリに書込みが行われ、不揮発性メモ
リよりバックアップ用不揮発性メモリに書込みが行われ
る。
FIG. 2 shows the principle of the present invention. The figure shows
The application program, the FILE control function, the virtual space, the external memory, and the RAM in the principle configuration diagram of FIG.
The sequence diagram between data, a non-volatile memory, and a non-volatile memory for backup is shown. When writing is set in the application program by the writing request from the request source, data is written to the FILE control function, data is written to the external memory via the virtual space, and data is written from the FILE control function. Is set in the application program. When read is set in the application program by the read request from the request source, the FILE control function is read, and data is read from the virtual space.
The data read result is set in the application program. When the next write request comes from the request source and write is set in the application program, the FI
Data is written to the LE control function, data is written to the external memory via the virtual space, and the result of data writing is set in the application program by the FILE control function. When copying from the external memory to the non-volatile memory is set by the timer 1 of the application program,
The FILE control function compares the data in the virtual space with the RAM data. Only when there is a difference in the comparison result, the copy processing is performed by the FILE control function, and the data written in the virtual space is written in the RAM data. , RAM data is written to the non-volatile memory. When priority write is set in the application program, data is written to the FILE control function and data is written to the external memory via the virtual space. The data written in the virtual space by the FILE control function is compared with the data written in the RAM data, and only when there is a difference, the FILE control function performs the copy process, writes in the virtual space, and writes the data from the virtual space to the RAM. The data is written and the non-volatile memory is written. When copying from the non-volatile memory to the backup non-volatile memory is set by the timer 2 of the application program, the copy processing is performed by the FILE control function, the non-volatile memory is written, and the non-volatile memory is used for backup. Writing is performed in the nonvolatile memory.

【0015】[0015]

【発明の実施の形態】本発明のFILE制御機能の処理
フローチャートを図3に示す。図において、 (1) アプリケーションプログラムから入力要因が有るか
否かをチェックする。入力要因には時刻条件・書込み回
数条件等があり、検出元はFILE制御内部、もしくは
OS・タイマ制御等により検出する。 (2) 入力要因が書込み受領であれば、即時処理か否かを
チェックし、 (3) 即時処理でなければタイマー設定中か否かをチェッ
クし、 (4) タイマー設定中でなければ、タイマー設定を行い処
理を終了する。 (5) タイマー設定中であれば、優先タイマー処理を行
う。 (6) 前記優先タイマー処理により、タイムアウトを検出
したか否かをチェックし、タイムアウトを検出しなけれ
ば処理を終了する。 (7) タイムアウトを検出すれば不揮発性メモリに書込み
を行う。前記(1) 項の入力要因チェックにおいても入力
要因が無ければ不揮発性メモリに書込みを行う。前記
(2) 項の即時処理のチェックにおいても即時処理であれ
ば不揮発性メモリに書込みを行う。 (8) 不揮発性メモリへの書込みタイミング待ちを行い、 (9) 書込み完了か否かをチェックし、書込み完了まで前
記(8) の書込みタイミング待ちを繰り返す。 (10)書込み完了であれば、書込回数が規定値と等しいか
否かをチェックし、規定値でなければ処理を終了する。 (11)規定値であれば、規定値に達した旨の外部通知処理
を行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 3 shows a processing flowchart of the FILE control function of the present invention. In the figure, (1) Check whether there is an input factor from the application program. Input factors include a time condition and a write count condition, and the detection source is detected inside the FILE control or by the OS / timer control. (2) If the input factor is write acceptance, check whether it is immediate processing, (3) Check if it is not immediate processing and whether timer setting is in progress, or (4) if timer setting is not in progress, set timer The settings are made and the process ends. (5) If the timer is being set, priority timer processing is performed. (6) By the priority timer processing, it is checked whether or not a time-out is detected, and if the time-out is not detected, the processing ends. (7) If a time-out is detected, write to the non-volatile memory. If there is no input factor in the input factor check in the item (1), write to the non-volatile memory. Said
Even in the immediate processing check in item (2), if it is an immediate processing, the data is written to the non-volatile memory. (8) Wait for the write timing to the non-volatile memory, (9) Check if the write is completed, and repeat the write timing wait in (8) until the write is completed. (10) If the writing is completed, it is checked whether the number of times of writing is equal to the specified value, and if not, the processing is ended. (11) If the value is the specified value, an external notification process indicating that the specified value has been reached is performed.

【0016】前記処理フローの実施例のうち(7),(8),
(9) 項の処理は従来の処理フローと関連し、その他の処
理フローは今回の発明に関連する。以下本発明の実施例
について述べる。 . 本発明の複合要求シーケンス図を図4に示す。図は
不揮発性メモリへの書込み処理中に新規の書込/読出依
頼を受け付けた場合で、従来ならば書込み結果の確認が
終了するまで新規依頼は待ち状態になるところ、本実施
例では外付けメモリへの書込み後の即時応答.外付けメ
モリから不揮発性メモリ間の複写処理を独立して行うF
ILE制御機能により、新規依頼の同時処理が可能とな
る。
Among the embodiments of the processing flow, (7), (8),
The processing of item (9) is related to the conventional processing flow, and the other processing flows are related to the present invention. Examples of the present invention will be described below. The composite request sequence diagram of the present invention is shown in FIG. The figure shows a case where a new write / read request is received during the writing process to the non-volatile memory. In the conventional case, the new request waits until the confirmation of the write result is completed. Immediate response after writing to memory. F that independently performs copy processing between external memory and non-volatile memory
The ILE control function enables simultaneous processing of new requests.

【0017】図4の複合要求シーケンス図において、依
頼元1からの書込依頼をFILE制御機能の依頼受付で
受付けると、RAMデータにデータを書込み、RAMデ
ータより外付けメモリにデータを書込む。FILE制御
機能はデータ書込み結果を依頼元1に通知する。
In the composite request sequence diagram of FIG. 4, when the write request from the request source 1 is accepted by the request acceptance of the FILE control function, the data is written in the RAM data and the data is written in the external memory from the RAM data. The FILE control function notifies the requester 1 of the data writing result.

【0018】依頼元2からタイマーにより処理依頼がF
ILE制御機能に行われると、設定制御部において、外
付けメモリに書込まれたデータと不揮発性メモリに書込
まれているデータとを比較し、データに差分が有った時
のみ外付けメモリにデータ複写し、差分の有ったデータ
を不揮発性メモリに設定し、書込み確認のためのタイマ
ーが設定される。
A request for processing is sent from the requester 2 by a timer to F
When the ILE control function is executed, the setting control unit compares the data written in the external memory with the data written in the non-volatile memory, and only when there is a difference in the data, the external memory The data is copied to, the data having the difference is set in the non-volatile memory, and the timer for confirming the writing is set.

【0019】依頼元2よりデータの読出依頼がFILE
制御機能に行われると、書込みデータのタイマー設定中
でも、外付けメモリからデータの読出しが行われ、FI
LE制御機能の読出データが依頼元2に読出される。し
たがって、依頼元1で不揮発メモリに書込み中のデータ
を依頼元2では外付けメモリから読出すことが可能であ
る。 .本発明の書込みシーケンス図を図5に示す。図はデ
ータ書込依頼を受けた場合、不揮発性メモリではなく、
仮想空間に書込みを行うことにより処理速度の向上が図
れ、依頼元へのレスポンスを早くでき時間的制約を解消
できる。また、仮想空間から不揮発性メモリへの複写
は、タイマー等を使用して定期的に行う。このため同周
期内で同一要因での書込要求があった場合、書込回数を
削減できる。
A request for reading data from the request source 2 is FILE.
When the control function is executed, the data is read from the external memory even while the write data timer is set, and the FI
The read data of the LE control function is read by the request source 2. Therefore, the requester 1 can read the data being written in the nonvolatile memory from the requester 2 from the external memory. . A write sequence diagram of the present invention is shown in FIG. The figure shows that when a data write request is received, it is not a non-volatile memory
By writing in the virtual space, the processing speed can be improved, the response to the requester can be made faster, and the time constraint can be eliminated. Further, copying from the virtual space to the non-volatile memory is periodically performed using a timer or the like. Therefore, when there is a write request due to the same factor within the same period, the number of times of writing can be reduced.

【0020】図5の書込みシーケンス図において、依頼
元からFILE制御機能にデータ書込依頼があると、R
AMデータを経由して外付けメモリにデータ書込みが行
われ、処理結果が依頼元に通知される。続いて、依頼元
からFILE制御機能に同様のデータ書込依頼がある
と、RAMデータを経由して外付けメモリにデータ書込
みが行われ、処理結果が依頼元に通知される。
In the write sequence diagram of FIG. 5, when the request source requests the FILE control function to write data, R
Data is written to the external memory via the AM data, and the processing result is notified to the requester. Then, when the requester makes a similar data write request to the FILE control function, the data is written to the external memory via the RAM data and the processing result is notified to the requester.

【0021】タイマーによりFILE制御機能に処理依
頼が行われると、外付けメモリに書込まれたデータと不
揮発性メモリに書込まれているデータとの比較が行わ
れ、双方のデータに差分が有る時のみFILE制御機能
より外付けメモリにデータ複写が行われ、複写されたデ
ータが不揮発メモリに設定される。したがって、外付け
メモリでの障害に対応する為に別エリアにデータのバッ
クアップを行う。 .本発明の優先書込みシーケンス図を図6に示す。前
記図5の書込シーケンスにおいて仮想空間から不揮発性
メモリへの複写は、タイマー通知のみによると述べた
が、例外が2つある。そのうち1つが書込依頼の優先レ
ベルによるものである。FILE制御タスクが受信する
データ書込依頼に優先レベルを付加することにより、前
述のタイマーによるタイミングを待つことなく即時の複
写を行うことができる。
When the FILE control function is requested to process by the timer, the data written in the external memory and the data written in the non-volatile memory are compared, and there is a difference between both data. Only at this time, data is copied to the external memory by the FILE control function, and the copied data is set in the non-volatile memory. Therefore, the data is backed up in another area to cope with the failure in the external memory. . A priority write sequence diagram of the present invention is shown in FIG. In the writing sequence of FIG. 5 described above, copying from the virtual space to the non-volatile memory is based on only timer notification, but there are two exceptions. One of them depends on the priority level of the write request. By adding the priority level to the data write request received by the FILE control task, immediate copying can be performed without waiting for the timing of the above-mentioned timer.

【0022】図6の優先書込みシーケンス図において、
依頼元からFILE制御機能にデータ書込依頼が行われ
ると、RAMデータを経由して外付けメモリにデータ書
込みが行われ、処理結果が依頼元に返送される。優先レ
ベルの処理依頼がFILE制御機能に行われると、外付
けメモリに書込まれたデータと不揮発性メモリのデータ
とが比較され、差分有りの時のみ外付けメモリにデータ
複写が行われ、不揮発性メモリに複写データが設定され
る。
In the priority write sequence diagram of FIG.
When the request source issues a data write request to the FILE control function, the data is written to the external memory via the RAM data, and the processing result is returned to the request source. When a priority level processing request is sent to the FILE control function, the data written in the external memory and the data in the non-volatile memory are compared, and when there is a difference, the data is copied to the external memory and the non-volatile Data is set in the local memory.

【0023】図6のパターンと同様に、システム障害や
保守作業により装置が外部制御不可の状態に陥った場
合、前述のタイマーによるタイミングを待たないで即時
の複写を行う。これにより不揮発性メモリへ最新データ
が反映される。 .本発明のバックアップ用不揮発性メモリの接続構成
図を図7に示す。不揮発性メモリのデータを定期的に、
不揮発性メモリとは別のバックアップ用の不揮発性メモ
リに退避を行う。パックアップ用の不揮発性メモリは不
揮発性メモリに比べて、書込み回数を削減できチップ故
障等への対応も可能となる。同様に、データや履歴を指
定項目単位でバックアップ用の不揮発性メモリに退避す
ることでユーザニースに適応した部分的な二重化が可能
となる。
Similar to the pattern of FIG. 6, when the apparatus falls into a state where external control is impossible due to a system failure or maintenance work, immediate copying is performed without waiting for the timing of the above-mentioned timer. As a result, the latest data is reflected in the non-volatile memory. . FIG. 7 shows a connection configuration diagram of the backup non-volatile memory of the present invention. The data in the non-volatile memory is regularly
The backup is saved in a non-volatile memory for backup different from the non-volatile memory. The non-volatile memory for pack-up can reduce the number of times of writing as compared with the non-volatile memory and can cope with a chip failure or the like. Similarly, by saving the data and history in units of designated items to a non-volatile memory for backup, partial duplication adapted to the user's needs becomes possible.

【0024】また、これらのパックアップ用の不揮発性
メモリから不揮発性メモリへの複写を可能とすることに
より、装置のメンテナンス性/データの保存性が向上す
る。 .次に、最大書込回数を超えた不揮発性メモリへのデ
ータ書込みは、不揮発性メモリの劣化等により内容が保
証されず、最大書込回数を超えた保守者への認識では装
置としての安全性/品質に影響が考えられる。このよう
な減少を回避する為に、保守者等に対して最大書込回数
達成前に事前通知を行う。
Further, by making it possible to copy these non-volatile memories for pack-up to the non-volatile memory, the maintainability of the apparatus / storability of data is improved. . Next, when data is written to the non-volatile memory that exceeds the maximum number of writes, the contents are not guaranteed due to deterioration of the non-volatile memory, etc. / Quality may be affected. In order to avoid such a decrease, advance notice is given to the maintenance person or the like before the maximum number of times of writing is achieved.

【0025】以上〜に述べたように、システム立上
げ時に不揮発性メモリ内のデータをRAMデータ/仮想
空間に読出す結果、読出しや書込みの処理依頼を行う場
合には、本来ならば不揮発性メモリへのアクセスが必要
なところを仮想空間へのアクセス処理に置き換える事が
可能となる。この方法だと、不揮発性メモリと外付けメ
モリ間にデータのズレが生じるが、この管理はFILE
制御機能が一手に担うため、アプリケーションソフトは
充分な性能向上が図れる。
As described above, as a result of reading the data in the non-volatile memory to the RAM data / virtual space when the system is started up, when the read or write processing request is made, the non-volatile memory is originally used. It is possible to replace a place that requires access to the virtual space with access processing to the virtual space. This method causes a data shift between the non-volatile memory and the external memory.
Since the control function is solely responsible, the performance of the application software can be improved sufficiently.

【0026】FILE制御機能は、前述のデータのズレ
を解消する為に仮想空間から不揮発性メモリへデータの
複写を行う。これは不揮発性メモリへの書込み回数削減
の為にタイマー通知毎のタイミングで行う。しかし、例
外が2パターン認められる。1つ目は書込みデータが重
要項目の場合や緊急度の高い処理中など、データ書込依
頼の優先レベルを高くしている場合は、これを判定して
即時複写を実行する。2つ目はシステム障害及び保守作
業等で外部制御不可状態が発生時に、実際の複写処理を
実行する。
The FILE control function copies data from the virtual space to the non-volatile memory in order to eliminate the above-mentioned data shift. This is performed at each timing of each timer notification in order to reduce the number of writings to the nonvolatile memory. However, there are two exceptions. First, if the priority level of the data write request is high, such as when the write data is an important item or during processing with a high degree of urgency, this is determined and immediate copying is executed. The second is to execute the actual copying process when an external control disabled state occurs due to a system failure or maintenance work.

【0027】また、複写処理実行時には、RAMデータ
と仮想空間を比較することで、不揮発性メモリと最新デ
ータの差分チェックを行う。これにより差分が検出され
た場合のみ、実際の複写処理を実行する。差分チェック
はデータを区分化して行うことも可能とし、この場合の
複写処理は差分を検出した区分のみに行う。
When the copying process is executed, the difference between the non-volatile memory and the latest data is checked by comparing the RAM data with the virtual space. As a result, the actual copying process is executed only when the difference is detected. The difference check can be performed by dividing the data, and the copying process in this case is performed only on the division in which the difference is detected.

【0028】データの複写に際して、外付けメモリと不
揮発性メモリに差分がある時点での外付けメモリの障害
に対応するために、外付けメモリのデータを随時別エリ
アへ退避しておく機能も可能とする。さらに、不揮発性
メモリ内のデータ保存性を高めるために、不揮発性メモ
リを全体/部分的にバックアップ用不揮発性メモリに退
避しておく。このバックアップ用不揮発性メモリから不
揮発性メモリへのデータ複写機能の提供により、装置の
運用形態変更時や特定環境構築時に効率化が図れ、メン
テナンス性が向上する。
When copying data, a function to save the data in the external memory to another area at any time is also possible in order to cope with a failure of the external memory when there is a difference between the external memory and the non-volatile memory. And Furthermore, in order to improve the data storage property in the non-volatile memory, the non-volatile memory is saved wholly / partially in the backup non-volatile memory. By providing the data copying function from the backup non-volatile memory to the non-volatile memory, efficiency can be improved when the operation mode of the device is changed or a specific environment is constructed, and maintainability is improved.

【0029】[0029]

【発明の効果】以上説明したように、本発明によればデ
ータの階層管理によるシステム応答の高速化、アプリケ
ーションソフトへの制約事項の軽減による品質の向上、
保守時における信頼性の向上、通信回数制御による信頼
性の向上に寄与するところが大きい。
As described above, according to the present invention, the system response is speeded up by hierarchical management of data, the quality is improved by reducing restrictions on application software,
It greatly contributes to the improvement of reliability during maintenance and the improvement of reliability by controlling the number of times of communication.

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

【図1】 本発明の原理構成図FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】 本発明の原理説明図FIG. 2 is a diagram illustrating the principle of the present invention.

【図3】 本発明のFILE制御機能の処理フローチャ
ート
FIG. 3 is a processing flowchart of a FILE control function of the present invention.

【図4】 本発明の複合要求シーケンス図FIG. 4 is a composite request sequence diagram of the present invention.

【図5】 本発明の書込みシーケンス図FIG. 5 is a writing sequence diagram of the present invention.

【図6】 本発明の優先書込みシーケンス図FIG. 6 is a priority write sequence diagram of the present invention.

【図7】 本発明のバックアップ用不揮発性メモリの接
続構成図
FIG. 7 is a connection configuration diagram of a backup non-volatile memory of the present invention.

【図8】 従来のCPU搭載PKGの接続構成例と処理
フロー
FIG. 8 is a connection configuration example and processing flow of a conventional PKG equipped with a CPU.

【図9】 従来の書込/読出の要求シーケンス図FIG. 9 is a conventional write / read request sequence diagram.

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

1,21 不揮発性メモリ 2,25 RAMデータ 3 外付けメモリ 4 仮想空間 5 バックアップ用不揮発性メモリ 6,26 FILE制御機能 7,23 CPU 8,22 メモリ 9,24 CPU搭載PKG 10 PKG 1,21 Non-volatile memory 2,25 RAM data 3 External memory 4 Virtual space 5 Non-volatile memory for backup 6,26 FILE control function 7,23 CPU 8,22 Memory 9,24 CPU mounted PKG 10 PKG

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 伝送装置システムにおけるCPU搭載パ
ッケージの不揮発性メモリへのデータアクセスにおい
て、 データを記憶する為の不揮発性メモリと、この不揮発性
メモリ上のデータをアクセスするCPUと、前記不揮発
メモリと同構造/同値のデータを持ち、前記CPUから
常に読み書きの可能なRAMデータとを有するCPU搭
載PKGと、前記不揮発性メモリと同構成で最新データ
を持ち、前述のCPU搭載PKGとは別PKG上に存在
する外付けメモリと、該外付けメモリを前述のRAMデ
ータと同一メモリ上にアドレッシングした仮想空間と、
前記不揮発性メモリのバックアップ用の複数の不揮発性
メモリとを備え、これらの構成からなるCPU搭載PK
Gと外付けメモリ搭載PKGの制御/管理は、CPU搭
載のFILE制御機能により行うようにし、 不揮発性メモリへの書込み処理中に新規の書込/読出依
頼を受け付けた場合、外付けメモリへの書込み後の即時
応答.外付けメモリから不揮発性メモリ間の複写処理を
独立して行うFILE制御機能により、新規依頼の同時
処理を行うことを特徴とする不揮発性メモリへのデータ
アクセス方法。
1. In a data access to a non-volatile memory of a CPU-equipped package in a transmission device system, a non-volatile memory for storing data, a CPU for accessing data on the non-volatile memory, and the non-volatile memory. A PKG equipped with a CPU having data of the same structure / equal value and RAM data that can always be read and written from the CPU, and the latest data with the same configuration as the nonvolatile memory, which is different from the above-mentioned PKG equipped with the CPU. An external memory existing in the above, and a virtual space obtained by addressing the external memory on the same memory as the RAM data described above,
A CPU-installed PK having a plurality of non-volatile memories for backup of the non-volatile memory and having these configurations
Control and management of G and PKG with external memory are performed by the FILE control function of CPU, and when a new write / read request is accepted during the write processing to the non-volatile memory, Immediate response after writing. A data access method to a non-volatile memory, characterized in that a new request is simultaneously processed by a FILE control function for independently performing a copying process between the external memory and the non-volatile memory.
【請求項2】 不揮発性メモリへのデータ書込依頼を受
けた場合、不揮発性メモリではなく、仮想空間に書込み
を行うことにより処理速度の向上を図り、仮想空間から
不揮発性メモリへの複写は、タイマー等を使用して行う
ことを特徴とする請求項1記載の不揮発性メモリへのデ
ータアクセス方法。
2. When receiving a data write request to the non-volatile memory, the processing speed is improved by writing to the virtual space instead of the non-volatile memory, and copying from the virtual space to the non-volatile memory is performed. 2. The method for accessing data to the non-volatile memory according to claim 1, wherein the data access is performed by using a timer.
【請求項3】 不揮発性メモリへのデータ書込依頼を受
けた場合、仮想空間から不揮発性メモリへの複写は、F
ILE制御タスクが受信するデータ書込依頼に優先レベ
ルを付加することにより、タイマーによるタイミングを
待つことなく即時の複写を行うことを特徴とする請求項
2記載の不揮発性メモリへのデータアクセス方法。
3. When receiving a data write request to the non-volatile memory, copying from the virtual space to the non-volatile memory is performed by F.
3. The method for accessing data to a non-volatile memory according to claim 2, wherein the priority level is added to the data write request received by the ILE control task so that immediate copying is performed without waiting for the timing by the timer.
【請求項4】 不揮発性メモリへのデータ書込依頼を受
けた場合、不揮発性メモリのデータを定期的に、不揮発
性メモリとは別のバックアップ用の不揮発性メモリに退
避を行い、データや履歴を指定項目単位でバックアップ
用の不揮発性メモリに退避することを特徴とする請求項
1記載の不揮発性メモリへのデータアクセス方法。
4. When receiving a data write request to the non-volatile memory, the data in the non-volatile memory is periodically saved to a non-volatile memory for backup, which is different from the non-volatile memory, and the data and the history are stored. The data access method to the non-volatile memory according to claim 1, wherein the data is saved in the non-volatile memory for backup in units of designated items.
【請求項5】 不揮発性メモリへのデータ書込依頼を受
けた場合、不揮発性メモリへのデータ書込みが最大書込
回数を超える時、保守者等に対して最大書込回数達成前
に事前通知を行うことを特徴とする請求項1記載の不揮
発性メモリへのデータアクセス方法。
5. When receiving a data writing request to the non-volatile memory, when the data writing to the non-volatile memory exceeds the maximum number of times of writing, a maintenance person or the like is notified in advance before the maximum number of times of writing is reached. The method for accessing data to the non-volatile memory according to claim 1, further comprising:
JP28497195A 1995-11-01 1995-11-01 Data access method to non-volatile memory Pending JPH09128302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28497195A JPH09128302A (en) 1995-11-01 1995-11-01 Data access method to non-volatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28497195A JPH09128302A (en) 1995-11-01 1995-11-01 Data access method to non-volatile memory

Publications (1)

Publication Number Publication Date
JPH09128302A true JPH09128302A (en) 1997-05-16

Family

ID=17685458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28497195A Pending JPH09128302A (en) 1995-11-01 1995-11-01 Data access method to non-volatile memory

Country Status (1)

Country Link
JP (1) JPH09128302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774541B2 (en) 2005-12-27 2010-08-10 Samsung Electronics Co., Ltd. Storage apparatus using non-volatile memory as cache and method of managing the same
JP2011040051A (en) * 2009-06-30 2011-02-24 Numonyx Bv Nonvolatile memory to store memory remap information
JP2011233009A (en) * 2010-04-28 2011-11-17 Hitachi Ltd Storage device and data hierarchy management method in storage device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774541B2 (en) 2005-12-27 2010-08-10 Samsung Electronics Co., Ltd. Storage apparatus using non-volatile memory as cache and method of managing the same
JP2011040051A (en) * 2009-06-30 2011-02-24 Numonyx Bv Nonvolatile memory to store memory remap information
JP2011233009A (en) * 2010-04-28 2011-11-17 Hitachi Ltd Storage device and data hierarchy management method in storage device

Similar Documents

Publication Publication Date Title
US7111134B2 (en) Subsystem and subsystem processing method
US8074035B1 (en) System and method for using multivolume snapshots for online data backup
US5546534A (en) Method of operating a computer system
US7171516B2 (en) Increasing through-put of a storage controller by autonomically adjusting host delay
US8108597B2 (en) Storage control method and system for performing backup and/or restoration
JP5353887B2 (en) Disk array device control unit, data transfer device, and power recovery processing method
US8433888B2 (en) Network boot system
KR102538679B1 (en) Memory system and operating method of memory system
JP2002132554A (en) Access method for database
JPH09128302A (en) Data access method to non-volatile memory
EP0351109A2 (en) Reducing resources in a high reliability data storage subsystem
JP2000293391A (en) Method and device for large-scale memory system management
JP2002258971A (en) Method for restarting computer system
JPH1063525A (en) Information processor, and information processing system and control method therefor
JP3882461B2 (en) Storage device system and backup acquisition method thereof
JPH07319637A (en) Controller and control method for disk device
JP3425355B2 (en) Multiple write storage
JP3342597B2 (en) Exclusive control method for disk subsystem and shared resources
JP3772003B2 (en) Memory management system and data management method
JP2005267498A (en) Method and system for installing software
JP2004005113A (en) Virtual computer system operated on a plurality of actual computers, and control method thereof
JPH08137753A (en) Disk cache device
JPH0833855B2 (en) Hotspot data management processing method
WO1995019599A9 (en) File backup system
JPH05225055A (en) Information processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011113