JPH0235536A - Update processing system for on-line file index part - Google Patents

Update processing system for on-line file index part

Info

Publication number
JPH0235536A
JPH0235536A JP63186164A JP18616488A JPH0235536A JP H0235536 A JPH0235536 A JP H0235536A JP 63186164 A JP63186164 A JP 63186164A JP 18616488 A JP18616488 A JP 18616488A JP H0235536 A JPH0235536 A JP H0235536A
Authority
JP
Japan
Prior art keywords
information
index
program
index file
processing
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
JP63186164A
Other languages
Japanese (ja)
Inventor
Kenji Fujikawa
藤川 健二
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP63186164A priority Critical patent/JPH0235536A/en
Publication of JPH0235536A publication Critical patent/JPH0235536A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To carry on processing without interrupting nor stopping a system for updating or switching by updating information with a program which is different from that in operation and dedicated to the updating and incorporating the updated information in a stand-by index file. CONSTITUTION:Index information is updated with the index information updating program different from the program in operation as index information update processing. Then the information which is updated is incorporated in the stand-by index file with an index file incorporating program in operation as a new index information incorporating processing. Since this processing is performed with the program different from the program in operation for handling files and data, no direct influence is exerted. Then, the program in operation switches an index file in operation and a stand-by file as index file switching processing. The switching is performed only by replacing index file control information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はオンライン処理システムにおいて、処理データ
の管理情報が固定的なファイルの索引部を更新する場合
に利用する。また、本発明は索引部に限らず業務処理に
おけるテーブルファイルの更新についても利用できる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is used in an online processing system to update an index section of a file in which management information of processing data is fixed. Further, the present invention can be used not only for the index section but also for updating table files in business processing.

〔概要〕〔overview〕

本発明はデータ管理情報(索引部)が固定的であるオン
ラインシステムにおけるオンラインファイル索引部更新
処理方式において、 データ管理情報を独立した索引ファイルとして構成し、
情報の更新を更新専用プログラムにより行い、更新後の
情報は予備の索引ファイルに組込み、稼動中索引ファイ
ル情報と予備索引ファイル情報を入れ替えることにより
、 更新または切り換えのためにシステムやその処理を中断
あるいは停止することな(、データの継続に複雑な手順
や時間を要しないようにしたものである。
The present invention is an online file index update processing method in an online system where data management information (index part) is fixed, in which the data management information is configured as an independent index file,
By updating information using an update-only program, incorporating the updated information into a backup index file, and replacing the active index file information with the backup index file information, it is possible to avoid interrupting or interrupting the system or its processing for updating or switching. It is designed so that it does not require complicated procedures or time to continue data without stopping.

〔従来の技術〕[Conventional technology]

従来、この種の更新処理は一時的にシステムあるいはそ
の処理を停止して再度新しい管理情報を作成または編成
し直すことにより対処していた。
Conventionally, this type of update processing has been handled by temporarily stopping the system or its processing and creating or reorganizing new management information again.

また、データの継続については複雑な手順や時間を要し
ていた。
Furthermore, continuation of data required complicated procedures and time.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の方式は、データの管理情報に大幅な変更
が発生した場合、その更新にあたっては稼動中のシステ
ムあるいはその処理を一時的に中断させる必要があり、
またデータの継続を保つために複雑な手順や時間を要す
るなどの致命的な欠点を有している。
In the conventional method described above, when a major change occurs in data management information, it is necessary to temporarily interrupt the running system or its processing in order to update it.
It also has fatal drawbacks, such as requiring complicated procedures and time to maintain data continuity.

本発明はこのような欠点を除去するもので、更新または
切り換えのためにシステムあるいはその処理の中断や停
止をすることなく、データの継続に複雑な手順や時間を
要しない方式を提供することを目的とする。
The present invention aims to eliminate these drawbacks and provide a method that does not require complicated procedures or time to continue data without interrupting or stopping the system or its processing for updating or switching. purpose.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、データを管理するための情報が固定的である
オンライン処理システムにおけるオンラインファイル索
引情更新処理方式において、データを管理するための情
報の追加または削除による大幅な変更が発生したときに
更新処理を稼動中のプログラムとは別のプログラムで実
行し、更新後の情報は稼動中の索引ファイルとは別の索
引ファイルに格納し、その後に索引ファイルの入れ替え
を行うことを特徴とする。
The present invention provides an online file index information update processing method for an online processing system in which information for managing data is fixed, and is updated when a significant change due to addition or deletion of information for managing data occurs. It is characterized in that processing is executed by a program different from the running program, updated information is stored in an index file different from the running index file, and then the index files are replaced.

〔作用〕[Effect]

データの管理情報(索引部)を個々に独立した索引ファ
イルとして構成し、情報の更新は稼動中のプログラムと
は別の更新専用プログラムにより行う。更新後の情報は
稼動中の索引ファイルとは別の予備の索引ファイルに組
み込み、その後索弓ファイル管理情報内の稼動中索引フ
ァイル情報と予備索引ファイル情報とを入れ替え、索引
ファイルを切り換える。
Data management information (index section) is configured as individual index files, and information is updated by an update-only program that is separate from the running program. The updated information is incorporated into a backup index file separate from the active index file, and then the active index file information and the backup index file information in the index file management information are replaced to switch the index file.

これにより、更新または切換えのためにシステムの中断
や停止をすることなく、またデータの継続に複雑な手順
や時間を要せずに処理を実行することができる。
As a result, processing can be executed without interrupting or stopping the system for updating or switching, and without requiring complicated procedures or time to continue data.

〔実施例〕〔Example〕

次に本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

第1図は本発明実施例のファイルの構成を示す図である
FIG. 1 is a diagram showing the structure of a file according to an embodiment of the present invention.

本発明実施例の処理方式は第1図に示すように、データ
管理情報(索引部)を個々に独立した索弓ファイルとし
て構成し、情報の更新は稼動中のプログラムとは別のプ
ログラム(更新専用プログラム)により行う。更新後の
情報は稼動中の索引ファイルとは別の予備の索引ファイ
ルに組み込み、その後索引ファイル管理情報内の稼動中
索引ファイル情報と予備索引ファイル情報を入れ替える
ことにより索引ファイルを切り換える。
As shown in FIG. 1, the processing method of the embodiment of the present invention is to configure data management information (index section) as individual index files, and to update the information using a program (update section) that is separate from the running program. This is done using a special program). The updated information is incorporated into a backup index file separate from the active index file, and then the index file is switched by replacing the active index file information and the backup index file information in the index file management information.

