JP2001273121A - Method for securing operation environment, and recording medium recorded with its program - Google Patents

Method for securing operation environment, and recording medium recorded with its program

Info

Publication number
JP2001273121A
JP2001273121A JP2000085064A JP2000085064A JP2001273121A JP 2001273121 A JP2001273121 A JP 2001273121A JP 2000085064 A JP2000085064 A JP 2000085064A JP 2000085064 A JP2000085064 A JP 2000085064A JP 2001273121 A JP2001273121 A JP 2001273121A
Authority
JP
Japan
Prior art keywords
file
environment
business system
program
job system
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
JP2000085064A
Other languages
Japanese (ja)
Inventor
Hideaki Oki
秀晃 黄木
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.)
Hitachi Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2000085064A priority Critical patent/JP2001273121A/en
Publication of JP2001273121A publication Critical patent/JP2001273121A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable a job system to always ensure the operation of the job system against an unexpected environment change after installation. SOLUTION: When an existing environment file 4 to be used from now is different from a file (environment file 8) necessary to the operation of the job system during the start processing of an execution file 7, the file is once backed up, the file 8 needed by the job system is overwritten on the file 4, the job system is subsequently operated and after that, the backed up environment file 4 is returned to the original place during performing end processing of the job system. A set file 6 is a file for holding initialization information and an initial set value at a time when the job system is started.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、システム動作の環
境確保方法に関し、特に業務システムにおいてインスト
ール後の不意な環境の変化にも、動作環境を確保するこ
とができ、業務システム動作を常に保証できる動作環境
確保方法およびそのプログラムを記録した記録媒体に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for securing an environment for operating a system, and more particularly to a method for securing an operating environment even in an unexpected environment change after installation in a business system, and always ensuring the operation of a business system. The present invention relates to an operating environment securing method and a recording medium on which the program is recorded.

【0002】[0002]

【従来の技術】従来より、あるソフトウェアをコンピュ
ータ内にインストールすると、既にインストールされて
いたソフトウェアが起動しなかったり、あるいは起動す
るが、特定の機能のみが使用できなかったり、あるいは
出力結果に誤りが生じる、というような現象が起こる場
合がある。これは、既にインストールされているソフト
ウェアが使用していたファイルが、別のソフトウェアを
インストールしたことによって上書きされてしまい、そ
のファイルのバージョンの不一致などで動作しなくなっ
てしまうことが原因であることが多い。
2. Description of the Related Art Conventionally, when certain software is installed in a computer, the already installed software does not start or starts, but only a specific function cannot be used, or an error occurs in an output result. May occur. This is because a file used by the already installed software is overwritten by installing another software, and it does not work due to a version mismatch of that file. Many.

【0003】例えば、パソコンでソフトウェアを使用し
ているとき、あるいはソフトウェアを起動しようとした
ときに、「DLLファイルが見つからない」という意味
のメッセージが表示されることがある。ところで、現在
のソフトウェアは無数のファイル(プログラム)の組合
わせであり、そして、どのソフトウェアでも使用するよ
うな機能は、共有物として独立したファイルになってい
る。すなわち、1人1人が使用するものは、それぞれ分
散して持っているよりは、共有にしておく方がハードデ
ィスクやメモリの節約になるという利点がある。その共
有ファイルの代表的なものが「DLLファイル(Dyn
amic Link Library)」であり、その
ソフトウェアを見分けるために、文字の最後に「dl
l」という拡張子が付加される。ところが、そのような
合理性が故にトラブルが起きるのであり、最も多いトラ
ブルが新しくソフトウェアを追加したときと、ソフトウ
ェアを削除したときである。
For example, when using the software on a personal computer or when trying to start the software, a message meaning "DLL file not found" may be displayed. By the way, current software is a combination of countless files (programs), and functions used by any software are independent files as common objects. In other words, there is an advantage in that hard disks and memories are saved when shared by devices used by individuals, rather than being distributed. A typical example of the shared file is “DLL file (Dyn
Amic Link Library), and "dl" is appended at the end of the character to identify the software.
l ”is added. However, such rationality causes troubles, and the most common troubles are when new software is added and when software is deleted.

