JP2012208939A - Process setting support processing program and task program generation processing program - Google Patents

Process setting support processing program and task program generation processing program Download PDF

Info

Publication number
JP2012208939A
JP2012208939A JP2012102051A JP2012102051A JP2012208939A JP 2012208939 A JP2012208939 A JP 2012208939A JP 2012102051 A JP2012102051 A JP 2012102051A JP 2012102051 A JP2012102051 A JP 2012102051A JP 2012208939 A JP2012208939 A JP 2012208939A
Authority
JP
Japan
Prior art keywords
hierarchy
input
data
format
program
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
JP2012102051A
Other languages
Japanese (ja)
Inventor
Yasuaki Inari
泰明 稲荷
Katsuhiko Nukui
勝彦 温井
Tatsuhiko Suzuki
建彦 鈴木
Masamitsu Murakami
正光 村上
Keigo Fukushi
敬吾 福士
Kenji Iwase
賢治 岩瀬
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
Nissan Motor Co Ltd
Original Assignee
Fujitsu Ltd
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Nissan Motor Co Ltd filed Critical Fujitsu Ltd
Priority to JP2012102051A priority Critical patent/JP2012208939A/en
Publication of JP2012208939A publication Critical patent/JP2012208939A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To achieve process analysis in configurations suitable for the thinking method of an operator or the like.SOLUTION: The process setting support processing program includes: a step of, about a task configured of a plurality of hierarchized operations, receiving the input of data of a tabular format in which processes as work units are arranged so as to be sequenced, and storing it in a storage device; a step of, about each process, specifying the process type of the pertinent process according to a predetermined rule, and storing it in the storage device; a step of, about each process, applying the hierarchy level of the pertinent process to be specified on the basis of the process type relating to the process sequenced prior to the pertinent process and a process hierarchy sequence number showing the sequence in the hierarchy level, and storing it in the storage device; and a step of, when receiving a process display instruction including the designation of first display configurations in which the processes are displayed by the tabular format, second display configurations that the processes are displayed by every process or third display configurations that an inter-process connection relation is displayed in a predetermined tabular format from a user, generating display data corresponding to the configurations relating to the process display instruction on the basis of the process hierarchy number, and presenting it to a user.

Description

本発明は、複数の作業からなる業務について、作業単位である工程の設定及び分析を支援するための技術に関する。   The present invention relates to a technique for supporting the setting and analysis of a process, which is a unit of work, for a work consisting of a plurality of works.

現在、一意に結果は定まらないが業務は定型的である業務形態が存在し、このような業務はいくつかの定型化された工程の集まりから構成されている。このような業務を合理的に進めるためには、その業務を構成する工程は何か、どのような条件又は順序にて実行すれば効率が良いか、標準化できるものは何か等を明らかにする必要がある。   Currently, there is a business form in which a result is not uniquely determined, but the business is routine, and such a business is composed of a collection of several standardized processes. In order to proceed with such work rationally, it is necessary to clarify what processes constitute the work, under what conditions or order it is efficient, what can be standardized, etc. There is a need.

また、例えば大規模な業務であれば、工程の流れをトップダウン形式で階層的に工程設定又は工程分析を行うのが望ましい。さらに、作業者の中には、フローチャート形式による工程分析を得意とする者もいれば、木構造等の構造図形式による工程分析を得意とする者もおり、思考方法も様々である。また、ある作業者が、特定の工程について熟練しているような場合には、その作業者は当該特定の工程のみを担当し、複数の作業者で業務全体の工程設定又は工程分析を行う場合もある。すなわち、作業者に対して、業務の規模や作業者の思考方法などに適した形態の設定手段又は分析手段を提供することが望ましい。   For example, in the case of a large-scale business, it is desirable to perform process setting or process analysis hierarchically in a top-down manner. Furthermore, some workers are good at process analysis in a flowchart format, others are good at process analysis in a structure diagram format such as a tree structure, and the thinking methods are various. Also, when a certain worker is proficient in a specific process, the worker is responsible for only the specific process, and a plurality of workers perform process setting or process analysis for the entire business. There is also. In other words, it is desirable to provide the setting means or analysis means in a form suitable for the work scale, the worker's thinking method, and the like.

例えば、特開2004−185433号公報には、容易に専門知識の登録ができる知識データベースシステム及び知識登録方法が開示されている。上記公報には、専門知識を表現するためのデジタルデータであって当該専門知識の各工程における処理を実行するための処理情報と当該処理を実行するための入力情報及び出力情報からなる複数の知識オブジェクトが登録される知識データベースと、専門知識を知識オブジェクトに変換して知識データベースに登録する知識処理エンジンとを備えた知識データベースシステムが開示されている。そして、上記知識処理エンジンは、表示装置に、専門知識を表現するフローチャートを作成するための領域と、フローチャートを作成するためオブジェクトであって専門知識の各工程における処理と関連付けられた複数のステンシルと、選択されたステンシルに対応する入力情報及び出力情報の入力を促すオブジェクトとを表示し、フローチャートの作成過程におけるステンシルの選択と入力された入力情報及び出力情報に基づいて、当該作成されたフローチャートにより表現される専門知識を知識オブジェクトに変換して知識データベースに登録するようになっている。また、ユーザが知識オブジェクトを編集する場合には、知識データベースから知識オブジェクトを読み出し、フローチャートを再描画するようになっている。上記公報記載の技術によれば、工程の流れをフローチャートで入力し、工程を実行するための具体的情報である工程項目をステンシルにより入力し、必要に応じて工程の流れをフローチャートで表示することが可能となる。   For example, Japanese Patent Application Laid-Open No. 2004-185433 discloses a knowledge database system and a knowledge registration method that allow easy registration of specialized knowledge. In the above publication, there is a plurality of pieces of knowledge that are digital data for expressing expert knowledge and include processing information for executing processing in each process of the expert knowledge, and input information and output information for executing the processing. A knowledge database system is disclosed that includes a knowledge database in which objects are registered and a knowledge processing engine that converts specialized knowledge into knowledge objects and registers them in the knowledge database. The knowledge processing engine includes, on the display device, an area for creating a flowchart that expresses expertise, and a plurality of stencils that are objects for creating the flowchart and are associated with processes in each process of expertise. The input information corresponding to the selected stencil and the object that prompts the input of the output information are displayed, and based on the selection of the stencil and the input information and the output information that are input in the process of generating the flowchart, Specialized knowledge to be expressed is converted into knowledge objects and registered in the knowledge database. When the user edits the knowledge object, the knowledge object is read from the knowledge database and the flowchart is redrawn. According to the technology described in the above publication, the process flow is input as a flowchart, the process items, which are specific information for executing the process, are input with a stencil, and the process flow is displayed as a flowchart as necessary. Is possible.

しかしながら、上記公報記載の技術は、工程の流れが定まっていることが前提となるため、例えば一定以上の経験を積んだ作業者(以下、熟練作業者と呼ぶ)が工程を設定していく必要がある。また、工程分析作業を容易にするような仕組みはなく、熟練作業者でも工程設定を試行錯誤して繰り返しながら、メモを取るなどして工程分析を行わなければならない。従って、工程設定作業又は工程分析作業に、多くの工数がかかる場合がある。   However, since the technique described in the above publication is based on the premise that the flow of the process is fixed, for example, an operator with a certain level of experience (hereinafter referred to as a skilled worker) needs to set the process. There is. In addition, there is no mechanism for facilitating process analysis work, and even a skilled worker must perform process analysis by taking notes while repeating process settings through trial and error. Therefore, a lot of man-hours may be required for process setting work or process analysis work.

また、業務プログラムの保守性を考慮すると、分析した工程に基づいて業務プログラムを自動生成するのが望ましい。例えば、近年、ガイダンスや基準値を提示する、いわゆるナビゲーションシステムが広く用いられるようになっている。例えば、CAD(Computer Aided Design)システムでは、設計者が、ナビゲーションシステムによる案内(例えば、次に決定すべきパラメータ、パラメータの基準値等)に従って設計作業を進めていくという方式が採られる。このようなナビゲーションシステムにおけるプログラムは変更が多いため、自動プログラミングの要望が強い。なお、上記公報では、知識オブジェクトにより表現される各工程における処理を順次実行するようになっている。しかしながら、例えば分岐処理における分岐先の指定を、ユーザが、フローチャートとは別に出力情報として入力しなければならないため、工程の構造等を変更した場合には、分岐先の見直し作業が必要になり、ユーザは必要に応じて手動で変更しなければならない。   In consideration of maintainability of the business program, it is desirable to automatically generate the business program based on the analyzed process. For example, in recent years, so-called navigation systems that present guidance and reference values have been widely used. For example, a CAD (Computer Aided Design) system employs a method in which a designer proceeds with design work in accordance with guidance by a navigation system (for example, parameters to be determined next, parameter reference values, etc.). Since the program in such a navigation system is frequently changed, there is a strong demand for automatic programming. In the above publication, processing in each process expressed by a knowledge object is sequentially executed. However, for example, since the user must input the branch destination designation in the branch processing as output information separately from the flowchart, when the process structure is changed, the branch destination needs to be reviewed, The user must make manual changes as needed.

特開2004−185433号公報JP 2004-185433 A

従って、本発明の目的は、作業者の思考方法などに適した形態で工程分析を行うことができるようにするための技術を提供することである。   Accordingly, an object of the present invention is to provide a technique for enabling a process analysis to be performed in a form suitable for an operator's thinking method and the like.

また、本発明の他の目的は、例えば業務の規模や作業者の思考方法などに適した形態で工程設定を行うことができるようにするための技術を提供することである。   Another object of the present invention is to provide a technique for enabling process settings to be performed in a form suitable for, for example, the scale of work and the worker's thinking method.

また、本発明の他の目的は、業務プログラムの作成及び保守を容易に行うことができるようにするための技術を提供することである。   Another object of the present invention is to provide a technique for making it easy to create and maintain a business program.

本発明の第1の態様に係る工程設定支援処理方法は、階層化された複数の作業からなる業務について、作業単位である工程を順序付けて並べた表形式のデータの入力を受け付け、記憶装置に格納する入力受け付けステップと、各工程について、所定のルールに従って当該工程の工程種類を特定し、記憶装置に格納する工程種類特定ステップと、各工程について、当該工程より前に順序付けられた工程に係る工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、記憶装置に格納する工程階層順序番号付与ステップと、ユーザから、工程を表形式で表示する第1の表示態様、工程を1工程ずつ表示する第2の表示態様又は工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、工程階層番号に基づき、工程表示指示に係る態様に応じた表示データを生成し、ユーザに提示する提示ステップとを含む。   The process setting support processing method according to the first aspect of the present invention accepts input of tabular data in which processes that are units of work are ordered and arranged for a work including a plurality of hierarchized works, and stored in a storage device. The input receiving step to store, and for each process, the process type of the process is specified according to a predetermined rule, and the process type specifying step to be stored in the storage device, and each process is related to the process ordered before the process A process hierarchy sequence number assigning step that assigns a process hierarchy sequence number that represents a hierarchy level of the process specified based on the process type and an order within the hierarchy level, and stores the process hierarchy sequence number in a storage device; The first display mode to display, the second display mode to display processes one step at a time, or the third display mode to display the connection relationship between processes in a predetermined diagram format When receiving a process display instruction including the constant, based on the process layer number, it generates display data according to an aspect of the process display instruction, and a presentation step of presenting to the user.

このようにすれば、例えば、工程のデータが一覧表などの表形式のデータで入力された場合でも、当該表形式(第1の表示態様)、1工程ずつ表示する票形式(第2の表示態様)又はフローチャートや木構造などの図形式(第3の表示態様)で提示可能であるため、ユーザ(作業者)は、自分の思考方法に適した形態で工程分析を行うことができるようになる。また、工程全体を把握しながら工程設定を行うことができるので、例えば工程の設定漏れを無くすことができる。   In this way, for example, even when the process data is input in the form of a table format such as a list, the table format (first display mode) and the vote format (second display) for displaying each process step by step. Mode) or a diagram format (third display mode) such as a flowchart or a tree structure, so that the user (operator) can perform the process analysis in a form suitable for his / her thinking method. Become. Further, since the process setting can be performed while grasping the entire process, for example, it is possible to eliminate a process setting omission.

本発明の第2の態様に係る工程設定支援処理方法は、階層化された複数の作業からなる業務について、作業単位である工程のデータの入力を順次受け付け、記憶装置に格納する入力受け付けステップと、入力受け付けステップにおいて受け付けた複数の工程の各々について、所定のルールに従って当該工程の工程種類を特定し、記憶装置に格納する工程種類特定ステップと、入力受け付けステップにおいて受け付けた複数の工程の各々について、当該工程より前に受け付けた工程に係る工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、記憶装置に格納する工程階層順序番号付与ステップと、ユーザから、工程を順序付けて並べた表形式で表示する第1の表示態様、工程を1工程ずつ表示する第2の表示態様又は工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、工程階層番号に基づき、工程表示指示に係る態様に応じた表示データを生成し、ユーザに提示する提示ステップとを含む。   The process setting support processing method according to the second aspect of the present invention includes an input receiving step of sequentially receiving input of process data as a unit of work for a work including a plurality of hierarchized work and storing the data in a storage device. For each of the plurality of processes received in the input receiving step, the process type of the process is specified according to a predetermined rule and stored in the storage device, and each of the plurality of processes received in the input receiving step The process hierarchy order number indicating the hierarchy level of the process specified based on the process type related to the process received before the process and the order in the hierarchy level is assigned and stored in the storage device. A step and a first display mode and a process for displaying the process in a tabular form in which the processes are arranged in order. When receiving a process display instruction including designation of the second display form to be displayed one by one or the third display form to display the connection relationship between processes in a predetermined diagram format, it relates to the process display instruction based on the process hierarchy number. A display step of generating display data corresponding to the aspect and presenting the display data to the user.

このようにすれば、例えば、工程のデータが1工程ずつ票形式のデータで入力された場合でも、一覧表などの表形式(第1の表示態様)、当該票形式(第2の表示態様)又はフローチャートや木構造などの図形式(第3の表示態様)で提示可能であるため、作業者は、自分の思考方法に適した形態で工程分析を行うことができるようになる。また、自分の得意な工程を担当し、複数の作業者で業務全体の工程設定を行うことができるため、一人で業務全体を熟練していなくてもよい。   In this way, for example, even when process data is input in the form of a vote format for each process, a table format such as a list (first display mode), the vote format (second display mode) Alternatively, since it can be presented in a diagram format (third display mode) such as a flowchart or a tree structure, the worker can perform process analysis in a form suitable for his / her thought method. In addition, since the person in charge is responsible for his / her favorite process and a plurality of workers can set the process for the entire work, it is not necessary for one person to be skilled in the entire work.

本発明の第3の態様に係る工程設定支援処理方法は、階層化された複数の作業からなる業務について、作業単位である工程及び工程間の接続関係を表す図形式のデータの入力を受け付け、記憶装置に格納するステップと、各工程について、接続関係に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、記憶装置に格納する工程階層順序番号付与ステップと、ユーザから、工程を順序付けて並べた表形式で表示する第1の表示態様、工程を1工程ずつ表示する第2の表示態様又は図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、工程階層番号に基づき、工程表示指示に係る態様に応じた表示データを生成し、ユーザに提示する提示ステップとを含む。   The process setting support processing method according to the third aspect of the present invention accepts input of diagram-type data representing processes that are units of work and connection relations between processes for a work including a plurality of hierarchized works, Steps stored in the storage device, and for each process, a process hierarchy sequence number indicating the hierarchy level of the process specified based on the connection relationship and the order in the hierarchy level is assigned, and the process hierarchy sequence number stored in the storage device The assigning step and the designation of the first display mode for displaying the processes in a table format arranged in order, the second display mode for displaying the processes one by one, or the third display mode for displaying in the diagram format from the user. In the case of receiving a process display instruction including, a display step of generating display data corresponding to an aspect related to the process display instruction based on the process hierarchy number and presenting it to the user is included.

このようにすれば、例えば、工程のデータが1工程ずつ票形式のデータで入力された場合でも、一覧表などの表形式(第1の表示態様)、当該票形式(第2の表示態様)又はフローチャートや木構造などの図形式(第3の表示態様)で提示可能であるため、作業者は、自分の思考方法に適した形態で工程分析を行うことができるようになる。また、工程の流れを把握しながら工程設定を行うことができるため、例えば誤った処理ルートを早期に特定することができる。   In this way, for example, even when process data is input in the form of a vote format for each process, a table format such as a list (first display mode), the vote format (second display mode) Alternatively, since it can be presented in a diagram format (third display mode) such as a flowchart or a tree structure, the worker can perform process analysis in a form suitable for his / her thought method. Further, since the process setting can be performed while grasping the flow of the process, for example, an erroneous processing route can be identified early.

また、本発明の第3の態様において、各工程について、所定のルールに従って当該工程の工程種類を特定し、記憶装置に格納するステップをさらに含むようにしてもよい。   In the third aspect of the present invention, for each process, a process type of the process may be specified according to a predetermined rule and stored in a storage device.

さらに、本発明の第1乃至第3の態様における提示ステップが、工程階層順序番号に基づき、各工程を階層レベルに応じた色で表示するように表示データを生成するステップを含むようにしてもよい。例えば、複雑な階層構造を有する場合には、各工程がいずれの階層に属するかを特定し易くなる。   Further, the presenting step in the first to third aspects of the present invention may include a step of generating display data so that each process is displayed in a color corresponding to the hierarchy level based on the process hierarchy sequence number. For example, when having a complicated hierarchical structure, it becomes easy to specify which hierarchy each process belongs to.

また、本発明の第1乃至第3の態様において、工程種類として、データ入力を受け付ける入力工程と、演算処理を行う演算工程と、分岐判断を行う分岐工程と、所定の処理の繰返しを規定する繰返工程と、下位の階層への展開を規定する展開工程とを少なくとも含む場合もある。   Further, in the first to third aspects of the present invention, the process type defines an input process for receiving data input, an arithmetic process for performing arithmetic processing, a branching process for performing branch determination, and repetition of predetermined processing. There may be a case where at least a repetition process and an expansion process that defines expansion to a lower hierarchy are included.

さらに、本発明の第1乃至第3の態様における入力受け付けステップが、展開工程の指定、並びに入力条件、分岐条件及び繰返し条件の入力を受け付けるステップを含むようにしてもよい。そして、所定のルールが、展開工程の指定がなされた工程を展開工程と特定し、入力条件が対応付けられている工程を入力工程と特定し、分岐条件が対応付けられている工程を分岐工程と特定し、繰返し条件が対応付けられている工程を繰返工程と特定し、並びに、入力工程、分岐工程、繰返工程及び展開工程以外の工程を演算工程と特定するルールである場合もある。これにより、入力工程、分岐工程及び繰返工程については、工程種類の入力を省略することができる。   Furthermore, the input receiving step in the first to third aspects of the present invention may include a step of receiving the designation of the expansion process and the input of the input condition, the branch condition, and the repetition condition. Then, a predetermined rule specifies a process for which an expansion process is designated as an expansion process, specifies a process associated with an input condition as an input process, and determines a process associated with a branch condition as a branch process The process may be a rule that identifies a process associated with a repetition condition as a repetitive process, and identifies a process other than the input process, branch process, repetitive process, and expansion process as a calculation process. . Thereby, the input of a process kind can be abbreviate | omitted about an input process, a branch process, and a repetition process.

