JPH0258125A - Processing component generating method - Google Patents

Processing component generating method

Info

Publication number
JPH0258125A
JPH0258125A JP20978588A JP20978588A JPH0258125A JP H0258125 A JPH0258125 A JP H0258125A JP 20978588 A JP20978588 A JP 20978588A JP 20978588 A JP20978588 A JP 20978588A JP H0258125 A JPH0258125 A JP H0258125A
Authority
JP
Japan
Prior art keywords
data
definition
processing
processing component
storage device
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
JP20978588A
Other languages
Japanese (ja)
Inventor
Kotaro Narita
成田 光太郎
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP20978588A priority Critical patent/JPH0258125A/en
Publication of JPH0258125A publication Critical patent/JPH0258125A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To easily prepare a program by executing processing definition when data definition is executed, and generating it as a processing component when a program interface is generated. CONSTITUTION:A data defining means 15 inputs data structure information from a distributing device 14, checks whether or not is conforms to a grammar rule, applies and displays it to a synthesizer 13 as the data definition, and stores it into a defined data storing device 17. A processing defining means 18 inputs the checking information and deriving information of the data structure from the distributing device 14, checks whether or not they are suitable based on the data definition, applies and displays them to the synthesizer 13 as the processing definition, and stores them into the defined data storing device 17. A processing component generating means 20 inputs the instructing information of program interface generation from the distributing device 14, generates the processing component based on the data definition and the processing definition, applies and displays it to the synthesizer 13, and stores it into a processing component storing device 22. Thus, each program is unnecessary to describe the check and deriving of the data, and the program can be easily prepared.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置の処理部品生成方式に利用する
。特に、情報処理装置のソフトウェアのデータ定義を行
うときにそのデータ定義で処理されるデータを扱う処理
プログラムの定義を行いプログラムインタフェース生成
時に処理部品として生成する方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to a processing component generation method for an information processing device. In particular, the present invention relates to a method in which, when defining software data for an information processing device, a processing program that handles data to be processed is defined based on the data definition, and is generated as a processing component when a program interface is generated.

〔概要〕〔overview〕

本発明は処理部品生成方式において、 データ定義を行うときに検査定義および導出定義を含む
処理定義を行い、プログラムインタフェース生成時に処
理部品として生成することにより、個々のプログラムで
データの検査および導出を記述する必要がなくプログラ
ムの作成を容易にしたものである。
In a processing component generation method, the present invention creates a processing definition including an inspection definition and derivation definition when defining data, and generates it as a processing component when generating a program interface, thereby writing data inspection and derivation in each program. This simplifies the creation of programs as there is no need to do so.

〔従来の技術〕[Conventional technology]

第5図は従来例の処理部生成装置のデータ定義とプログ
ラム手段との関連を示す図である。
FIG. 5 is a diagram showing the relationship between data definition and program means of a conventional processing unit generation device.

従来、処理部品生成方式は、プログラムとデータとを別
々に定義し、そのデータ定義をプログラム定義で引用し
てプログラム中のデータ処理とを結びつけてプログラム
を作成し実行する必要があった。
Conventionally, in the processing component generation method, it was necessary to define a program and data separately, and to create and execute a program by quoting the data definition in the program definition and linking it with the data processing in the program.