【0004】先ず、ソフトウェアを追加した場合には、
後からインストールしたソフトウェアが既に組み込まれ
ていたDLLファイルを自分に都合がいいものに置き換
えてしまう。そのために、以前から組み込まれていたソ
フトウェアにとっては不都合なDLLファイルになって
しまう。また、ソフトウェアを削除した場合には、誤っ
て他のソフトウェアが共有しているDLLファイルまで
削除してしまうという場合がある。そのため、残ったソ
フトウェアがDLLファイルを使用しようとしても見つ
からず、困ってしまうことになる。このような場合、基
本的には、使いたいソフトウェアを再インストールする
のが最も確実な解決方法である。ただし、それで解決で
きない場合もある。このようなとき、問題のソフトウェ
アのメーカが修正ソフトを配布しているときには、その
メーカのホームページを探したり、ユーザサポートに問
い合わせをしたりする必要がある。
First, when software is added,
The DLL file in which the software installed later is already installed is replaced with a file that is convenient for the user. This results in a DLL file that is inconvenient for software that has been incorporated before. In addition, when software is deleted, a DLL file shared by another software may be deleted by mistake. Therefore, even if the remaining software tries to use the DLL file, it cannot be found, and it becomes troublesome. In such cases, basically reinstalling the software you want to use is the most reliable solution. However, there are cases where this cannot be solved. In such a case, if the maker of the software in question distributes modified software, it is necessary to search the homepage of the maker or contact user support.

【0005】[0005]

【発明が解決しようとする課題】上述のように、従来の
技術では、機器内に業務システムが予めインストールさ
れている場合に、この機器に他のアプリケーションをイ
ンストールすると、業務システムに必要な環境ファイル
が別のファイルにより上書きされてしまう可能性があ
り、その後の業務システムの動作に必要な環境を確保で
きない、という問題があった。このための従来の解決方
法としては、使いたいソフトウェアを再インストールす
る方法と、動作に環境ファイルが必要なシステムの場
合、他のインストール時に、必要な環境ファイルを予め
パソコンのハードディスクにコピーしておき、後になっ
て読み出して書き込むことで動作環境を確保する方法で
ある。しかし、一般的にはどのソフトウェアがどの環境
ファイルを使用しているか、といった情報は広く公開さ
れておらず、両方とも手数がかかり、面倒な繰作が必要
であった。
As described above, in the prior art, when a business system is installed in a device in advance and another application is installed in the device, an environment file necessary for the business system is installed. However, there is a possibility that the file may be overwritten by another file, and there is a problem that an environment necessary for the operation of the business system thereafter cannot be secured. Conventional solutions to this problem include re-installing the software you want to use and, for systems that require an environment file for operation, copy the necessary environment file to the hard disk of the PC beforehand during other installations. This is a method of ensuring an operating environment by reading and writing later. However, in general, information as to which software uses which environment file is not widely disclosed, and both of them are troublesome and require a troublesome work.

