JP4902574B2 - Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium - Google Patents
Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium Download PDFInfo
- Publication number
- JP4902574B2 JP4902574B2 JP2008043589A JP2008043589A JP4902574B2 JP 4902574 B2 JP4902574 B2 JP 4902574B2 JP 2008043589 A JP2008043589 A JP 2008043589A JP 2008043589 A JP2008043589 A JP 2008043589A JP 4902574 B2 JP4902574 B2 JP 4902574B2
- Authority
- JP
- Japan
- Prior art keywords
- folder
- data
- program
- input
- unit
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Description
本発明は、プログラミング技術に関する。 The present invention relates to a programming technique.
従来から、GUI(Graphical User Interface)を用いて、Web上に提供されている情報やサービス等を組み合わせ、新しいソフトウェアやサービス、データベース等を作る(マッシュアップする)技術がある(非特許文献1参照)。また、フォルダに、このフォルダに入力されたファイル(データ)に対し実行する処理を割り当て、このフォルダに入力されたファイルの処理を自動化する技術がある(非特許文献2参照)。
しかし、非特許文献1に記載の技術は、独自のGUIであり、技術の習得に時間を要する。また、この非特許文献1に記載の技術は、XML(Extensible Markup Language)データや、RSS(Rich Site Summary)のマッシュアップに特化しており、記述内容に様々な制限があった。さらに、非特許文献2に記載の技術は、事前に固定した内容でしか処理の流れを作成できないという問題があった。本発明は、前記した問題を解決し、ユーザにとって好適なプログラミング環境を提供することを目的とする。
However, the technique described in
前記した課題を解決するため、請求項1に記載の発明は、フォルダそれぞれに割り当てたプログラムの実行制御を行うフォルダ割当プログラム実行制御装置であって、前記フォルダの名称およびこのフォルダの階層関係を示したフォルダ情報と、前記フォルダの名称ごとに、この名称のフォルダに入力されたデータに対し実行するプログラムを示した名称管理データベースとを記憶する記憶部と、前記フォルダ情報を参照して前記フォルダの階層関係を判断するファイル管理部と、前記フォルダに入力するデータを受け付けるデータ受付部と、前記名称管理データベースと、前記データが入力されたフォルダの名称とを参照して、前記入力されたデータに対し実行するプログラムを選択するフォルダ割当処理管理部と、前記フォルダ割当処理管理部により選択されたプログラムを、前記入力されたデータに対し実行する処理実行部と、前記ファイル管理部により、当該フォルダの下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダに入力し、さらに、前記ファイル管理部により、当該フォルダの下に複数の下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダそれぞれに入力する下位フォルダデータ投入部とを備え、前記フォルダ割当処理管理部、前記処理実行部および前記下位フォルダデータ投入部により、前記入力されたデータまたは前記処理結果データに対し、当該データが入力されたフォルダの下位に連なるフォルダそれぞれに割り当てられたプログラムを、前記フォルダが連なる順に実行させることを特徴とするフォルダ割当プログラム実行制御装置とした。
In order to solve the above-described problem, the invention described in
請求項11に記載の発明は、フォルダの名称およびこのフォルダの階層関係を示したフォルダ情報と、前記フォルダの名称ごとに、この名称のフォルダに入力されたデータに対し実行するプログラムを示した名称管理データベースを記憶する記憶部を備え、前記フォルダそれぞれに割り当てたプログラムの実行制御を行うフォルダ割当プログラム実行制御装置が、前記フォルダへ入力するデータを受け付けるステップと、前記名称管理データベースと、前記データが入力されたフォルダの名称とを参照して、前記入力されたデータに対し実行するプログラムを選択するステップと、前記選択したプログラムの実行処理を行うステップと、前記フォルダ情報を参照して、当該フォルダの下位フォルダがあるか否かを判断するステップと、当該フォルダの下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダに入力し、さらに、当該フォルダの下に複数の下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダそれぞれに入力するステップと、を繰り返すことで、前記入力されたデータまたは前記処理結果データに対し、当該データが入力されたフォルダの下位に連なるフォルダそれぞれに割り当てられたプログラムを、前記フォルダが連なる順に実行することを特徴とするフォルダ割当プログラム実行制御方法とした。
The invention according to
このようにすることで、フォルダ割当プログラム実行制御装置(プログラム実行制御装置)は、データが入力されたフォルダの下位に、入れ子のように連なるフォルダそれぞれに、このフォルダそれぞれに割り当てられたプログラムを実行させることができる。つまり、このプログラム実行制御装置のユーザは、プログラムを実行させたい順に入れ子のように階層構造を持たせてフォルダを作成し、このフォルダそれぞれに実行させたいプログラムを示す名称(または識別情報)を入力していくことで、様々なプログラムを簡単に組み立てることができる。
また、プログラム実行制御装置は、下位フォルダが複数あれば、その下位フォルダそれぞれにプログラムの処理結果データを受け渡すので、複数のプログラムを並列実行させることができる。つまり、このプログラム実行制御装置のユーザは、複数のプログラムを並列実行させるプログラムを組み立てたいとき、それらのプログラムを割り当てるフォルダを同じ階層に並列して作成すればよい。
By doing so, the folder assignment program execution control device (program execution control device) executes the program assigned to each folder in each of the nested folders in the lower order of the folder in which the data is input. Can be made. In other words, the user of this program execution control device creates a folder with a hierarchical structure in the order in which the program is to be executed, and inputs a name (or identification information) indicating the program to be executed in each folder. By doing so, various programs can be easily assembled.
In addition, if there are a plurality of lower folders, the program execution control device transfers the processing result data of the program to each of the lower folders, so that the plurality of programs can be executed in parallel. That is, when the user of this program execution control device wants to assemble a program for executing a plurality of programs in parallel, a folder to which these programs are assigned may be created in parallel on the same hierarchy.
請求項2に記載の発明は、請求項1に記載の前記フォルダ割当プログラム実行制御装置において、前記フォルダ情報を表示する表示処理部をさらに備え、前記ファイル管理部は、前記表示処理部に、前記フォルダ情報に示される前記フォルダの階層関係および前記フォルダの名称をツリー構造で表示させることを特徴とする。
The invention according to
このようにすることで、このプログラム実行制御装置のユーザは、組み立てたプログラムの流れを視覚的に把握しやすくなる。例えば、プログラム実行制御装置は、フォルダ情報に示されるフォルダの名称やそのフォルダの階層構造をWindows(登録商標)のエクスプローラ(登録商標)のようなツリー構造で表示することができる。 In this way, the user of the program execution control device can easily grasp the flow of the assembled program visually. For example, the program execution control apparatus can display the name of the folder indicated in the folder information and the hierarchical structure of the folder in a tree structure such as Explorer (registered trademark) of Windows (registered trademark).
請求項3に記載の発明は、請求項1または請求項2に記載のフォルダ割当プログラム実行制御装置において、前記処理実行部が、当該フォルダの下位フォルダに割り当てられたプログラムの実行に失敗したとき、前記ファイル管理部に、当該下位フォルダに入力しようとした前記処理結果データを当該フォルダに格納させる処理結果管理部と、前記処理実行部における処理結果を出力する結果通知部とを備えることを特徴とする。 According to a third aspect of the present invention, in the folder assignment program execution control device according to the first or second aspect, when the process execution unit fails to execute a program assigned to a lower folder of the folder , before Symbol file management unit, characterized in that it comprises a processing result management unit for storing the processing result data with each operation the lower folders in the folder, and a result notification unit for outputting a processing result in the processing execution unit It shall be the.
このようにすることで、実行制御装置のユーザは、組み立てたプログラムに不具合があったとき、どのフォルダに割り当てられたプログラムに不具合があるのかを把握しやすくなる。 By doing so, the user of the execution control device can easily grasp which folder the program is assigned to when there is a problem in the assembled program.
請求項4に記載の発明は、請求項1ないし請求項3のいずれか1項に記載のフォルダ割当プログラム実行制御装置において、前記ファイル管理部により、前記複数の下位フォルダの中に、if文を含む名称のフォルダがあると判断されたとき、前記下位フォルダデータ投入部は、前記if文に示される条件を満たす前記処理結果データを、当該if文を含む名称のフォルダへ入力することを特徴とする。 According to a fourth aspect of the present invention, in the folder assignment program execution control device according to any one of the first to third aspects, the file management unit adds an if statement to the plurality of subordinate folders. When it is determined that there is a folder having a name including the lower folder data input unit, the processing result data satisfying the condition indicated in the if statement is input to the folder having the name including the if statement. To do.
このようにすることで、プログラム実行制御装置は、条件分岐を用いたプログラムを実行させることができる。つまり、このプログラム実行制御装置のユーザは、フォルダの名称にif文を含む名称を設定することで、条件分岐を用いたプログラムを容易に組み立てることができる。 In this way, the program execution control device can execute a program using conditional branching. That is, the user of this program execution control device can easily assemble a program using conditional branching by setting a name including an if statement as the name of the folder.
請求項6に記載の発明は、請求項1ないし請求項5のいずれか1項に記載のフォルダ割当プログラム実行制御装置において、前記フォルダ割当プログラム実行制御装置が、全体制御部をさらに備え、前記名称管理データベースが、前記フォルダに入力されたデータに対し実行するプログラムごとに、このプログラムの実行条件を含み、前記全体制御部は、前記入力されたデータが、前記フォルダに割り当てられたプログラムの実行条件を満たすデータであるか否かを判断し、前記入力されたデータが、前記フォルダに割り当てられたプログラムの実行条件を満たすデータであると判断したとき、前記処理実行部に、前記入力されたデータに対し、前記プログラムの実行処理を行わせることを特徴とする。
Invention according to claim 6, in a folder allocation program execution control device according to any one of
このようにすることで、プログラム実行制御装置は、入力されたデータが当該フォルダに割り当てられたプログラムの実行条件を満たすときに、プログラムを実行するようにできる。つまり、このプログラム実行制御装置のユーザは、当該プログラムの実行条件を含むようなプログラムも容易に組み立てることができる。 In this way, the program execution control device can execute the program when the input data satisfies the execution condition of the program assigned to the folder. That is, the user of this program execution control device can easily assemble a program including the execution conditions of the program.
請求項7に記載の発明は、請求項6に記載のフォルダ割当プログラム実行制御装置において、前記フォルダに割り当てられたプログラムの実行条件が、複数の所定データの入力である場合において、前記全体制御部は、前記実行条件に示される複数の所定データのうち、当該フォルダにまだ入力されていないデータがあるか否かを判断し、当該フォルダにまだ入力されていないデータがあると判断したとき、前記ファイル管理部に、前記フォルダに入力したデータをこのフォルダ以外のフォルダに保持させ、前記実行条件に示される前記複数の所定データがすべて揃ったと判断したとき、前記処理実行部に、前記プログラムの実行処理を行わせることを特徴とする。 According to a seventh aspect of the present invention, in the folder assignment program execution control device according to the sixth aspect, when the execution condition of the program assigned to the folder is input of a plurality of predetermined data, the overall control unit Is determined whether there is data that has not yet been input to the folder among the plurality of predetermined data indicated in the execution condition, and when it is determined that there is data that has not yet been input to the folder, When the file management unit stores the data input to the folder in a folder other than this folder, and when it is determined that all of the plurality of predetermined data indicated in the execution condition is complete, the process execution unit executes the execution of the program It is characterized in that processing is performed.
このようにすることで、プログラム実行制御装置は、フォルダに複数の所定データがすべて入力されるまで待ち、その所定データがすべて入力されたときに、このデータに対しフォルダに割り当てられたプログラムを実行するようにできる。つまり、このプログラム実行制御装置のユーザは、所定データがすべて入力されたときに実行するようなプログラムも容易に組み立てることができる。 In this way, the program execution control device waits until all the predetermined data is input to the folder, and when all the predetermined data is input, executes the program assigned to the folder for this data You can do that. That is, the user of the program execution control device can easily assemble a program that is executed when all predetermined data is input.
請求項8に記載の発明は、請求項1ないし請求項7のいずれか1項に記載のフォルダ割当プログラム実行制御装置において、前記フォルダの名称にパラメータが含まれていたとき、前記処理実行部が、そのパラメータを用いて前記フォルダの名称に割り当てられたプログラムの実行処理を行うことを特徴とする。
The invention according to claim 8 is the folder assignment program execution control device according to any one of
このようにすることで、プログラム実行制御装置は、フォルダの名称にプログラムのパラメータが含まれていたとき、このパラメータを設定したプログラム実行処理を行うことができる。よって、このプログラム実行制御装置のユーザは、このフォルダにパラメータを含めた名称の設定をすることで、このフォルダに割り当てたプログラムのパラメータの設定も容易に行うことができる。 By doing in this way, the program execution control device can perform the program execution process in which the parameter is set when the parameter of the program is included in the folder name. Therefore, the user of this program execution control device can easily set the parameters of the program assigned to this folder by setting the name including the parameter in this folder.
請求項9に記載の発明は、請求項1ないし請求項8のいずれか1項に記載のフォルダ割当プログラム実行制御装置において、前記フォルダ割当管理部が、前記名称管理データベースを参照して、前記データが入力されたフォルダの名称に対応するプログラムがないと判断されたとき、前記ファイル管理部は、前記入力されたデータを当該フォルダに格納することを特徴とする。
The invention according to claim 9 is the folder assignment program execution control apparatus according to any one of
このようにすることで、プログラム実行制御装置は、プログラムが割り当てられていないフォルダについて通常のフォルダのように用いることができる。 By doing so, the program execution control apparatus can use a folder to which a program is not assigned as a normal folder.
請求項10に記載の発明は、請求項1ないし請求項9のいずれか1項に記載のフォルダ割当プログラム実行制御装置において、前記下位フォルダは、当該フォルダの直下に格納されるフォルダからリンクされるリンク先フォルダを含むことを特徴とする。 According to a tenth aspect of the present invention, in the folder assignment program execution control device according to any one of the first to ninth aspects, the lower folder is linked from a folder stored immediately below the folder. A link destination folder is included.
このようにすることで、プログラム実行制御装置は、リンクを用いることで下位フォルダとして様々なフォルダを用いることができる。なお、リンク先は、例えば、そのリンク先フォルダのURI(Uniform Resource Identifier)により記述される。 By doing in this way, the program execution control apparatus can use various folders as a lower folder by using a link. The link destination is described by, for example, a URI (Uniform Resource Identifier) of the link destination folder.
請求項12に記載の発明は、請求項11に記載のフォルダ割当プログラム実行制御方法を、コンピュータである前記フォルダ割当プログラム実行制御装置に実行させるためのフォルダ割当プログラム実行制御プログラムとした。
The invention described in
このようなプログラムによれば、一般的なコンピュータに請求項11に記載のフォルダ割当プログラム実行制御方法を実行させることができる。
According to such a program, it is possible to cause a general computer to execute the folder assignment program execution control method described in
請求項13に記載に発明は、請求項12に記載のフォルダ割当プログラム実行制御プログラムを記憶したコンピュータに読み取り可能な記憶媒体とした。
The invention according to
このような記憶媒体によれば、一般的なコンピュータに、この記憶媒体を読み込ませることで、請求項12に記載のフォルダ割当プログラム実行制御プログラムを実行させることができる。
According to such a storage medium, the folder assignment program execution control program according to
本発明によれば、ユーザにとって好適なプログラミング環境を提供することができる。 According to the present invention, a programming environment suitable for a user can be provided.
≪第1の実施の形態≫
以下、本発明を実施するための最良の形態(以下、実施の形態という)を第1の実施の形態ないし第4の実施の形態に分けて説明する。まず、図1および図2を用いて各実施の形態のフォルダ割当プログラム実行制御装置(プログラム実行制御装置)の概要を説明する。図1および図2は、各実施の形態のプログラム実行制御装置の動作概要を説明した図である。なお、以下の説明において、フォルダの下位とは、そのフォルダの直下を意味するものとする。つまり、そのフォルダの1つ下の階層のことを意味するものとする。また、フォルダの上位とは、そのフォルダの1つ上の階層のことを意味するものとする。
<< First Embodiment >>
Hereinafter, the best mode for carrying out the present invention (hereinafter referred to as an “embodiment”) will be described by dividing it into a first embodiment to a fourth embodiment. First, the outline of the folder assignment program execution control device (program execution control device) of each embodiment will be described with reference to FIG. 1 and FIG. FIG. 1 and FIG. 2 are diagrams for explaining the operation outline of the program execution control device of each embodiment. In the following description, the lower level of a folder means directly under the folder. That is, it means a hierarchy one level below the folder. Further, “upper folder” means a hierarchy one level higher than the folder.
ここでは、画像の特徴量を抽出する簡単な処理である「プログラム例1」について説明する。図1に示すように、「プログラム例1」フォルダの下位には「映像形式統一 mpeg2」フォルダがあり、その下位には「映像カット内代表図画像抽出」フォルダがある。そして、この「映像カット内代表図画像抽出」フォルダの下位には「画像内顔検出」フォルダおよび「景観中文字認識」フォルダがある。 Here, “Program Example 1”, which is a simple process of extracting image feature amounts, will be described. As shown in FIG. 1, there is a “video format unification mpeg2” folder below the “program example 1” folder, and a “video cut representative diagram image extraction” folder below that. Subordinate to the “extract representative image in video cut” folder are a “detect face in image” folder and a “character recognition in landscape” folder.
プログラム実行制御装置は、このようなフォルダの階層構造をファイル管理部(詳細は後記)により管理している。つまり、プログラム実行制御装置は、どのフォルダの下位にどのフォルダがあるかや、それぞれのフォルダの名称(フォルダ名)は何か等を、フォルダ情報(詳細は後記)として管理している。また、プログラム実行制御装置は、プログラムの名称と、その名称のフォルダに割り当てられる処理(具体的には、その処理を実行するためのプログラムの格納場所)とを示した名称管理データベース(DB)132を備える。 The program execution control apparatus manages such a hierarchical structure of folders by a file management unit (details will be described later). That is, the program execution control device manages which folder is under which folder, what is the name of each folder (folder name), and the like as folder information (details will be described later). The program execution control apparatus also has a name management database (DB) 132 that indicates the name of the program and the process assigned to the folder with that name (specifically, the storage location of the program for executing the process). Is provided.
階層構造を持つフォルダ群のうち、最上位のフォルダ(例えば、図1の「プログラム例1」フォルダ)に、データが入力されると、プログラム実行制御装置は、このデータが入力されたフォルダの名称と、名称管理DB132とを参照して以下のような処理を行う。
When data is input to the highest folder (for example, the “program example 1” folder in FIG. 1) of the group of folders having a hierarchical structure, the program execution control device names the folder in which this data is input. Then, the following processing is performed with reference to the
すなわち、まず、「プログラム例1」フォルダに割り当てられた処理(「/folderprog/through」)に従いスルーし、入力されたデータに、その下位にある「映像形式統一 mpeg2」フォルダに割り当てられた処理(「/local/bin/convert」に格納されるプログラム)を実行する。次に、プログラム実行制御装置は、この処理の実行結果(処理結果データ)を、「映像カット内代表図画像抽出」フォルダに受け渡す。そして、この「映像カット内代表図画像抽出」フォルダに割り当てられた処理(「/local/bin/cut」に格納されるプログラム)を実行する。そして、ここでの処理結果データを、「画像内顔検出」フォルダと、「景観中文字認識」フォルダとに受け渡す。次に、「画像内顔検出」フォルダに割り当てられた処理(「/local/bin/face-detect」に格納されるプログラム)と、「景観中文字認識」フォルダに割り当てられた処理(「/local/bin/letter-detect」に格納されるプログラム)とを実行する。そして、プログラム実行制御装置は、「画像内顔検出」フォルダに割り当てられた処理の処理結果データを、「画像内顔検出」フォルダに格納し、「景観中文字認識」フォルダに割り当てられた処理の処理結果データを、「景観中文字認識」フォルダに格納する。 That is, first, processing is performed according to the process assigned to the “Program Example 1” folder (“/ folderprog / through”), and the process assigned to the “Video format unification mpeg2” folder below the input data ( Execute the program stored in “/ local / bin / convert”. Next, the program execution control device transfers the execution result (processing result data) of this process to the “extract representative image in video cut image” folder. Then, the process (program stored in “/ local / bin / cut”) assigned to the “representative image extraction in video cut” folder is executed. Then, the processing result data here is transferred to the “Face detection in image” folder and the “Character recognition in landscape” folder. Next, the process assigned to the “Face Detection in Image” folder (a program stored in “/ local / bin / face-detect”) and the process assigned to the “Landscape Character Recognition” folder (“/ local program stored in "/ bin / letter-detect"). Then, the program execution control device stores the processing result data of the process assigned to the “Face detection in image” folder in the “Face detection in image” folder, and the process execution data assigned to the “Character recognition in landscape” folder. The processing result data is stored in the “character recognition in landscape” folder.
つまり、これらのフォルダの最上位のフォルダにデータが入力されると、プログラム実行制御装置は、このデータに対しフォルダの階層構造にしたがい、各フォルダに連なる下位フォルダそれぞれに割り当てられた処理を次々に実行する。そして、プログラム実行制御装置は、その最終的な処理結果データをその最下位のフォルダに格納する。 In other words, when data is input to the uppermost folder of these folders, the program execution control device sequentially performs the processing assigned to each of the lower folders connected to each folder in accordance with the hierarchical structure of the folders. Execute. Then, the program execution control device stores the final processing result data in the lowest folder.
なお、ユーザが、このプログラム実行制御装置により実行される「プログラム例1」を組み立てるときは、例えば、図2に示すようになる。ここでは、既に「プログラム例1」の下位に「映像形式統一 mpeg2」フォルダが作成されているものとして説明する。また、以下の説明において、フォルダは、プログラム実行制御装置により作成される場合を例に説明するが、外部の装置で作成されたフォルダであってもよい。 When the user assembles “program example 1” to be executed by the program execution control device, for example, the program is as shown in FIG. Here, a description will be given assuming that a “video format unified mpeg2” folder has already been created under “program example 1”. In the following description, a folder is described by way of example as being created by a program execution control device, but may be a folder created by an external device.
プログラム実施制御装置は、図2の表示画面101に示すように、ユーザからの指示入力に基づき作成されたフォルダを、その名称とともに表示させる。そして、現在着目しているフォルダ(例えば、「映像形式統一 mpeg2」フォルダ)の下位のフォルダの作成指示を、符号104に示す画面で受け付ける。
As shown in the
なお、このときのフォルダの作成は、新規フォルダの作成指示と、その新規フォルダに割り当てるプログラムの名称の入力により行われる。このようにすることで、ユーザは、通常のフォルダ作成と同じ感覚でプログラムの組み立てを行うことができる。また、このフォルダの作成は、プログラム実行制御装置が、プログラム選択画面103を表示させ、この中から、ユーザに選択されたフォルダ名を元に作成するようにしてもよい。
Note that the creation of the folder at this time is performed by inputting a creation instruction of a new folder and a name of a program assigned to the new folder. In this way, the user can assemble the program with the same feeling as normal folder creation. The folder may be created by the program execution control apparatus displaying the
例えば、プログラム実行制御装置が、このプログラム選択画面103から選択されたフォルダがフォルダ作成領域104にコピーされたことを検知すると、当該名称のフォルダを作成するようにしてもよい。
For example, when the program execution control apparatus detects that the folder selected from the
以上のようして、「映像形式統一 mpeg2」フォルダの下位に「映像カット内代表図画像抽出」フォルダが作成されると、表示画面102に示すようになる。つまり、「映像形式統一 mpeg2」フォルダの下位に「映像カット内代表図画像抽出」フォルダが追加され、「映像形式統一 mpeg2」→「映像カット内代表図画像抽出」という処理が組み上がる。すなわち、「プログラム例1」へのデータ入力時、下位の「映像形式統一 mpeg2」フォルダに割り当てられた処理が実行された後、その処理結果データを用いて「映像カット内代表図画像抽出」フォルダに割り当てられた処理が実行される、という一連の処理が組みあがる。
As described above, when the “extract representative picture image in video cut” folder is created under the “video format unification mpeg2” folder, the
<構成>
次に、本実施の形態のプログラム実行制御装置の構成を説明する。図3は、本実施の形態のプログラム実行制御装置の構成を示したブロック図である。
<Configuration>
Next, the configuration of the program execution control device of the present embodiment will be described. FIG. 3 is a block diagram showing the configuration of the program execution control apparatus of the present embodiment.
このプログラム実行制御装置10は、入出力部11と、処理部12と、記憶部13とを備えるコンピュータにより実現される。この入出力部11は、各種データの入出力を司る。処理部12は、記憶部13の名称管理DB132を参照して、フォルダに入力されたデータに対し、このフォルダに割り当てられた処理を実行し、その処理結果データを下位フォルダに受け渡す。記憶部13は、処理部12がフォルダに割り当てられた処理を実行するために参照する名称管理DB132等を格納する。なお、プログラム実行制御装置10Aについては、第3の実施の形態で述べる。
The program execution control device 10 is realized by a computer including an input /
この入出力部11は、入出力インタフェースや通信インタフェースから構成される。また、処理部12は、このプログラム実行制御装置10が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。なお、プログラム実行制御装置10をプログラム実行処理により実現する場合、記憶部13には、このプログラム実行制御装置10の機能を実現するためのプログラム(図示省略)が格納される。また、このプログラム実行制御装置10には、キーボードやマウス等の入力装置や、液晶モニタ等の出力装置が接続されていてもよい。
The input /
<入出力部>
入出力部11は、ファイル管理部121へのフォルダ作成指示等、各種データの入力を受け付けたり、表示画面のデータを出力したりする。
<Input / output unit>
The input /
<処理部>
処理部12は、前記したとおり、フォルダに入力されたデータに対し、このフォルダに割り当てられた処理を実行し、その実行結果を下位フォルダに受け渡す。このような処理部12は、表示処理部120と、ファイル管理部121と、データ受付部122と、結果通知部123と、下位フォルダデータ投入部124と、結果受信部125と、フォルダ割当処理管理部126と、処理実行部127と、処理結果管理部128と、全体制御部129とを含んで構成される。
<Processing unit>
As described above, the
表示処理部120は、ファイル管理部121により管理されるフォルダ情報131(詳細は後記)を、表示画面として外部の表示装置等へ表示させる。例えば、フォルダ情報131に示されるフォルダの階層関係およびフォルダの名称を、Windows(登録商標)のエクスプローラ(登録商標)のようなツリー構造で表示する。
The
ファイル管理部121は、フォルダ情報131を参照して、フォルダの名称およびフォルダの階層関係を判断する。そして、その判断結果を全体制御部129経由でフォルダ割当処理管理部126等へ出力する。また、入出力部11経由でフォルダ作成指示の入力を受け付けたとき、この指示に基づきフォルダを作成し、名称を付与し、この作成したフォルダと他のフォルダとの階層関係およびフォルダの名称をフォルダ情報131(詳細は後記)に記録するようにしてもよい。なお、このファイル管理部121の機能は、公知のファイル管理技術を用いて実現してよい。
The
データ受付部122は、フォルダ情報131に示される各フォルダに入力されるデータを受け付ける。なお、ここで入力されるデータは、単一のファイルでもよいし複数のファイル(データ)でもよい。また、これらのファイルを格納したフォルダでもよいし、空の状態のフォルダでもよい。さらに、このフォルダも複数であってもよい。なお、このように複数のデータやフォルダが入力されたとき、全体制御部129は、このデータやフォルダの持つタイムスタンプを参照して、時系列に処理を実行するよう制御してもよい。また、全体制御部129は、これらのデータやフォルダに対し並列に処理を実行するよう制御してもよい。
The
結果通知部123は、各フォルダに割り当てられた処理の実行結果を通知(出力)する。例えば、結果通知部123は、当該フォルダに割り当てられた処理に失敗したことを通知する。
The
下位フォルダデータ投入部124は、このフォルダに割り当てられた処理の実行結果である処理結果データを、このフォルダの下位フォルダに入力(投入)する。当該フォルダの下位フォルダがどのフォルダかは、ファイル管理部121からの回答結果を元に判断する。これにより、フォルダの下位に連なる各フォルダに、当該フォルダに割り当てられた処理の処理結果データが入力されることになる。なお、データの投入先となる下位フォルダが複数あるとき、この下位フォルダそれぞれにデータを投入する。例えば、図1に示すように「映像のカット内代表画面抽出」フォルダの下位に、「画像内顔検出」フォルダおよび「景観中文字認識」フォルダがある場合、下位フォルダデータ投入部124は、この「映像のカット内代表画面抽出」フォルダにおける処理結果データを「画像内顔検出」フォルダおよび「景観中文字認識」フォルダへ投入する。
The lower folder
結果受信部125は、当該フォルダに割り当てられた処理の実行結果(例えば、このフォルダに割り当てられた処理が失敗したこと)を受信する。これにより、ユーザは当該フォルダに割り当てられた処理が実行できているか否かをすぐに確認できる。
The
フォルダ割当処理管理部126は、名称管理DB132と、データが入力されたフォルダのフォルダ名とを参照して、このフォルダに入力されたデータに対し実行する処理(lプログラム)を選択する。また、フォルダ割当処理管理部126は、このフォルダ名がパラメータを含むものである場合、まずその中から、処理名(プログラム名)を示す部分をピックアップする。そして、フォルダ割当処理管理部126は、この処理名のキーとして名称管理DB132から処理内容を選択する。
The folder assignment
例えば、フォルダ名が図1に示す「映像形式統一 mpeg2」であった場合、フォルダ割当処理管理部126は、「mpeg2」をパラメータとみなし、「映像形式統一」の部分をキーとして名称管理DB132からこの名称に対応する処理内容を選択する。なお、フォルダ名がパラメータを含むか否かは、フォルダ名の中に空白があるか否かや、フォルダ名に「( )」でくくられた部分があるか否か等により判別する。フォルダ名がパラメータを含む場合、フォルダ割当処理管理部126は、名称管理DB132に定義されているものと同じ名称を持つ部分を処理名(プログラム名)、それ以外の部分をパラメータと判断する。そして、フォルダ割当処理管理部126は、選択した処理(より具体的には、その処理を実行するためのプログラムの格納領域)と、その処理に用いるパラメータとを処理実行部127に出力する。
For example, if the folder name is “video format unification mpeg2” shown in FIG. 1, the folder assignment
処理実行部127は、フォルダ割当処理管理部126により選択された処理を、当該フォルダに入力されたデータに対し実行する。なお、フォルダ名にパラメータが含まれていたとき、処理実行部127は、そのパラメータを用いてこのフォルダの名称に割り当てられた処理の実行を行う。例えば、フォルダ名が「映像形式統一 mpeg2」であるとき、フォルダ割当処理管理部126から出力された「/local/bin/convert」という情報を元に、プログラム記憶部133から「映像形式統一」のプログラムを読み出し、「mpeg2」というパラメータを用いて処理を実行する。つまり、処理実行部127は、「mpeg2への映像形式統一」という処理を行う。
The
このようにフォルダ割当処理管理部126は、フォルダ名がパラメータを含むものについて、処理の名称を示す部分とパラメータ部分とを判別し、処理を選択する。また、処理実行部127において、フォルダ名に含まれるパラメータを適用して処理を実行するので、プログラムの組み立てを行うユーザは、このパラメータをフォルダ名の入力時にあわせて設定できるので、大変便利である。
As described above, the folder assignment
なお、下位フォルダデータ投入部124により複数のフォルダにデータが投入された場合、処理実行部127は、そのそれぞれのフォルダに割り当てられた処理を、並列して実行してもよいし、所定の順番で実行するようにしてもよい。つまり、ユーザは、同じ処理結果データを用いて複数の処理を並列して(または所定の順番で)実行させたい場合、それぞれの処理が割り当てられたフォルダを同じ階層に作成すればよい。
When data is input to a plurality of folders by the lower folder
処理結果管理部128は、各フォルダに割り当てられた処理の実行結果(処理に成功したか、失敗したか)や、この処理結果データの出力先や格納先をファイル管理部121に通知する。
The processing
全体制御部129は、表示処理部120、ファイル管理部121、データ受付部122、結果通知部123、下位フォルダデータ投入部124、結果受信部125、フォルダ割当処理管理部126、処理実行部127および処理結果管理部128の制御を行う。例えば、処理実行部127において、当該フォルダに割り当てられたプログラムの実行に失敗したとき、全体制御部129は、ファイル管理部121に、当該データを当該フォルダの上位フォルダに格納させる。
The
<記憶部>
記憶部13は、フォルダ情報131と、名称管理DB132と、プログラム記憶部133とを備える。
<Storage unit>
The
このフォルダ情報131は、フォルダ名、このフォルダの階層関係、各フォルダに格納されるデータ等を示した情報である。このフォルダ情報131は、ファイル管理部121により更新され、読み出される。
The
名称管理DB132は、プログラムの名称ごとに、この名称のプログラムの格納領域を示した情報を示した情報である(図1参照)。この名称管理DB132は、フォルダ割当処理管理部126が当該フォルダに割り当てられている処理(プログラム)を選択するときに参照される。例えば、フォルダ割当処理管理部126は、図1に示す「映像カメラワーク情報抽出」フォルダに割り当てられた処理を実行するプログラムとしてプログラム記憶部133の「/local/bin/camwork」というディレクトリに格納されているプログラムを選択する。そして、処理実行部127は、この選択された「/local/bin/camwork」というディレクトリに格納されるプログラムを実行する。なお、この名称管理DB132の情報は、入出力部11経由で入力や書き換えが可能である。また、この名称管理DB132において、プログラムの格納領域を示した情報を保持することとしたが、プログラム本体を保持するようにしてもよい。
The
なお、このような名称管理DB132を用いることで、プログラム実行制御装置10は、各フォルダに割り当てられた処理のパス名が長くても、その処理を実行できる。つまり、プログラム実行制御装置10は、フォルダ名に、直接、そのフォルダに割り当てる処理のパス名を記載して処理の割り当てをするようにしてもよいが、公知のファイル管理システムによりファイル管理部121を実現する場合、このファイル管理部121はフォルダ名の長さを制限する仕様こともある。そのような場合、フォルダには比較的短い名称(プログラム名やプログラムの識別情報)を割り当てておき、プログラム実行制御装置10は、そのフォルダ名と名称管理DB132とを参照して、そのフォルダに割り当てられた処理のパス名を読み出すようにする。このようにすることで、プログラム実行制御装置10は、当該フォルダに対する処理が長いパス名で示されるものについても、その処理も実行できる。なお、名称管理DB132Aについては、第3の実施の形態の項で述べる。
By using such a
プログラム記憶部133は、処理実行部127により実行される各種プログラムを格納する。
The
このような構成によりプログラム実行制御装置10は、入力されたデータまたは処理結果データに対し、当該データが入力されたフォルダの下位に連なるフォルダそれぞれに割り当てられたプログラムを、このフォルダが連なる順に実行させることができる。 With such a configuration, the program execution control apparatus 10 causes the program assigned to each of the folders connected to the lower order of the folder in which the data is input to be executed in the order in which the folders are connected to the input data or the processing result data. be able to.
<動作手順>
次に、プログラム実行制御装置10の動作手順を説明する。図4および図5は、図3のプログラム実行制御装置の動作手順を示したフローチャートである。
<Operation procedure>
Next, the operation procedure of the program execution control device 10 will be described. 4 and 5 are flowcharts showing the operation procedure of the program execution control device of FIG.
ここでは、様々な階層のフォルダのうち、上位フォルダ側からみた視点を中心に説明する。まず、図3のデータ受付部122においてフォルダへのデータ入力を受け付ける(S101)。このS101のサブルーチンについては、第3の実施の形態において図11を参照して後記する。
Here, the description will focus on the viewpoint from the upper folder side among the folders of various levels. First, the
次に、フォルダ割当処理管理部126は、このデータが入力されたフォルダ名から実行すべき処理を選択する(S102)。つまり、フォルダ割当処理管理部126は、名称管理DB132を参照して、このデータが入力されたフォルダのフォルダ名をキーとして、このフォルダに割り当てられた処理を選択する。
Next, the folder assignment
ここで、フォルダ割当処理管理部126が、このフォルダに割り当てられた処理を選択できたとき(S103のYes)、つまり、名称管理DB132において、当該名称に対応する処理があったとき、処理実行部127は、入力データに対して、このフォルダに割り当てられた処理を実行し(S104)、処理結果データを作成する。
Here, when the folder allocation
一方、フォルダ割当処理管理部126が、このデータが入力されたフォルダに割り当てられた処理を選択できなかったとき(S103のNo)、つまり、名称管理DB132において、当該名称に対応する処理がなかったとき、全体制御部129は、S101で受け付けた入力データを、そのまま当該フォルダに格納する(S107)。つまり、通常のフォルダと同様にデータを格納する。そして、処理を終了する。
On the other hand, when the folder assignment
S104の後、結果通知部123は、S104の処理結果(つまり、フォルダに割り当てられた処理に成功した旨)を通知する(S105)。この処理結果の通知先は、このデータの入力元であるフォルダ(上位フォルダ)または外部プロセス等である。
After S104, the
次に、全体制御部129は、当該フォルダの下位フォルダがあるか否かを判断する(S106)。このときの判断は、全体制御部129が、ファイル管理部121に当該フォルダの下位フォルダがあるか否かを問い合わせることにより行われる。問い合わせを受けたファイル管理部121は、フォルダ情報131を参照して、その判断結果を全体制御部129へ返す。
Next, the
ここで、当該フォルダの下位フォルダがあると判断されたとき(S106のYes)、全体制御部129は、下位フォルダデータ投入部124に、S104における処理結果データを投入させ、下位フォルダへの処理を実行する(S108)。そして、当該フォルダの下位フォルダへの処理を終了すると、本処理を終了する。なお、S108の下位フォルダへの処理の詳細は、図5を用いて後記する。
Here, when it is determined that there is a lower folder of the folder (Yes in S106), the
一方、当該フォルダの下位フォルダがないと判断されたとき(S106のNo)、全体制御部129は、ファイル管理部121に、S104で作成された処理結果データを当該フォルダに格納させる(S109)。そして、処理を終了する。つまり、全体制御部129は、一連の処理の流れの末端にあるフォルダにおいて、処理結果データを保持するようにする。
On the other hand, when it is determined that there is no lower folder of the folder (No in S106), the
次に、図5を用いて、図4のS108の下位フォルダへの処理を詳細に説明する。 Next, the processing for the lower folder in S108 of FIG. 4 will be described in detail with reference to FIG.
まず、図4のS106において当該フォルダの下位フォルダがあることを確認できたとき(S106のYes)、下位フォルダデータ投入部124は、S104で作成した処理結果データを、この下位フォルダへ入力する(図5のS201)。
First, when it is confirmed in S106 in FIG. 4 that there is a lower folder of the folder (Yes in S106), the lower folder
そして、この下位フォルダについて、プログラム実行制御装置10は、前記したS101〜S109と同様の処理を実行する(S202)。つまり、プログラム実行制御装置10は、当該フォルダの下位フォルダ、そのさらに下位フォルダ、というように、各フォルダにおける処理結果データを下位フォルダに受け渡していく。そして、結果通知部123は、この処理結果を結果受信部125へ通知する。
Then, the program execution control apparatus 10 executes the same processing as S101 to S109 described above for this lower folder (S202). That is, the program execution control device 10 passes the processing result data in each folder to the lower folder, such as a lower folder of the folder and further lower folders. Then, the
結果受信部125は、下位フォルダにおける処理結果を受け取り(S203)、この受け取った処理結果が成功を示すものであるとき(S204のYes)、処理を終了する。一方、受け取った処理結果が失敗を示すものであるとき(S204のNo)、処理結果管理部128は、ファイル管理部121に、下位フォルダへ入力しようとした処理結果データを当該フォルダに格納するよう指示する(S205)。つまり、下位フォルダにおいて処理に失敗したデータを、このデータの入力元である当該フォルダへ戻すようにする。また、この処理結果管理部128は、ファイル管理部121に、この処理結果(処理に失敗した旨を示す情報)を含む情報も当該フォルダに格納させる(S206)。そして、処理を終了する。
The
なお、各フォルダに格納された処理結果(処理に失敗した旨を示す情報)や戻ってきた処理結果データ等を表示処理部120により表示させることで、ユーザは組み立てたプログラムのそれぞれの実行結果を確認することができる。つまり、ユーザは、組み立てた一連の処理のデバッグを行うとき、どの部分の処理に問題があったのかを確認しやすくなる。さらに、ユーザは、このようなデバッグにおいて画面の切り替えを行う必要もなくなる。また、このような機能を用いることで、ユーザは、確認したい処理付きフォルダにデータをドロップ(入力)してみて、期待する処理結果データがそのフォルダの中に生成されているか否かをすぐに確認できる。このようにすることで、例えば、ユーザがプログラムの組み立て時その処理付きフォルダを用いるか否か選択に迷ったときにも、判断しやすくなり、大変便利である。
The
また、前記したとおり、ファイル管理部121は、データとプログラム(処理付きフォルダ)とを同じフォルダという形で統一的に管理するので、ユーザがあとで、作成したプログラムの検索等も行いたい場合も、検索しやすくなる。
Further, as described above, the
<第1の実施の形態の例>
次に、再び図2を参照しつつ、図1を用いて、プログラム実行制御装置10の処理手順をさらに詳細に説明する。
<Example of First Embodiment>
Next, referring to FIG. 2 again, the processing procedure of the program execution control apparatus 10 will be described in more detail with reference to FIG.
例えば、図1に示す「プログラム例1」フォルダに、「News20070601.wmv」というデータが入力されると、プログラム実行制御装置10は、名称管理DB132の「プログラム例1」に対応する「/folderprog/through」を参照して、この「News20070601.wmv」に対して、処理を行わず、入力されたものと同じ処理結果データを得る。
For example, when the data “News20070601.wmv” is input to the “program example 1” folder shown in FIG. 1, the program execution control device 10 reads “/ folderprog /” corresponding to “program example 1” in the
次に、下位フォルダデータ投入部124は、この「プログラム例1」フォルダの処理結果データ(「News20070601.wmv」)をさらに下位の「映像形式統一 mpeg2」フォルダに入力する。フォルダ割当処理管理部126は、名称管理DB132を参照してこの「映像形式統一」フォルダの処理割当存在(「/local/bin/convert」)を確認する。そして、処理実行部127は、この「/local/bin/convert」から読み出したプログラムにより、「News20070601.wmv」のフォーマットを「mpeg2」に変換した処理結果データを作成する。
Next, the lower folder
そして、下位フォルダデータ投入部124は、この処理結果データをさらに下位の「映像のカット内代表画像抽出」フォルダに入力する。フォルダ割当処理管理部126は、名称管理DB132を参照して、この「映像カット内代表画像抽出」フォルダの、処理割当存在(「/local/bin/cut」)を確認する。そして、処理実行部127は、この「/local/bin/cut」から読み出したプログラムにより、カット内代表画像として、News20070601.-001jpeg、News20070601.-002jpegおよびNews20070601.-003jpegの3つの画像ファイルを処理結果データとして作成する。下位フォルダデータ投入部124は、この処理結果データをさらに下位の「画像内顔検出処理」フォルダと「景観中文字認識」フォルダとに入力する。
Then, the lower folder
フォルダ割当処理管理部126は、名称管理DB132を参照して、「画像内顔検出処理」フォルダの処理割当存在(「/local/bin/face-detect」)を確認し、News20070601.-001jpeg、News20070601.-002jpegおよびNews20070601.-003jpegそれぞれの入力に対して、処理実行部127は、「/local/bin/face-detect」から読み出したプログラムにより、News20070601.-001.-face.xml、News20070601.-002.-face.xmlおよびNews20070601.-003.-face.xmlという処理結果データを作成する。下位フォルダデータ投入部124は、その処理結果データを、これ以上、下位の処理付きフォルダに渡すことができないため、この「画像内顔検出処理」フォルダの中にその処理結果データを格納する。
The folder assignment
同様に、フォルダ割当処理管理部126は、名称管理DB132を参照して、「景観中文字認識」フォルダの処理割当存在(「/local/bin/letter-detect」)を確認し、News20070601.-001jpeg、News20070601.-002jpegおよびNews20070601.-003jpegのそれぞれの入力に対して、処理実行部127は、「/local/bin/letter-detect」から読み出したプログラムにより、News20070601.-001.-letter.xml、News20070601.-002.-letter.xmlおよびNews20070601.-003.-letter.xmlという処理結果データを作成する。下位フォルダデータ投入部124は、その処理結果データを、これ以上、下位の処理付きフォルダに渡すことができないため、この「景観中文字認識」フォルダの中にその処理結果データを格納する。このようにすることで、プログラム実行制御装置10は、フォルダの作成処理により組み立てられたプログラムについて、そのフォルダの階層構造に従った一連の処理を実行することができる。
Similarly, the folder assignment
<第1の実施の形態の例>
なお、前記した第1の実施の形態のプログラム実行制御装置10を、UNIX(登録商標)によるプログラムの実行処理に適用するようにしてもよい。図6は、第1の実施の形態のプログラム実行制御装置の応用例を説明するために引用した図である。
<Example of First Embodiment>
The program execution control device 10 of the first embodiment described above may be applied to program execution processing by UNIX (registered trademark). FIG. 6 is a diagram cited for explaining an application example of the program execution control device according to the first embodiment.
ここでは、プログラム実行制御装置10が、UNIX(登録商標)のPIPEを使って、符号1201に示すような、「FILE1.c」というファイルの中に含まれるセミコロンの行数をカウントするスクリプトを実行する場合を例に説明する。符号1202に示すフォルダ群は、符号1201に示すスクリプトを、フォルダ階層化によって組み立てた場合の例を示したものである。また、プログラム実行制御装置10は、図6に示す名称管理DB132を参照して処理を実行する場合を例に説明する。
Here, the program execution control device 10 uses a UNIX (registered trademark) PIPE to execute a script for counting the number of semicolon lines included in a file “FILE1.c” as indicated by
この名称管理DB132において、「grep」は、UNIX(登録商標)の「/bin/grep (文字列探索処理)」を示し、「wc」は、UNIX(登録商標)の「/usr/bin/wc (「-|」オプションを付けることよる行数のカウント処理)」を示し、「プログラム例2」は、UNIX(登録商標)の「/bin/cat (ファイルをそのまま次に渡す処理)」を示す。
In this
例えば、符号1202に示す「プログラム例2」フォルダに、C言語で記述されたソースファイル(例えば、FILE1.c)が入力されると、下位フォルダデータ投入部124は、この「FILE1.c」をそのまま「プログラム例2」フォルダに入力する。つまり、フォルダ割当処理管理部126は、この「プログラム例2」フォルダの処理割当存在(「/bin/cat」)を確認し、処理実行部127は、この「FILE1.c」に「/bin/cat(ファイルをそのまま次に渡す処理)」を行い、その処理結果データを得る。つまり、処理実行部127は、処理結果データとして「FILE1.c」を得る。そして、下位フォルダデータ投入部124は、その処理結果データをさらに、下位の「grep‘;’」フォルダに入力する。フォルダ割当処理管理部126は、この「grep」フォルダの処理割当存在(「/usr/grep」)を確認し、「grep‘;’」フォルダに割り当てられた処理が「/usr/grep(文字列探索処理)」であると確認する。そして、処理実行部127は、「FILE1.c」に対し、パラメータ「‘;’」を設定した「/usr/grep(文字列探索処理)」を実行する。すると、処理実行部127は、処理結果データとして、「FILE1.c」中の「;」を含む行を抽出したデータを得る。
For example, when a source file (for example, FILE1.c) described in C language is input to the “program example 2” folder indicated by
下位フォルダデータ投入部124は、その処理結果データ(「FILE1.c」中の「;」を含む行を抽出したデータ)をさらに、下位の「wc -|」フォルダに入力する。フォルダ割当処理管理部126は、名称管理DB132を参照して、この「wc」フォルダの処理割当存在(「/usr/bin/wc」)を確認し、このフォルダに割り当てられた処理が「/usr/bin/wc (「-|」オプションを付けることよる行数のカウント処理)」であると確認する。そして、処理実行部127は、この「-|」オプションを付けることよる行数のカウント処理にパラメータ「-|」を付けて、「FILE1.c」中の「;」を含む行数をカウントする。この後、下位フォルダデータ投入部124は、この処理結果データを、これ以上、下位の処理付きフォルダに渡すことができないため、この「wc -|」フォルダの中にその処理結果データを格納する。
The lower folder
つまり、ユーザがこの「wc -|」フォルダ内のファイルをあけると、一連の処理の処理結果データを確認できる。なお、この処理結果データの名称は、例えば「FILE1.c.+grep.+wc」というように、最初の入力データの名称(ファイル名)、経由してきたフォルダ名を列記したものであってもよい。このようにすることで、ユーザは、処理結果データの名称を見ることで、処理結果データが、どのような処理付きフォルダを経由して得られた結果かが分かりやすくなる。 That is, when the user opens a file in the “wc-|” folder, the processing result data of a series of processing can be confirmed. Note that the name of the processing result data may be the name of the first input data (file name) and the name of the folder that passed through, such as “FILE1.c. + Grep. + Wc”, for example. Good. In this way, the user can easily understand the processing result data obtained through the processing result data by looking at the name of the processing result data.
≪第2の実施の形態≫
次に、本発明の第2の実施の形態を説明する。第2の実施の形態のプログラム実行制御装置は、条件分岐を示すフォルダ名のフォルダがあったとき、この条件に従って処理を実行することを特徴とする。例えば、if文を含むフォルダ名のフォルダがあるとき、プログラム実行制御装置は、このif文を含む名称のフォルダへこのif文に示される条件を満たすデータを入力する。
<< Second Embodiment >>
Next, a second embodiment of the present invention will be described. The program execution control apparatus according to the second embodiment is characterized in that when there is a folder having a folder name indicating a conditional branch, the process is executed according to this condition. For example, when there is a folder having a folder name including an if statement, the program execution control apparatus inputs data satisfying the condition indicated in the if statement to the folder having the name including the if statement.
つまり、第2の実施の形態のプログラム実行制御装置は、前記した図5のS201において、処理結果データを下位フォルダに入力するとき、この下位フォルダそれぞれのフォルダ名にif文を含むフォルダがあるか否かを調査する。そして、プログラム実行制御装置は、このif文に示される条件を満たすデータを、このif文を含むフォルダ名のフォルダへ入力する。この第2の実施の形態のプログラム実行制御装置の基本的構成は、図3に示したプログラム実行制御装置10と同様なので、構成の説明を省略する。 That is, when the program execution control apparatus according to the second embodiment inputs the processing result data to the lower folder in S201 of FIG. 5 described above, is there a folder that includes an if statement in the folder name of each lower folder? Investigate whether or not. Then, the program execution control apparatus inputs data satisfying the conditions indicated in the if statement to the folder having the folder name including the if statement. Since the basic configuration of the program execution control device of the second embodiment is the same as that of the program execution control device 10 shown in FIG. 3, the description of the configuration is omitted.
まず、本実施の形態のプログラム実行制御装置10による処理例を、図7を用いて説明する。図7は、第2の実施の形態のプログラム実行制御装置の処理例を説明した図である。 First, an example of processing performed by the program execution control apparatus 10 according to the present embodiment will be described with reference to FIG. FIG. 7 is a diagram illustrating a processing example of the program execution control apparatus according to the second embodiment.
例えば、プログラム実行制御装置10は、図7に示すような名称管理DB132を備え、フォルダ情報131(図3参照)には、符号601に示すようなフォルダが登録されていたとき、プログラム実行制御装置10は、この「プログラム例3」フォルダにデータが入力されると、この名称管理DB132を参照して、以下のような処理を行う。
For example, the program execution control apparatus 10 includes a
まず、図7に示す「プログラム例3」フォルダに、「DataFolder301」データが入力されると、図2のプログラム実行制御装置10は、名称管理DB132の「/folderprog/through」を参照して、このデータに処理は行わず、入力されたものと同じ処理結果データを得る。
First, when “DataFolder301” data is input to the “program example 3” folder shown in FIG. 7, the program execution control device 10 in FIG. 2 refers to “/ folderprog / through” in the
次に、下位フォルダデータ投入部124は、この処理結果データを「プログラム例3」フォルダのさらに下位の「処理3−1」フォルダに入力する。そして、フォルダ割当処理管理部126は、名称管理DB132を参照して、この「処理3−1」フォルダの処理割当存在(「usr/local/proc31」)を確認する。そして、処理実行部127は、この「usr/local/proc31」から読み出したプログラムにより、処理結果データを作成する。
Next, the lower folder
ここで、下位フォルダデータ投入部124は、この処理結果データをさらに、下位の処理付きフォルダに投入しようとするが、そこには、「else」フォルダ、「if(100<val(*.result)and val(*fesult)<200))」フォルダおよび「if(val(*.result)≧200))」フォルダの3つのフォルダがある。
Here, the lower folder
そこで、下位フォルダデータ投入部124は、else以外のフォルダに対して、各々フォルダへ「DataFolder302」の入力を試みる。なお、「val(*.result)」は、入力されたデータ内の拡張子がresultであるファイル内に書かれた先頭の数値を取得する命令である。2つのif文のフォルダは排他的な条件を持っていることになり、先の数値が、「100を超え、200未満」の場合、下位フォルダデータ投入部124は「DataFolder302」を「処理3−21」フォルダに入力する。そして、下位フォルダデータ投入部124は、その処理結果データはこれ以上、下位の処理付きフォルダに渡すことができないため、この「処理結果3−21」フォルダの中にその処理結果データを格納する。
Therefore, the lower folder
一方、先の数値が「200以上」の場合には、下位フォルダデータ投入部124は「DataFolder302」を、「処理3−22」フォルダに投入する。そして、下位フォルダデータ投入部124は、その処理結果はこれ以上、下位の処理付きフォルダに渡すことができないため、この「処理結果3−22」フォルダの中にその処理結果データを格納する。
On the other hand, when the previous numerical value is “200 or more”, the lower folder
この2つのいずれのフォルダにも投入されなかった場合(つまり、先の数値が「100」以下の場合)には、下位フォルダデータ投入部124は「DataFolder302」フォルダを、「else」フォルダに入力する。フォルダ割当処理管理部126は、「else」フォルダに割り当てられた処理を確認し、処理実行部127は、その「DataFolder302」に処理を加えない。そして、フォルダ割当処理管理部126は、「DataFolder302」は、その下位の「処理3−23」フォルダにデータを投入し、その処理結果はこれ以上、下位の処理付きフォルダに渡すことができないため、「処理結果3−23」フォルダの中にその処理結果データを格納する。
If it is not input to any of these two folders (that is, the previous numerical value is “100” or less), the lower folder
例えば、「DataFolder302」フォルダ内の「a.result」がval()で参照されるとして、
この「a.result」の中身が「50」なら、下位フォルダデータ投入部124は、この「DataFolder302」フォルダを「処理3−23」フォルダへ入力する。また、「a.result」の中身が「150」なら、下位フォルダデータ投入部124は、この「DataFolder302」フォルダを、「処理3−21」フォルダへ入力する。さらに「a.result」の中身が「300」なら、下位フォルダデータ投入部124は、この「DataFolder302」フォルダを「処理3−22」フォルダへ入力する。このようにして、プログラム実行制御装置10は、条件分岐が設定されたプログラムについて処理を実行することができる。そして、その処理結果データを各フォルダに格納することができる。
For example, if “a.result” in the “DataFolder302” folder is referenced by val (),
If the content of “a.result” is “50”, the lower folder
すなわち、ユーザは、このようにフォルダ名にif文を含めることで、条件分岐のあるプログラムを簡単に組み立てることができる。 That is, the user can easily assemble a program with conditional branching by including an if statement in the folder name in this way.
<第2の実施の形態の応用例 その1>
また、第2の実施の形態において、プログラム実行制御装置10は、if文を、複数のデータの到着を待ってから行う処理に応用してもよい。図8は、第2の実施の形態のプログラム実行制御装置の応用例を説明した図である。この第2の実施の形態のプログラム実行制御装置10は、図8に示す名称管理DB132を参照して、「2つの乱数値の加算結果に2を足した値を画面出力する」という処理を実行する場合を例に説明する。
<Application Example of
In the second embodiment, the program execution control apparatus 10 may apply the if statement to processing performed after waiting for arrival of a plurality of data. FIG. 8 is a diagram for explaining an application example of the program execution control apparatus according to the second embodiment. The program execution control apparatus 10 according to the second embodiment refers to the
この名称管理DB132において、「random」は、0から第1引数で指定された数値までの整数値の乱数を生成する処理(「/bin/random」)を示し、「計算」は、第1引数として与えられた計算式を評価する処理(「usr/local/bin/calculate」)を示し、「画面出力」は、入力されたファイルを表示する処理(「/bin/print-message」)を示す。さらに、「プログラム例4」や「合流先」は、何もしないという処理(「/folderprog/through」)を示す。なお、「none」フォルダは、処理付きフォルダではないものとする。
In this
例えば、符号1302に示す「プログラム例4」フォルダに、中身が空のフォルダからなるデータ(例えば、「DataFolder401」)等が入力されると、フォルダ割当処理管理部126は、この「プログラム例4」フォルダに割り当てられた処理割当存在(「/folderprog/through」)を確認し、処理実行部127は「DataFolder401」に対して、特に何もせず、入力されたものと同じ処理結果データを得る。下位フォルダデータ投入部124は、その処理結果データをさらに、下位の処理付きフォルダに投入しようとするが、そこには、「random 6 > cy1.num」フォルダと、「random 6 > cy2.num」フォルダとの2つの処理付きフォルダがある。
For example, when data (for example, “DataFolder401”) including an empty folder is input to the “program example 4” folder denoted by
そこで、下位フォルダデータ投入部124は、この2つのフォルダヘ「DataFolder401」の入力を試みる。まず、処理実行部127は、「random 6 > cy1.num」フォルダに割り当てられた処理(「/bin/random」)を実行し、0〜6までの乱数値を作成する。ここでは、処理実行部127が作成した乱数「cy1.num」を「DataFolder401」フォルダに格納し、処理結果データとして「DataFolder401/cy1.num」を得る。
Therefore, the lower folder
次に、下位フォルダデータ投入部124は、処理結果データ「DataFolder401/cy1.num」を下位の処理付きフォルダに入力しようとするが、そこにはリンク「link/プログラム例4/none/合流先」がある。このため下位フォルダデータ投入部124は、その処理結果データを、そのリンク先である「合流先」フォルダに入力する。前記したとおり、この「合流先」フォルダに割り当てられた処理は「何もしない」というものなので、下位フォルダデータ投入部124は、さらにその下位フォルダに処理結果データ「DataFolder401/cy1.num」を受け渡す。
Next, the lower folder
ここで、下位フォルダデータ投入部124は、「if(exist(cy1.num)and exist(cy2.num))」へ、処理結果データ「DataFolder401/cy1.num」の入力を試みる。しかし、この「DataFolder401」フォルダ内には「cy1.num」は存在するものの、「cy2.num」は存在しない。つまり、「if (exist(cy1.num)and exist(cy2.num))」という条件を満足しない。また、「else」フォルダも存在しない。このため、全体制御部129は、「DataFolder401/cy1.num」をそのまま「if (exist(cy1.num)and exist(cy2.num))」フォルダと同じ階層にフォルダごと保持する。
Here, the lower folder
一方、処理実行部127は、「random 6 > cy2.num」フォルダに割り当てられた処理(「/bin/random」)を実行し、0〜6までの乱数値を作成する。そして、処理実行部127が作成した乱数を「DataFolder401」(乱数「cy1.num」を格納したフォルダと同じ名称のフォルダ)に格納し「DataFolder401/cy2.num」として得る。
On the other hand, the
次に、下位フォルダデータ投入部124は、前記した「DataFolder401/cy1.num」を得た場合と同様に、処理結果データ「DataFolder401/cy2.num」を下位の処理付きフォルダに入力しようとする。しかし、そこにはフォルダのリンク「link/プログラム例4/none/合流先」がある。このため下位フォルダデータ投入部124は、処理結果データをそのリンク先である「合流先」フォルダへ入力する。
Next, the lower folder
前記したとおり、この「合流先」フォルダに割り当てられた処理は「何もしない」というものなので、下位フォルダデータ投入部124は、処理結果データをさらにその下位フォルダ「if(exist(cy1.num)and exist(cy2.num))」へ入力しようとする。ここで、このフォルダと同じ階層には、同じ名称の「DataFolder401」フォルダが存在する。このため、全体制御部129は、「DataFolder401/cy2.num」と、「DataFolder401/cy1.num」とマージし、「DataFolder401」に「cy1.num」と「cy2.num」の両方が存在するようにする。そして、下位フォルダデータ投入部124はこのデータがマージされた「DataFolder401」を、「if(exist(cy1.num)and exist(cy2.num))」フォルダへ入力する。ここで、「if(exist(cy1.num)and exist(cy2.num))」フォルダは、「cy1.num」と「cy2.num」の両方が存在する、という条件を満足するため、下位フォルダデータ投入部124は、さらにその下の「計算 "val(cy1.num)+val(cy2.num)+2"」フォルダヘの入力を行う。「val(Y)」が、入力されたデータYの先頭の数値を取得する命令であるとすると、処理実行部127は、それぞれの処理結果データの先頭の数値を足し、さらに乱数の値域を補正する「+2」を実行し、その処理結果データを下位の「画面出力」フォルダヘ入力する。
As described above, since the processing assigned to this “merge destination” folder is “do nothing”, the lower folder
処理実行部127は、入力された処理結果データに対し、「画面出力」フォルダに割り当てられた処理(「/bin/print-message」)を実行する。下位フォルダデータ投入部124は、この処理結果データを、これ以上、下位の処理付きフォルダに渡すことができないため、「画面出力」フォルダの中にその処理結果データを格納する。なお、もし画面出力後にファイルを削除したければ画面出力フォルダの中にゴミ箱フォルダヘのリンクを置けばよい。このようにすることで画面出力後の処理結果データは削除される。
The
このようにすることで。プログラム実行制御装置10は、2つの乱数値の加算結果に2を足した値を画面出力するという処理を実行できる。 By doing this. The program execution control apparatus 10 can execute a process of outputting a value obtained by adding 2 to the addition result of two random number values on the screen.
<第2の実施の形態の応用例 その2>
また、第2の実施の形態において、プログラム実行制御装置10は、if文を用いて条件分岐を設定できることとしたが、この条件分岐を使った繰り返し処理に応用にしてもよい。図9は、第2の実施の形態のプログラム実行制御装置10の応用例を説明した図である。また、ここではプログラム実行制御装置10は、図9に示す名称管理DB132を参照して処理を実行する場合を例に説明する。
<Application Example 2 of
In the second embodiment, the program execution control apparatus 10 can set a conditional branch using an if statement. However, the program execution control apparatus 10 may be applied to an iterative process using the conditional branch. FIG. 9 is a diagram illustrating an application example of the program execution control device 10 according to the second embodiment. Here, the case where the program execution control apparatus 10 executes processing with reference to the
この名称管理DB132において、「カウンタ追加」は、フォルダ内に繰り返し用のカウンタを格納するファイル「cnt」を生成する処理(「/folderprog/init-loop-cnt」)を示し、「計算」は、第1引数として与えられた計算式を評価する処理(「usr/local/bin/calculate」)を示し、「画面出力」は、入力されたファイルを画面表示する処理(「/bin/print-message」)を示す。
In the
例えば、符号1401に示す「プログラム例5」フォルダに、中身が空のフォルダ(例えば、「DataFolder501」)等が入力されると、フォルダ割当処理管理部126は、この「プログラム例5」フォルダに割り当てられた処理割当存在(「/folderprog/through」)を確認し、処理実行部127は「DataFolder501」に対して、特に何もせず、入力されたものと同じ処理結果データを得る。下位フォルダデータ投入部124は、その処理結果データをさらに、下位の「カウンタ追加 0 > cnt」フォルダに入力する。処理実行部127は、この「カウンタ追加 O > cnt」フォルダに割り当てられた処理(「/folderprog/init-loop-cnt」)を実行し、「0」の値を持つcntファイルを作成する。そして、処理実行部127は、この「0」の値を持つcntファイルを「DataFolder501」フォルダに格納する。そして、このフォルダを処理結果データとする。
For example, when an empty folder (for example, “DataFolder501”) or the like is input to the “program example 5” folder indicated by
そして、下位フォルダデータ投入部124は、処理結果データ(「DataFolder501」フォルダ)をさらに、下位の処理付きフォルダに入力しようとするが、そこには、「else」フォルダと「if(val(cnt)10)」フォルダとがある。
Then, the lower folder
そこで、下位フォルダデータ投入部124は、「if(val(cnt)<10)」フォルダに対して、この「DataFolder501」フォルダの入力を試みる。この「val(cnt)」は、入力されたフォルダ内の「cnt」ファイル内に書かれた先頭の数値を取得する命令である。ここで最初は、この「cnt」ファイルに記載された値は「0」であるので、「if(val(cnt)<10)」フォルダのフォルダ名に含まれるif文(「if(val(cnt)<10)」)の条件を満たす。よって、下位フォルダデータ投入部124は、この「DataFolder501」フォルダを、さらにその下位の「画面出力cnt」フォルダへ入力する。
Therefore, the lower folder
処理実行部127は、この「画面出力」フォルダに割り当てられた画面表示処理(「/bin/print-message」)を実行する。つまり、処理実行部127は、「cnt」ファイルの内容を画面表示する。そして、下位フォルダデータ投入部124は、ここでの処理結果データを、さらにその下位の「計算“cnt++”」フォルダへ受け渡す。この処理実行部127は、この処理結果データに対し、「計算“cnt++”」フォルダに割り当てられた処理を実行する。つまり、処理実行部127は、「cnt」ファイルの内容の値をインクリメントする処理を実行する。
The
そして、下位フォルダデータ投入部124は、さらにその下位の処理付きフォルダへ処理結果データを入力するが、そこにはフォルダのリンク「カウンタ追加 0 >cnt」がある。そのため、下位フォルダデータ投入部124は、処理結果データをそのリンク先である「カウンタ追加 0 > cnt」フォルダへ入力する。
Then, the lower folder
以下、「cnt」の値が「10」になるまで、if条件に従い、画面出力(「/bin/print-message」)が繰り返されるが、「cnt」の値が「10」になった時点で、if条件を満たさなくなる。よって、その処理結果データは、同じ階層にある「else」フォルダに入力される。この「else」フォルダは、入力されたデータに処理を加えるものではないので、処理実行部127は、処理を実行せず、下位フォルダデータ投入部124は、処理結果データをこの「画面出力“ループ終了"」フォルダに入力する。これにより、処理実行部127は、「画面出力“ループ終了"」フォルダに割り当てられた処理(「/bin/print-message」)を実行し、画面に“ループ終了"メッセージを表示する。ここで下位フォルダデータ投入部124は、これ以上、処理結果データを下位の処理付きフォルダに渡すことができないため、「画面出力“ループ終了"」フォルダの中にその処理結果データを格納する。
Hereinafter, screen output (“/ bin / print-message”) is repeated according to the if condition until the value of “cnt” becomes “10”, but when the value of “cnt” becomes “10” , If condition is not met. Therefore, the processing result data is input to the “else” folder in the same hierarchy. Since this “else” folder does not add any processing to the input data, the
このようにすることで、プログラム実行制御装置10は、条件を満たすまで繰り返し処理を実行することができる。 By doing in this way, the program execution control apparatus 10 can repeatedly perform a process until the conditions are satisfied.
≪第3の実施の形態≫
次に、本発明の第3の実施の形態を説明する。このプログラム実行制御装置は、フォルダにデータが入力されたとき、名称管理DBを参照して、このデータが予めフォルダに割り当てられた実行条件(例えば、所定のデータ型であること)を満たすデータであるか否かを判断する。そして、このデータが実行条件を満たさないと判断したとき、このフォルダに割り当てられた処理を実行しないことを特徴とする。なお、前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。このようなプログラム実行制御装置10Aは、名称管理DB132Aを備える(図3参照)。
<< Third Embodiment >>
Next, a third embodiment of the present invention will be described. The program execution control device refers to the name management DB when data is input to the folder, and the data satisfies the execution condition (for example, a predetermined data type) assigned to the folder in advance. Judge whether there is. When it is determined that this data does not satisfy the execution condition, the process assigned to this folder is not executed. Note that the same components as those in the above-described embodiment are denoted by the same reference numerals and description thereof is omitted. Such a program execution control device 10A includes a
図10は、第3の実施の形態のプログラム実行制御装置の名称管理DBを例示した図である。図10に示すように、名称管理DB132Aは、プログラムの名称と、その名称のフォルダに入力されたデータ対する処理に加え、このフォルダに割り当てられた処理の実行条件(このフォルダで受け付けるデータ形式の条件等)をさらに含む。
FIG. 10 is a diagram illustrating a name management DB of the program execution control device according to the third embodiment. As shown in FIG. 10, in addition to the program name and the process for the data input to the folder of that name, the
例えば、図10に示す名称管理DB132Aにおいて、「Proc-Jpeg重ね合わせ」に割り当てられた処理(「/usr/bin/merge-jpeg」)は、入力データ「A.jpg」および「B.jpg」が揃ったときに実行されることを示す。つまり、処理実行部127(図3参照)は、入力データ「A.jpg」および「B.jpg」が入力されるのを待って「Proc-Jpeg重ね合わせ」に割り当てられた処理を実行することを示す。
For example, in the
また、図10に示す「プログラム例6」に割り当てられた処理(「/folderprog/through」)の実行条件は、「NULL(入力されたフォルダが空でも受け付ける)」であり、「if」に割り当てられた処理(/folderprog/eval-if」の実行条件は、「ALL(何でも受け付ける)」であることを示す。さらに、この条件には「*(ワイルドカード)」等を用いてもよく、例えば、「Proc-映像内テロップ挿入」に割り当てられた処理(「usr/bin/telop-insert」)の実行条件は、入力データが「mpegファイル」または「txtファイル」であることを示す。 Also, the execution condition of the process (“/ folderprog / through”) assigned to “Program Example 6” shown in FIG. 10 is “NULL (accepts even if the input folder is empty)” and assigned to “if”. The execution condition of the processed processing (/ folderprog / eval-if) is “ALL (accept anything).” Furthermore, “* (wild card)” or the like may be used for this condition, for example, , The execution condition of the process (“usr / bin / telop-insert”) assigned to “Proc-insert telop in video” indicates that the input data is “mpeg file” or “txt file”.
また、図10に示す「Proc-アニメGif作成」に割り当てられた処理(「usr/bin/merge-gif」)の実行条件は、「*.gif[ ](可変個のgifファイルを受け付ける)」と「start」とが揃ったときであることを示す。つまり、「Proc-アニメGif作成」フォルダにおいて、可変個のgifファイルの入力を受け付け、startファイルが入力されたときに、処理実行部127が、この「Proc-アニメGif作成」を実行することを示す。例えば、処理実行部127は、入力された複数個のgifファイルをファイルのID順に並べてアニメーションを作成する。このような実行条件に基づき、各処理付きフォルダに割り当てられた処理を実行するか否かの判断は、前記した図3の全体制御部129において行われる。
The execution condition of the process (“usr / bin / merge-gif”) assigned to “Proc-Anime Gif creation” shown in FIG. 10 is “* .gif [] (accepts variable number of gif files)”. And “start” are aligned. That is, in the “Proc-Anime Gif creation” folder, input of a variable number of gif files is accepted, and when the start file is input, the
このようなプログラム実行制御装置10Aの動作手順を、図4を参照しつつ、図11および図12を用いて説明する。図11および図12は、第3の実施の形態のプログラム実行制御装置の動作手順における特徴的部分に示したフローチャートである。 The operation procedure of the program execution control apparatus 10A will be described with reference to FIGS. 11 and 12 with reference to FIG. FIG. 11 and FIG. 12 are flowcharts shown in the characteristic part in the operation procedure of the program execution control apparatus of the third embodiment.
このプログラム実行制御装置10Aは、前記した図4および図5に示した手順と同様の手順で処理を実行するが、データ入力を受け付ける処理(図4のS101)およびフォルダに割り当てられた処理を実行する処理(S104)が異なる。まず、図11を用いてデータ入力受け付け処理を説明する。 The program execution control apparatus 10A executes processing in the same procedure as that shown in FIGS. 4 and 5 described above, but executes processing for receiving data input (S101 in FIG. 4) and processing assigned to the folder. The processing to be performed (S104) is different. First, the data input acceptance process will be described with reference to FIG.
すなわち、図4のS101におけるデータ入力受け付けステップにおいて、データ受付部122(図3参照)は、フォルダに格納されたデータ入力を受け付ける(図11のS301:フォルダ入力受け付け)。つまり、データ受付部122(図3参照)は、フォルダごとデータ入力を受け付ける。全体制御部129は、このフォルダの入力先フォルダと同じ階層に、S301で入力されたフォルダと同じ名称のフォルダがあるか否かを判断する(S302)。
That is, in the data input reception step in S101 of FIG. 4, the data reception unit 122 (see FIG. 3) receives the data input stored in the folder (S301 in FIG. 11: folder input reception). That is, the data receiving unit 122 (see FIG. 3) receives data input for each folder. The
例えば、全体制御部129は、「Proc-Jpeg重ね合わせ」(図10参照)フォルダへ入力されたフォルダが「Data Folder99」フォルダであるとき、この「Proc-Jpeg重ね合わせ」フォルダと同じ階層に、同じ名称(「Data Folder99」)のフォルダがあるか否かを判断する。
For example, when the folder input to the “Proc-Jpeg overlay” (see FIG. 10) folder is the “Data Folder99” folder, the
ここで、全体制御部129が、入力先フォルダと同じ階層に、S301で入力されたフォルダと同じ名称のフォルダがあると判断したとき(S302のYes)、この同じ名称のフォルダのデータ同士をまとめて受け付けデータとする(S303)。
Here, when the
例えば、全体制御部129は、この「Proc-Jpeg重ね合わせ」フォルダと同じ階層に「Data Folder99」フォルダがあるとき、これらのフォルダ内のデータをまとめて、この「Proc-Jpeg重ね合わせ」フォルダの受付データとする。
For example, when there is a “Data Folder99” folder in the same hierarchy as the “Proc-Jpeg superposition” folder, the
一方、全体制御部129が、このデータ入力先フォルダと同じ階層に、S301で入力されたフォルダと同じ名称のフォルダはないと判断したとき(S302のNo)、S301に戻る。
On the other hand, when the
このような処理をした後、プログラム実行制御装置10Aは、図4のS102以降の処理を実行する。 After performing such processing, the program execution control apparatus 10A executes processing subsequent to S102 in FIG.
次に、図12を用いて、図4のS104における、フォルダに割り当てられた処理を実行するステップについて説明する。図4のS103において、フォルダ割当処理管理部126は、名称管理DB132A(図10参照)を参照して、処理が選択できたとき(S103のYes)、以下のような処理を行う。
Next, with reference to FIG. 12, the steps of executing the process assigned to the folder in S104 of FIG. 4 will be described. In S103 of FIG. 4, the folder assignment
すなわち、プログラム実行制御装置10Aの全体制御部129(図3参照)は、名称管理DB132Aを参照して、入力されたフォルダ(具体的には、このフォルダ内のデータ)が、入力先フォルダに割り当てられた処理を実行する実行条件を満たすか否かを判断する(図12のS401)。
That is, the overall control unit 129 (see FIG. 3) of the program execution control apparatus 10A refers to the
ここで、全体制御部129が、この入力先フォルダに入力されたデータが、このフォルダ(入力先フォルダ)に割り当てられた処理の実行条件を満たすと判断したとき(S401のYes)、処理実行部127は、入力データに対して、このフォルダ(入力先フォルダ)に割り当てられた処理を実行し、処理結果データを作成する(S402)。そして、図4のS105以降の処理を実行する。
Here, when the
一方、全体制御部129が、名称管理DB132Aを参照して、当該フォルダに入力されたデータが、このフォルダ(入力先フォルダ)に割り当てられた処理の実行条件を満たさないと判断したとき(S401のNo)、当該フォルダ(入力先フォルダ)における受け入れを拒否する。そして、全体制御部129が、当該フォルダと同じ階層に、フォルダごと退避させておく(S403)。つまり、全体制御部129は、いったん入力先フォルダに入力されたデータを元に戻し、入力先フォルダと同じ階層にフォルダごと退避させておく。そして、図4のS105以降の処理を実行する。
On the other hand, when the
このプログラム実行制御装置10Aの動作手順を、具体例を用いて説明する。図13は、第3の実施の形態のプログラム実行制御装置の動作手順を概念的に説明した図である。ここで、プログラム実行制御装置10Aは、図10に例示した名称管理DB132Aを参照するものとして説明する。
The operation procedure of the program execution control apparatus 10A will be described using a specific example. FIG. 13 is a diagram conceptually illustrating an operation procedure of the program execution control device according to the third embodiment. Here, the program execution control apparatus 10A will be described as referring to the
ここでは、「Proc-Jpeg重ね合わせ」フォルダへの入力データとして「A.jpg」と「B.jpg」とが揃ったとき、処理実行部127は、この「A.jpg」と「B.jpg」とに対し「Proc-Jpeg重ね合わせ」フォルダに割り当てられた処理を実行する場合を例に説明する。なお、図13において「プログラム例6」に入力されるデータ(「A.jpg」や「B.jpg」、または「A.jpg」や「B.jpg」を格納した「Data Folder99」)は、図示しない他の処理付きフォルダにより処理された後の処理結果データであってもよい。つまり、プログラム実行制御装置10Aは、図13(1)〜(4)に示す処理の前または後に、他の処理付きフォルダによる処理を実行してもよい。
Here, when “A.jpg” and “B.jpg” are prepared as input data to the “Proc-Jpeg superimposition” folder, the
(1)まず、「プログラム例6」フォルダに、「Data Folder99」フォルダに格納された「B.jpg」が入力されると、処理実行部127は、この「Data Folder99」フォルダに対して、処理を行わず、入力されたものと同じ処理結果データを得る。よって、下位フォルダデータ投入部124は、「Data Folder99」フォルダをそのまま「Proc-Jpeg重ね合わせ」フォルダへ入力する。ここで、「Proc-Jpeg重ね合わせ」フォルダと同じ階層に、今回入力された「Data Folder99」フォルダと同じ名称のフォルダがないので、全体制御部129は、データ同士をまとめない。
(1) First, when “B.jpg” stored in the “Data Folder99” folder is input to the “Program Example 6” folder, the
(2)次に、全体制御部129は、「A.jpg」がまだ入力されていないので、この「B.jpg」が格納される「Data Folder99」フォルダを「Proc-Jpeg重ね合わせ」フォルダと同じ階層に保持する(退避させておく)。つまり、全体制御部129は、「Proc-Jpeg重ね合わせ」フォルダに「A.jpg」が入力されるのを待つ。
(2) Next, since “A.jpg” has not yet been input, the
(3)次に、「プログラム例6」フォルダに、「Data Folder99」フォルダに格納された「A.jpg」が入力されると、下位フォルダデータ投入部124は、「Data Folder99」フォルダごと「Proc-Jpeg重ね合わせ」フォルダへ入力する。ここで、全体制御部129は、「Proc-Jpeg重ね合わせ」フォルダと同じ階層にも「Data Folder99」フォルダがあることを確認すると、これらのフォルダ内のデータ(つまり、「A.jpg」と「B.jpg」)をまとめて、「Proc-Jpeg重ね合わせ」フォルダの受付データとする。
(3) Next, when “A.jpg” stored in the “Data Folder99” folder is input to the “Program Example 6” folder, the lower folder
(4)この(3)における「A.jpg」の入力により、名称管理DB132Aに示される「Proc-Jpeg重ね合わせ」フォルダに割り当てられた処理の実行条件が揃ったことになる。よって、全体制御部129は、処理実行部127に「A.jpg」と「B.jpg」に対し、この「Proc-Jpeg重ね合わせ」フォルダに割り当てられた処理の実行と、その処理結果データを作成とを行わせる。つまり、全体制御部129は、処理実行部127に、この「Proc-Jpeg重ね合わせ」フォルダに割り当てられた処理(「usr/bin/merge-jpeg」)を実行させる。
(4) By the input of “A.jpg” in (3), the execution conditions of the processing assigned to the “Proc-Jpeg superposition” folder shown in the
このようにすることでプログラム実行制御装置10Aは、複数の所定データが揃ったときに、当該フォルダに割り当てられた処理を実行することができる。例えば、プログラム実行制御装置10Aにおいてフォルダが受け付けるデータが、HTTP(HyperText Transfer Protocol)のように連続するデータを1つ1つ受け取るプロトコルにより送信されるデータの場合でも、一連のデータが揃うのを待って、当該フォルダに割り当てられた処理を実行することができる。 By doing so, the program execution control apparatus 10A can execute the process assigned to the folder when a plurality of predetermined data is prepared. For example, even if the data received by the folder in the program execution control apparatus 10A is data transmitted by a protocol that receives continuous data one by one, such as HTTP (HyperText Transfer Protocol), it waits for a series of data to be prepared. Thus, the process assigned to the folder can be executed.
また、このように名称管理DB132Aに、その処理付きフォルダで受け付け可能なファイル形式、スキーマ等も設定することで、プログラム実行制御装置10Aは、各処理付きフォルダごとに、そのフォルダに割り当てられた処理の対象となるデータを定義できる。
In addition, by setting the file format, schema, etc. that can be received in the folder with processing in the
≪第4の実施の形態≫
次に、第4の実施の形態を説明する。第4の実施の形態は、各プログラム実行制御装置内の名称管理DBやプログラム記憶部の情報を、サーバで管理することを特徴とする。つまり、プログラム実行制御装置は、ネットワーク経由で、名称管理DBの情報と、その名称のプログラムとをサーバからダウンロードするようにしてもよい。図14は、第4の実施の形態のプログラム実行制御装置を含むシステムを例示した図である。
<< Fourth Embodiment >>
Next, a fourth embodiment will be described. The fourth embodiment is characterized in that information on the name management DB and the program storage unit in each program execution control device is managed by a server. In other words, the program execution control apparatus may download the information of the name management DB and the program with the name from the server via the network. FIG. 14 is a diagram illustrating a system including a program execution control device according to the fourth embodiment.
図14に示すように、システムは、1以上のプログラム実行制御装置10Bと、ネットワーク30経由でプログラム実行制御装置10Bに接続されるサーバ20とを含んで構成される。システムを構成するプログラム実行制御装置10Bおよびサーバ20の数は、図14に示す数に限定されない。このネットワーク30は、例えば、インターネットやLAN(Local Area Network)である。プログラム実行制御装置10Bは、このようなネットワーク30経由で通信を行うための通信インタフェースを備えるものとする。また、サーバ20もこのネットワーク30経由で通信を行うための通信インタフェースを備えるものとする。このサーバ20は、プログラムの名称ごとに、この名称のプログラムの格納領域を示した情報を名称管理DB232と、各種プログラムを格納するプログラム記憶部233とを備える。その詳細は、前記したプログラム実行制御装置10(10A)と同様なので説明を省略する。
As shown in FIG. 14, the system includes one or more program
このサーバ20は、このプログラム実行制御装置10Bからの要求に応じて、ネットワーク30経由で、名称管理DB232の情報およびこのプログラム記憶部233に格納されるプログラムを送信する。
The
例えば、サーバ20は、名称管理DB232にされるプログラム一覧を、ネットワーク30経由で、プログラム実行制御装置10Bの表示装置等に図2の符号103に示すようなプログラム選択画面として表示させる。つまり、フォルダそれぞれにプログラムの名称を付けた状態で画面上に表示させる。そして、サーバ20は、このプログラム選択画面103からプログラムの選択情報を受信すると、その名称のフォルダと、その名称のプログラムとをプログラム実行制御装置10Bへ送信する。このようにして受信したフォルダを、プログラム実行制御装置10Bのファイル管理部121は、フォルダ情報131に格納する。また、受信したプログラムをプログラム記憶部133に格納する。
For example, the
このようにすることで、プログラム実行制御装置10Bは、サーバ20により公開されている様々なプログラムをフォルダに割り当てることができる。なお、サーバ20は、プログラム実行制御装置10Bへ、プログラムの名称(フォルダに割り当てる名前)と、そのプログラムの格納領域を送信し、プログラム自体はサーバ20側で持つようにしてもよい。つまり、プログラムはサーバ20側で実行するようにしてもよい。
In this way, the program
なお、前記した各実施の形態において、一連のプログラムを実行するためのフォルダ群はすべてプログラム実行制御装置10,10A,10Bで保持することとしたが、これに限定されない。例えば、フォルダ群の一部のフォルダをプログラム実行制御装置10,10A,10Bで保持し、それ以外のフォルダについては、外部の装置のフォルダやWebDAV(Distributed Authoring and Versioning protocol for the WWW)のWebフォルダで保持するようにしてもよい。
In each of the embodiments described above, all the folder groups for executing a series of programs are held in the program
図15は、本実施の形態において、画像の特徴量を抽出する処理を実行するためのフォルダ群と、プログラム実行制御装置が参照する名称管理DBとを例示した図である。なお、名称管理DB132において、名称管理DB132Aにおける実行条件の欄の記載は省略している。
FIG. 15 is a diagram exemplifying a folder group for executing a process of extracting an image feature amount and a name management DB referred to by the program execution control device in the present embodiment. In the
例えば、図15に示すように、符号1601に示すフォルダ群により組み立てられている場合、このうち符号1602に示すフォルダ群、つまり、名称管理DB132の符号1321に示すプログラムが割り当てられたフォルダについては、外部の装置の処理付きフォルダを用いるようにしてもよい。この場合、フォルダ同士をネットワーク30越しに接続した関係ならば、このリンク先の情報としてフォルダ名にURIやURL(Uniform Resource Locator)等を記載すればよい。
For example, as shown in FIG. 15, when the folder group indicated by
以上説明したプログラム実行制御装置10,10A,10Bによれば、ユーザが、Webサーバや、各地点に設置されたセンサ等、様々なデータに対し、そのデータに応じた様々なプログラムの組み立てたいとき、簡単にプログラムを組み立てられるので大変便利である。 According to the program execution control devices 10, 10 </ b> A, and 10 </ b> B described above, when a user wants to assemble various programs according to the data, such as a Web server or a sensor installed at each point. It is very convenient because you can easily assemble the program.
また、前記した各実施の形態のプログラム実行制御装置10,10A,10Bの表示処理部120は、表示画面上で、処理付きフォルダを、通常のフォルダとは異なる色で表示してもよい。さらに、表示処理部120は、フォルダ群のうち、そのフォルダ内にデータ(処理結果データ)が残っているものについては、異なる色で表示してもよい。このようにすることで、ユーザは、表示画面上で処理付きフォルダや、フォルダ内に処理結果データが残っているフォルダを識別しやすくなる。
In addition, the
さらに、プログラム実行制御装置10,10A,10Bは、フォルダ情報131に示されるフォルダの階層構造をXMLデータに変換して出力したり、またXMLデータで入力されたデータをフォルダの階層構造を示すデータに変換したりしてもよい。このようにすることで、プログラム実行制御装置10,10A,10Bが格納するフォルダ情報131を他のシステム等でも使いやすくなる。
Further, the program
また、プログラム実行制御装置10,10A,10Bのフォルダ割当処理管理部126は、当該フォルダが処理の割り当てられたフォルダか否かを、名称管理DB132を参照して判断することとしたが、このフォルダ名に含まれる識別子等で判断するようにしてもよい。例えば、フォルダ割当処理管理部126は、フォルダ名の先頭に「処理:」や「@」等の識別子となる文字や記号が入っていれば、このフォルダを、処理の割り当てられたフォルダ(処理付きフォルダ)と判断し、これらの文字や記号が入っていなければ通常フォルダと判断するようにしてもよい。このようにすることで、フォルダ割当処理管理部126は、フォルダが処理付きフォルダか通常フォルダか名称管理DB132を参照せずに判断できる。
Further, the folder assignment
さらに、このフォルダ割当処理管理部126が、データの入力先フォルダのフォルダ名と、名称管理DB132とを参照して、この入力先フォルダに割り当てられた処理を判断するとき、その判断結果をキャッシュとして記憶部13に記憶しておき、同じフォルダ名に関する問い合わせを受けたとき、このキャッシュを用いて返事を返してもよい。このようにすることで、フォルダ割当処理管理部126は、同じフォルダ名に関する問い合わせを高速に処理できる。
Further, when the folder assignment
なお、前記した実施の形態においてプログラム実行制御装置10,10A,10Bにおいて、処理付きフォルダに対しそのフォルダに割り当てられた処理(フォルダ名の一部にパラメータが含まれていた場合には、そのパラメータを設定した処理)を実行し、その処置付きフォルダの下位にフォルダがあった場合でも、その下位のフォルダに処理結果データを入力しないようにしてもよい。つまり、図3に示したプログラム実行制御装置1010A,10Bにおいて、下位フォルダデータ投入部124を含まない構成としてもよい。
In the above-described embodiment, in the program
本実施の形態に係るプログラム実行制御装置10,10A,10Bは、前記したような処理を実行させるプログラムによって実現することができ、そのプログラムをコンピュータに読み取り可能な記憶媒体(CD−ROM等)に記憶して提供することが可能である。また、そのプログラムを、インターネット等のネットワークを通して提供することも可能である。
The program
10,10A,10B プログラム実行制御装置
11 入出力部
12 処理部
13 記憶部
20 サーバ
30 ネットワーク
120 表示処理部
121 ファイル管理部
122 データ受付部
123 結果通知部
124 下位フォルダデータ投入部
125 結果受信部
126 フォルダ割当処理管理部
127 処理実行部
128 処理結果管理部
129 全体制御部
131 フォルダ情報
132,132A,232 名称管理DB(データベース)
133,233 プログラム記憶部
10, 10A, 10B Program
133,233 Program storage unit
Claims (13)
前記フォルダの名称およびこのフォルダの階層関係を示したフォルダ情報と、前記フォルダの名称ごとに、この名称のフォルダに入力されたデータに対し実行するプログラムを示した名称管理データベースとを記憶する記憶部と、
前記フォルダ情報を参照して前記フォルダの階層関係を判断するファイル管理部と、
前記フォルダに入力するデータを受け付けるデータ受付部と、
前記名称管理データベースと、前記データが入力されたフォルダの名称とを参照して、前記入力されたデータに対し実行するプログラムを選択するフォルダ割当処理管理部と、
前記フォルダ割当処理管理部により選択されたプログラムを、前記入力されたデータに対し実行する処理実行部と、
前記ファイル管理部により、当該フォルダの下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダに入力し、さらに、前記ファイル管理部により、当該フォルダの下に複数の下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダそれぞれに入力する下位フォルダデータ投入部とを備え、
前記フォルダ割当処理管理部、前記処理実行部および前記下位フォルダデータ投入部により、前記入力されたデータまたは前記処理結果データに対し、当該データが入力されたフォルダの下位に連なるフォルダそれぞれに割り当てられたプログラムを、前記フォルダが連なる順に実行させることを特徴とするフォルダ割当プログラム実行制御装置。 A folder assignment program execution control device that performs execution control of a program assigned to each folder,
A storage unit that stores folder information indicating the name of the folder and the hierarchical relationship of the folder, and a name management database indicating a program to be executed for the data input to the folder having the name for each folder name When,
A file management unit that refers to the folder information to determine a hierarchical relationship of the folders;
A data receiving unit for receiving data to be input to the folder;
A folder assignment processing management unit that selects a program to be executed on the input data with reference to the name management database and the name of the folder in which the data is input;
A process execution unit for executing the program selected by the folder allocation process management unit on the input data;
When the file management unit determines that there is a lower folder of the folder, processing result data that is an execution result of the program assigned to the folder is input to the lower folder, and further, the file management unit A lower folder data input unit for inputting processing result data, which is the execution result of the program assigned to the folder, to each of the lower folders when it is determined that there are a plurality of lower folders under the folder. ,
The folder assignment process management unit, the process execution unit, and the lower folder data input unit are assigned to the input data or the processing result data, respectively, for each of the folders connected to the lower level of the folder in which the data is input. A folder assignment program execution control device, wherein a program is executed in the order in which the folders are arranged.
前記ファイル管理部は、
前記表示処理部に、前記フォルダ情報に示される前記フォルダの階層関係および前記フォルダの名称をツリー構造で表示させることを特徴とする請求項1に記載のフォルダ割当プログラム実行制御装置。 The folder assignment program execution control device further includes a display processing unit for displaying the folder information,
The file management unit
2. The folder assignment program execution control device according to claim 1, wherein the display processing unit displays the hierarchical relationship of the folders and the names of the folders indicated in the folder information in a tree structure.
前記処理実行部における処理結果を出力する結果通知部とを備えることを特徴とする請求項1または請求項2に記載のフォルダ割当プログラム実行制御装置。 Wherein the process execution unit, upon failure of the programs assigned to the lower folders of the folder, before Symbol file management unit, a result processing for storing the processing result data with each operation the lower folders in the folder The management department ,
The folder assignment program execution control device according to claim 1, further comprising: a result notification unit that outputs a processing result in the processing execution unit.
前記ファイル管理部により、前記複数の下位フォルダの中に、if文を含む名称のフォルダがあると判断されたとき、前記if文に示される条件を満たす前記処理結果データを、当該if文を含む名称のフォルダへ入力することを特徴とする請求項1ないし請求項3のいずれか1項に記載のフォルダ割当プログラム実行制御装置。 The lower folder data input unit
When the file management unit determines that there is a folder having a name including an if statement in the plurality of lower folders, the processing result data satisfying the condition indicated in the if statement includes the if statement. The folder assignment program execution control device according to any one of claims 1 to 3, wherein the folder assignment program execution control device inputs a name to a folder.
前記ファイル管理部により、前記複数の下位フォルダの中に、if文を含む名称のフォルダがあると判断されたとき、前記処理結果データが、いずれの当該フォルダにおいても、前記if文に示される条件を満たさない場合に、当該処理結果データを前記複数の下位フォルダの1つとして設けたelseフォルダへ入力することを特徴とする請求項1ないし請求項4のいずれか1項に記載のフォルダ割当プログラム実行制御装置。When the file management unit determines that there is a folder having a name including an if statement in the plurality of lower folders, the processing result data includes a condition indicated in the if statement in any of the folders. 5. The folder assignment program according to claim 1, wherein the processing result data is input to an else folder provided as one of the plurality of lower folders when the condition is not satisfied. Execution control device.
前記名称管理データベースは、
前記フォルダに入力されたデータに対し実行するプログラムごとに、このプログラムの実行条件を含み、
前記全体制御部は、
前記入力されたデータが、前記フォルダに割り当てられたプログラムの実行条件を満たすデータであるか否かを判断し、前記入力されたデータが、前記フォルダに割り当てられたプログラムの実行条件を満たすデータであると判断したとき、
前記処理実行部に、前記入力されたデータに対し、前記プログラムの実行処理を行わせることを特徴とする請求項1ないし請求項5のいずれか1項に記載のフォルダ割当プログラム実行制御装置。 The folder assignment program execution control device further includes an overall control unit,
The name management database is
For each program to be executed on the data entered in the folder, including the execution conditions of this program,
The overall controller is
It is determined whether or not the input data is data satisfying the execution condition of the program assigned to the folder, and the input data is data satisfying the execution condition of the program assigned to the folder. When it is determined that there is
The process execution unit, wherein the input data, a folder allocation program execution control device according to any one of claims 1 to 5, characterized in that to perform the execution processing of the program.
前記全体制御部は、
前記実行条件に示される複数の所定データのうち、当該フォルダにまだ入力されていないデータがあるか否かを判断し、当該フォルダにまだ入力されていないデータがあると判断したとき、
前記ファイル管理部に、前記フォルダに入力したデータをこのフォルダ以外のフォルダに保持させ、
前記実行条件に示される前記複数の所定データがすべてそろったと判断したとき、前記処理実行部に、前記プログラムの実行処理を行わせることを特徴とする請求項6に記載のフォルダ割当プログラム実行制御装置。 When the execution condition of the program assigned to the folder is input of a plurality of predetermined data,
The overall controller is
Of the plurality of predetermined data indicated in the execution condition, it is determined whether there is data that has not yet been input to the folder, and when it is determined that there is data that has not yet been input to the folder,
Let the file management unit hold the data entered in the folder in a folder other than this folder,
7. The folder assignment program execution control device according to claim 6, wherein when it is determined that all of the plurality of predetermined data indicated by the execution condition has been prepared, the process execution unit is caused to execute the program. .
前記フォルダの名称にパラメータが含まれていたとき、そのパラメータを用いて前記フォルダの名称に割り当てられたプログラムの実行処理を行うことを特徴とする請求項1ないし請求項7のいずれか1項に記載のフォルダ割当プログラム実行制御装置。 The process execution unit
8. The method according to claim 1, wherein when a parameter is included in the name of the folder, the program assigned to the name of the folder is executed using the parameter. The folder assignment program execution control device described.
前記ファイル管理部は、
前記入力されたデータを当該フォルダに格納することを特徴とする請求項1ないし請求項8のいずれか1項に記載のフォルダ割当プログラム実行制御装置。 When the folder assignment management unit refers to the name management database and determines that there is no program corresponding to the name of the folder in which the data is input,
The file management unit
9. The folder assignment program execution control apparatus according to claim 1, wherein the input data is stored in the folder.
前記フォルダへ入力するデータを受け付けるステップと、
前記名称管理データベースと、前記データが入力されたフォルダの名称とを参照して、前記入力されたデータに対し実行するプログラムを選択するステップと、
前記選択したプログラムの実行処理を行うステップと、
前記フォルダ情報を参照して、当該フォルダの下位フォルダがあるか否かを判断するステップと、
当該フォルダの下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダに入力し、さらに、当該フォルダの下に複数の下位フォルダがあると判断されたとき、当該フォルダに割り当てられたプログラムの実行結果である処理結果データを、前記下位フォルダそれぞれに入力するステップと、
を繰り返すことで、前記入力されたデータまたは前記処理結果データに対し、当該データが入力されたフォルダの下位に連なるフォルダそれぞれに割り当てられたプログラムを、前記フォルダが連なる順に実行することを特徴とするフォルダ割当プログラム実行制御方法。 A storage unit is provided for storing a folder information indicating a folder name and a hierarchical relationship of the folder, and a name management database indicating a program to be executed for data input to the folder having the name for each folder name. A folder assignment program execution control device for performing execution control of the program assigned to each of the folders,
Receiving data to be input to the folder;
Selecting a program to be executed on the input data with reference to the name management database and the name of the folder in which the data is input;
Performing an execution process of the selected program;
Determining whether there is a lower folder of the folder with reference to the folder information;
When it is determined that there is a lower folder of the folder, processing result data that is the execution result of the program assigned to the folder is input to the lower folder, and there are a plurality of lower folders under the folder. When it is determined that the processing result data, which is the execution result of the program assigned to the folder, is input to each of the lower folders ;
By repeating the above, the program assigned to each of the folders connected below the folder in which the data is input is executed in the order in which the folders are connected to the input data or the processing result data. Folder assignment program execution control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008043589A JP4902574B2 (en) | 2008-02-25 | 2008-02-25 | Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008043589A JP4902574B2 (en) | 2008-02-25 | 2008-02-25 | Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009199559A JP2009199559A (en) | 2009-09-03 |
JP4902574B2 true JP4902574B2 (en) | 2012-03-21 |
Family
ID=41142950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008043589A Active JP4902574B2 (en) | 2008-02-25 | 2008-02-25 | Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4902574B2 (en) |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03262036A (en) * | 1990-03-12 | 1991-11-21 | Nec Corp | Graphic program pattern generating system |
JPH07121413A (en) * | 1993-10-27 | 1995-05-12 | Fuji Xerox Co Ltd | File management device |
JPH08202607A (en) * | 1995-01-31 | 1996-08-09 | Canon Inc | Image filing method and device |
JP3145344B2 (en) * | 1997-11-14 | 2001-03-12 | 三菱電機株式会社 | Program start control device |
JP3717679B2 (en) * | 1998-10-19 | 2005-11-16 | 大日本スクリーン製造株式会社 | Printing control apparatus, printing system using the same, printing control method, and recording medium |
JP4601144B2 (en) * | 2000-09-25 | 2010-12-22 | 哲男 阿部 | Program development system, recording medium and method |
JP4062708B2 (en) * | 2000-12-11 | 2008-03-19 | ヤマハ株式会社 | Data processing method, data processing apparatus, and recording medium |
JP4381891B2 (en) * | 2003-11-11 | 2009-12-09 | 大日本スクリーン製造株式会社 | Data file processing apparatus, data file processing method, and program |
JP4408039B2 (en) * | 2003-11-13 | 2010-02-03 | キヤノン株式会社 | Information processing apparatus, printing system, information processing method, and printing method |
JP2005216201A (en) * | 2004-02-02 | 2005-08-11 | Canon I-Tech Inc | Job processing system |
JP4366273B2 (en) * | 2004-08-12 | 2009-11-18 | キヤノン株式会社 | Information processing apparatus and information processing method |
JP4766998B2 (en) * | 2005-11-16 | 2011-09-07 | コニカミノルタビジネステクノロジーズ株式会社 | Information processing apparatus, image processing apparatus, and information processing method |
-
2008
- 2008-02-25 JP JP2008043589A patent/JP4902574B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009199559A (en) | 2009-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10437907B2 (en) | Link expansion service | |
US7191410B1 (en) | Managing information display | |
JP4824110B2 (en) | Computer-implemented method, computer program, and data processing system for inheriting page layout for a page | |
US20160004759A1 (en) | Platform for Managing and Visualizing Data on a Computer | |
US9727656B2 (en) | Interactive sitemap with user footprints | |
KR100572576B1 (en) | Extraction of information from structured documents | |
CN101268458A (en) | Data managing apparatus, data editing apparatus, data browsing apparatus, data managing method, data editing method, and data browsing method | |
JP7003867B2 (en) | API adapter creation device, API adapter creation method and API adapter creation program | |
EP2431888A1 (en) | System and method for semantic service | |
CN110263070A (en) | Event report method and device | |
US20090158178A1 (en) | Graphically navigating tree structures | |
KR20110031087A (en) | Link clouds and user/community-driven dynamic interlinking of resources | |
WO2007132568A1 (en) | Data processing server and data processing method | |
CN112861059A (en) | Visual component generation method and device, computer equipment and readable storage medium | |
JP4902574B2 (en) | Folder assignment program execution control device, folder assignment program execution control method, program thereof, and storage medium | |
JP5049880B2 (en) | Information processing device | |
JP2008071116A (en) | Information delivery system, information delivery device, information delivery method and information delivery program | |
Li et al. | Hyperlink pipeline: Lightweight service composition for users | |
JP2013164666A (en) | Portlet processing device, portal server, portal system, portlet processing method and computer program | |
CN102446199B (en) | Method for integrating really simple syndication files | |
WO2015097729A1 (en) | Information processing device, web server and computer program | |
JP4710408B2 (en) | Method for providing content, information providing system, and information providing program | |
JP4254511B2 (en) | Tree structure data creation device and method | |
Dayarathna et al. | TelescopeVisualizer: A real-time Internet information visualizer with a flexible user interface | |
JP5438621B2 (en) | Folder execution control method with processing, folder execution control apparatus with processing, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110811 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110921 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111018 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111130 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111220 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111228 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4902574 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150113 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |