JP3490912B2 - Backup data management device and backup data management method - Google Patents

Backup data management device and backup data management method

Info

Publication number
JP3490912B2
JP3490912B2 JP30581598A JP30581598A JP3490912B2 JP 3490912 B2 JP3490912 B2 JP 3490912B2 JP 30581598 A JP30581598 A JP 30581598A JP 30581598 A JP30581598 A JP 30581598A JP 3490912 B2 JP3490912 B2 JP 3490912B2
Authority
JP
Japan
Prior art keywords
backup
month
data
program
recording
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.)
Expired - Lifetime
Application number
JP30581598A
Other languages
Japanese (ja)
Other versions
JP2000132381A (en
Inventor
幸治 平林
祐一 高橋
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP30581598A priority Critical patent/JP3490912B2/en
Publication of JP2000132381A publication Critical patent/JP2000132381A/en
Application granted granted Critical
Publication of JP3490912B2 publication Critical patent/JP3490912B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データを日付の情
報と共に記憶する必要がある装置に係り、そのデータを
バックアップする際には、プログラムのバージョンアッ
プに備えて、データとともに運用中のプログラムも一緒
にバックアップする装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus that needs to store data together with date information. When backing up the data, the program currently in operation is also stored together with the data in preparation for version upgrade of the program. Regarding the device to back up together.

【0002】[0002]

【従来の技術】作成したデータをその日付情報と共に記
憶しておく装置では、個々のデータのレコードに日付情
報を持たせたり、あるいは、日付情報を有するファイル
にその日付のデータをまとめて記憶することで管理して
いる。例えば、医療機関において診療費用を算定するた
めの事務処理装置では、患者に施した診療行為のデータ
を入力し、その診療の日付と共に記憶するようにしてい
る。そして、翌月初に、前月1ヶ月分の診療データに基
づく診療報酬を算定してレセプトを発行する。医療機関
はそれを保険機関に提出して保険金を請求するのであ
る。その為、このような装置では、月毎にデータをひと
まとめにして記憶している。また、後日のデータの修正
や追加、削除に備えて、複数月分を内部に記憶し、管理
している。
2. Description of the Related Art In a device for storing created data together with its date information, each data record has date information, or a file having date information stores the date data together. It is managed by that. For example, in an office processing apparatus for calculating a medical treatment cost in a medical institution, data of medical treatment performed on a patient is input and stored together with the date of the medical treatment. Then, at the beginning of the next month, medical fees are calculated based on the medical data for one month of the previous month and a receipt is issued. The medical institution submits it to the insurance agency and claims the insurance money. Therefore, in such a device, the data is collectively stored for each month. In addition, multiple months' worth are internally stored and managed in preparation for correction, addition, or deletion of data at a later date.

【0003】ところで、内蔵のファイル装置のクラッシ
ュに備え、データを外部の記憶媒体にコピーして保存し
ておくことが従来から行われている。いわゆるバックア
ップである。バックアップは通常、オペレータの判断に
よって手動で実施され、電気的にも物理的にも装置と分
離可能な記憶媒体、例えば光磁気ディスク(以下、MO
ディスクと呼ぶ)にデータを記録する。データが重要で
あればある程、また発生頻度が高い程バックアップを行
うことが求められる。
By the way, it has been conventionally practiced to copy and save data to an external storage medium in preparation for a crash of a built-in file device. This is so-called backup. The backup is usually performed manually at the operator's discretion, and is a storage medium that can be electrically or physically separated from the device, such as a magneto-optical disk (hereinafter referred to as MO disk).
Data is recorded on a disc). The more important the data is and the more frequently it occurs, the more backup is required.

【0004】一方、そのデータを作成、編集するプログ
ラムは時にバージョンアップされ、新版に更新されるこ
とがある。バージョンアップの理由はバグの修正や機能
向上等の内的な理由による場合もあれば、遵守法規の改
正や仕様変更等の外的要因による場合もあり、通常は不
定期に実施される。プログラムのバージョンが異なれ
ば、同じデータを投入したときにも結果が違ってくるも
のと考えたほうがよい。従って、記憶している旧いデー
タまたはバックアップ媒体に記録してあるデータを再度
取扱う必要が生じた場合には、そのデータを作成したと
きのバージョンのプログラムを使用することが望まし
い。
On the other hand, a program for creating and editing the data is sometimes upgraded and updated to a new version. The reason for version upgrade may be due to internal reasons such as bug fixes and functional improvements, or due to external factors such as revision of compliance laws and changes in specifications. It is better to think that different versions of the program will give different results when the same data is input. Therefore, when it becomes necessary to handle the stored old data or the data recorded in the backup medium again, it is preferable to use the version of the program when the data was created.

【0005】そこで、バックアップの際には、そのとき
運用中のプログラムもデータと一緒にバックアップ媒体
に記録することが行われる。そして、そのバックアップ
媒体に記録されたデータを修正する必要が生じた場合に
は、データと共に記録されているプログラムも読み出し
て、運用中のプログラムではなく読み出したプログラム
を実行して、データを修正するのである。
Therefore, at the time of backup, the program currently in operation at that time is also recorded on the backup medium together with the data. When it becomes necessary to modify the data recorded on the backup medium, the program recorded together with the data is also read, and the read program is executed instead of the operating program to correct the data. Of.

【0006】[0006]

