JPH08185347A - How to save / restore files - Google Patents

How to save / restore files

Info

Publication number
JPH08185347A
JPH08185347A JP6338776A JP33877694A JPH08185347A JP H08185347 A JPH08185347 A JP H08185347A JP 6338776 A JP6338776 A JP 6338776A JP 33877694 A JP33877694 A JP 33877694A JP H08185347 A JPH08185347 A JP H08185347A
Authority
JP
Japan
Prior art keywords
file
saved
protection
information
protection attribute
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
JP6338776A
Other languages
Japanese (ja)
Inventor
Noboru Fujiwara
昇 藤原
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP6338776A priority Critical patent/JPH08185347A/en
Publication of JPH08185347A publication Critical patent/JPH08185347A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 ハードウェアにバンドレルして頒布される標
準機能のソフトウェアのコピー,書き込みの保護が必要
なファイルのバックアップを禁止しながらも、バックア
ップの対象となる他のファイルの関連性を失わない方策
を図る。 【構成】 保護属性を指定されたファイルはバックアッ
プ処理の際、ファイルを識別し得るキー情報のみをバッ
クアップするようにし、バックアップの復元処理の際、
復元先にて同一のファイルが事前に実装されているかど
うかをチェックするようにして成る。
(57) [Summary] [Purpose] While prohibiting backup of files that require copy protection and write protection of standard function software that is bundled and distributed to hardware, the relation of other files to be backed up Take measures to prevent loss of sex. [Structure] Only the key information that can identify the file is backed up at the time of backup processing for the file with the protection attribute specified, and at the time of backup restoration processing
It is configured to check whether the same file is installed in advance at the restoration destination.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、広くプログラマブルデ
バイスや情報処理機器のファイルの退避・復元処理にお
ける保護(プロテクト)対象ファイルの扱いに係り、中
でも特にプログラマブルコントローラ等の制御機器に
て、ハードウェアにバンドルして標準的に、もしくは事
前にインストールして提供されるソフトウェア上の基本
機能やソフトウェア部品、特定用途向け標準機能などの
保護に必要となるファイル管理機能を改善するファイル
の退避・復元方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to the handling of files to be protected in file saving / restoring processing of programmable devices and information processing equipment, and particularly in control equipment such as programmable controllers. File save / restore method that improves the file management function required to protect the basic functions and software parts on software that is provided as a standard bundled with or provided in advance, and standard functions for specific applications. Regarding

【0002】[0002]