第5図はその1例であり、従来はデータ定義ツールでデ
ータの属性構造を定義し、プログラムインタフェース(
ここでは登録集原文)を生成し、プログラム側でこれを
引用し、データチエツク等の処理記述は個々のプログラ
ム中にそれぞれ記述する必要があった。
Figure 5 is an example of this. Conventionally, the data attribute structure was defined using a data definition tool, and a program interface (
In this case, it was necessary to generate a registry library original text, quote it on the program side, and write processing descriptions such as data check in each program.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このような従来例の処理部品生成方式では、プ
ログラムとデータとを別々に定義し、そのデータ定義を
プログラムで引用してプログラム中のデータ処理とを結
びつけてプログラムを作成し実行するために、データの
検査および加工を個々のプログラムで記述しなければな
らない欠点があった。
However, in such conventional processing component generation methods, the program and data are defined separately, and the data definition is quoted in the program and linked to the data processing in the program to create and execute the program. However, there was a drawback that data inspection and processing had to be written in individual programs.

本発明は上記の欠点を解決するもので、個々のプログラ
ムでデータの検査および導出を記述する必要がない処理
部品生成方式を提供することを目的とする。
The present invention solves the above-mentioned drawbacks and aims to provide a processing component generation method that does not require writing data inspection and derivation in individual programs.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、入力装置と、表示装置と、与えられたデータ
を表示用のデータに変換してこの表示装置に与える合成
装置とを備えた処理部品生成方式において、上記入力装
置から入力する情報をその内容に基づいて振分けて出力
する振分装置と、定義データ格納装置と、処理部品格納
装置と、上記振分装置からデータ構造情報を入力し文法
規則に合致するかを検査しデータ定義として上記合成装
置および上記定義データ格納装置に与えるデータ定義手
段と、上記振分装置から上記データ、構造の検査情報お
よび導出情報を入力し上記定義データ格納装置に格納さ
れたデータ定義に基づいて妥当であるかを検査し処理定
義として上記合成装置および上記定義データ格納装置に
与える処理定義手段と、上記振分装置からプログラムイ
ンタフェース生成の指示情報を入力し上記定義データ格
納装置に格納されたデータ定義および処理定義に基づい
て処理部品を生成し上記合成装置および上記処理部品格
納装置に与える処理部品生成手段とを備えたことを特徴
とする。
The present invention provides a processing component generation method that includes an input device, a display device, and a synthesis device that converts given data into display data and provides it to the display device, in which information input from the input device is A sorting device that sorts and outputs data based on its contents, a definition data storage device, a processing parts storage device, and inputs data structure information from the sorting device and checks whether it matches the grammatical rules and outputs the data as the data definition. A data definition means that supplies the data to the synthesis device and the definition data storage device, and inputs the data, structure inspection information, and derivation information from the distribution device and is valid based on the data definition stored in the definition data storage device. a processing definition means that inspects the processing definition and provides it as a processing definition to the synthesis device and the definition data storage device; and a data definition and processing that inputs program interface generation instruction information from the distribution device and is stored in the definition data storage device. The present invention is characterized by comprising processing component generation means for generating processing components based on definitions and providing them to the synthesis device and the processing component storage device.

〔作用〕[Effect]

データ定義手段は振分装置からデータ構造情報を入力し
文法規則に合致するかを検査しデータ定義として合成装
置に与えて表示し、また定義データ格納装置に格納する
。処理定義手段は振分装置からデータ構造の検査情報お
よび導出情報を入力し、定義データ格納装置に格納され
たデータ定義に基づいて妥当であるか検査し処理定義と
して合成装置に与えて表示し、また定義データ格納装置
に格納する。処理部品生成手段は振分装置からプログラ
ムインタフェース生成の指示情報を入力し、定義データ
格納装置に格納されたデータ定義および処理定義に基づ
いて処理部品を生成し合成装置に与えて表示し、また処
理部品格納装置に格納する。以上の動作により個々のプ
ログラムでデータの検査および導出を記述する必要がな
くプログラムの作成を容易にできる。
The data definition means inputs the data structure information from the sorting device, checks whether it matches the grammar rules, provides it as a data definition to the synthesis device for display, and stores it in the definition data storage device. The processing definition means inputs inspection information and derivation information of the data structure from the distribution device, checks whether it is valid based on the data definition stored in the definition data storage device, and provides it as a processing definition to the synthesis device for display, It is also stored in the definition data storage device. The processing component generation means inputs instruction information for program interface generation from the distribution device, generates processing components based on the data definition and processing definition stored in the definition data storage device, provides them to the synthesis device for display, and also performs processing. Store in the parts storage device. The above operation makes it possible to easily create a program without having to write data inspection and derivation in each program.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。第1
図は本発明−実施例処理部品生成装置のブロック構成図
である。第1図において、処理部品生成装置は、入力装
置としてキーボード入力装置12と、表示装置11と、
与えられたデータを表示用のデータに変換して表示袋@
11に与える合成装置13とを備える。
Embodiments of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of a processing component generation device according to an embodiment of the present invention. In FIG. 1, the processing component generation device includes a keyboard input device 12 as an input device, a display device 11,
Convert the given data to display data and display it @
11.

ここで、本発明の特徴とするところは、キーボード入力
装置12から入力する情報をその内容に基づいて振分け
て出力する振分装置14と、定義データ格納装置17と
、処理部品格納装置22と、振分装置14からデータ構
造情報を入力し文法規則に合致するかを検査しデータ定
義として合成装置13および定義データ格納装置15に
与えるデータ定義手段としてデータ定義装置15および
定義データ出力装置16と、振分装置14から上記デー
タ構造の検査情報および導出情報を入力し定義データ格
納装置17に格納されたデータ定義に基づいて妥当であ
るかを検査し処理定義として合成装置13および定義デ
ータ格納装置17に与える処理定義手段として定義デー
タ出力装置16、処理定義装置18および入力装置19
と、振分装置14からプログラムインタフェース生成の
指示情報を入力し定義データ格納装置17に格納された
データ定義および処理定義に基づいて処理部品を生成し
合成装置13および処理部品格納装置22に与える処理
部品生成手段として入力装置19、処理部品生成装置2
0および処理部品出力装置21とを備えたことにある。
Here, the features of the present invention include a sorting device 14 that sorts and outputs information input from the keyboard input device 12 based on its contents, a definition data storage device 17, a processing parts storage device 22, A data definition device 15 and a definition data output device 16 as data definition means that input data structure information from the distribution device 14, check whether it matches the grammar rules, and provide it as a data definition to the synthesis device 13 and the definition data storage device 15; The inspection information and derivation information of the data structure are inputted from the distribution device 14, checked for validity based on the data definition stored in the definition data storage device 17, and processed as a processing definition by the synthesis device 13 and the definition data storage device 17. A definition data output device 16, a process definition device 18, and an input device 19 serve as process definition means for providing
and a process of inputting instruction information for program interface generation from the distribution device 14, generating processing parts based on the data definition and processing definition stored in the definition data storage device 17, and providing them to the synthesis device 13 and the processing component storage device 22. An input device 19 and a processing component generation device 2 serve as component generation means.
0 and a processing component output device 21.

このような構成の処理部品生成装置の動作について説明
する。第2図は本発明の処理部品生成装置のデータ定義
と処理部品とプログラム手段との関連を示す図である。
The operation of the processing component generation device having such a configuration will be explained. FIG. 2 is a diagram showing the relationship between data definitions, processing components, and program means of the processing component generation device of the present invention.

第3図は本発明の処理部品生成装置の処理部品を示す図
である。第4図は本発明の処理部品生成装置の動作を示
すフローチャートである。
FIG. 3 is a diagram showing processing components of the processing component generation device of the present invention. FIG. 4 is a flowchart showing the operation of the processing component generation device of the present invention.

第2図はデータ定義と処理部品とプログラムの関連例で
あり、データ定義時にデータ定義と処理定義を行い、プ
ログラムインタフェース(ここでは登録集原文)生成時
に処理部品を生成し、プログラム例は、データ定義のプ
ログラムインタフェースの引用と処理部品の部品引用と
でプログラム作成が可能となる。
Figure 2 shows an example of the relationship between data definition, processing components, and programs.Data definition and processing definition are performed during data definition, and processing components are generated when the program interface (in this case, library original text) is generated. A program can be created by quoting the program interface of the definition and quoting the processing components.

第3図はデータ定義プログラムインタフェース例、なら
びにそれを使用した部品のプログラムインタフェース例
として、検査部品プログラムインタフェースおよび導出
プログラムインタフェース例である。
FIG. 3 shows an example of an inspection component program interface and a derivation program interface as an example of a data definition program interface and a component program interface using the same.

第1図および第4図において、キーボード入力装置12
よりデータ構造(データ形式、データ長等)を入力しく
Sl)、振分装置14でデータ定義装置15へ振分ける
(S2)。データ定義装置15はデータ定義として文法
的にあっているかどうかのチエツクを行い(33、S4
)、結果を合成装置13を用いて、表示装置11に表示
すると共に、定義データ出力装置16を用いて、定義デ
ータ格納装置17に格納する(S5)。
In FIGS. 1 and 4, the keyboard input device 12
The data structure (data format, data length, etc.) is input (Sl), and the distribution device 14 distributes the data to the data definition device 15 (S2). The data definition device 15 checks whether the data definition is grammatically correct (33, S4
), the result is displayed on the display device 11 using the synthesis device 13, and is stored in the definition data storage device 17 using the definition data output device 16 (S5).