【発明が解決しようとする課題】バックアップを取る時
には、内部に記憶しているすべてのデータをバックアッ
プ媒体に記録するのが普通である。そして、そのとき運
用されていたプログラム、即ちその時点で最新のバージ
ョンのプログラムを一緒にバックアップ媒体に記録す
る。しかしながら、データとともにバックアップ媒体に
記録してあるプログラムが、そのデータに対して必ずし
も正しい組み合わせであるとは限らない。例えば、最大
12ヶ月分のデータを内部に記憶する装置があるとし
て、過去12ヶ月の間にプログラムがバージョンアップ
されていたような場合、バージョンアップが行われた時
よりも前のデータに対しては、現行バージョンのプログ
ラムは正しい適用とは言うことができない。
When a backup is taken, it is usual to record all the data stored inside in a backup medium. Then, the program being operated at that time, that is, the latest version of the program at that time is recorded together with the backup medium. However, the program recorded on the backup medium together with the data is not always the correct combination for the data. For example, if there is a device that internally stores data for up to 12 months, and the program has been upgraded in the past 12 months, the data before the version upgrade will be performed Cannot say that the current version of the program is a correct application.

【0007】旧バージョンとある程度の互換性を持たせ
てプログラムのバージョンアップが行われるとしても、
バージョンアップは不定期に何度も行われる可能性があ
るので、バックアップ媒体に記録した全期間のデータに
わたって、そのプログラムが有効であるとは必ずしも期
待することはできないのである。そして、従来は、それ
ぞれのバックアップ媒体について、そのプログラムを有
効に適用できる期間をオペレータが判断するしかなかっ
た。
Even if the program is upgraded with some compatibility with the old version,
Since the version upgrade may be performed irregularly many times, it cannot always be expected that the program is effective over the entire period of data recorded on the backup medium. In the past, the operator had no choice but to determine the period during which the program can be effectively applied to each backup medium.

【0008】[0008]

【課題を解決するための手段】本発明は、データを日付
とともに記憶する手段と、そのデータを編集するプログ
ラムを記憶する手段と、そのプログラムを更新する手段
と、更新履歴を記録する手段と、前記データとプログラ
ムとをバックアップ手段に記録する手段と、そのバック
アップ履歴を記録する手段と、前記バックアップ手段に
記録されているデータに対して同じくそのバックアップ
手段に記録されているプログラムを適用できる有効期間
を前記更新履歴を参照して決定する手段と、前記有効期
間を記録する手段とを設けて、上記課題を解決するもの
である。
The present invention comprises means for storing data together with date, means for storing a program for editing the data, means for updating the program, and means for recording an update history. A means for recording the data and the program in the backup means, a means for recording the backup history, and an effective period during which the program recorded in the backup means can be applied to the data recorded in the backup means. The above problem is solved by providing means for deciding with reference to the update history and means for recording the valid period.

【0009】[0009]

【実施例】図1は、医療機関において診療点数を算定す
る事務処理装置であり、10は処理装置、20はファイ
ル装置である。処理装置10には診療データ等をオペレ
ータが入力するためのキーボード18と、データや計算
結果等を表示するための表示装置17と、及びファイル
装置20のデータをバックアップするための光磁気ディ
スク装置19が接続されている。また、処理装置10の
内部には、キーボード18から入力された診療データに
基づいて診療点数を算定し、結果を表示装置17に表示
すると共にプリンタ(図示せず)によりレセプト等を印
刷する事務処理部11と、ファイル装置20に記憶して
いるデータを光磁気ディスク装置19を使ってMOディ
スク9にコピーするバックアップ処理部12と、事務処
理部11を構成するプログラムを新しいバージョンに更
新するインストーラ16が設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an office processing apparatus for calculating the number of medical care points in a medical institution, 10 is a processing apparatus, and 20 is a file apparatus. The processing device 10 includes a keyboard 18 for an operator to input medical care data, a display device 17 for displaying data and calculation results, and a magneto-optical disk device 19 for backing up data in the file device 20. Are connected. Further, inside the processing device 10, a medical treatment score is calculated based on medical treatment data input from the keyboard 18, the result is displayed on the display device 17, and a receipt or the like is printed by a printer (not shown). Section 11, a backup processing section 12 for copying the data stored in the file apparatus 20 to the MO disk 9 using the magneto-optical disk apparatus 19, and an installer 16 for updating the program forming the office processing section 11 to a new version. Is provided.

【0010】インストーラ16は、フロッピーディスク
やCD−ROM、あるいは通信ネットワーク(いずれも
図示せず)等を介して新しいバージョンのプログラムが
供給されると、指示に応じて現行のバージョンのプログ
ラムと置き換えて、バージョンアップを実施するもので
ある。また、バックアップ処理部12は、ファイル装置
20からバックアップ媒体にデータをコピーするデータ
コピー部13と、バックアップ内容を管理テーブル40
に記録するテーブル更新部14と、バックアップしたデ
ータの有効期間を記録する有効期間設定部15とを有す
る。尚、バックアップ媒体として実施例ではMOディス
クを用いているが、これに限るものではなく、例えばC
D−Rや磁気テープ等、追記型でも書換型でもどのよう
な記録媒体でも使用できる。
When a new version of the program is supplied via a floppy disk, a CD-ROM, a communication network (neither is shown), etc., the installer 16 replaces the current version of the program according to the instruction. , Version upgrade is implemented. The backup processing unit 12 also includes a data copy unit 13 that copies data from the file device 20 to a backup medium, and a backup content management table 40.
The table updating unit 14 that records the valid period of the backed up data and the valid period setting unit 15 that records the valid period of the backed up data. Although the MO disk is used as the backup medium in the embodiment, the present invention is not limited to this, and for example, C
A recording medium such as a D-R or a magnetic tape, which is a write-once type or a rewritable type, can be used.