【0006】そこで、本発明の目的は、これら従来の問
題を解決し、インストール後の環境の変化に対して、常
に業務システムに必要な環境を確保し、動作を保証する
ことが可能な動作環境確保方法およびそのプログラムを
記録した記録媒体を提供することにある。
Accordingly, an object of the present invention is to solve these conventional problems, and to always secure an environment necessary for a business system and guarantee an operation in response to a change in the environment after installation. An object of the present invention is to provide a recording method in which a securing method and a program thereof are recorded.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、本発明の動作環境確保方法は、業務システム内部に
予め動作に必要な環境ファイルを格納しておき、業務シ
ステムの起動処理中に、格納されている環境ファイルと
既存の環境ファイルの日付とサイズを照合し、異なって
いる場合には該当する既存の環境ファイルを一旦バック
アップし、格納されているファイルを既存の環境ファイ
ルへ上書きしてシステムを動作させ、その後、システム
終了処理中に、バックアップした環境ファイルを元に戻
し、業務システム動作前の環境ファイルの状態にする。
これにより、業務システムは常に動作できる環境を確保
することができる。また、既存のアプリケーションも問
題なく動作させることができる。
In order to achieve the above object, the operating environment securing method of the present invention stores an environment file necessary for operation in a business system in advance, Compare the date and size of the stored environment file with the existing environment file, and if they are different, back up the corresponding existing environment file once and overwrite the stored file with the existing environment file. The system is operated, and then, during the system termination processing, the backed up environment file is restored to the state of the environment file before the operation of the business system.
As a result, an environment in which the business system can always operate can be secured. Also, existing applications can be operated without any problem.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明を適用した業務シ
ステムの記憶状態を示す図である。図1において、1は
業務システム用コンピュータであり、外部記憶装置2を
持っている。外部記憶装置2内には、システム環境フォ
ルダ3と業務システムフォルダ5に区別されており、さ
らにシステム環境フォルダ3には、業務システムやその
他アプリケーションの動作に使用される環境ファイル4
が、また業務システムフォルダ3には、設定ファイル
6、実行ファイル7が格納され、さらに環境ファイル4
とは別に、業務システム動作に必要な環境ファイル8が
格納されている。ここで、設定ファイル6には、例えば
システム起動時の初期化情報や初期設定値を保有するフ
ァイルが含まれる。実行ファイル7には、実際の実行プ
ログラム等が含まれる。また、環境ファイル8には、各
種の動作を実行する環境ファイルであって、前述のDL
Lファイルもここに含まれている。なお、設定ファイル
6には、業務システムが必要とする環境ファイル4の環
境ファイル8の名前と場所の情報が含まれている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a diagram showing a storage state of a business system to which the present invention is applied. In FIG. 1, reference numeral 1 denotes a business system computer, which has an external storage device 2. In the external storage device 2, a system environment folder 3 and a business system folder 5 are distinguished, and the system environment folder 3 further includes environment files 4 used for operation of the business system and other applications.
The setting file 6 and the execution file 7 are stored in the business system folder 3, and the environment file 4
Separately, an environment file 8 necessary for the operation of the business system is stored. Here, the setting file 6 includes, for example, a file that holds initialization information at the time of system startup and initial setting values. The execution file 7 includes an actual execution program and the like. The environment file 8 is an environment file for executing various operations, and includes the above-described DL.
The L file is also included here. The setting file 6 contains information on the name and location of the environment file 8 of the environment file 4 required by the business system.

【0009】図3は、図1における環境ファイル4と環
境ファイル8の内容の一例を表わした図である。図3か
らも分かるように、環境ファイル4および環境ファイル
8に保有しているファイルは、それぞれ情報として更新
日付とサイズを有している。環境ファイル4には、コン
ピュータに複数のソフトウェアがインストールされてい
る関係で、様々なDLLファイルが存在している。今、
業務システムが実行しようとした際に必要となるDLL
ファイルは、環境ファイル8よりAAAとCCCとFF
Fであることが判断できる。当然、業務システムの実行
時は、環境ファイル4にある必要なDLLファイルAA
AとCCCとFFFを起動させるため、バージョンが相
違していると動作が保証されなくなってしまう。図3の
例では、AAAの更新日付とFFFのサイズが異なるこ
とより、AAAとFFFのファイルを環境ファイル8か
ら環境ファイル4へコピーすることとなる。この際、あ
らかじめ環境ファイル4のAAAとFFFはバックアッ
プを行い、業務システムの終了時にバックアップしたA
AAとFFFは環境ファイル4へ書き戻される。
FIG. 3 is a diagram showing an example of the contents of the environment file 4 and the environment file 8 in FIG. As can be seen from FIG. 3, the files held in the environment file 4 and the environment file 8 each have an update date and a size as information. Various DLL files exist in the environment file 4 because a plurality of software are installed in the computer. now,
DLL required when the business system tries to execute
Files are AAA, CCC and FF from environment file 8.
F can be determined. Naturally, when the business system is executed, the necessary DLL file AA in the environment file 4 is required.
Since A, CCC, and FFF are activated, if the versions are different, the operation cannot be guaranteed. In the example of FIG. 3, since the update date of the AAA and the size of the FFF are different, the files of the AAA and the FFF are copied from the environment file 8 to the environment file 4. At this time, the AAA and FFF of the environment file 4 are backed up in advance, and the
AA and FFF are written back to environment file 4.

