JP2004139209A - Application processing operation switching method, program and recording medium - Google Patents

Application processing operation switching method, program and recording medium Download PDF

Info

Publication number
JP2004139209A
JP2004139209A JP2002301329A JP2002301329A JP2004139209A JP 2004139209 A JP2004139209 A JP 2004139209A JP 2002301329 A JP2002301329 A JP 2002301329A JP 2002301329 A JP2002301329 A JP 2002301329A JP 2004139209 A JP2004139209 A JP 2004139209A
Authority
JP
Japan
Prior art keywords
operation processing
file
processing
application
driver
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
JP2002301329A
Other languages
Japanese (ja)
Inventor
Kouichiro Kasama
笠間 晃一朗
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2002301329A priority Critical patent/JP2004139209A/en
Publication of JP2004139209A publication Critical patent/JP2004139209A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an application processing operation switching method capable of simplifying the preparation of a plurality of applications having similar functions and integrating them, and to provide a program and a recording medium therefor. <P>SOLUTION: A file name corresponding to an application is extracted from a system configuration information storing part in which the configuration information of a system is stored, and a fixed driver file table where one or more specific file names of respective applications are set corresponding to the ID of operation processing is retrieved by using the extracted file name, and when even one of the specific file names is made coincident, the corresponding ID of the operation processing is extracted, and operation processing is switched according to an operation processing procedure corresponding to the ID of the operation processing extracted from the table in which the operation processing procedure corresponding to the ID of the operation processing is stored so that the operation processing can be successively executed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はOS(オペレーティングシステム)により動作するアプリケーションの処理動作切替方法,プログラム及び記録媒体に関する。
【0002】
OS(例えば,windows(登録商標)等)上で複数の異なる動作をするアプリケーションを実行することは,ユーザが複数のアプリケーションから実行するものを選択する手間を要し,また開発者はアプリケーションの開発工程とメンテナンス作業の増大に至らしめていた。そのため,複数のアプリケーションを一つに統合するための改善が望まれていた。
【0003】
【従来の技術】
図20は従来例の説明図である。この説明図は,アプリケーションとしてパーソナルコンピュータ等のコンピュータの各種装置のドライバを削除(アンインストール)するプログラムであるアンインストーラの例を示す。アンインストーラは,ユーザインタフェース,レジストリ削除項目(パターン),ファイル削除項目(パターン)の組み合わせで構成される。この例では,図20のa〜fで示すアンインストーラ1〜アンインストーラ6という6つの例を示し,異なる種類のデバイスに対応してそれぞれ異なるユーザインタフェースとして3パターン,レジストリ削除項目(パターン)として4パターン,ファイル削除項目(パターン)として3パターンが用いられ,各装置(デバイス)に対応したアンインストーラを作成する必要がある。
【0004】
同様に他のアプリケーションにも,それぞれが異なるパターンを持つ複数の同種の項目の組み合わせにより構成される複数のアプリケーションが存在する。
【0005】
また,パーソナルコンピュータなどの情報装置の制御手段に機器の制御動作を行わせる場合にオペレータが煩雑なスイッチ操作によって所定のドライバを選択する必要なく,所望の機器の制御動作を的確に行うことができるようにするため,予め特定されたデフォルトの第1のドライバのプログラムを選択させる第1のドライバ設定用プログラムが記憶すると共に,第1のドライバ設定用プログラムとは別の第2の設定用プログラムを記憶しておき,プログラムに基づいて制御動作を行う制御手段が所望の機器の制御動作を実行する時,第2のドライバ設定用プログラムによって指定されている第1のドライバとは別の第2のドライバのプログラムを選択するようにし,複数のドライバのプログラムの各々にプログラム内容を示すインデックスを付して,第2のドライバのプログラムを選択できない時に,実行すべき処理内容を示すインデックスが付されたドライバのプログラムを検索することで選択する方法がある。(特許文献1参照)。
【0006】
【特許文献1】
特開平9−305523号公報(第1−2頁,図1)
【0007】
【発明が解決しようとする課題】
上記したように,従来はそれぞれの複数の処理手順を切替える処理動作を備えたアプリケーションを複数個作成しなければならなかったため,アプリケーションの作成に時間と手間がかかるという問題があった。上記図20の例では,アンインストーラ1〜アンインストーラ6をそれぞれ個別のパターンに対応したインタフェース,レジストリ,ファイルを作成して,個別に実行する必要があった。
【0008】
そして,これらの複数のアプリケーションのメンテナンスをする作業が必要であるという問題があった。更に,このような複数のアプリケーションの中から必要なものを選択するためにユーザに負担がかかるという問題があった。また,上記特許文献1の方法ではドライバ等のプログラムを選択する技術であり,複数の処理を組み合わせたアプリケーションについての上記の問題を解決するものではない。
【0009】
本発明は上記のように同様の機能を持つ複数のアプリケーションの作成を簡単化し,統合することを可能にするアプリケーションの処理動作切替方法,プログラム及び記録媒体を提供することを目的とする。
【0010】
【課題を解決するための手段】
図1は本発明の第1の原理構成を示す図である。図中,1は処理装置,10はOS,11はドライバファイル検索部,12は動作処理切替部,13は動作処理部,20はシステムに設けられたアプリケーション(ドライバ)に対応するファイル名を含むシステム構成情報が格納されたシステム構成情報格納部,21は検索された固有ドライバファイルを含む動作処理のID(識別番号)が設定された固有ドライバファイルテーブル,22は動作処理のIDに対応した動作処理順(動作処理パターン)が設定された動作処理切替テーブルである。
【0011】
ユーザの指示により処理装置1のOS10が駆動されて指示に対応したアプリケーション(ドライバ名を含む)がドライバファイル検索部11に与えられると,ドライバファイル検索部11はシステム構成情報格納部20に格納された多くのドライバ対応ファイル名のデータについてアプリケーション(ドライバ)に対応するファイル名を取り出す。このファイル名はアプリケーション(ドライバ)に固有のものと共通のものがあり,ドライバファイル検索部11は検索されたファイル名を用いて固有ドライバファイルテーブル21を検索する。
【0012】
この固有ドライバファイルテーブル21には,各ドライバセットの固有のドライバファイル名(複数個を含む)に対応してその動作処理のID(識別番号)が予め格納されており,システム構成情報格納部20から検索されたファイル名を用いて固有ドライバファイルテーブル21の固有ファイル名と照合し,固有ドライバファイルテーブル21のドライバセットの固有ファイル名の一つと一致するものがあると,検索されたファイル名は一致がとれたドライバセットに該当するので,固有ドライバファイルテーブル21から対応する動作処理のIDを取り出す。次にその動作処理のIDを動作処理切替部12に入力すると,動作処理切替部12は動作処理切替テーブル22を参照し,入力された動作処理のIDに対応して設定された動作処理順(組合せ)に従って1または複数の動作処理(機能)を動作処理部13に指示することで,1または複数の動作処理が順番に従って実行される。
【0013】
この図1では,コンピュータに搭載されたアプリケーションのファイル名を格納したシステム構成情報格納部20と,固有ドライバファイルテーブル21を用いているが,システム構成情報格納部20にドライバ対応ではなく多くの一般のファイルを格納したファイル群格納部(図示省略)を用いて,ドライバファイル検索部11でファイル群からドライバファイルを検索して,図1と同じ固有ドライバファイルテーブル21を用い,同様の原理で動作させることができる。また,システム構成情報格納部20の代わりに,ドライバファイルキー(例えば,レジストリキー)を用い,固有ドライバファイルテーブル21の代わりに各動作処理のIDに対応して固有のドライバファイルキー(例えば,レジストリキー)を設定したテーブルを使用し,図1のドライバファイル検索部11をドライバファイルキー(レジストリキー)検索部を用いて同様の原理で動作させることができる。
【0014】
図2は本発明の第2の原理構成を示す図である。図中,1,10〜13,20,22は上記図1の同じ番号と同じであり,1は処理装置,10はOS,11はドライバファイル検索部,12は動作処理切替部,13は動作処理部,20はシステム構成情報格納部,22は動作処理切替テーブルである。14,23,24はこの第2の原理構成で新たに設けられた構成要素であり,14はファイルカウンタ部,23は上記図1の固有ドライバファイルテーブルのように固有ドライバファイルだけ格納したものではなく,各ドライバセット(複数のファイルを組み合わせたアプリケーション)別に全ドライバファイル名(固有ドライバファイルと共通ファイルを含む)とファイル数と動作処理のIDとを対応させて格納したドライバファイルテーブル,24はカウンタ変数格納部である。
【0015】
第2の原理構成では,上記図1の第1の原理構成と同様にOSが駆動されてアプリケーション(ドライバを含む)がドライバファイル検索部11に与えられ,ドライバファイル検索部11はシステム構成情報格納部20に格納された多くのドライバ対応ファイル名のデータについてアプリケーションに対応するファイル名(複数個数の場合を含む)を取り出す。このファイル名にはアプリケーションに固有のものと共通のものがあり,ドライバファイル検索部11は抽出された各ファイル名を用いてドライバファイルテーブル23を動作処理のID別にその中のファイルと一致するか比較して,一致するとファイルカウンタ部14に設けられたカウンタ変数格納部24の当該ファイル名が属する動作処理のIDに対応したカウンタ変数をカウント(+1)する。こうして,システム構成情報格納部20から得られた各ファイル名について各動作処理のID別のファイル名との比較と一致した場合の対応する動作処理のID別のカウンタのカウントを行う。この検索が終了すると,動作処理切替部12はカウンタ変数格納部24の各動作処理のIDに対応したカウント値を取得し,ドライバファイルテーブル23に設定されたカウンタ値と一致する動作処理のIDを検出すると,そのIDを用いて動作処理切替テーブル22を参照し,対応する動作処理の順番(組み合わせ)の切替を実行する。
【0016】
この図2では,コンピュータに搭載されたアプリケーションのファイル名を格納したシステム構成情報格納部20と,ドライバファイルテーブル23を用いているが,システム構成情報格納部20にドライバ対応のファイルではなく一般の多くのファイルを格納したファイル群格納部を用い,図2と同じドライバファイルテーブル23を用いて同様の原理で動作させることができる。また,システム構成情報格納部20の代わりに,ドライバファイルキー(例えば,レジストリキー)を用い,ドライバファイルテーブル23の代わりに各動作処理のIDに対応してドライバファイルキー(例えば,レジストリキー)を設定したテーブルを使用して同様の原理で動作させることができる。
【0017】
図3は本発明の第3の原理構成を示す図である。図中,1,10〜13,20,22は上記図1の同じ番号と同じであり,1は処理装置,10はOS,11はドライバファイル検索部,12は動作処理切替部,13は動作処理部,20はシステム構成情報格納部,22は動作処理切替テーブルである。また,23は上記図2に備えられたものと同じ各ドライバファイルセットの全ドライバファイル名(固有ドライバファイルと共通ファイルを含む)とファイル数と動作処理のIDとを対応させたドライバファイルテーブルである。
【0018】
第3の原理構成では,ユーザからの指示により処理装置1のOS10が指示されたアプリケーション(ドライバ)をドライバファイル検索部11に供給すると,ドライバファイル検索部11はドライバファイルテーブル23の一つのドライバファイルセットを取り出して,その中のドライバファイルを用いてシステム構成情報格納部20のドライバファイル名を取り出して一致するか判定し,一致しないとシステム構成情報格納部20から次のドライバファイル名を取り出して一致するか判定する。一致が得られると,ドライバファイルテーブル23の当該ドライバファイルセットの次ドライバファイルを取り出して上記と同様の動作を行う。こうして,ドライバファイルテーブル23のあるドライバファイルセットの全てのドライバファイルがシステム構成情報格納部20に存在することが分かると,動作処理切替部12に動作処理IDを通知して,動作処理切替部12は動作処理部13により動作処理IDに対応する動作処理を行う。
【0019】
この図3では,コンピュータに搭載されたアプリケーションのファイル名を格納したシステム構成情報格納部20と,全ドライバファイル名を格納したドライバファイルテーブル23を用いているが,システム構成情報格納部20としてドライバ対応ファイルではなく一般のファイルを格納したファイル群格納部を用い,図3と同じドライバファイルテーブル23を用いて同様の原理で動作させることができる。また,システム構成情報格納部20の代わりに,ドライバファイルキー(例えば,レジストリキー)を用い,ドライバファイルテーブル23の代わりに各動作処理のIDに対応してドライバファイルキー(例えば,レジストリキー)を設定したテーブルを使用して同様の原理で動作させることができる。
【0020】
図4は本発明の第4の原理構成を示す図である。図中,1,10,12,13,22は上記図1の同じ番号と同じであり,1は処理装置,10はOS,12は動作処理切替部,13は動作処理部,22は動作処理切替テーブルである。この第4の原理構成に特有の構成要素として,16はインストール情報(Infで表示)ファイル検索部,26はファイル群格納部,26aはファイル群格納部26に登録されたデバイスドライバをインストールする時に使用されるインストール情報(Infで表示)ファイル,27はファイル名(またはデバイス名,ハードウェアID)等の値を表すファイル名値のセットが複数個,動作処理のIDに対応して設定されたファイル名値テーブルである。
【0021】
第4の原理構成では,インストール情報ファイル検索部16でファイル群格納部26内の一つのインストール情報ファイル(Infファイル)26aを取得し,ファイル名値テーブル27から一つのファイル名値セットを取り出して,取得したインストール情報ファイル26aのファイルの内容と適合するか判別し,適合しないとファイル名値テーブル27から他のファイル名のセットを取り出して適合するか判別し,適合するとそのファイル名セットに対応する動作処理のIDをファイル名値テーブル27から取り出し,動作処理切替部12に供給すると,動作処理切替部12は動作処理部13により動作処理切替テーブル22に従って動作処理IDに対応する動作処理を行う。
【0022】
【発明の実施の形態】
図5は実施例1のフローチャート,図6は固有ドライバファイルテーブルと動作処理切替テーブルの構成例である。
【0023】
この実施例1は,上記図1に示す本発明の第1の原理構成に対応し,コンピュータにおいてプログラムにより実現するためのフローチャートであり,図5に示すフローチャートを図6に示す各テーブルを用いて実行する。なお,この実施例1のフローチャートでは,システム構成情報格納部(図1の20)として,従来のパーソナルコンピュータで利用されている「レジストリ」を使用する。
【0024】
この実施例1の固有ドライバファイルテーブル(図1の21)の構成は,図6のA.に具体例を示すように,動作処理のIDとしてID1,ID2,ID3とで構成され,ID1には固有ファイル名として,aaa1.sys,bbb1.sys,ccc1.sys,ddd1.sysの4つの固有ファイル名を備え,ID2にはaaa2.sysとbbb2.sysの2つの固有ファイル名を備え,ID3は図に示す3つの固有ファイル名を備える。また,動作処理切替テーブル22の構成は,図6のB.に例を示すようにID1の場合,動作処理(処理順)は1番目が動作1,2番目が動作2,3番目が動作3,4番目が動作4であり,ID2の場合,動作処理は1番目が動作1,2番目が動作4,3番目が動作3となる。なお,この中の動作1,動作2,…は,例えば,それぞれアンインストーラ1,アンインストーラ2,…を表す(または,動作1はレジストリ削除パターン1,動作2はファイル削除パターン1等を表す)。
【0025】
図5に示すフローチャートを上記図1を参照しながら説明すると,OSの指示により処理が開始されると,レジストリ(図1の20に対応)中からドライバファイル名を取得し(図5のS1),ドライバファイル検索部が固有ドライバファイルテーブルを参照し,取得したドライバファイル名と一致するかを検証する(同S2)。ここでファイル名が一つでも一致したか判別し(図5のS3),一致しない場合はレジストリはすべて検索したか判別し(同S4),全て検索した場合は一致するものが検索できないで終了するが,全て検索してない(残りがある)場合は,S1に戻る。ステップS3において一致が検出された場合,ドライバファイル検索部(図1の11)は動作処理切替部(図1の12)に検索結果を通知し(図5のS5),動作処理切替部は検索されたドライバファイル名と固有ドライバファイルテーブル(図1の21,図6のA.)を参照した結果に基づいて動作処理のIDを取得する(図5のS6)。この後,動作処理切替部は動作処理のIDを動作処理部(図1の13)に通知し(図5のS7),動作処理部は所定の動作を実施して(同S8),終了する。
【0026】
なお,上記フローチャートではレジストリを使用しているが,一般のパーソナルコンピュータで使用されているファイル群の格納部を使用した場合は,上記図5のフローチャートはステップS1が,ファイル群からドライバファイル名を取得するという処理に変更されるだけで,他の処理は同じである。
【0027】
次に上記図1のシステム構成情報格納部20の代わりにレジストリを用い,固有ドライバファイルテーブル21の代わりに各動作処理のIDに対応した固有ドライバファイルキー(例えば,レジストリキー)を設定した固有レジストリキーテーブルを使用し,図1のドライバファイル検索部11の機能をレジストリキーを検索するレジストリキー検索部により実施する場合のフローチャートを実施例2のフローチャートとして図7に示す。
【0028】
図8はこの実施例2で使用する固有レジストリキーテーブルの構成例である。この例では動作処理のID毎に,固有レジストリキー名の組み合わせが設定されている。また,実施例2の場合の動作処理切替テーブルは実施例1の場合(図6のB.)と同じであり図示省略した。
【0029】
図7のフローチャートを説明すると,レジストリ(図1のシステム構成情報格納部20の代わりに設けたファイル)からレジストリキー名を取得し(図7のS1),レジストリキー検索部(図1のドライバファイル検索部11の代わりに設けた検索部)が固有レジストリキーテーブルを参照し,取得したレジストリキー名と一致するかを検証し(同S2),一致したか判別する(同S3)。一致しない場合は,レジストリを全て検索したか判別し(図7のS4),全て検索した場合は処理を終了するが,全て検索していないとステップS1に戻る。ステップS3で一致が検出されると,レジストリ検索部は動作処理切替部に検索結果を通知し,動作処理切替部は検索されたレジストリキー名と固有レジストリキーテーブル(図8に構成例を示す)を参照した結果に基づいて動作処理のIDを取得し(同S6),続いて動作処理切替部は動作処理のIDを動作処理部に通知し(同S7),動作処理部は所定の動作処理を実施して(同S8),終了する。
【0030】
図9は実施例3のフローチャート,図10は実施例3で使用するドライバファイルテーブルとカウンタ変数格納部の構成例である。
【0031】
この実施例3は,上記図2に示す本発明の第2の原理構成をコンピュータにより実現するためのフローチャートであり,図9に示すフローチャートを図10に示すドライバファイルテーブル(図2の23)及びカウンタ変数格納部(図2の24)を用いて実行する。なお,このフローチャートでは,システム構成情報格納部(図1の20)として,上記実施例1(図5)の場合と同様にレジストリを使用し,ドライバファイルテーブル23は,図10のA.に示すように,動作処理のIDとしてID1,ID2,ID3とで構成され,各ID別に固有ファイル名(特定の動作処理のIDでのみ使用するファイル名)と共通ファイル名(他の動作処理のIDと共通で使用するファイル名)とで構成され,ID1の例では,aaa1.sys,……ddd1.sysが固有ファイル名で,common1.sys,……common3.sysが共通ファイル名である。このドライバファイルテーブルには,各動作処理のID別に固有ファイル名と共通ファイル名の個数を合計したファイル数が設定されており,後述する図9のフローチャートにおいて指定されたアプリケーションに適合した動作処理のIDを識別するのに使用する。
【0032】
この実施例3で使用する動作処理切替テーブル(図2の22)は,上記実施例1で使用するもの(図6のB.参照)と同様であり,図示省略する。また,図10のB.にはカウンタ変数としてCNT1〜CNT3の3つの変数が設けられ,各カウンタ変数は動作処理のIDのID1〜ID3に対応する。
【0033】
図9のフローチャートを概説すると,ユーザの操作に基づくOSの指示により処理が開始されると,レジストリ(図2のシステム構成情報格納部20の代わりに使用)中からドライバファイル名を取得し(図9のS1),ドライバファイル検索部がドライバファイルテーブル(図2の23)を参照し,取得したドライバファイル名と一致するかを検証する(図9のS2)。ここでファイル名が一致したか判別し(図9のS3),一致しない場合は,後述するステップS5に移行するが,一致した場合はファイルカウンタ部(図2の14)でファイル数をカウントする(図9のS4)。
【0034】
この場合,レジストリから取得したファイル名が「aaa1.sys」であれば,図10のA.に示すドライバファイルテーブルの動作処理のID1のファイル名と一致するので,図10のB.に示すカウンタ変数格納部のCNT1をカウント(+1)する。
【0035】
この後,レジストリはすべて検索したか判別し(図9のS5),検索してないとステップS1に戻り,レジストリから次のドライバファイル名を取得してS1〜S5の処理を実行する。レジストリがすべて検索されると,ファイルカウンタ部は動作処理切替部にカウント結果を通知し(図9のS6),動作処理切替部はファイル数とドライバファイルテーブルを参照した結果に基づいて動作処理のIDを取得する(同S7)。この処理では,上記図10のB.に示すカウンタ変数格納部の各カウンタ名別(各ID別)のカウント値が図10のA.に示す各動作処理のIDに対応するファイル数と一致するか調べて,一致する場合にその動作処理のID(ID1,ID2,ID3等)が取得される。この動作処理のIDは,動作処理切替部に与えられると,動作処理切替部は動作処理切替テーブルを参照して取得した動作処理のIDの動作処理の順番/組み合わせの切替を実施し(図9のS8),動作処理部は所定の動作を実施して(同S9),終了する。
【0036】
なお,上記実施例3のフローチャートではシステム構成情報格納部(図2の20)として,レジストリを使用しているが,一般のパーソナルコンピュータで使用されているファイル群の格納部を使用した場合は,上記図9のフローチャートはステップS1が,ファイル群からドライバファイル名を取得するという処理に変更されるだけで,他の処理は図9と同じである。
【0037】
また,上記図2に示す第2の原理構成においてシステム構成情報格納部20の代わりにレジストリを使用し,ドライバファイルテーブル23として各動作処理のIDに対応した全レジストリキーセット(固有と共通のレジストリのキー名の組み合わせ)とレジストリキー数を設定したレジストリキーテーブルを使用し,図2のドライバファイル検索部11の機能をレジストリキー検索部で実行し,図2のファイルカウンタ部14,カウンタ変数格納部24の代わりに同様の構成のレジストリキーカウンタ部及びカウンタ変数格納部を用いて実行することができる。
【0038】
そのレジストリキーテーブルを使用する場合のフローチャートを実施例4のフローチャートとして図11に示し,レジストリキーテーブルの構成例を図12に示す。
【0039】
実施例4のフローチャートを概説すると,レジストリ(図2のシステム構成情報格納部20の代わりに設ける)からレジストリキー名を取得し(図11のS1),レジストリキー検索部(図2のドライバファイル検索部11の代わりに設ける)がレジストリキーテーブル(ドライバファイルテーブル23の代わりに設ける)を参照し,取得したレジストリキー名と一致するか検証する(同S2)。ここで,取得したレジストリキー名とレジストリキーテーブル内のレジストリキー名が一致したか判別し,一致しないと後述するステップS5に移行し,一致するとレジストリキーカウンタ部でレジストリキー数を動作処理のIDに対応して設けたカウンタ変数格納部のカウント値をカウントする(図11のS4)。次にレジストリは全て検索したか判別し(図11のS5),検索してないとステップS1に戻り,全て検索した場合は,レジストリキーカウンタ部は動作処理切替部にカウント結果を通知する(同S6)。動作処理切替部はレジストリキー数とレジストリキーテーブルを参照した結果に基づいて動作処理のIDを取得し(図11のS7),動作処理切替部は動作処理切替テーブルを参照して取得した動作処理のIDの動作処理の順番/組み合わせの切替を実施し(同S8),動作処理部は所定の動作処理を実施して(同S9),処理を終了する。
【0040】
図13は実施例5のフローチャートである。
【0041】
この実施例5は,上記図3に示す本発明の第3の原理構成をコンピュータにより実現するためのフローチャートであり,図13に示すフローチャートでは,システム構成情報格納部(図3の20)の代わりに,上記実施例1(図5)の場合と同様にレジストリを使用し,ドライバファイルテーブル23は,図10のAと同様に動作処理のID別にドライバファイルセットを構成する全ドライバファイル名(固有ファイル名と共通ファイル名とで構成)が設定されるが,ファイル数は設定されない。また,実施例5で使用する動作処理切替テーブル(図3の22)は,上記実施例1で使用するもの(図6のB.参照)と同様であり,図示省略する。
【0042】
図13のフローチャートを概説すると,ユーザの操作に基づくOSの指示により処理が開始されると,レジストリ(図2の20に対応)中からドライバファイルセットの一つを取得し(図13のS1),取得したドライバファイルセットからドライバファイル名を一つ取得する(同S2)。次にレジストリの最初からファイル名を取得し(図13のS3),取得したファイル名とドライバファイル名が一致するか判別し(同S4),一致しないとレジストリはすべて検索したか判別する(同S5)。ここで,すべて検索してないと判別されると次のレジストリを参照してファイル名を取得して(図13のS6),ステップS4に戻り,すべて検索したと判別されると,ドライバファイルテーブル中の次のドライバファイルセットを取得し(同S7),ドライバファイルセットが取得できないと(すべて取得した時),処理を終了する。
【0043】
上記ステップS4において,取得したファイル名とドライバファイル名が一致した場合は,ドライバファイルセットから次のドライバファイル名を取得し(図13のS9),ドライバファイルが取得できたか判別し(同S10),取得できたら上記ステップS3に戻り同様の処理を実行し,取得できない場合,ドライバファイル検索部はすべてのドライバファイルが存在したと判定し,動作処理切替部に動作処理IDを通知する(同S11)。次に動作処理切替部は動作処理のIDを動作処理部に通知し(図13のS12),動作処理部は所定の動作処理を実施して(同S13),終了する。
【0044】
なお,上記実施例5のフローチャートではシステム構成情報格納部(図3の20)として,レジストリを使用しているが,一般のパーソナルコンピュータで使用されているファイル群の格納部を使用した場合は,上記図13のフローチャートはステップS3で,ファイル群から最初のファイル名を取得するという処理に変更され,ステップS6がファイル群から次のファイル名を参照するという処理に変更されるだけで,他の処理は図13と同じである。
【0045】
また,上記図3に示す第3の原理構成においてシステム構成情報格納部20の代わりにレジストリを使用し,ドライバファイルテーブル23の代わりに各動作処理のIDに対応した全レジストリキーセット(固有と共通のレジストリのキー名の組み合わせ)を設定したレジストリキーテーブルを使用し,図2のドライバファイル検索部11の機能をレジストリキー検索部で実行することができる。
【0046】
そのレジストリキーテーブルを使用する場合のフローチャートを実施例6のフローチャートとして図14に示す。
【0047】
図14の実施例6のフローチャートを概説すると,ユーザの操作に基づくOSの指示により処理が開始されると,レジストリキーテーブル(図3のドライバファイルテーブル23の代わりに設ける)中のある一つのレジストリキーセットを取得し(図14のS1),取得したレジストリキーセットからレジストリキー名を一つ取得する(同S2)。次にレジストリからレジストリキー名を取得し(図14のS3),取得したレジストリキー名とテーブルのレジストリキー名が一致するか判別し(同S4),一致しないとレジストリはすべて検索したか判別する(同S5)。ここで,すべて検索してないと判別されると次のレジストリキー名を参照して(図14のS6),ステップS4に戻り,すべて検索したと判別されると,レジストリキーテーブル中の次のレジストリキーセットを取得し(同S7),レジストリキーセットが取得できたかの判別をして(同S8),取得できない場合,処理を終了し,取得できると,上記S2の処理に戻り同様の処理を行う。
【0048】
上記ステップS4において,取得したレジストリキー名とテーブルのレジストリキー名が一致した場合は,レジストリキーセットから次のレジストリキーを取得し(図14のS9),レジストリキーは取得できたか判別し(同S10),取得できたら上記ステップS3に戻り同様の処理を実行し,取得できない場合,レジストリキー検索部はすべてのレジストリキーが存在したと判定し,動作処理切替部に動作処理IDを通知する(同S11)。次に動作処理切替部は動作処理のIDを動作処理部に通知し(図14のS12),動作処理部は所定の動作処理を実施して(同S13),終了する。
【0049】
上記の図14に示す実施例6のフローチャートの場合,第3の原理構成(図3)においてシステム構成情報格納部20としてレジストリを使用し,ドライバファイルテーブル23として各動作処理のIDに対応した全レジストリキーセットを設定したレジストリキーテーブルを使用したが,ドライバファイルテーブル23としてレジストリ値(ファイル名,デバイス名やハードウェアID等の値)を組み合わせたレジストリ値セットの全レジストリ値と動作処理のIDを対応させたレジストリ値テーブル(上記図4のファイル名値テーブル27に対応)を使用することができる。その場合,図3のドライバファイル検索部11の代わりにレジストリ値検索部を使用する。
【0050】
図15は実施例7のフローチャートで,レジストリ値テーブルを使用した場合のフローチャートである。図16はレジストリ値テーブルの構成例で示す。図16に示すレジストリ値テーブルの例では,各動作処理のIDに対応するレジストリ値セットは,ハードウェアIDをレジストリ値として使用し,そのハードウェアIDは別の動作処理のIDと共通に使用する場合を含む。
【0051】
図15の実施例7のフローチャートを概説する。最初にユーザの操作に基づくOSの指示により処理が開始されると,レジストリ値テーブル(図3のドライバファイルテーブル23の代わりに設ける)中のある一つのレジストリ値セットを取得し(図15のS1),取得したレジストリ値セットから最初のレジストリ値を一つ取得する(同S2)。次にレジストリからレジストリ値を取得し(図15のS3),取得したレジストリ値とテーブルのレジストリ値が一致するか判別し(同S4),一致しないとレジストリはすべて検索したか判別する(同S5)。ここで,すべて検索してないと判別されるとレジストリから次のレジストリ値を取得して(図15のS6),ステップS4に戻り,すべて検索したと判別されると,レジストリ値テーブル中の次のレジストリ値セットを取得し(同S7),レジストリ値セットが取得できたか判別して(同S8),取得できない場合(すべて取得した時),処理を終了する。
【0052】
上記ステップS4において,取得したレジストリ値とテーブルのレジストリ値が一致した場合は,レジストリ値セットから次のレジストリ値を取得し(図15のS9),レジストリ値は取得できたか判別し(同S10),取得できたら上記ステップS3に戻り同様の処理を実行し,取得できない場合,レジストリ値検索部はすべてのレジストリ値が存在したと判定し,動作処理切替部に動作処理IDを通知する(同S11)。次に動作処理切替部は動作処理のIDを動作処理部に通知し(図15のS12),動作処理部は所定の動作処理を実施して(同S13),終了する。
【0053】
図17,図18は実施例8のフローチャート(その1),(その2)である。この実施例8は,上記図4に示す本発明の第4の原理構成を実施するためのフローチャートであり,図17,図18に示すフローチャートは図4に示すインストール情報ファイル検索部16における検索を行い,インストール情報ファイル(Infファイルという)26aを含むファイル群格納部26を備え,レジストリ値テーブル(図4のファイル名値テーブル27に対応)は上記図16に実施例7で使用するものとして示す構成例と同様のテーブルを使用する。
【0054】
実施例8のフローチャートを概説すると,最初にユーザの操作に基づくOSの指示により処理が開始されると,ファイル群中の特定のInfファイルを一つ取得し(図17のS1),特定のInfファイルが取得できたか判別し(同S2),取得できないと処理を終了するが,取得できた場合はInfファイルをオープンし(同S3),レジストリ値テーブルにある一つのレジストリ値セットを取得して最初のレジストリ値を取得する(同S4)。ここでレジストリ値が取得できたか判別し(図17のS5),取得できないと処理を終了し,取得できた場合はInfファイル中から特定のセクション名(例えば,ControlFlags) とその内容(例えばExclude FromSelect= , 以下,特定の位置という)を検索し(同S6),特定のセクション名と特定の位置が存在したか判別する(同S7)。存在しないとこの処理が終了するが,存在すると特定の位置(例えばExclude FromSelect=)をすべて取得し(図17のS8),続いてすべての特定の位置の直後を参照したか判別し(同S9),参照した場合は処理を終了し,参照していない場合は,次の特定位置の直後からレジストリ値を取得する(同S10)。ここで,レジストリ値が取得できたか判別し(図17のS11),レジストリ値を取得できない場合はステップS6に移行し,取得できた場合はInfファイルから取得したレジストリ値とレジストリ値テーブルのレジストリ値を比較する(図17のS12)。
【0055】
ここで,レジストリ値が一致したか判別し(図18のS13),一致しないとレジストリ値セットは全て比較したか判別し(同S14),全て比較してない場合はステップS4に戻り,全て比較した場合は処理を終了する。上記ステップS13において,レジストリ値が一致した場合は,レジストリ値セット中のレジストリ値は全て比較したか判別し(図18のS15),比較していない場合は次のレジストリ値を取得し(同S16),ステップS6に移行する。
【0056】
上記ステップS15において,全て比較したと判別されると,レジストリ値検索部はすべてのレジストリ値が存在したと判定し,動作処理切替部に動作処理IDを通知し(図18のS17),動作処理切替部は動作処理のIDを動作処理部に通知し(同S18),動作処理部は所定の動作処理を実施して(同S19),処理を終了する。
【0057】
図19は本発明による動作処理切替の例を示す図であり,上記従来例(図20)に示すアンインストーラを一つにまとめた場合の例である。ここに示す動作処理切替テーブルを用いて処理の切替を行うことで,上記従来例に示すように6つのアンインストーラを作成することなく,一つのアンインストーラとしてまとめることができた。
【0058】
(付記1) アプリケーションの処理動作切替方法において,システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出し,前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
【0059】
(付記2) 付記1において,前記システム構成情報格納部の代わりに全てのファイルを格納したファイル群格納部からアプリケーションに対応するファイル名を取り出すことを特徴とするアプリケーションの処理動作切替方法。
【0060】
(付記3) アプリケーションの処理動作切替方法において,システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出し,前記取り出したファイル名により各アプリケーションの固有及び共通のファイル名及びファイルの総数が動作処理のIDに対応して設定されたドライバファイルテーブルを検索し,各動作処理のIDに対応して一致が検出される毎に対応するカウンタ変数をカウントする動作を前記ファイル群格納部から取り出した各ファイル名について順次行って,前記カウンタ変数のカウント値が前記ドライバファイルテーブルに設定されたファイルの総数に対応する動作処理のIDを検出すると,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
【0061】
(付記4) 付記3において,前記システム構成情報格納部の代わりに全てのファイルを格納したファイル群格納部からアプリケーションに対応するファイル名を取り出すことを特徴とするアプリケーションの処理動作切替方法。
【0062】
(付記5) アプリケーションの処理動作切替方法において,各アプリケーションの固有及び共通のファイル名の組み合わせがドライバファイルセットが動作処理のIDに対応して設定されたドライバファイルテーブルから一つドライバファイルセットを取り出し,前記ドライバファイルセットの中のファイル名について,システムの構成情報を格納したシステム構成情報格納部を検索し,何れかのドライバファイルセットの全てのファイル名が検出されると,対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
【0063】
(付記6) 付記5において,前記ドライバファイルセットの中のファイル名について,全てのファイルのファイル名を格納したファイル群格納部を検索することを特徴とするアプリケーションの処理動作切替方法。
【0064】
(付記7) アプリケーションの処理動作切替方法において,インストール情報ファイルを含むファイル名を格納したファイル群格納部からインストール情報ファイルを取り出し,ファイル名またはデバイス名等のファイル名値のセットが動作処理のIDに対応して設定されたファイル名値テーブルから一つのレジストリ値を取得し,前記インストール情報ファイルの内容から取得したレジストリ値と前記ファイル名値テーブルから取得したレジストリ値を比較して,全て一致すると前記ファイル名値テーブルの対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから取り出し,前記動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
【0065】
(付記8) アプリケーションの処理動作切替を行うためにコンピュータを,システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出すドライバファイル検索手段,前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って動作処理を切替える動作処理切替手段,切替えられた動作処理を実行する動作処理手段,として機能させるためのアプリケーションの処理動作切替を行うプログラム。
【0066】
(付記9) アプリケーションの処理動作切替を行うためにコンピュータを,システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出すドライバファイル検索手段,前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って動作処理を切替える動作処理切替手段,前記切替えられた動作処理を実行する動作処理手段,として機能させるためのアプリケーションの処理動作切替を行うプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0067】
【発明の効果】
本発明によれば次のような効果を奏する。
【0068】
▲1▼複数のアプリケーションを統合することが可能であるため,アプリケーションの開発工程の大幅な短縮が可能とする。
【0069】
▲2▼同じ機能コンポーネントを持った複数のアプリケーションを統合することで,アプリケーションメンテナンス作業が大幅に軽減される。
【0070】
▲3▼アプリケーションが1個に統合されれば,ユーザは複数のアプリケーションから必要なものを選択する手間を無くなり,負担を軽くすることができる。
【0071】
▲4▼複数の処理コンポーネントを組み合わせることが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の原理構成を示す図である。
【図2】本発明の第2の原理構成を示す図である。
【図3】本発明の第3の原理構成を示す図である。
【図4】本発明の第4の原理構成を示す図である。
【図5】実施例1のフローチャートを示す図である。
【図6】固有ドライバファイルテーブルと動作処理切替テーブルの構成例を示す図である。
【図7】実施例2のフローチャートを示す図である。
【図8】固有レジストリキーテーブルの構成例を示す図である。
【図9】実施例3のフローチャートを示す図である。
【図10】ドライバファイルテーブルとカウンタ変数格納部の構成例を示す図である。
【図11】実施例4のフローチャートを示す図である。
【図12】レジストリキーテーブルの構成例を示す図である。
【図13】実施例5のフローチャートを示す図である。
【図14】実施例6のフローチャートを示す図である。
【図15】実施例7のフローチャートを示す図である。
【図16】レジストリ値テーブルの構成例を示す図である。
【図17】実施例8のフローチャート(その1)を示す図である。
【図18】実施例8のフローチャート(その2)を示す図である。
【図19】本発明による動作処理切替の例を示す図である。
【図20】従来例のアプリケーションの例を示す図である。
【符号の説明】
10   OS
11   ドライバファイル検索部
12   動作処理切替部
13   動作処理部
20   システム構成情報格納部
21   固有ドライバファイルテーブル
22   動作処理切替テーブル
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a processing operation switching method, a program, and a recording medium for an application operated by an OS (Operating System).
[0002]
Executing a plurality of applications that operate differently on an OS (for example, Windows (registered trademark)) requires a user to select an application to be executed from the plurality of applications, and the developer needs to develop an application. This led to an increase in process and maintenance work. Therefore, an improvement for integrating a plurality of applications into one has been desired.
[0003]
[Prior art]
FIG. 20 is an explanatory diagram of a conventional example. This explanatory diagram shows an example of an uninstaller which is a program for deleting (uninstalling) drivers of various devices of a computer such as a personal computer as an application. The uninstaller is composed of a combination of a user interface, a registry deletion item (pattern), and a file deletion item (pattern). In this example, six examples of uninstaller 1 to uninstaller 6 shown by a to f in FIG. 20 are shown, and three patterns are used as different user interfaces and four as registry deletion items (patterns) corresponding to different types of devices. Three patterns are used as the pattern and the file deletion item (pattern), and it is necessary to create an uninstaller corresponding to each device.
[0004]
Similarly, for other applications, there are a plurality of applications each formed by a combination of a plurality of items of the same type having different patterns.
[0005]
In addition, when the control means of an information device such as a personal computer performs a control operation of a device, an operator does not need to select a predetermined driver by a complicated switch operation, and can perform a control operation of a desired device accurately. For this purpose, a first driver setting program for selecting a default first driver program specified in advance is stored, and a second setting program different from the first driver setting program is stored. When a control unit that performs a control operation based on a program executes a control operation of a desired device, a second driver different from the first driver specified by the second driver setting program is stored. Select a driver program and index each program of multiple drivers to show the program contents Subjected to, when not able to select the program of the second driver, there is a method of selecting by searching the program driver index indicating the processing contents to be executed is attached. (See Patent Document 1).
[0006]
[Patent Document 1]
JP-A-9-305523 (page 1-2, FIG. 1)
[0007]
[Problems to be solved by the invention]
As described above, conventionally, it is necessary to create a plurality of applications each having a processing operation for switching a plurality of processing procedures, so that there is a problem that it takes time and effort to create an application. In the example of FIG. 20, the uninstallers 1 to 6 need to create interfaces, registries, and files corresponding to individual patterns, respectively, and execute them individually.
[0008]
In addition, there is a problem that work for maintaining these plural applications is required. Further, there is a problem that a burden is imposed on the user to select a necessary one from the plurality of applications. Further, the method of Patent Document 1 is a technique for selecting a program such as a driver, and does not solve the above-described problem with an application in which a plurality of processes are combined.
[0009]
An object of the present invention is to provide an application processing operation switching method, a program, and a recording medium that simplify creation of a plurality of applications having the same functions as described above and enable integration.
[0010]
[Means for Solving the Problems]
FIG. 1 is a diagram showing a first principle configuration of the present invention. In the figure, 1 is a processing device, 10 is an OS, 11 is a driver file search unit, 12 is an operation processing switching unit, 13 is an operation processing unit, and 20 contains a file name corresponding to an application (driver) provided in the system. A system configuration information storage unit in which system configuration information is stored, 21 is a unique driver file table in which an operation process ID (identification number) including the retrieved unique driver file is set, and 22 is an operation corresponding to the operation process ID. 9 is an operation processing switching table in which a processing order (operation processing pattern) is set.
[0011]
When the OS 10 of the processing device 1 is driven by a user's instruction and an application (including a driver name) corresponding to the instruction is given to the driver file search unit 11, the driver file search unit 11 is stored in the system configuration information storage unit 20. The file name corresponding to the application (driver) is extracted from the data of many driver corresponding file names. This file name is common to the application (driver) and common, and the driver file search unit 11 searches the unique driver file table 21 using the searched file name.
[0012]
The unique driver file table 21 stores an operation processing ID (identification number) corresponding to a unique driver file name (including a plurality of driver files) of each driver set in advance. Is compared with the unique file name of the unique driver file table 21 by using the file name searched from. If there is one that matches one of the unique file names of the driver set in the unique driver file table 21, the searched file name is Since this corresponds to the matched driver set, the ID of the corresponding operation process is extracted from the unique driver file table 21. Next, when the ID of the operation process is input to the operation process switching unit 12, the operation process switching unit 12 refers to the operation process switching table 22 and sets the operation process order (corresponding to the input operation process ID). By instructing the operation processing unit 13 to perform one or a plurality of operation processes (functions) according to the (combination), one or a plurality of operation processes are executed in order.
[0013]
In FIG. 1, the system configuration information storage unit 20 storing the file names of the applications installed on the computer and the unique driver file table 21 are used. A driver file search unit 11 searches for a driver file from a file group by using a file group storage unit (not shown) storing the files described above, and uses the same specific driver file table 21 as in FIG. Can be done. Also, a driver file key (for example, a registry key) is used instead of the system configuration information storage unit 20, and a unique driver file key (for example, a registry key) corresponding to the ID of each operation process is used instead of the unique driver file table 21. 1 can be operated using the driver file search unit 11 of FIG. 1 using the driver file key (registry key) search unit on the same principle.
[0014]
FIG. 2 is a diagram showing a second principle configuration of the present invention. In the figure, 1, 10 to 13, 20, and 22 have the same numbers as those in FIG. 1, 1 is a processing device, 10 is an OS, 11 is a driver file search unit, 12 is an operation process switching unit, and 13 is an operation A processing unit, 20 is a system configuration information storage unit, and 22 is an operation processing switching table. Numerals 14, 23 and 24 are components newly provided according to the second principle configuration. Numeral 14 is a file counter unit. Numeral 23 is a component storing only the specific driver file as in the specific driver file table of FIG. The driver file table 24 stores the names of all driver files (including unique driver files and common files), the number of files, and the IDs of operation processes for each driver set (application combining a plurality of files). This is a counter variable storage unit.
[0015]
In the second principle configuration, similarly to the first principle configuration of FIG. 1, the OS is driven to give an application (including a driver) to the driver file search unit 11, and the driver file search unit 11 stores the system configuration information. The file names (including a plurality of file names) corresponding to the applications are extracted from the data of many driver corresponding file names stored in the unit 20. The file name includes a file name unique to the application and a file name common to the application. The driver file search unit 11 uses the extracted file names to match the driver file table 23 with the files in each of the operation processing IDs. If the values match, the counter variable corresponding to the ID of the operation process to which the file name belongs in the counter variable storage unit 24 provided in the file counter unit 14 is counted (+1). In this way, when each file name obtained from the system configuration information storage unit 20 is compared with the file name of each operation process by ID, the counter of each operation process corresponding to each ID is counted. When this search is completed, the operation process switching unit 12 acquires the count value corresponding to the ID of each operation process in the counter variable storage unit 24, and sets the ID of the operation process that matches the counter value set in the driver file table 23. Upon detection, the operation processing switching table 22 is referenced using the ID, and the order (combination) of the corresponding operation processing is switched.
[0016]
In FIG. 2, the system configuration information storage unit 20 storing the file names of the applications mounted on the computer and the driver file table 23 are used, but the system configuration information storage unit 20 is not a file corresponding to a driver but a general file. Using a file group storage unit storing a large number of files and using the same driver file table 23 as in FIG. Also, a driver file key (for example, a registry key) is used instead of the system configuration information storage unit 20, and a driver file key (for example, a registry key) corresponding to each operation processing ID is used instead of the driver file table 23. It is possible to operate on the same principle using the set table.
[0017]
FIG. 3 is a diagram showing a third principle configuration of the present invention. In the figure, 1, 10 to 13, 20, and 22 have the same numbers as those in FIG. 1, 1 is a processing device, 10 is an OS, 11 is a driver file search unit, 12 is an operation process switching unit, and 13 is an operation A processing unit, 20 is a system configuration information storage unit, and 22 is an operation processing switching table. Reference numeral 23 denotes a driver file table in which all driver file names (including unique driver files and common files) of the same driver file set as those provided in FIG. is there.
[0018]
In the third principle configuration, when an application (driver) indicated by the OS 10 of the processing device 1 is supplied to the driver file search unit 11 by an instruction from the user, the driver file search unit 11 The set is taken out, the driver file name in the system configuration information storage unit 20 is taken out using the driver file in the set, and it is determined whether or not they match, and if not, the next driver file name is taken out from the system configuration information storage unit 20 and Determine whether they match. When a match is obtained, the next driver file of the driver file set in the driver file table 23 is extracted, and the same operation as described above is performed. In this way, when it is found that all the driver files of a certain driver file set in the driver file table 23 exist in the system configuration information storage unit 20, the operation process switching unit 12 is notified of the operation process ID and the operation process switching unit 12 is notified. Performs the operation processing corresponding to the operation processing ID by the operation processing unit 13.
[0019]
In FIG. 3, the system configuration information storage unit 20 storing the file names of the applications mounted on the computer and the driver file table 23 storing all the driver file names are used. Using a file group storage unit storing general files instead of corresponding files and using the same driver file table 23 as in FIG. 3, it is possible to operate on the same principle. Also, a driver file key (for example, a registry key) is used instead of the system configuration information storage unit 20, and a driver file key (for example, a registry key) corresponding to each operation processing ID is used instead of the driver file table 23. It is possible to operate on the same principle using the set table.
[0020]
FIG. 4 is a diagram showing a fourth principle configuration of the present invention. In the figure, 1, 10, 12, 13, and 22 have the same numbers as those in FIG. 1, 1 is a processing device, 10 is an OS, 12 is an operation processing switching unit, 13 is an operation processing unit, and 22 is an operation processing unit. It is a switching table. As components specific to the fourth principle configuration, reference numeral 16 denotes an installation information (indicated by Inf) file search unit; 26, a file group storage unit; and 26a, a device driver registered in the file group storage unit 26 when installing a device driver. An installation information (indicated by Inf) file to be used, a plurality of sets of file name values 27 representing values such as file names (or device names, hardware IDs), etc., are set corresponding to operation processing IDs. It is a file name value table.
[0021]
In the fourth principle configuration, the installation information file search unit 16 acquires one installation information file (Inf file) 26a in the file group storage unit 26, extracts one file name value set from the file name value table 27, and , It is determined whether or not it matches the contents of the acquired installation information file 26a. If it does not match, another set of file names is extracted from the file name value table 27 to determine if it matches. When the ID of the operation process to be performed is extracted from the file name value table 27 and supplied to the operation process switching unit 12, the operation process switching unit 12 performs the operation process corresponding to the operation process ID according to the operation process switching table 22 by the operation processing unit 13. .
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 5 is a flowchart of the first embodiment, and FIG. 6 is a configuration example of a unique driver file table and an operation processing switching table.
[0023]
The first embodiment corresponds to the first principle configuration of the present invention shown in FIG. 1 and is a flowchart for realizing a program by a computer. The flowchart shown in FIG. 5 is executed by using each table shown in FIG. Execute. In the flowchart of the first embodiment, a "registry" used in a conventional personal computer is used as a system configuration information storage unit (20 in FIG. 1).
[0024]
The configuration of the unique driver file table (21 in FIG. 1) according to the first embodiment is the same as that of A.I. As shown in a specific example, the operation processing ID is composed of ID1, ID2, and ID3. ID1 has a unique file name of aaa1. sys, bbb1. sys, ccc1. sys, ddd1. sys has four unique file names, and ID2 has aaa2. sys and bbb2. sys has two unique file names, and ID3 has three unique file names shown in the figure. The configuration of the operation processing switching table 22 is the same as that shown in FIG. In the case of ID1, as shown in the example, the operation processing (processing order) is the first operation 1, the second operation 2, the third operation 3 and the fourth operation 4. In the case of ID2, the operation processing is The first is operation 1, the second is operation 4, and the third is operation 3. The operations 1, 2 and so on represent, for example, uninstallers 1 and 2, respectively (or operation 1 represents a registry deletion pattern 1 and operation 2 represents a file deletion pattern 1 and the like). .
[0025]
The flowchart shown in FIG. 5 will be described with reference to FIG. 1. When the process is started by an instruction from the OS, a driver file name is obtained from a registry (corresponding to 20 in FIG. 1) (S1 in FIG. 5). Then, the driver file search unit refers to the unique driver file table and verifies whether or not it matches the acquired driver file name (S2). Here, it is determined whether at least one file name matches (S3 in FIG. 5). If they do not match, it is determined whether all registries have been searched (S4). However, if all have not been searched (there is a remainder), the process returns to S1. If a match is detected in step S3, the driver file search unit (11 in FIG. 1) notifies the operation processing switching unit (12 in FIG. 1) of the search result (S5 in FIG. 5). The ID of the operation process is acquired based on the result obtained by referring to the driver file name and the unique driver file table (21 in FIG. 1, A. in FIG. 6) (S6 in FIG. 5). Thereafter, the operation processing switching unit notifies the operation processing ID (13 in FIG. 1) of the ID of the operation processing (S7 in FIG. 5), and the operation processing unit performs a predetermined operation (S8 in FIG. 5) and ends. .
[0026]
In the above flowchart, the registry is used. However, when the storage unit of the file group used in a general personal computer is used, the flowchart of FIG. The other processes are the same except that the process is changed to the process of acquiring.
[0027]
Next, a unique registry in which a registry is used instead of the system configuration information storage unit 20 in FIG. 1 and a unique driver file key (for example, a registry key) corresponding to the ID of each operation process is set instead of the unique driver file table 21. FIG. 7 is a flowchart of a second embodiment in which the function of the driver file search unit 11 of FIG. 1 is implemented by a registry key search unit that searches a registry key using a key table.
[0028]
FIG. 8 is a configuration example of a unique registry key table used in the second embodiment. In this example, a combination of unique registry key names is set for each operation processing ID. The operation processing switching table in the second embodiment is the same as that in the first embodiment (B in FIG. 6), and is not shown.
[0029]
7, a registry key name is obtained from a registry (a file provided in place of the system configuration information storage unit 20 in FIG. 1) (S1 in FIG. 7), and a registry key search unit (driver file in FIG. 1) The search unit provided in place of the search unit 11 refers to the unique registry key table, verifies whether or not it matches the acquired registry key name (S2), and determines whether or not it matches (S3). If they do not match, it is determined whether or not all the registries have been searched (S4 in FIG. 7). If all have been searched, the process ends, but if not all have been searched, the process returns to step S1. When a match is detected in step S3, the registry search unit notifies the operation process switching unit of the search result, and the operation process switch unit searches the registry key name and the unique registry key table (an example of a configuration is shown in FIG. 8). Is acquired based on the result of referring to (step S6), the operation processing switching unit notifies the operation processing unit of the operation processing ID (step S7), and the operation processing unit performs predetermined operation processing. (S8), and the process ends.
[0030]
FIG. 9 is a flowchart of the third embodiment, and FIG. 10 is a configuration example of a driver file table and a counter variable storage unit used in the third embodiment.
[0031]
The third embodiment is a flowchart for realizing the second principle configuration of the present invention shown in FIG. 2 by a computer. The flowchart shown in FIG. 9 is replaced by a driver file table (23 in FIG. 2) shown in FIG. This is executed using the counter variable storage (24 in FIG. 2). In this flowchart, a registry is used as the system configuration information storage unit (20 in FIG. 1), as in the case of the first embodiment (FIG. 5), and the driver file table 23 stores the A.D. As shown in FIG. 2, the IDs of the operation processes are ID1, ID2, and ID3. Each ID has a unique file name (a file name used only for a specific operation process ID) and a common file name (the name of another operation process). In the example of ID1, aaa1. sys,..., ddd1. sys is a unique file name and common1. sys, ... common3. sys is a common file name. In this driver file table, the number of files obtained by adding the number of unique file names and the number of common file names is set for each operation process ID, and the number of files corresponding to the application specified in the flowchart of FIG. Used to identify the ID.
[0032]
The operation processing switching table (22 in FIG. 2) used in the third embodiment is the same as that used in the first embodiment (see B in FIG. 6), and is not shown. In addition, in FIG. Are provided with three variables CNT1 to CNT3 as counter variables, and each counter variable corresponds to ID1 to ID3 of the ID of the operation processing.
[0033]
When the process is started by an instruction of the OS based on a user operation, the driver file name is obtained from a registry (used instead of the system configuration information storage unit 20 of FIG. 2) (FIG. 9). 9 S1), the driver file search unit refers to the driver file table (23 in FIG. 2) and verifies whether or not it matches the acquired driver file name (S2 in FIG. 9). Here, it is determined whether the file names match (S3 in FIG. 9). If they do not match, the process proceeds to step S5 described later. If they match, the number of files is counted by the file counter unit (14 in FIG. 2). (S4 in FIG. 9).
[0034]
In this case, if the file name acquired from the registry is “aaa1.sys”, the file name “A. 10 corresponds to the file name of ID1 of the operation processing in the driver file table shown in FIG. Is counted (+1) in CNT1 of the counter variable storage section shown in FIG.
[0035]
Thereafter, it is determined whether or not all registries have been searched (S5 in FIG. 9). If not, the process returns to step S1 to acquire the next driver file name from the registry and execute the processing of S1 to S5. When all the registries have been searched, the file counter notifies the operation processing switching unit of the count result (S6 in FIG. 9), and the operation processing switching unit performs the operation processing based on the number of files and the result obtained by referring to the driver file table. An ID is obtained (S7). In this processing, B. of FIG. The count value for each counter name (for each ID) in the counter variable storage section shown in FIG. It is checked whether the number of files corresponds to the number of files corresponding to the ID of each operation process shown in FIG. When the ID of the operation process is given to the operation process switching unit, the operation process switching unit switches the order / combination of the operation process of the operation process ID acquired with reference to the operation process switching table (FIG. 9). (S8), the operation processing section performs a predetermined operation (S9), and ends.
[0036]
In the flowchart of the third embodiment, a registry is used as the system configuration information storage unit (20 in FIG. 2). However, when a file group storage unit used in a general personal computer is used, The flowchart of FIG. 9 is the same as FIG. 9 except that step S1 is changed to a process of acquiring a driver file name from a file group.
[0037]
Further, in the second principle configuration shown in FIG. 2, a registry is used instead of the system configuration information storage unit 20, and all registry key sets corresponding to the IDs of the respective operation processes (driver registry table 23) are used as the driver file table 23. Using the registry key table that sets the number of registry keys and the registry key number, the function of the driver file search unit 11 of FIG. 2 is executed by the registry key search unit, and the file counter unit 14 of FIG. It can be executed by using a registry key counter unit and a counter variable storage unit having a similar configuration instead of the unit 24.
[0038]
A flowchart when the registry key table is used is shown in FIG. 11 as a flowchart of the fourth embodiment, and FIG. 12 shows a configuration example of the registry key table.
[0039]
The flowchart of the fourth embodiment will be briefly described. A registry key name is obtained from a registry (provided instead of the system configuration information storage unit 20 in FIG. 2) (S1 in FIG. 11), and a registry key search unit (driver file search in FIG. 2). (Provided instead of the unit 11) refers to a registry key table (provided instead of the driver file table 23), and verifies whether or not it matches the acquired registry key name (S2). Here, it is determined whether the obtained registry key name matches the registry key name in the registry key table. If not, the process proceeds to step S5 described later. Are counted (S4 in FIG. 11). Next, it is determined whether or not all the registries have been searched (S5 in FIG. 11). If not, the process returns to step S1. If all the registries have been searched, the registry key counter notifies the operation processing switching unit of the count result (see FIG. 11). S6). The operation processing switching unit obtains the ID of the operation processing based on the number of registry keys and the result of referring to the registry key table (S7 in FIG. 11), and the operation processing switching unit obtains the operation processing obtained by referring to the operation processing switching table. The switching of the order / combination of the ID operation processing is performed (S8), the operation processing unit performs predetermined operation processing (S9), and ends the processing.
[0040]
FIG. 13 is a flowchart of the fifth embodiment.
[0041]
Embodiment 5 is a flowchart for realizing the third principle configuration of the present invention shown in FIG. 3 by a computer. In the flowchart shown in FIG. 13, a system configuration information storage unit (20 in FIG. 3) is replaced. In the same manner as in the first embodiment (FIG. 5), the registry is used, and the driver file table 23 stores all driver file names (specific (Composed of a file name and a common file name), but the number of files is not set. The operation processing switching table (22 in FIG. 3) used in the fifth embodiment is the same as that used in the first embodiment (see B in FIG. 6), and is not shown.
[0042]
When the process is started by an instruction from the OS based on a user operation, one of the driver file sets is acquired from a registry (corresponding to 20 in FIG. 2) (S1 in FIG. 13). Then, one driver file name is acquired from the acquired driver file set (S2). Next, a file name is obtained from the beginning of the registry (S3 in FIG. 13), it is determined whether the obtained file name matches the driver file name (S4), and if not, it is determined whether all registries have been searched (FIG. 13). S5). Here, if it is determined that not all have been searched, a file name is acquired by referring to the next registry (S6 in FIG. 13), and the process returns to step S4. The next driver file set is acquired (S7), and if the driver file set cannot be acquired (when all are acquired), the process ends.
[0043]
If the acquired file name and the driver file name match in step S4, the next driver file name is acquired from the driver file set (S9 in FIG. 13), and it is determined whether the driver file has been acquired (S10). If it can be obtained, the process returns to step S3 to execute the same processing. If it cannot be obtained, the driver file search unit determines that all the driver files exist and notifies the operation process switching unit of the operation process ID (S11). ). Next, the operation processing switching unit notifies the operation processing unit of the ID of the operation processing (S12 in FIG. 13), and the operation processing unit performs predetermined operation processing (S13), and ends.
[0044]
In the flowchart of the fifth embodiment, the registry is used as the system configuration information storage unit (20 in FIG. 3). However, when the storage unit of the file group used in the general personal computer is used, The flowchart in FIG. 13 is changed to a process of acquiring the first file name from the file group in step S3, and is changed to a process of referring to the next file name from the file group in step S6. The processing is the same as in FIG.
[0045]
Further, in the third principle configuration shown in FIG. 3, a registry is used instead of the system configuration information storage unit 20, and instead of the driver file table 23, all registry key sets corresponding to IDs of respective operation processes (common and unique Using the registry key table in which the registry key combination is set, the function of the driver file search unit 11 of FIG. 2 can be executed by the registry key search unit.
[0046]
FIG. 14 shows a flowchart in the case of using the registry key table as the flowchart of the sixth embodiment.
[0047]
The flowchart of the sixth embodiment shown in FIG. 14 is briefly described. When the process is started by an instruction from the OS based on a user operation, a certain registry in a registry key table (provided instead of the driver file table 23 in FIG. 3) is provided. A key set is acquired (S1 in FIG. 14), and one registry key name is acquired from the acquired registry key set (S2). Next, a registry key name is obtained from the registry (S3 in FIG. 14), it is determined whether the obtained registry key name matches the registry key name in the table (S4), and if not, it is determined whether the registry has been completely searched. (S5). Here, if it is determined that not all have been searched, the next registry key name is referred (S6 in FIG. 14), and the process returns to step S4. If it is determined that all have been searched, the next registry key in the registry key table is searched. A registry key set is obtained (S7), and it is determined whether the registry key set has been obtained (S8). If the registry key set cannot be obtained, the process is terminated. If the registry key set can be obtained, the process returns to S2 and the same process is performed. Do.
[0048]
In step S4, if the acquired registry key name matches the registry key name in the table, the next registry key is acquired from the registry key set (S9 in FIG. 14), and it is determined whether the registry key has been acquired (S9). S10) If it can be obtained, the process returns to step S3 to execute the same processing. If it cannot be obtained, the registry key search unit determines that all the registry keys exist and notifies the operation process switching unit of the operation process ID (step S10). S11). Next, the operation processing switching unit notifies the operation processing unit of the ID of the operation processing (S12 in FIG. 14), and the operation processing unit performs predetermined operation processing (S13), and ends.
[0049]
In the case of the flowchart of the sixth embodiment shown in FIG. 14, a registry is used as the system configuration information storage unit 20 in the third principle configuration (FIG. 3), and a driver file table 23 is provided for all of the IDs of the respective operation processes. Although the registry key table in which the registry key set is set is used, all the registry values of the registry value set combining the registry values (values such as a file name, a device name, and a hardware ID) as the driver file table 23 and the ID of the operation process are used. Can be used (corresponding to the file name value table 27 in FIG. 4 described above). In that case, a registry value search unit is used instead of the driver file search unit 11 of FIG.
[0050]
FIG. 15 is a flowchart according to the seventh embodiment, in which a registry value table is used. FIG. 16 shows a configuration example of the registry value table. In the example of the registry value table shown in FIG. 16, the registry value set corresponding to the ID of each operation process uses a hardware ID as a registry value, and the hardware ID is used in common with the ID of another operation process. Including cases.
[0051]
The flowchart of the seventh embodiment in FIG. 15 will be outlined. When the process is first started by an instruction from the OS based on a user operation, one registry value set in a registry value table (provided instead of the driver file table 23 in FIG. 3) is acquired (S1 in FIG. 15). ), The first registry value is obtained from the obtained registry value set (S2). Next, a registry value is obtained from the registry (S3 in FIG. 15), it is determined whether the obtained registry value matches the registry value in the table (S4), and if not, it is determined whether all the registries have been searched (S5). ). Here, if it is determined that not all have been searched, the next registry value is obtained from the registry (S6 in FIG. 15), and the process returns to step S4. If it is determined that all have been searched, the next registry value in the registry value table is displayed. Is obtained (S7), and it is determined whether the registry value set has been obtained (S8). If the registry value set cannot be obtained (when all are obtained), the process is terminated.
[0052]
In step S4, if the acquired registry value matches the registry value in the table, the next registry value is acquired from the registry value set (S9 in FIG. 15), and it is determined whether the registry value has been acquired (S10). If it can be obtained, the process returns to step S3 to execute the same processing. If it cannot be obtained, the registry value search unit determines that all the registry values exist and notifies the operation process switching unit of the operation process ID (S11). ). Next, the operation processing switching unit notifies the operation processing ID to the operation processing unit (S12 in FIG. 15), and the operation processing unit performs predetermined operation processing (S13), and ends.
[0053]
17 and 18 are flowcharts (No. 1) and (No. 2) of the eighth embodiment. Embodiment 8 is a flowchart for implementing the fourth principle configuration of the present invention shown in FIG. 4 above. The flowcharts shown in FIGS. 17 and 18 are obtained by searching the installation information file search unit 16 shown in FIG. And a file value storage unit 26 including an installation information file (referred to as an Inf file) 26a. A registry value table (corresponding to the file name value table 27 in FIG. 4) is shown in FIG. A table similar to the configuration example is used.
[0054]
When the process is first started by an instruction from the OS based on the operation of the user, one specific Inf file in the file group is acquired (S1 in FIG. 17), and the specific Inf file is acquired. It is determined whether or not the file has been acquired (S2). If the file cannot be acquired, the process is terminated. If the file can be acquired, the Inf file is opened (S3), and one registry value set in the registry value table is acquired. The first registry value is obtained (S4). Here, it is determined whether or not the registry value has been acquired (S5 in FIG. 17). If the registry value cannot be acquired, the process is terminated. =, Hereinafter referred to as a specific position) (S6), and it is determined whether a specific section name and a specific position exist (S7). If it does not exist, this process ends. If it does exist, all the specific positions (for example, Exclude FromSelect =) are acquired (S8 in FIG. 17), and it is determined whether the reference immediately after all the specific positions has been made (S9). ), If it is referred to, the process is terminated; if not, the registry value is obtained immediately after the next specific position (S10). Here, it is determined whether the registry value has been obtained (S11 in FIG. 17). If the registry value cannot be obtained, the process proceeds to step S6. If the registry value can be obtained, the registry value obtained from the Inf file and the registry value in the registry value table are obtained. Are compared (S12 in FIG. 17).
[0055]
Here, it is determined whether the registry values match (S13 in FIG. 18). If they do not match, it is determined whether all the registry value sets have been compared (S14). If not, the process returns to step S4 and all the comparisons are performed. If so, the process ends. In step S13, if the registry values match, it is determined whether all the registry values in the registry value set have been compared (S15 in FIG. 18), and if not, the next registry value is acquired (S16). ), And proceeds to step S6.
[0056]
If it is determined in step S15 that all the comparisons have been made, the registry value search unit determines that all registry values exist, notifies the operation processing switching unit of the operation processing ID (S17 in FIG. 18), and executes the operation processing. The switching unit notifies the operation processing unit of the ID of the operation processing (S18), and the operation processing unit performs predetermined operation processing (S19), and ends the processing.
[0057]
FIG. 19 is a diagram showing an example of operation processing switching according to the present invention, and is an example in which the uninstallers shown in the conventional example (FIG. 20) are combined into one. By performing the process switching using the operation process switching table shown here, it is possible to combine the processes into one uninstaller without creating six uninstallers as shown in the above-described conventional example.
[0058]
(Supplementary Note 1) In the application processing operation switching method, a file name corresponding to an application is extracted from a system configuration information storage unit that stores system configuration information, and one or a plurality of unique names of each application are extracted using the extracted file name. A unique driver file table whose file name is set corresponding to the ID of the operation process is searched, and if even one of the unique file names matches, the ID of the corresponding operation process is extracted, and the operation process corresponding to the ID of the operation process is performed. A switching operation according to the operation processing procedure corresponding to the ID of the operation processing extracted from the table storing the operation processing, and sequentially executes the operation processing.
[0059]
(Supplementary Note 2) The application processing operation switching method according to supplementary note 1, wherein a file name corresponding to the application is extracted from a file group storage unit that stores all files instead of the system configuration information storage unit.
[0060]
(Supplementary Note 3) In the application processing operation switching method, a file name corresponding to an application is extracted from a system configuration information storage unit that stores system configuration information, and a unique file name and a common file name of each application are extracted based on the extracted file name. An operation of searching a driver file table in which the total number of files is set corresponding to the operation processing ID and counting the corresponding counter variable each time a match is detected corresponding to each operation processing ID is performed by the file group. When the count value of the counter variable detects the ID of the operation process corresponding to the total number of files set in the driver file table, the operation is sequentially performed for each file name extracted from the storage unit, and the operation corresponding to the ID of the operation process is performed. The action extracted from the table storing the processing procedure A processing operation switching method for an application, wherein switching is performed in accordance with an operation processing procedure corresponding to an operation processing ID and operation processing is sequentially performed.
[0061]
(Supplementary note 4) The application processing operation switching method according to supplementary note 3, wherein a file name corresponding to the application is extracted from a file group storage unit that stores all files instead of the system configuration information storage unit.
[0062]
(Supplementary Note 5) In the application processing operation switching method, one driver file set is extracted from a driver file table in which a combination of a unique and common file name of each application is set corresponding to the operation processing ID of the driver file set. For a file name in the driver file set, a system configuration information storage unit storing system configuration information is searched, and when all the file names of any of the driver file sets are detected, the corresponding operation processing is performed. An application processing operation wherein an ID is extracted, and the operation processing is sequentially executed by switching from a table storing an operation processing procedure corresponding to the ID of the operation processing in accordance with the operation processing procedure corresponding to the extracted operation processing ID. Switching method.
[0063]
(Supplementary note 6) The method according to Supplementary note 5, wherein a search is performed for a file group storage unit that stores the file names of all the files for the file names in the driver file set.
[0064]
(Supplementary Note 7) In the application processing operation switching method, the installation information file is extracted from the file group storage unit that stores the file name including the installation information file, and a file name value such as a file name or a device name is set as the operation processing ID. One registry value is obtained from the file name value table set corresponding to the above, and the registry value obtained from the contents of the installation information file is compared with the registry value obtained from the file name value table. An ID of the corresponding operation process in the file name value table is extracted, extracted from a table storing an operation process procedure corresponding to the ID of the operation process, and switched according to the operation process procedure to sequentially execute the operation process. How to switch the processing operation of the application.
[0065]
(Supplementary Note 8) A driver file search unit that retrieves a file name corresponding to an application from a system configuration information storage unit that stores system configuration information, in order to switch the processing operation of the application, uses the retrieved file name. One or more unique file names of each application are searched for a unique driver file table set in correspondence with the ID of the operation process, and if even one of the unique file names matches, the ID of the corresponding operation process is extracted and the operation process is performed. Functions as operation processing switching means for switching operation processing in accordance with the operation processing procedure corresponding to the ID of the operation processing taken out from the table storing the operation processing procedure corresponding to the ID of the operation processing, and operation processing means for executing the switched operation processing Switch the processing operation of the application to The program to do.
[0066]
(Supplementary Note 9) A driver file search unit that retrieves a file name corresponding to an application from a system configuration information storage unit that stores system configuration information, in order to switch the processing operation of the application, uses the retrieved file name. One or more unique file names of each application are searched for a unique driver file table set in correspondence with the ID of the operation process, and if even one of the unique file names matches, the ID of the corresponding operation process is extracted and the operation process is performed. Operation processing switching means for switching the operation processing in accordance with the operation processing procedure corresponding to the ID of the operation processing taken out from the table storing the operation processing procedure corresponding to the operation ID, and operation processing means for executing the switched operation processing. Turn off application processing to make it function Computer-readable recording medium on which a replacement program is recorded.
[0067]
【The invention's effect】
According to the present invention, the following effects can be obtained.
[0068]
(1) Since a plurality of applications can be integrated, the application development process can be significantly reduced.
[0069]
(2) By integrating a plurality of applications having the same functional components, application maintenance work is greatly reduced.
[0070]
{Circle around (3)} When the applications are integrated into one, the user does not have to select necessary applications from a plurality of applications, and the burden can be reduced.
[0071]
(4) A plurality of processing components can be combined.
[Brief description of the drawings]
FIG. 1 is a diagram showing a first principle configuration of the present invention.
FIG. 2 is a diagram showing a second principle configuration of the present invention.
FIG. 3 is a diagram showing a third principle configuration of the present invention.
FIG. 4 is a diagram showing a fourth principle configuration of the present invention.
FIG. 5 is a diagram showing a flowchart of the first embodiment.
FIG. 6 is a diagram illustrating a configuration example of a unique driver file table and an operation processing switching table.
FIG. 7 is a diagram showing a flowchart of a second embodiment.
FIG. 8 is a diagram showing a configuration example of a unique registry key table.
FIG. 9 is a diagram illustrating a flowchart of a third embodiment.
FIG. 10 is a diagram illustrating a configuration example of a driver file table and a counter variable storage unit.
FIG. 11 is a diagram illustrating a flowchart of a fourth embodiment.
FIG. 12 is a diagram illustrating a configuration example of a registry key table.
FIG. 13 is a diagram showing a flowchart of the fifth embodiment.
FIG. 14 is a diagram showing a flowchart of a sixth embodiment.
FIG. 15 is a diagram illustrating a flowchart of a seventh embodiment.
FIG. 16 is a diagram illustrating a configuration example of a registry value table.
FIG. 17 is a view showing a flowchart (No. 1) of the eighth embodiment.
FIG. 18 is a diagram illustrating a flowchart (part 2) of the eighth embodiment.
FIG. 19 is a diagram showing an example of operation processing switching according to the present invention.
FIG. 20 is a diagram illustrating an example of a conventional application.
[Explanation of symbols]
10 OS
11 Driver file search section
12 Operation processing switching unit
13 Motion processing unit
20 System configuration information storage
21 Unique driver file table
22 Operation processing switching table