【0011】ファイル装置20は、実施例ではハードデ
ィスク装置で構成しており、そこには、当月分の診療デ
ータを記憶している当月データ21と、過去の診療デー
タを月単位に複数月分記憶する過去データ22と、イン
ストーラ16がプログラムをインストールした履歴を記
録した履歴テーブル30と、バックアップ処理部12が
バックアップをした履歴を記録した管理テーブル40と
が、ファイルの形で記憶されている。そして、診療デー
タは、処置や投薬等の1つ1つの診療行為について、そ
れが実施された年月日を示す日付の情報と共にファイル
に記憶されている。実施例では、当月を含めて最近12
ヶ月の診療データが記憶できるようになっている。
In the embodiment, the file device 20 is composed of a hard disk device, in which the current month data 21 in which the medical care data for the current month is stored and past medical care data for a plurality of months are stored. The past data 22 to be stored, a history table 30 in which the history of the program installed by the installer 16 is recorded, and a management table 40 in which the history of the backup by the backup processing unit 12 is recorded are stored in the form of a file. Then, the medical care data is stored in the file together with the information of the date indicating the date when the medical care action such as treatment and medication is performed. In the example, the most recent 12 including the current month
Monthly medical data can be stored.

【0012】図2は、履歴テーブル30と管理テーブル
40それぞれのレコード構成を示している。同図(a)
に示すように、履歴テーブル30は、インストールした
プログラムのバージョン番号31と、インストール日付
32と、更に、適用期間33とを記録するものである。
これらのデータはインストールの度に、即ちプログラム
のバージョンアップの度に、インストーラ16が追加し
て記録していくものである。但し、適用期間33につい
ては、後述するように、インストーラ16ではなくバッ
クアップ処理部12が記録する。
FIG. 2 shows the record structure of each of the history table 30 and the management table 40. The same figure (a)
As shown in, the history table 30 records the version number 31 of the installed program, the installation date 32, and the applicable period 33.
These data are additionally recorded by the installer 16 each time installation is performed, that is, each time the program version is upgraded. However, the application period 33 is recorded by the backup processing unit 12 instead of the installer 16, as described later.

【0013】尚、適用期間とは、そのバージョンのプロ
グラムを使用してもよい、あるいは使用すべき年月を表
している。実施例では、月の初日ではなく途中でバージ
ョンアップが行われたような場合でも、その月の末日に
有効であった、即ち運用されていたプログラムの適用期
間に、当該月は含まれるものとしている。また、インス
トール日付32は、新しいバージョンのプログラムをそ
の事務処理装置に導入した日、つまりインストール作業
を実施した日を指すものである。旧プログラムが改修さ
れて新しいバージョンが作られた日ではない。従って、
同じバージョンのプログラムをインストールしても、そ
れを実施した日が異なれば履歴テーブル30のレコード
内容も違ってくるものである。
The term "applicable period" indicates the year or month in which the version of the program may be used or should be used. In the example, even when the version upgrade was performed on the way instead of the first day of the month, the month was included in the application period of the program that was effective on the last day of the month, that is, operated. There is. The installation date 32 indicates the date when the new version of the program is installed in the office processing apparatus, that is, the date when the installation work is performed. It is not the day when the old program was modified and a new version was created. Therefore,
Even if the same version of the program is installed, the record contents of the history table 30 will be different if the date of execution is different.

【0014】一方、同図(b)は管理テーブル40のレ
コード構成を示す。ファイル装置20に当月データ21
及び過去データ22として記憶されている診療データ
を、バックアップ処理部12がMOディスク9にバック
アップしたときに記録するものである。バックアップ処
理部12は当月データ21及び過去データ22の全診療
データをMOディスク9にコピーし、更に、事務処理部
11を構成する運用中のプログラムをMOディスク9に
コピーする。そして、MOディスク9にバックアップし
た内容を表す情報として、プログラムのバージョン番号
42と、診療データの保有期間43と、バックアップし
た日付を示す記録日付44と、そのMOディスク9を管
理、識別するためのユニークな管理番号45とを管理テ
ーブル40に追加して記録する。また、更に、このレコ
ード内容と同じ管理データを当該MOディスク9にも記
録する。このように、実施例では、1回の作業で1つの
バックアップ媒体を作製し、それぞれに管理番号を付与
して管理するようにしている。そして、同じ媒体には追
加してデータをバックアップすることはないものであ
る。
On the other hand, FIG. 3B shows the record structure of the management table 40. This month's data 21 in the file device 20
Also, the medical care data stored as the past data 22 is recorded when the backup processing unit 12 backs up the MO disk 9. The backup processing unit 12 copies all the medical care data of the current month data 21 and the past data 22 to the MO disk 9, and further copies the operating programs constituting the office processing unit 11 to the MO disk 9. Then, as information indicating the contents backed up on the MO disc 9, a version number 42 of the program, a medical data retention period 43, a recording date 44 indicating the date of backup, and a MO disc 9 for managing and identifying the same. The unique management number 45 is added to the management table 40 and recorded. Further, the same management data as the contents of this record is also recorded on the MO disk 9. As described above, in the embodiment, one backup medium is produced by one operation, and a management number is assigned to each backup medium for management. In addition, data is not backed up on the same medium.