【従来の技術】近年、ソフトウェアの生産性重視の側面
から、ソフトウェアの部品化、パッケージ化の要求はき
わめて強まりつつあるが、従来からのファイルの保護方
法としては、情報処理機器の分野においてすでに種々の
機能が実現されており、一般的な方法としては、ファイ
ルに属性を付加しOSにおいて書き込み禁止・読みだし
禁止(複製禁止)等を判断する方法と、OS管理下にて
ファイルにパスワードを設定しアクセス権をチェックす
る方法などがある。またこの他、OS[operation syst
em]の複製機能を無効にするためのプロテクト処理(隠
しディレクトリ、隠しファイル中の実行キー管理や登録
された製造番号の機械でのみ実行されるしかけなど)も
種々考案されている。この場合、ファイルの退避処理を
実行する際には、保護対象ファイルは退避処理の対象か
らまったく除外されてしまうか、保護対象であってもO
Sの強制的な退避機能によって無条件に退避されてしま
うかのいずれかの動作となる。
2. Description of the Related Art In recent years, from the aspect of emphasizing software productivity, the demand for software componentization and packaging has become extremely strong. However, various conventional file protection methods have been used in the field of information processing equipment. As a general method, the attribute is added to the file to determine whether the OS is write-protected or read-protected (copy prohibited), and the password is set to the file under OS management. There is a method to check access rights. In addition to this, OS [operation syst
Various protection processes for disabling the copy function of [em] (hidden directories, management of execution keys in hidden files, triggers to be executed only on machines with registered serial numbers, etc.) have been devised. In this case, when the file save processing is executed, the protection target file is excluded from the save processing target at all, or even if the protection target file is protected.
Either operation is unconditionally saved by the forced save function of S.

【0003】[0003]

【発明が解決しようとする課題】ところが、これらの従
来技術を、たとえばプログラマブルコントローラ等の制
御機器にて、ハードウェアにバンドルして標準的に、も
しくは事前にインストールして提供されるソフト上の基
本機能やソフトウェア部品などの保護に適用しようとし
た場合には以下の問題が発生する。これらソフトウェア
部品を使用するに当たっては、一般にソフトウェア部品
を最適な環境で動作させるための設定パラメタや、ソフ
トウェア部品と協調して個別の機能を実現している関連
ソフトウェアが必要である。このようにソフトウェア部
品と密接な関連のあるデータやプログラムは、保護対象
であるソフトウェア部品と一体で管理し、関連性を失わ
ないで退避することが重要であるが、従来技術により保
護された場合は、ソフトウェア部品側は退避対象となら
ず関連データ・関連プログラムのみが退避されてしまう
か、またはともにバックアップされてしまうかのいずれ
かとなる。前者のケースでは、ファイル破壊等によるフ
ァイルの復元処理の際に誤って類似した機能を持つ別の
ソフトウェア部品や、バージョンアップによって非互換
となったソフトウェア部品の実装された機器に対し復元
処理を実行するとソフトウェア部品と関連データ・関連
プログラム間で不整合が生じてしまうという問題があ
る。また、後者の場合では、退避・復元処理上不都合は
起こらないものの、退避処理されたファイルを使用し
て、保護されるべきソフトウェア部品が不正に大量複製
されてしまうという問題点がある。そこで、本発明は保
護指定されたファイルについては退避処理を行わない
が、一方復元処理の際には、復元先にすでに実装されて
いる保護対象ファイルの妥当性をチェックし、退避ファ
イルと保護ファイル間の整合をとることのできるファイ
ルの退避・復元方法を提供することを目的とする。
However, the above-mentioned conventional techniques are bundled with hardware in a control device such as a programmable controller as a standard or pre-installed software provided as a standard. The following problems occur when trying to protect functions or software components. In using these software components, generally, setting parameters for operating the software components in an optimum environment and related software that realizes individual functions in cooperation with the software components are required. In this way, it is important to manage the data and programs that are closely related to the software component integrally with the software component that is the protection target, and to save them without losing the relationship. , The software component side is not the save target, and only the related data and related program are saved, or both are backed up. In the former case, the restoration process is executed for another software component that has a similar function by mistake when restoring a file due to file destruction, or for a device with a software component that has become incompatible due to a version upgrade. Then, there is a problem that inconsistency occurs between the software component and the related data / related program. In the latter case, although there is no inconvenience in saving / restoring processing, there is a problem in that a large number of software components to be protected are illegally copied using the saved files. Therefore, the present invention does not perform save processing for files with protection specified, but at the time of restore processing, the validity of the protected files already implemented at the restore destination is checked, and the save file and protected file are checked. It is an object to provide a method of backing up / restoring files that can achieve consistency between files.

【0004】[0004]

【課題を解決するための手段】上記問題点を解決するた
め、本発明は、ファイルの複製・退避・復元に対する保
護を行うファイル保護管理手段Aと、ファイル記憶手段
B中に保持されファイル識別情報(F21〜F2n)と保護
属性情報(F31〜F3n)とがおのおの付属した1つ以上
のファイル本体(F11〜F1n)からなるプログラマブル
な制御機器に関し、前記ファイル保護管理手段Aにおい
て、[1] ファイルをファイル記憶手段Bから他のフ
ァイル記憶手段に複製退避する際は、各ファイルの保護
属性情報F3i(i=1n)に従い、保護属性を示すファイル
の場合はファイル識別情報と保護属性情報そのもの、も
しくはそれらの情報を特定しうるキー情報Gj(j=1 m)
を複製退避しファイル本体は複製退避を行わないファイ
ルの複製退避機能と、[2] 外部のファイル記憶手段
Eに複製退避されたファイルを自制御機器中のファイル
記憶手段B中に複製復元する際は、複製退避されたるキ
ー情報に従い、保護属性ファイルについてはファイル本
体は複製退避されていないため複製復元を行わずかわり
に、復元先である自制御機器内ファイル記憶手段B中に
すでに保持されているファイルのファイル識別情報を検
索照合し、キー情報Gj(j=1 m)に対応した同一もしく
は相当機能の派生ファイルの存在を検出できなかった場
合には、事前に定義されたる例外処理Cを起動し、複製
復元処理を中断するファイルの複製復元機能との、前記
[1]及び前記[2]双方の機能を有するファイルの退
避・復元方法である。
In order to solve the above problems, the present invention provides a file protection management means A for protecting files against duplication, saving, and restoration, and file identification information held in a file storage means B. (F 21 to F 2n ) and protection attribute information (F 31 to F 3n ) each relating to a programmable control device comprising one or more file bodies (F 11 to F 1n ) attached to the file protection management means A. [1] According to the protection attribute information F 3i (i = 1 to n) of each file when the file is copied and saved from the file storage unit B to another file storage unit, the file is a file showing the protection attribute. The identification information and the protection attribute information itself, or the key information G j (j = 1 to m) that can identify such information
And the file body does not perform the copy save of the file itself, and [2] when the copy saved in the external file storing means E is restored in the file storing means B of the self-control device. In accordance with the key information to be copied and saved, the file body of the protection attribute file is not copied and saved, so the copy is restored and the file is already held in the self-control-device file storage means B that is the restoration destination. When the file identification information of the file is searched and collated and the existence of a derived file having the same or a corresponding function corresponding to the key information G j (j = 1 to m) cannot be detected, a pre-defined exception processing C is performed. Is a file backup / restoration method that has both of the functions [1] and [2] described above, and a file replication restoration function for activating

【0005】[0005]

【作用】本発明は上記手段により、保護属性を持つファ
イルに対しては複製退避されないため、これによって無
制限に保護属性ファイルが複製されてしまうことは防ぐ
ことができる。一方、複製退避処理の際に保護属性ファ
イルに関するファイル識別情報と保護属性情報そのもの
かまたはそれらを特定しうるキー情報を退避しておくの
で、複製復元処理の際にこれらキー情報によって、復元
先にすでに実装されている保護対象ファイルの妥当性を
チェックすることができ、退避ファイルと保護ファイル
間の整合をとることが可能となる。
According to the present invention, since the file having the protection attribute is not copied and saved by the above means, it is possible to prevent the protection attribute file from being copied indefinitely. On the other hand, the file identification information about the protection attribute file and the protection attribute information itself or the key information that can identify them is saved during the copy save processing. It is possible to check the validity of the protection target file that has already been implemented, and it is possible to make a match between the saved file and the protected file.

【0006】[0006]

【実施例】本発明は、以下の手段を行う。すなわち、図
1は本発明の構成要件を示す構成図、図2は本発明の原
理を示す複製退避処理フロー、図3は本発明の原理を示
す複製復元処理フローであり、それぞれ本発明の基本原
理を示しておりこれに基づいて以下に解決手段を説明す
る。本発明は図1に示す通りファイルの複製・退避・復
元に対する保護を行うファイル保護管理手段Aと、ファ
イル記憶手段B中に保持されファイル識別情報(F21
2n)と保護属性情報(F31〜F3n)とがおのおの付属
した1つ以上のファイル本体(F11〜F1n)からなるプ
ログラマブルな制御機器に関し、前記ファイル保護管理
手段Aにおいて、
The present invention implements the following means. That is, FIG. 1 is a block diagram showing the constitutional requirements of the present invention, FIG. 2 is a copy saving process flow showing the principle of the present invention, and FIG. 3 is a copy restoring process flow showing the principle of the present invention. The principle is shown, and the solution will be described below based on this. According to the present invention, as shown in FIG. 1, file protection management means A for protecting files against copying, saving and restoring, and file identification information (F 21 to
F 2n ) and protection attribute information (F 31 to F 3n ) each relating to a programmable control device consisting of one or more file bodies (F 11 to F 1n ) attached, in the file protection management means A,

【0007】 (1)ファイルをファイル記憶手段Bか
ら他のファイル記憶手段に複製退避(バックアップ)す
る際は、図2のフローチャートにも示す通り、各ファイ
ルの保護属性情報F3i(i=1n)に従い、保護属性を示す
ファイルの場合はファイル識別情報と保護属性情報その
もの、もしくはそれらの情報を特定しうるキー情報G
j(j=1 m))を複製退避しファイル本体は複製退避を行
わないファイルの複製退避機能と、(2)外部のファイ
ル記憶手段Eに複製退避されたファイルを自制御機器中
のファイル記憶手段B中に複製復元(リストア)する際
は、図3のフローチャートにも示す通り、複製退避され
たるキー情報に従い、保護属性ファイルについてはファ
イル本体は複製退避されていないため複製復元を行わ
ず、かわりに復元先である自制御機器内ファイル記憶手
段B中にすでに保持されているファイルのファイル識別
情報を検索照合し、キー情報Gj(j=1 m)に対応した同
一もしくは相当機能の派生ファイルの存在を検出できな
かった場合には、事前に定義されたる例外処理Cを起動
し、複製復元処理を中断するファイルの複製復元機能と
の、(1)、(2)双方の機能を有することを特長とし
たファイルの退避・復元方法を行うものとする。
(1) When a file is copied and saved (backed up) from the file storage means B to another file storage means, as shown in the flowchart of FIG. 2, the protection attribute information F 3i (i = 1 to According to n) , in the case of the file showing the protection attribute, the file identification information and the protection attribute information itself, or the key information G capable of specifying those information
j (j = 1 to m) ) is saved by copying and the file itself is not saved by copying, and (2) the file saved in the external file storage means E is stored in the self-control device. When a copy is restored in the storage unit B (restore), as shown in the flowchart of FIG. 3, according to the key information to be copied and saved, the file body of the protection attribute file is not copied and saved, and therefore the copy is not restored. Instead, the file identification information of the file already stored in the file storage means B in the self-control device which is the restoration destination is searched and collated, and the same or equivalent function corresponding to the key information G j (j = 1 to m) is obtained. When the existence of the derived file of ## EQU1 ## is not detected, the pre-defined exception processing C is activated and the file duplication restoration function for interrupting the duplication restoration processing is performed (1) and (2). And performs saving and restoring method of the file and features that have a function.

