JPH09282152A - Communication module generation device and communication information file design device - Google Patents
Communication module generation device and communication information file design deviceInfo
- Publication number
- JPH09282152A JPH09282152A JP8086641A JP8664196A JPH09282152A JP H09282152 A JPH09282152 A JP H09282152A JP 8086641 A JP8086641 A JP 8086641A JP 8664196 A JP8664196 A JP 8664196A JP H09282152 A JPH09282152 A JP H09282152A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- screen
- item
- transaction
- information file
- 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.)
- Granted
Links
Landscapes
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
(57)【要約】
【課題】 通信に用いるアプリケーションモジュールの
通信部分の定型処理を生成し、開発効率を向上させると
ともに、トランザクション形式や画面プログラム情報の
保守やデバッグ作業において作業が容易に行える通信モ
ジュール生成装置及び通信情報ファイル設計装置を得
る。
【解決手段】 トランザクションデータとしての上りメ
ッセージや下りメッセージの形式を定義する通信情報フ
ァイルと、ウィンドウ部品の定義や振る舞いを定義する
画面定義情報からトランザクション形式を認識し、相互
の通信を行う定型の通信関数を生成する通信関数生成手
段と通信処理を生成する通信処理生成手段を備える。さ
らに、画面定義情報との連携を取りながら通信情報ファ
イルを生成する通信情報ファイル生成手段を設ける。
(57) [Abstract] [Problem] A communication module which generates a routine process of a communication part of an application module used for communication to improve development efficiency and facilitates work in maintenance and debugging of transaction formats and screen program information. Obtain a generation device and a communication information file design device. SOLUTION: A fixed-form communication that recognizes the transaction format from a communication information file that defines the format of an upstream message and a downstream message as transaction data and screen definition information that defines the definition and behavior of window parts and performs mutual communication. A communication function generating means for generating a function and a communication processing generating means for generating a communication processing are provided. Further, a communication information file generating means for generating a communication information file in cooperation with the screen definition information is provided.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、ネットワークで
接続された複数の情報処理装置間でメッセージを通信し
て1つの機能を実現する分散アプリケーション通信制御
方式で用いられる通信モジュール生成装置及び通信情報
ファイル設計装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication module generation device and communication information file used in a distributed application communication control system for communicating a message between a plurality of information processing devices connected by a network to realize one function. The present invention relates to a design device.
【0002】[0002]
【従来の技術】分散アプリケーション通信制御方式の一
例として、クライアントサーバ型について述べる。従来
のクライアントサーバ型アプリケーションでは、クライ
アント側で行える処理はクライアント上のクライアント
アプリケーションプログラム(クライアントアプリケー
ション,クライアントプログラムとも言う)が行い、ク
ライアント側では行えない処理はサーバ上のサーバアプ
リケーションプログラム(サーバアプリケーション,サ
ーバプログラムとも言う)に依頼をして行う形態が一般
的である。クライアント側で処理が行えない理由は、ク
ライアント側のハードウェアやソフトウェアの性能問題
や、メンテナンスやコストの面から大規模データをクラ
イアント側に構築することに制限があることや、高速な
一括帳票出力など様々である。サーバのようにパワーの
あるマシンがクライアント側の処理の一部でもっとも効
果的な部分を肩代わりするやり方がクライアントサーバ
型のシステム体系である。2. Description of the Related Art A client-server type will be described as an example of a distributed application communication control system. In the conventional client-server type application, processing that can be performed on the client side is performed by the client application program (also called client application or client program) on the client, and processing that cannot be performed on the client side is performed by the server application program (server application, server) on the server. (Also called a program) is generally performed by making a request. The reason why processing cannot be performed on the client side is that there is a performance problem with the hardware and software on the client side, there is a limit to building large-scale data on the client side from the viewpoint of maintenance and cost, and high-speed batch form output. And so on. A client-server system system is a method in which a powerful machine such as a server takes over the most effective part of the processing on the client side.
【0003】この体系においては、クライアントマシン
とサーバマシンはある通信路をもって接続されており、
クライアントからサーバへのリクエスト(あるいはトラ
ンザクション)という形態で行われる。トランザクショ
ンとはサーバとクライアントの間の入出力データのこと
である。トランザクションによって送受信されるデータ
をメッセージと呼ぶ。また、クライアントからサーバへ
送信されるメッセージを上りメッセージ、サーバからク
ライアントへ送信されるメッセージを下りメッセージと
呼ぶ。クライアントプログラムはサーバが提供するサー
ビスを使用したい時に、クライアントからサーバへの要
求という形で上りメッセージを通信する。上りメッセー
ジはサーバが提供するサービスを認識するためのリクエ
ストコードと、サーバがサービスを実行するために必要
なデータから構成される。In this system, the client machine and the server machine are connected by a certain communication path,
It is performed in the form of a request (or transaction) from the client to the server. A transaction is input / output data between a server and a client. The data transmitted and received by a transaction is called a message. A message sent from the client to the server is called an up message, and a message sent from the server to the client is called a down message. When the client program wants to use the service provided by the server, it communicates the upstream message in the form of a request from the client to the server. The upstream message is composed of a request code for recognizing the service provided by the server and data necessary for the server to execute the service.
【0004】サーバ上ではクライアントアプリケーショ
ンのために既にサーバプログラムが起動されており、ク
ライアントからの上りメッセージの到着を待っている。
上りメッセージが到着するとサーバプログラムはリクエ
ストコードを認識し、必要なサービスを実行する。この
時、上りメッセージとして到着したメッセージ中のデー
タが使用される。メッセージは通常複数の項目から構成
されており、例えば、商品コードと日付などの分割され
た異なるデータ型の列となっている。上りメッセージの
内容はリクエストコード毎に処理が決められており、例
えば、リクエストコードが“03”なら処理内容は、商
品マスタデータベースの検索で、上りメッセージデータ
には商品コードがあるのでそれを使用するなどの取り決
めがある。On the server, the server program has already been started for the client application and is waiting for the arrival of the upstream message from the client.
When the upstream message arrives, the server program recognizes the request code and executes the required service. At this time, the data in the message that arrived as the upstream message is used. A message is usually composed of a plurality of items, for example, a sequence of divided different data types such as a product code and a date. The processing of the content of the upstream message is determined for each request code. For example, if the request code is “03”, the processing content is a search of the product master database, and the upstream message data has the product code. There is an agreement such as.
【0005】また、一般のクライアントサーバ型の体系
ではクライアントアプリケーションは複数端末に分散し
ており、それをサーバ上の1つのサーバプログラムが一
括してサービスを行うということが行われている。しか
し、この方法ではすべてのクライアントに対して均一の
サービスを行うことは難しく、またすべてのクライアン
トプログラムの要求を満たすサーバプログラムの開発は
困難を極める。Further, in a general client-server system, client applications are distributed to a plurality of terminals, and one server program on the server collectively provides services. However, with this method, it is difficult to provide uniform services to all clients, and it is extremely difficult to develop a server program that meets the requirements of all client programs.
【0006】もう一つのクライアントサーバ型の体系と
しては、クライアントアプリケーション1つに対して専
用のサーバプログラムを1つ用意するというやり方があ
る。この方法であると、クライアントとサーバの関係は
必ず1対1になるのでクライアントプログラム、サーバ
側のプログラム開発は先に述べた方法より比較的簡単で
ある。欠点としては、端末の台数が増加した場合に、サ
ーバ上にクライアントの数だけのサーバプログラムがロ
ードされて実行される点であり、サーバの負荷を増加さ
せる。As another client-server type system, there is a method of preparing one dedicated server program for one client application. With this method, since the relationship between the client and the server is always one-to-one, the client program and server side program development is relatively simpler than the method described above. The disadvantage is that when the number of terminals increases, the server programs as many as the number of clients are loaded and executed on the server, which increases the load on the server.
【0007】サーバ側の負荷の増加を抑制するために、
トランザクション処理システムなどではトランザクショ
ン起動でプログラムを起動する方法などが採用されてい
る。上りメッセージを1度トランザクション処理システ
ムで受けて、その内容を解析し、リクエストコードを判
定してから該当するプログラムを起動してサービスを行
うものである。このようなトランザクション処理システ
ムは一般には大規模なシステムに使用され、中規模や小
規模なシステムでは運用も複雑なためあまり使用されな
い。In order to suppress an increase in the load on the server side,
In transaction processing systems, etc., a method of starting a program by starting a transaction is adopted. The upstream message is received once by the transaction processing system, the content is analyzed, the request code is determined, and then the corresponding program is activated to provide the service. Such a transaction processing system is generally used in a large-scale system, and is rarely used in a medium-scale or small-scale system because its operation is complicated.
【0008】このようにクライアントサーバ型の形態は
様々であり応用範囲も広い。特に、負荷が分散できる点
とクライアントとサーバマシンのそれぞれ得意な分野の
計算や処理を分担することができる点で、最近よく使用
されるシステム形態である。しかし、1つの処理がクラ
イアント側とサーバ側に分割されるためアプリケーショ
ン設計や開発が難しく、デバッグや保守などの手法もま
だあまり確立されていないのが現状である。As described above, the client-server type has various forms and has a wide range of applications. In particular, it is a system form that has been frequently used recently because of the ability to distribute the load and the ability to share the calculations and processing in the fields of which the client and server machines are good. However, since one process is divided into the client side and the server side, application design and development are difficult, and methods such as debugging and maintenance have not yet been established.
【0009】図38は三菱電機株式会社が開発した、ク
ライアントサーバ型開発環境HYPERPRODUCEのクライアン
ト通信オブジェクトによる通信の例を示す図である。図
において、901はクライアント、902はサーバ、9
03はクライアント901上で稼働するクライアントア
プリケーション、904はサーバ902上で稼働するサ
ーバアプリケーションである。また、908は通信情報
ファイル、909はクライアント通信オブジェクト、9
30はサーバ902に接続されたデータベースである。
また、963はトランザクション形式作成ツール、96
4は通信ドライバ、965はサーバ通信オブジェクトで
ある。FIG. 38 is a diagram showing an example of communication by a client communication object of a client-server type development environment HYPERPRODUCE developed by Mitsubishi Electric Corporation. In the figure, 901 is a client, 902 is a server, and 9
Reference numeral 03 is a client application running on the client 901, and 904 is a server application running on the server 902. Further, 908 is a communication information file, 909 is a client communication object, 9
Reference numeral 30 is a database connected to the server 902.
963 is a transaction format creation tool, 96
Reference numeral 4 is a communication driver, and 965 is a server communication object.
【0010】まず、図38を用いてクライアントサーバ
型の通信について説明する。サーバ側とクライアント側
の通信におけるトランザクション形式をあらかじめトラ
ンザクション形式作成ツールによって1つ1つ設計し、
図示しないトランザクション形式ファイルに記録する。
記録されたトランザクションの設計情報にもとづいて定
義された通信情報ファイル908を用いてクライアント
アプリケーション903と、サーバアプリケーション9
04は通信を行う。クライアントアプリケーション90
3の内部にある、クライアント通信オブジェクト909
は、この通信情報ファイル908にもとづいて、上りメ
ッセージを作成し、サーバアプリケーションへの通信を
行い、必要ならキャラクタコードの変換等を行う。サー
バアプリケーション側では、サーバ通信オブジェクト9
65を組み込んだサーバアプリケーション904があら
かじめ起動されている。クライアントアプリケーション
903からのリクエストを含む上りメッセージは該当す
るサーバアプリケーション904のサーバ通信オブジェ
クト965のインタフェースを用いて、サーバアプリケ
ーション904に取り込まれる。取り込まれた上りメッ
セージ内のトランザクションデータは処理を行うための
データであり、データベースの更新のデータや帳表への
印字などのデータとして使用される。上りメッセージに
対するサーバアプリケーションの処理が終了すると下り
メッセージとして通信オブジェクトを介して、必要なら
トランザクションのリターンデータをクライアントアプ
リケーションに返す。図39は、通信情報ファイルの一
例を示す図である。図39に示すように、通信情報ファ
イルは、リクエストコード911、上りトランザクショ
ン933および下りトランザクション934の組み合わ
せにより構成されている。前述したように、リクエスト
コードが“03”ならば、処理内容はデータベースの検
索であり、上りトランザクション933には、“商品コ
ード”があり、その商品コードを用いてデータベースの
検索を行い、検索した結果として、得られた商品名を下
りトランザクション934として送信するというよう
に、記述されている。図40にこの処理を行うときのト
ランザクションの流れを示す。このように、通信情報フ
ァイルに定義された内容に従って、トランザクションを
行うプログラムをクライアントとサーバにそれぞれ記述
して1つのシステムとして動作させていた。First, the client-server type communication will be described with reference to FIG. Design each transaction format in the communication between the server side and the client side in advance with the transaction format creation tool,
It is recorded in a transaction format file (not shown).
The client application 903 and the server application 9 using the communication information file 908 defined based on the recorded transaction design information.
04 communicates. Client application 90
Client communication object 909 inside 3
Creates an upstream message based on this communication information file 908, communicates with the server application, and converts the character code if necessary. On the server application side, the server communication object 9
The server application 904 incorporating 65 is started in advance. The upstream message including the request from the client application 903 is captured by the server application 904 using the interface of the server communication object 965 of the corresponding server application 904. The transaction data in the captured upstream message is data for processing, and is used as data for updating the database or printing data on a book. When the processing of the server application for the upstream message is completed, the return data of the transaction is returned to the client application as a downstream message via the communication object, if necessary. FIG. 39 is a diagram showing an example of the communication information file. As shown in FIG. 39, the communication information file is composed of a combination of request code 911, upstream transaction 933, and downstream transaction 934. As described above, if the request code is “03”, the processing content is a database search, and the upstream transaction 933 has a “product code”, and the product code is used to search and search the database. As a result, it is described that the obtained product name is transmitted as the down transaction 934. FIG. 40 shows a transaction flow when this processing is performed. As described above, according to the contents defined in the communication information file, the program for performing the transaction is described in the client and the server, and operated as one system.
【0011】この方式において問題となるのは、サーバ
アプリケーションとクライアントアプリケーションの通
信部分のインタフェースとそのプログラム記述である。
通信のトランザクションフォーマットについてはあらか
じめトランザクション形式作成ツールにおいて作成して
おくので、作成されたトランザクションフォーマットに
従い通信プログラムを作成することになる。クライアン
ト側においては通信を行うためのクライアント通信オブ
ジェクトを駆動するための通信ロジック記述、サーバ側
においては通信ライブラリを使用するための通信ロジッ
ク記述が必要であり、これらは人間が仕様書を見ながら
作成していた。The problem in this method is the interface of the communication part of the server application and the client application and its program description.
Since the transaction format of communication is created in advance by the transaction format creation tool, the communication program will be created according to the created transaction format. On the client side, it is necessary to write a communication logic description to drive the client communication object for communication, and on the server side, a communication logic description to use the communication library is required. Was.
【0012】このような方式の場合、クライアントプロ
グラム、サーバプログラム間のトランザクションに変更
があった場合には、クライアントプログラム、サーバプ
ログラムの双方を整合性をとりプログラムをそれぞれ修
正する必要があった。In the case of such a system, when the transaction between the client program and the server program is changed, it is necessary to make both the client program and the server program consistent and modify the programs respectively.
【0013】さらに、通常トランザクションの情報は画
面の設計情報と密接にからみあっている場合が多く、か
つ、画面の項目情報とトランザクションの項目情報は一
致する確率が非常に高く、これらの整合性をあわせる必
要もある。例えば、トランザクションの項目は数字タイ
プで8バイトという記述になっている場合、画面に出力
する項目エリアも同じ数字タイプ8バイトに指定する必
要があり、従来の方法ではこれらはトランザクション形
式と画面の項目の2箇所でこの設定をおこなっており、
整合性をとる作業は項目が増加するほど困難になること
が多かった。Further, the information of the normal transaction is often intimately entangled with the design information of the screen, and the item information of the screen and the item information of the transaction have a very high probability of matching, and the matching of them is matched. There is also a need. For example, if a transaction item is described as a numeric type of 8 bytes, it is necessary to specify the item area to be output to the screen as the same numeric type of 8 bytes. In the conventional method, these are the transaction type and the screen item. This setting is done in two places,
The task of achieving consistency often became more difficult as the number of items increased.
【0014】[0014]
【発明が解決しようとする課題】従来のクライアントサ
ーバ型のシステム形態では、クライアントプログラムと
サーバプログラムとを別々に構築することが多く、その
場合にはクライアントプログラムとサーバプログラムの
インタフェース部分であるトランザクション形式を決め
てから、それぞれのプログラムを設計するのが一般的で
あった。ところが、トランザクション形式を決めてから
画面を設計すると画面イメージがつかみにくいという欠
点があった。また、画面イメージを修正した場合には、
修正された画面イメージに対応してトランザクションの
再定義が必要であった。また、クライアントプログラ
ム、サーバプログラムのいずれにおいても通信に関して
は定型的な処理が存在しており、画面のイメージに対応
する定型処理部分を生成する通信モジュール生成装置の
実現が望まれていた。In the conventional client-server type system form, the client program and the server program are often constructed separately, and in that case, a transaction format which is an interface portion between the client program and the server program. After deciding on, it was common to design each program. However, if the screen is designed after deciding the transaction format, the screen image is difficult to grasp. Also, if you modify the screen image,
It was necessary to redefine the transaction corresponding to the corrected screen image. Further, there is a fixed process for communication in both the client program and the server program, and it has been desired to realize a communication module generation device that generates a fixed process part corresponding to an image on a screen.
【0015】この発明は、上記のような問題点を解消す
るためになされたもので、クライアントプログラムの画
面イメージから、サーバプログラムとの通信を行う通信
部分やサーバプログラムの定型処理部分を生成すること
により、クライアントサーバ型プログラムの開発時間を
短縮し、サーバとクライアント双方で連携のとれたプロ
グラムを生成する通信モジュール生成装置を実現するこ
とを目的とする。The present invention has been made in order to solve the above problems, and generates a communication part for communicating with the server program and a routine processing part of the server program from the screen image of the client program. Thus, it is an object of the present invention to shorten the development time of a client-server type program and realize a communication module generation device that generates a program in which both the server and the client cooperate.
【0016】また、クライアントプログラム画面を見な
がら、通信に使用するトランザクション形式を定義する
通信情報ファイルを生成する通信情報ファイル生成装置
を実現することを目的とする。Another object of the present invention is to realize a communication information file generating device for generating a communication information file defining a transaction format used for communication while looking at the client program screen.
【0017】[0017]
【課題を解決するための手段】この発明に係る通信モジ
ュール生成装置は、第1の情報処理装置と第2の情報処
理装置を接続して通信処理を行う通信モジュールを生成
する通信モジュール生成装置において、以下の要素を備
えたことを特徴とする。 (a)上記第1の情報処理装置上で、通信処理を行う通
信処理部を備えた第1の通信モジュール、(b)上記第
2の情報処理装置上で、画面項目から構成された画面に
より及び所定の通信関数により上記第1の通信モジュー
ルとの通信処理を行う第2の通信モジュール、(c)上
記第2の通信モジュールの画面を構成する画面項目を定
義する画面定義情報を記憶する画面定義情報記憶手段、
(d)上記画面定義情報に対応して、上記第1の通信モ
ジュールと上記第2の通信モジュールの通信に用いる通
信項目を定義する通信情報を記憶する通信情報ファイ
ル、(e)上記通信情報ファイルを参照し、上記第2の
通信モジュールの通信関数を生成する通信関数生成手
段、(f)上記通信情報ファイルを参照し、上記第1の
通信モジュールの通信処理部を生成する通信処理生成手
段。A communication module generation apparatus according to the present invention is a communication module generation apparatus for connecting a first information processing apparatus and a second information processing apparatus to generate a communication module for performing communication processing. The following features are provided. (A) A first communication module including a communication processing unit that performs a communication process on the first information processing apparatus, and (b) a screen including screen items on the second information processing apparatus. And a second communication module that performs a communication process with the first communication module by a predetermined communication function, (c) a screen that stores screen definition information that defines screen items that configure the screen of the second communication module. Definition information storage means,
(D) A communication information file storing communication information defining communication items used for communication between the first communication module and the second communication module, corresponding to the screen definition information, (e) the communication information file Communication function generating means for generating the communication function of the second communication module, and (f) communication processing generating means for generating the communication processing section of the first communication module by referring to the communication information file.
【0018】上記通信モジュール生成装置は、さらに、
上記通信情報ファイルの通信情報をコメントとして取り
込み、そのコメントを上記通信関数及び上記通信処理部
の少なくともいづれかに付加するコメント付加手段を設
けたことを特徴とする。The communication module generation device further comprises:
It is characterized in that comment adding means is provided for taking in the communication information of the communication information file as a comment and adding the comment to at least one of the communication function and the communication processing unit.
【0019】上記通信モジュール生成装置は、さらに、
上記画面定義情報記憶手段に記憶された上記画面定義情
報を参照して上記通信情報ファイルを生成する通信情報
ファイル生成手段を備えたことを特徴とする。The communication module generation device further comprises:
It is characterized by further comprising communication information file generation means for generating the communication information file by referring to the screen definition information stored in the screen definition information storage means.
【0020】上記画面項目から構成された画面は、Wi
ndows(米国Microsoft Corpora
tionの商標)でサポートされるウィンドウであり、
上記画面定義情報記憶手段は上記画面項目を上記ウィン
ドウを構成するウィンドウ部品として定義して記憶する
ことを特徴とする。The screen composed of the above screen items is Wi
Windows (US Microsoft Corporation)
windows supported by
The screen definition information storage means is characterized in that the screen item is defined and stored as a window component forming the window.
【0021】この発明に係る通信情報ファイル設計装置
は、以下の要素を備えたことを特徴する。 (a)第1の情報処理装置上で、通信処理を行う通信処
理部を備えた第1の通信モジュール、(b)第2の情報
処理装置上で、画面項目から構成された画面により及び
所定の通信関数により上記第1の通信モジュールとの通
信処理を行う第2の通信モジュール、(c)上記第2の
通信モジュールの画面を構成する画面項目を定義する画
面定義情報をあらかじめ記憶する画面定義情報記憶手
段、(d)上記画面定義情報に対応して、上記第1の通
信モジュールと上記第2の通信モジュールの通信に用い
る通信項目を定義する通信情報を記憶する通信情報ファ
イル、(e)上記画面定義情報記憶手段に記憶された画
面定義情報を参照して、上記通信情報ファイルを生成す
る通信情報ファイル生成手段。The communication information file designing apparatus according to the present invention is characterized by including the following elements. (A) a first communication module including a communication processing unit that performs communication processing on the first information processing device; and (b) a screen configured of screen items on the second information processing device and a predetermined A second communication module that performs a communication process with the first communication module by the communication function of (c) a screen definition that stores screen definition information that defines screen items that configure the screen of the second communication module in advance. Information storage means, (d) a communication information file for storing communication information defining communication items used for communication between the first communication module and the second communication module, corresponding to the screen definition information, (e) Communication information file generating means for generating the communication information file by referring to the screen definition information stored in the screen definition information storage means.
【0022】上記画面定義情報記憶手段は、上記画面項
目に対応させて画面項目の属性を記憶し、上記通信情報
ファイル設計装置は、さらに、上記画面項目の属性を参
照して、上記通信情報に定義されている通信項目の妥当
性を判定する判定手段を備えたことを特徴とする。The screen definition information storage means stores the attribute of the screen item in association with the screen item, and the communication information file designing apparatus further refers to the attribute of the screen item to add the communication information to the communication information. It is characterized in that a determination means for determining the validity of the defined communication item is provided.
【0023】上記通信情報ファイルは上記通信情報とし
て上記第2の通信モジュールから上記第1の通信モジュ
ールに送信される上りトランザクションを定義すると共
に、上記画面項目の属性は上記画面項目の入出力の可否
を定義する入出力属性であり、上記判定手段は、上記送
信トランザクションを構成する上記通信項目に対応する
画面項目の入出力属性を用いて上記通信項目を判定する
ことを特徴とする。The communication information file defines an upstream transaction transmitted from the second communication module to the first communication module as the communication information, and the attribute of the screen item is input / output of the screen item. And the determination means determines the communication item by using the input / output attribute of the screen item corresponding to the communication item that constitutes the transmission transaction.
【0024】上記画面定義情報記憶手段は、上記画面項
目の繰り返しを定義する要素数を記憶し、上記通信情報
ファイル生成手段は上記要素数を用いて上記通信項目を
定義することを特徴とする。The screen definition information storage means stores the number of elements that define the repetition of the screen item, and the communication information file generation means defines the communication item using the number of elements.
【0025】上記通信情報ファイルは、上記通信情報に
対応するリクエストコードを上記通信情報と組み合わせ
て記憶し、上記通信情報ファイル設計装置は、さらに、
上記リクエストコードに対応する通信情報を構成する通
信項目に対応する画面項目を特殊表示する特殊表示手段
を備えたことを特徴とする。In the communication information file, a request code corresponding to the communication information is stored in combination with the communication information, and the communication information file designing device further comprises:
It is characterized by comprising special display means for specially displaying a screen item corresponding to a communication item constituting communication information corresponding to the request code.
【0026】上記特殊表示手段は、上記画面項目を所定
の条件により選択的に特殊表示することを特徴とする。The special display means is characterized in that the screen items are selectively displayed specially according to predetermined conditions.
【0027】上記通信情報ファイル設計装置は、さら
に、上記通信項目と上記画面項目の対応を検証し、検証
結果を表示する検証手段を備えたことを特徴とする。The communication information file designing device is characterized by further comprising a verification means for verifying the correspondence between the communication item and the screen item and displaying the verification result.
【0028】[0028]
実施の形態1.以下の実施の形態においては、クライア
ントサーバシステムを例にとって説明する。図1は、こ
の発明の通信モジュール生成装置を示す図である。この
発明の通信モジュール生成装置は、クライアント側アプ
リケーションの画面情報から、クライアント側アプリケ
ーション通信関数のソースファイルおよびサーバ側の通
信に関する定型処理部分ソースファイルを生成する処理
を行う。図において、1はクライアントマシン、2はサ
ーバマシン、3はクライアントアプリケーション、4は
サーバアプリケーション、6は通信モジュール生成装置
によって生成されるクライアント側アプリケーションの
通信関数、7は通信モジュール生成装置によって生成さ
れたサーバ側アプリケーションの通信に関する定型部分
である通信処理部のファイル、8はあらかじめ記憶され
た通信情報ファイル、9はクライアント画面上の通信部
品、10はクライアント画面上の入出力部品、11は通
信情報ファイルに記憶されるリクエストコードである。
100は、入出力部品からなる画面定義情報記憶手段で
ある。また、110は通信関数を生成する通信関数生成
手段、112はサーバアプリケーションの通信処理部7
を生成する通信処理生成手段、114はコメント付加手
段、116は通信情報ファイル8を生成する通信情報フ
ァイル生成手段、118は判定手段、120は特殊表示
手段、122は検証手段である。Embodiment 1. In the following embodiments, a client-server system will be described as an example. FIG. 1 is a diagram showing a communication module generation device of the present invention. The communication module generation device of the present invention performs a process of generating a source file of a client-side application communication function and a fixed-form processing partial source file related to server-side communication from screen information of a client-side application. In the figure, 1 is a client machine, 2 is a server machine, 3 is a client application, 4 is a server application, 6 is a communication function of a client side application generated by a communication module generation device, and 7 is generated by a communication module generation device. A file of a communication processing unit which is a fixed part for communication of server side application, 8 is a communication information file stored in advance, 9 is a communication component on the client screen, 10 is an input / output component on the client screen, and 11 is a communication information file. Is the request code stored in.
Reference numeral 100 denotes a screen definition information storage unit including input / output parts. Further, 110 is a communication function generating means for generating a communication function, and 112 is a communication processing unit 7 of the server application.
Is a communication processing generation unit, 114 is a comment addition unit, 116 is a communication information file generation unit that generates the communication information file 8, 118 is a determination unit, 120 is a special display unit, and 122 is a verification unit.
【0029】次に、図1を用いて全体の動作について説
明する。通信関数生成手段110はクライアントアプリ
ケーション3上の通信部品9と入出力部品10、リクエ
ストコード11を用いて、クライアントアプリケーショ
ン3とサーバアプリケーション4の通信規則を定義する
通信情報ファイル8を参照し、クライアントアプリケー
ション3上の通信部品9と入出力部品10、リクエスト
コード11の関連を付けるクライアント側アプリケーシ
ョンの通信関数6のソースコードを生成する。さらに、
通信処理生成手段112は、サーバ側アプリケーション
で定型処理となるクライアントアプリケーションとの通
信に関する通信処理部のファイル7をクライアントマシ
ン1上で生成する。アプリケーション開発者は生成され
た通信処理部のファイル7をサーバマシン2にファイル
転送してから必要なコードを付け足してサーバアプリケ
ーションを開発する。Next, the overall operation will be described with reference to FIG. The communication function generation means 110 refers to the communication information file 8 that defines the communication rules of the client application 3 and the server application 4 by using the communication component 9, the input / output component 10, and the request code 11 on the client application 3, and the client application 3 generates the source code of the communication function 6 of the client side application which associates the communication component 9 with the input / output component 10 and the request code 11 on the client 3. further,
The communication processing generation means 112 generates on the client machine 1 the file 7 of the communication processing unit relating to communication with the client application, which is a routine process in the server side application. The application developer transfers the generated file 7 of the communication processing unit to the server machine 2 and then adds a necessary code to develop the server application.
【0030】図2は、通信モジュール生成装置の操作画
面の概観図である。図において、12は通信モジュール
生成装置のメイン画面、13はリクエストコード入力エ
リア、14は上りトランザクション設計エリアでクライ
アントアプリケーションからサーバアプリケーションへ
の通信項目を定める上りトランザクションを設計しなが
ら、設計した上りトランザクションのイメージを表示す
る。15は下りトランザクション設計エリアでサーバア
プリケーションからクライアントアプリケーションへの
通信項目を定める下りトランザクションを設計しなが
ら、設計した下りトランザクションのイメージを表示す
る。16は追加ボタンで、これを押下することにより、
リクエストコード入力エリア13で指定されたリクエス
トコードと上りトランザクション設計エリア14で設計
された上りトランザクションの形式と下りトランザクシ
ョン設計エリア15で設計された下りトランザクション
の形式を通信情報ファイル8に追加する。通信情報ファ
イル8へのトランザクション形式の追加は、通信情報フ
ァイル生成手段116により行われる。17、18、1
9はメニュー項目である。図3は図2の17に示すメニ
ュー項目のプルダウンメニューであり、20は新しくモ
ジュール生成を行う場合の「新規作成」メニュー、21
は既に生成したモジュールを読み込む「開く」メニュ
ー、22は装置の「終了」を指定するメニューである。
図4は図2の18に示すメニュー項目のプルダウンメニ
ューであり、23はコードの「生成」を実行する項目で
ある。図5は図4の23を選択した場合のポップアップ
ウィンドウであり、24がサーバのモジュールのファイ
ル名を入力するサーバファイル名入力エリア、25がク
ライアントの通信モジュールのファイル名を入力するク
ライアントファイル名入力エリア、26が実行するため
のボタンである。FIG. 2 is a schematic view of an operation screen of the communication module generation device. In the figure, 12 is a main screen of the communication module generation device, 13 is a request code input area, and 14 is an upstream transaction design area, while designing an upstream transaction that defines communication items from the client application to the server application, Display the image. Reference numeral 15 denotes a downlink transaction design area, which displays an image of the designed downlink transaction while designing a downlink transaction that defines communication items from the server application to the client application. 16 is an add button. By pressing this,
The request code designated in the request code input area 13, the upstream transaction format designed in the upstream transaction design area 14 and the downstream transaction format designed in the downstream transaction design area 15 are added to the communication information file 8. The addition of the transaction format to the communication information file 8 is performed by the communication information file generating means 116. 17, 18, 1
9 is a menu item. 3 is a pull-down menu of the menu item 17 shown in FIG. 2, 20 is a "new creation" menu for newly creating a module, 21
Is an "open" menu for reading the already generated module, and 22 is a menu for designating "end" of the apparatus.
FIG. 4 is a pull-down menu of the menu items shown in 18 of FIG. 2, and 23 is an item for executing "generation" of the code. FIG. 5 is a pop-up window when 23 of FIG. 4 is selected. 24 is a server file name input area for inputting the file name of the server module, and 25 is a client file name input for inputting the file name of the communication module of the client. Area, 26 is a button for execution.
【0031】図6は、図1に示したクライアントアプリ
ケーション3が表示するクライアント画面27を示す図
である。この実施の形態においては、クライアント画面
はVisual Basicを用いて定義されているも
のとする。Visual Basicは、米国Micr
osoft Corporationの商標、Micr
osoftは、米国Microsoft Corpor
ationの登録商標である。図6において、131か
ら136及び140から146は画面上に表示する目的
のためにだけ使用されるラベルであり、231から23
6及び240から246に示すボックスは入出力に用い
られる項目である入出力部品であることを示している。
このラベル及び入出力部品はWindows(米国Mi
crosoftCorporationの商標)に対応
するウィンドウ部品であり、ウィンドウ部品の定義や振
る舞いを継承する。FIG. 6 is a diagram showing a client screen 27 displayed by the client application 3 shown in FIG. In this embodiment, it is assumed that the client screen is defined using Visual Basic. Visual Basic is the US Micr
Micr, a trademark of Soft Corporation
Microsoft is Microsoft Corporation of the United States
ation is a registered trademark. In FIG. 6, 131 to 136 and 140 to 146 are labels used only for the purpose of displaying on the screen, and 231-23.
The boxes 6 and 240 to 246 indicate input / output parts which are items used for input / output.
This label and input / output parts are compatible with Windows (US Mi
A window component corresponding to Microsoft Corporation) and inherits the definition and behavior of the window component.
【0032】図2〜図6を使用して通信情報ファイル生
成画面の操作を説明する。図6に示すクライアント画面
27を表示した状態で図2に示す通信モジュール生成装
置メイン画面12を起動し、リクエストコード入力エリ
ア13に所定のリクエストコードを入力し、14、15
の設計エリアで上りトランザクションと下りトランザク
ションをそれぞれを設計する。(クライアント画面27
からトランザクションを設計する手順については、実施
の形態3にて詳しく説明する。)設計が終了したら追加
ボタン16を押下する。前述したように、通信情報ファ
イルにはリクエストコードと上りトランザクション、下
りトランザクションの組み合わせを複数定義可能である
ので、13に次のリクエストコードを入力すると、1
4、15の画面がクリアされ、再び設計できる状態とな
る。必要な設計が終わったら、通信モジュールのコード
を生成する。通信モジュールのコードの生成は、図4の
23を選択することにより行う。図5でサーバファイル
名をサーバファイル名入力エリア24に、クライアント
ファイル名をクライアントファイル名入力エリア25に
入力して実行するためのボタン26を押下することによ
り、通信関数生成手段によりクライアント側アプリケー
ション通信関数6が生成され、通信処理生成手段により
サーバ側ソースファイルが生成される。The operation of the communication information file generation screen will be described with reference to FIGS. 2 is started with the client screen 27 shown in FIG. 6 being displayed, and a predetermined request code is entered in the request code input area 13, and 14, 15
Design upstream transactions and downstream transactions in the design area. (Client screen 27
The procedure for designing a transaction from 1 to 3 will be described in detail in the third embodiment. ) When the design is completed, the add button 16 is pressed. As described above, it is possible to define a plurality of combinations of request codes, upstream transactions, and downstream transactions in the communication information file.
The screens 4 and 15 are cleared, and the design is ready again. After the necessary design is completed, generate the communication module code. The code of the communication module is generated by selecting 23 in FIG. In FIG. 5, the server file name is input to the server file name input area 24, and the client file name is input to the client file name input area 25, and a button 26 for executing the command is pressed. The function 6 is generated, and the server-side source file is generated by the communication processing generation means.
【0033】図7は、クライアント側アプリケーション
通信関数6の構成図である。図において、11がリクエ
ストコード、28が通信部品の入力バッファ、29が通
信部品の出力バッファ、30が入出力部品に入力された
データ、31が入出力部品に出力されるデータを示す。
通信部品9では入力バッファ28に代入されたデータを
上りトランザクションとしてサーバアプリケーションに
通信し、サーバアプリケーションで処理した結果が出力
バッファ29に代入される。入力バッファ28のデータ
を上りデータ、出力バッファ29のデータを下りデータ
とも呼ぶ。通信を行う場合の入力バッファの形式は図2
の上りトランザクション設計エリア14で指定された形
式となり、出力バッファの形式は図2の下りトランザク
ションで指定された形式となる。上りトランザクショ
ン、下りトランザクションの各項目は、クライアントア
プリケーションにより表示される画面を構成する画面項
目であるウィンドウ部品のいずれかと一致するものであ
る。これについては、実施の形態3にて詳しく説明す
る。FIG. 7 is a block diagram of the client-side application communication function 6. In the figure, 11 is a request code, 28 is a communication component input buffer, 29 is a communication component output buffer, 30 is data input to an input / output component, and 31 is data output to an input / output component.
In the communication component 9, the data substituted in the input buffer 28 is communicated to the server application as an upstream transaction, and the result processed by the server application is substituted in the output buffer 29. The data in the input buffer 28 is also called upstream data, and the data in the output buffer 29 is also called downstream data. Figure 2 shows the format of the input buffer for communication.
2 is designated by the upstream transaction design area 14 and the format of the output buffer is designated by the downstream transaction of FIG. Each item of the upstream transaction and the downstream transaction corresponds to one of the window parts which are the screen items constituting the screen displayed by the client application. This will be described in detail in the third embodiment.
【0034】図8は、クライアント側アプリケーション
通信関数の動作の流れ図である。図9は、通信関数生成
手段により生成される通信関数のソースコードを示す図
である。図10は、通信情報ファイルのフォーマットを
示す図である。図10に示すように、通信情報ファイル
は、索引部301及びデータ部302から成っている。
索引部301は複数の索引情報303から成っている。
ひとつの索引情報303にはリクエストコード304、
上りメッセージの記憶位置をポイントする上りメッセー
ジポインタ305、下りメッセージの記憶位置をポイン
トする下りメッセージポインタ306、上りメッセージ
のブロック数である上りブロック数307、下りメッセ
ージのブロック数である下りブロック数308などを記
憶している。上りメッセージ定義情報310はブロック
長311、項目数312、項目情報313,314を記
憶している。同様に、下りメッセージ定義情報320は
ブロック長321、項目数322、項目情報323,3
24を記憶している。FIG. 8 is a flow chart of the operation of the client side application communication function. FIG. 9 is a diagram showing a source code of a communication function generated by the communication function generating means. FIG. 10 is a diagram showing the format of the communication information file. As shown in FIG. 10, the communication information file includes an index section 301 and a data section 302.
The index unit 301 is composed of a plurality of index information 303.
One index information 303 has a request code 304,
An upstream message pointer 305 that points to the storage position of the upstream message, a downstream message pointer 306 that points to the storage position of the downstream message, an upstream block number 307 that is the number of blocks of the upstream message, a downstream block number 308 that is the number of blocks of the downstream message, etc. I remember. The upstream message definition information 310 stores a block length 311, the number of items 312, and item information 313 and 314. Similarly, the downlink message definition information 320 includes block length 321, item number 322, item information 323, 3
Remember 24.
【0035】図8の流れ図に従って説明する。S1で通
信部品9の属性としてリクエストコード11を指定し、
S2で上りトランザクションの項目数NUを得る。上り
トランザクションの項目数NUは図10に示す項目数3
12から得られる。これは通信部品9の入力バッファの
項目数と同じである。S3〜S6で上りトランザクショ
ンの0番目の項目からNU−1番目まで全ての項目につ
いて、トランザクション項目とマッチングするクライア
ント画面上のウィンドウ部品に代入されているデータを
通信部品の入力部品のバッファの各項目に代入し、上り
データを作成する。S7でサーバと通信を行って通信部
品9の出力バッファに下りデータを得る。S8で下りト
ランザクションの項目数NDを得る。下りトランザクシ
ョンの項目数NDは図10に示す項目数322を参照す
ることにより得られる。S9〜S12で下りトランザク
ションの0番目の項目からND−1番目まで全ての項目
について、トランザクション項目とマッチングするクラ
イアント画面上のウィンドウ部品に出力バッファの項目
のデータを代入する。A description will be given according to the flow chart of FIG. In S1, the request code 11 is specified as the attribute of the communication component 9,
In S2, the number NU of items of upstream transactions is obtained. The number of items NU of the upstream transaction is the number of items 3 shown in FIG.
12 obtained. This is the same as the number of items in the input buffer of the communication component 9. In S3 to S6, for all items from the 0th item to the NU-1st item of the upstream transaction, the data assigned to the window component on the client screen that matches the transaction item is the item in the buffer of the input component of the communication component. To create upstream data. In step S7, communication with the server is performed and downlink data is obtained in the output buffer of the communication component 9. In S8, the number of items ND of the downlink transaction is obtained. The item number ND of the downlink transaction can be obtained by referring to the item number 322 shown in FIG. In S9 to S12, for all items from the 0th item to the ND-1th item of the downstream transaction, the item data of the output buffer is substituted into the window component on the client screen that matches the transaction item.
【0036】以上のように、通信関数生成手段は、図8
に示した流れ図に従って通信部品9の入力バッファへの
データの設定および出力バッファの入出力部品へのデー
タの設定の部分の処理を行うクライアント側アプリケー
ション通信関数を生成する。As described above, the communication function generating means is shown in FIG.
According to the flow chart shown in FIG. 5, a client-side application communication function that performs processing of setting data in the input buffer of the communication component 9 and setting data in the input / output component of the output buffer is generated.
【0037】図11は、サーバアプリケーション処理の
流れを示す流れ図である。32の部分がサーバアプリケ
ーションにおける定型処理の部分である。サーバアプリ
ケーションではプログラムを起動するとクライアントか
らの要求を受け入れるための準備を初期処理(S13)
で行う。S14でクライアントからの上りトランザクシ
ョンを受けて、リクエストコード11により処理を振り
分ける。リクエストコードが終了の場合はS15に示す
サーバアプリケーションの終了処理を行い、リクエスト
コードとしてエラーの場合はエラー処理(S16)を行
い、その他の場合は、S17で各リクエストコードに対
応した処理を行ってから、S18でクライアントプログ
ラムに下りメッセージを送る。各リクエストコードに対
応した処理はアプリケーション独自なものであるので、
その部分は非定型処理となっており、通信処理生成手段
の生成対象外である。FIG. 11 is a flow chart showing the flow of server application processing. The part 32 is a part of routine processing in the server application. In the server application, when the program is started, the preparation for accepting the request from the client is initialized (S13).
Do with. In step S14, the process is sorted by the request code 11 upon receiving the upstream transaction from the client. If the request code is terminated, the server application termination processing shown in S15 is performed. If the request code is an error, error processing (S16) is performed. In other cases, the processing corresponding to each request code is performed in S17. Sends a down message to the client program in S18. Since the processing corresponding to each request code is unique to the application,
That part is an atypical process and is outside the generation target of the communication process generation means.
【0038】図12及び図13に、サーバアプリケーシ
ョンのサンプルリストを示す。図12及び図13に示す
サンプルプログラムは、プログレスIIという言語でコー
ディングされている。図12において、350はクライ
アントプログラムとの接続を行う部分である。352は
クライアントアプリケーションからの上りメッセージを
受け取る部分である。354はリクエストコードにより
処理を振り分ける部分である。356は結果を返す処理
を記述する部分である。また、図13に示す358,3
62,366,370はリクエストコードに対応する処
理のサブルーチンの作成が必要なことを示す記述であ
る。357、361、365、369は、後述する実施
の形態2で説明するコメント文である。また、360,
364,368は通信処理生成手段の生成対象外であ
り、後程コーディングが必要と成るサブルーチンの位置
を示している。なお、図12及び図13に示すサーバア
プリケーションのサンプルプログラムはサーバアプリケ
ーションの構造を説明するためのものであり、この実施
の形態で示しているクライアント画面に対応する処理を
行うものではない。また、プログレスII以外の言語でコ
ーディングされるサーバアプリケーションに、この発明
を適用しても構わない。12 and 13 show sample lists of server applications. The sample programs shown in FIGS. 12 and 13 are coded in a language called progress II. In FIG. 12, reference numeral 350 is a part for connecting with the client program. Reference numeral 352 is a portion for receiving an upstream message from the client application. Reference numeral 354 is a portion for allocating the processing according to the request code. Reference numeral 356 is a part that describes a process of returning a result. In addition, 358 and 3 shown in FIG.
Reference numerals 62, 366 and 370 are descriptions indicating that it is necessary to create a subroutine for processing corresponding to the request code. Reference numerals 357, 361, 365, and 369 are comment statements described in Embodiment 2 described later. Also, 360,
Reference numerals 364 and 368 indicate positions of subroutines that are outside the generation target of the communication processing generation means and need to be coded later. The sample program of the server application shown in FIGS. 12 and 13 is for explaining the structure of the server application, and does not perform the processing corresponding to the client screen shown in this embodiment. Further, the present invention may be applied to a server application coded in a language other than Progress II.
【0039】図14にサーバ側定型処理部分のソースコ
ード生成の流れ図を示す。まず、S19において、通信
情報ファイルの情報を解析し、解析した情報によりクラ
イアントプログラムとの接続処理(図12の350に対
応)をソースファイルに記述する(S20)。次にS2
1でクライアントアプリケーションとの接続である上り
メッセージの受取処理(図12の352に対応)をソー
スファイルに追加し、S22でリクエストコードごとの
振り分け処理の部分(図12の354に対応)をループ
文で記述したものをソースファイルに追加する。この場
合、リクエストコードは通信情報ファイルにあるもの全
てとあらかじめ決められている終了コードで、それ以外
はエラーとみなす。次にS23でクライアントアプリケ
ーションに結果を返す処理(図12の356に対応)を
ソースファイルに追加し、S24でクライアントプログ
ラムとの切断処理(図示しない)をソースファイルに追
加する。次に、S25でサブルーチン処理として各リク
エストコードごとの処理の入り口の部分(図13の35
9,363,367に対応)、終了処理を行うサブルー
チン(図13の367に対応)とエラー処理(図13の
371に対応)を行うサブルーチンをソースファイルに
記述する。FIG. 14 shows a flow chart of the source code generation of the server side routine processing part. First, in S19, the information in the communication information file is analyzed, and the connection process with the client program (corresponding to 350 in FIG. 12) is described in the source file based on the analyzed information (S20). Next, S2
In step 1, an upstream message reception process (corresponding to 352 in FIG. 12) that is a connection with the client application is added to the source file, and in S22, a part of the distribution process for each request code (corresponding to 354 in FIG. 12) is a loop statement. Add the one described in to the source file. In this case, the request code is an end code that is predetermined for all those in the communication information file, and any other code is regarded as an error. Next, in S23, the process of returning the result to the client application (corresponding to 356 in FIG. 12) is added to the source file, and in S24, the disconnection process with the client program (not shown) is added to the source file. Next, in S25, as a subroutine process, the entrance of the process for each request code (35 in FIG. 13).
9, 363, 367), a subroutine for performing termination processing (corresponding to 367 in FIG. 13) and a subroutine for performing error processing (corresponding to 371 in FIG. 13) are described in the source file.
【0040】以上のように、定型処理の部分のソースプ
ログラムを自動生成することにより、アプリケーション
開発者はサーバ側アプリケーションについては独自の部
分のソースプログラムだけを記述するだけでプログラム
を生成することができる。なお、この実施の形態におい
ては、クライアントアプリケーションおよびサーバアプ
リケーションがソフトウェアであり、通信関数生成手段
及び通信処理生成手段は、ソースコードを生成する場合
について説明したが、ハードウェアで同様の機能を実現
する構成としても構わない。あるいは、ファームウェア
を生成する構成としても構わない。また、これらを組み
合せて実施しても構わない。As described above, by automatically generating the source program of the routine processing part, the application developer can generate the program by only describing the source program of the original part for the server side application. . In this embodiment, the client application and the server application are software, and the communication function generating means and the communication processing generating means generate the source code. However, the same function is realized by hardware. It may be configured. Alternatively, it may be configured to generate firmware. Moreover, you may implement combining these.
【0041】実施の形態2.本実施の形態では、実施の
形態1で説明したサーバアプリケーションの定型処理で
ある通信処理部分ソースプログラム生成において、コメ
ント文を付加する場合の例について記述する。また、ク
ライアントアプリケーションの通信関数生成において、
コメント文を付加する場合についても述べる。基本的な
処理は実施の形態1と同様であるので、実施の形態1と
異なる部分について記述する。Embodiment 2 In the present embodiment, an example will be described in which a comment sentence is added in the communication processing partial source program generation which is the routine processing of the server application described in the first embodiment. Also, in the communication function generation of the client application,
The case of adding a comment sentence is also described. Since the basic processing is the same as that of the first embodiment, only the parts different from the first embodiment will be described.
【0042】ソースプログラムには、コメントを挿入す
ることによりプログラマの理解が容易になり、ソースプ
ログラムの保守性が高まる。クライアント側通信関数の
生成において、図8のS4の処理の時に通信部品9の上
りトランザクションの項目について、項目名、データタ
イプ、長さをコメント文として記述する。図9の150
により上りトランザクションのコメント文を示す。同様
に、図8のS10で、下りトランザクションの項目につ
いて、図9の151に示すように項目名、データタイ
プ、長さをコメント文として記述する。また、S7で通
信するためのコードを付加する時にリクエストコードの
コメントを生成することにより、通信関数としての可読
性が向上する。サーバアプリケーションの定型処理部分
ソースプログラム生成においては、図14のS19〜S
25のそれぞれにおいてコメント文を挿入する。図12
の349は、図14のS20に対応するコメント部であ
る。同様に、351はS21に、353はS22に、3
55はS23にそれぞれ対応するコメント文である。ま
た、図13の357,361,365,369は、図1
4のS25に対応するコメント文である。By inserting a comment in the source program, the programmer can easily understand and the maintainability of the source program is improved. In the generation of the client-side communication function, the item name, the data type, and the length of the upstream transaction item of the communication component 9 are described as a comment statement at the time of the process of S4 of FIG. 150 of FIG.
Indicates the comment text of the upstream transaction. Similarly, in S10 of FIG. 8, the item name, the data type, and the length of the item of the downlink transaction are described as a comment statement as shown in 151 of FIG. Further, by generating the comment of the request code when adding the code for communication in S7, the readability as a communication function is improved. In the routine processing partial source program generation of the server application, S19 to S in FIG.
A comment sentence is inserted in each of 25. FIG.
349 is a comment part corresponding to S20 of FIG. Similarly, 351 to S21, 353 to S22, 3
55 is a comment sentence corresponding to S23, respectively. Further, 357, 361, 365 and 369 in FIG.
It is a comment sentence corresponding to S25 of 4.
【0043】このように、コメント文を挿入するとによ
り、プログラムの流れがつかみやすくなる。また、定型
処理部分と非定型処理部分の区別が明らかとなり、プロ
グラムの修正や変更を行う場合にも修正箇所がわかり易
く開発効率が高まる。By thus inserting the comment sentence, it becomes easy to grasp the flow of the program. Further, the distinction between the routine processing portion and the non-routine processing portion becomes clear, and even when the program is modified or changed, the modified portion is easy to understand and the development efficiency is improved.
【0044】実施の形態3.本実施の形態では、まず、
サーバアプリケーションとクライアントアプリケーショ
ンとが連携して動作するための通信規則である通信情報
ファイルの形式について説明する。また、この実施の形
態では、アプリケーションが表示する画面を構成する画
面項目がウィンドウを構成するウィンドウ部品であり、
マイクロソフト株式会社製のMicrosoft Vi
sual Basicを用いて画面定義を行う場合につ
いて説明する。Embodiment 3. In the present embodiment, first,
The format of the communication information file which is the communication rule for the server application and the client application to operate in cooperation with each other will be described. In addition, in this embodiment, the screen items that configure the screen displayed by the application are window components that configure the window,
Microsoft Vis made by Microsoft Corporation
A case where screen definition is performed using dual Basic will be described.
【0045】図15に通信情報ファイルの構成図を示
す。33が図2の14で設計した上りトランザクショ
ン、34が図2の15で設計した下りトランザクション
である。1つのリクエストコードに対し、上りトランザ
クションと下りトランザクションを対として指定するこ
とが必要であり、通常、通信情報ファイルは対となった
情報が1つあるいは複数含まれているファイルである。FIG. 15 shows the structure of the communication information file. Reference numeral 33 is an upstream transaction designed in 14 of FIG. 2, and 34 is a downstream transaction designed in 15 of FIG. It is necessary to specify the upstream transaction and the downstream transaction as a pair with respect to one request code, and normally, the communication information file is a file including one or a plurality of paired information.
【0046】図16及び図17は、クライアントアプリ
ケーションの画面に表示される画面項目と、上りトラン
ザクション,下りトランザクションの各項目との対応を
示す図である。図16及び図17は、上りトランザクシ
ョン,下りトランザクションの各項目の画面項目に用い
られている形式がクライアント画面のウィンドウ部品の
属性から設計されていることを表している。トランザク
ションは1つ以上の項目に分かれており、各項目の情報
として、項目名、データタイプ、データ長などがある。
図16において、上りトランザクションの最初の項目は
項目名がFLDKNUMで、データタイプが数値を表す
9タイプ、長さ(データ長)が8となっている。これは
クライアント画面6上で名前がFLDKNUM、9タイ
プデータを扱う8バイトまで入力できる入出力部品23
1の属性から設計されたものである。16 and 17 are diagrams showing the correspondence between screen items displayed on the screen of the client application and each item of the upstream transaction and the downstream transaction. 16 and 17 show that the format used for the screen item of each item of the upstream transaction and the downstream transaction is designed from the attribute of the window component of the client screen. A transaction is divided into one or more items, and information of each item includes an item name, a data type, a data length, and the like.
In FIG. 16, the first item of the upstream transaction has an item name of FLDKNUM, a data type of 9 types indicating a numerical value, and a length (data length) of 8. This is an input / output component 23 that can input up to 8 bytes that handles 9 types of data with the name FLDKNUM on the client screen 6.
It is designed from the attributes of 1.
【0047】図18及び図19は、図16に示すクライ
アント画面6の画面項目の定義情報の一部を示す図であ
る。図において、152及び160〜164はウィンド
ウ部品の種類を表す。152はラベル(Label)を
表しており、クライアント画面6の会員番号131に対
応するウィンドウ部品(Label)の名称が、図18
に示す153Label1である。このLabel1と
いうウィンドウ部品には154に示すように「会員番
号」という文字が表示されるという定義を示している。
図19に示す160〜164のFldBoxは単項目入
出力部品というウィンドウの種類を表している。クライ
アント画面6の画面項目231に対応するウィンドウ名
は、FLDKNUM172であり、174は、FLDK
NUM172が9タイプデータを扱う8バイトの長さを
持つウィンドウ部品であることを示している。同様に、
画面項目233,235についても項目の定義がなされ
ており、この定義情報を用いて通信情報ファイルの上り
トランザクション定義がなされる。すなわち、画面項目
231の属性が上りトランザクション通信項目380の
属性となり、画面項目233,235の属性が通信項目
382,384の属性として設計される。同様に、画面
項目232,234,236の属性を用いて図17に示
す下りトランザクションの通信項目390,392,3
94の属性がそれぞれ設計される。18 and 19 are views showing a part of the definition information of the screen items of the client screen 6 shown in FIG. In the figure, reference numerals 152 and 160 to 164 represent the types of window parts. Reference numeral 152 denotes a label, and the name of the window component (Label) corresponding to the member number 131 on the client screen 6 is as shown in FIG.
153 Label1 shown in FIG. As shown in 154, this window component called Label1 indicates that the characters "membership number" are displayed.
FldBoxes 160 to 164 shown in FIG. 19 represent window types called single item input / output components. The window name corresponding to the screen item 231 of the client screen 6 is FLDKNUM172, and 174 is FLDK.
It indicates that the NUM 172 is a window component having a length of 8 bytes that handles 9 type data. Similarly,
Items are also defined for the screen items 233 and 235, and the upward transaction definition of the communication information file is made using this definition information. That is, the attribute of the screen item 231 becomes the attribute of the upstream transaction communication item 380, and the attribute of the screen items 233 and 235 is designed as the attribute of the communication items 382 and 384. Similarly, using the attributes of the screen items 232, 234, 236, the communication items 390, 392, 3 of the downlink transaction shown in FIG.
Each of the 94 attributes is designed.
【0048】このように、クライアント画面の画面項目
の定義をWindowsに対応するウィンドウ部品を用
いて行うことにより、ウィンドウ部品としてシステム
(Windows)であらかじめ用意されている属性を
利用して画面を設計したり、あるいは画面を構成してい
る画面項目に対応する通信項目の定義を行うことができ
る。それにより、画面を構成する項目のひとつひとつの
属性をアプリケーションの設計者が設計する必要がなく
なり、また、設計のためのルールを定めたりする必要が
なくなる。ウィンドウ部品の属性の保持方法は、ウィン
ドウ部品の種類によって少しずつ異なり、トランザクシ
ョンの項目の設計においてウィンドウ部品の属性からト
ランザクションの各項目を設計したり、クライアント画
面より設計したトランザクションの情報から通信関数を
生成する場合に、ウィンドウ部品の種類が何であるかを
考慮する必要がある。また、後述する表形式入出力部品
においても入出力部品かどうかの判断のために必要とな
る。さらに、後述する通信情報ファイルの再利用の場合
にウィンドウ部品の情報を利用することができる。その
ため、通信情報ファイルに記憶する情報として、ウィン
ドウ部品の種類を加えることに有効性が生じる。As described above, by defining the screen item of the client screen by using the window component corresponding to Windows, the screen is designed by using the attribute prepared in advance in the system (Windows) as the window component. Alternatively, it is possible to define communication items corresponding to the screen items that form the screen. This eliminates the need for the application designer to design each attribute of each item that configures the screen, and also eliminates the need to set rules for design. The method of retaining the attributes of window parts varies slightly depending on the type of window part.When designing the items of a transaction, you can design each item of the transaction from the attributes of the window part, or from the client screen to specify the communication function from the transaction information designed. When creating, it is necessary to consider what kind of window part is. Further, the tabular input / output parts to be described later are also required to determine whether or not the input / output parts are input / output parts. Further, the window component information can be used in the case of reusing the communication information file described later. Therefore, it is effective to add the type of window component as the information stored in the communication information file.
【0049】次に、通信情報ファイルを生成する通信情
報ファイル生成手段について説明する。Next, the communication information file generating means for generating the communication information file will be described.
【0050】図20は、クライアント画面6のウィンド
ウ部品をマウスでドラッグして上りトランザクション設
計エリア14上でドロップすることにより、通信情報フ
ァイル生成手段を用いて、トランザクション設計をおこ
なっている様子を表している。231はトランザクショ
ンの項目の属性を設定するためのクライアント画面上の
ウィンドウ部品、36はウィンドウ部品をドラッグして
いることを示す矩形である。図21に通信情報ファイル
生成手段によるトランザクション設計処理のフローチャ
ートを示す。S26で図20の13にリクエストコード
を指定する。S27でクライアント画面からウィンドウ
部品231を選択し、S28で入出力部品であるかどう
かを判断する。入出力部品であるかどうかは、S27で
選択した部品の種類を見て判断する。例えば、FldB
oxは入出力部品である。また、マウスクリックを受け
付けるためのボタンコントロールの場合には、入出力部
品ではないので、S29でドラッグしないでウィンドウ
部品が選択されていない状態となり、再びS27にもど
る。S28で入出力部品であると判断された場合には、
その部品をドラッグし、クライアント画面6上のウィン
ドウ部品231のように他のウィンドウ部品とは区別し
た状態で表示する。ドラッグした状態でマウスを動かす
と、メイン画面12の内部にマウスカーソルがある場合
には36のような矩形が表示され、マウスカーソルと一
緒に動く。14または15のウィンドウ上で矩形をドロ
ップすると、S31、S32のチェックを受けてから、
S33でトランザクションの項目が設定される。S3
1、S32の処理については、実施の形態4で説明す
る。トランザクションの項目には、ウィンドウ部品の種
類、項目名、項目名称、扱うデータの種類、データの最
大長が設定され、表示が更新される。項目名と項目名称
はウィンドウ部品の名前と同じものが設定され、扱うデ
ータの種類とデータの最大長はウィンドウ部品の種類と
それぞれの属性より得られた情報が設定される。例え
ば、前述したように、380の項目名は、ウィンドウ部
品231の項目名を図19の172を参照して得る。た
だし、ウィンドウ部品の種類と項目名称については、1
4、15には表示しない。項目を続けて設計する場合に
は、S34からS27の処理に戻る。上りトランザクシ
ョンと下りトランザクションの両方が設計されたことを
確認したら、S35に進んで、さらに別のリクエストコ
ードに対するトランザクションの設計を行う場合には、
S26の処理に戻る。FIG. 20 shows a state in which a transaction design is performed using the communication information file generating means by dragging the window component of the client screen 6 with the mouse and dropping it in the upstream transaction design area 14. There is. Reference numeral 231 is a window component on the client screen for setting the attribute of the transaction item, and 36 is a rectangle indicating that the window component is being dragged. FIG. 21 shows a flowchart of the transaction design process by the communication information file generating means. In S26, the request code is designated in 13 of FIG. In S27, the window component 231 is selected from the client screen, and in S28, it is determined whether or not it is an input / output component. Whether or not it is an input / output component is determined by looking at the type of component selected in S27. For example, FldB
ox is an input / output component. Further, in the case of a button control for accepting a mouse click, since it is not an input / output component, the window component is not selected without dragging in S29, and the process returns to S27 again. If it is determined in S28 that the component is an input / output component,
The component is dragged and displayed in a state of being distinguished from other window components such as the window component 231 on the client screen 6. When the mouse is moved in the dragged state, when the mouse cursor is inside the main screen 12, a rectangle such as 36 is displayed and moves together with the mouse cursor. If you drop a rectangle on the window of 14 or 15, after checking S31 and S32,
In S33, the transaction item is set. S3
The processing of 1 and S32 will be described in the fourth embodiment. The type of window component, the item name, the item name, the type of data to be handled, and the maximum length of data are set in the transaction item, and the display is updated. The item name and the item name are set to be the same as the name of the window component, and the type of data to be handled and the maximum length of the data are set to the type of the window component and information obtained from each attribute. For example, as described above, for the item name of 380, the item name of the window component 231 is obtained by referring to 172 of FIG. However, regarding the types of window parts and item names,
Not displayed on 4 and 15. When designing items continuously, the process returns from S34 to S27. When it is confirmed that both the upstream transaction and the downstream transaction are designed, the process proceeds to S35, and in the case of designing the transaction for another request code,
The process returns to S26.
【0051】ウィンドウ部品をドロップする位置は1
4、15内のいずれの位置でもよく、既に設定されてい
る項目上でドロップした場合には、その項目の前に新し
く設計した項目を挿入し、既に設定されている全ての項
目の右側でドロップした場合には新しい項目の追加とな
る。The position where the window component is dropped is 1
If you drop it on any item already set, you can insert the newly designed item before that item and drop it on the right side of all already set items. If you do, a new item will be added.
【0052】以上のように、この発明の通信情報ファイ
ル生成手段によれば、クライアント画面上のウィンドウ
部品をドラッグしてトランザクション設計エリア上でド
ロップすることにより、トランザクションの項目を設計
し、設計した情報を画面上に表示して確認を行うことに
より、マウス操作だけで、クライアント画面と一致した
トランザクションの設計を対話的に行うことができる。As described above, according to the communication information file generating means of the present invention, the transaction item is designed and designed by dragging the window component on the client screen and dropping it on the transaction design area. By displaying on the screen and confirming it, it is possible to interactively design a transaction that matches the client screen by only operating the mouse.
【0053】実施の形態4.本実施の形態では、実施の
形態3で説明した入出力部品からトランザクションの形
式を設計する場合に、入出力部品の種類と属性、トラン
ザクションの種類よりエラーチェックを行う判定手段に
ついて説明する。Embodiment 4 In the present embodiment, when designing a transaction format from the input / output components described in the third embodiment, a determination means for performing an error check based on the types and attributes of the input / output components and the transaction types will be described.
【0054】図22に、入出力部品の属性の一例を示
す。入出力部品には、他のウィンドウ部品と共通の属性
と部品独自の属性がある。図22の例の場合には、共通
の属性として、37の背景色など部品の個々の属性や、
38のタブオーダのように他の部品と関連した属性があ
る。次に、部品独自の属性として、例えば、扱うデータ
の種類と長さを設定するウィンドウ属性40や、入出力
タイプ41、それ以外の独自な属性42がある。入出力
タイプ41は、キーボードからのデータ入力とプログラ
ムによる出力が可能な入出力と、プログラムによる出力
のみが可能な出力専用とを選択するものである。その他
の独自な属性42としては、例えば、数値データを出力
する場合に、1000を¥1,000と表示する等、編
集表示に関する属性がある。FIG. 22 shows an example of attributes of input / output parts. The input / output parts have attributes common to other window parts and attributes unique to the parts. In the case of the example in FIG. 22, as common attributes, individual attributes of parts such as the background color of 37,
There are attributes associated with other parts, such as the 38 tab order. Next, as attributes unique to the part, there are, for example, a window attribute 40 for setting the type and length of data to be handled, an input / output type 41, and other unique attributes 42. The input / output type 41 selects input / output capable of data input from a keyboard and output by a program, and output-only capable of output only by a program. Other unique attributes 42 include attributes relating to edit display, such as displaying 1000 as ¥ 1,000 when outputting numerical data.
【0055】上りトランザクションはクライアントアプ
リケーションからサーバアプリケーションへの通信であ
り、クライアント画面で入力されたデータをサーバへ送
るためのものである。41で出力専用が設定されている
入出力部品は、クライアント画面でキーボードからの入
力ができないため、上りトランザクションのための部品
としては不適切である。また、同じ理由で、ラベルコン
トロールのようにキーボードからの入力を受け付けず、
出力のためにのみ用意されている部品も、上りトランザ
クションのための部品としては不適切である。そこで、
上りトランザクション設計エリア上で入出力部品がドロ
ップされた場合に、その部品からトランザクションを設
計してよいかどうかをチェックする必要がある。The upstream transaction is a communication from the client application to the server application, and is for sending the data input on the client screen to the server. The input / output component for which the output only is set in 41 cannot be input from the keyboard on the client screen, and is therefore inappropriate as a component for upstream transactions. Also, for the same reason, like the label control, it does not accept input from the keyboard,
A component prepared only for output is also inappropriate as a component for upstream transactions. Therefore,
When an input / output component is dropped on the upstream transaction design area, it is necessary to check whether the transaction can be designed from that component.
【0056】図23に、項目設定時に判定手段が行うエ
ラーチェックのフローチャートを示す。上りトランザク
ション設計エリアで入出力部品がドロップされた場合に
は、S36で部品の種類をチェックする。部品の種類が
ラベルコントロールの場合は、出力専用であるので上り
トランザクションの項目として適切でないと判断する。
また、テキストコントロールは入出力タイプに関する属
性がないため適切であると判断する。HPCFLD.VBX、HPCF
IELD.VBXは単項目の入出力部品であり、図22に示す特
性を持つ。この場合には、S37で入出力タイプの属性
で出力専用が設定されている場合には不適切であると判
断する。HPCSHT.VBXは項目の繰り返しがある表形式の入
出力部品であり、各列ごとに属性が設定されている。全
ての列の入出力タイプに関する属性で出力専用が設定さ
れている場合には、部品上のどの項目に対してもキーボ
ードのデータが入力できないため、上りトランザクショ
ンの項目としては不適切であると判断する。FIG. 23 shows a flowchart of the error check performed by the judging means when setting the item. If an input / output component is dropped in the upstream transaction design area, the type of component is checked in S36. If the type of component is label control, it is determined that it is not appropriate as an item for upstream transactions because it is for output only.
In addition, the text control has no attribute related to the input / output type, so it is determined to be appropriate. HPCFLD.VBX, HPCF
IELD.VBX is a single-item input / output component and has the characteristics shown in FIG. In this case, it is determined to be inappropriate when the output only is set in the input / output type attribute in S37. HPCSHT.VBX is a tabular input / output component with repeating items, and attributes are set for each column. If output-only is set in the input / output type attribute of all columns, keyboard data cannot be input to any item on the part, so it is determined to be inappropriate as an upstream transaction item. To do.
【0057】以上のように、判定手段によりトランザク
ションの種類と入出力部品の種類・属性からトランザク
ション設計時にエラーチェックすることにより、正しい
トランザクションを設計して意味のないデータをサーバ
アプリケーションに送ることを防ぐことができ、アプリ
ケーションの開発効率と実効時の通信効率を高めるため
にも効果的である。As described above, the determination unit checks the error based on the transaction type and the type / attribute of the input / output component at the time of designing the transaction, thereby preventing a correct transaction from being designed and sending meaningless data to the server application. It is also effective for improving application development efficiency and effective communication efficiency.
【0058】実施の形態5.本実施の形態では、実施の
形態3で説明した入出力部品からトランザクションの形
式を設計する場合に項目の繰り返しがある表形式の入出
力部品からトランザクションの項目の繰り返しを定義し
た配列型構造体データを設計する場合の通信情報ファイ
ル生成手段の動作について説明する。Embodiment 5 FIG. In the present embodiment, array type structure data that defines repetition of transaction items from a tabular input / output component that has repetition of items when designing a transaction format from the input / output components described in the third embodiment. The operation of the communication information file generating means when designing the above will be described.
【0059】図24及び図25は、クライアント画面上
の表形式の入出力部品からトランザクションを設計した
場合のトランザクションの一例を示している。43は表
形式の入出力部品で、44が設計されたトランザクショ
ンである。トランザクションにおいて45、46の項目
は47の一部として設計される。47、48を親項目、
45、46を子項目と呼ぶ。図26は図24に示すクラ
イアント画面1006の定義情報の一部を示す図であ
る。図において、470はウィンドウ部品の種類がRP
C(通信用)であることを表している。また、472は
ウィンドウ部品の種類がSHT(表形式)であることを
示している。474はウィンドウ部品の種類がFldB
ox(単項目)の入出力部品であることを示している。24 and 25 show an example of a transaction when a transaction is designed from a tabular input / output component on the client screen. Reference numeral 43 is a tabular input / output component, and 44 is a designed transaction. 45, 46 items in a transaction are designed as part of 47. 47 and 48 are parent items,
45 and 46 are called child items. FIG. 26 is a diagram showing a part of the definition information of the client screen 1006 shown in FIG. In the figure, 470 is the type of window component RP
It represents C (for communication). Further, 472 indicates that the type of window component is SHT (tabular format). 474 has a window component type of FldB
It indicates that it is an input / output component of ox (single item).
【0060】図24及び図25において、表形式の入出
力部品43からトランザクションの項目を設計する操作
について説明する。表形式の入出力部品43は、m行n
列からなる表形式であるとする。表形式の入出力部品4
3をマウスでドラッグしてトランザクション設計エリア
上でドロップすると、表形式の入出力部品43の1行目
447の属性からトランザクション項目47が設計され
る。1列目445の属性からトランザクション項目47
の1番目の子項目45が設計され、2列目446の属性
からトランザクション項目47の2番目の子項目46が
設計される。表形式の入出力部品のn列目までが同様に
して設計される。さらに表形式の入出力部品43の各行
に対して同じ操作が繰り返される。従ってm回繰り返さ
れることにより、表形式の入出力部品43から全てのト
ランザクション項目が設計される。24 and 25, the operation of designing transaction items from the tabular input / output component 43 will be described. The tabular input / output component 43 has m rows and n
Suppose it is a tabular format with columns. Tabular input / output parts 4
When 3 is dragged with the mouse and dropped on the transaction design area, the transaction item 47 is designed from the attributes of the first line 447 of the tabular input / output component 43. Transaction item 47 from the attribute of the first column 445
The first child item 45 of the transaction item 47 is designed, and the second child item 46 of the transaction item 47 is designed from the attribute of the second column 446. Similarly, up to the nth column of the tabular input / output parts are designed. Further, the same operation is repeated for each row of the tabular input / output component 43. Therefore, by repeating m times, all transaction items are designed from the tabular input / output component 43.
【0061】図27に、表形式の入出力部品からトラン
ザクションの項目を設計する場合のフローチャートを示
す。まず、S39でクライアント画面よりマウスのドラ
ッグ&ドロップ操作で表形式の入出力部品をトランザク
ションの項目として選択し、入出力部品の属性として設
定されている名前(図26の473)からトランザクシ
ョンの項目名(図25の73,74,75)を得る。S
40で表形式入出力部品の属性として設定されている行
数(図26の480)と列数(図26の476)を得
る。Yは親項目に対する子項目の番号とする。図26の
478は各行の詳細情報は別ファイルとして記述されて
いることを示している。表形式の入出力部品の各要素の
定義は、図19に示した単項目の入出力部品の定義と同
様に各要素の定義の詳細が記述されている。S41以降
の処理についてはこの詳細が記述されている別ファイル
を参照して行われる。S41で最初の行が表のラベルと
して固定の項目で設定されている場合には、最初の行は
トランザクションの項目とはしないため、S42で1行
目から処理を開始することを指定する。最初の行がラベ
ルでない場合には、S43で0行目から処理を開始する
ことを指定する。S42、S43の値を変数Cに格納す
る。S44で最初の列が表のラベルとして固定の項目で
設定されているかどうかをチェックし、行の場合と同様
にS45、S46で最初の列を1行目あるいは0行目と
指定する。S47で最初の列を変数Rに格納し、S48
で上りトランザクションの設計でかつR列目の入出力タ
イプに関する属性が入力専用かどうかをチェックする。
上りトランザクションでR列目の入出力に関する属性が
入力専用でない場合にはS49で表形式入出力部品のC
行R列の属性からトランザクション項目のX番目の項目
のY番目の子項目の属性を設定する。この時、子項目の
名前は図25の80〜86に示すように、入出力部品の
名前に行番号と列番号の情報を付加したものとなる。S
50、S51で全ての列に対するS48、S49の操作
をループで行う。S52、S53で全ての行に対するS
47〜S51の処理をループで行う。S53で次の処理
に移る前には、親項目を新たに定義する。この場合の親
項目名は同じであるが配列の番号が図25の74に示す
ように1つ大きくなる。図25の47は表形式入出力部
品の1行目より設定した親項目、48は2行目より設定
した親項目である。FIG. 27 shows a flowchart for designing transaction items from tabular input / output parts. First, in S39, a tabular input / output component is selected as a transaction item by dragging and dropping the mouse from the client screen, and the transaction item name is changed from the name (473 in FIG. 26) set as the attribute of the input / output component. (73, 74, 75 in FIG. 25) are obtained. S
In 40, the number of rows (480 in FIG. 26) and the number of columns (476 in FIG. 26) set as the attributes of the tabular input / output component are obtained. Y is the number of the child item with respect to the parent item. Reference numeral 478 in FIG. 26 indicates that the detailed information of each line is described as a separate file. The definition of each element of the tabular input / output component describes the details of the definition of each element similarly to the definition of the single item input / output component shown in FIG. The processing after S41 is performed by referring to another file in which this detail is described. When the first row is set as a fixed item as a table label in S41, the first row is not a transaction item, and therefore in S42, it is specified to start the process from the first row. If the first line is not a label, the process starts from the 0th line in S43. The value of S42 and S43 is stored in the variable C. In S44, it is checked whether or not the first column is set as a fixed item as a label of the table, and similarly to the case of the row, the first column is designated as the first line or the 0th line in S45 and S46. The first column is stored in the variable R in S47, and S48 is set.
Then, it is checked whether the attribute related to the input / output type in the R column is input only in the design of the upstream transaction.
If the attribute related to the input / output of the R column in the upstream transaction is not input only, the C of the tabular input / output component is selected in S49.
The attribute of the Yth child item of the Xth item of the transaction item is set from the attribute of the row R column. At this time, the name of the child item is the name of the input / output component to which the information of the row number and the column number is added, as shown in 80 to 86 of FIG. S
In S50 and S51, the operations of S48 and S49 for all columns are performed in a loop. S52, S53 S for all rows
The processes of 47 to S51 are performed in a loop. Before moving to the next processing in S53, a parent item is newly defined. In this case, the parent item names are the same, but the array number is incremented by one as shown at 74 in FIG. In FIG. 25, 47 is a parent item set from the first line of the tabular input / output component, and 48 is a parent item set from the second line.
【0062】以上のように、この発明の通信情報ファイ
ル生成手段によれば、表形式の入出力部品からトランザ
クションの構造体配列の項目を設計することができる。As described above, according to the communication information file generating means of the present invention, the items of the transaction structure array can be designed from the tabular input / output parts.
【0063】実施の形態6.本実施の形態では、実施の
形態3で説明した入出力部品からトランザクションの形
式を設計する場合に、既に作成された通信情報ファイル
を使用して再設計する例について説明する。Embodiment 6 FIG. In the present embodiment, an example will be described in which, when designing the transaction format from the input / output components described in the third embodiment, the redesign is performed using the already created communication information file.
【0064】図28は、図2のメイン画面より17のメ
ニューから図3に示す21を選択した場合のファイル選
択画面50を表している。51が既に作成した通信情報
ファイル名を指定するための通信情報ファイル名入力エ
リア、52が51で入力した通信情報ファイルと対応す
るサーバ側プログラムのソースファイル名を入力するた
めのサーバ側ソースファイル名入力エリア、53が51
で入力した通信情報ファイルと対応するクライアント側
プログラムのソースファイル名を入力するためのクライ
アント側ソースファイル名入力エリアである。52と5
3はオプションであり、必要がなければ指定しなくても
よいエリアである。FIG. 28 shows the file selection screen 50 when 21 shown in FIG. 3 is selected from the menu of 17 from the main screen of FIG. 51 is a communication information file name input area for designating a communication information file name already created, and 52 is a server side source file name for inputting the source file name of the server side program corresponding to the communication information file input in 51. Input area, 53 is 51
This is a client-side source file name input area for inputting the source file name of the client-side program corresponding to the communication information file input in. 52 and 5
3 is an option, and is an area that need not be specified if it is not necessary.
【0065】図29に、既に作成した通信情報ファイル
を読み込んだ場合の特殊表示手段の処理をフローチャー
トに示す。S54で既に生成した通信情報ファイルを入
力し、S55で、図2のメイン画面12上のリクエスト
コード入力エリアにリクエストコードを指定する。S5
6でS55で指定したリクエストコードに対する上りト
ランザクションの項目数NUと下りトランザクションの
項目数NDを得て、S57〜S60で上りトランザクシ
ョンの0番目の項目からNU−1番目の各項目に対応す
るクライアント画面上のウィンドウ部品を、項目名とウ
ィンドウ部品の名前とのマッチングをとることにより探
す。前述した実施の形態で述べたように、画面を構成す
るウィンドウ部品の名前と通信情報ファイルの通信項目
の項目名は一致しているので、マッチングのキーとして
使用できる。マッチングがとれたら、マッチングのとれ
たウィンドウ部品の表示を特殊表示して変えるという処
理をループ処理によって行う。S61〜S64で下りト
ランザクションの0番目の項目からND−1番目の項目
に対しても、上りトランザクションの場合と同様にルー
プ処理によって行う。FIG. 29 is a flow chart showing the processing of the special display means when the already created communication information file is read. The communication information file already generated is input in S54, and the request code is specified in the request code input area on the main screen 12 of FIG. 2 in S55. S5
In step 6, the number of upstream transaction items NU and the number of downstream transaction items ND corresponding to the request code specified in step S55 are obtained, and in steps S57 to S60, the client screens corresponding to the 0th to NU-1st items of the upstream transaction. Search for the above window part by matching the item name with the name of the window part. As described in the above-described embodiment, the names of the window parts that form the screen and the item names of the communication items in the communication information file match, so that they can be used as matching keys. When a match is found, a process of displaying the changed window part by special display and changing it is performed by a loop process. In S61 to S64, the loop processing is performed for the 0th item to the ND-1th item of the downlink transaction as in the case of the uplink transaction.
【0066】図30の54に、図29に示した特殊表示
手段の処理を行った場合のクライアント画面を示す。こ
の例においては、全ての入出力ウィンドウが上りトラン
ザクション、あるいは下りトランザクションの項目とし
て指定されているため、全ての入出力ウィンドウ(入出
力部品)が太枠表示となっている。この実施の形態で
は、特殊表示の例として、太枠表示を行っているが、色
替表示等他の特殊表示でもかまわない。このように、特
殊表示手段によりトランザクションの通信項目に対応し
ているウィンドウ部品を対応していない他のウィンドウ
部品と区別して表示するので、目で見て、項目を把握し
やすく、項目変更等の保守が容易になる。Reference numeral 54 in FIG. 30 shows a client screen when the processing of the special display means shown in FIG. 29 is performed. In this example, since all the input / output windows are designated as the items of the up transaction or the down transaction, all the input / output windows (input / output parts) are displayed in a thick frame. In this embodiment, thick frame display is performed as an example of special display, but other special display such as color change display may be used. In this way, the special display means displays the window component corresponding to the transaction item of the transaction separately from the other window components that do not correspond, so that the item can be visually recognized easily and the item change, etc. Easy to maintain.
【0067】実施の形態7.本実施の形態では、実施の
形態3で説明した入出力部品からトランザクションの形
式を設計する場合に既に作成された通信情報ファイルを
使用して再設計する場合のトランザクション画面の表示
の他の例について説明する。基本的な機能は、実施の形
態6と同様であるので違いだけを説明する。Embodiment 7 In the present embodiment, another example of the display of the transaction screen in the case of designing the transaction format from the input / output components described in the third embodiment by using the already created communication information file for redesign explain. Since the basic function is the same as that of the sixth embodiment, only the difference will be described.
【0068】図31は、メイン画面のオプションメニュ
ーのプルダウンメニューを示している。プルダウンメニ
ューに用意されている各オプションについて説明する。
55が通信情報ファイルを新規作成する場合のデフォル
トメニューであるクライアント画面の表示を変えないモ
ードで、56が上りトランザクション、下りトランザク
ションの全ての項目に対応するクライアント画面上の入
出力ウィンドウ(部品、以下同じ)の表示を変えるモー
ドである。57が上りトランザクションの全ての項目に
対応するクライアント画面上の入出力ウィンドウの表示
を変えるモード、58が下りトランザクションの全ての
項目に対応するクライアント画面上の入出力ウィンドウ
の表示を変えるモード、59が上りトランザクションあ
るいは下りトランザクションの任意の項目を選択して、
その項目に対応するクライアント画面上の入出力ウィン
ドウの表示を変えるモードである。FIG. 31 shows a pull-down menu of the option menu on the main screen. Each option provided in the pull-down menu is explained.
55 is a mode that does not change the display of the client screen, which is the default menu when a new communication information file is created, and 56 is an input / output window (parts, below) on the client screen corresponding to all items of upstream transactions and downstream transactions. The same) is the mode to change the display. 57 is a mode for changing the display of the input / output window on the client screen corresponding to all the items of the upstream transaction, 58 is a mode for changing the display of the input / output window on the client screen for all the items of the downstream transaction, and 59 is Select any item of up transaction or down transaction,
In this mode, the display of the input / output window on the client screen corresponding to the item is changed.
【0069】図32及び図33にオプションメニューの
プルダウンメニューから項目を指定した場合の動作のフ
ローチャートを示す。S160でメイン画面のオプショ
ンメニューのプルダウンメニューより項目を選択する。
この場合に指定できる条件は図31に示すように上りト
ランザクションと下りトランザクションの全ての項目に
対応するクライアント画面上の入出力部品の表示を変え
る「全ての項目(56)」、上りトランザクションの全
ての項目に対応するクライアント画面上の全ての入出力
部品の表示を変える「上りトランザクション(5
7)」、下りトランザクションの全ての項目に対応する
クライアント画面上の全ての入出力部品の表示を変える
「下りトランザクション(58)」、上りトランザクシ
ョンあるいは下りトランザクションの任意の項目に対応
するクライアント画面上の入出力部品の表示を変える
「任意の項目(59)」のいずれかである。何も条件を
指定しない場合は「何も指定せず(55)」を選択す
る。メイン画面のオプションメニューで「全ての項目」
を選択すると、実施の形態6で説明した処理と同様の処
理をS162で行う。「上りトランザクション」を選択
すると、S166で上りトランザクションの項目数NU
を得る。S167〜S170で上りトランザクションの
0番目の項目からNU−1番目の各項目に対して対応す
るクライアント画面上のウィンドウ部品を、項目名とウ
ィンドウ部品の名前とのマッチングをとることにより探
して、マッチングの取れたウィンドウ部品の表示を変え
るという処理をループ処理によって行う。メイン画面の
オプションメニューで「下りトランザクション」を選択
すると、同様に、S171で下りトランザクションの項
目数NDを得て、S172〜S175で下りトランザク
ションの0番目の項目からND−1番目の各項目に対し
て対応するクライアント画面上のウィンドウ部品を項目
名とウィンドウ部品の名前とのマッチングをとることに
より探して、マッチングの取れたウィンドウ部品の表示
を変えるという処理をループ処理によって行う。メイン
画面のオプションメニューで「任意の項目」を選択する
と、S176でメイン画面上の上りトランザクション設
計エリアあるいは下りトランザクション設計エリアより
任意の項目をマウスクリック等の指定方法により選択す
る。S177で選択した項目に対応するクライアント画
面上のウィンドウ部品を選択した項目名とウィンドウ部
品の名前とのマッチングをとることにより探して、マッ
チングの取れたウィンドウ部品の表示を変えるという処
理を行う。メイン画面のオプションメニューで何も指定
しないを選択すると、何も処理を行わない。32 and 33 are flowcharts of the operation when an item is specified from the pull-down menu of the option menu. In S160, an item is selected from the pull-down menu of the option menu on the main screen.
The conditions that can be specified in this case are "all items (56)" for changing the display of the input / output parts on the client screen corresponding to all items of the upstream transaction and the downstream transaction, as shown in FIG. Change the display of all input / output components on the client screen corresponding to the item "Upbound Transaction (5
7) ”, changing the display of all input / output components on the client screen corresponding to all items of the down transaction“ Down transaction (58) ”, on the client screen corresponding to any item of the up transaction or the down transaction This is one of the "arbitrary items (59)" for changing the display of the input / output parts. If no condition is specified, "Do not specify (55)" is selected. "All items" in the options menu of the main screen
If is selected, the same processing as the processing described in the sixth embodiment is performed in S162. If "upstream transaction" is selected, the number of upstream transaction items NU is determined in S166.
Get. In S167 to S170, the window component on the client screen corresponding to each of the 0th item to the NU-1st item of the upstream transaction is searched for by matching the item name with the window component name, and matching is performed. The process of changing the display of the window component that has been removed is performed by a loop process. When "Downlink transaction" is selected from the option menu of the main screen, similarly, the number of items ND of the downlink transaction is obtained in S171, and the 0th item to the ND-1th item of the downlink transaction are obtained in S172 to S175. Then, a loop process is performed to search for the corresponding window component on the client screen by matching the item name with the name of the window component and change the display of the matched window component. When "arbitrary item" is selected in the option menu of the main screen, in S176, an arbitrary item is selected from the upstream transaction design area or the downstream transaction design area on the main screen by a designation method such as mouse clicking. The window component corresponding to the item selected in S177 is searched for by matching the selected item name with the name of the window component, and the display of the matched window component is changed. If you select "Specify nothing" in the option menu of the main screen, nothing is processed.
【0070】図34に「上りトランザクション」を条件
として指定した場合の画面を示す。上りトランザクショ
ンの各項目と対応するウィンドウ60が太枠表示となっ
ている。また、メイン画面上では上りトランザクション
設計エリア上の全ての項目が太枠表示となっている。図
35が「任意の項目」を条件として指定した場合の画面
で、61がメイン画面のトランザクション設計エリア上
で選択された項目、62が選択した項目に対応するクラ
イアント画面上の入出力ウィンドウである。FIG. 34 shows a screen when "upstream transaction" is specified as a condition. A window 60 corresponding to each item of the upstream transaction is displayed in a thick frame. Further, on the main screen, all items in the upstream transaction design area are displayed in bold frames. FIG. 35 is a screen when “arbitrary item” is specified as a condition, 61 is an item selected in the transaction design area of the main screen, and 62 is an input / output window on the client screen corresponding to the selected item. .
【0071】以上のように、特殊表示手段がオプション
で指定した内容に従って項目を特殊表示するので、トラ
ンザクションの項目とクライアント画面との関係をビジ
ュアルに知ることができる。As described above, the special display means specially displays the items according to the contents designated by the options, so that the relationship between the transaction items and the client screen can be visually known.
【0072】実施の形態8.本実施の形態では、実施の
形態3で説明した入出力部品からトランザクションの形
式を設計する場合に既に作成された通信情報ファイルを
使用して再設計する場合の、トランザクション画面の画
面情報から、検証手段によりエラー検出する一実施例を
説明する。基本的な機能は実施の形態6と同様であるの
で違いだけを説明する。Embodiment 8 FIG. In this embodiment, when designing a transaction format from the input / output components described in Embodiment 3, verification is performed from the screen information of the transaction screen when redesigning using the communication information file already created. An embodiment of detecting an error by means will be described. Since the basic function is the same as that of the sixth embodiment, only the difference will be described.
【0073】図29の流れ図のS58においてトランザ
クションの項目とクライアント画面上の入出力部品の名
前とのマッチング処理を行っているが、この場合に同じ
名前の入出力部品がなかった場合の処理のフローチャー
トを図36に示す。S78でトランザクションの項目名
と一致するクライアント画面上の入出力部品を検索す
る。検索できなかった場合には、S79でトランザクシ
ョンの項目の表示を変更する。一致するクライアント画
面上の入出力部品が見つかった場合には、S80でクラ
イアント画面上の入出力部品とメイン画面上のトランザ
クションの項目の表示を前述した実施の形態と同様に変
更する。S79およびS80で変更したメイン画面例を
図37に示す。63が対応するクライアント画面上の入
出力部品が存在しない項目である。S79で表示を変更
したトランザクションの項目61とS80で表示を変更
したトランザクションの項目63とで外観が異なり、エ
ラーであることがわかるようになっている。In step S58 of the flowchart of FIG. 29, the transaction item is matched with the name of the input / output component on the client screen, but in this case, there is no input / output component with the same name. Is shown in FIG. In step S78, an input / output component on the client screen that matches the transaction item name is searched. If the item cannot be retrieved, the display of the transaction item is changed in S79. If a matching input / output component on the client screen is found, the display of the input / output component on the client screen and the transaction item on the main screen is changed in the same manner as in the above-described embodiment in S80. FIG. 37 shows an example of the main screen changed in S79 and S80. Reference numeral 63 is an item for which no corresponding input / output component exists on the client screen. The item 61 of the transaction whose display has been changed in S79 and the item 63 of the transaction whose display has been changed in S80 have different appearances, so that it can be understood that there is an error.
【0074】以上のように、この発明の検証手段は、ク
ライアント画面を変更した場合に、既に設計した通信情
報ファイルとの整合性を検証し、検証した結果、該当す
る項目の表示を変えることにより目で確認しやすいよう
に表示する。これにより、プログラムの不具合を容易に
検出することができる。As described above, when the client screen is changed, the verification means of the present invention verifies the consistency with the communication information file already designed, and as a result of the verification, changes the display of the corresponding item. Display it so that you can easily see it. This makes it possible to easily detect a defect in the program.
【0075】[0075]
【発明の効果】以上のようにこの発明によれば、通信関
数生成手段により、通信のためのリクエストコードに対
応するトランザクションデータのデータ形式を格納する
通信情報ファイルを参照し、トランザクションデータの
通信項目とウィンドウ部品項目とを関連づけ、通信モジ
ュールにおける通信部分の項目間のデータの受け渡しの
通信関数を生成するとともに、通信処理生成手段が通信
モジュールと通信の整合性が取れる他の通信モジュール
の通信のための定型処理部分を生成するので、ネットワ
ークで通信を行うアプリケーションを開発するときに最
も整合性を取りにくかった通信部分を整合性を取りなが
ら、かつ容易に実現できるという利点が得られる。As described above, according to the present invention, the communication function generating means refers to the communication information file storing the data format of the transaction data corresponding to the request code for communication, and the communication item of the transaction data is referred to. And a window part item are associated with each other to generate a communication function for passing data between items in the communication part of the communication module, and the communication processing generation means allows communication between the communication module and another communication module for which communication consistency can be obtained. Since the routine processing part of is generated, there is an advantage that it is possible to easily realize the communication part which is the most difficult to obtain the consistency when developing an application for communicating on the network while keeping the consistency.
【0076】また、通信モジュール生成装置が生成する
通信関数と通信処理の少なくともいずれかのプログラム
内容にコメント文を挿入するコメント付加手段を設けた
ので、自動生成されたプログラムでも容易に保守やデバ
ッグを行うことが可能となる。Further, since the comment adding means for inserting a comment sentence into the program content of at least one of the communication function and the communication process generated by the communication module generating device is provided, the automatically generated program can be easily maintained and debugged. It becomes possible to do.
【0077】また、画面定義情報を利用して通信情報フ
ァイルの生成が可能になる。Further, it is possible to generate a communication information file using the screen definition information.
【0078】また、この発明によれば、Windows
で標準に使用されているウィンドウ部品のルールや属性
を用いてトランザクションデータのデータ形式と画面上
のウィンドウ部品に関する情報とのリンクを取ることが
容易にできるようになる。Further, according to the present invention, Windows
It becomes possible to easily establish a link between the data format of the transaction data and the information about the window component on the screen by using the rule and attribute of the window component that is used as a standard in.
【0079】また、この発明によれば、画面定義情報で
定義されているウィンドウ部品を指定して、そのウィン
ドウ部品の属性をコピーし、トランザクションデータの
項目属性とすることにより、対話的にトランザクション
を設計することができ、通信モジュールの画面とトラン
ザクション形式との矛盾が生じることがなく、プログラ
ム開発生産性が向上する。Further, according to the present invention, a transaction is interactively performed by designating a window component defined in the screen definition information, copying the attribute of the window component, and setting it as an item attribute of transaction data. It can be designed, and there is no inconsistency between the screen of the communication module and the transaction format, and the program development productivity is improved.
【0080】また、この発明によれば、ウィンドウ部品
の入出力属性をチェックし、トランザクションデータの
項目属性とできるかどうか判定する手段を設けたので、
対話的にトランザクションを設計する場合の操作ミスを
未然に防ぐことが可能となり、プログラム開発生産性と
プログラムの信頼性が向上する。Further, according to the present invention, the means for checking the input / output attribute of the window part and determining whether or not it can be the item attribute of the transaction data is provided.
It is possible to prevent operational mistakes when designing transactions interactively, and improve program development productivity and program reliability.
【0081】また、ウィンドウ部品が表形式入出力部品
である場合に、トランザクションデータを配列型構造体
の項目属性とする手段を設けたので、対話的にトランザ
クションを設計することができ、プログラム開発生産性
が向上する。Further, when the window part is a tabular input / output part, means for making transaction data an item attribute of the array type structure is provided, so that a transaction can be interactively designed, and program development / production can be performed. The property is improved.
【0082】また、参照したトランザクション情報から
通信モジュールで画面表示している該当する全ウィンド
ウ部品を他のウィンドウ部品と区別して表示する手段を
設けたので、トランザクションや画面を容易に把握、保
守することが可能となる。Since the means for displaying all the corresponding window parts displayed on the screen by the communication module from the referred transaction information separately from other window parts are provided, the transaction and the screen can be easily grasped and maintained. Is possible.
【0083】また、上りトランザクション、下りトラン
ザクション、任意のトランザクション項目と条件による
絞りこみ機能を設け、通信モジュールで表示している絞
りこまれたトランザクション項目の該当したウィンドウ
部品を他のウィンドウ部品と区別して表示する手段を設
けたので、特定のトランザクションや画面項目を容易に
把握、保守することが可能となる。Further, an up-down transaction, a down-transaction, and a narrowing function according to arbitrary transaction items and conditions are provided to distinguish the window parts corresponding to the narrowed down transaction items displayed on the communication module from other window parts. Since the means for displaying is provided, it becomes possible to easily grasp and maintain a specific transaction or screen item.
【0084】さらに、トランザクションの各項目と画面
情報のウィンドウ部品とのマッチングをとる機能と、マ
ッチしないトランザクション項目を明示的にする機能と
を設けたので、画面情報とトランザクション形式の項目
間の矛盾を容易に把握することが可能となり、トランザ
クションや画面を容易に把握、保守することが可能とな
る。Further, since the function of matching each item of the transaction with the window part of the screen information and the function of explicitly specifying the transaction item that does not match are provided, the contradiction between the screen information and the item of the transaction format is eliminated. It is possible to easily grasp and maintain transactions and screens easily.
【図1】 この発明の通信モジュール生成装置及び通信
情報ファイル設計装置を示す全体構造図である。FIG. 1 is an overall structural diagram showing a communication module generation device and a communication information file design device of the present invention.
【図2】 この発明の実施の形態の通信モジュール生成
装置のメインウィンドウ概観図である。FIG. 2 is a general view of a main window of the communication module generation device according to the embodiment of this invention.
【図3】 この発明の実施の形態の通信モジュール生成
装置のファイルメニュー概観図である。FIG. 3 is a general view of a file menu of the communication module generation device according to the embodiment of this invention.
【図4】 この発明の実施の形態の通信モジュール生成
装置のコード生成メニュー概観図である。FIG. 4 is a general view of a code generation menu of the communication module generation device according to the embodiment of this invention.
【図5】 この発明の実施の形態の通信モジュール生成
装置のファイルメニューより示されるポップアップメニ
ューの概観図である。FIG. 5 is a schematic view of a pop-up menu shown from a file menu of the communication module generation device according to the embodiment of the present invention.
【図6】 この発明の実施の形態のクライアント画面の
一例を示す図である。FIG. 6 is a diagram showing an example of a client screen according to the embodiment of the present invention.
【図7】 この発明の実施の形態の通信部品の構成図で
ある。FIG. 7 is a configuration diagram of a communication component according to the embodiment of this invention.
【図8】 この発明の実施の形態の通信関数処理の流れ
図である。FIG. 8 is a flowchart of communication function processing according to the embodiment of this invention.
【図9】 この発明により生成される通信関数のソース
コードを示す図である。FIG. 9 is a diagram showing a source code of a communication function generated according to the present invention.
【図10】 この発明の通信情報ファイルフォーマット
を示す図である。FIG. 10 is a diagram showing a communication information file format of the present invention.
【図11】 この発明の実施の形態のサーバ側処理の流
れ図である。FIG. 11 is a flowchart of server-side processing according to the embodiment of this invention.
【図12】 この発明のサーバアプリケーションの構造
を示すサンプルリストの図である。FIG. 12 is a diagram of a sample list showing the structure of the server application of the present invention.
【図13】 この発明のサーバアプリケーションの構造
を示すサンプルリストの図である。FIG. 13 is a diagram of a sample list showing the structure of a server application of the present invention.
【図14】 この発明の実施の形態の通信処理生成手段
の流れ図である。FIG. 14 is a flowchart of communication processing generation means according to the embodiment of the present invention.
【図15】 この発明の実施の形態の通信情報ファイル
の構成図である。FIG. 15 is a configuration diagram of a communication information file according to the embodiment of this invention.
【図16】 この発明の実施の形態のクライアント画面
とトランザクションの関係を示す図である。FIG. 16 is a diagram showing a relationship between a client screen and a transaction according to the embodiment of this invention.
【図17】 この発明の実施の形態のクライアント画面
とトランザクションの関係を示す図である。FIG. 17 is a diagram showing a relationship between a client screen and a transaction according to the embodiment of this invention.
【図18】 この発明の実施の形態のクライアント画面
の定義情報の一部を示す図である。FIG. 18 is a diagram showing a part of definition information of a client screen according to the embodiment of the present invention.
【図19】 この発明の実施の形態のクライアント画面
の定義情報の一部を示す図である。FIG. 19 is a diagram showing a part of definition information on a client screen according to the embodiment of the present invention.
【図20】 この発明の実施の形態のクライアント画面
からのトランザクションの設計を説明する図である。FIG. 20 is a diagram illustrating a transaction design from the client screen according to the embodiment of this invention.
【図21】 この発明の実施の形態の通信情報ファイル
生成手段によるトランザクション設計の流れ図である。FIG. 21 is a flow chart of transaction design by the communication information file generating means according to the embodiment of the present invention.
【図22】 この発明の実施の形態の入出力部品の属性
の構成図である。FIG. 22 is a configuration diagram of attributes of input / output parts according to the embodiment of the present invention.
【図23】 この発明の実施の形態のトランザクション
の項目設定時の判定手段によるエラーチェックの流れ図
である。FIG. 23 is a flow chart of error check by the judging means when setting items of a transaction according to the embodiment of this invention.
【図24】 この発明の実施の形態の表形式入出力部品
と設計されたトランザクションの一例を示す図である。FIG. 24 is a diagram showing an example of transactions designed with the tabular input / output parts according to the embodiment of the present invention.
【図25】 この発明の実施の形態の表形式入出力部品
と設計されたトランザクションの一例を示す図である。FIG. 25 is a diagram showing an example of a transaction designed with a tabular input / output component according to the embodiment of the present invention.
【図26】 この発明の実施の形態の表形式入出力部品
の定義情報を示す図である。FIG. 26 is a diagram showing definition information of tabular input / output parts according to the embodiment of the present invention.
【図27】 この発明の実施の形態の表形式入出力部品
からトランザクションを設計する流れ図である。FIG. 27 is a flowchart for designing a transaction from the tabular input / output component according to the embodiment of this invention.
【図28】 この発明の実施の形態の通信情報ファイル
名入力のためのポップアップメニューの一例を示す図で
ある。FIG. 28 is a diagram showing an example of a pop-up menu for inputting a communication information file name according to the embodiment of the present invention.
【図29】 この発明の実施の形態の通信情報ファイル
名を入力してクライアント画面の表示を変更する処理の
流れ図である。FIG. 29 is a flowchart of a process for changing the display of the client screen by inputting the communication information file name according to the embodiment of this invention.
【図30】 この発明の実施の形態のクライアント画面
の一例を示す図である。FIG. 30 is a diagram showing an example of a client screen according to the embodiment of the present invention.
【図31】 この発明の実施の形態のオプションメニュ
ー概観図である。FIG. 31 is an outline view of an option menu according to the embodiment of the present invention.
【図32】 この発明の実施の形態のオプションメニュ
ーで項目が選択された時の処理の流れ図である。FIG. 32 is a flow chart of processing when an item is selected in the option menu according to the embodiment of the present invention.
【図33】 この発明の実施の形態のオプションメニュ
ーで項目が選択された時の処理の流れ図である。FIG. 33 is a flowchart of processing when an item is selected in the option menu according to the embodiment of this invention.
【図34】 この発明の実施の形態のメイン画面とクラ
イアント画面の一例を示す図である。FIG. 34 is a diagram showing an example of a main screen and a client screen according to the embodiment of the present invention.
【図35】 この発明の実施の形態のメイン画面とクラ
イアント画面の一例を示す図である。FIG. 35 is a diagram showing an example of a main screen and a client screen according to the embodiment of the present invention.
【図36】 この発明の実施の形態の検証手段によるエ
ラーチェックの流れ図である。FIG. 36 is a flowchart of error checking by the verification means according to the embodiment of the present invention.
【図37】 この発明の実施の形態のメイン画面とクラ
イアント画面の一例を示す図である。FIG. 37 is a diagram showing an example of a main screen and a client screen according to the embodiment of the present invention.
【図38】 従来例を示す構成図である。FIG. 38 is a configuration diagram showing a conventional example.
【図39】 従来の通信情報ファイルを示す図である。FIG. 39 is a diagram showing a conventional communication information file.
【図40】 従来の通信例を示す図である。FIG. 40 is a diagram showing a conventional communication example.
1 クライアント、2 サーバ、3 クライアントアプ
リケーション、4 サーバアプリケーション、8 通信
情報ファイル、9 通信部品、10 入出力部品、11
リクエストコード、12 メイン画面、13 リクエ
ストコード入力エリア、14 上りトランザクション設
計エリア、15 下りトランザクション設計エリア、1
6 追加ボタン、100 画面定義情報記憶手段、11
0 通信関数生成手段、112 通信処理生成手段、1
14 コメント付加手段、116通信情報ファイル生成
手段、118 判定手段、120 特殊表示手段、12
2 検証手段。1 client, 2 server, 3 client application, 4 server application, 8 communication information file, 9 communication component, 10 input / output component, 11
Request code, 12 main screen, 13 request code input area, 14 upstream transaction design area, 15 downstream transaction design area, 1
6 add button, 100 screen definition information storage means, 11
0 communication function generating means, 112 communication processing generating means, 1
14 comment adding means, 116 communication information file generating means, 118 judging means, 120 special display means, 12
2 Verification means.
Claims (11)
置を接続して通信処理を行う通信モジュールを生成する
通信モジュール生成装置において、 以下の要素を備えた通信モジュール生成装置 (a)上記第1の情報処理装置上で、通信処理を行う通
信処理部を備えた第1の通信モジュール、(b)上記第
2の情報処理装置上で、画面項目から構成された画面に
より及び所定の通信関数により上記第1の通信モジュー
ルとの通信処理を行う第2の通信モジュール、(c)上
記第2の通信モジュールの画面を構成する画面項目を定
義する画面定義情報を記憶する画面定義情報記憶手段、
(d)上記画面定義情報に対応して、上記第1の通信モ
ジュールと上記第2の通信モジュールの通信に用いる通
信項目を定義する通信情報を記憶する通信情報ファイ
ル、(e)上記通信情報ファイルを参照し、上記第2の
通信モジュールの通信関数を生成する通信関数生成手
段、(f)上記通信情報ファイルを参照し、上記第1の
通信モジュールの通信処理部を生成する通信処理生成手
段。1. A communication module generation device for connecting a first information processing device and a second information processing device to generate a communication module for performing communication processing, comprising: A first communication module including a communication processing unit for performing communication processing on the first information processing apparatus; and (b) a screen configured of screen items and a predetermined communication module on the second information processing apparatus. A second communication module that performs communication processing with the first communication module by a communication function, (c) Screen definition information storage that stores screen definition information that defines screen items that configure the screen of the second communication module means,
(D) A communication information file storing communication information defining communication items used for communication between the first communication module and the second communication module, corresponding to the screen definition information, (e) the communication information file Communication function generating means for generating the communication function of the second communication module, and (f) communication processing generating means for generating the communication processing section of the first communication module by referring to the communication information file.
に、上記通信情報ファイルの通信情報をコメントとして
取り込み、そのコメントを上記通信関数及び上記通信処
理部の少なくともいづれかに付加するコメント付加手段
を設けたことを特徴とする請求項1記載の通信モジュー
ル生成装置。2. The communication module generation device further comprises comment adding means for taking communication information of the communication information file as a comment and adding the comment to at least one of the communication function and the communication processing unit. The communication module generation device according to claim 1.
に、上記画面定義情報記憶手段に記憶された上記画面定
義情報を参照して上記通信情報ファイルを生成する通信
情報ファイル生成手段を備えたことを特徴とする請求項
1または2に記載の通信モジュール生成装置。3. The communication module generation device further comprises communication information file generation means for generating the communication information file with reference to the screen definition information stored in the screen definition information storage means. The communication module generation device according to claim 1 or 2.
indows(米国Microsoft Corpor
ationの商標)でサポートされるウィンドウであ
り、上記画面定義情報記憶手段は上記画面項目を上記ウ
ィンドウを構成するウィンドウ部品として定義して記憶
することを特徴とする請求項1から3いづれかに記載の
通信モジュール生成装置。4. The screen composed of the screen items is W
Windows (US Microsoft Corporation
4. A window supported by a trademark), and the screen definition information storage means defines and stores the screen item as a window component that constitutes the window. Communication module generator.
計装置 (a)第1の情報処理装置上で、通信処理を行う通信処
理部を備えた第1の通信モジュール、(b)第2の情報
処理装置上で、画面項目から構成された画面により及び
所定の通信関数により上記第1の通信モジュールとの通
信処理を行う第2の通信モジュール、(c)上記第2の
通信モジュールの画面を構成する画面項目を定義する画
面定義情報をあらかじめ記憶する画面定義情報記憶手
段、(d)上記画面定義情報に対応して、上記第1の通
信モジュールと上記第2の通信モジュールの通信に用い
る通信項目を定義する通信情報を記憶する通信情報ファ
イル、(e)上記画面定義情報記憶手段に記憶された画
面定義情報を参照して、上記通信情報ファイルを生成す
る通信情報ファイル生成手段。5. A communication information file designing device having the following elements: (a) a first communication module having a communication processing unit for performing communication processing on the first information processing device; and (b) a second communication module. A second communication module for performing communication processing with the first communication module by a screen composed of screen items and by a predetermined communication function on the information processing device; (c) a screen of the second communication module Screen definition information storage means for storing in advance screen definition information defining screen items to be configured, and (d) communication used for communication between the first communication module and the second communication module corresponding to the screen definition information. A communication information file storing communication information defining items, and (e) a communication information file generating the communication information file with reference to the screen definition information stored in the screen definition information storage means. Yl generating means.
項目に対応させて画面項目の属性を記憶し、 上記通信情報ファイル設計装置は、さらに、上記画面項
目の属性を参照して、上記通信情報に定義されている通
信項目の妥当性を判定する判定手段を備えたことを特徴
とする請求項5記載の通信情報ファイル設計装置。6. The screen definition information storage means stores a screen item attribute in association with the screen item, and the communication information file design apparatus further refers to the screen item attribute to perform the communication. 6. The communication information file designing apparatus according to claim 5, further comprising a judging unit for judging the validity of the communication item defined in the information.
して上記第2の通信モジュールから上記第1の通信モジ
ュールに送信される上りトランザクションを定義すると
共に、 上記画面項目の属性は上記画面項目の入出力の可否を定
義する入出力属性であり、 上記判定手段は、上記送信トランザクションを構成する
上記通信項目に対応する画面項目の入出力属性を用いて
上記通信項目を判定することを特徴とする請求項6記載
の通信情報ファイル設計装置。7. The communication information file defines an upstream transaction transmitted from the second communication module to the first communication module as the communication information, and the attribute of the screen item is input / output of the screen item. Is an input / output attribute that defines whether or not the communication item is determined, and the determination unit determines the communication item by using the input / output attribute of the screen item corresponding to the communication item that constitutes the transmission transaction. 6. The communication information file design device described in 6.
項目の繰り返しを定義する要素数を記憶し、上記通信情
報ファイル生成手段は上記要素数を用いて上記通信項目
を定義することを特徴とする請求項5から7いづれかに
記載の通信情報ファイル設計装置。8. The screen definition information storage means stores the number of elements that define repetition of the screen item, and the communication information file generation means defines the communication item using the number of elements. The communication information file design device according to any one of claims 5 to 7.
に対応するリクエストコードを上記通信情報と組み合わ
せて記憶し、 上記通信情報ファイル設計装置は、さらに、上記リクエ
ストコードに対応する通信情報を構成する通信項目に対
応する画面項目を特殊表示する特殊表示手段を備えたこ
とを特徴とする請求項5記載の通信情報ファイル設計装
置。9. The communication information file stores a request code corresponding to the communication information in combination with the communication information, and the communication information file designing device further configures communication information corresponding to the request code. 6. The communication information file design device according to claim 5, further comprising a special display means for specially displaying a screen item corresponding to the communication item.
所定の条件により選択的に特殊表示することを特徴とす
る請求項9記載の通信情報ファイル設計装置。10. The communication information file designing apparatus according to claim 9, wherein the special display means selectively displays the screen item under special conditions.
らに、上記通信項目と上記画面項目の対応を検証し、検
証結果を表示する検証手段を備えたことを特徴とする請
求項5記載の通信情報ファイル設計装置。11. The communication information according to claim 5, wherein the communication information file designing device further comprises verification means for verifying correspondence between the communication item and the screen item and displaying a verification result. File design device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8086641A JP2924778B2 (en) | 1996-04-09 | 1996-04-09 | Communication module generation device and communication information file design device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8086641A JP2924778B2 (en) | 1996-04-09 | 1996-04-09 | Communication module generation device and communication information file design device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09282152A true JPH09282152A (en) | 1997-10-31 |
| JP2924778B2 JP2924778B2 (en) | 1999-07-26 |
Family
ID=13892659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8086641A Expired - Lifetime JP2924778B2 (en) | 1996-04-09 | 1996-04-09 | Communication module generation device and communication information file design device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2924778B2 (en) |
-
1996
- 1996-04-09 JP JP8086641A patent/JP2924778B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2924778B2 (en) | 1999-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5428791A (en) | Configuration mechanism for a computer system having generic user interface and component-specific builder modules | |
| US5745687A (en) | System for distributed workflow in which a routing node selects next node to be performed within a workflow procedure | |
| US5774661A (en) | Rule engine interface for a visual workflow builder | |
| US5768506A (en) | Method and apparatus for distributed workflow building blocks of process definition, initialization and execution | |
| US5826020A (en) | Workflow real time intervention | |
| CN100440141C (en) | User-friendly information processing device and method | |
| US20030081003A1 (en) | System and method to facilitate analysis and removal of errors from an application | |
| US11468226B2 (en) | Systems and methods for presentation of a terminal application screen | |
| EP1237076A2 (en) | Expert system for generating user interfaces | |
| US5546522A (en) | Optimal menu inquiry system and system for editing structure data by hierarchical menu inquiry processing | |
| US5870727A (en) | Rule-based system for the provision of complex navigational logic | |
| JPH06266521A (en) | System and device for customizing user interface | |
| US5655067A (en) | Animation generating method in a design supporting system | |
| JPH11167584A (en) | Page transition method, apparatus for executing the method, and medium recording processing program and data | |
| GB2278468A (en) | Configuring computer programs. | |
| US20210004524A1 (en) | Catalog file creation assistance device, catalog file creation assistance method, and catalog file creation assistance program | |
| US6075529A (en) | GUI automatic generating system for inputting data of a manufacturing process | |
| JP2924778B2 (en) | Communication module generation device and communication information file design device | |
| JPH08329004A (en) | Terminal operability improvement method using application programs | |
| JP3294691B2 (en) | Object-oriented system construction method | |
| CN105988992A (en) | Icon pushing method and device | |
| JPH08190476A (en) | Interactive program development support device | |
| KR100317227B1 (en) | Open service creation environment device and control method for intelligent network service creation | |
| CN113407598A (en) | Method and device for generating demand document, storage medium and electronic equipment | |
| JP4568150B2 (en) | Processing device and processing device system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080507 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090507 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100507 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100507 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110507 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110507 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120507 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120507 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130507 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140507 Year of fee payment: 15 |
|
| EXPY | Cancellation because of completion of term |