【0015】ところで、データのバックアップ時には、
バックアップ処理部12はレコード先頭の有効期間41
は記録していない。有効期間とは、そのMOディスク9
に保有する最大12ヶ月の診療データに対して、一緒に
記録したプログラムが適用できる年月を表している。こ
れは、後述するように、マスターバックアップディスク
とも呼ぶべき保存版のMOディスク9作製時に、テーブ
ル更新部14が記録するものである。
By the way, when backing up data,
The backup processing unit 12 uses the valid period 41 at the beginning of the record.
Is not recorded. The term of validity means the MO disk 9
It shows the year and month that the program recorded together can be applied to the maximum 12 months of medical care data stored in. As will be described later, this is recorded by the table updating unit 14 at the time of manufacturing the preserved MO disk 9 which should also be called a master backup disk.

【0016】尚、事務処理部11を構成するプログラム
はプログラムファイルとしてファイル装置20に記憶さ
れている(図示せず)。バックアップ処理部12はファ
イル装置20からそのプログラムファイルを読み出して
MOディスク9にコピーし、また、バージョン番号を判
別することができるものである。
The program forming the office processing unit 11 is stored in the file device 20 as a program file (not shown). The backup processing unit 12 can read the program file from the file device 20, copy it to the MO disk 9, and determine the version number.

【0017】次に実施例の動作を説明する。先ず、プロ
グラムのインストールについて図3を参照して説明す
る。インストーラ16は、指示に応じてFDやCD−R
OM等の記録媒体からプログラムを読み出し、それをフ
ァイル装置20に現在記憶されているプログラムファイ
ルに上書きすることで、新バージョンのプログラムに更
新する(ステップS31)。そして、導入したプログラ
ムのバージョン番号を履歴テーブル30に記録し(同S
32)、現在の日付を同じく履歴テーブル30のインス
トール日付32に記録する(同S33)。
Next, the operation of the embodiment will be described. First, the installation of the program will be described with reference to FIG. The installer 16 is FD or CD-R according to the instruction.
The program is read from the recording medium such as the OM and the program file currently stored in the file device 20 is overwritten to update the program to the new version (step S31). Then, the version number of the introduced program is recorded in the history table 30 (see the same S
32), the current date is also recorded in the installation date 32 of the history table 30 (at step S33).

【0018】このようにして記録した履歴テーブル30
の例を図6に示す。同テーブルのインストール日付32
より、本装置は1998年1月4日に運用を開始し、最
初に導入されたプログラムのバージョン番号31は1.
50であることが分かる。その後、3月20日にバージ
ョン1.60にバージョンアップされ、現在は4月22
日に導入されたバージョン1.70が最新のプログラム
・バージョンであることが分かる。尚、適用期間33は
インストーラ16が記録することはない。これについて
は後述する。
The history table 30 recorded in this way
An example of is shown in FIG. Installation date of the table 32
Therefore, this device started operation on January 4, 1998, and the version number 31 of the program first introduced is 1.
It turns out that it is 50. After that, it was upgraded to version 1.60 on March 20, and now it is April 22.
It can be seen that the version 1.70 introduced on the day is the latest program version. The application period 33 is not recorded by the installer 16. This will be described later.

【0019】次に、日常のバックアップ業務について図
4を参照して説明する。実施例装置では、月初に前月1
ヶ月分の診療データに基づくレセプトを発行するので、
データを月単位に記憶している。その為、月末の事務処
理が終了して1ヶ月分のデータが完成した後、多くは翌
月初に、バックアップ業務を実施することを想定してい
る。
Next, the daily backup work will be described with reference to FIG. In the example apparatus, the first month of the previous month 1
Since we will issue a receipt based on the medical data for months,
Data is stored on a monthly basis. Therefore, it is assumed that most of the backup work will be carried out at the beginning of the next month after the end of the month-end paperwork and the completion of the data for one month.

【0020】そこで、オペレータの指示に応じて、先
ず、バックアップ処理部12のデータコピー部13が、
ファイル装置20に記憶されている過去データ22を月
の旧い順にMOディスク9にコピーする(ステップS4
1)。次に、当月データ21をMOディスク9にコピー
し(同S42)、更に、プログラムファイルをMOディ
スク9にコピーして(同S43)、ファイル装置20に
現在記憶されている全診療データ、実施例では最大12
ヶ月分と、プログラムとをMOディスク9にコピーす
る。そして、それを受けてテーブル更新部14が、コピ
ーした運用中プログラムのバージョン番号と、今回MO
ディスク9に記録した診療データが何年何月から何年何
月までかを示す保有期間と、現在の日付と、そのMOデ
ィスク9に与える固有の管理番号とを、管理テーブル4
0及びMOディスク9の両方に記録するものである(S
44乃至S47)。
Therefore, in response to an instruction from the operator, first, the data copy section 13 of the backup processing section 12
The past data 22 stored in the file device 20 is copied to the MO disk 9 in order of oldest month (step S4).
1). Next, the current month's data 21 is copied to the MO disk 9 (at step S42), and the program file is copied to the MO disk 9 (at step S43). Then up to 12
The months and the program are copied to the MO disk 9. Then, in response to this, the table updating unit 14 displays the version number of the copied operating program and the MO
The management table 4 shows the holding period indicating the years and months to which the medical care data recorded on the disk 9 is, the current date, and the unique management number given to the MO disk 9.
0 and the MO disk 9 are both recorded (S
44 to S47).