また、本発明の第1乃至第3の態様における工程階層順序番号付与ステップにおいて、分岐工程、繰返工程及び展開工程に基づき、各工程の階層レベルが特定される場合もある。これにより、作業者は各工程の階層レベルを入力しなくてすむ。   Moreover, in the process hierarchy sequence number assigning step in the first to third aspects of the present invention, the hierarchical level of each process may be specified based on the branch process, the repetition process, and the expansion process. This eliminates the need for the operator to input the hierarchical level of each process.

本発明の第4の態様に係る業務プログラム生成処理方法は、階層化された複数の作業からなる業務についての業務プログラムを生成する方法であって、作業単位である工程の工程種類と工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号と工程に関する所定のデータとを含むレコードを格納している工程順序データベースからレコードを順次読み出す読出ステップと、読出ステップにおいて読み出されたレコードに係る工程が、予め定められた所定の種類に係る工程である場合、所定の種類に係る工程に対応する実行命令を所定の種類に係る工程毎に格納している実行命令データベースから、当該レコードに係る工程に対応する実行命令を抽出する実行命令抽出ステップと、読出ステップにおいて読み出されたレコードに係る工程が、所定の種類に係る工程以外の工程である場合、当該レコードに含まれる工程種類及び所定のデータに基づき、当該レコードに係る工程に対応する実行命令を特定する実行命令特定ステップと、読出ステップにおいて読み出された複数のレコードの各々について、当該レコードに含まれる工程階層順序番号に従って、実行命令抽出ステップにおいて抽出された実行命令又は実行命令特定ステップにおいて特定された実行命令を所定のファイルに出力することにより、業務プログラムを生成するプログラム生成ステップとを含む。   A business program generation processing method according to a fourth aspect of the present invention is a method for generating a business program for a business composed of a plurality of hierarchized work, wherein the process type and process hierarchy of processes as work units A read step for sequentially reading records from a process order database storing a record including a level and a process hierarchy sequence number representing the order in the hierarchy level and predetermined data relating to the process; and a record read in the read step When the related process is a process related to a predetermined type, the execution command corresponding to the process related to the predetermined type is stored in the record from the execution command database storing for each process related to the predetermined type. An execution instruction extraction step for extracting an execution instruction corresponding to the relevant process, and a record read in the reading step If the process is a process other than the process related to the predetermined type, based on the process type and the predetermined data included in the record, an execution instruction specifying step for specifying an execution instruction corresponding to the process related to the record; For each of the plurality of records read in the reading step, the execution instruction extracted in the execution instruction extraction step or the execution instruction specified in the execution instruction specifying step is stored in a predetermined file according to the process hierarchy sequence number included in the record. And a program generation step for generating a business program.

このようにすれば、工程の順序や階層を変更した場合であっても、自動で業務プログラムを作成することができるので、業務プログラムの保守が容易となる。   In this way, the business program can be automatically created even when the order or hierarchy of the process is changed, so that the business program can be easily maintained.

また、本発明の第4の態様において、工程種類として、データ入力を受け付ける入力工程と、演算処理を行う演算工程と、分岐判断を行う分岐工程と、所定の処理の繰返しを規定する繰返工程と、下位の階層への展開を規定する展開工程とを少なくとも含むようにしてもよい。そして、予め定められた所定の種類が、入力工程及び演算工程である場合もある。   Further, in the fourth aspect of the present invention, as a process type, an input process for receiving data input, an arithmetic process for performing arithmetic processing, a branching process for performing branch determination, and a repeating process for defining repetition of a predetermined process And an expansion step for defining expansion to a lower hierarchy may be included. In some cases, the predetermined types that are determined in advance are an input process and a calculation process.

さらに、本発明の第4の態様におけるプログラム生成ステップにおいて、少なくとも実行命令において用いられる変数の名称と当該変数の型とを変数毎に格納している項目データベースに格納されている変数の型を業務プログラム内で用いるように業務プログラムを生成する場合もある。このようにすれば、変数の名称や変数の型を別管理にすることができるため、業務プログラムの保守がより容易となる。   Furthermore, in the program generation step according to the fourth aspect of the present invention, at least the variable name used in the execution instruction and the variable type stored in the item database storing the variable type for each variable A business program may be generated to be used in the program. In this way, variable names and variable types can be managed separately, which makes it easier to maintain business programs.

なお、本発明に係る文書検索支援処理方法をコンピュータに実行させるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブル・ディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等の記憶媒体又は記憶装置に格納される。また、ネットワークを介してディジタル信号にて頒布される場合もある。なお、処理途中のデータについては、コンピュータのメモリ等の記憶装置に一時保管される。   A program for causing a computer to execute the document search support processing method according to the present invention can be created, and the program is stored in, for example, a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, a hard disk, or the like. Stored in a medium or storage device. In some cases, digital signals are distributed over a network. Note that data being processed is temporarily stored in a storage device such as a computer memory.

本発明によれば、作業者の思考方法などに適した形態で工程分析を行うことができるようになる。   According to the present invention, it is possible to perform process analysis in a form suitable for an operator's thinking method and the like.

また、本発明の他の側面によれば、例えば業務の規模や作業者の思考方法などに適した形態で工程設定を行うことができるようになる。   In addition, according to another aspect of the present invention, it is possible to perform process setting in a form suitable for, for example, the scale of work and the worker's thinking method.

さらに、本発明の他の側面によれば、業務プログラムの作成及び保守を容易に行うことができるようになる。   Furthermore, according to another aspect of the present invention, it becomes possible to easily create and maintain a business program.

本発明の実施の形態に係る機能ブロック図である。It is a functional block diagram concerning an embodiment of the invention. 工程順序DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in process order DB. 工程項目DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in process item DB. 実行命令DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in execution command DB. 工程のデータを工程順序DB2に格納する際の処理フローを示す図である。It is a figure which shows the processing flow at the time of storing the data of a process in process order DB2. 工程順序表形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process order table format. 工程設定票形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process setting form format. 工程構造図形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process structure diagram format. 工程流れ図形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process flowchart format. 工程順序表階層形成処理の処理フローを示す図である。It is a figure which shows the processing flow of a process sequence table hierarchy formation process. 工程種類を特定した後の工程順序DB内のデータを示す図である。It is a figure which shows the data in process order DB after specifying a process kind. 工程順序表形式又は工程設定票形式による入力を行う際の規則の一例を示す図である。It is a figure which shows an example of the rule at the time of performing input by a process order table format or a process setting form format. 省略されている工程を特定した後の工程順序DB内のデータを示す図である。It is a figure which shows the data in process order DB after specifying the process which is abbreviate | omitted. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程構造図階層形成処理の処理フロー(第1部分)を示す図である。It is a figure which shows the process flow (1st part) of process structure figure hierarchy formation processing. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程構造図階層形成処理の処理フロー(第2部分)を示す図である。It is a figure which shows the process flow (2nd part) of process-structure figure hierarchy formation processing. 工程流れ図階層形成処理の処理フロー(第1部分)を示す図である。It is a figure which shows the process flow (1st part) of a process flowchart hierarchy formation process. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程流れ図階層形成処理の処理フロー(第2部分)を示す図である。It is a figure which shows the process flow (2nd part) of process flowchart hierarchy formation processing. データ出力時の処理フローを示す図である。It is a figure which shows the processing flow at the time of data output. 業務プログラム生成処理の処理フロー(第1部分)を示す図である。It is a figure which shows the processing flow (1st part) of a business program generation process. 業務プログラム生成処理の処理フロー(第2部分)を示す図である。It is a figure which shows the processing flow (2nd part) of a business program generation process. 業務プログラム生成処理の処理結果を示す図である。It is a figure which shows the process result of a business program generation process. 工程順序DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in process order DB. 工程順序表形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process order table format. 工程順序DBに格納されるデータの一例を示す図である。It is a figure which shows an example of the data stored in process order DB. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程階層順序番号を付与する処理を説明するための図である。It is a figure for demonstrating the process which provides a process hierarchy sequence number. 工程構造図形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process structure diagram format. 工程流れ図形式の入力画面例を示す図である。It is a figure which shows the example of an input screen of a process flowchart format. コンピュータの機能ブロック図である。It is a functional block diagram of a computer.

[§0 全体構成の説明]
まず、本発明の全体構成について説明する。図1に本発明の一実施の形態に係るシステムの機能ブロック図の一例を示す。図1の例では、本システムは、工程、工程項目及び実行命令等のデータの入力を受け付ける入力部1と、入力部1が受け付けた工程のデータを格納する工程順序DB2と、入力部1が受け付けた工程項目のデータを格納する工程項目DB3と、入力部1が受け付けた実行命令のデータを格納する実行命令DB4と、工程順序DB2に格納されたデータに基づき、工程を所定の表示態様で作業者に提示する出力部5と、案内メッセージのデータを格納している案内MSG格納部8と、検査メッセージのデータを格納している検査MSG格納部9と、工程順序DB2、工程項目DB3、実行命令DB4、案内MSG格納部8及び検査MSG格納部9に格納されたデータに基づき、業務プログラムを生成するプログラム生成部6と、プログラム生成部6が生成した業務プログラムを格納するプログラム格納部7とを有する。なお、図示していないが、プログラム格納部7は、例えばCADシステムなどの他のシステムと接続され、他のシステムが、プログラム格納部7に格納される業務プログラムを読み出し、実行する場合もある。
[§0 Description of overall configuration]
First, the overall configuration of the present invention will be described. FIG. 1 shows an example of a functional block diagram of a system according to an embodiment of the present invention. In the example of FIG. 1, the system includes an input unit 1 that receives input of data such as processes, process items, and execution instructions, a process order DB 2 that stores data of processes received by the input unit 1, and an input unit 1. Based on the data stored in the process item DB 3 for storing the data of the received process item, the execution command DB 4 for storing the data of the execution instruction received by the input unit 1, and the process order DB 2, the process is displayed in a predetermined display mode. An output unit 5 to be presented to the operator, a guidance MSG storage unit 8 storing data of guidance messages, an inspection MSG storage unit 9 storing data of inspection messages, a process order DB2, a process item DB3, Based on the data stored in the execution command DB 4, the guidance MSG storage unit 8, and the inspection MSG storage unit 9, a program generation unit 6 that generates a business program, and program generation 6 and a program storage unit 7 for storing a task program generated. Although not shown, the program storage unit 7 is connected to another system such as a CAD system, for example, and the other system may read and execute a business program stored in the program storage unit 7.

(入力部1)
さらに、図1の入力部1は、工程を一覧表などの表形式(以下、工程順序表と呼ぶ)のデータで入力された場合に、以下で説明する工程順序表階層形成処理を実施する工程順序表階層形成処理部11と、工程を1工程ずつ票形式(以下、工程設定票と呼ぶ)のデータで入力された場合に、工程設定票を並べて工程順序表を生成する工程設定票階層形成処理部12と、工程を木構造などの図形式(以下、工程構造図と呼ぶ)のデータで入力された場合に、以下で説明する工程構造図階層形成処理を実施する工程構造図階層形成処理部13と、工程を流れ図などの図形式(以下、工程流れ図と呼ぶ)のデータで入力された場合に、以下で説明する工程流れ図階層形成処理を実施する工程流れ図階層形成処理部14とを含む。
(Input unit 1)
Further, the input unit 1 in FIG. 1 performs a process sequence table hierarchy forming process described below when processes are input in data in a table format such as a list (hereinafter referred to as a process sequence table). The order table hierarchy formation processing unit 11 and process setting form hierarchy generation for generating a process order table by arranging process setting forms when processes are input in the form of votes (hereinafter referred to as process setting forms). The process structure diagram hierarchy forming process for executing the process structure diagram hierarchy forming process described below when the processing unit 12 and the process are input as data in a diagram format such as a tree structure (hereinafter referred to as a process structure diagram) Unit 13 and a process flow diagram hierarchy formation processing unit 14 that executes a process flow diagram hierarchy formation process described below when the process is input in the form of data such as a flow chart (hereinafter referred to as a process flow diagram). .

(出力部5)
また、図1の出力部5は、工程順序表形式の表示データを生成する工程順序表表示処理部51と、工程設定票形式の表示データを生成する工程設定票表示処理部52と、工程構造図形式の表示データを生成する工程構造図表示処理部53と、工程流れ図形式の表示データを生成する工程流れ図表示処理部54とを含む。
(Output unit 5)
1 includes a process order table display processing unit 51 that generates process order table format display data, a process setting form display processing unit 52 that generates process setting form format display data, and a process structure. A process structure diagram display processing unit 53 that generates display data in a diagram format and a process flowchart display processing unit 54 that generates display data in a process flowchart format are included.

(工程順序DB2)
次に、図1の工程順序DB2に格納されるデータの一例を図2に示す。図2の例では、工程順序DB2には、工程種類の列と、修飾子の列と、工程階層順序番号の列と、工程記号の列と、機能の列と、分岐条件の列と、入力画面の列とが含まれる。なお、図示していないが、繰返し条件の列を含む場合もある。工程種類の列には、「開始」、「終了」、「展開」、「入力」、「演算」、「分岐」及び「繰返」のいずれかが設定される。なお、本実施の形態では、「展開」は作業者が指定するものとし、その他については以下で説明する処理により設定する。また、「展開」、「分岐」及び「繰返」に係る工程については、当該工程が、展開開始「start」、展開終了「end」、分岐開始「if」又は「else」、分岐終了「end if」又は「end else」、繰返開始「repeat」、並びに、繰返終了「end repeat」のいずれかであるかを表すデータが、修飾子の列に設定される。工程階層順序番号の列には、以下で説明する処理により、階層レベル及び当該階層レベル内における順序を表す番号が設定される。工程記号の列には、工程を特定可能なユニークなIDが設定される。機能の列、分岐条件の列及び入力画面の列には、作業者により入力されたデータがそのまま設定される。
(Process order DB2)
Next, an example of data stored in the process order DB 2 of FIG. 1 is shown in FIG. In the example of FIG. 2, the process order DB 2 includes a process type column, a qualifier column, a process hierarchy sequence number column, a process symbol column, a function column, a branch condition column, and an input. Includes screen columns. Although not shown, there may be a repetition condition column. One of “start”, “end”, “deployment”, “input”, “calculation”, “branch”, and “repetition” is set in the process type column. In the present embodiment, “development” is designated by the operator, and others are set by the processing described below. In addition, for processes related to “expansion”, “branch”, and “repetition”, the corresponding process includes expansion start “start”, expansion end “end”, branch start “if” or “else”, branch end “end” Data indicating whether “if” or “end else”, repeat start “repeat”, or repeat end “end repeat” is set in the qualifier column. In the column of the process hierarchy order number, a number indicating the hierarchy level and the order in the hierarchy level is set by the process described below. In the column of process symbols, a unique ID that can specify a process is set. Data input by the operator is set as it is in the function column, branch condition column, and input screen column.

(工程項目DB3)
図3に、図1の工程項目DB3に格納されるデータの一例を示す。なお、工程項目DB3には、「入力」に係る工程において決定すべき工程項目のデータが格納される。図3の例では、工程項目DB3には、変数名の列と、呼び名の列と、説明の列と、入力画面の列と、入力方法の列と、型の列と、基準値の列と、設定値の列と、検査条件の列と、案内MSGの列と、検査MSGの列とが含まれる。入力画面の列には、当該変数の値を入力させる入力画面を表すデータが設定される。すなわち、図3の例では、変数H2、P、D2、V及びC2の値は、入力画面「TBL11」にて入力され、変数H1、D1及びC1の値は、入力画面「TBL12」にて入力されることを表す。入力方法の列には、当該工程項目の設定値を入力する方法(例えばキーボード入力を表す「Key In」等)が設定される。基準値の列には、当該工程項目の基準となる値が設定される。設定値の列には、入力工程に設定された工程の実行時に、入力された値を登録する。検査条件の列には、入力された値の設定可能な範囲を登録しておき、例えば入力された値が当該範囲外の場合には、再入力を促す等の処理を行う。案内MSGの列及び検査MSGの列には、案内又は検査時に出力するメッセージがある場合には、当該メッセージの格納先を表すデータ(例えば、案内MSG格納部8又は検査MSG格納部9内の何番目に格納されているかを表すデータ等)が設定される。なお、「*」(アスタリスク)は、案内又は検査時に出力するメッセージがないことを表す。また、当該メッセージの格納先を表すデータではなく、メッセージのファイル名を設定するようにしてもよい。
(Process item DB3)
FIG. 3 shows an example of data stored in the process item DB 3 of FIG. The process item DB 3 stores data of process items to be determined in the process related to “input”. In the example of FIG. 3, the process item DB 3 includes a variable name column, a name column, an explanation column, an input screen column, an input method column, a type column, and a reference value column. , A column of setting values, a column of inspection conditions, a column of guidance MSG, and a column of inspection MSG. In the column of the input screen, data representing the input screen for inputting the value of the variable is set. That is, in the example of FIG. 3, the values of variables H2, P, D2, V, and C2 are input on the input screen “TBL11”, and the values of variables H1, D1, and C1 are input on the input screen “TBL12”. Represents what is being done. In the input method column, a method for inputting the set value of the process item (for example, “Key In” representing keyboard input) is set. In the reference value column, a reference value for the process item is set. In the set value column, an input value is registered when the process set in the input process is executed. In the column of the inspection condition, a settable range of the input value is registered. For example, when the input value is out of the range, processing such as prompting re-input is performed. When there is a message to be output at the time of guidance or inspection in the guidance MSG column and the inspection MSG column, data indicating the storage destination of the message (for example, what is stored in the guidance MSG storage unit 8 or the inspection MSG storage unit 9). Data indicating whether it is stored in the second). Note that “*” (asterisk) indicates that there is no message to be output during guidance or inspection. Further, instead of data indicating the storage destination of the message, a file name of the message may be set.

なお、工程項目のデータは、所定のタイミングで、作業者が工程項目入力画面(図示せず)に入力するものとする。工程項目入力画面は、例えば、表計算プログラムExcel(Microsoft社の商標)等のような表形式の入力画面であったり、OS(Operating System)の提供する機能を用いて、作業者により作成されたダイアログ等の入力画面であったり、CAD等のシステムで用意されているAPI(Application Program Interface)を用いて作業者により作成された入力画面等である。また、詳細は以下で説明するが、工程設定票形式による入力の際には、工程設定票形式の入力画面(図7)に工程項目の入力欄を設けるようにしてもよい。   It is assumed that the process item data is input to a process item input screen (not shown) by a worker at a predetermined timing. The process item input screen is, for example, a tabular input screen such as a spreadsheet program Excel (trademark of Microsoft Corporation) or created by an operator using a function provided by an OS (Operating System). It is an input screen such as a dialog or an input screen created by an operator using an API (Application Program Interface) prepared in a system such as CAD. Although details will be described below, when inputting in the process setting form, a process item input field may be provided on the input screen (FIG. 7) in the process setting form.

