JPS5994154A - Automatic switching system of file - Google Patents

Automatic switching system of file

Info

Publication number
JPS5994154A
JPS5994154A JP57202136A JP20213682A JPS5994154A JP S5994154 A JPS5994154 A JP S5994154A JP 57202136 A JP57202136 A JP 57202136A JP 20213682 A JP20213682 A JP 20213682A JP S5994154 A JPS5994154 A JP S5994154A
Authority
JP
Japan
Prior art keywords
file
switching
normal operation
date
information
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
JP57202136A
Other languages
Japanese (ja)
Inventor
Toshikazu Kenjiyuu
劍重 寿和
Yotaro Hasegawa
長谷川 洋太郎
Akiji Yamamoto
山本 章治
Yasuhide Hiroi
広比 康秀
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.)
JAPANESE NATIONAL RAILWAYS<JNR>
Hitachi Ltd
Japan National Railways
Nippon Kokuyu Tetsudo
Original Assignee
JAPANESE NATIONAL RAILWAYS<JNR>
Hitachi Ltd
Japan National Railways
Nippon Kokuyu Tetsudo
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 JAPANESE NATIONAL RAILWAYS<JNR>, Hitachi Ltd, Japan National Railways, Nippon Kokuyu Tetsudo filed Critical JAPANESE NATIONAL RAILWAYS<JNR>
Priority to JP57202136A priority Critical patent/JPS5994154A/en
Publication of JPS5994154A publication Critical patent/JPS5994154A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9017Indexing; Data structures therefor; Storage structures using directory or table look-up

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To reduce the burden of the operator and switch accurately a file, by generating a file preliminarily and switching it automatically as a file, which is used in he normal operation, at a data change time. CONSTITUTION:If contents of a current file subject F11 are changed, a new file is generated in a stand-by file subject F12 preliminarily, and the use start data is written to perform the preparing work for file switching. Thereafter, the date changing processing is performed periodically every day at the date change time in the normal operation, and a file switching program out of a series of programs is started. When a date change day comes, stand-by file information of a logical file LF is retrieved to find the file LF12 where the use start date is a designated date, and information of the file LF12 and information of the corresponding current file LF11 are exchanged. Then, when the normal operation of the designated date is started, the new file F12 generated in the stand-by file is used automatically.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は情報処理システムに採用されるもので、特に外
部記憶装置に格納されるファイルな対象としたファイル
の自動切替方式である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention is applied to an information processing system, and is an automatic file switching method particularly for files stored in an external storage device.

〔従来技術〕[Prior art]

従来、例えば交通システムを例にとれば運賃ファイルで
は運賃改正によって一度に大量のデータを変更する場合
には、運賃改正を行う前日に通常運転を中止した時間帯
でオペレータの介入によるファイル切替えを行っていた
ので、ファイル切替え時間の限定によって、オペレータ
が束縛されるような欠点があった。
Conventionally, for example, in a transportation system, when a large amount of data in a fare file is changed at once due to a fare revision, an operator intervenes to switch the file during a time period when normal operation is suspended the day before the fare revision. However, the disadvantage was that the operator was constrained by the limited file switching time.

〔発明の目的〕[Purpose of the invention]

本発明の目的はファイルの変更が生じた場合に予め7フ
イルを作成しておき18変り時に通常運転の使用ファイ
ルとして切替えることを可能にしたファイルの自動切替
方式を提供することにある。
It is an object of the present invention to provide an automatic file switching system that makes it possible to create 7 files in advance when a file is changed and to switch them as files to be used in normal operation when the file changes to 18.

〔発明の概要〕[Summary of the invention]