第2図は本発明実施例の更新処理手順を示したもので、
索引情報更新処理(ステップ1)、新索引情報組込処理
(ステップ2)および索引ファイル切換処理(ステップ
3)の順に処理が実行される。
FIG. 2 shows the update processing procedure according to the embodiment of the present invention.
The processes are executed in the order of index information update process (step 1), new index information incorporation process (step 2), and index file switching process (step 3).

まず、索引情報更新処理(ステップ1)とじて第3図に
示すように稼動中のプログラムとは別の索引情報更新プ
ログラムにより索引情報の更新(追加、削除など)を行
う。
First, as shown in FIG. 3, in index information update processing (step 1), index information is updated (added, deleted, etc.) using an index information update program that is different from the currently running program.

次に、新索引情報組込処理(ステップ2)として第4図
に示すように稼動中のシステムの索引ファイル組込プロ
グラムによって更新後の情報を予備の索引ファイルに組
み込む。この処理は稼動中のファイルやデータを扱うプ
ログラムとは別のプログラムで行うため、直接の影響を
与えることはない。
Next, as a new index information incorporation process (step 2), as shown in FIG. 4, the updated information is incorporated into a preliminary index file by the index file incorporation program of the system in operation. This processing is performed in a separate program from the program that handles the files and data that is currently running, so it does not have any direct impact.