次に、データ定義が完了した時点で、データ構造のデー
タを基にして、データ構造を構成する個々の要素のデー
タ形式、データ長に応じた検査(データの取得る範囲、
データの取得る値、検査すべき条件および処理等)およ
び導出(データの発生要因、データの発生源および導出
処理等)をキーボード入力装置12より入力しくS6)
、振分装置14で処理定義装置18へ振分ける(S7)
。処理定義装置18は、定義データ格納装置17より定
義データ入力装置16に格納されたデータ構成に基づい
て入力された検査記述および導出記述が妥当であるかど
うかチエツクを行い(S8、S9)、結果を合成装置1
3を用いて表示装置11に表示すると共に定義データ出
力装置16を用いて定義データ格納袋@17に処理定義
を格納する(SIO)。
Next, when the data definition is completed, based on the data of the data structure, inspection is performed according to the data format and data length of each element that makes up the data structure (the range of data to be acquired,
(value to be acquired, conditions to be tested, processing, etc.) and derivation (factors of data generation, data source, derivation processing, etc.) from the keyboard input device 12 (S6)
, is distributed to the process definition device 18 by the distribution device 14 (S7)
. The process definition device 18 checks whether the inspection description and derivation description inputted from the definition data storage device 17 are valid based on the data structure stored in the definition data input device 16 (S8, S9), and stores the results. Synthesizer 1
3 to display the process definition on the display device 11, and use the definition data output device 16 to store the process definition in the definition data storage bag @17 (SIO).

次に、キーボード入力装置12によりプログラムインタ
フェース生成の指示情報を受取り(Sll)、振分装置
14で処理部品生成装置20ヘデータを渡す(312)
。処理部品生成装置20は、定義データ格納装置17か
ら入力装置19を用いてデータ定義および処理定義を読
出しく513) 、処理部品を生成しく514) 、合
成装置13を用いて表示装置11に表示すると共に、処
理部品出力装置21を用いて処理部品格納装置22に格
納する(S15)。
Next, instruction information for program interface generation is received by the keyboard input device 12 (Sll), and data is passed to the processing component generation device 20 by the distribution device 14 (312).
. The processing component generation device 20 reads data definitions and processing definitions from the definition data storage device 17 using the input device 19 (513), generates processing components 514), and displays them on the display device 11 using the synthesis device 13. At the same time, the processed component output device 21 is used to store the processed component storage device 22 (S15).

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、データ構造および処理
が一度に定義可能で一体として管理でき、個々のプログ
ラムでデータの検査および導出を記述する必要がなくプ
ログラムを容易に作成できる優れた効果がある。
As explained above, the present invention has the advantage that data structures and processing can be defined at once and managed as a whole, and programs can be easily created without the need to write data inspection and derivation in individual programs. be.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明一実施例処理部品生成装置のブロック構
成図。 第2図は本発明の処理部品生成装置のデータ定義と処理
部品とプログラム手段との関連を示す図。 第3図は本発明の処理部品生成装置の処理部品を示す図
。 第4図は本発明の処理部品生成装置の動作を示すフロー
チャート。 第5図は従来例の処理部品生成装置のデータ定義とプロ
グラム手段との関連を示す図。 11・・・表示装置、12・・・キーボード入力装置、
13・・・合成装置、14・・・振分装置、15・・・
データ定義装置、16・・・定義データ出力装置、17
・・・定義データ格納装置、18・・・処理定義装置、
19・・・入力装置、20・・・処理部品生成装置、2
1・・・処理部品出力装置、22・・・処理部品格納装
置。
FIG. 1 is a block diagram of a processing component generation apparatus according to an embodiment of the present invention. FIG. 2 is a diagram showing the relationship between data definitions, processing components, and program means of the processing component generation device of the present invention. FIG. 3 is a diagram showing processing components of the processing component generation device of the present invention. FIG. 4 is a flowchart showing the operation of the processing component generation device of the present invention. FIG. 5 is a diagram showing the relationship between data definition and program means of a conventional processing component generation device. 11...Display device, 12...Keyboard input device,
13...Synthesizing device, 14...Distributing device, 15...
Data definition device, 16...Definition data output device, 17
... definition data storage device, 18... processing definition device,
19... Input device, 20... Processing component generation device, 2
1... Processed parts output device, 22... Processed parts storage device.