(実行命令DB4)
図4に、図1の実行命令DB4に格納されるデータの一例を示す。図4の例では、実行命令DB4には、工程記号の列と、実行命令の列とが含まれる。実行命令の列には、工程記号に係る工程に対応する実行命令が格納される。なお、本実施の形態では、「入力」及び「演算」に係る各工程に対応する実行命令が格納されるものとする。
(Execution instruction DB4)
FIG. 4 shows an example of data stored in the execution instruction DB 4 of FIG. In the example of FIG. 4, the execution command DB 4 includes a sequence of process symbols and a sequence of execution commands. In the column of execution instructions, execution instructions corresponding to processes related to process symbols are stored. In this embodiment, it is assumed that execution instructions corresponding to the respective steps relating to “input” and “calculation” are stored.

なお、実行命令は、作業者が、例えば、CAD等のシステムにおける操作履歴のデータ(例えば、各操作に対応するコマンドの内容等)を基にして作成したり、APIを用いて作成したり、マクロ言語で作成したりする。なお、他の方法で、実行命令を作成する場合もある。そして、所定のタイミングで、作業者が実行命令入力画面(図示せず)に実行命令を入力する。   The execution command is created by an operator based on operation history data (for example, command contents corresponding to each operation) in a system such as CAD, or created using an API, Create in macro language. In some cases, the execution instruction is created by another method. Then, at a predetermined timing, the operator inputs an execution command to an execution command input screen (not shown).

[§1 入力部1の説明]
次に、図5乃至図34を用いて、工程のデータの入力を受け付け、工程順序DB2に格納する際の処理(図1の入力部1)を説明する。まず、作業者は、例えばマウスやキーボード等を操作して、入力形式を選択する。そして、入力部1は、入力形式の選択入力を受け付け(図5:ステップS1)、当該選択入力に係る入力形式が工程順序表形式であるか判断する(ステップS3)。入力形式が工程順序表形式であると判断された場合(ステップS3:Yesルート)、入力部1は、入力形式として工程順序表形式が選択された旨の通知を工程順序表階層形成処理部11に出力する。そして、当該通知を受信した工程順序表階層形成処理部11は、工程順序表形式の入力画面のデータを生成し、表示装置等に表示する。工程順序表形式の入力画面の一例を図6に示す。図6の例では、工程順序表形式の入力画面には、入力欄601と登録ボタン602とが設けられている。また、入力欄601には、工程種類の列と、修飾子の列と、機能の列と、分岐条件の列と、入力画面の列とが設けられ、各工程を実行すべき順に並べた表形式のデータで入力するようになっている。また、例えば、「入力」に係る工程がクリックされた場合には、工程項目入力画面を表示し、当該工程において決定すべき工程項目のデータを作業者に入力させるようにしてもよい。
[§1 Description of input unit 1]
Next, a process (input unit 1 in FIG. 1) when receiving process data input and storing it in the process order DB 2 will be described with reference to FIGS. 5 to 34. First, the operator selects an input format by operating, for example, a mouse or a keyboard. Then, the input unit 1 accepts an input format selection input (FIG. 5: step S1), and determines whether the input format related to the selection input is a process order table format (step S3). When it is determined that the input format is the process sequence table format (step S3: Yes route), the input unit 1 notifies the process sequence table hierarchy formation processing unit 11 that the process sequence table format is selected as the input format. Output to. And the process sequence table hierarchy formation process part 11 which received the said notification produces | generates the data of the input screen of a process sequence table format, and displays it on a display apparatus. An example of the input screen in the process sequence table format is shown in FIG. In the example of FIG. 6, an input field 601 and a registration button 602 are provided on the input screen in the process order table format. The input column 601 includes a process type column, a qualifier column, a function column, a branch condition column, and an input screen column, and is a table in which the steps are arranged in the order in which they should be executed. It is designed to be entered as format data. Further, for example, when a process related to “input” is clicked, a process item input screen may be displayed to allow the operator to input data of process items to be determined in the process.

作業者は、図6に示したようなデータを入力し、登録ボタン602をクリックする。そして、工程順序表階層形成処理部11は、工程順序表形式によるデータの入力を受け付け、一旦記憶装置に格納する(ステップS5)。そして、工程順序表階層形成処理部11は、記憶装置に格納されたデータに基づき、工程順序表階層形成処理を実施する(ステップS7)。なお、工程順序表階層形成処理の詳細については後で述べる。その後、工程順序DB2にデータを格納する処理を終了する。   The worker inputs data as shown in FIG. 6 and clicks the registration button 602. Then, the process sequence table hierarchy formation processing unit 11 accepts input of data in the process sequence table format and temporarily stores it in the storage device (step S5). Then, the process sequence table hierarchy formation processing unit 11 performs the process sequence table hierarchy formation process based on the data stored in the storage device (step S7). Details of the process sequence table hierarchy forming process will be described later. Then, the process which stores data in process order DB2 is complete | finished.

一方、ステップS3において、入力形式が工程順序表形式でないと判断された場合(ステップS3:Noルート)、入力部1は、入力形式が工程設定票形式であるか判断する(ステップS9)。入力形式が工程設定票形式であると判断された場合(ステップS9:Yesルート)、入力部1は、入力形式として工程設定票形式が選択された旨の通知を工程設定票階層形成処理部12に出力する。そして、当該通知を受信した工程設定票階層形成処理部12は、工程設定票形式の入力画面のデータを生成し、表示装置等に表示する。工程設定票形式の入力画面の一例を図7に示す。   On the other hand, when it is determined in step S3 that the input format is not the process order table format (step S3: No route), the input unit 1 determines whether the input format is the process setting form format (step S9). When it is determined that the input format is the process setting form format (step S9: Yes route), the input unit 1 notifies the process setting form layer formation processing unit 12 that the process setting form format has been selected as the input format. Output to. Then, the process setting form hierarchy formation processing unit 12 that has received the notification generates data of the process setting form format input screen and displays it on a display device or the like. An example of the process setting form format input screen is shown in FIG.

図7の例では、工程設定票形式の入力画面には、工程入力欄701と、登録ボタン702と、登録終了ボタン703と、工程項目入力欄704とが設けられている。また、工程入力欄701には、工程種類の列と、修飾子の列と、機能の列と、分岐条件の列と、入力画面の列とが設けられ、1工程ずつ票形式のデータで入力するようになっている。なお、図7は、「入力」に係る工程のデータを入力する場合の一例であるため、工程種類の列は空欄となっているが、「展開」に係る工程のデータを入力する際には、工程種類の列に「展開」を設定する必要がある。また、工程項目入力欄704には、変数名の列と、呼び名の列と、説明の列と、基準値の列と、型の列と、入力方法の列と、検査条件の列と、案内MSGの列と、検査MSGの列とが設けられ、工程入力欄701に入力した工程において決定すべき工程項目のデータを入力するようになっている。なお、工程入力欄701の入力画面の列が空欄の場合には(すなわち、「入力」以外の工程のデータが入力されている場合には)、工程項目入力欄704を入力不可の状態にする場合もある。また、図7の例では、登録ボタンは1つだけとなっているが、工程入力欄701に入力されたデータを登録するための登録ボタンと、工程項目入力欄704に入力されたデータを登録するための登録ボタンとを別々に設けて、工程のデータと工程項目のデータとを別々に登録できるような構成にすることも可能である。   In the example of FIG. 7, a process setting slip format input screen includes a process input field 701, a registration button 702, a registration end button 703, and a process item input field 704. In the process input field 701, a process type column, a qualifier column, a function column, a branch condition column, and an input screen column are provided. It is supposed to be. Since FIG. 7 is an example of inputting process data related to “input”, the process type column is blank, but when inputting process data related to “development” It is necessary to set “development” in the process type column. The process item input field 704 includes a variable name column, a nominal name column, a description column, a reference value column, a type column, an input method column, an inspection condition column, and a guide. An MSG column and an inspection MSG column are provided, and process item data to be determined in the process input in the process input field 701 is input. When the column of the input screen of the process input field 701 is blank (that is, when data of a process other than “input” is input), the process item input field 704 is set in the input disabled state. In some cases. In the example of FIG. 7, there is only one registration button, but a registration button for registering data input in the process input field 701 and data input in the process item input field 704 are registered. It is also possible to provide a separate registration button for registering process data and process item data separately.

作業者は、図7に示したようなデータを入力し、登録ボタン702をクリックする。そして、工程設定票階層形成処理部12は、工程設定票形式によるデータの入力を受け付け、一旦記憶装置に格納する(ステップS11)。すなわち、ステップS11の処理を繰り返すことで、工程のデータが順次格納され、結果として図6に示したような工程順序表形式で入力された場合と同様の表形式のデータが記憶装置に格納されることになる。なお、工程項目のデータは、工程項目DB3に登録される。   The worker inputs data as shown in FIG. 7 and clicks a registration button 702. Then, the process setting form hierarchy formation processing unit 12 accepts input of data in the process setting form format and temporarily stores it in the storage device (step S11). That is, by repeating the process of step S11, process data is sequentially stored, and as a result, data in the table format similar to that entered in the process sequence table format as shown in FIG. 6 is stored in the storage device. Will be. The process item data is registered in the process item DB 3.

工程設定票形式によるデータの入力が完了した場合、作業者は、登録終了ボタン703をクリックして登録終了を指示する。工程設定票階層形成処理部12は、登録終了の指示を受信したか判断する(ステップS13)。登録終了の指示を受信した場合(ステップS13:Yesルート)、工程設定票階層形成処理部12は、工程設定票形式によるデータの入力が完了した旨の通知を工程順序表階層形成処理部11に出力する。そして、当該通知を受信した工程順序表階層形成処理部11は、工程順序表階層形成処理(詳細は後述)を実施する(ステップS7)。一方、登録終了の指示を受信していなければ(ステップS13:Noルート)、ステップS11の処理に戻る。   When the input of data in the process setting form format is completed, the worker clicks the registration end button 703 to instruct the end of registration. The process setting form hierarchy formation processing unit 12 determines whether an instruction to end registration has been received (step S13). When an instruction to end registration is received (step S13: Yes route), the process setting form hierarchy formation processing unit 12 notifies the process order table hierarchy formation processing part 11 that data input in the process setting form format has been completed. Output. And the process sequence table hierarchy formation process part 11 which received the said notification implements a process sequence table hierarchy formation process (it mentions later for details) (step S7). On the other hand, if an instruction to end registration has not been received (step S13: No route), the process returns to step S11.

一方、ステップS9において、入力形式が工程設定票形式でないと判断された場合(ステップS9:Noルート)、入力部1は、入力形式が工程構造図形式であるか判断する(ステップS15)。入力形式が工程構造図形式であると判断された場合(ステップS15:Yesルート)、入力部1は、入力形式として工程構造図形式が選択された旨の通知を工程構造図階層形成処理部13に出力する。そして、当該通知を受信した工程構造図階層形成処理部13は、工程構造図形式の入力画面のデータを生成し、表示装置等に表示する。工程構造図形式の入力画面の一例を図8に示す。図8の例では、工程構造図形式の入力画面には、入力欄801と登録ボタン802とが設けられている。そして、入力欄801において、木構造のノードとして各工程を入力するようになっている。なお、例えばクリックするなどして、ある工程を選択し、当該工程に対して分岐条件や入力条件を入力できるようになっている。また、例えば、「入力」に係る工程がクリックされた場合には、工程項目入力画面を表示し、当該工程において決定すべき工程項目のデータを作業者に入力させるようにしてもよい。   On the other hand, when it is determined in step S9 that the input format is not the process setting form format (step S9: No route), the input unit 1 determines whether the input format is the process structure diagram format (step S15). When it is determined that the input format is the process structure diagram format (step S15: Yes route), the input unit 1 notifies the process structure diagram hierarchy formation processing unit 13 that the process structure diagram format is selected as the input format. Output to. Then, the process structure diagram hierarchy formation processing unit 13 that has received the notification generates the data of the process structure diagram format input screen and displays it on the display device or the like. An example of an input screen in the process structure diagram format is shown in FIG. In the example of FIG. 8, an input field 801 and a registration button 802 are provided on the input screen in the process structure diagram format. In the input field 801, each process is input as a tree-structured node. Note that, for example, by clicking, a certain process can be selected, and branch conditions and input conditions can be input to the process. Further, for example, when a process related to “input” is clicked, a process item input screen may be displayed to allow the operator to input data of process items to be determined in the process.

作業者は、図8に示したようなデータを入力し、登録ボタン802をクリックする。そして、工程構造図階層形成処理部13は、工程構造図形式によるデータの入力を受け付け、一旦記憶装置に格納する(ステップS17)。なお、木構造におけるノード間の接続関係を表すようなデータも記憶装置に格納される。そして、工程構造図階層形成処理部13は、記憶装置に格納されたデータに基づき、工程構造図階層形成処理を実施する(ステップS19)。なお、工程構造図階層形成処理の詳細については後で述べる。その後、工程順序DB2にデータを格納する処理を終了する。   The worker inputs data as shown in FIG. 8 and clicks a registration button 802. And the process structure diagram hierarchy formation process part 13 receives the input of the data by a process structure diagram format, and once stores it in a memory | storage device (step S17). Note that data representing connection relationships between nodes in the tree structure is also stored in the storage device. Then, the process structure diagram hierarchy formation processing unit 13 performs a process structure diagram hierarchy formation process based on the data stored in the storage device (step S19). Details of the process structure diagram hierarchy formation processing will be described later. Then, the process which stores data in process order DB2 is complete | finished.

一方、ステップS15において、入力形式が工程構造図形式でないと判断された場合(ステップS15:Noルート)、すなわち、入力形式が工程流れ図形式の場合には、入力部1は、入力形式として工程流れ図形式が選択された旨の通知を工程流れ図階層形成処理部14に出力する。そして、当該通知を受信した工程流れ図階層形成処理部14は、工程流れ図形式の入力画面のデータを生成し、表示装置等に表示する。工程流れ図形式の入力画面の一例を図9に示す。図9の例では、工程流れ図形式の入力画面には、入力欄901と登録ボタン902とが設けられている。そして、入力欄901において、フローチャート形式で各工程を入力するようになっている。なお、例えばクリックするなどして、ある工程を選択し、当該工程に対して分岐条件や入力条件を入力できるようになっている。また、例えば、「入力」に係る工程がクリックされた場合には、工程項目入力画面を表示し、当該工程において決定すべき工程項目のデータを作業者に入力させるようにしてもよい。また、展開工程については、例えばマウスを用いるなどして、展開工程の範囲を指定できるようになっている。図9の例では、点線903で囲まれた範囲は、「ベース生成」に係る範囲を表し、点線904で囲まれた範囲は、「突起生成」に係る範囲を表し、点線905で囲まれた範囲は、「円柱形突起生成」に係る範囲を表し、点線906で囲まれた範囲は、「円錐形突起生成」に係る範囲を表す。   On the other hand, when it is determined in step S15 that the input format is not the process structure diagram format (step S15: No route), that is, when the input format is the process flowchart format, the input unit 1 sets the process flowchart as the input format. A notification that the format has been selected is output to the process flow diagram hierarchy formation processing unit 14. Then, the process flow diagram hierarchy formation processing unit 14 that has received the notification generates the data of the input screen in the process flow diagram format and displays it on the display device or the like. An example of the process flow diagram format input screen is shown in FIG. In the example of FIG. 9, an input field 901 and a registration button 902 are provided on the input screen in the process flow chart format. In the input field 901, each process is input in a flowchart format. Note that, for example, by clicking, a certain process can be selected, and branch conditions and input conditions can be input to the process. Further, for example, when a process related to “input” is clicked, a process item input screen may be displayed to allow the operator to input data of process items to be determined in the process. As for the development process, the range of the development process can be designated by using, for example, a mouse. In the example of FIG. 9, a range surrounded by a dotted line 903 represents a range related to “base generation”, a range surrounded by a dotted line 904 represents a range related to “projection generation”, and is surrounded by a dotted line 905. The range represents a range related to “cylindrical projection generation”, and the range surrounded by a dotted line 906 represents a range related to “conical projection generation”.

作業者は、図9に示したようなデータを入力し、登録ボタン902をクリックする。そして、工程流れ図階層形成処理部14は、工程流れ図形式によるデータの入力を受け付け、一旦記憶装置に格納する(ステップS21)。なお、工程間の接続関係を表すようなデータも記憶装置に格納される。そして、工程流れ図階層形成処理部14は、記憶装置に格納されたデータに基づき、工程流れ図階層形成処理を実施する(ステップS23)。なお、工程流れ図階層形成処理の詳細については後で述べる。その後、工程順序DB2にデータを格納する処理を終了する。   The worker inputs data as shown in FIG. 9 and clicks a registration button 902. Then, the process flow diagram hierarchy formation processing unit 14 accepts input of data in the process flow diagram format and temporarily stores it in the storage device (step S21). Note that data representing the connection relationship between processes is also stored in the storage device. Then, the process flow diagram hierarchy formation processing unit 14 performs a process flow diagram hierarchy formation process based on the data stored in the storage device (step S23). Details of the process flow diagram hierarchy forming process will be described later. Then, the process which stores data in process order DB2 is complete | finished.

次に、図10乃至図17を用いて、工程順序表階層形成処理(図5:ステップS7)について説明する。工程順序表階層形成処理では、記憶装置に格納された工程順序表形式の工程のデータを工程順序DB2に登録し、各工程に対して工程階層順序番号を付与する。具体的には、まず、工程順序表階層形成処理部11は、記憶装置に格納されたデータを工程順序DB2に登録する。すなわち、工程順序DB2の工程種類の列と、修飾子の列と、機能の列と、分岐条件の列と、入力画面の列とには、図6の入力欄601におけるデータがそのまま登録される。そして、工程順序表階層形成処理部11は、分岐条件の列と入力画面の列とに設定されているデータに基づき、各工程の工程種類を特定し、工程順序DB2に登録する(図10:ステップS31)。具体的には、工程順序表階層形成処理部11は、分岐条件の列に分岐条件が設定されている工程については、工程種類を「分岐」と特定し、入力画面の列に入力条件が設定されている工程については、工程種類を「入力」と特定し、分岐条件及び入力条件のいずれも設定されていない工程については、工程種類を「演算」と特定する。ステップS31の処理を実施すると、工程順序DB2に格納されるデータは、例えば図11に示すようなデータとなる。なお、図11における網掛け部分は、ステップS31の処理により登録されたデータであることを示す。   Next, the process sequence table hierarchy forming process (FIG. 5: step S7) will be described with reference to FIGS. In the process sequence table hierarchy formation process, process data in the process sequence table format stored in the storage device is registered in the process sequence DB 2 and a process hierarchy sequence number is assigned to each process. Specifically, first, the process sequence table hierarchy formation processing unit 11 registers the data stored in the storage device in the process sequence DB 2. That is, the data in the input field 601 of FIG. 6 is registered as it is in the process type column, the qualifier column, the function column, the branch condition column, and the input screen column of the process order DB2. . Then, the process sequence table hierarchy formation processing unit 11 specifies the process type of each process based on the data set in the branch condition column and the input screen column, and registers them in the process sequence DB 2 (FIG. 10 :). Step S31). Specifically, the process sequence table hierarchy formation processing unit 11 specifies the process type “branch” for the process for which the branch condition is set in the branch condition column, and sets the input condition in the column of the input screen. For a process that is performed, the process type is specified as “input”, and for a process for which neither a branch condition nor an input condition is set, the process type is specified as “calculation”. When the process of step S31 is performed, the data stored in the process order DB 2 is, for example, data as shown in FIG. The shaded portion in FIG. 11 indicates that the data is registered by the process of step S31.