【0010】図2は、本発明の一実施例を示す環境確保
処理プログラムの動作フローチャートである。図2のフ
ローで示すプログラムは、例えばCD−ROM等の記録
媒体に格納されており、パソコン等の機器にインストー
ルされてから実行される。図2では、ユーザが起動操作
を行ってから業務システムが終了するまでの過程を示し
ている。ユーザが業務システムを起動すると、業務シス
テムは起動処理中に業務システムフォルダ5にある設定
ファイル6を読み込む(ステップ11)。この設定ファ
イル6には、業務システムが必要とする環境ファイル4
の名前、場所の情報、それに対応した業務システムに格
納してある環境ファイル8の名前と場所が含まれる。次
に、この設定ファイルを基に、環境ファイル4と環境フ
ァイル8の日付、サイズを比較し、一致しているか否か
を照合する(ステップ12)。
FIG. 2 is an operation flowchart of an environment securing processing program showing one embodiment of the present invention. The program shown in the flow of FIG. 2 is stored in a recording medium such as a CD-ROM, and is executed after being installed in a device such as a personal computer. FIG. 2 shows a process from the start operation by the user to the end of the business system. When the user starts the business system, the business system reads the setting file 6 in the business system folder 5 during the startup processing (step 11). This setting file 6 includes environment files 4 required by the business system.
Of the environment file 8 stored in the business system corresponding to the information of the name and the location. Next, based on this setting file, the date and size of the environment file 4 and the environment file 8 are compared, and it is checked whether they match (step 12).

【0011】照合の結果、2つのファイルが一致してい
なかった場合には、既存の環境ファイル4を別の領域に
一旦バックアップし(ステップ13)、環境ファイル8
を環境ファイル4へ上書きコピーする(ステップ1
4)。そうすることにより、業務システムの動作時には
(ステップ15)、環境ファイル4に、業務システムの
動作に必要な環境ファイルを確保することができる。そ
の後、業務システムの動作が終了して、業務システムの
終了処理中において、起動時に既存の環境ファイル4を
バックアップしたか否かを判断する(ステップ16)。
ここで、起動時にバックアップしたと判断された場合に
は、バックアップしてある環境ファイル4を元の場所に
戻す(ステップ17)。これにより、他のアプリケーシ
ョンに対して、環境ファイル4を上書きしたことによる
影響を未然に防止することができる。
If the two files do not match as a result of the comparison, the existing environment file 4 is temporarily backed up to another area (step 13), and the environment file 8
Is overwritten to environment file 4 (step 1
4). By doing so, during the operation of the business system (step 15), the environment file necessary for the operation of the business system can be secured in the environment file 4. Thereafter, the operation of the business system is terminated, and it is determined whether or not the existing environment file 4 was backed up at the time of startup during the termination processing of the business system (step 16).
Here, if it is determined that the environment file 4 has been backed up at the time of startup, the backed up environment file 4 is returned to the original location (step 17). As a result, the effect of overwriting the environment file 4 on other applications can be prevented.