【0021】図8は、バックアップ業務を起動した際に
バックアップ処理部12が表示する画面表示例である。
これは、バックアップをしようとする当日の日付、即ち
記録日付が「平成10年2月1日」の例である。従っ
て、図6の履歴テーブル30より、その時点のプログラ
ムのバージョンは「1.50」、そして、保有期間とし
ては、装置導入日の「平成10年1月4日」から「平成
10年2月1日」当日までの足掛け2ヶ月が表示されて
いる。また、MOディスク9の管理番号として「00
1」が付与されたことが分かる。そこで、画面左下の表
示に従ってキーボード18のファンクションキーを押下
すると、それに応じて、バックアップ処理部12が画面
に表示した内容のデータとプログラムとをMOディスク
9にコピーし、且つ、管理データを管理テーブル40に
記録するのである。
FIG. 8 is an example of a screen display displayed by the backup processing unit 12 when the backup job is started.
This is an example in which the date on which the backup is made, that is, the recording date is "February 1, 1998". Therefore, from the history table 30 of FIG. 6, the version of the program at that time is “1.50”, and the holding period is from “January 4, 1998” to “February 1998” of the device introduction date. "1 day" Two months have been displayed until the day. The management number of the MO disk 9 is "00.
It can be seen that "1" is added. Then, when the function key of the keyboard 18 is pressed according to the display on the lower left of the screen, the data and program of the contents displayed on the screen by the backup processing unit 12 are copied to the MO disk 9 and the management data is stored in the management table. Record at 40.

【0022】そして、実施例では、管理テーブル40の
内容を画面に表示させることができる。図9に管理テー
ブル40の記録情報を表示装置17の画面に表示した例
を示す。この例では、過去に1度バックアップが行われ
たことが示され、そのMOディスク9の管理番号が00
1であり、そこに記録されている内容としてプログラム
のバージョンが1.50、保有期間が平成10年1月か
ら2月、記録日付が平成10年2月1日であることが分
かる。但し、有効期間41についてはまだ設定されてい
ない。尚、この例では、2月1日にバックアップを実施
したので、2月分の診療データ、即ち当月データが1日
分であるがMOディスク9にバックアップされている。
それで保有期間43は平成10年1月から2月の2ヶ月
間となっているのである。
In the embodiment, the contents of the management table 40 can be displayed on the screen. FIG. 9 shows an example in which the record information of the management table 40 is displayed on the screen of the display device 17. In this example, it is shown that the backup was performed once in the past, and the management number of the MO disk 9 is 00.
It can be seen that the program version is 1.50, the retention period is from January to February 1998, and the recording date is February 1, 1998 as the content recorded therein. However, the valid period 41 is not set yet. In this example, since the backup was performed on February 1, the medical data for February, that is, the current month's data is for one day, but is backed up on the MO disk 9.
Therefore, the holding period 43 is two months from January 1998 to February 1998.

【0023】そこで、このMOディスク9の有効期間を
設定する場合は、画面左下の管理設定の表示に従ってキ
ーボード18のファンクションキーを押下する。バック
アップ処理部12はこの指示に応じて、図7に示すフロ
ーに従って動作する。即ち、先ずは履歴テーブル30の
適用期間33を設定しておいて、次にMOディスク9の
有効期間を設定、記録するのである。
Therefore, when setting the valid period of the MO disk 9, the function key of the keyboard 18 is pressed according to the display of the management setting at the lower left of the screen. In response to this instruction, the backup processing unit 12 operates according to the flow shown in FIG. That is, first, the applicable period 33 of the history table 30 is set, and then the valid period of the MO disk 9 is set and recorded.

【0024】適用期間33の設定動作(ステップS6
1)を図5を参照して詳説すると、テーブル更新部14
は履歴テーブル30の先頭レコードを読み出して(ステ
ップS51)、そのレコードの適用期間33の始月が既
に設定されているか判定する。設定されていなければ
(同S52;No)、そのレコードに記録されているイ
ンストール日付32の月を、有効期間41の始月として
記録する(同S53)。始月とは即ち期間の開始時期で
あり、実施例では期間の最初の月を表している。そし
て、その始月の1つ前の月を、1世代前のバージョン、
即ち直前のレコードの有効期間41の終月に記録する
(同S53)。終月とは期間の終了時期のことであり、
同様に期間の最後の月を表している。但し、1つ前のレ
コードが存在しなければこの終月の設定は行わない。そ
して、後続のレコードを順次読み出してこの処理を繰り
返していくのである。従って、最後のレコード、即ち最
新のバージョンについては、終月の設定は行われない。
Setting operation of the applicable period 33 (step S6)
1) will be described in detail with reference to FIG.
Reads the first record of the history table 30 (step S51) and determines whether the start month of the applicable period 33 of the record is already set. If not set (S52; No), the month of the installation date 32 recorded in the record is recorded as the start month of the effective period 41 (S53). The start month is the start time of the period, and represents the first month of the period in the embodiment. And, the month before the first month is the version one generation before,
That is, it is recorded at the end of the effective period 41 of the immediately preceding record (at step S53). The end of the month is the end of the period,
Similarly, it represents the last month of the period. However, if there is no previous record, the setting for the last month is not performed. Then, subsequent records are sequentially read and this process is repeated. Therefore, the end record is not set for the last record, that is, the latest version.