【0008】 以下、本発明の各実施例を図に基づいて
説明する。図4は、本発明の一実施例におけるシステム
構成図であり、すでに述べた発明の基本原理図(図1)
をさらに具体的に表したものである。そして、図5は本
発明の一実施例を示す複製退避処理時のファイル管理テ
ーブル例、図6は本発明の一実施例を示す退避データの
ファイル管理テーブル例をそれぞれ示している。
Each embodiment of the present invention will be described below with reference to the drawings. FIG. 4 is a system configuration diagram in one embodiment of the present invention, which is a basic principle diagram of the invention described above (FIG. 1).
Is more specifically represented. 5 shows an example of a file management table at the time of copy saving processing according to an embodiment of the present invention, and FIG. 6 shows an example of a file management table of saved data according to an embodiment of the present invention.

【0009】 本実施例では、回転木馬を制御するシス
テムの例となっている。図中、1はプログラマブルコン
トローラであり、その内部構造は2はマイクロプロセッ
サ(μ.P.)、3は基本ソフトウェアの搭載されたR
OM、5は不揮発性メモリ、8はRAM、および9,1
0,11,12の各周辺機器インタフェース部からなっ
ている。9は周辺機器I/F1 にはプログラミングツー
ル13が接続され、これを使用して、退避・復元の指令
が入力され、外部のファイル記憶手段であるFPD[fl
oppy disk ]14に複製退避が行われる。周辺機器I/
F部(10、11、12)は、さらに外部の周辺機器
(15、16、17)(モータドライブや音響設備機器
等)などと接続され、最終的には回転木馬18の舞台の
回転19、木馬の上下動20、スピーカ21からの音楽
演奏、舞台周辺に付けられた電飾22の点滅等の制御を
行うものとする。
The present embodiment is an example of a system for controlling a carousel. In the figure, 1 is a programmable controller, 2 is a microprocessor (μP), and 3 is an R in which basic software is installed.
OM, 5 is non-volatile memory, 8 is RAM, and 9,1
It is composed of 0, 11, and 12 peripheral device interface sections. 9 is a peripheral device I / F 1 to which a programming tool 13 is connected, and a command for saving / restoring is input using the programming tool 13, and an external file storage means FPD [fl
The copy is saved to the oppy disk] 14. Peripheral device I /
The F section (10, 11, 12) is further connected to external peripheral devices (15, 16, 17) (motor drive, audio equipment, etc.), and finally the stage 19 of the carousel 18 rotates, It is assumed that control such as the vertical movement 20 of the horse, the music performance from the speaker 21, the blinking of the electric decoration 22 attached around the stage, and the like are performed.