【0012】なお、図2に示すフローの各ステップをプ
ログラムに変換し、変換したプログラムをCD−ROM
やDVDディスク等の記録媒体に格納しておけば、任意
のコンピュータにこの記録媒体を実装し、プログラムを
インストールするか、ネットワークを介して他のコンピ
ュータにダウンロードすることにより、そのコンピュー
タでプログラムを実行することで、本発明を容易に実現
することができる。
Each step of the flow shown in FIG. 2 is converted into a program, and the converted program is stored on a CD-ROM.
If the program is stored on a recording medium such as a PC or a DVD disk, the program is executed on the computer by mounting the recording medium on an arbitrary computer and installing the program or downloading the program to another computer via a network. By doing so, the present invention can be easily realized.

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば、
業務システムにおいて、インストール後の不意な環境の
変化があったときでも、起動時に動作環境を確保するこ
とにより、業務システムの動作が常に保証できるという
効果がある。また、他のアプリケーションに対して、こ
の環境確保の影響が及ばないように、未然に防止するこ
とができる。
As described above, according to the present invention,
In a business system, even when there is a sudden change in the environment after installation, the operation environment is ensured at the time of startup, so that the operation of the business system can always be guaranteed. Further, it is possible to prevent other applications from being affected by the environment securing.

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

【図1】本発明が適用される業務システムの記憶状態を
示す図である。
FIG. 1 is a diagram showing a storage state of a business system to which the present invention is applied.

【図2】本発明の一実施例を示す動作環境確保方法の動
作フローチャートである。
FIG. 2 is an operation flowchart of an operation environment securing method according to an embodiment of the present invention.

【図3】本発明における環境ファイルの一例を示す登録
テーブルの構成図である。
FIG. 3 is a configuration diagram of a registration table showing an example of an environment file according to the present invention.

【符号の説明】 1…業務システム用コンピュータ、2…外部記憶装置、
3…システム環境フォルダ、4…環境ファイル、5…業
務システムフォルダ、6…設定ファイル、7…実行ファ
イル、8…環境ファイル。
[Description of Signs] 1 ... Business system computer 2 ... External storage device
3 ... System environment folder, 4 ... Environment file, 5 ... Business system folder, 6 ... Setting file, 7 ... Execution file, 8 ... Environment file.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 動作に環境ファイルが必要な業務システ
ムの環境確保の方法において、 起動時に設定ファイルを読み込むことにより、該設定フ
ァイルに含まれる,業務システムの動作に必要な環境フ
ァイルおよび対応する業務システムに格納してある環境
ファイルの各情報を取得し、 取得した動作に必要な環境ファイルと格納された環境フ
ァイルの更新日付およびサイズを比較照合し、 照合の結果、両ファイルの一部でも一致していないとき
には、動作に必要な環境ファイルのうち、更新日時また
はサイズの何れかが異なるファイルを別の領域にバック
アップし、 業務システムが格納する環境ファイルから動作に必要な
環境ファイルへ該当するファイルを上書きして、業務シ
ステムを動作させ、 該業務システムの終了処理中に、前記バックアップした
環境ファイルを元に戻すことを特徴とする動作環境確保
方法。
In a method for securing an environment of a business system that requires an environment file for operation, an environment file required for operation of the business system and a corresponding business included in the setting file are read by reading a setting file at startup. Acquires each information of the environment file stored in the system, compares and compares the update date and size of the environment file required for the acquired operation with the stored environment file, and as a result of the comparison, even one part of both files If not, back up the environment files required for operation, which are different in the update date and time or size, to another area, and replace the environment files stored in the business system with the environment files required for operation. To overwrite and operate the business system. Operating environment ensuring wherein the undo-up environment file.
【請求項2】 請求項1に記載の動作環境確保方法の各
ステップをプログラムに変換し、変換されたプログラム
を記録媒体に格納したことを特徴とするプログラムで読
み出し可能な記録媒体。
2. A recording medium readable by a program, wherein each step of the operating environment securing method according to claim 1 is converted into a program, and the converted program is stored in the recording medium.
JP2000085064A 2000-03-24 2000-03-24 Method for securing operation environment, and recording medium recorded with its program Pending JP2001273121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000085064A JP2001273121A (en) 2000-03-24 2000-03-24 Method for securing operation environment, and recording medium recorded with its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000085064A JP2001273121A (en) 2000-03-24 2000-03-24 Method for securing operation environment, and recording medium recorded with its program