そして、工程順序表階層形成処理部11は、所定の規則に基づき、省略されている工程を特定し、工程順序DB2に登録する(ステップS33)。本実施の形態では、作業者は、工程順序表形式による入力を行う際に、図12に示すような規則に従うものとする。なお、図12に示した規則は一例であって、他の規則を用いる場合もある。図12において、「開始」及び「終了」に係る工程は省略可能となっており、省略時には先頭に「開始」に係る工程を追加し、最後尾に「終了」に係る工程を追加するようになっている。従って、図13に示すように、工程順序DB2には、「開始」に係る工程として行1301が追加され、「終了」に係る工程として行1307が追加される。また、図12において、「展開(end)」(すなわち、展開終了)に係る工程は省略可能となっており、省略時には、次の「展開」、「分岐」又は「繰返」に係る工程の直前に展開終了を追加するようになっている。従って、図13に示すように、工程順序DB2には、行1302(ベース生成の展開終了)、行1303(円柱形突起生成の展開終了)及び行1305(円錐形突起生成の展開終了)が追加される。さらに、図12において、「分岐(end if、end else)」(すなわち、分岐終了)に係る工程は省略可能となっており、省略時には、次の「分岐」、「繰返」又は「展開(end)」(「展開(end)」はユーザにより指定された展開終了に限る)に係る工程の直前に分岐終了を追加するようになっている。従って、図13に示すように、工程順序DB2には、行1304(「分岐(if)」に対する分岐終了)及び行1306(「分岐(else)」に対する分岐終了)が追加される。なお、図12における「突起生成」のように、「展開(end)」が作業者により指定されている場合には、その指定に従う。   Then, the process order table hierarchy formation processing unit 11 identifies the omitted process based on a predetermined rule, and registers it in the process order DB 2 (step S33). In the present embodiment, it is assumed that the operator follows the rules as shown in FIG. 12 when inputting in the process order table format. Note that the rules shown in FIG. 12 are examples, and other rules may be used. In FIG. 12, the steps related to “Start” and “End” can be omitted, and when omitted, the step related to “Start” is added at the top and the step related to “End” is added at the end. It has become. Therefore, as illustrated in FIG. 13, a row 1301 is added to the process order DB 2 as a process related to “start”, and a line 1307 is added as a process related to “end”. In FIG. 12, the process related to “end” (that is, the end of expansion) can be omitted. When omitted, the process related to the next “expansion”, “branch” or “repetition” is omitted. An expansion end is added immediately before. Accordingly, as shown in FIG. 13, row 1302 (end of expansion of base generation), row 1303 (end of expansion of cylindrical protrusion generation), and row 1305 (end of expansion of conical protrusion generation) are added to the process order DB2. Is done. Further, in FIG. 12, a process related to “branch (end if, end else)” (that is, branch end) can be omitted, and at the time of omission, the next “branch”, “repeat” or “expansion ( end) ”(“ end (end) is limited to the end of expansion specified by the user) ”is added to the end of the branch immediately before the process. Accordingly, as shown in FIG. 13, a row 1304 (branch end for “branch (if)”) and a row 1306 (branch end for “else”) are added to the process order DB 2. If “end” is designated by the operator, as in “projection generation” in FIG. 12, the designation is followed.

また、工程順序表階層形成処理部11は、工程種類及び修飾子の列に設定されたデータに基づき、工程記号を付与し、工程順序DBに登録する(ステップS35)。なお、本実施の形態では、工程種類を表すアルファベットと、展開工程別に任意に割り振られる値とを組み合わせたものを工程記号とし、工程記号が重複する場合には、アルファベット、左括弧又は右括弧を末尾に組み合わせて区別する。図13における円錐生成パラメタ変換を例として説明する。円錐生成パラメタ変換の工程記号は、演算工程を表す「Q」と、円錐形突起生成に割り振られた値「13」とを組み合わせた「Q13」となるが、円錐生成コマンド及び集合演算コマンドの工程記号も「Q13」となるため、末尾にアルファベットを組み合わせて区別する。すなわち、円錐生成パラメタ変換の工程記号は「Q13A」となり、円錐生成コマンドの工程記号は「Q13B」となり、集合演算コマンドの工程記号は「Q13C」となる。なお、工程記号は、工程を特定できるものであれば、他の方法に従って付与してもよい。   Further, the process order table hierarchy formation processing unit 11 assigns process symbols based on the data set in the process type and qualifier columns, and registers them in the process order DB (step S35). In the present embodiment, a combination of an alphabet representing a process type and a value arbitrarily assigned to each development process is used as a process symbol, and when the process symbol is duplicated, the alphabet, left parenthesis or right parenthesis is used. Distinguish by combining at the end. The cone generation parameter conversion in FIG. 13 will be described as an example. The process symbol of the cone generation parameter conversion is “Q13” which is a combination of “Q” representing the calculation process and the value “13” assigned to the generation of the conical protrusion, but the process of the cone generation command and the set calculation command Since the symbol is also “Q13”, it is distinguished by combining alphabets at the end. That is, the process symbol for the cone generation parameter conversion is “Q13A”, the process symbol for the cone generation command is “Q13B”, and the process symbol for the set operation command is “Q13C”. In addition, as long as a process symbol can identify a process, you may provide according to another method.

そして、工程順序表階層形成処理部11は、階層構造を分析し、各工程について、当該工程の階層レベルを特定する(ステップS37)。本実施の形態では、「展開」、「分岐」及び「繰返」に係る工程により階層レベルが変化するものとする。より具体的には、「展開(start)」、「分岐(if、else)」又は「繰返(repeat)」の直後は階層レベルが1つ下がり、「展開(end)」及び「分岐(end if、end else)」の階層レベルは、対応する「展開(start)」及び「分岐(if、else)」の階層レベルと同一となるものとする。従って、例えば図13に示したようなデータが工程順序DB2に格納されていた場合、各工程の階層レベルは、図14における階層レベルの列1401のようになる。   Then, the process sequence table hierarchy formation processing unit 11 analyzes the hierarchical structure and specifies the hierarchy level of the process for each process (step S37). In the present embodiment, it is assumed that the hierarchical level is changed by the processes related to “development”, “branch”, and “repetition”. More specifically, immediately after “start”, “branch (if, else)” or “repeat”, the hierarchy level is lowered by one, and “end” and “branch (end) The hierarchical level of “if, end else” is the same as the corresponding hierarchical level of “development (start)” and “branch (if, else)”. Therefore, for example, when data as shown in FIG. 13 is stored in the process order DB 2, the hierarchical level of each process is as shown in the hierarchical level column 1401 in FIG.

そして、工程順序表階層形成処理部11は、階層レベルに基づき、下位の階層に属する工程から順に工程階層順序番号を付与し、工程順序DB2に登録する(ステップS39)。本実施の形態では、「(階層レベル1の番号)−(階層レベル2の番号)−・・・−(階層レベルNの番号)」を工程階層順序番号とする(階層レベルNは最下位の階層レベルを示す)。なお、「−」(ハイフン)でなく、「.」(ピリオド)等で階層レベル間の番号を区切る場合もある。また、上位の階層から順に工程階層順序番号を付与することも可能である。   Then, the process sequence table hierarchy formation processing unit 11 assigns process hierarchy sequence numbers in order from the process belonging to the lower hierarchy based on the hierarchy level, and registers them in the process order DB 2 (step S39). In the present embodiment, "(hierarchy level 1 number)-(hierarchy level 2 number)-...-(hierarchy level N number)" is the process hierarchy order number (hierarchy level N is the lowest level). Indicates the hierarchy level). In some cases, numbers between hierarchical levels may be separated by “.” (Period) or the like instead of “-” (hyphen). It is also possible to assign process hierarchy sequence numbers in order from the upper hierarchy.

図14乃至図17を用いて、工程階層順序番号を付与する処理(図10:ステップS39)の詳細を説明する。例えば、階層レベルが1から4まで存在する場合、工程順序表階層形成処理部11は、まず階層レベル4の工程を対象に番号を付与する。このとき、工程順序DB2の工程階層順序番号の列には、図14に示すようなデータが格納される。次に、工程順序表階層形成処理部11は、階層レベル3及び4の工程を対象に番号を付与する。このとき、工程順序DB2の工程階層順序番号の列には、図15に示すようなデータが格納される。さらに、工程順序表階層形成処理部11は、階層レベル2乃至3の工程を対象に番号を付与する。このとき、工程順序DB2の工程階層順序番号の列には、図16に示すようなデータが格納される。そして、工程順序表階層形成処理部11は、階層レベル1乃至4の工程を対象に番号を付与する。このとき、工程順序DB2の工程階層順序番号の列には、図17に示すようなデータが格納される。すなわち、各工程に工程階層順序番号が付与されたことになる。なお、上で説明したような方法に限らず、他の方法で工程階層順序番号を付与することも可能である。そして、工程順序表階層形成処理を終了し、元の処理に戻る。   Details of the process of assigning process hierarchy sequence numbers (FIG. 10: step S39) will be described with reference to FIGS. For example, when there are hierarchical levels 1 to 4, the process sequence table hierarchy formation processing unit 11 first assigns numbers to the processes of the hierarchical level 4. At this time, data as shown in FIG. 14 is stored in the column of the process hierarchy order number in the process order DB2. Next, the process sequence table hierarchy formation processing unit 11 assigns numbers to the processes of the hierarchy levels 3 and 4. At this time, data as shown in FIG. 15 is stored in the column of the process hierarchy order number of the process order DB2. Further, the process sequence table hierarchy formation processing unit 11 assigns numbers to the processes of the hierarchy levels 2 to 3. At this time, data as shown in FIG. 16 is stored in the column of the process hierarchy order number in the process order DB2. Then, the process sequence table hierarchy formation processing unit 11 assigns numbers to the processes of the hierarchy levels 1 to 4. At this time, data as shown in FIG. 17 is stored in the column of the process hierarchy order number of the process order DB2. That is, a process hierarchy sequence number is assigned to each process. It should be noted that the process hierarchy order number can be assigned by other methods, not limited to the method described above. Then, the process sequence table hierarchy forming process ends, and the process returns to the original process.

以上のような処理を実施することにより、作業者が工程階層順序番号を入力しなくとも自動的に付与されるので、階層構造を有した形で工程のデータを工程順序DB2に格納することができる。また、階層構造を有した形で工程のデータを格納するので、工程順序表又は工程設定票形式で工程のデータの入力が行われた場合であっても工程構造図や工程流れ図形式の表示データを生成することが可能となる。なお、階層構造の変更が生じた場合であっても、作業者は工程階層順序番号を見直す必要はない。   By performing the processing as described above, since the worker is automatically given without inputting the process hierarchy sequence number, the process data can be stored in the process sequence DB 2 in a form having a hierarchical structure. it can. In addition, since the process data is stored in a form having a hierarchical structure, even if the process data is input in the process sequence table or process setting form format, the process structure diagram or process flow chart format display data Can be generated. Even when the hierarchical structure is changed, the operator does not need to review the process hierarchy sequence number.

次に、図18乃至図26を用いて、工程構造図階層形成処理(図5:ステップS19)について説明する。工程構造図階層形成処理では、記憶装置に格納された工程構造図形式の工程に対して工程階層順序番号を付与し、各工程を工程順序DB2に登録する。具体的には、まず、工程構造図階層形成処理部13は、記憶装置に格納されたデータに基づき、階層構造に従って、各工程に工程階層順序番号を付与し、記憶装置に格納する(図18:ステップS41)。具体的には、工程を木構造のノードとみなし、工程を先行順(深さ優先:Depth First)で辿っていき、工程階層順序番号を付与する。ステップS41の処理による工程階層順序番号付与の流れを図19乃至図25に示す。まず、工程構造図階層形成処理部13は、「開始」から前順走査をスタートし、「ベース生成」に対して工程階層順序番号「1」を付与する(図19)。次に、工程構造図階層形成処理部13は、「ベース生成」の下位の工程を辿り、「ベース案内画面」、「円柱生成パラメタ変換」及び「円柱生成コマンド」に対して工程階層順序番号「1.1」、「1.2」及び「1.3」を付与する(図20)。さらに、工程構造図階層形成処理部13は、「ベース生成」の下位の工程を全て辿った後、「ベース生成」と同一階層レベルにある「突起生成」に対して工程階層順序番号「2」を付与する(図21)。そして、工程構造図階層形成処理部13は、「突起生成」の下位の工程を辿り、「突起案内画面」及び「<突起(Type)=="円柱">(Yes)」に対して工程階層順序番号「2.1」及び「2.2」を付与する(図22)。次に、工程構造図階層形成処理部13は、「<突起(Type)=="円柱">(Yes)」の下位の工程を辿り、「円柱形突起生成」に対して工程階層順序番号「2.2.1」を付与する(図23)。さらに、工程構造図階層形成処理部13は、「円柱形突起生成」の下位の工程を辿り、「円柱生成案内画面」、「円柱生成パラメタ変換」、「円柱生成コマンド」及び「集合演算コマンド」に対して工程階層順序番号「2.2.1.1」、「2.2.1.2」、「2.2.1.3」及び「2.2.1.4」を付与する(図24)。そして、工程構造図階層形成処理部13は、「<突起(Type)=="円柱">(Yes)」の下位の工程を全て辿った後、「<突起(Type)=="円柱">(Yes)」と同一階層レベルにある「<突起(Type)=="円柱">(No)」に対して工程階層順序番号「2.3」を付与する(図25)。以下、同様に処理することで、各工程に工程階層順序番号を付与することができる。   Next, the process structure diagram hierarchy forming process (FIG. 5: Step S19) will be described with reference to FIGS. In the process structure diagram hierarchy forming process, a process hierarchy sequence number is assigned to a process in the process structure diagram format stored in the storage device, and each process is registered in the process sequence DB 2. Specifically, first, the process structure diagram hierarchy formation processing unit 13 assigns a process hierarchy sequence number to each process according to the hierarchical structure based on the data stored in the storage device, and stores it in the storage device (FIG. 18). : Step S41). Specifically, the process is regarded as a tree-structured node, the process is traced in order of precedence (depth first: Depth First), and a process hierarchy sequence number is assigned. 19 to 25 show the flow of assigning process hierarchy sequence numbers by the process of step S41. First, the process structure diagram hierarchy formation processing unit 13 starts a pre-order scan from “start”, and assigns a process hierarchy sequence number “1” to “base generation” (FIG. 19). Next, the process structure diagram hierarchy formation processing unit 13 follows the processes below “base generation”, and the process hierarchy sequence number “base guide screen”, “cylinder generation parameter conversion”, and “cylinder generation command” 1.1 "," 1.2 ", and" 1.3 "are assigned (FIG. 20). Further, the process structure diagram hierarchy formation processing unit 13 traces all processes below “base generation”, and then processes the process hierarchy sequence number “2” for “projection generation” at the same hierarchical level as “base generation”. Is given (FIG. 21). Then, the process structure diagram hierarchy formation processing unit 13 follows the processes below the “projection generation”, and the process hierarchy for “projection guide screen” and “<projection (Type) ==“ column ”> (Yes)”. Sequence numbers “2.1” and “2.2” are assigned (FIG. 22). Next, the process structure diagram hierarchy formation processing unit 13 follows the process below “<projection (Type) =“ cylinder ”> (Yes)”, and the process hierarchy sequence number “ 2.2.1 ”is assigned (FIG. 23). Further, the process structure diagram hierarchy formation processing unit 13 follows the steps below “Cylindrical projection generation”, “Cylinder generation guidance screen”, “Cylinder generation parameter conversion”, “Cylinder generation command”, and “Set operation command”. Are given process hierarchy sequence numbers “2.2.1.1”, “2.2.1.2”, “2.2.1.3”, and “2.2.1.4” ( FIG. 24). Then, the process structure diagram hierarchy formation processing unit 13 traces all the steps below “<projection (Type) =“ cylinder ”> (Yes)”, and then “<projection (Type) ==“ cylinder ”>”. The process hierarchy sequence number “2.3” is assigned to “<projection (Type) =“ cylinder ”> (No)” at the same hierarchical level as (Yes) ”(FIG. 25). Hereinafter, a process hierarchy sequence number can be given to each process by processing similarly.

そして、工程構造図階層形成処理部13は、記憶装置に格納された工程階層順序番号の順に未処理の工程を特定する(ステップS43)。また、工程構造図階層形成処理部13は、工程階層順序番号に従って特定工程についてのレコードを工程順序DB2に追加する(ステップS45)。そして、工程構造図階層形成処理部13は、記憶装置に格納されたデータを参照し、特定工程について分岐条件の指定がなされているか判断する(ステップS47)。特定工程について分岐条件の指定がなされていると判断された場合(ステップS47:Yesルート)、工程構造図階層形成処理部13は、指定された分岐条件を追加レコードの分岐条件の列に登録し、工程種類の列に「分岐」を登録する(ステップS49)。また、工程構造図階層形成処理部13は、分岐終了(「分岐(end if、end else)」)についてのレコードを工程順序DB2に追加する(ステップS51)。なお、分岐終了の工程階層順序番号は、対応する分岐開始の工程階層順序番号と同一の番号とする。そして、端子Aを介してステップS71(図26)の処理に移行する。   Then, the process structure diagram hierarchy formation processing unit 13 specifies unprocessed processes in the order of the process hierarchy sequence numbers stored in the storage device (step S43). Further, the process structure diagram hierarchy formation processing unit 13 adds a record for the specific process to the process order DB 2 in accordance with the process hierarchy order number (step S45). Then, the process structure diagram hierarchy formation processing unit 13 refers to the data stored in the storage device and determines whether the branch condition is specified for the specific process (step S47). When it is determined that the branch condition is specified for the specific process (step S47: Yes route), the process structure diagram hierarchy formation processing unit 13 registers the specified branch condition in the branch condition column of the additional record. Then, “branch” is registered in the process type column (step S49). In addition, the process structure diagram hierarchy formation processing unit 13 adds a record about the end of branching (“end if, end else”) to the process order DB 2 (step S51). Note that the branching process hierarchy sequence number is the same as the corresponding branching process hierarchy sequence number. And it transfers to the process of step S71 (FIG. 26) via the terminal A. FIG.