【0010】 ROM3の基本ソフトウェア内にはファ
イルの複製・退避・復元を行うファイル保護管理部4が
あり、本発明の原理に基づき、図2の複製退避フローと
図3の複製復元フローを実行している。また、ファイル
記憶手段である不揮発性メモリ5は、ファイル管理領域
6と実ファイル領域7に分かれており、ファイル管理領
域6には図5に示すようなファイル管理テーブルがあ
り、実ファイル領域7には前記ファイル管理テーブル
(図5)に示される各ファイル本体の実データが格納さ
れている。
In the basic software of the ROM 3, there is a file protection management unit 4 for copying / saving / restoring files. Based on the principle of the present invention, the copy saving flow of FIG. 2 and the copy restoring flow of FIG. 3 are executed. ing. The non-volatile memory 5, which is a file storage unit, is divided into a file management area 6 and a real file area 7. The file management area 6 has a file management table as shown in FIG. Stores the actual data of each file body shown in the file management table (FIG. 5).

【0011】 図5は、プログラマブルコントローラ1
内のファイル管理テーブルの状態を示す例である。ここ
には、ファイル本体の実ファイル領域7でのロケーショ
ン情報の他にファイル識別情報(データタイプ、ファイ
ル名称、版数)と属性情報[R(可読属性)、W(可変
属性)、P(保護属性)]からなる。
FIG. 5 shows the programmable controller 1
It is an example showing the state of the file management table in. Here, in addition to the location information in the actual file area 7 of the file body, file identification information (data type, file name, version number) and attribute information [R (readable attribute), W (variable attribute), P (protected) Attribute)].

【0012】 図6は、外部に退避されたFPD14の
データ中のファイル管理テーブルであり、データ構造は
プログラマブルコントローラ1内のファイル管理テーブ
ルと類似しているが、ファイルの属性欄にキー情報であ
ることを示すK属性を持つ点のみ異なっている。
FIG. 6 is a file management table in the data of the FPD 14 saved to the outside. Although the data structure is similar to the file management table in the programmable controller 1, it is key information in the attribute column of the file. The only difference is that it has a K attribute indicating that.

【0013】 図7は本発明の他の実施例を示すファイ
ル管理テーブル例、図8は本発明の他の実施例にて想定
している業務の流れをそれぞれ表している。すなわち図
7は、これらプログラマブルコントローラやそのプログ
ラミング業務の典型的な業務フローを示している。これ
によれば、の工程にて製造された1:プログラマブル
コントローラには、装置の出荷時点での工程にて各用
途向けの機能毎に標準機能が事前に実装され保護属性が
指定される(図5のP欄が1)。
FIG. 7 shows an example of a file management table showing another embodiment of the present invention, and FIG. 8 shows a flow of business assumed in another embodiment of the present invention. That is, FIG. 7 shows a typical workflow of these programmable controllers and their programming tasks. According to this, in the 1: programmable controller manufactured in the process of, the standard function is pre-installed and the protection attribute is designated for each function for each application in the process when the device is shipped (Fig. Column P of 5 is 1).

【0014】 本実施例では、図5に示す通り、回転木
馬システム向けとして、舞台の回転制御関数、木馬の上
下動制御関数、音楽演奏のための音響機器制御用関数の
3件が実装されているとする。これに対しの工程でユ
ーザにてファイルID=4以降の各種ファイルやプログ
ラムが実装されシステムが完成したとする。ユーザが追
加したファイルは非保護ファイルであり本実施例では、
保護属性ファイルが実行される際に参照される演奏用デ
ータや木馬の台数などの設定パラメタ、各標準機能を使
用する為の主プログラム等、保護属性の指定された標準
機能と密接な関連のあるファイルが含まれているとす
る。
In the present embodiment, as shown in FIG. 5, three items, that is, a rotary control function for a stage, a vertical motion control function for a horse, and an audio device control function for playing music are implemented for a rotary horse system. Suppose In the process for this, it is assumed that the user completes the system by mounting various files and programs with file ID = 4 or later. The file added by the user is an unprotected file, and in this embodiment,
It is closely related to the standard functions with the protection attribute specified, such as performance data referenced when the protection attribute file is executed, setting parameters such as the number of horses, and the main program for using each standard function. Suppose the file is included.

【0015】 システム完成時にユーザはの工程にて
作成プログラムのバックアップ(複製退避)を行うが、
その結果得られた退避ファイルの内容は図6に示される
通り、非保護属性の各ファイルは14:FPD内にファ
イル本体の格納エリアが割当てられ、図6のファイル管
理テーブル中にその先頭アドレスとデータ長がセットさ
れ、複製が行われる。一方、保護属性の指定されていた
3件のファイルについては、ファイル本体は複製されず
このためFPD14内にエリアの割当てがされず、ただ
ファイル管理テーブル上にファイルを識別する各データ
(データタイプ、ファイル名称、版数)と属性データが
ファイルを特定するためのキー情報として作成され、ま
た属性中のK欄には1がセットされる。これは図2の処
理フローに従った結果である。
When the system is completed, the user backs up (creates a copy of) the created program in the process of
The contents of the save file obtained as a result are as shown in FIG. 6, and the storage area of the file body is allocated in 14: FPD for each file of the unprotected attribute, and the start address of the file is stored in the file management table of FIG. The data length is set and replication is performed. On the other hand, regarding the three files for which the protection attribute has been specified, the file body is not duplicated, and therefore the area is not allocated in the FPD 14, and only the data (data type, A file name, version number) and attribute data are created as key information for specifying a file, and 1 is set in the K column in the attribute. This is the result according to the processing flow of FIG.