続いて索引ファイル切換処理(ステップ3)として、第
5図に示すように稼動中のプログラムにおいて稼動中の
索引ファイルと予備の索引ファイルを切り換える。これ
は索引ファイル管理情報内の双方の情報を入れ替えるだ
けであるため瞬時に行うことができる。切り換え前と切
り換え後の各ファイルの関係は第6図のようになり索引
情報の更新が完了する。
Subsequently, as an index file switching process (step 3), as shown in FIG. 5, the currently running index file and the spare index file are switched in the currently running program. This can be done instantaneously because it only requires replacing both pieces of information in the index file management information. The relationship between the files before and after switching is as shown in FIG. 6, and the updating of the index information is completed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、処理デー夕の管理
情報が固定的な場合に、大幅な変更に対してその更新情
報lに関係なく更新または切り換えのための中断や停止
を必要とせず、データの継続に複雑な手順や時間を要し
ない効果がある。また、情報の更新に関しては稼動中の
プログラムとは別に実行するためにその更新方法が複雑
であっても考察しやすい利点がある。
As explained above, according to the present invention, when the management information of processing data is fixed, there is no need to interrupt or stop for updating or switching regardless of the update information l in response to a significant change. This has the effect of not requiring complicated procedures or time to continue data. Furthermore, since updating of information is executed separately from the running program, there is an advantage that even if the updating method is complicated, it is easy to consider.

のファイルの関係を示す図。A diagram showing the relationship between files.

1・・・索引情報更新処理、2・・・新索引情報組込処
理、3・・・索引ファイル切換処理。
1... Index information update processing, 2... New index information incorporation processing, 3... Index file switching processing.

Claims (1)

【特許請求の範囲】 1、データを管理するための情報が固定的であるオンラ
イン処理システムにおけるオンラインファイル索引部更
新処理方式において、 データを管理するための情報の追加または削除による大
幅な変更が発生したときに更新処理を稼動中のプログラ
ムとは別のプログラムで実行し、更新後の情報は稼動中
の索引ファイルとは別の索引ファイルに格納し、その後
に索引ファイルの入れ替えを行う ことを特徴とするオンラインファイル索引部更新処理方
式。
[Claims] 1. In an online file index update processing method in an online processing system in which information for managing data is fixed, significant changes occur due to addition or deletion of information for managing data. When this happens, the update process is executed by a program different from the running program, the updated information is stored in an index file different from the running index file, and the index file is then replaced. Online file index update processing method.
JP63186164A 1988-07-25 1988-07-25 Update processing system for on-line file index part Pending JPH0235536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63186164A JPH0235536A (en) 1988-07-25 1988-07-25 Update processing system for on-line file index part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63186164A JPH0235536A (en) 1988-07-25 1988-07-25 Update processing system for on-line file index part

Publications (1)

Publication Number Publication Date
JPH0235536A true JPH0235536A (en) 1990-02-06

Family

ID=16183509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63186164A Pending JPH0235536A (en) 1988-07-25 1988-07-25 Update processing system for on-line file index part

Country Status (1)

Country Link
JP (1) JPH0235536A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535555A (en) * 1991-07-26 1993-02-12 Nec Yamagata Ltd Master updating device
US6880884B2 (en) 2002-09-27 2005-04-19 Fuji Jukogyo Kabushiki Kaisha Vehicle sunroof structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535555A (en) * 1991-07-26 1993-02-12 Nec Yamagata Ltd Master updating device
US6880884B2 (en) 2002-09-27 2005-04-19 Fuji Jukogyo Kabushiki Kaisha Vehicle sunroof structure

Similar Documents

Publication Publication Date Title
JPH0235536A (en) Update processing system for on-line file index part
JPH06222916A (en) On-line real-time processor
JPH0385650A (en) Disk volume restoration system
JP2683300B2 (en) Data save processing method
JPH0338690A (en) Data processor
JPH0322152A (en) File restoring system
JPH01152541A (en) Virtual machine system
JPH0679283B2 (en) Interruption processing control method
JPS6286426A (en) Data base backup system
JPH02272640A (en) Task switching system
JPH03147147A (en) Dump processing system
JPH0564372B2 (en)
JPS62144255A (en) Data file saving processor
JPS6022781B2 (en) Initiated duplicate data control method
JPS6398066A (en) Switching system for duplex system data base operation
JPH02171841A (en) Program running system
JPH04365141A (en) Program re-execution system
JPH06187217A (en) System for synchronization between data base and normal file
JPH0236455A (en) Batch processing start control system
JPH02136943A (en) Disk file updating system
JPH02101562A (en) Interruption and restart control system
JPS6222149A (en) Process changeover system
JPS6238915A (en) Power source controller
JPH03237529A (en) Memory maintenance system dependent upon online of information processor
JPS58225454A (en) Execution processing system