一方、ステップS47において、特定工程について分岐条件の指定がなされていないと判断された場合(ステップS47:Noルート)、工程構造図階層形成処理部13は、特定工程について入力条件の指定がなされているか判断する(ステップS53)。特定工程について入力条件の指定がなされていると判断された場合(ステップS53:Yesルート)、工程構造図階層形成処理部13は、指定された入力条件を追加レコードの入力画面の列に登録し、工程種類の列に「入力」を登録する(ステップS55)。その後、端子Aを介してステップS71(図26)の処理に移行する。   On the other hand, when it is determined in step S47 that the branch condition is not specified for the specific process (step S47: No route), the process structure diagram hierarchy formation processing unit 13 specifies the input condition for the specific process. (Step S53). When it is determined that the input condition is specified for the specific process (step S53: Yes route), the process structure diagram hierarchy formation processing unit 13 registers the specified input condition in the column of the input screen of the additional record. Then, “input” is registered in the process type column (step S55). Thereafter, the process proceeds to step S71 (FIG. 26) via the terminal A.

一方、ステップS53において、特定工程について入力条件の指定がなされていないと判断された場合(ステップS53:Noルート)、端子Bを介してステップS57(図26)の処理に移行する。   On the other hand, if it is determined in step S53 that the input condition is not specified for the specific process (step S53: No route), the process proceeds to step S57 (FIG. 26) via the terminal B.

図26の説明に移行して、端子Bの後、工程構造図階層形成処理部13は、特定工程について繰返条件の指定がなされているか判断する(図26:ステップS57)。特定工程について繰返条件の指定がなされていると判断された場合(ステップS57:Yesルート)、工程構造図階層形成処理部13は、指定された繰返条件を追加レコードの繰返条件の列(図示せず)に登録し、工程種類の列に「繰返」を登録する(ステップS59)。また、工程構造図階層形成処理部13は、繰返終了(「繰返(end repeat)」)についてのレコードを工程順序DB2に追加する(ステップS61)。なお、繰返終了の工程階層順序番号は、対応する繰返開始の工程階層順序番号と同一の番号とする。その後、ステップS71の処理に移行する。   Shifting to the description of FIG. 26, after the terminal B, the process structure diagram hierarchy formation processing unit 13 determines whether or not the repetition condition is specified for the specific process (FIG. 26: step S57). When it is determined that the repetition condition is specified for the specific process (step S57: Yes route), the process structure diagram hierarchy formation processing unit 13 sets the specified repetition condition as the repetition condition column of the additional record. (Not shown) and “repetition” is registered in the process type column (step S59). In addition, the process structure diagram hierarchy formation processing unit 13 adds a record about the end of repetition (“end repeat”) to the process order DB 2 (step S61). The process hierarchy sequence number at the end of repetition is the same as the corresponding process hierarchy sequence number at the start of repetition. Thereafter, the process proceeds to step S71.

一方、ステップS57において、特定工程について繰返条件の指定がなされていないと判断された場合(ステップS57:Noルート)、工程構造図階層形成処理部13は、特定工程の下位に他の工程が存在するか判断する(ステップS63)。特定工程の下位に他の工程が存在すると判断された場合(ステップS63:Yesルート)、工程構造図階層形成処理部13は、追加レコードの工程種類の列に「展開」を登録する(ステップS65)。また、工程構造図階層形成処理部13は、展開終了(「展開(end)」)についてのレコードを工程順序DB2に追加する(ステップS67)。なお、展開終了の工程階層順序番号は、対応する展開開始の工程階層順序番号と同一の番号とする。その後、ステップS71の処理に移行する。   On the other hand, when it is determined in step S57 that the repetition condition is not specified for the specific process (step S57: No route), the process structure diagram hierarchy formation processing unit 13 includes other processes below the specific process. It is determined whether it exists (step S63). When it is determined that another process exists below the specific process (step S63: Yes route), the process structure diagram hierarchy formation processing unit 13 registers “development” in the process type column of the additional record (step S65). ). Further, the process structure diagram hierarchy formation processing unit 13 adds a record about the end of development (“end (end)”) to the process order DB 2 (step S67). The process hierarchy sequence number at the end of development is the same number as the corresponding process hierarchy sequence number at the start of development. Thereafter, the process proceeds to step S71.

一方、ステップS63において、特定工程の下位に他の工程が存在しないと判断された場合(ステップS63:Noルート)、工程構造図階層形成処理部13は、追加レコードの工程種類の列に「演算」を登録する(ステップS69)。その後、ステップS71の処理に移行する。   On the other hand, when it is determined in step S63 that there is no other process below the specific process (step S63: No route), the process structure diagram hierarchy formation processing unit 13 displays “calculation” in the process type column of the additional record. "Is registered (step S69). Thereafter, the process proceeds to step S71.

そして、工程構造図階層形成処理部13は、全ての工程について処理が完了したか判断する(ステップS71)。全ての工程について処理が完了していなければ(ステップS71:Noルート)、端子Cを介してステップS43(図18)の処理に戻る。一方、全ての工程について処理が完了した場合(ステップS71:Yesルート)、工程構造図階層形成処理を終了し、元の処理に戻る。   Then, the process structure diagram hierarchy formation processing unit 13 determines whether the process has been completed for all the processes (step S71). If the process has not been completed for all the steps (step S71: No route), the process returns to the process of step S43 (FIG. 18) via the terminal C. On the other hand, when the process is completed for all processes (step S71: Yes route), the process structure diagram hierarchy formation process is terminated and the process returns to the original process.

以上のような処理を実施することにより、工程構造図形式で入力された場合であっても、図2に示したようなデータを工程順序DB2に格納することができる。   By performing the processing as described above, the data as shown in FIG. 2 can be stored in the process order DB 2 even when the process structure diagram is input.

次に、図27乃至図35を用いて、工程流れ図階層形成処理(図5:ステップS23)について説明する。工程流れ図階層形成処理では、記憶装置に格納された工程流れ図形式の工程に対して工程階層順序番号を付与し、各工程を工程順序DB2に登録する。具体的には、まず、工程流れ図階層形成処理部14は、記憶装置に格納された、工程間の接続関係及び展開工程の範囲を表すデータに基づき、各工程に工程階層順序番号を付与し、記憶装置に格納する(図27:ステップS81)。具体的には、工程間の接続関係を基に、「開始」を表す端子記号から順に工程を辿っていき、工程階層順序番号を付与する。ステップS81の処理による工程階層順序番号付与の流れを図28乃至図34に示す。まず、工程流れ図階層形成処理部14は、「開始」を表す端子記号からスタートし、「ベース生成」に対して工程階層順序番号「1」を付与する(図28)。次に、工程流れ図階層形成処理部14は、「ベース生成」内を辿り、「ベース案内画面」、「円柱生成パラメタ変換」及び「円柱生成コマンド」に対して工程階層順序番号「1.1」、「1.2」及び「1.3」を付与する(図29)。さらに、工程流れ図階層形成処理部14は、「ベース生成」に係る範囲の外に出て、「ベース生成」と同一階層レベルにある「突起生成」に対して工程階層順序番号「2」を付与する(図30)。そして、工程流れ図階層形成処理部14は、「突起生成」内を辿り、「突起案内画面」及び「突起(Type)=="円柱"(Yes)」に対して工程階層順序番号「2.1」及び「2.2」を付与する(図31)。次に、工程流れ図階層形成処理部14は、「突起(Type)=="円柱"(Yes)」のルートを辿り、「円柱形突起生成」に対して工程階層順序番号「2.2.1」を付与する(図32)。さらに、工程流れ図階層形成処理部14は、「円柱形突起生成」内の工程を辿り、「円柱生成案内画面」、「円柱生成パラメタ変換」、「円柱生成コマンド」及び「集合演算コマンド」に対して工程階層順序番号「2.2.1.1」、「2.2.1.2」、「2.2.1.3」及び「2.2.1.4」を付与する(図33)。そして、工程流れ図階層形成処理部14は、「突起(Type)=="円柱"(Yes)」のルートを辿った後、「突起(Type)=="円柱"(Yes)」と同一階層レベルにある「突起(Type)=="円柱"(No)」に対して工程階層順序番号「2.3」を付与する(図34)。さらに、工程流れ図階層形成処理部14は、「突起(Type)=="円柱"(Yes)」のルートの場合と同様の処理を実施し、「円錐形突起生成」、「円錐生成案内画面」、「円錐生成パラメタ変換」、「円錐生成コマンド」及び「集合演算コマンド」に対して工程階層順序番号「2.3.1」、「2.3.1.1」、「2.3.1.2」、「2.3.1.3」及び「2.3.1.4」を付与する(図34)。   Next, the process flow diagram hierarchy forming process (FIG. 5: step S23) will be described with reference to FIGS. In the process flow chart hierarchy forming process, process hierarchy sequence numbers are assigned to processes in the process flow chart format stored in the storage device, and each process is registered in the process order DB 2. Specifically, first, the process flow diagram hierarchy formation processing unit 14 assigns a process hierarchy sequence number to each process based on the data representing the connection relationship between processes and the range of the expansion process stored in the storage device, The data is stored in the storage device (FIG. 27: step S81). Specifically, based on the connection relationship between processes, the process is traced in order from the terminal symbol representing “start”, and a process hierarchy sequence number is assigned. The flow of assigning a process hierarchy sequence number by the process of step S81 is shown in FIGS. First, the process flow diagram hierarchy formation processing unit 14 starts from a terminal symbol representing “start”, and assigns a process hierarchy sequence number “1” to “base generation” (FIG. 28). Next, the process flow diagram hierarchy formation processing unit 14 follows the “base generation”, and the process hierarchy sequence number “1.1” for the “base guide screen”, “cylinder generation parameter conversion”, and “cylinder generation command”. , “1.2” and “1.3” are assigned (FIG. 29). Further, the process flowchart hierarchy formation processing unit 14 goes out of the range related to “base generation” and assigns a process hierarchy sequence number “2” to “projection generation” at the same hierarchical level as “base generation”. (FIG. 30). Then, the process flow diagram hierarchy formation processing unit 14 follows the “projection generation”, and the process hierarchy sequence number “2.1” for “projection guide screen” and “projection (Type) =“ cylinder ”(Yes)”. "And" 2.2 "are assigned (FIG. 31). Next, the process flow diagram hierarchy formation processing unit 14 follows the route of “projection (Type) ==“ cylinder ”(Yes)”, and the process hierarchy sequence number “2.2.1” for “cylindrical projection generation”. "Is given (FIG. 32). Further, the process flow diagram hierarchy formation processing unit 14 follows the process in “Cylindrical projection generation”, and in response to the “Cylinder generation guidance screen”, “Cylinder generation parameter conversion”, “Cylinder generation command”, and “Set operation command”. Step hierarchy sequence numbers “2.2.1.1”, “2.2.1.2”, “2.2.1.3”, and “2.2.1.4” are assigned (FIG. 33). ). Then, the process flow diagram hierarchy formation processing unit 14 follows the route of “projection (Type) ==“ cylinder ”(Yes)” and then has the same hierarchical level as “projection (Type) ==“ cylinder ”(Yes)”. A process hierarchy sequence number “2.3” is assigned to “Protrusion (Type) ==“ Cylinder ”(No)” (FIG. 34). Further, the process flow diagram hierarchy formation processing unit 14 performs the same processing as that for the route of “projection (Type) ==“ cylinder ”(Yes)”, and generates “conical projection generation” and “cone generation guidance screen”. , “Cone generation parameter conversion”, “cone generation command”, and “set operation command”, the process hierarchy sequence numbers “2.3.1”, “2.3.1.1”, “2.3.1” .2 "," 2.3.1.3 ", and" 2.3.1.4 "(FIG. 34).

そして、工程流れ図階層形成処理部14は、記憶装置に格納された工程階層順序番号の順に未処理の工程を特定する(ステップS83)。また、工程流れ図階層形成処理部14は、工程階層順序番号に従って特定工程についてのレコードを工程順序DB2に追加する(ステップS85)。そして、工程流れ図階層形成処理部14は、記憶装置に格納されたデータを参照し、特定工程が分岐工程であるか判断する(ステップS87)。例えば、特定工程に対して分岐条件が指定されている場合に、分岐工程とみなす。また、特定工程を表す記号が分岐記号であるか否かによって判断するようにしてもよい。特定工程が分岐工程である判断された場合(ステップS87:Yesルート)、工程流れ図階層形成処理部14は、指定された分岐条件を追加レコードの分岐条件の列に登録し、工程種類の列に「分岐」を登録する(ステップS89)。また、工程流れ図階層形成処理部14は、分岐終了(「分岐(end if、end else)」)についてのレコードを工程順序DB2に追加する(ステップS91)。なお、分岐終了の工程階層順序番号は、対応する分岐開始の工程階層順序番号と同一の番号とする。そして、端子Dを介してステップS111(図35)の処理に移行する。   And the process flowchart hierarchy formation process part 14 specifies an unprocessed process in order of the process hierarchy sequence number stored in the memory | storage device (step S83). Further, the process flow diagram hierarchy formation processing unit 14 adds a record for the specific process to the process order DB 2 in accordance with the process hierarchy order number (step S85). Then, the process flow diagram hierarchy formation processing unit 14 refers to the data stored in the storage device, and determines whether the specific process is a branch process (step S87). For example, when a branch condition is specified for a specific process, it is regarded as a branch process. Moreover, you may make it judge by the symbol showing a specific process whether it is a branch symbol. If it is determined that the specific process is a branch process (step S87: Yes route), the process flow diagram hierarchy formation processing unit 14 registers the specified branch condition in the branch condition column of the additional record, and stores it in the process type column. “Branch” is registered (step S89). Further, the process flow diagram hierarchy formation processing unit 14 adds a record about the end of branching (“end if, end else”) to the process order DB 2 (step S91). Note that the branching process hierarchy sequence number is the same as the corresponding branching process hierarchy sequence number. And it transfers to the process of step S111 (FIG. 35) via the terminal D. FIG.

一方、ステップS87において、特定工程が分岐工程でないと判断された場合(ステップS87:Noルート)、工程流れ図階層形成処理部14は、特定工程について入力条件の指定がなされているか判断する(ステップS93)。特定工程について入力条件の指定がなされていると判断された場合(ステップS93:Yesルート)、工程流れ図階層形成処理部14は、指定された入力条件を追加レコードの入力画面の列に登録し、工程種類の列に「入力」を登録する(ステップS95)。その後、端子Dを介してステップS111(図35)の処理に移行する。   On the other hand, if it is determined in step S87 that the specific process is not a branch process (step S87: No route), the process flow diagram hierarchy formation processing unit 14 determines whether an input condition is specified for the specific process (step S93). ). When it is determined that the input condition is specified for the specific process (step S93: Yes route), the process flowchart hierarchy formation processing unit 14 registers the specified input condition in the column of the input screen of the additional record, “Input” is registered in the process type column (step S95). Thereafter, the process proceeds to step S111 (FIG. 35) via the terminal D.

一方、ステップS93において、特定工程について入力条件の指定がなされていないと判断された場合(ステップS93:Noルート)、端子Eを介してステップS97(図35)の処理に移行する。   On the other hand, if it is determined in step S93 that the input condition is not specified for the specific process (step S93: No route), the process proceeds to step S97 (FIG. 35) via the terminal E.

図35の説明に移行して、端子Eの後、工程流れ図階層形成処理部14は、記憶装置に格納されたデータを参照し、特定工程が繰返工程であるか判断する(図35:ステップS97)。例えば、特定工程に対して繰返条件が指定されている場合に、繰返工程とみなす。また、特定工程を表す記号がループ記号であるか否かによって判断するようにしてもよい。特定工程が繰返工程であると判断された場合(ステップS97:Yesルート)、工程流れ図階層形成処理部14は、指定された繰返条件を追加レコードの繰返条件の列(図示せず)に登録し、工程種類の列に「繰返」を登録する(ステップS99)。また、工程流れ図階層形成処理部14は、繰返終了(「繰返(end repeat)」)についてのレコードを工程順序DB2に追加する(ステップS101)。なお、繰返終了の工程階層順序番号は、対応する繰返開始の工程階層順序番号と同一の番号とする。その後、ステップS111の処理に移行する。   35, after the terminal E, the process flow diagram hierarchy formation processing unit 14 refers to the data stored in the storage device and determines whether the specific process is a repeated process (FIG. 35: step). S97). For example, when a repetition condition is specified for a specific process, it is regarded as a repetition process. Further, the determination may be made based on whether or not the symbol representing the specific process is a loop symbol. When it is determined that the specific process is a repetitive process (step S97: Yes route), the process flow diagram hierarchy formation processing unit 14 sets the specified repetitive condition as a repetitive condition column (not shown) of the additional record. And “Repetition” is registered in the process type column (step S99). Further, the process flow diagram hierarchy formation processing unit 14 adds a record about the end of repetition (“end repeat”) to the process order DB 2 (step S101). The process hierarchy sequence number at the end of repetition is the same as the corresponding process hierarchy sequence number at the start of repetition. Thereafter, the process proceeds to step S111.

一方、ステップS97において、特定工程が繰返工程でないと判断された場合(ステップS97:Noルート)、工程流れ図階層形成処理部14は、特定工程が展開工程であるか判断する(ステップS103)。上でも述べたように、展開工程については、展開工程に係る範囲の指定がなされるため、当該指定がなされているか否かによって判断する。特定工程が展開工程であると判断された場合(ステップS103:Yesルート)、工程流れ図階層形成処理部14は、追加レコードの工程種類の列に「展開」を登録する(ステップS105)。また、工程流れ図階層形成処理部14は、展開終了(「展開(end)」)についてのレコードを工程順序DB2に追加する(ステップS107)。なお、展開終了の工程階層順序番号は、対応する展開開始の工程階層順序番号と同一の番号とする。その後、ステップS111の処理に移行する。   On the other hand, when it is determined in step S97 that the specific process is not a repetitive process (step S97: No route), the process flowchart diagram formation processing unit 14 determines whether the specific process is a development process (step S103). As described above, since the range related to the development process is designated for the development process, it is determined based on whether or not the designation is made. When it is determined that the specific process is the development process (step S103: Yes route), the process flowchart diagram formation processing unit 14 registers “development” in the process type column of the additional record (step S105). Further, the process flow diagram hierarchy formation processing unit 14 adds a record about the end of development (“end (end)”) to the process order DB 2 (step S107). The process hierarchy sequence number at the end of development is the same number as the corresponding process hierarchy sequence number at the start of development. Thereafter, the process proceeds to step S111.