通常運転で使用している複数のファイルをそれぞれ1つ
の論理ファイルとして管理し、この論理ファイルの予備
エントリへファイルの使用開始日付とファイル実体アド
レス情報を登録することによって1通常運転の日変り時
には予備エントリから使用開始日付に達したものを選択
し、当該エントリで示されるファイル実体を現用ファイ
ルとして使用開始できるようにファイルの自動切替を行
う。
By managing multiple files used in normal operation as one logical file, and registering the file usage start date and file actual address information in the backup entry of this logical file, a backup can be made when the day of normal operation changes. An entry whose usage start date has been reached is selected from among the entries, and automatic file switching is performed so that the file entity indicated by the entry can be started as the current file.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。第1
図はこの発明における論理ファイルと外部記憶装置上の
ファイルの実体を示すもので、論理ファイルであるファ
イル管理情報LPには通常運転で使用中のファイルを定
義した現用部エントリLF++とLF ++の示j現用
ファイル実体Fuおよび予備ファイルを定義した予備部
エントリLP+2とLP11の示す予備ファイル実体F
12が構成されている(図では説明の便宜上、  +つ
のファイルについてのみ設けて示″t)。この現用ファ
イル実体Fatの内容の変更が生じた場合は予め予備フ
ァイル実体F12に新ファイルの作成を行うと共に、予
備ファイルとして定義しであるLP11に使用開始日付
(図の例では11月1日)を書込み、ファイル切替えの
ための準備作業を行ってお(。この後、通常運転では日
変り時刻に、日々定時的に日変り処理が行われ、その一
連のプログラムの1つであるファイルの切替プログラム
が起動され、日変り日付の11月1日が来ると、論理フ
ァイルLPの予備ファイル情報を検索し、使用開始日が
11月1日のLP11を見つけ出し、対応する現用)了
イルLF ++の情報とを入替える。この論理ファイル
上の情報入替えによって、ファイルの切替が成立し、続
いて11月1日の通常運転が開始されると予備ファイル
に作成されていた新ファイルFI2が自動的に使用され
る。以上のプログラムのフローチャートを第2図に示す
An embodiment of the present invention will be described below with reference to FIG. 1st
The figure shows the entity of the logical file and the file on the external storage device in this invention.The file management information LP, which is the logical file, shows the active part entries LF++ and LF++ that define the files in use during normal operation. j The spare file entity F indicated by the current file entity Fu and the spare part entries LP+2 and LP11 that define the spare file
12 (for convenience of explanation, only + files are shown in the figure). If the contents of this current file entity Fat change, a new file must be created in advance in the spare file entity F12. At the same time, write the start date of use (November 1st in the example in the figure) to LP11, which is defined as a spare file, and prepare for file switching (After this, in normal operation, the daily change time Then, daily change processing is performed regularly every day, a file switching program that is one of the series of programs is started, and when the daily change date of November 1st arrives, the backup file information of the logical file LP is Search, find LP11 whose use start date is November 1st, and replace the information with the corresponding current file LF++.By replacing the information on the logical file, file switching is established, and then 11 When normal operation starts on the first day of the month, the new file FI2 created in the reserve file is automatically used.A flowchart of the above program is shown in FIG.

このようなファイルの自動切替方式により、新ファイル
の使用開始日が来る以前であれば。
Due to this automatic file switching method, the new file can be used before the new file is ready for use.

運転状態を問わず、如何なる場合にもファイル切替のた
めの準備作業を遂行することが可能となり、オペレータ
への時間的な束縛が回避される。
Preparatory work for file switching can be performed in any case, regardless of the operating state, and time constraints on the operator can be avoided.

なお上記した実施例においては通常運転で使用されるフ
ァイルを対象として切替える場合について説明したが、
これに限らず一般のプログラム・ライブラリーファイル
に本発明方式を適用することにより、システムとして運
用するほとんどのファイルについて適確なファイル切替
を行うことが可能となる。
Note that in the above embodiment, the case where switching is performed for files used in normal operation is explained.
By applying the method of the present invention not only to this but also to general program/library files, it becomes possible to perform appropriate file switching for most files operated as a system.

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

本発明によれば、情報処理システムの中でも、日常性わ
れるファイルの切替の準備作業を予め行っておくことが
可能となり、更に複数の予備用エントリを用意すること
により、データの事前登録およびファイルの自動切替が
複数回行うことができるようになり、オペレータへの負
担が軽減されると共に、適確なファイルの切替えを行う
ファイルの自動切替方式が提供できる。
According to the present invention, even in an information processing system, it is possible to prepare in advance for file switching, which is a common occurrence, and by preparing a plurality of backup entries, data can be registered in advance and files can be changed in advance. Automatic switching can now be performed multiple times, reducing the burden on the operator, and providing an automatic file switching method that performs appropriate file switching.

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

第1図はファイルの自動切替の一実施例である。第2図
はファイル切替制御のフローチャートである。 LF・・・ファイル管理情報 LP++・・・現用部エントリ LP11・・・予備部エントリ F++とF 12・・・外部記憶装置上のファイル実体 第1圓 第20 285−
FIG. 1 shows an example of automatic file switching. FIG. 2 is a flowchart of file switching control. LF...File management information LP++...Active part entry LP11...Spare part entries F++ and F12...File entity 1st circle 20th 285- on external storage device

Claims (1)

【特許請求の範囲】[Claims] 11つの論理ファイルに対し、現用部エントリと複数の
子備部エントリから構成するファイル管理情報を持ち、
通常運転で使用する論理ファイルと外部記憶装置に持つ
ファイル実体との対応を取り、ファイルを切替える場合
には、予めファイル管理情報の該当予備エントリに切替
希望開始日付と、予備ファイル実体と対応するアドレス
情報を書込んでおくことにより1通常運転の8変り処理
時には予備エントリより切替開始日付に達したものを選
択し、当該エントリで示されるファイル実体を通常運転
用ファイルとして使用開始することを特徴とするファイ
ルの自動切替方式。
It has file management information consisting of an active part entry and multiple child part entries for 11 logical files,
When switching files by establishing a correspondence between the logical files used in normal operation and the file entities stored in the external storage device, enter the desired switching start date and the address corresponding to the backup file entity in the corresponding backup entry in the file management information in advance. By writing the information, during normal operation 8 change processing, the one that has reached the switching start date is selected from the preliminary entries, and the file entity indicated by the entry is started to be used as the normal operation file. Automatic file switching method.
JP57202136A 1982-11-19 1982-11-19 Automatic switching system of file Pending JPS5994154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57202136A JPS5994154A (en) 1982-11-19 1982-11-19 Automatic switching system of file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57202136A JPS5994154A (en) 1982-11-19 1982-11-19 Automatic switching system of file

Publications (1)

Publication Number Publication Date
JPS5994154A true JPS5994154A (en) 1984-05-30

Family

ID=16452551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57202136A Pending JPS5994154A (en) 1982-11-19 1982-11-19 Automatic switching system of file

Country Status (1)

Country Link
JP (1) JPS5994154A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182822A (en) * 1986-02-06 1987-08-11 Fujitsu Ltd Automatic operation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54150944A (en) * 1978-05-19 1979-11-27 Casio Comput Co Ltd Preset register system
JPS5690351A (en) * 1979-12-24 1981-07-22 Toshiba Corp Computer system
JPS5965385A (en) * 1982-10-06 1984-04-13 株式会社東芝 Generation management for fare data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54150944A (en) * 1978-05-19 1979-11-27 Casio Comput Co Ltd Preset register system
JPS5690351A (en) * 1979-12-24 1981-07-22 Toshiba Corp Computer system
JPS5965385A (en) * 1982-10-06 1984-04-13 株式会社東芝 Generation management for fare data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62182822A (en) * 1986-02-06 1987-08-11 Fujitsu Ltd Automatic operation system

Similar Documents

Publication Publication Date Title
CA1277038C (en) Return to the previous revision point in document editing
CN104881418A (en) Method and device for quickly reclaiming rollback space in MySQL
CN112860697A (en) Distributed database table structure changing method, device and system
CN112783868A (en) Distributed database table structure gray scale upgrading method, device and system
US20230153207A1 (en) Device And Method For Merging Backup Policies
JPS5994154A (en) Automatic switching system of file
JPH02227750A (en) File back-up system
JPH0916521A (en) Parallel batch processing system
JPS63200257A (en) Program loading system for computer
JPH0385650A (en) Disk volume restoration system
JPH05298173A (en) Distributed file synchronizing and updating system
JPS6349817B2 (en)
JPH05346867A (en) Processor for restarting data transfer
JPH02211557A (en) Data base saving system
JPH0259816A (en) System parameter control system
JP2771986B2 (en) Magnetic tape unit
JPH02250166A (en) Information processor
JPS6254347A (en) Processing system for fault of file
JPH0318944A (en) File control method
JPH0512089A (en) Backup automatic control system of distributed data base file
JPH04250539A (en) Journal acquisition system
JPS6398057A (en) Residing system for transaction managing information
JPH01281531A (en) Program loading system
JPH0675705A (en) Block assignment control method for auxiliary storage
JPH02253447A (en) File recalling system