【0016】 逆に、装置の故障やファイル破壊等によ
りの工程のように装置の交換やファイルの入れ直し
(機能の交換)等が発生した場合にはの工程にて複製
復元をはかることになる。このとき、プログラマブルコ
ントローラ1のファイル保護管理部4は図3のフローに
従って動作し、通常であれば出荷直後のファイル編成と
同様に保護属性の指定されている3件のファイル(ID
=1,2,3)については、各々図6のID=1,2,
3との一致をみるため複製復元フローは正常に進行し、
退避データ中の他のファイル(ID=4以降)について
も正常に不揮発性メモリ5内に複製され、の工程通り
図5と同一のファイル編成に復元することができる。
On the other hand, when the device is replaced or the file is replaced (the function is replaced) as in the process due to the device failure or the file destruction, the copy / restoration is performed in the process. At this time, the file protection management unit 4 of the programmable controller 1 operates according to the flow shown in FIG. 3, and normally, the three files (IDs with the protection attributes designated as in the file organization immediately after shipment (ID
= 1, 2, 3), ID = 1, 2,
The replication restoration flow proceeds normally to see the agreement with 3.
Other files (ID = 4 or later) in the saved data are also normally duplicated in the non-volatile memory 5 and can be restored to the same file organization as in FIG.

【0017】 しかし−pのフローのように誤って他
の標準機能の実装されたコントローラを手配してしまっ
たり、標準機能の版数が変更されて互換性が保証できな
い状態であった場合には、退避データ中のID=1〜3
の情報のうちのいずれかについて一致するファイルが復
元先のファイル管理テーブル中に見いだせないため図3
のフロー中の例外処理から異常終了のシーケンスを踏み
複製復元は失敗することになる。
However, if the controller in which another standard function is mounted is mistakenly arranged like the flow of -p or the version number of the standard function is changed and the compatibility cannot be guaranteed, , ID in the saved data = 1 to 3
Since a file that matches any of the above information cannot be found in the file management table of the restoration destination, FIG.
The sequence of abnormal termination from the exception handling in the flow of No. will cause the copy / restoration to fail.

【0018】 本発明の他の実施例として、ファイル管
理テーブルのデータ構造を図7のように置いた場合につ
いて述べる。図7では、図5のファイル管理テーブルの
情報に加え互換性判定テーブルを結合するための互換性
データポインタが追加されている。このポインタの指す
互換性判定テーブルには互換レベルと判定条件および条
件一致の場合のシステムメッセージデータがセットされ
ている。
As another embodiment of the present invention, a case where the data structure of the file management table is arranged as shown in FIG. 7 will be described. In FIG. 7, in addition to the information of the file management table of FIG. 5, a compatibility data pointer for connecting the compatibility determination table is added. In the compatibility determination table pointed to by this pointer, the compatibility level, the determination condition, and the system message data when the condition matches are set.

【0019】 これらのデータは、図3の複製復元処理
フローにおいてファイル識別情報の同一性を判定する際
に使用され、具体的には、データタイプ、ファイル名称
の比較の後、版数の同一性の判定については、単純に版
数データを比較するのではなく、図6に示されるような
退避データ中の版数データが上記互換性判定テーブルの
いずれかの条件式に一致するかを調べ、一致するものが
あれば、互換レベル欄で指定される程度の互換性にてフ
ァイルの同一性・互換性を判定するものである。 図7
の例では、互換レベルを互換バージョンA、軽微な非互
換ありB、非互換項目ありC、互換性なしレベル外、の
ように分類してあり、ファイルの版数の関係がA〜Cで
あれば、複製復元処理を続行するものの、非互換の恐れ
のあるものについては警告を通知可能としている。
These pieces of data are used when determining the identity of the file identification information in the duplication restoration processing flow of FIG. 3. Specifically, after comparing the data type and the file name, the identity of the version number is determined. For the determination of, the version number data in the saved data as shown in FIG. 6 is checked not by simply comparing the version number data, but by checking whether any of the conditional expressions in the compatibility determination table described above matches. If there is a match, the file identity and compatibility are judged based on the compatibility specified in the compatibility level column. Figure 7
In the example, the compatibility levels are classified as compatible version A, minor incompatibility B, incompatibility item C, and incompatibility level outside, and the file version relations are A to C. For example, a warning can be sent to those who may be incompatible even though the replication restoration processing continues.

【0020】[0020]

【発明の効果】以上述べたように本発明によれば、ファ
イルの複製退避の際は保護属性の指定されたファイル本
体の複製は行われないため、無制限なファイルの複製を
防止するという特段の効果を奏することができる。さら
にまた、ファイルの複製復元の際は保護属性の指定され
たファイルに関してはキー情報に基づき退避されたファ
イルと復元先ファイルの一式の同一性のチェックが行わ
れるため、退避された非保護属性のファイルと退避の行
われなかった保護属性のファイルとの間の、復元処理に
おける整合性をも認識することができるという効果があ
る。
As described above, according to the present invention, since the file body having the protection attribute designated is not copied at the time of copying and saving the file, it is possible to prevent unlimited copying of the file. It is possible to exert an effect. Furthermore, when a file is copied and restored, the integrity of the set of saved files and the restoration destination file is checked based on the key information for the files with the protected attribute. There is an effect that it is possible to recognize the consistency in the restoration process between the file and the file with the protection attribute that has not been saved.

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

【図1】本発明の構成要件を示す構成図FIG. 1 is a configuration diagram showing configuration requirements of the present invention.

【図2】本発明の原理を示す複製退避処理フローFIG. 2 is a copy saving processing flow showing the principle of the present invention.

【図3】本発明の原理を示す複製復元処理フローFIG. 3 is a copy restoration processing flow showing the principle of the present invention.

【図4】本発明の一実施例を示すシステム構成図FIG. 4 is a system configuration diagram showing an embodiment of the present invention.

【図5】本発明の一実施例を示す複製退避処理時のファ
イル管理テーブル例
FIG. 5 is an example of a file management table during copy save processing according to an embodiment of the present invention.

【図6】本発明の一実施例を示す退避データのファイル
管理テーブル例
FIG. 6 is an example of a file management table of saved data showing an embodiment of the present invention.

【図7】本発明の他の実施例を示すファイル管理テーブ
ル例
FIG. 7 is an example of a file management table showing another embodiment of the present invention.

【図8】本発明の他の実施例にて想定している業務の流
FIG. 8 is a flow of business assumed in another embodiment of the present invention.

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

A ファイル保護管理手段 B ファイル記憶手段 C 例外処理 D プログラマブル制御機器 E 外部のファイル記憶手段 F1i ファイル本体(i=1〜n、nはファイル総数) F2i ファイル識別情報 F3i 保護属性情報 Gj キー情報(j=1〜m、mは退避処理時の保護属
性ファイル数) 1 プログラマブルコントローラ 2 マイクロプロセッサ 3 ROM 4 ファイル保護管理手段 5 不揮発性メモリ 6 ファイル管理領域 7 実ファイル領域 8 RAM 9 周辺機器I/F1 10 周辺機器I/F2 11 周辺機器I/F3 12 周辺機器I/F4 13 プログラミングツール 14 FPD 15 周辺機器1 16 周辺機器2 17 周辺機器3 18 回転木馬 19 舞台 20 木馬 21 スピーカ 22 電飾 10a プログラマブルコントローラのハードウェア本
体 10b プログラマブルコントローラのハードウェア本
体 10h プログラマブルコントローラのハードウェア本
体 20a 各種特定・用途a 向け標準機能ソフトウェア 20b 各種特定・用途b 向け標準機能ソフトウェア 20h 各種特定・用途h 向け標準機能ソフトウェア 30a プログラマブルコントローラ上に実装された標
準機能 30b プログラマブルコントローラ上に実装された標
準機能 40a プログラマブルコントローラ上に実装されたユ
ーザプログラム、調整データ 50a 本発明による複製退避ファイル ハードウェアの製造工程 特定用途向け標準機能の実装工程 出荷工程 ユーザプログラム、調整工程 複製退避工程 稼動状態 −p 不正コピー 装置の交換、機能の交換等 複製復元工程 −p 誤機能への復元の防止 復元完了
A file protection management means B file storage means C exception processing D programmable control device E external file storage means F 1i file body (i = 1 to n, n is the total number of files) F 2i file identification information F 3i protection attribute information G j Key information (j = 1 to m, m is the number of protection attribute files during save processing) 1 Programmable controller 2 Microprocessor 3 ROM 4 File protection management means 5 Nonvolatile memory 6 File management area 7 Real file area 8 RAM 9 Peripheral device I / F 1 10 Peripheral device I / F 2 11 Peripheral device I / F 3 12 Peripheral device I / F 4 13 Programming tool 14 FPD 15 Peripheral device 1 16 Peripheral device 2 17 Peripheral device 3 18 Carousel 19 Stage 20 Wooden horse 21 Speaker 22 Illumination 10a Programmable controller hardware 1 b Programmable controller hardware 10h Programmable controller hardware 20a Standard function software for various specific / use a 20b Standard function software for various specific / use b 20h Standard function software for various specific / use h 30a Implemented on programmable controller Standard function 30b Standard function implemented on programmable controller 40a User program and adjustment data 50a implemented on programmable controller 50a Copy save file according to the present invention Manufacturing process of hardware Mounting process of standard function for specific application Shipping process User Program, adjustment process Copy save process Operating status -p Illegal copy Device replacement, function replacement, etc. Copy restoration process -p Prevention of restoration to wrong function Restoration completed

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ファイルの複製・退避・復元に対する保
護を行うファイル保護管理手段Aと、ファイル記憶手段
B中に保持されファイル識別情報(F21〜F2n)と保護
属性情報(F31〜F3n)とがおのおの付属した1つ以上
のファイル本体(F11〜F1n)からなるプログラマブル
な制御機器に関し、前記ファイル保護管理手段Aにおい
て、 [1] ファイルをファイル記憶手段Bから他のファイ
ル記憶手段に複製退避する際は、各ファイルの保護属性
情報F3i(i=1n)に従い、保護属性を示すファイルの場
合はファイル識別情報と保護属性情報そのもの、もしく
はそれらの情報を特定しうるキー情報Gj(j=1 m)を複
製退避しファイル本体は複製退避を行わないファイルの
複製退避機能と、 [2] 外部のファイル記憶手段Eに複製退避されたフ
ァイルを自制御機器中のファイル記憶手段B中に複製復
元する際は、複製退避されたるキー情報に従い、保護属
性ファイルについてはファイル本体は複製退避されてい
ないため複製復元を行わずかわりに、復元先である自制
御機器内ファイル記憶手段B中にすでに保持されている
ファイルのファイル識別情報を検索照合し、キー情報G
j(j=1 m)に対応した同一もしくは相当機能の派生ファ
イルの存在を検出できなかった場合には、事前に定義さ
れたる例外処理Cを起動し、複製復元処理を中断するフ
ァイルの複製復元機能との、前記[1]及び前記[2]
双方の機能を有することを特徴とするファイルの退避・
復元方法。
1. A file protection management means A for protecting a file from being copied, saved and restored, and file identification information (F 21 to F 2n ) and protection attribute information (F 31 to F) held in a file storage means B. 3n ) each of which is a programmable control device comprising one or more file bodies (F 11 to F 1n ) attached to each other, in the file protection management means A, [1] stores a file from the file storage means B to another file storage When copying and saving to the means, according to the protection attribute information F 3i (i = 1 to n) of each file, in the case of a file showing a protection attribute, the file identification information and the protection attribute information itself, or those information can be specified. key information G j (j = 1 ~ m ) replication saved file main body is a replication retraction capabilities of the file is not performed replication retraction is replicated saved to [2] external file storage unit E When a file is duplicated and restored in the file storage means B of the self-control device, the file body of the protection attribute file is not duplicated and saved according to the key information that is duplicated and saved. The file identification information of the file already stored in the file storage means B in the self-control device is searched and collated, and the key information G
When the existence of a derived file of the same or equivalent function corresponding to j (j = 1 to m) cannot be detected, a pre-defined exception process C is activated and the duplication of the file that suspends the duplication restoration process is started. [1] and [2] with a restoration function
Saving files characterized by having both functions
How to restore.
JP6338776A 1994-12-28 1994-12-28 How to save / restore files Pending JPH08185347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6338776A JPH08185347A (en) 1994-12-28 1994-12-28 How to save / restore files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6338776A JPH08185347A (en) 1994-12-28 1994-12-28 How to save / restore files