一方、ステップS103において、特定工程が展開工程でないと判断された場合(ステップS103:Noルート)、工程流れ図階層形成処理部14は、追加レコードの工程種類の列に「演算」を登録する(ステップS109)。その後、ステップS111の処理に移行する。   On the other hand, if it is determined in step S103 that the specific process is not a development process (step S103: No route), the process flow diagram hierarchy formation processing unit 14 registers “calculation” in the process type column of the additional record (step S103). S109). Thereafter, the process proceeds to step S111.

そして、工程流れ図階層形成処理部14は、全ての工程について処理が完了したか判断する(ステップS111)。全ての工程について処理が完了していなければ(ステップS111:Noルート)、端子Fを介してステップS83(図27)の処理に戻る。一方、全ての工程について処理が完了した場合(ステップS111:Yesルート)、工程流れ階層形成処理を終了し、元の処理に戻る。   Then, the process flow diagram hierarchy formation processing unit 14 determines whether or not the process has been completed for all processes (step S111). If the process has not been completed for all the steps (step S111: No route), the process returns to the process of step S83 (FIG. 27) via the terminal F. On the other hand, when the process is completed for all processes (step S111: Yes route), the process flow hierarchy formation process is terminated and the process returns to the original process.

以上のような処理を実施することにより、工程流れ図形式で入力された場合であっても、図2に示したようなデータを工程順序DB2に格納することができる。   By performing the processing as described above, even when the data is input in the process flow chart format, the data as shown in FIG. 2 can be stored in the process order DB 2.

[§2 出力部5の説明]
次に、図1の出力部5について説明する。図36を用いて、工程順序DB2に格納されたデータを出力する際の処理を説明する。まず、作業者は、例えばマウスやキーボード等を操作して、出力形式を選択する。そして、出力部5は、出力形式の選択入力を受け付け(図36:ステップS121)、当該選択入力に係る出力形式が工程順序表形式であるか判断する(ステップS123)。出力形式が工程順序表形式であると判断された場合(ステップS123:Yesルート)、出力部5は、出力形式として工程順序表形式が選択された旨の通知を工程順序表表示処理部51に出力する。そして、当該通知を受信した工程順序表表示処理部51は、工程順序DB2に格納されたデータに基づき、工程順序表形式の表示データを生成し、表示装置等に表示する(ステップS125)。例えば図6に示したような画面が表示される。なお、本実施の形態では、図12に示した規則に従って、省略可能な工程は表示しないように表示データを生成するものとする。但し、工程順序DB2に格納される全ての工程を表示するように表示データを生成してもよい。この場合、省略可能な工程を強調表示するように表示データを生成する場合もある。さらに、工程種類毎又は階層レベル毎に異なる色を付けて表示するように表示データを生成してもよい。その後、工程順序DB2に格納されたデータを出力する処理を終了する。
[§2 Description of output unit 5]
Next, the output unit 5 in FIG. 1 will be described. The process at the time of outputting the data stored in process order DB2 is demonstrated using FIG. First, the operator selects an output format by operating, for example, a mouse or a keyboard. And the output part 5 receives the selection input of an output format (FIG. 36: step S121), and judges whether the output format which concerns on the said selection input is a process order table format (step S123). When it is determined that the output format is the process sequence table format (step S123: Yes route), the output unit 5 notifies the process sequence table display processing unit 51 that the process sequence table format has been selected as the output format. Output. The process sequence table display processing unit 51 that has received the notification generates display data in the process sequence table format based on the data stored in the process sequence DB 2 and displays the display data on the display device or the like (step S125). For example, a screen as shown in FIG. 6 is displayed. In the present embodiment, it is assumed that display data is generated in accordance with the rules shown in FIG. However, display data may be generated so as to display all the processes stored in the process order DB 2. In this case, display data may be generated so as to highlight an optional process. Further, the display data may be generated so that different colors are displayed for each process type or each hierarchical level. Thereafter, the process of outputting the data stored in the process order DB 2 is terminated.

一方、ステップS123において、出力形式が工程順序表形式でないと判断された場合(ステップS123:Noルート)、出力部5は、出力形式が工程設定票形式であるか判断する(ステップS127)。出力形式が工程設定票形式であると判断された場合(ステップS127:Yesルート)、出力部5は、出力形式として工程設定票形式が選択された旨の通知を工程設定票表示処理部52に出力する。当該通知を受信した工程設定票表示処理部52は、作業者から工程階層順序番号の入力を受け付け(ステップS129)、工程順序DB2に格納されたデータに基づき、当該工程階層順序番号に対応する工程について、工程設定票形式の表示データを生成し、表示装置等に表示する(ステップS131)。例えば図7のような画面が表示される。なお、工程階層順序番号でなく、工程記号やその他工程を特定するためのデータの入力を受け付けるようにしてもよい。その後、工程順序DB2に格納されたデータを出力する処理を終了する。   On the other hand, when it is determined in step S123 that the output format is not the process sequence table format (step S123: No route), the output unit 5 determines whether the output format is the process setting form format (step S127). When it is determined that the output format is the process setting form format (step S127: Yes route), the output unit 5 notifies the process setting form display processing unit 52 that the process setting form format has been selected as the output format. Output. The process setting form display processing unit 52 that has received the notification receives an input of the process hierarchy sequence number from the worker (step S129), and the process corresponding to the process hierarchy sequence number based on the data stored in the process order DB2. Is generated and displayed on a display device or the like (step S131). For example, a screen as shown in FIG. 7 is displayed. In addition, you may make it receive the input of the data for specifying a process symbol and other processes instead of a process hierarchy sequence number. Thereafter, the process of outputting the data stored in the process order DB 2 is terminated.

一方、ステップS127において、出力形式が工程設定票形式でないと判断された場合(ステップS127:Noルート)、出力部5は、出力形式が工程構造図形式であるか判断する(ステップS133)。出力形式が工程構造図形式であると判断された場合(ステップS133:Yesルート)、出力部5は、出力形式として工程構造図形式が選択された旨の通知を工程構造図表示処理部53に出力する。そして、当該通知を受信した工程構造図表示処理部53は、工程順序DB2に格納されたデータに基づき、工程構造図形式の表示データを生成し、表示装置等に表示する(ステップS135)。例えば図8に示したような画面が表示される。なお、工程種類毎又は階層レベル毎に異なる色を付けて表示するように表示データを生成してもよい。その後、工程順序DB2に格納されたデータを出力する処理を終了する。   On the other hand, when it is determined in step S127 that the output format is not the process setting form format (step S127: No route), the output unit 5 determines whether the output format is the process structure diagram format (step S133). When it is determined that the output format is the process structure diagram format (step S133: Yes route), the output unit 5 notifies the process structure diagram display processing unit 53 that the process structure diagram format has been selected as the output format. Output. The process structure diagram display processing unit 53 that has received the notification generates process structure diagram format display data based on the data stored in the process order DB 2 and displays the display data on the display device or the like (step S135). For example, a screen as shown in FIG. 8 is displayed. Note that the display data may be generated so that a different color is displayed for each process type or each hierarchical level. Thereafter, the process of outputting the data stored in the process order DB 2 is terminated.

一方、ステップS133において、出力形式が工程構造図形式でないと判断された場合(ステップS133:Noルート)、すなわち、出力形式が工程流れ図形式の場合には、出力部5は、出力形式として工程流れ図形式が選択された旨の通知を工程流れ図表示処理部54に出力する。そして、当該通知を受信した工程流れ図表示処理部54は、工程流れ図形式の表示データを生成し、表示装置等に表示する(ステップS137)。例えば図9に示したような画面が表示される。なお、工程種類毎又は階層レベル毎に異なる色を付けて表示するように表示データを生成してもよい。その後、工程順序DB2に格納されたデータを出力する処理を終了する。   On the other hand, when it is determined in step S133 that the output format is not the process structure diagram format (step S133: No route), that is, when the output format is the process flowchart format, the output unit 5 outputs the process flowchart as the output format. A notification that the format has been selected is output to the process flowchart display processing unit 54. The process flowchart display processing unit 54 that has received the notification generates display data in the process flowchart format and displays it on the display device or the like (step S137). For example, a screen as shown in FIG. 9 is displayed. Note that the display data may be generated so that a different color is displayed for each process type or each hierarchical level. Thereafter, the process of outputting the data stored in the process order DB 2 is terminated.

以上のような処理を実施することにより、作業者は、自分の思考方法に適した形態で工程分析を行うことができるようになる。   By performing the processing as described above, the worker can perform process analysis in a form suitable for his / her own thinking method.

[§3 プログラム生成部6の説明]
次に、図37乃至図39を用いて、業務プログラム生成処理について説明する。業務プログラム生成処理では、工程順序DB2、工程項目DB3、実行命令DB4、案内MSG格納部8及び検査MSG格納部9に格納されたデータに基づき、業務プログラムを生成し、プログラム格納部7に格納する。具体的には、まず、作業者は、例えばマウスやキーボード等を操作して、業務プログラムの生成を指示する。なお、工程順序DB2、工程項目DB3及び実行命令DB4には、図2、図3及び図4で示したデータがそれぞれ格納されているものとする。プログラム生成部6は、業務プログラムの生成の指示を受け付ける(図37:ステップS141)。そして、プログラム生成部6は、空のプログラムファイルを生成し、プログラム格納部7に格納する(ステップS143)。また、プログラム生成部6は、「開始」及び「終了」に係る工程に対応する命令をプログラムファイルに出力する。これらの命令は予め決められており、本実施の形態では、「APPLICATION {」(開始)及び「}」(終了)であるものとする。
[§3 Description of program generator 6]
Next, business program generation processing will be described with reference to FIGS. In the business program generation process, a business program is generated based on data stored in the process order DB 2, the process item DB 3, the execution command DB 4, the guidance MSG storage unit 8, and the inspection MSG storage unit 9, and stored in the program storage unit 7. . Specifically, first, the operator operates a mouse, a keyboard, or the like to instruct generation of a business program. It is assumed that the data shown in FIGS. 2, 3 and 4 are stored in the process order DB2, the process item DB3, and the execution instruction DB4, respectively. The program generation unit 6 receives an instruction to generate a business program (FIG. 37: step S141). Then, the program generation unit 6 generates an empty program file and stores it in the program storage unit 7 (step S143). Further, the program generation unit 6 outputs instructions corresponding to the processes related to “start” and “end” to the program file. These instructions are determined in advance, and in this embodiment, “APPLICATION {” (start) and “}” (end) are assumed.