Claims (1)

【特許請求の範囲】[Claims] 1、入力装置と、表示装置と、与えられたデータを表示
用のデータに変換してこの表示装置に与える合成装置と
を備えた処理部品生成方式において、上記入力装置から
入力する情報をその内容に基づいて振分けて出力する振
分装置と、定義データ格納装置と、処理部品格納装置と
、上記振分装置からデータ構造情報を入力し文法規則に
合致するかを検査しデータ定義として上記合成装置およ
び上記定義データ格納装置に与えるデータ定義手段と、
上記振分装置から上記データ構造の検査情報および導出
情報を入力し上記定義データ格納装置に格納されたデー
タ定義に基づいて妥当であるかを検査し処理定義として
上記合成装置および上記定義データ格納装置に与える処
理定義手段と、上記振分装置からプログラムインタフェ
ース生成の指示情報を入力し上記定義データ格納装置に
格納されたデータ定義および処理定義に基づいて処理部
品を生成し上記合成装置および上記処理部品格納装置に
与える処理部品生成手段とを備えたことを特徴とする処
理部品生成方式。
1. In a processing component generation method that includes an input device, a display device, and a synthesis device that converts the given data into display data and provides it to the display device, the information input from the input device is converted into its contents. a distribution device that distributes and outputs the data based on the data definition, a definition data storage device, a processing parts storage device, and a synthesis device that inputs data structure information from the distribution device, checks whether it matches the grammar rules, and outputs the data as a data definition. and data definition means for providing the definition data storage device,
The inspection information and derivation information of the data structure are input from the sorting device, and the validity is checked based on the data definition stored in the definition data storage device, and the process definition is processed by the synthesis device and the definition data storage device. processing definition means for inputting instruction information for program interface generation from the distribution device and generating processing components based on the data definition and processing definition stored in the definition data storage device; 1. A processing component generation method comprising processing component generation means for supplying a processing component to a storage device.
JP20978588A 1988-08-24 1988-08-24 Processing component generating method Pending JPH0258125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20978588A JPH0258125A (en) 1988-08-24 1988-08-24 Processing component generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20978588A JPH0258125A (en) 1988-08-24 1988-08-24 Processing component generating method