Publications (1)

Publication Number Publication Date
JPH08185347A true JPH08185347A (en) 1996-07-16

Family

ID=18321364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6338776A Pending JPH08185347A (en) 1994-12-28 1994-12-28 How to save / restore files

Country Status (1)

Country Link
JP (1) JPH08185347A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007048066A (en) * 2005-08-10 2007-02-22 Fuji Xerox Co Ltd Device management apparatus and method, and program
KR100692473B1 (en) * 2005-08-26 2007-03-12 후지쯔 가부시끼가이샤 Information processing device, information processing device control program and information processing device control method
JP2015170366A (en) * 2014-03-07 2015-09-28 シュネーデル、エレクトリック、インダストリーズ、エスアーエスSchneider Electric Industries Sas Electronic system comprising electronic device, circuit breaker comprising such system, method for generating deviation indicator in the event of incompatibility between devices exists, and related computer and program product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007048066A (en) * 2005-08-10 2007-02-22 Fuji Xerox Co Ltd Device management apparatus and method, and program
KR100692473B1 (en) * 2005-08-26 2007-03-12 후지쯔 가부시끼가이샤 Information processing device, information processing device control program and information processing device control method
JP2015170366A (en) * 2014-03-07 2015-09-28 シュネーデル、エレクトリック、インダストリーズ、エスアーエスSchneider Electric Industries Sas Electronic system comprising electronic device, circuit breaker comprising such system, method for generating deviation indicator in the event of incompatibility between devices exists, and related computer and program product