【0025】こうして履歴テーブル30の設定が終る
と、図7に戻って、MOディスク9から記録情報を読み
出し(同S62)、そのバージョン番号に対応する適用
期間33を履歴テーブル30を参照することによって
得、その始月を有効期間の始月とする(同S63)。そ
して、その始月が保有期間43に含まれない場合は、保
有期間43の最初の月を有効期間の始月とする(同S6
5)。次に、記録日付より、次のようにして有効期間の
終月を決定する(同S66)。即ち、そのMOディスク
9の記録日付が、ある月の1日から24日までの間なら
ばその前の月を終月とし、ある月の25日以降ならばそ
の月を終月とするのである。これは、25日以降に取っ
たバックアップならば、概ねその月の診療データを網羅
しているであろうとの考えに基づくものである。
When the setting of the history table 30 is completed in this way, returning to FIG. 7, the record information is read from the MO disk 9 (at step S62), and the application period 33 corresponding to the version number is referred to the history table 30. The obtained first month is set as the first month of the effective period (at step S63). Then, when the start month is not included in the holding period 43, the first month of the holding period 43 is set as the start month of the valid period (S6 in the same step).
5). Next, the end of the valid period is determined from the recording date as follows (at step S66). That is, if the recording date of the MO disk 9 is from the 1st to the 24th of a certain month, the preceding month is the ending month, and if the recording date of the 25th or later is the ending month. . This is based on the idea that backups taken after the 25th will generally cover the medical care data for the month.

【0026】こうして決定した始月と終月が逆転してい
るなど、比較してみて矛盾がある場合はエラー処理に移
行する。矛盾がなければその有効期間を管理テーブル4
0とMOディスク9の双方に記録する(同S68)。
If there is a contradiction as a result of comparison, such as when the start month and the end month determined in this way are reversed, the process proceeds to error processing. If there is no contradiction, the effective period of the management table 4
0 and the MO disc 9 are recorded (S68).

【0027】そして、その有効期間と同じかまたは含ま
れる有効期間を有するMOディスク9がないか、管理テ
ーブル40の他のレコードを検査する(同S69)。も
し、そのようなMOディスク9があれば、重複ありと判
断して、それを伝えるメッセージを表示手段に表示する
(同S71)。そして、オペレータによって旧いMOデ
ィスク9の廃棄が指示されたならば、その管理記録のレ
コードを管理テーブル40から消去するのである(同S
73)。
Then, another record in the management table 40 is inspected for the MO disk 9 having the same valid period as the valid period or the valid period included in the valid period (S69). If there is such an MO disk 9, it is judged that there is duplication, and a message for notifying it is displayed on the display means (S71). Then, when the operator instructs the discarding of the old MO disk 9, the record of the management record is deleted from the management table 40 (at the same step S).
73).

【0028】図10は、MOディスク9の有効期間を設
定するために図9の表示画面において管理設定を指示し
た結果、バックアップ処理部12の有効期間設定部15
が設定した有効期間の表示例である。有効期間設定部1
5は、記録されているプログラムのバージョン1.50
より、そのインストール日付32が平成10年1月4日
であることが履歴テーブル30より分かるので、有効期
間の始月を平成10年1月と決定する。次に、記録日付
が同年2月1日であるので、終月を2月の1つ前の月、
1月と決定する。こうして、画面上アンダーラインで示
される有効期間が、平成10年1月から同年1月と表示
されているのである。
FIG. 10 shows the effective period setting section 15 of the backup processing section 12 as a result of instructing the management setting on the display screen of FIG. 9 to set the effective period of the MO disk 9.
It is a display example of the effective period set by. Effective period setting section 1
5 is the recorded program version 1.50
From the history table 30, it can be seen from the history table 30 that the installation date 32 is January 4, 1998, so the first month of the effective period is determined to be January 1998. Next, since the recording date is February 1 of the same year, the last month is the month before February,
Decided to be January. In this way, the effective period indicated by the underline on the screen is displayed from January 1998 to January of the same year.

【0029】そこで、オペレータが画面左下の表示に従
って登録を指示すれば、有効期間設定部15は、管理テ
ーブル40及び当該MOディスク9の双方に上で決定し
た有効期間を記録する。そして、管理テーブル40の内
容を表示する元の画面に戻ると、図11に示すように、
管理番号が001のMOディスク9の有効期間が表示さ
れるのである。
Then, when the operator instructs the registration according to the display on the lower left of the screen, the valid period setting unit 15 records the determined valid period in both the management table 40 and the MO disk 9 concerned. Then, returning to the original screen displaying the contents of the management table 40, as shown in FIG.
The valid period of the MO disk 9 whose management number is 001 is displayed.

【0030】更に、ここで、平成10年3月2日のバッ
クアップ業務で作製したMOディスク9に対して、有効
期間を設定する場合を考える。図12はその画面表示例
である。管理番号が002のMOディスク9は、記録日
付が3月2日であるのでプログラムのバージョンは1.
50、データの保有期間は1月から3月が記録されてい
る。そして、これより、データの有効期間の始月は1月
となり、一方、終月は、記録日付の3月の1つ前の月、
2月が設定されるのである。そして、この後、登録を指
示すると、アンダーラインで示された平成10年1月か
ら同年2月の有効期間を管理テーブル40とMOディス
ク9の双方に記録する。
Further, let us now consider a case where an effective period is set for the MO disk 9 created in the backup operation on March 2, 1998. FIG. 12 shows an example of the screen display. Since the recording date of the MO disc 9 having the management number 002 is March 2, the program version is 1.
50, Data retention period is recorded from January to March. From this, the first month of the valid period of the data will be January, while the last month will be the month immediately preceding the March of the recording date,
February is set. After that, when registration is instructed, the valid period from January 1998 to February 1998, which is underlined, is recorded in both the management table 40 and the MO disk 9.