Publications (1)

Publication Number Publication Date
JPH0258125A true JPH0258125A (en) 1990-02-27

Family

ID=16578561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20978588A Pending JPH0258125A (en) 1988-08-24 1988-08-24 Processing component generating method

Country Status (1)

Country Link
JP (1) JPH0258125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007198503A (en) * 2006-01-26 2007-08-09 Nsk Ltd Pulley device with built-in one-way clutch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6195445A (en) * 1984-10-17 1986-05-14 Nec Corp Incorporating processing system of program parts

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6195445A (en) * 1984-10-17 1986-05-14 Nec Corp Incorporating processing system of program parts

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007198503A (en) * 2006-01-26 2007-08-09 Nsk Ltd Pulley device with built-in one-way clutch

Similar Documents

Publication Publication Date Title
JPH03111969A (en) Method for supporting plan formation
JPS63193216A (en) Hierarchical help system
JPS63172330A (en) Halftone application system for document processor
JPH0258125A (en) Processing component generating method
JPS6285336A (en) Table conversion type software constituting system
JPS61246839A (en) Program diagram generating device
JPS6289137A (en) Program dialog system
JPH03110629A (en) Software document schematic diagram generating device
JPH06242933A (en) Program document maintenance device
JPH01280866A (en) Japanese word processing system
JPS63163964A (en) Drawing issuing system for flow chart
JPH021578A (en) Test item generating device
JPH0281128A (en) Forming system for table specifications
JPH0769917B2 (en) Interactive sentence processor
JPH0588865A (en) Software design supporting device
JPH05233241A (en) Program forming device
JPH05274183A (en) Producing device for subroutine check program
JPS6051950A (en) Program outputting system
JPH04273579A (en) Diverting and designing system for parts library
JPS63245519A (en) Program control structure generating device
JPH07168864A (en) Simulating device and method thereof
JPH06119160A (en) Storage processor for software object
JPS63175930A (en) Document generating device for control program
JPS63262727A (en) Managing system for intellectual education system
McCabe Introducing workbench tools into a development environment