Similar Documents

Publication Publication Date Title
US6594780B1 (en) Operating system and data protection
JP4510945B2 (en) Method and system for providing custom software images to a computer system
KR100348007B1 (en) Method and apparatus for restoration of a computer system hard drive
US7334157B1 (en) Restore of data to a computer system having different hardware
US7565517B1 (en) Retargeting a captured image to new hardware while in a pre-boot environment
US7694169B2 (en) Restoring a client device
CN1627274A (en) Backup system and backup method
CN106796509B (en) Protection method and protection device for operating system partition and terminal
JP2010128824A (en) Client control system utilizing policy group identifier
US20050114411A1 (en) Safely restoring previously un-backed up data during system restore of a failing system
US20040148478A1 (en) Method and apparatus for protecting data in computer system in the event of unauthorized data modification
US6684293B1 (en) Methods and computer readable media for preserving unique critical information during data imaging
CN101615237A (en) Verifiable embedded system and verification method thereof
US20040215969A1 (en) Method and system for controlling access to software features in an electronic device
JPH07325712A (en) Illicit copy preventing device for program
JPH08185347A (en) How to save / restore files
US7882353B2 (en) Method for protecting data in a hard disk
CN100514305C (en) System and method for implementing safety control of operation system
JP4107125B2 (en) Software installation program and pre-boot processing program
JPH0229823A (en) Software copyright protection system
US20090125903A1 (en) Center management apparatus, method, and computer readable storage medium storing program thereof
TWI328740B (en) Recovery method and recovery system for master boot record of hard disk drive, and computer-readable reading medium
JP3302593B2 (en) Software copyright protection device
CN100392593C (en) Method for protecting hard disk last partition
US20040141246A1 (en) Hard disk drive host protected area duplication