Claims (5)

アプリケーションの処理動作切替方法において,
システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出し,
前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,
動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
In the application processing operation switching method,
Extract the file name corresponding to the application from the system configuration information storage unit that stores the system configuration information,
Using the extracted file name, a unique driver file table in which one or a plurality of unique file names of each application is set corresponding to the operation processing ID is searched. Extract the processing ID,
A processing operation switching method for an application, wherein switching is performed in accordance with the operation processing procedure corresponding to the extracted operation processing ID from a table storing the operation processing procedure corresponding to the operation processing ID, and the operation processing is sequentially executed.
アプリケーションの処理動作切替方法において,
システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出し,
前記取り出したファイル名により各アプリケーションの固有及び共通のファイル名及びファイルの総数が動作処理のIDに対応して設定されたドライバファイルテーブルを検索し,
各動作処理のIDに対応して一致が検出される毎に対応するカウンタ変数をカウントする動作を前記ファイル群格納部から取り出した各ファイル名について順次行って,
前記カウンタ変数のカウント値が前記ドライバファイルテーブルに設定されたファイルの総数に対応する動作処理のIDを検出すると,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
In the application processing operation switching method,
Extract the file name corresponding to the application from the system configuration information storage unit that stores the system configuration information,
A driver file table in which a unique file name and a common file name of each application and the total number of files are set in accordance with the ID of the operation processing based on the extracted file name is searched.
Each time a match is detected corresponding to the ID of each operation process, an operation of counting the corresponding counter variable is sequentially performed for each file name extracted from the file group storage unit.
When the count value of the counter variable detects an operation processing ID corresponding to the total number of files set in the driver file table, the operation processing extracted from the table storing the operation processing procedure corresponding to the operation processing ID. A processing operation switching method for an application, wherein switching is performed in accordance with an operation processing procedure corresponding to an ID, and operation processing is sequentially performed.
アプリケーションの処理動作切替方法において,
各アプリケーションの固有及び共通のファイル名の組み合わせがドライバファイルセットが動作処理のIDに対応して設定されたドライバファイルテーブルから一つドライバファイルセットを取り出し,
前記ドライバファイルセットの中のファイル名について,システムの構成情報を格納したシステム構成情報格納部を検索し,何れかのドライバファイルセットの全てのファイル名が検出されると,対応する動作処理のIDを取り出し,
動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って切替えて動作処理を順に実行することを特徴とするアプリケーションの処理動作切替方法。
In the application processing operation switching method,
A combination of a unique and common file name of each application is obtained by extracting one driver file set from the driver file table in which the driver file set is set corresponding to the operation processing ID,
For the file names in the driver file set, the system configuration information storage unit that stores the system configuration information is searched, and when all the file names of any of the driver file sets are detected, the ID of the corresponding operation process is detected. And take out
A processing operation switching method for an application, wherein switching is performed in accordance with the operation processing procedure corresponding to the extracted operation processing ID from a table storing the operation processing procedure corresponding to the operation processing ID, and the operation processing is sequentially executed.
アプリケーションの処理動作切替を行うためにコンピュータを,
システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出すドライバファイル検索手段,
前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って動作処理を切替える動作処理切替手段,
切替えられた動作処理を実行する動作処理手段,
として機能させるためのアプリケーションの処理動作切替を行うプログラム。
A computer is used to switch the processing operation of the application.
Driver file search means for extracting a file name corresponding to an application from a system configuration information storage unit storing system configuration information,
Using the extracted file name, a unique driver file table in which one or a plurality of unique file names of each application is set corresponding to the operation processing ID is searched. An operation processing switching means for extracting an ID of the processing, and switching the operation processing according to the operation processing procedure corresponding to the extracted operation processing ID from a table storing the operation processing procedure corresponding to the operation processing ID;
Operation processing means for executing the switched operation processing,
A program that switches the processing operation of an application to function as
アプリケーションの処理動作切替を行うためにコンピュータを,
システムの構成情報を格納したシステム構成情報格納部からアプリケーションに対応するファイル名を取り出すドライバファイル検索手段,
前記取り出したファイル名を用いて各アプリケーションの1または複数の固有ファイル名が動作処理のIDに対応して設定された固有ドライバファイルテーブルを検索し,固有ファイル名の一つでも一致すると対応する動作処理のIDを取り出し,動作処理のIDに対応した動作処理手順を格納したテーブルから前記取り出した動作処理のIDに対応する動作処理手順に従って動作処理を切替える動作処理切替手段,
前記切替えられた動作処理を実行する動作処理手段,
として機能させるためのアプリケーションの処理動作切替を行うプログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer is used to switch the processing operation of the application.
Driver file search means for extracting a file name corresponding to an application from a system configuration information storage unit storing system configuration information,
Using the extracted file name, a unique driver file table in which one or a plurality of unique file names of each application is set corresponding to the operation processing ID is searched. An operation processing switching means for extracting an ID of the processing, and switching the operation processing according to the operation processing procedure corresponding to the extracted operation processing ID from a table storing the operation processing procedure corresponding to the operation processing ID;
Operation processing means for executing the switched operation processing,
A computer-readable recording medium in which a program for switching a processing operation of an application to function as a computer is recorded.
JP2002301329A 2002-10-16 2002-10-16 Application processing operation switching method, program and recording medium Pending JP2004139209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002301329A JP2004139209A (en) 2002-10-16 2002-10-16 Application processing operation switching method, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002301329A JP2004139209A (en) 2002-10-16 2002-10-16 Application processing operation switching method, program and recording medium