Publications (1)

Publication Number Publication Date
JP2001273121A true JP2001273121A (en) 2001-10-05

Family

ID=18601451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000085064A Pending JP2001273121A (en) 2000-03-24 2000-03-24 Method for securing operation environment, and recording medium recorded with its program

Country Status (1)

Country Link
JP (1) JP2001273121A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677800A (en) * 2012-09-14 2014-03-26 柯尼卡美能达株式会社 Mobile information terminal, information management system and sharing method
JP2015513139A (en) * 2012-02-16 2015-04-30 ▲華▼▲為▼▲終▼端有限公司 Wireless handheld device activation method and wireless handheld device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015513139A (en) * 2012-02-16 2015-04-30 ▲華▼▲為▼▲終▼端有限公司 Wireless handheld device activation method and wireless handheld device
US9778935B2 (en) 2012-02-16 2017-10-03 Huawei Device Co., Ltd. System and method for improving a startup speed of a wireless handheld device
CN103677800A (en) * 2012-09-14 2014-03-26 柯尼卡美能达株式会社 Mobile information terminal, information management system and sharing method
JP2014056538A (en) * 2012-09-14 2014-03-27 Konica Minolta Inc Portable information terminal, information management system, sharing method of portable information terminal, and computer program
US9430226B2 (en) 2012-09-14 2016-08-30 Konica Minolta, Inc. Mobile information terminal has replacement portion performing replacement processing for moving temporary setting data to storage device
CN103677800B (en) * 2012-09-14 2017-04-12 柯尼卡美能达株式会社 Mobile information terminal, information management system and sharing method

Similar Documents

Publication Publication Date Title
JP4663878B2 (en) Method and apparatus for managing files in a storage medium
US7334157B1 (en) Restore of data to a computer system having different hardware
JP4199923B2 (en) Mobile device application installation method
US8745601B1 (en) Methods and systems for using data structures for operating systems
US6205558B1 (en) Recovery of file systems after modification failure
US20090217255A1 (en) Methods, systems, and computer program products for taking a snapshot of installed software on a data processing system as part of a software update process
US20040098426A1 (en) Backup system, backup method, program for backup, and backup service provision system
US20020103779A1 (en) Migration of computer personalization information
US20080028391A1 (en) Minimizing user disruption during modification operations
US20130290949A1 (en) System reset
EP3769224B1 (en) Configurable recovery states
US20080126446A1 (en) Systems and methods for backing up user settings
US20060101476A1 (en) Method and system for recording and replaying input-output requests issued by a user-mode program
JP2006286001A (en) Usage of usb memory device for recovery of operating system
WO2003107220A1 (en) Layered computing systems and methods for insecure environments
US7716664B2 (en) Metadata-based application model for large applications
US7689999B2 (en) Sharing dynamically changing resources in software systems
US8161383B2 (en) Information processing apparatus and information processing method
EP3769225B1 (en) Free space pass-through
US8819657B1 (en) Method and apparatus for maintaining data consistency in a virtualized application during software update installation
JP2001273121A (en) Method for securing operation environment, and recording medium recorded with its program
US20070260577A1 (en) Providing COM access to an isolated system
JP3859445B2 (en) File backup system and recording medium
JP2004086283A (en) Methods for installing and automatically deleting application program, program thereof and program recording medium
JPH0934799A (en) Data protection method