【0031】ところで、管理番号が001のMOディス
ク9の有効期間は平成10年1月の1ヶ月間であり、管
理番号が002のそれに含まれている。しかも、プログ
ラムのバージョンも1.50で同じであるので、管理番
号が001のMOディスク9を同002のMOディスク
9で置き換えることが可能である。従って、ステップS
69以降の検査で重複ありと判定するので、バックアッ
プ処理部12は、管理テーブル40の内容を表示する元
の画面において、図13に示すように、例えば、「有効
期間が重複する媒体があります」とメッセージを表示
し、且つ、双方の有効期間をアンダーラインで示すので
ある。これに応じて、画面左下の表示に従ってオペレー
タが旧版の廃棄を指示すれば、バックアップ処理部12
は管理番号が001の管理情報を管理テーブル40から
抹消すると共に、同ディスクのマウント要求を出して、
MOディスク9から管理情報及びバックアップデータを
消去するのである。これにより、旧版ディスクを再利用
することが可能になるものである。
By the way, the valid period of the MO disk 9 with the management number 001 is one month of January 1998, and is included in that of the management number 002. Moreover, since the version of the program is 1.50 and the same, it is possible to replace the MO disk 9 with the management number 001 with the MO disk 9 with the management number 002. Therefore, step S
Since the inspection after 69 determines that there is duplication, the backup processing unit 12 indicates, for example, "There is a medium whose validity period overlaps" on the original screen displaying the contents of the management table 40, as shown in FIG. Is displayed, and the valid periods of both are underlined. In response to this, if the operator instructs the disposal of the old version according to the display on the lower left of the screen, the backup processing unit 12
Deletes the management information of management number 001 from the management table 40, issues a mount request for the same disk,
The management information and backup data are erased from the MO disk 9. This makes it possible to reuse the old version disc.

【0032】[0032]

【発明の効果】本発明によれば、バックアップ媒体に記
録したデータに対して、一緒に記録したプログラムを適
用できる有効期間を、媒体別に簡単に設定し、記録する
ことができるようになる。それによって、修正すべきデ
ータと、正しい組み合わせのプログラムとが一緒に記録
されたバックアップ媒体を容易に決定できるようにな
る。
According to the present invention, it becomes possible to easily set the effective period for which the program recorded together is applicable to the data recorded on the backup medium for each medium and record the data. This makes it easy to determine the backup medium that contains the data to be modified and the correct combination of programs.
It

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

【図1】実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment.

【図2】実施例における履歴テーブルと管理テーブルの
レコード構成を示す図である。
FIG. 2 is a diagram showing a record structure of a history table and a management table in the embodiment.

【図3】実施例におけるインストールの手順を示す図で
ある。
FIG. 3 is a diagram showing an installation procedure in the embodiment.

【図4】実施例におけるバックアップの手順を示す図で
ある。
FIG. 4 is a diagram showing a backup procedure in an embodiment.

【図5】実施例における履歴テーブルの設定手順を示す
図である。
FIG. 5 is a diagram showing a procedure of setting a history table in the embodiment.

【図6】実施例の履歴テーブルの内容を示す図である。FIG. 6 is a diagram showing the contents of a history table according to the embodiment.

【図7】実施例における有効期間の設定手順を示す図で
ある。
FIG. 7 is a diagram showing a procedure for setting an effective period in the embodiment.

【図8】実施例におけるバックアップ業務の画面表示例
である。
FIG. 8 is a screen display example of a backup job in the embodiment.

【図9】実施例におけるバックアップ業務の画面表示例
である。
FIG. 9 is a screen display example of a backup job in the embodiment.

【図10】実施例におけるバックアップ業務の画面表示
例である。
FIG. 10 is a screen display example of a backup job in the embodiment.

【図11】実施例におけるバックアップ業務の画面表示
例である。
FIG. 11 is a screen display example of a backup job in the embodiment.

【図12】実施例におけるバックアップ業務の画面表示
例である。
FIG. 12 is a screen display example of a backup job in the embodiment.

【図13】実施例におけるバックアップ業務の画面表示
例である。
FIG. 13 is a screen display example of a backup job in the embodiment.

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