Publications (1)

Publication Number Publication Date
JP2004139209A true JP2004139209A (en) 2004-05-13

Family

ID=32449699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002301329A Pending JP2004139209A (en) 2002-10-16 2002-10-16 Application processing operation switching method, program and recording medium

Country Status (1)

Country Link
JP (1) JP2004139209A (en)

Similar Documents

Publication Publication Date Title
JP6542612B2 (en) Test scenario generation support apparatus and test scenario generation support method
US9552443B2 (en) Information processing apparatus and search method
US7877406B2 (en) System and method for name grabbing via optical character reading
CN103646055B (en) The acquisition methods and device of a kind of programme setting
JP2001103415A (en) Slide show device
JP2004139209A (en) Application processing operation switching method, program and recording medium
JP3929418B2 (en) Information search program and medium on which information search program is recorded
US20190265954A1 (en) Apparatus and method for assisting discovery of design pattern in model development environment using flow diagram
JP5587744B2 (en) Program component search method, program component search system, and component search program
JP2000276338A (en) Method and system for visual programming, and recording medium for visual programming
JP5581861B2 (en) Retrieval device, method and program, and data parsing device having retrieval function
Magnusson THÈME User’s manual
JP2012118750A (en) Information retrieval apparatus, retrieval input method and retrieval input program
JPH0773187A (en) Retrieving system
KR19980080125A (en) Document Management System and Document Management Method
WO2024047997A1 (en) Document analysis device and program for document analysis
JP3304363B2 (en) Job separator output method
JPH0830421A (en) Method for executing command through dialogue
JP2006350585A (en) Medical information input system
KR20230096661A (en) Apparatus and method of searching for candidate drug based on associative relation of gene drug
JP2024019575A (en) document processing program
JPH1027239A (en) Electronic filing device
JP2672899B2 (en) Screen program creation processing method
JPH09269952A (en) Document retrieval device/method
JP5352197B2 (en) Business support database apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A521 Written amendment

Effective date: 20080722

Free format text: JAPANESE INTERMEDIATE CODE: A523

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080722

RD04 Notification of resignation of power of attorney

Effective date: 20080722

Free format text: JAPANESE INTERMEDIATE CODE: A7424

A131 Notification of reasons for refusal

Effective date: 20080819

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081020

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202