JPH034352A - System for controlling non-routine data processing program - Google Patents
System for controlling non-routine data processing programInfo
- Publication number
- JPH034352A JPH034352A JP13958689A JP13958689A JPH034352A JP H034352 A JPH034352 A JP H034352A JP 13958689 A JP13958689 A JP 13958689A JP 13958689 A JP13958689 A JP 13958689A JP H034352 A JPH034352 A JP H034352A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- data
- processing module
- group
- 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
Links
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、複数の端末装置等からランダムに発生する非
定型データの内容を該データに対応する処理モジュール
により処理するコンピュータシステムにおける非定型デ
ータ処理プログラム制御方式に関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a computer that processes the contents of atypical data randomly generated from a plurality of terminal devices, etc. using a processing module corresponding to the data. This paper relates to control methods for non-routine data processing programs in systems.
(従来の技術)
複数の端末装置等からランダムに発生する非定型データ
の内容を該データに対応する処理プログラムにより処理
するコンピュータシステムにおいて、非定型データの中
からキーワードを選定し、さらにこれに対応する処理プ
ログラムに到達するためには、条件比較命令の羅列によ
って判断し、該当する処理プログラムに分岐させること
で行なっていた。(Prior Art) In a computer system that processes the content of non-standard data randomly generated from a plurality of terminal devices, etc. using a processing program corresponding to the data, keywords are selected from the non-standard data and further processing is performed. In order to arrive at the processing program to be processed, a judgment is made based on a list of conditional comparison instructions, and this is done by branching to the corresponding processing program.
電子メールシステム等、不特定多数間において流れる文
書情報を代表とする入力データが非定型に作成されてい
る場合、これをチエツク及び処理を行なう場合、そのア
ルゴリズムをその都度作成し、また複数の処理において
類似の処理を行なう場合は、プログラマ−の経験から逐
次プログラムを変更して対応する必要がある。When input data, such as document information that flows between an unspecified number of people such as an e-mail system, is created in a non-standard manner, when checking and processing this data, the algorithm must be created each time, and multiple processing methods are required. If similar processing is to be performed in a program, it is necessary to change the program sequentially based on the programmer's experience.
この際、プログラム保守が、常にプログラム全体に影響
を与える可能性があった。At this time, program maintenance could always affect the entire program.
(発明が解決しようとする課題)
即ち、常に同一の条件比較ロジ・ツクによってチエツク
が行なわれるため、ロスタイムの発生、類似ロジックに
よる専有メモリの増大が生じるという問題がある。(Problems to be Solved by the Invention) That is, since checks are always performed using the same condition comparison logic, there are problems in that loss time occurs and the dedicated memory increases due to similar logic.
さらに、条件変更等によるロジ・ツクの見直し作業を中
心とした作業が必要となりプログラム保守性が損なわれ
るという問題があった。Furthermore, there is a problem in that program maintainability is impaired because work is required mainly to review the logic due to changes in conditions and the like.
本発明はこのような課題を解決するために成されたもの
で、人力される非定型のデータがキーワードとなるデー
タを検索し、ラフに推論した結果から効率よくデータ内
容に該当する処理プログラムにデータを渡す非定型デー
タ処理プログラム制御方式を提供することを目的とする
。The present invention was made to solve these problems, and it searches for data using human-generated atypical data as keywords, and uses the rough inference results to efficiently create a processing program that corresponds to the data content. The purpose is to provide a non-standard data processing program control method for passing data.
[発明の構成]
(課題を解決するための手段)
上記目的を達成する本発明の非定型データ処理プログラ
ム制御方式は、複数の端末装置等からランダムに発生す
る非定型データの内容を複数の処理モジュールにより処
理するコンピュータシステムにおいて、主プログラムは
人力されたデータ群のキーワードからデータの内容を推
論し、その結果最適な処理モジュールを記述したインテ
・ツクステーブルをアクセスし、前記インテ・ツクステ
ーブル内の分岐先の値によって分岐命令テーブルを呼び
出することにより、主プログラムから処理モジュール群
の該当するモジュールへ制御を渡すことを特徴とするも
のである。[Structure of the Invention] (Means for Solving the Problems) The atypical data processing program control method of the present invention that achieves the above object processes the contents of atypical data randomly generated from a plurality of terminal devices, etc. In a computer system that processes using modules, the main program infers the content of the data from the keywords of the data group manually, accesses the inte x table that describes the optimal processing module as a result, and uses the information in the inte x table. It is characterized by passing control from the main program to the corresponding module in the processing module group by calling a branch instruction table based on the value of the branch destination.
(゛作用)
上記のように複数の処理内容別に用意されたモジュール
からなる処理モジュール群、さらに処理手順を示すイン
デックステーブル及び各処理モジュールに分岐するため
の分岐命令テーブルを設けることにより、非定型データ
の効率よい処理を実現する。(Function) As described above, by providing a processing module group consisting of modules prepared for multiple processing contents, an index table indicating processing procedures, and a branch instruction table for branching to each processing module, non-standard data can be processed. Achieve efficient processing.
(実施例)
以下、本発明の一実施例について図面を参照して詳細に
説明する。(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例による非定型データ処理プロ
グラム制御方式を示すブロック図である。FIG. 1 is a block diagram showing a non-standard data processing program control method according to an embodiment of the present invention.
図において、1は複数の端末からの処理要求を受ける主
プログラムであり、人力データから処理内容を推論し、
インデックステーブル群3より最適なテーブルを選択し
て、テーブル内容に従って各処理モジュールに制御を渡
す。2は処理モジュール群であり、入力データの詳細な
チエツクを実行し、該当処理データであれば所望の処理
を実行し出力を行い、該当処理データでなければ主プロ
グラム1に戻る。3は主プログラム1によりアクセスさ
れるインデックステーブル群であり、事前に入力データ
の傾向から判断し分岐命令テーブルを選択する「変数」
の組合せの集まりよりなる。4はインデックステーブル
群3からの出力によりアクセスされる分岐命令テーブル
群であり、各処理モジュール3への分岐命令の集まりよ
りなる。In the figure, 1 is the main program that receives processing requests from multiple terminals, infers processing content from human data,
An optimal table is selected from the index table group 3, and control is passed to each processing module according to the table contents. Reference numeral 2 denotes a processing module group, which performs a detailed check of the input data, and if the data is applicable, executes the desired process and outputs the data; if the data is not applicable, the processing returns to the main program 1. 3 is a group of index tables accessed by the main program 1, and "variables" are used to select a branch instruction table based on the tendency of input data in advance.
It consists of a collection of combinations of. A branch instruction table group 4 is accessed by the output from the index table group 3, and is made up of a collection of branch instructions to each processing module 3.
第2図に本発明の処理フローチャートを示す。FIG. 2 shows a processing flowchart of the present invention.
ステップS1は、非定型データ中のキーワードから推論
し、インデックステーブル3から次に実行する処理モジ
ュール2の1つを選択するステップである。Step S1 is a step of inferring from the keywords in the non-standard data and selecting one of the processing modules 2 to be executed next from the index table 3.
ステップS2は、人力データの詳細なチエ・ツクを行い
、チエツクの結果該当する処理データであればそれを実
行し、該当しなければ次の処理モジュールに移行するス
テップである。Step S2 is a step in which the human data is checked in detail, and if the result of the check is that the processing data is applicable, it is executed, and if the data is not applicable, the processing moves to the next processing module.
上記のように複数の処理内容別に用意されたモジュール
からなる処理モジュール群2、さらに処理手順を示すイ
ンデックステーブル群3及び各処理モジュールに分岐す
るための分岐命令テーブル4を設けることにより、非定
型データの効率よい処理を実現する。As mentioned above, by providing a processing module group 2 consisting of modules prepared for a plurality of processing contents, an index table group 3 indicating processing procedures, and a branch instruction table 4 for branching to each processing module, non-standard data can be processed. Achieve efficient processing.
すなわち、主プログラム1に入力されたデータ群からキ
ーワードを検索しそのキーワードからデータの内容を推
論しく例えば、製品品質に関するキーワードが多ければ
品質担当−にデータを中継処理すべきデータと推論され
る)、主プログラム1よりインデックステーブル群3を
アクセスしインデックステーブル群3にあるテーブル内
の分岐先の値によって分岐命令テーブル4を呼び出す。In other words, keywords are searched from the data group input to the main program 1, and the contents of the data are inferred from the keywords.For example, if there are many keywords related to product quality, it is inferred that the data should be relayed to the quality manager.) , the main program 1 accesses the index table group 3 and calls the branch instruction table 4 based on the value of the branch destination in the table in the index table group 3.
これにより、主プログラムlから処理モジ、11−ル群
2の該当するモジュールへ制御が渡される。As a result, control is passed from the main program 1 to the corresponding module in the processing module 11-rule group 2.
また、インデックステーブル群3内の変数を組替えるこ
とで処理モジュールの実行手順を任意に変更でき、処理
するデータ内容に柔軟に対応できるプログラム制御が可
能となる。Further, by rearranging the variables in the index table group 3, the execution procedure of the processing module can be changed arbitrarily, and program control that can flexibly respond to the data content to be processed becomes possible.
次に、具体的制御例を第3図に従って説明する。Next, a specific example of control will be explained with reference to FIG.
本例ではインデックステーブル群3内には入力データの
パターンがパターン1.パターン2.パターン3のよう
に書き込まれており、かつ分岐命令テーブル群4内の分
岐命令をBASIC命令で記述した場合を示す。また、
第3図中破線は制御の流れを示す。In this example, the input data patterns in index table group 3 are pattern 1. Pattern 2. A case is shown in which the pattern 3 is written and the branch instructions in the branch instruction table group 4 are written as BASIC instructions. Also,
The broken line in FIG. 3 shows the flow of control.
入力データを主プログラム1でラフ推論した結果、イン
デックステーブル群3からパターン3を選択したとする
。ここで、パターン3は処理モジュール群2の処理モジ
ュールB及び処理モジュールCの順に実行するように設
定してあり、このパターン3から主プログラムlは分岐
命令テーブル群4から処理モジュールBを選択する分岐
命令を実行し、処理モジュールBに制御が移る。Assume that as a result of rough inference of the input data using the main program 1, pattern 3 is selected from the index table group 3. Here, pattern 3 is set so that processing module B and processing module C of processing module group 2 are executed in order, and from this pattern 3, main program l branches to select processing module B from branch instruction table group 4. The command is executed and control is transferred to processing module B.
そして、処理モジュールBで処理可能であれば、当該処
理を実行した上で主プログラム1に復帰する。該当しな
ければ処理をせず部上プログラム1に復帰する。Then, if processing is possible in the processing module B, the processing is executed and then the main program 1 is returned to. If it is not applicable, no processing is performed and the program returns to the departmental program 1.
また、主プログラム1は、入力データが処理済みであれ
ば、他の入力データ受信状態に入り、未処理であればイ
ンデックステーブル群3に従って処理モジュールに制御
を渡す。Further, if the input data has been processed, the main program 1 enters another input data receiving state, and if the input data has not been processed, it passes control to the processing module according to the index table group 3.
上記本発明は、非定型データによるインテリジェント電
子メールシステムや24時間稼働形のデータ自動集配信
システム等に適用することができる。The present invention can be applied to an intelligent e-mail system using non-standard data, a 24-hour automatic data collection and distribution system, and the like.
[発明の効果]
以上説明したように本発明によれば、より処理条件に近
いモジュールが選択されるため、目的処理を効果的に制
御できる。[Effects of the Invention] As described above, according to the present invention, a module that is closer to the processing conditions is selected, so that the target processing can be effectively controlled.
また、プログラム保守においても、プログラムロジック
を修正することなくインデックステーブルを保守するこ
とで仕様変更に対応できるため、プログラム品質の維持
についても優れた効果が得られる。Furthermore, in program maintenance, it is possible to respond to specification changes by maintaining the index table without modifying the program logic, resulting in excellent effects in maintaining program quality.
第1図は本発明の一実施例による非定型データ処理プロ
グラム制御方式の概要を示すブロック図、第2図は第1
図の非定型データ処理プログラム制御方式の制御を示す
フローチャート、第3図は第1図の非定型データ処理プ
ログラム制御方式による具体的制御例を示す図である。
l・・・主プログラム、2・・・処理モジュール群、3
・・・インデックステーブル群、4・・・分岐命令テー
ブル群。FIG. 1 is a block diagram showing an overview of a non-standard data processing program control method according to an embodiment of the present invention, and FIG.
FIG. 3 is a flowchart showing the control of the non-standard data processing program control method shown in FIG. 1, and FIG. l...Main program, 2...Processing module group, 3
... Index table group, 4... Branch instruction table group.
Claims (1)
の内容を複数の処理モジュールにより処理するコンピュ
ータシステムにおいて、 主プログラムは入力されたデータ群のキーワードからデ
ータの内容を推論し、その結果最適な処理モジュールを
記述したインデックステーブルをアクセスし、前記イン
デックステーブル内の分岐先の値によって分岐命令テー
ブルを呼び出することにより、主プログラムから処理モ
ジュール群の該当するモジュールへ制御を渡すことを特
徴とする非定型データ処理プログラム制御方式。[Claims] In a computer system in which a plurality of processing modules process the contents of atypical data randomly generated from a plurality of terminal devices, etc., the main program infers the contents of the data from the keywords of the input data group. , accessing an index table that describes the optimal processing module as a result, and calling a branch instruction table based on the branch destination value in the index table, thereby passing control from the main program to the corresponding module in the processing module group. An atypical data processing program control method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13958689A JPH034352A (en) | 1989-05-31 | 1989-05-31 | System for controlling non-routine data processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13958689A JPH034352A (en) | 1989-05-31 | 1989-05-31 | System for controlling non-routine data processing program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH034352A true JPH034352A (en) | 1991-01-10 |
Family
ID=15248717
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13958689A Pending JPH034352A (en) | 1989-05-31 | 1989-05-31 | System for controlling non-routine data processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH034352A (en) |
-
1989
- 1989-05-31 JP JP13958689A patent/JPH034352A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR870006446A (en) | Real time processing control system | |
| JPH034352A (en) | System for controlling non-routine data processing program | |
| JPH06208490A (en) | Combined memory-structure | |
| US5875337A (en) | Modifier for a program executing parallel processes that reduces wait time for access to a shared resource | |
| JP2773672B2 (en) | Input check method | |
| JPH0441166A (en) | Managing system for manufacture process | |
| JPS63311439A (en) | Call return method | |
| JPH064477A (en) | Subload-module replacing system | |
| JPH06337796A (en) | Priority access control device | |
| JP2573439B2 (en) | Communication control method in multi-communication processor system | |
| JPS6232745A (en) | Circuit processing system | |
| JPH0233240A (en) | Network control system | |
| JPH03189820A (en) | Program call processing system | |
| JPH02311903A (en) | Programmable controller | |
| JPS628230A (en) | Program specialization system | |
| JPS6059614B2 (en) | Device management method | |
| JPH0367357A (en) | Multi-cpu system | |
| JPH04326844A (en) | Parallel command travel control system | |
| JPS61147337A (en) | Microprogram control system | |
| JPS63173136A (en) | Inter-task communication system | |
| JPS61279939A (en) | Parallel processing system | |
| JPH05134986A (en) | Memory content change system | |
| JPH029292A (en) | Electronic exchange system | |
| JPS62237543A (en) | Buffer control system | |
| JPS63304340A (en) | Open processing system for data base |