10 処理装置 11 事務処理部 12 バック
アップ処理部 13 データコピー部 14 テーブル更新部 1
5 有効期間設定部 16 インストーラ 17 表示装置 18 キー
ボード 19 光磁気ディスク装置 9 MOディスク 2
0 ファイル装置 21 当月データ 22 過去データ 30 履
歴テーブル 31 バージョン番号 32 インストール日付
33 適用期間 40 管理テーブル 41 有効期間 42 バー
ジョン番号 43 保有期間 44 記録日付 45 管理番号
Reference Signs List 10 processing device 11 office processing unit 12 backup processing unit 13 data copying unit 14 table updating unit 1
5 Effective period setting unit 16 Installer 17 Display device 18 Keyboard 19 Magneto-optical disk device 9 MO disk 2
0 File device 21 Current month data 22 Past data 30 History table 31 Version number 32 Installation date
33 Application period 40 Management table 41 Effective period 42 Version number 43 Retention period 44 Recording date 45 Management number

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/445 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 9/445

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データを月単位に記憶するとともに、そ
のデータを編集するプログラムを記憶する内部記憶手段
と、そのプログラムを更新する手段と、更新履歴を記録
する手段と、前記データを月単位に外部のバックアップ
手段に記録するとともに、前記プログラムを同じバック
アップ手段に記録する手段と、そのバックアップ履歴を
記録する手段と、前記バックアップ手段に記録されてい
るデータに対して同じくそのバックアップ手段に記録さ
れているプログラムを適用できる有効期間を前記更新履
歴及びバックアップ履歴を参照して決定する手段であっ
て、プログラムの更新の日付を含む月を前記有効期間の
開始月とし、バックアップを実施した日付を含む月を前
記有効期間の終了月とし、その際、バックアップを実施
した日付がその月の所定の日より前である場合は前記終
了月の前月を終了月に決定する決定手段と、前記決定手
段が決定した有効期間を前記内部記憶手段または前記バ
ックアップ手段の少なくともいずれか一方に記録する手
段と、を設けたことを特徴とするバックアップデータ管
理装置。
1. Data is stored on a monthly basis and
Storage means for storing a program for editing data in
And means for updating the program, means for recording the update history, and external backup of the data on a monthly basis.
Record the program and copy the program
And means for recording the up means, means and the lifetime can be applied to programs that are also recorded in the backup unit to the data recorded in the backup unit updates footwear for recording the backup history
History and backup history
The month including the date of program renewal
Start month, and the month including the date when the backup was performed
It will be the end month of the effective period, and at that time, backup will be performed
If the date you made is before the specified day of the month,
A deciding means for deciding the month before the end month as the end month, and the deciding means
The validity period determined by the stage is stored in the internal storage unit or the buffer.
Hands to record on at least one of the backup means
A backup data management device characterized in that a step is provided.
【請求項2】 データを月単位に記憶するとともに、そ
のデータを編集するプログラムを記憶する内部記憶手段
と、そのプログラムを更新する手段と、を備えたバック
アップデータ管理装置において、 前記データを月単位に外部のバックアップ手段に記録す
るとともに、前記プログラムを同じバックアップ手段に
記録するステップと、前記更新の履歴を記録するステッ
プと、前記データを月単位に外部のバックアップ手段に
記録するとともに、前記プログラムを同じバックアップ
手段に記録するステップと、前記バックアップの履歴を
記録するステップと、前記バックアップ手段に記録され
ているデータに対して同じくそのバックアップ手段に記
録されているプログラムを適用できる有効期間を前記更
新履歴及びバックアップ履歴を参照して決定するステッ
プであって、プログラムの更新の日付を含む月を前記有
効期間の開始月とし、バックアップを実施した日付を含
む月を前記有効期間の終了月とし、その際、バックアッ
プを実施した日付がその月の所定の日より前である場合
は前記終了月の前月を終了月に決定するステップと、前
記有効期間を前記内部記憶手段または前記バックアップ
手段の少なくともいずれか一方に記録するステップと、 を有することを特徴とするバックアップデータ管理方
法。
2. Data is stored on a monthly basis and
Storage means for storing a program for editing data in
And a means for updating the program,
In the updater management device, the data is recorded monthly on an external backup means.
And the same program as the same backup means
The step of recording and the step of recording the history of the update.
And the above data to external backup means on a monthly basis.
Record and backup the same program as above
The step of recording in the means and the history of the backup
The step of recording and the recording in the backup means
The backup means for the data
The effective period for which the recorded program is applicable is updated above.
Steps to be decided by referring to new history and backup history
The month including the date of program update
Set to the start month of the effective period, including the date of backup.
The valid month is the end month of the validity period, and the backup
If the date of execution is before the specified day of the month
Is the step of determining the month preceding the ending month as the ending month,
The effective period is stored in the internal storage means or
A method for managing backup data , comprising the step of recording in at least one of the means.
Law.
JP30581598A 1998-10-27 1998-10-27 Backup data management device and backup data management method Expired - Lifetime JP3490912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30581598A JP3490912B2 (en) 1998-10-27 1998-10-27 Backup data management device and backup data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30581598A JP3490912B2 (en) 1998-10-27 1998-10-27 Backup data management device and backup data management method

Publications (2)

Publication Number Publication Date
JP2000132381A JP2000132381A (en) 2000-05-12
JP3490912B2 true JP3490912B2 (en) 2004-01-26

Family

ID=17949713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30581598A Expired - Lifetime JP3490912B2 (en) 1998-10-27 1998-10-27 Backup data management device and backup data management method

Country Status (1)

Country Link
JP (1) JP3490912B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5144974B2 (en) * 2007-06-22 2013-02-13 株式会社日本デジタル研究所 Module management method, module management apparatus, and module management program

Also Published As

Publication number Publication date
JP2000132381A (en) 2000-05-12

Similar Documents

Publication Publication Date Title
US7801855B2 (en) Method and apparatus for merging log entries in a database management system
US5632027A (en) Method and system for mass storage device configuration management
US7549031B2 (en) Method and apparatus for performing data backup
JP3490912B2 (en) Backup data management device and backup data management method
JP3655152B2 (en) Software editing apparatus and storage medium
US20050149493A1 (en) Data recording apparatus and data recording method
JPH11282687A (en) Method for automatically revising program
JP3636773B2 (en) Information processing device for database check
JP5240086B2 (en) Data management program
JP2000132380A (en) Version management device/method and medium storing version management program
JP3245047B2 (en) Version control apparatus and method
JP4230553B2 (en) Data recording device
JP3323524B2 (en) Optical disc difference information extraction method
JP2002342137A (en) Device and method for managing document and recording medium
JP4026278B2 (en) Data storage system
JP2000259742A (en) Method for judging necessity of adding/excluding and correcting history record of account data, account processor, and recording medium for program for judging the necessity of adding/excluding and correcting history record
JP3295930B2 (en) Executing program management method and apparatus, and recording medium
JP3771753B2 (en) Integrated resource management method
JPH05158670A (en) Screen type program editor
JPH06222915A (en) Install system
JP2001265572A (en) Device and method for managing source program, and recording medium with its program recorded thereon
JPH11219284A (en) Version updating method
JP2006163574A (en) Medical coding processing system and program
JPH05342073A (en) File storage medium and file managing system
JPH0594348A (en) Method for updating file

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091107

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101107

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101107

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term