また、プログラム生成部6は、工程項目DB3の変数名の列と型の列とに登録されているデータに基づき、ヘッダファイルを生成する(ステップS145)。そして、プログラム生成部6は、生成したヘッダファイルをインクルードするための命令(例えば、C言語における#include)をプログラムファイルに出力する(ステップS147)。   Further, the program generation unit 6 generates a header file based on the data registered in the variable name column and the type column of the process item DB 3 (step S145). Then, the program generation unit 6 outputs a command (for example, #include in C language) for including the generated header file to the program file (step S147).

そして、プログラム生成部6は、工程順序DB2から未処理のレコードを1つ読み出す(ステップS149)。また、プログラム生成部6は、読み出したレコードに係る工程が、「展開(start)」(展開開始)であるか判断する(ステップS151)。読み出したレコードに係る工程が展開開始であると判断された場合(ステップS151:Yesルート)、プログラム生成部6は、工程順序DB2の機能の列に登録されている内容(左括弧を除いた内容)をコメントとしてプログラムファイルに出力し、さらに左括弧をプログラムファイルに出力する(ステップS153)。例えば、図2において、工程記号「P11{」のレコードが読み出された場合には、「/* ベース生成 */ { // 1」をプログラムファイルに出力する。なお、本実施の形態では、工程階層順序番号をコメントとして出力するものとする。そして、端子Gを介してステップS169(図38)の処理に移行する。   Then, the program generation unit 6 reads one unprocessed record from the process order DB 2 (Step S149). Further, the program generating unit 6 determines whether the process related to the read record is “development (start)” (development start) (step S151). When it is determined that the process related to the read record is the start of development (step S151: Yes route), the program generation unit 6 registers the contents registered in the function column of the process order DB 2 (the contents excluding the left parenthesis). ) Is output as a comment to the program file, and the left parenthesis is output to the program file (step S153). For example, in FIG. 2, when the record of the process symbol “P11 {” is read, “/ * base generation * / {// 1” is output to the program file. In the present embodiment, the process hierarchy order number is output as a comment. And it transfers to the process of step S169 (FIG. 38) via the terminal G. FIG.

一方、ステップS151において、読み出したレコードに係る工程が展開開始でないと判断された場合(ステップS151:Noルート)、プログラム生成部6は、読み出したレコードに係る工程が「分岐(start)」(分岐開始)であるか判断する(ステップS155)。読み出したレコードに係る工程が分岐開始であると判断された場合(ステップS155:Yesルート)、工程順序DB2の機能の列に登録されている内容(すなわち、分岐条件及び左括弧)をプログラムファイルに出力する(ステップS157)。例えば、図2において、工程記号「B14{」のレコードが読み出された場合には、「if (Type == "円柱") { // 2.2」をプログラムファイルに出力する。そして、端子Gを介してステップS169(図38)の処理に移行する。   On the other hand, when it is determined in step S151 that the process related to the read record is not the start of expansion (step S151: No route), the program generating unit 6 determines that the process related to the read record is “start” (branch It is determined whether it is (start) (step S155). When it is determined that the process related to the read record is a branch start (step S155: Yes route), the contents registered in the function column of the process order DB 2 (that is, the branch condition and the left parenthesis) are stored in the program file. Output (step S157). For example, in FIG. 2, when the record of the process symbol “B14 {” is read, “if (Type ==“ cylinder ”) {//2.2” is output to the program file. And it transfers to the process of step S169 (FIG. 38) via the terminal G. FIG.

一方、ステップS155において、読み出したレコードに係る工程が分岐開始でないと判断された場合(ステップS155:Noルート)、端子Hを介してステップS159(図38)の処理に移行する。   On the other hand, if it is determined in step S155 that the process related to the read record is not the start of branching (step S155: No route), the process proceeds to step S159 (FIG. 38) via the terminal H.

図38の説明に移行して、端子Hの後、プログラム生成部6は、読み出したレコードに係る工程が「繰返(repeat)」(繰返開始)であるか判断する(図38:ステップS159)。読み出したレコードに係る工程が繰返開始であると判断された場合(ステップS159:Yesルート)、プログラム生成部6は、繰返命令、繰返条件及び左括弧をプログラムファイルに出力する(ステップS161)。なお、繰返命令は、例えばfor文やwhile文などである。   38, after the terminal H, the program generation unit 6 determines whether the process related to the read record is “repeat” (repeat start) (FIG. 38: step S159). ). When it is determined that the process related to the read record is a repetition start (step S159: Yes route), the program generation unit 6 outputs a repetition instruction, a repetition condition, and a left parenthesis to the program file (step S161). ). Note that the repeat instruction is, for example, a for statement or a while statement.

一方、ステップS159において、読み出したレコードに係る工程が繰返開始でないと判断された場合(ステップS159:Noルート)、プログラム生成部6は、読み出したレコードに係る工程が「入力」又は「演算」であるか判断する(ステップS163)。読み出したレコードに係る工程が「入力」又は「演算」であると判断された場合(ステップS163:Yesルート)、プログラム生成部6は、当該レコードに係る工程に対応する実行命令を実行命令DB4から取得し、プログラムファイルに出力する(ステップS165)。例えば、図2において、工程記号「O14」のレコードが読み出された場合には、実行命令DB4から「突起生成案内出力("Type")」及び「突起生成案内入力("Type")」を取得し、「突起生成案内出力("Type"); // 2.1」及び「突起生成案内入力("Type");」をプログラムファイルに出力する。   On the other hand, when it is determined in step S159 that the process related to the read record is not the start of repetition (step S159: No route), the program generation unit 6 determines that the process related to the read record is “input” or “calculation”. Is determined (step S163). When it is determined that the process related to the read record is “input” or “calculation” (step S163: Yes route), the program generation unit 6 sends an execution instruction corresponding to the process related to the record from the execution instruction DB4. Obtain and output to the program file (step S165). For example, in FIG. 2, when the record of the process symbol “O14” is read, “projection generation guidance output (“ Type ”)” and “projection generation guidance input (“ Type ”)” are input from the execution command DB4. Acquire and output “projection generation guidance output (“ Type ”); //2.1” and “projection generation guidance input (“ Type ”);” to the program file.

一方、ステップS163において、読み出したレコードに係る工程が「入力」及び「演算」のいずれでもないと判断された場合(ステップS163:Noルート)、すなわち、読み出したレコードに係る工程が「展開(end)」(展開終了)、「分岐(end if、end else)」(分岐終了)又は「繰返(end repeat)」(繰返終了)であると判断された場合には、プログラム生成部6は、右括弧をプログラムファイルに出力する(ステップS167)。   On the other hand, when it is determined in step S163 that the process related to the read record is neither “input” nor “calculation” (step S163: No route), that is, the process related to the read record is “develop (end (end)”. ) ”(End end, end else) (branch end) or“ end repeat ”(end repeat), the program generator 6 The right parenthesis is output to the program file (step S167).

そして、プログラム生成部6は、工程順序DB2内の全てのレコードについて処理が完了したか判断する(ステップS169)。全てのレコードについて処理が完了していなければ(ステップS169:Noルート)、端子Iを介してステップS149(図37)の処理に戻る。一方、全てのレコードについて処理が完了した場合(ステップS169:Yesルート)、業務プログラム生成処理を終了する。例えば、図2に示したようなデータが工程順序DB2に格納されている場合には、図39に示すような業務プログラムが生成される。   Then, the program generation unit 6 determines whether the processing has been completed for all the records in the process order DB 2 (Step S169). If the processing has not been completed for all the records (step S169: No route), the processing returns to the processing of step S149 (FIG. 37) via the terminal I. On the other hand, when the processing is completed for all the records (step S169: Yes route), the business program generation processing ends. For example, when data as shown in FIG. 2 is stored in the process order DB 2, a business program as shown in FIG. 39 is generated.

以上のような処理を実施することにより、業務プログラムを自動生成することができるため、工程の順序や階層構造に変更が生じた場合であっても、業務プログラムを手直しする必要はない。すなわち、業務プログラムの保守が容易となる。   By executing the processing as described above, the business program can be automatically generated. Therefore, even when the process order or the hierarchical structure is changed, it is not necessary to rework the business program. That is, maintenance of the business program becomes easy.

[§4 付言]
以上本発明の一実施の形態について説明したが、本発明はこれに限定されるものではない。例えば、図1に示した機能ブロック図は、一例であって、必ずしも実際の構成と合致しない場合もある。
[§4 Appendix]
Although one embodiment of the present invention has been described above, the present invention is not limited to this. For example, the functional block diagram shown in FIG. 1 is an example, and may not necessarily match the actual configuration.

また、上で説明したデータベースの構成は一例であって、図40に示すようなデータを工程順序DB2に格納することも可能である。図40の例では、工程順序DB2は、メイン・データ格納部4001とモジュール・データ格納部4002とに分かれており、工程種類に「外部展開」を設定することで、「外部展開」に係る工程をひとかたまりのモジュールにすることができるようになっている。この場合、工程順序表形式の入力画面は、例えば図41に示すような入力画面となる。図41の例では、工程順序表形式の入力画面には、メイン・データ入力欄4101とモジュール・データ入力欄4102と登録ボタン4103とが設けられている。   Moreover, the structure of the database demonstrated above is an example, Comprising: Data as shown in FIG. 40 can also be stored in process order DB2. In the example of FIG. 40, the process order DB 2 is divided into a main data storage unit 4001 and a module data storage unit 4002, and by setting “external expansion” as the process type, the process related to “external expansion” Can be made into a single module. In this case, the input screen in the process sequence table format is an input screen as shown in FIG. 41, for example. In the example of FIG. 41, a main data input field 4101, a module data input field 4102, and a registration button 4103 are provided on the process sequence table format input screen.

例えば、ある工程をモジュール化して入力したい場合には、作業者は、メイン・データ入力欄4101において、当該工程を実施する位置に当該工程のデータを1行入力して、工程種類に「外部展開」を設定し、さらにモジュール・データ入力欄4102において、当該工程の詳細を入力する。そして、入力が完了したら登録ボタン4103をクリックすればよい。なお、図41に示したようなデータの入力を受け付けた工程順序表階層形成処理部11は、上で説明した工程順序標階層形成処理を実施すればよい。例えば、ステップS31乃至ステップS35の処理を実施すると、工程順序DB2には図42に示すようなデータが格納される。また、ステップS37の処理を実施すると、各工程の階層レベルは、図43における階層レベル4301のようになる。なお、「外部展開」は、「展開(start)」と同じ扱いとする。そして、メイン・データ格納部4001を対象にステップS39の処理を実施すると、図43乃至図45のように工程階層順序番号が付与される。その後、モジュール・データ格納部4002についても工程階層順序番号を付与することで、図40に示したようなデータを工程順序DB2に格納することができる。なお、工程構造図形式及び工程流れ図形式の入力画面は、図8及び図9に示した入力画面と基本的には同一であるが、「外部展開」に係る工程については作業者が指定するものとする。例えば、工程構造図形式による入力の際には、分岐条件や入力条件を入力する操作と同様の操作で外部展開を指定し、図46に示すように「外部展開」に係る工程であることが分かるように表示するものとする。また、例えば、工程流れ図形式による入力の際には、展開工程の範囲を指定する操作と同様の操作で外部展開の範囲を指定し、図47に示すように、展開工程と区別可能な態様で表示する。図47の例では、点線4701、点線4702及び点線4703は外部展開の範囲を表し、点線4704は展開工程の範囲を表している。なお、図46又は図47に示したようなデータの入力を受け付けた工程構造図階層形成処理部13又は工程流れ図階層形成処理部14は、上で説明した工程構造図階層形成処理又は工程流れ図階層形成処理において、工程種類及び工程階層順序番号に従って、外部展開の下位の工程のデータをモジュール・データ格納部4002に格納するようにすれば、図40に示したようなデータを工程順序DB2に格納することができる。   For example, when a certain process is to be modularized and input, the operator inputs one line of data of the process in the main data input column 4101 at the position where the process is performed, and sets “External expansion” as the process type. And the details of the process are input in the module / data input field 4102. When the input is completed, a registration button 4103 may be clicked. Note that the process sequence table hierarchy formation processing unit 11 that has received the input of data as shown in FIG. 41 may perform the process sequence mark hierarchy formation process described above. For example, when the processing from step S31 to step S35 is performed, data as shown in FIG. 42 is stored in the process order DB2. Further, when the process of step S37 is performed, the hierarchical level of each process becomes the hierarchical level 4301 in FIG. Note that “external expansion” is treated the same as “expansion (start)”. Then, when the process of step S39 is performed on the main data storage unit 4001, process hierarchy sequence numbers are given as shown in FIGS. Thereafter, by assigning a process hierarchy order number to the module / data storage unit 4002 as well, data as shown in FIG. 40 can be stored in the process order DB 2. The process structure diagram format and process flow diagram format input screens are basically the same as the input screens shown in FIGS. 8 and 9, but the operator specifies the steps related to “external expansion”. And For example, when inputting in the process structure diagram format, the external expansion is designated by the same operation as the operation for inputting the branch condition and the input condition, and the process is related to “external expansion” as shown in FIG. It shall be displayed so that it can be understood. Also, for example, when inputting in the process flow chart format, the external expansion range is designated by the same operation as the operation for designating the expansion process range, and as shown in FIG. indicate. In the example of FIG. 47, a dotted line 4701, a dotted line 4702, and a dotted line 4703 represent a range of external development, and a dotted line 4704 represents a range of a development process. The process structure diagram hierarchy formation processing unit 13 or the process flow diagram hierarchy formation processing unit 14 that has received the data input as shown in FIG. 46 or FIG. 47 is the process structure diagram hierarchy formation process or process flow diagram hierarchy described above. In the formation process, if the data of the lower process of the external expansion is stored in the module data storage unit 4002 in accordance with the process type and the process hierarchy sequence number, the data as shown in FIG. 40 is stored in the process order DB2. can do.

また、本実施の形態では、C言語の文法に倣った形式で工程階層順序番号を付与しているが、例えばFORTRAN等の他の言語の文法に倣った形式で付与することも可能である。考え方は基本的には同じであり、例えばシステムの環境等により、どの形式を採用するか決定すればよい。   In the present embodiment, the process hierarchy sequence numbers are assigned in a format that follows the C language grammar, but may be assigned in a format that follows the grammar of another language such as FORTRAN. The way of thinking is basically the same. For example, it may be determined which format is to be adopted depending on the system environment.

なお、図1に示したシステムは、図48のようなコンピュータ装置であって、メモリ2501(記憶装置)とCPU2503(処理装置)とハードディスク・ドライブ(HDD)2505と表示装置2509に接続される表示制御部2507とリムーバブル・ディスク2511用のドライブ装置2513と入力装置2515とネットワークに接続するための通信制御部2517とがバス2519で接続されている。オペレーティング・システム(OS:Operating System)及び本実施の形態における処理を実施するためのアプリケーション・プログラムは、HDD2505に格納されており、CPU2503により実行される際にはHDD2505からメモリ2501に読み出される。必要に応じてCPU2503は、表示制御部2507、通信制御部2517、ドライブ装置2513を制御して、必要な動作を行わせる。また、処理途中のデータについては、メモリ2501に格納され、必要があればHDD2505に格納される。本発明の実施の形態では、上で述べた処理を実施するためのアプリケーション・プログラムはリムーバブル・ディスク2511に格納されて頒布され、ドライブ装置2513からHDD2505にインストールされる。インターネットなどのネットワーク及び通信制御部2517を経由して、HDD2505にインストールされる場合もある。このようなコンピュータ装置は、上で述べたCPU2503、メモリ2501などのハードウエアとOS及び必要なアプリケーション・プログラムとが有機的に協働することにより、上で述べたような各種機能を実現する。   The system shown in FIG. 1 is a computer device as shown in FIG. 48, and a display connected to a memory 2501 (storage device), a CPU 2503 (processing device), a hard disk drive (HDD) 2505, and a display device 2509. A control unit 2507, a drive device 2513 for a removable disk 2511, an input device 2515, and a communication control unit 2517 for connecting to a network are connected by a bus 2519. An operating system (OS: Operating System) and an application program for performing processing in the present embodiment are stored in the HDD 2505, and are read from the HDD 2505 to the memory 2501 when executed by the CPU 2503. If necessary, the CPU 2503 controls the display control unit 2507, the communication control unit 2517, and the drive device 2513 to perform necessary operations. Further, data in the middle of processing is stored in the memory 2501 and stored in the HDD 2505 if necessary. In the embodiment of the present invention, an application program for performing the processing described above is stored in the removable disk 2511 and distributed, and is installed in the HDD 2505 from the drive device 2513. In some cases, the HDD 2505 may be installed via a network such as the Internet and the communication control unit 2517. Such a computer apparatus realizes various functions as described above by organically cooperating hardware such as the CPU 2503 and the memory 2501 described above, the OS, and necessary application programs.

(付記1)
階層化された複数の作業からなる業務について、作業単位である工程を順序付けて並べた表形式のデータの入力を受け付け、記憶装置に格納する入力受け付けステップと、
各前記工程について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定ステップと、
各前記工程について、当該工程より前に順序付けられた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を前記表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
をコンピュータに実行させるための工程設定支援処理プログラム。
(Appendix 1)
An input receiving step for receiving input of tabular data in which processes that are units of work are ordered and arranged for a work including a plurality of hierarchized work, and storing in a storage device;
For each of the processes, the process type of the process is specified according to a predetermined rule, and stored in the storage device;
For each of the processes, a process hierarchy order number indicating the hierarchy level of the process specified based on the process type related to the process ordered before the process and the order in the hierarchy level is given, and the storage device A process hierarchy sequence numbering step for storing;
From the user, a first display mode for displaying the process in the table format, a second display mode for displaying the process step by step, or a third display for displaying a connection relationship between the processes in a predetermined diagram format. When receiving a process display instruction including designation of an aspect, based on the process hierarchy number, generating display data corresponding to the aspect related to the process display instruction, and presenting to the user,
A process setting support processing program for causing a computer to execute.

(付記2)
階層化された複数の作業からなる業務について、作業単位である工程のデータの入力を順次受け付け、記憶装置に格納する入力受け付けステップと、
前記入力受け付けステップにおいて受け付けた複数の前記工程の各々について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定ステップと、
前記入力受け付けステップにおいて受け付けた複数の前記工程の各々について、当該工程より前に受け付けた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
をコンピュータに実行させるための工程設定支援処理プログラム。
(Appendix 2)
For work consisting of a plurality of hierarchized work, an input receiving step of sequentially receiving input of process data as a work unit and storing it in a storage device;
For each of the plurality of processes received in the input receiving step, specify the process type of the process according to a predetermined rule, and store it in the storage device;
For each of the plurality of processes received in the input receiving step, a hierarchical level of the process specified based on the process type related to the process received before the process, and a process hierarchy order representing the order in the hierarchical level Assigning a number and storing the process hierarchy sequence number in the storage device;
A first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a connection relationship between the processes is displayed in a predetermined diagram format. When receiving a process display instruction including designation of three display modes, a display step of generating display data according to the mode related to the process display instruction based on the process hierarchy number and presenting it to the user;
A process setting support processing program for causing a computer to execute.

(付記3)
階層化された複数の作業からなる業務について、作業単位である工程及び前記工程間の接続関係を表す図形式のデータの入力を受け付け、記憶装置に格納するステップと、
各前記工程について、前記接続関係に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
をコンピュータに実行させるための工程設定支援処理プログラム。
(Appendix 3)
For work consisting of a plurality of hierarchized operations, accepting input of data in a diagram format representing a process that is a unit of work and a connection relationship between the processes, and storing it in a storage device;
For each of the processes, assigning a process hierarchy sequence number representing the hierarchy level of the process specified based on the connection relationship and the order in the hierarchy level, and storing the process hierarchy sequence number in the storage device; and
Including designation of a first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a third display mode in which the processes are displayed in the diagram format When receiving a process display instruction, based on the process hierarchy number, generating display data according to the aspect related to the process display instruction, and presenting to the user,
A process setting support processing program for causing a computer to execute.

(付記4)
各前記工程について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納するステップ
をさらに実行させる付記3記載の工程設定支援処理プログラム。
(Appendix 4)
The process setting support processing program according to supplementary note 3, further comprising: for each of the processes, specifying a process type of the process according to a predetermined rule and storing the process type in the storage device.

(付記5)
前記提示ステップが、
前記工程階層順序番号に基づき、各前記工程を前記階層レベルに応じた色で表示するように前記表示データを生成するステップ
を含む付記1乃至3のいずれか1つ記載の工程設定支援処理プログラム。
(Appendix 5)
The presenting step comprises
The process setting support processing program according to any one of supplementary notes 1 to 3, further comprising: generating the display data so as to display each process in a color corresponding to the hierarchy level based on the process hierarchy sequence number.

(付記6)
前記図形式が、構造図形式又は流れ図形式である
ことを特徴とする付記1乃至付記3のいずれか1つ記載の工程設定支援処理プログラム。
(Appendix 6)
The process setting support processing program according to any one of appendix 1 to appendix 3, wherein the diagram format is a structure diagram format or a flowchart diagram format.

(付記7)
前記工程種類として、データ入力を受け付ける入力工程と、演算処理を行う演算工程と、分岐判断を行う分岐工程と、所定の処理の繰返しを規定する繰返工程と、下位の階層への展開を規定する展開工程とを少なくとも含む
ことを特徴とする付記1、2及び4のいずれか1つ記載の工程設定支援処理プログラム。
(Appendix 7)
As the process types, an input process that accepts data input, an arithmetic process that performs arithmetic processing, a branch process that performs branch determination, a repeating process that specifies repetition of a predetermined process, and expansion to a lower hierarchy are specified. The process setting support processing program according to any one of appendices 1, 2, and 4, wherein:

(付記8)
前記提示ステップが、
各前記工程を前記工程種類に応じた色で表示するように前記表示データを生成するステップ
を含む付記7記載の工程設定支援処理プログラム。
(Appendix 8)
The presenting step comprises
The process setting support processing program according to appendix 7, including the step of generating the display data so as to display each process in a color corresponding to the process type.

(付記9)
前記入力受け付けステップが、
展開工程の指定、並びに入力条件、分岐条件及び繰返し条件の入力を受け付けるステップを含み、
前記所定のルールが、
展開工程の指定がなされた前記工程を前記展開工程と特定し、前記入力条件が対応付けられている前記工程を前記入力工程と特定し、前記分岐条件が対応付けられている前記工程を前記分岐工程と特定し、前記繰返し条件が対応付けられている前記工程を前記繰返工程と特定し、並びに、前記入力工程、前記分岐工程、前記繰返工程及び前記展開工程以外の工程を前記演算工程と特定するルールである
ことを特徴とする付記7記載の工程設定支援処理プログラム。
(Appendix 9)
The input receiving step includes
Including the step of specifying the unfolding process and the input of the input condition, branch condition and repetition condition,
The predetermined rule is:
The process for which the expansion process is designated is identified as the expansion process, the process associated with the input condition is identified as the input process, and the process associated with the branch condition is identified as the branch The process is specified, the process associated with the repetition condition is specified as the repetition process, and a process other than the input process, the branch process, the repetition process, and the expansion process is the calculation process. The process setting support processing program according to appendix 7, characterized in that:

(付記10)
前記工程階層順序番号付与ステップにおいて、前記分岐工程、前記繰返工程及び前記展開工程に基づき、各前記工程の前記階層レベルが特定される
ことを特徴とする付記7記載の工程設定支援処理プログラム。
(Appendix 10)
The process setting support processing program according to appendix 7, wherein, in the process hierarchy sequence number assigning step, the hierarchy level of each of the processes is specified based on the branching process, the repeating process, and the expanding process.

(付記11)
階層化された複数の作業からなる業務についての業務プログラムを生成するための処理をコンピュータに実行させるためのプログラムであって、
作業単位である工程の工程種類と前記工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号と前記工程に関する所定のデータとを含むレコードを格納している工程順序データベースから前記レコードを順次読み出す読出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、予め定められた所定の種類に係る工程である場合、前記所定の種類に係る工程に対応する実行命令を前記所定の種類に係る工程毎に格納している実行命令データベースから、当該レコードに係る前記工程に対応する前記実行命令を抽出する実行命令抽出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、前記所定の種類に係る工程以外の工程である場合、当該レコードに含まれる前記工程種類及び前記所定のデータに基づき、当該レコードに係る前記工程に対応する前記実行命令を特定する実行命令特定ステップと、
前記読出ステップにおいて読み出された複数の前記レコードの各々について、当該レコードに含まれる前記工程階層順序番号に従って、前記実行命令抽出ステップにおいて抽出された前記実行命令又は前記実行命令特定ステップにおいて特定された前記実行命令を所定のファイルに出力することにより、前記業務プログラムを生成するプログラム生成ステップと、
をコンピュータに実行させるための業務プログラム生成処理プログラム。
(Appendix 11)
A program for causing a computer to execute a process for generating a business program for a business composed of a plurality of hierarchized tasks,
The record from the process order database storing a record including a process type, a process hierarchy level of the process, a process hierarchy sequence number indicating the order in the hierarchy level, and predetermined data relating to the process. A reading step for sequentially reading;
When the process related to the record read in the reading step is a process related to a predetermined type, a process related to the predetermined type is executed as an execution instruction corresponding to the process related to the predetermined type. An execution instruction extraction step for extracting the execution instruction corresponding to the process related to the record from the execution instruction database stored for each;
When the process related to the record read in the reading step is a process other than the process related to the predetermined type, the process relates to the record based on the process type and the predetermined data included in the record. An execution instruction specifying step for specifying the execution instruction corresponding to the process;
Each of the plurality of records read in the reading step is specified in the execution instruction extracted in the execution instruction extraction step or in the execution instruction specifying step according to the process hierarchy sequence number included in the record A program generation step of generating the business program by outputting the execution instruction to a predetermined file;
A business program generation processing program for causing a computer to execute.

(付記12)
前記工程種類として、データ入力を受け付ける入力工程と、演算処理を行う演算工程と、分岐判断を行う分岐工程と、所定の処理の繰返しを規定する繰返工程と、下位の階層への展開を規定する展開工程とを少なくとも含み、
前記予め定められた所定の種類が、前記入力工程及び前記演算工程である
ことを特徴とする付記11記載の業務プログラム生成処理プログラム。
(Appendix 12)
As the process types, an input process that accepts data input, an arithmetic process that performs arithmetic processing, a branch process that performs branch determination, a repeating process that specifies repetition of a predetermined process, and expansion to a lower hierarchy are specified. At least a deployment step to
The business program generation processing program according to claim 11, wherein the predetermined types are the input step and the calculation step.

(付記13)
前記プログラム生成ステップにおいて、
少なくとも前記実行命令において用いられる変数の名称と当該変数の型とを前記変数毎に格納している項目データベースに格納されている前記変数の型を前記業務プログラム内で用いるように前記業務プログラムを生成する
ことを特徴とする付記11記載の業務プログラム生成処理プログラム。
(Appendix 13)
In the program generation step,
The business program is generated so that at least the name of a variable used in the execution instruction and the type of the variable are stored in the item database storing each variable, and the type of the variable is used in the business program. A business program generation processing program according to appendix 11, characterized in that:

(付記14)
階層化された複数の作業からなる業務について、作業単位である工程を順序付けて並べた表形式のデータの入力を受け付け、記憶装置に格納する入力受け付けステップと、
各前記工程について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定ステップと、
各前記工程について、当該工程より前に順序付けられた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を前記表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
を含み、コンピュータにより実行される工程設定支援処理方法。
(Appendix 14)
An input receiving step for receiving input of tabular data in which processes that are units of work are ordered and arranged for a work including a plurality of hierarchized work, and storing in a storage device;
For each of the processes, the process type of the process is specified according to a predetermined rule, and stored in the storage device;
For each of the processes, a process hierarchy order number indicating the hierarchy level of the process specified based on the process type related to the process ordered before the process and the order in the hierarchy level is given, and the storage device A process hierarchy sequence numbering step for storing;
From the user, a first display mode for displaying the process in the table format, a second display mode for displaying the process step by step, or a third display for displaying a connection relationship between the processes in a predetermined diagram format. When receiving a process display instruction including designation of an aspect, based on the process hierarchy number, generating display data corresponding to the aspect related to the process display instruction, and presenting to the user,
A process setting support processing method executed by a computer.

(付記15)
階層化された複数の作業からなる業務について、作業単位である工程のデータの入力を順次受け付け、記憶装置に格納する入力受け付けステップと、
前記入力受け付けステップにおいて受け付けた複数の前記工程の各々について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定ステップと、
前記入力受け付けステップにおいて受け付けた複数の前記工程の各々について、当該工程より前に受け付けた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
を含み、コンピュータにより実行される工程設定支援処理方法。
(Appendix 15)
For work consisting of a plurality of hierarchized work, an input receiving step of sequentially receiving input of process data as a work unit and storing it in a storage device;
For each of the plurality of processes received in the input receiving step, specify the process type of the process according to a predetermined rule, and store it in the storage device;
For each of the plurality of processes received in the input receiving step, a hierarchical level of the process specified based on the process type related to the process received before the process, and a process hierarchy order representing the order in the hierarchical level Assigning a number and storing the process hierarchy sequence number in the storage device;
A first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a connection relationship between the processes is displayed in a predetermined diagram format. When receiving a process display instruction including designation of three display modes, a display step of generating display data according to the mode related to the process display instruction based on the process hierarchy number and presenting it to the user;
A process setting support processing method executed by a computer.

(付記16)
階層化された複数の作業からなる業務について、作業単位である工程及び前記工程間の接続関係を表す図形式のデータの入力を受け付け、記憶装置に格納するステップと、
各前記工程について、前記接続関係に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与ステップと、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示ステップと、
を含み、コンピュータにより実行される工程設定支援処理方法。
(Appendix 16)
For work consisting of a plurality of hierarchized operations, accepting input of data in a diagram format representing a process that is a unit of work and a connection relationship between the processes, and storing it in a storage device;
For each of the processes, assigning a process hierarchy sequence number representing the hierarchy level of the process specified based on the connection relationship and the order in the hierarchy level, and storing the process hierarchy sequence number in the storage device; and
Including designation of a first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a third display mode in which the processes are displayed in the diagram format When receiving a process display instruction, based on the process hierarchy number, generating display data according to the aspect related to the process display instruction, and presenting to the user,
A process setting support processing method executed by a computer.

(付記17)
階層化された複数の作業からなる業務についての業務プログラムを生成する方法であって、
作業単位である工程の工程種類と前記工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号と前記工程に関する所定のデータとを含むレコードを格納している工程順序データベースから前記レコードを順次読み出す読出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、予め定められた所定の種類に係る工程である場合、前記所定の種類に係る工程に対応する実行命令を前記所定の種類に係る工程毎に格納している実行命令データベースから、当該レコードに係る前記工程に対応する前記実行命令を抽出する実行命令抽出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、前記所定の種類に係る工程以外の工程である場合、当該レコードに含まれる前記工程種類及び前記所定のデータに基づき、当該レコードに係る前記工程に対応する前記実行命令を特定する実行命令特定ステップと、
前記読出ステップにおいて読み出された複数の前記レコードの各々について、当該レコードに含まれる前記工程階層順序番号に従って、前記実行命令抽出ステップにおいて抽出された前記実行命令又は前記実行命令特定ステップにおいて特定された前記実行命令を所定のファイルに出力することにより、前記業務プログラムを生成するプログラム生成ステップと、
を含み、コンピュータにより実行される業務プログラム生成処理方法。
(Appendix 17)
A method for generating a business program for a business consisting of a plurality of hierarchical work,
The record from the process order database storing a record including a process type, a process hierarchy level of the process, a process hierarchy sequence number indicating the order in the hierarchy level, and predetermined data relating to the process. A reading step for sequentially reading;
When the process related to the record read in the reading step is a process related to a predetermined type, a process related to the predetermined type is executed as an execution instruction corresponding to the process related to the predetermined type. An execution instruction extraction step for extracting the execution instruction corresponding to the process related to the record from the execution instruction database stored for each;
When the process related to the record read in the reading step is a process other than the process related to the predetermined type, the process relates to the record based on the process type and the predetermined data included in the record. An execution instruction specifying step for specifying the execution instruction corresponding to the process;
Each of the plurality of records read in the reading step is specified in the execution instruction extracted in the execution instruction extraction step or in the execution instruction specifying step according to the process hierarchy sequence number included in the record A program generation step of generating the business program by outputting the execution instruction to a predetermined file;
A business program generation processing method executed by a computer.

(付記18)
階層化された複数の作業からなる業務について、作業単位である工程を順序付けて並べた表形式のデータの入力を受け付け、記憶装置に格納する入力受け付け手段と、
各前記工程について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定手段と、
各前記工程について、当該工程より前に順序付けられた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与手段と、
ユーザから、前記工程を前記表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示手段と、
を有する工程設定支援処理装置。
(Appendix 18)
For work consisting of a plurality of hierarchized work, input accepting means for accepting input of tabular data in which processes as work units are arranged in order and stored in a storage device;
For each of the processes, the process type of the process is specified according to a predetermined rule and stored in the storage device;
For each of the processes, a process hierarchy order number indicating the hierarchy level of the process specified based on the process type related to the process ordered before the process and the order in the hierarchy level is given, and the storage device A process hierarchy sequence number assigning means for storing;
From the user, a first display mode for displaying the process in the table format, a second display mode for displaying the process step by step, or a third display for displaying a connection relationship between the processes in a predetermined diagram format. When receiving a process display instruction including designation of an aspect, based on the process hierarchy number, the display data corresponding to the aspect related to the process display instruction is generated and presented to the user;
A process setting support processing apparatus.

(付記19)
階層化された複数の作業からなる業務について、作業単位である工程のデータの入力を順次受け付け、記憶装置に格納する入力受け付け手段と、
前記入力受け付け手段において受け付けた複数の前記工程の各々について、所定のルールに従って当該工程の工程種類を特定し、前記記憶装置に格納する工程種類特定手段と、
前記入力受け付け手段において受け付けた複数の前記工程の各々について、当該工程より前に受け付けた工程に係る前記工程種類に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与手段と、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記工程間の接続関係を所定の図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示手段と、
を有する工程設定支援処理装置。
(Appendix 19)
For work consisting of a plurality of hierarchized works, input accepting means for sequentially accepting input of process data as work units and storing it in a storage device;
For each of the plurality of processes received by the input receiving means, a process type specifying means for specifying the process type of the process according to a predetermined rule and storing it in the storage device;
For each of the plurality of processes received by the input receiving means, a process hierarchy order indicating the hierarchy level of the process specified based on the process type related to the process received before the process and the order within the hierarchy level A process hierarchy sequence number assigning means for assigning a number and storing it in the storage device;
A first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a connection relationship between the processes is displayed in a predetermined diagram format. When receiving a process display instruction including designation of a display mode of 3, based on the process hierarchy number, generating display data according to the aspect related to the process display instruction, and presenting means for presenting to the user,
A process setting support processing apparatus.

(付記20)
階層化された複数の作業からなる業務について、作業単位である工程及び前記工程間の接続関係を表す図形式のデータの入力を受け付け、記憶装置に格納する手段と、
各前記工程について、前記接続関係に基づき特定される当該工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号を付与し、前記記憶装置に格納する工程階層順序番号付与手段と、
ユーザから、前記工程を順序付けて並べた表形式で表示する第1の表示態様、前記工程を1工程ずつ表示する第2の表示態様又は前記図形式で表示する第3の表示態様の指定を含む工程表示指示を受け付けた場合、前記工程階層番号に基づき、前記工程表示指示に係る態様に応じた表示データを生成し、前記ユーザに提示する提示手段と、
を有する工程設定支援処理装置。
(Appendix 20)
For work consisting of a plurality of hierarchized work, means for accepting input of data in a diagram format representing a process as a unit of work and a connection relationship between the processes, and storing it in a storage device;
For each of the processes, a process hierarchy sequence number assigning unit that assigns a process hierarchy sequence number indicating a hierarchy level of the process specified based on the connection relationship and an order in the hierarchy level, and stores the process hierarchy sequence number in the storage device;
Including designation of a first display mode in which the processes are displayed in a tabular format in which the processes are arranged in order, a second display mode in which the processes are displayed one by one, or a third display mode in which the processes are displayed in the diagram format When receiving a process display instruction, based on the process hierarchy number, generating display data according to the aspect related to the process display instruction, and presenting means for presenting to the user,
A process setting support processing apparatus.

(付記21)
階層化された複数の作業からなる業務についての業務プログラムを生成する装置であって、
作業単位である工程の工程種類と前記工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号と前記工程に関する所定のデータとを含むレコードを格納している工程順序データベースから前記レコードを順次読み出す読出手段と、
前記読出手段において読み出された前記レコードに係る前記工程が、予め定められた所定の種類に係る工程である場合、前記所定の種類に係る工程に対応する実行命令を前記所定の種類に係る工程毎に格納している実行命令データベースから、当該レコードに係る前記工程に対応する前記実行命令を抽出する実行命令抽出手段と、
前記読出手段において読み出された前記レコードに係る前記工程が、前記所定の種類に係る工程以外の工程である場合、当該レコードに含まれる前記工程種類及び前記所定のデータに基づき、当該レコードに係る前記工程に対応する前記実行命令を特定する実行命令特定手段と、
前記読出手段において読み出された複数の前記レコードの各々について、当該レコードに含まれる前記工程階層順序番号に従って、前記実行命令抽出手段において抽出された前記実行命令又は前記実行命令特定手段において特定された前記実行命令を所定のファイルに出力することにより、前記業務プログラムを生成するプログラム生成手段と、
を有する業務プログラム生成処理装置。
(Appendix 21)
A device for generating a business program for a business consisting of a plurality of hierarchized work,
The record from the process order database storing a record including a process type, a process hierarchy level of the process, a process hierarchy sequence number indicating the order in the hierarchy level, and predetermined data relating to the process. Reading means for sequentially reading;
When the process related to the record read by the reading means is a process related to a predetermined type, a process related to the predetermined type is executed as an execution instruction corresponding to the process related to the predetermined type. Execution instruction extraction means for extracting the execution instruction corresponding to the process related to the record from the execution instruction database stored for each;
When the process related to the record read by the reading means is a process other than the process related to the predetermined type, the process relates to the record based on the process type and the predetermined data included in the record. Execution instruction specifying means for specifying the execution instruction corresponding to the step;
Each of the plurality of records read by the reading means is specified by the execution instruction extracted by the execution instruction extraction means or the execution instruction specifying means according to the process hierarchy sequence number included in the record. Program generation means for generating the business program by outputting the execution instruction to a predetermined file;
A business program generation processing apparatus.

1 入力部 2 工程順序DB
3 工程項目DB 4 実行命令DB
5 出力部 6 プログラム生成部
7 プログラム格納部 8 案内MSG格納部
9 検査MSG格納部
11 工程順序表階層形成処理部 12 工程設定票階層形成処理部
13 工程構造図階層形成処理部 14 工程流れ図階層形成処理部
51 工程順序表表示処理部 52 工程設定票表示処理部
53 工程構造図表示処理部 54 工程流れ図表示処理部
1 Input unit 2 Process order DB
3 Process item DB 4 Execution instruction DB
DESCRIPTION OF SYMBOLS 5 Output part 6 Program generation part 7 Program storage part 8 Guidance MSG storage part 9 Inspection MSG storage part 11 Process sequence table hierarchy formation process part 12 Process setting form hierarchy formation process part 13 Process structure figure hierarchy formation process part 14 Process flow figure hierarchy formation Processing unit 51 Process sequence table display processing unit 52 Process setting form display processing unit 53 Process structure diagram display processing unit 54 Process flow diagram display processing unit

Claims (2)

階層化された複数の作業からなる業務についての業務プログラムを生成するための処理をコンピュータに実行させるためのプログラムであって、
作業単位である工程の工程種類と前記工程の階層レベル及び当該階層レベル内の順序を表す工程階層順序番号と前記工程に関する所定のデータとを含むレコードを格納している工程順序データベースから前記レコードを順次読み出す読出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、予め定められた所定の種類に係る工程である場合、前記所定の種類に係る工程に対応する実行命令を前記所定の種類に係る工程毎に格納している実行命令データベースから、当該レコードに係る前記工程に対応する前記実行命令を抽出する実行命令抽出ステップと、
前記読出ステップにおいて読み出された前記レコードに係る前記工程が、前記所定の種類に係る工程以外の工程である場合、当該レコードに含まれる前記工程種類及び前記所定のデータに基づき、当該レコードに係る前記工程に対応する前記実行命令を特定する実行命令特定ステップと、
前記読出ステップにおいて読み出された複数の前記レコードの各々について、当該レコードに含まれる前記工程階層順序番号に従って、前記実行命令抽出ステップにおいて抽出された前記実行命令又は前記実行命令特定ステップにおいて特定された前記実行命令を所定のファイルに出力することにより、前記業務プログラムを生成するプログラム生成ステップと、
をコンピュータに実行させるための業務プログラム生成処理プログラム。
A program for causing a computer to execute a process for generating a business program for a business composed of a plurality of hierarchized tasks,
The record from the process order database storing a record including a process type, a process hierarchy level of the process, a process hierarchy sequence number indicating the order in the hierarchy level, and predetermined data relating to the process. A reading step for sequentially reading;
When the process related to the record read in the reading step is a process related to a predetermined type, a process related to the predetermined type is executed as an execution instruction corresponding to the process related to the predetermined type. An execution instruction extraction step for extracting the execution instruction corresponding to the process related to the record from the execution instruction database stored for each;
When the process related to the record read in the reading step is a process other than the process related to the predetermined type, the process relates to the record based on the process type and the predetermined data included in the record. An execution instruction specifying step for specifying the execution instruction corresponding to the process;
Each of the plurality of records read in the reading step is specified in the execution instruction extracted in the execution instruction extraction step or in the execution instruction specifying step according to the process hierarchy sequence number included in the record A program generation step of generating the business program by outputting the execution instruction to a predetermined file;
A business program generation processing program for causing a computer to execute.
前記プログラム生成ステップにおいて、
少なくとも前記実行命令において用いられる変数の名称と当該変数の型とを前記変数毎に格納している項目データベースに格納されている前記変数の型を前記業務プログラム内で用いるように前記業務プログラムを生成する
ことを特徴とする請求項1記載の業務プログラム生成処理プログラム。
In the program generation step,
The business program is generated so that at least the name of a variable used in the execution instruction and the type of the variable are stored in the item database storing each variable, and the type of the variable is used in the business program. The business program generation processing program according to claim 1, wherein:
JP2012102051A 2012-04-27 2012-04-27 Process setting support processing program and task program generation processing program Pending JP2012208939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012102051A JP2012208939A (en) 2012-04-27 2012-04-27 Process setting support processing program and task program generation processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012102051A JP2012208939A (en) 2012-04-27 2012-04-27 Process setting support processing program and task program generation processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008104264A Division JP5155002B2 (en) 2008-04-14 2008-04-14 Process setting support processing program

Publications (1)

Publication Number Publication Date
JP2012208939A true JP2012208939A (en) 2012-10-25

Family

ID=47188548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012102051A Pending JP2012208939A (en) 2012-04-27 2012-04-27 Process setting support processing program and task program generation processing program

Country Status (1)

Country Link
JP (1) JP2012208939A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115293655A (en) * 2022-09-30 2022-11-04 神州数码融信云技术服务有限公司 Flow control method and device, computer equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1124911A (en) * 1997-07-04 1999-01-29 Hitachi Koukiyou Syst Eng Kk Method for automatically generating source program
JP2003208307A (en) * 2002-01-16 2003-07-25 Hitachi Software Eng Co Ltd Source program generation system
JP2006323828A (en) * 2005-04-19 2006-11-30 Acs Kk Source program creation support system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1124911A (en) * 1997-07-04 1999-01-29 Hitachi Koukiyou Syst Eng Kk Method for automatically generating source program
JP2003208307A (en) * 2002-01-16 2003-07-25 Hitachi Software Eng Co Ltd Source program generation system
JP2006323828A (en) * 2005-04-19 2006-11-30 Acs Kk Source program creation support system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115293655A (en) * 2022-09-30 2022-11-04 神州数码融信云技术服务有限公司 Flow control method and device, computer equipment and computer readable storage medium
CN115293655B (en) * 2022-09-30 2023-01-20 神州数码融信云技术服务有限公司 Flow control method and device, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP2765969B2 (en) Schematic data-driven program development support system
JPH08190587A (en) Simulation system for application process
JP2008052312A (en) Operation specification extraction support system
CN110618941B (en) Interface element processing method and device
JP2001216142A (en) Program preparation aiding device
JP4791990B2 (en) Plant model development system
CN109086985A (en) Professional test information management system towards spacecraft
JPH08286901A (en) Reutilizing system for software parts
JP5155002B2 (en) Process setting support processing program
JP2012208939A (en) Process setting support processing program and task program generation processing program
Riesz et al. Petriflow: A petri net based framework for modelling and control of workflow processes
CN111597081A (en) Test case design method and device
JPS62197826A (en) Production of system flow specifications
JP5600826B1 (en) Unstructured data processing system, unstructured data processing method and program
JP7157182B2 (en) Scenario generation device, scenario generation system, scenario generation method and program
JP6062735B2 (en) Software development support device, software development support method, software development support program
JPH04181455A (en) Picture transiting specification preparing method
CN116028051A (en) Visual development method, system, electronic equipment and storage medium for automated language program
JP2724241B2 (en) Automatic program generator with block diagram parts processing function
JP4895374B2 (en) Software product generation method and system
JP5653376B2 (en) Design editing apparatus and design editing program
JPH06243024A (en) Document structure expression system, network type document processor by the system and data structure display device
JP5904885B2 (en) Data comparison apparatus and data comparison method
JP2008225820A (en) Plant model development system, plant model development program, and plant model development method
JP2009037294A (en) System for creating software deliverable, method, and its program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130507

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131008