JPH10289119A - Program execution request and its result notification method - Google Patents

Program execution request and its result notification method

Info

Publication number
JPH10289119A
JPH10289119A JP9347197A JP9347197A JPH10289119A JP H10289119 A JPH10289119 A JP H10289119A JP 9347197 A JP9347197 A JP 9347197A JP 9347197 A JP9347197 A JP 9347197A JP H10289119 A JPH10289119 A JP H10289119A
Authority
JP
Japan
Prior art keywords
client
server
procedure
name
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9347197A
Other languages
Japanese (ja)
Other versions
JP2994299B2 (en
Inventor
Katsushi Asami
可津志 浅見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9093471A priority Critical patent/JP2994299B2/en
Publication of JPH10289119A publication Critical patent/JPH10289119A/en
Application granted granted Critical
Publication of JP2994299B2 publication Critical patent/JP2994299B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To increase an executing speed by compiling previously the name of a communication area which identifies the procedure to be requested, the procedure name and an argument only into a client program out of the interface information. SOLUTION: A client/server system comprises a server program 41 which performs a cooperative operation, a client program 42 and a client computer screen 43. The name of a communication area which identifies the procedue to be requested, the procedure name and an argument. i.e., the name of data to which the procedure name refers only are previusly compiled into a client program out of the interface information on a client and a server which request the program executions and notify these execution results to each other. Meanwhile, the attribute of the argument necessary for execution of the requested procedure is stored in a management data base 415 of the server. Then the received execution request is notified to the client from the server.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は計算機上に定義され
た手続を他の計算機上のプログラムから呼び出し必要部
分のみを通知して実行を行う手続き実行方式に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a procedure execution method for executing a procedure defined on a computer by calling only a necessary part from a program on another computer.

【0002】[0002]

【従来の技術】クライアント/サーバシステムにおいて
一部のプログラムをとり入れて実行するには、クライア
ント/サーバ間で呼び出す手続きや受け渡すデータにつ
いて前もって取り決めを行っておく必要がある。これに
ついては色々な方式が実施されている。DCE(Dis
tributed Computing Enviro
nment)のRPC(Remote Procedu
re Call)における方式を図8に示す。この方式
では、クライアント/サーバ間のインタフェース情報、
特にクライアントから呼び出すサーバ上の手続きと受け
渡しする引数の名称やタイプ、サイズをIDL(Int
erface Design Language)と呼
ばれる言語でソースの形式(図8の21)で記述(以降
インタフェース情報と呼ぶ)し、それをIDLコンパイ
ラ(図8の22)でコンパイルし、クライアントスタブ
(図8の231)、サーバスタブ(図8の241)とし
てクライアントサーバの各々の実行モジュール(図8の
23、24)に組み込む方式を実施している。この方式
に依ればクライアント/サーバ間の上述のインタフェー
ス情報は、予めコンパイルされているので、高速に実行
できる利点がある。しかし、このIDL言語による方式
においては、クライアント側のモジュールが参照するイ
ンタフェース情報とサーバ側のモジュールが参照するイ
ンタフェース情報を同期させる必要があり、かつインタ
フェース情報は静的にコンパイルされた状態で双方のモ
ジュールにクライアントスタブ231と、サーバスタブ
241として組み込む必要がある。
2. Description of the Related Art In order to incorporate and execute a part of a program in a client / server system, it is necessary to determine in advance a procedure to be called between the client / server and data to be transferred. Various methods have been implemented for this. DCE (Dis
Tributed Computing Enviro
nment) RPC (Remote Procedure)
FIG. 8 shows a method in (Re Call). In this method, client / server interface information,
In particular, the name, type, and size of the argument to be passed to and from the procedure on the server to be called from the client are described in IDL (Int
The source information is described (hereinafter, referred to as interface information) in a source format (21 in FIG. 8) in a language called an interface design language (hereinafter referred to as interface information), compiled by an IDL compiler (22 in FIG. 8), and client stub (231 in FIG. 8). , A server stub (241 in FIG. 8) is incorporated in each execution module (23, 24 in FIG. 8) of the client server. According to this method, the above-described interface information between the client and the server is compiled in advance, so that there is an advantage that it can be executed at high speed. However, in the method using the IDL language, it is necessary to synchronize the interface information referred to by the module on the client side and the interface information referred to by the module on the server side, and the interface information is statically compiled in a state where both of them are compiled. It is necessary to incorporate the client stub 231 and the server stub 241 into the module.

【0003】また、”アプリケーション結合方法とし
て、特開平5−289871号公報に示された方式を図
9に示す。この方式では、クライアントとサーバの双方
から参照できる領域(リンク管理テーブル、図9の3
3)を設け、クライアントがサーバに対して手続の呼び
出し方法の通知を依頼すると(図9の313)、サーバ
が手続の呼び出し方法をリンク管理テーブルに登録する
(図9の314)。その後、クライアントはリンク管理
テーブルから手続の呼び出し方法を検索し、手続を呼び
出す(図9の316)。この方式ではクライアント/サ
ーバ間のインタフェース情報を動的に検索することがで
きるため、クライアント側のプログラムの作成時に手続
の呼び出し形式を意識する必要がなく、サーバ側のプロ
グラムの変更時においても、クライアント側のプログラ
ムを同期して変更しなくても良いという利点がある。し
かし、この方式では、クライアント/サーバ間のインタ
フェース情報を動的に検索することで、前記IDL言語
による方式の問題を解決しているが、クライアントサー
バの双方から参照できる領域を別に設ける必要があり、
クライアントのプログラムが実行時に動的に手続きの呼
び出し方式を決定するため、処理が複雑になり、実行速
度が低下する。即ち、上述のリンク管理テーブルのエン
トリは、各クライアントの手続き呼び出しに対し、1対
1に用意する必要があり、クライアントが多数存在する
場合は必要なエントリ数は増大する。これらのエントリ
はクライアントからの手続き呼び出しの度に作成、検
索、更新、削除の処理が必要である。
FIG. 9 shows a method disclosed in Japanese Patent Application Laid-Open No. 5-289871 as a method of combining applications. In this method, an area (link management table, FIG. 3
When the client requests the server to notify the procedure calling method (313 in FIG. 9), the server registers the procedure calling method in the link management table (314 in FIG. 9). Thereafter, the client retrieves a procedure calling method from the link management table, and calls the procedure (316 in FIG. 9). In this method, the interface information between the client and the server can be dynamically searched, so that it is not necessary to be aware of the procedure call format when creating the client-side program. There is an advantage that the program on the side does not need to be changed synchronously. However, this method solves the problem of the method using the IDL language by dynamically retrieving interface information between the client and the server. However, it is necessary to separately provide an area that can be referred to by both the client and the server. ,
Since the client program dynamically determines the procedure calling method at the time of execution, the processing becomes complicated and the execution speed decreases. That is, the above-mentioned link management table entries need to be prepared for each procedure call of each client on a one-to-one basis. If there are many clients, the number of required entries increases. These entries need to be created, searched, updated, and deleted every time a procedure is called from the client.

【0004】[0004]

【発明が解決しようとする課題】従来のプログラム実行
方式は上記のように構成されており、第1の従来例にお
いては、インタフェース情報が変更された場合、クライ
アント、サーバ双方のモジュールをコンパイルし直す大
きな作業が必要あり、またクライアント、サーバ双方の
モジュールを同期して管理する必要があるという課題が
あった。第2の従来例では多数のクライアントが同時に
サーバの手続を呼び出す利用環境においては、リンク管
理テーブルにアクセスが集中し、実効速度が低下すると
いう課題があった。
The conventional program execution method is configured as described above. In the first conventional example, when the interface information is changed, both the client and server modules are recompiled. There is a problem that a large amount of work is required, and that both the client and server modules need to be managed synchronously. In the second conventional example, in a use environment in which a large number of clients simultaneously call a server procedure, there is a problem that accesses are concentrated on the link management table and the effective speed is reduced.

【0005】本発明は、上記の課題を解決するためにな
されたもので、クライアントのプログラムとサーバのプ
ログラムの同期管理をなくして管理の繁雑さを低下さ
せ、かつ実行速度を向上したプログラム実行方法を得る
ことを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and eliminates the synchronous management of a client program and a server program, thereby reducing the complexity of management and improving the execution speed. The purpose is to obtain.

【0006】[0006]

【課題を解決するための手段】この発明に係るプログラ
ム実行の依頼と結果通知方法は、手続き実行の依頼を受
けるサーバと手続きを依頼するクライアントで構成され
るシステムにおいて、クライアントからサーバに処理を
依頼する手続きを識別する手続き名称相当を送信して依
頼する手続きを確定する名称通知ステップと、サーバか
らクライアントに確定した手続き名称に対応する引数の
名称と属性の一覧を構成情報として送信する属性通知ス
テップと、クライアントでは各種の機能オブジェクトか
ら確定した手続きに必要な所定の引数の名称と属性を抽
出する抽出ステップと、この抽出した引数の名称と属性
を集めてクライアントからサーバに確定した手続き名称
に対応して送信する引数データ送信ステップと、確定し
た手続きをクライアントから送信された引数データ送信
ステップのデータに基づいて所定の処理を実行した結果
をサーバからクライアントに返送する結果返送ステップ
とを備えた。
According to the present invention, there is provided a method for requesting execution of a program and a method for notifying a result of the program. A name notification step of transmitting a procedure name equivalent to identify a procedure to be performed and determining the requested procedure, and an attribute notification step of transmitting a list of argument names and attributes corresponding to the determined procedure name from the server to the client as configuration information And the client extracts the names and attributes of predetermined arguments necessary for the procedure determined from the various function objects, and collects the extracted argument names and attributes to correspond to the procedure name determined from the client to the server. Argument data transmission step to send The result of executing a predetermined process based on the data of the transmitted parameter data transmitting step from the cement and a result returned sending back from the server to the client.

【0007】また更に、サーバにおいては複数の手続き
を集めて通信領域名で識別するようにし、クライアント
から送信する名称通知ステップでは、通信領域名で通知
し、サーバから送信する属性通知ステップでは、通信領
域名対応の複数の手続きの名称も一覧とした構成情報と
して送信する属性通知ステップとし、クライアントで
は、属性通知ステップで送信されたリストから所望の手
続きを選択し、この選択した手続きに対応する引数を機
能オブジェクトから抽出し、クライアントから送信する
引数データ送信ステップでは、選択した手続きの名称と
対応して抽出された引数を集めて送信する引数データ送
信ステップとした。
In the server, a plurality of procedures are collected and identified by a communication area name. In a name notification step transmitted from a client, the procedure is notified by a communication area name, and in an attribute notification step transmitted from the server, a communication step is performed. An attribute notification step for transmitting the names of a plurality of procedures corresponding to the area name as configuration information as a list, and the client selects a desired procedure from the list transmitted in the attribute notification step, and an argument corresponding to the selected procedure Is extracted from the functional object and transmitted from the client in the argument data transmitting step. The extracted argument corresponding to the name of the selected procedure is collected and transmitted.

【0008】[0008]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.本実施の形態では、プログラム(手続
き)実行の依頼と結果を知らせあうクライアント/サー
バ間のインタフェース情報のうち、依頼する手続を識別
する通信領域の名称、手続名称と手続き名称が参照する
データの名称である引数のみを予めクライアントのプロ
グラムにコンパイルして組み込んでおき、依頼された手
続の実行に必要な引数の属性は、サーバ上の管理データ
ベースに格納し、実行依頼を受けた時にクライアントに
サーバから通知する構成をとる。また上述の通信領域の
名称と手続名称とサーバから通知された引数の名称と属
性とを合わせて、クライアント側にインタフェース情報
を管理するテーブルを設け、このテーブルを参照してク
ライアントプログラムから手続名称と属性と引数をサー
バに送信する。この通知された引数によりサーバ上の手
続が手続を起動する。更にクライアント側のプログラム
を構成する複数のオブジェクト部品を参照して得られる
実際の引数と、手続きが参照する引数を結び付ける。ク
ライアント側のプログラムは、例えばWindows9
5のようなオペレーティングシステム(以下OSと略
記)のもとで、既存のオブジェクト指向のビジュアル開
発言語を用いて開発する。従って、クライアントプログ
ラムの動作は基本的にこれらの枠組みに従う。オブジェ
クト指向のビジュアル開発言語ではオブジェクト部品
(オブジェクト指向でいうところのオブジェクトの性質
を持ったソフトウェアコンポ−ネント)を選択、組み合
わせてプログラムを作成することに特徴がある。
Embodiment 1 FIG. In the present embodiment, the name of the communication area for identifying the requested procedure, the procedure name, and the name of the data referred to by the procedure name are included in the interface information between the client and the server for notifying the request of the execution of the program (procedure) and the result. Is compiled into the client program in advance, and the attributes of the arguments required for the execution of the requested procedure are stored in the management database on the server. Take a configuration to notify. In addition, a table for managing interface information is provided on the client side by combining the communication area name, the procedure name, the argument name and the attribute notified from the server, and the client program refers to the table to determine the procedure name and the procedure name. Send attributes and arguments to the server. The procedure on the server invokes the procedure according to the notified argument. Further, it associates actual arguments obtained by referring to a plurality of object parts constituting the client-side program with arguments referred to by the procedure. The client-side program is, for example, Windows 9
5 under an operating system (hereinafter abbreviated as OS) using an existing object-oriented visual development language. Therefore, the operation of the client program basically follows these frameworks. An object-oriented visual development language is characterized in that a program is created by selecting and combining object parts (software components having the properties of objects in the object-oriented manner).

【0009】以下ではオブジェクト部品の性質について
述べる。オブジェクト部品には個々を識別する名称があ
り、クライアントプログラムに組み込まれた同じ種類の
オブジェクト部品は名称によって識別される。クライア
ントプログラムの起動時には、クライアントプログラム
を構成する各オブジェクト部品の初期処理が同時に起動
される。オブジェクト部品は動作時に、クライアントコ
ンピュータの画面表示を自動的に行うものがある。一般
的には上述の初期処理において画面への表示を行う。例
えばプログラムが起動されると、ボタンオブジェクトは
画面上にマウスでクリックすることのできる「ボタン」
を表示する。各オブジェクト部品はメッセージ(イベン
トに対応して発生し、発生元はOS、オブジェクト部品
などである)を送受信することができ、メッセージの種
類に対応する処理を行う。これらの処理はオブジェクト
部品にあらかじめプログラムとして定義しておく。オブ
ジェクト部品の性質を「属性」によって定義できる。上
述のボタンオブジェクトを例にとると、「属性」として
「ボタン」の色を定義できる。例えば、”ボタンの色”
=”赤”と定義すると、画面上には赤色のボタンが表示
される。「属性にはプログラム開発時に行う静的定義
と、実行時に変更可能な動的定義がある。プログラム全
体の動き、各オブジェクト部品間の連携をスクリプト言
語で記述できる。例えば「ボタン」をクリックすると別
のオブジェクト部品の処理を起動するといった処理を記
述する。オブジェクト部品を独自に作成することがで
き、本発明においてもクライアントプログラムでは独自
に作成したオブジェクト部品を利用している。
Hereinafter, the properties of the object parts will be described. Each object component has a name for identifying each object, and the same type of object component incorporated in the client program is identified by the name. When the client program is started, the initial processing of each object component constituting the client program is started at the same time. Some object parts automatically display the screen of the client computer during operation. Generally, display on the screen is performed in the above-described initial processing. For example, when a program is started, a button object is a "button" that can be clicked on the screen with a mouse
Is displayed. Each object component can transmit and receive a message (which occurs in response to an event, and the source is the OS, the object component, etc.), and performs processing corresponding to the type of message. These processes are defined in advance in the object part as a program. The properties of object parts can be defined by "attributes". Taking the above-mentioned button object as an example, the color of “button” can be defined as “attribute”. For example, "button color"
If it is defined as "red", a red button is displayed on the screen. "Attributes include static definitions that are created during program development and dynamic definitions that can be changed at runtime. The movement of the entire program and the linkage between object parts can be described in a scripting language. A description is given of such a process that the process of the object component is started. Object parts can be created independently, and in the present invention also, the client program uses the independently created object parts.

【0010】上述の構成と方法によれば、クライアント
/サーバ間のインタフェース情報のうち、依頼する手続
きを識別する通信領域の名称、手続名称と引数のみをあ
らかじめクライアントプログラムにコンパイルして組み
込んでおき、これ以外の情報を実行時にクライアントプ
ログラムの初期処理でサーバに要求して、サーバより対
応する実際の各引数の名称と属性を追加の情報として受
信し、あらかじめ作成してあるクライアントのメモリ上
のインタフェース情報に記録する方法をとるので、プロ
グラムの実行時にサーバの手続きを呼び出す処理が簡単
である。また、インタフェース情報の通知をクライアン
ト/サーバ間の通信で行うので、クライアント/サーバ
双方から共通に参照する領域は必要がなくなる。さら
に、以上の処理は初期処理一回に限って行われるため、
繰り返し行われるサーバ手続き呼び出しの実行速度を低
下させることがない。静的にコンパイルするクライアン
ト/サーバ間のインタフェース情報は、識別用の通信領
域の名称、手続き名と引数のみであるため、サーバプロ
グラムの変更により、これ以外のインタフェース情報が
変更されてもクライアント側のモジュールを同期して変
更する必要が無く、再コンパイルの規模は小さく管理が
容易である。
According to the above-described configuration and method, of the interface information between the client and the server, only the name of the communication area for identifying the requested procedure, the procedure name and the arguments are compiled and incorporated in the client program in advance, Other information is requested from the server in the initial processing of the client program at the time of execution, the name and attribute of each corresponding actual argument are received from the server as additional information, and an interface on the memory of the client created in advance Since the method of recording the information is used, the process of calling the server procedure when executing the program is simple. Further, since the notification of the interface information is performed by communication between the client and the server, an area commonly referred to by both the client and the server is not required. Furthermore, since the above processing is performed only once in the initial processing,
The execution speed of the repeated server procedure call is not reduced. Since the interface information between the client and the server that is statically compiled is only the name of the communication area for identification, the procedure name, and the arguments, even if other interface information is changed due to the change of the server program, the client side There is no need to change the module synchronously, and the recompile scale is small and easy to manage.

【0011】上述の概念を、サーバ上に存在するデータ
ベースからデータを検索する具体的な処理に基づき、図
を用いて説明する。なお、ここでは説明を簡単にするた
めに、通信領域名には1つの手続きだけが想定されてい
る場合を説明する。図1は本実施の形態におけるクライ
アント/サーバシステムでのプログラムの実行方法を示
した動作フロー図である。クライアントプログラムはサ
ーバプログラムと協調動作を行う。図において、11は
クライアントプログラム42のフロー、12はサーバプ
ログラム41のフローを示している。図2はサーバプロ
グラム41とクライアントプログラム42の構成を示す
図である。図2では、一例として、クライアントコンピ
ュータの画面43の入力フィールド431に入力された
検索キー:商品コード「CODE」により、サーバ側の
データベース「ZAIKODATA」415を検索し
て、その結果をクライアントコンピュータの画面43の
価格「PRICE」と在庫数「ZNUM」の表示フィー
ルドに表示する場合の構成を示している。この例ではク
ライアントプログラム42はサーバ通信オブジェクト4
21、入力オブジェクト425、表示オブジェクト1
(426)、表示オブジェクト2(427)、ボタンオ
ブジェクト428で構成される。これらは上述のオブジ
ェクト部品である。クライアントプログラム42を構成
するオブジェクト部品の数を増やすことより、もっと複
雑な画面を表示することができる。
The above concept will be described with reference to the drawings based on a specific process for retrieving data from a database existing on a server. For simplicity of description, a case will be described in which only one procedure is assumed for the communication area name. FIG. 1 is an operation flowchart showing a method of executing a program in a client / server system according to the present embodiment. The client program cooperates with the server program. In the figure, reference numeral 11 denotes a flow of the client program 42, and reference numeral 12 denotes a flow of the server program 41. FIG. 2 is a diagram showing the configuration of the server program 41 and the client program 42. In FIG. 2, as an example, the server-side database “ZAIKODATA” 415 is searched by the search key: product code “CODE” input in the input field 431 of the screen 43 of the client computer, and the result is displayed on the screen of the client computer. 43 shows a configuration in a case where the prices are displayed in the display fields of the price “PRICE” and the stock quantity “ZNUM”. In this example, the client program 42 is the server communication object 4
21, input object 425, display object 1
(426), a display object 2 (427), and a button object 428. These are the object parts described above. By increasing the number of object parts constituting the client program 42, a more complicated screen can be displayed.

【0012】クライアントプログラム42は、データ領
域としてサーバプログラム41との通信に利用するクラ
イアント側通信領域422と「通信領域を識別するため
のポインタ」423と通信領域の構成を示す通信領域管
理表424を持つ。通信領域管理表424は、引数の名
称としての「フィールド名」、引数の属性を示す「デー
タタイプ」、「サイズ」、「変位」から構成されてい
る。サーバ側プログラム41は、クライアント/サーバ
間でやりとりする通信領域の構成を示すデータベース4
12とサーバ主プログラム411、クライアントプログ
ラム42との通信に利用するサーバ側通信領域413、
クライアント側から呼び出されて実行される手続きプロ
グラム414で構成される。
The client program 42 stores a client-side communication area 422 used as a data area for communication with the server program 41, a "pointer for identifying the communication area" 423, and a communication area management table 424 indicating the configuration of the communication area. Have. The communication area management table 424 includes “field name” as an argument name, “data type” indicating the attribute of the argument, “size”, and “displacement”. The server-side program 41 is a database 4 indicating the configuration of a communication area exchanged between the client and the server.
12, a server communication area 413 used for communication between the server main program 411 and the client program 42,
It is composed of a procedure program 414 called and executed from the client side.

【0013】図1において、処理(ステップ)111、
112、113、114はサーバ通信オブジェクト42
1の初期処理である。処理125はこれらに対応するサ
ーバ側の処理であり、サーバ主プログラム411が行
う。処理115はクライアントプログラムを構成する入
力オブジェクト425、表示オブジェクト1(42
6)、表示オブジェクト2(427)、ボタンオブジェ
クト428の初期処理である。各オブジェクトの初期処
理が完了すると、クライアントプログラムはOSからの
処理依頼であるメッセージを待機する状態116とな
る。これ以降クライアントプログラムはメッセージの種
類に応じた処理を行う。処理119は「キーボード入力
完了」の入力メッセージの処理、処理120は「画面表
示更新」の更新メッセージの処理、処理121は「ボタ
ンクリック」の起動メッセージの処理である。これらの
処理の一部で、引数の名称に対応する引数の属性を抽出
し、情報429としてクライアント通信領域422に格
納される。処理122、123、124はボタンオブジ
ェクトによって起動されるサーバ通信オブジェクト42
1の処理である。処理122で抽出された引数を含めた
通信領域の情報423、424、429をサーバに送
る。クライアント側の処理122、123にはサーバ側
の処理126、127、128、129が対応してい
る。このうち処理(ステップ)126、127、129
はサーバ主プログラム411が行い、処理128は手続
きプログラム414が行う。
In FIG. 1, a process (step) 111,
112, 113 and 114 are server communication objects 42
1 is an initial process. Processing 125 is processing corresponding to these on the server side, and is performed by the server main program 411. The processing 115 includes the input object 425 and the display object 1 (42
6) Initial processing of the display object 2 (427) and the button object 428. When the initial processing of each object is completed, the client program enters a state 116 of waiting for a message as a processing request from the OS. Thereafter, the client program performs processing according to the type of the message. Processing 119 is processing of an input message of “keyboard input complete”, processing 120 is processing of an update message of “screen display update”, and processing 121 is processing of an activation message of “button click”. As a part of these processes, the attribute of the argument corresponding to the name of the argument is extracted and stored in the client communication area 422 as information 429. Processes 122, 123, and 124 are executed by the server communication object 42 activated by the button object.
This is the first process. The communication area information 423, 424, and 429 including the arguments extracted in the process 122 are sent to the server. The processes 122, 123 on the client side correspond to the processes 126, 127, 128, 129 on the server side. Of these, processing (steps) 126, 127, 129
Is performed by the server main program 411, and the processing 128 is performed by the procedure program 414.

【0014】図3はサーバ側にある上述の通信領域の構
成を示すデータベース412の一部分を詳細に示した図
である。通信領域の構成を示すデータベース51は、通
信領域名を格納した表示511、通信領域を構成するフ
ィールドの情報を格納した表512、手続きプログラム
を格納したファイル領域52で構成される。通信領域名
を格納した表示511は、通信領域名、関連するサーバ
がクライアントから依頼されて行う手続き名称、通信領
域を構成する(引数名称と属性)を格納した表示512
へのポインタをエントリとする。通信領域を構成する引
数名称と属性を格納した表512は、通信領域名を格納
した表511の各エントリに対応して複数定義されてい
る。ファイル領域52にはクライアントからの要求で実
行される手続きを格納したファイル521〜522が格
納されている。ファイル領域52にはサーバ上で定義さ
れた手続きが全てファイルとして含まれているが図3で
は省略している。通信領域即ち、ここでは実行依頼を受
けとる手続きを構成する引数名と属性を格納した表示5
12は、引数名であるフィールド名、その属性であるデ
ータのタイプ、データのサイズ、各フィールドの通信領
域内での位置(変位)をエントリとする。本実施の形態
では表511に通信領域名「ZAIKOINF」、手続
き名「ZAIKOPRO」、表512にフィールド「C
ODE」、「PRICE」、「ZNUM」が定義されて
いる。ファイル領域52には手続きプログラム「ZAI
KOPRO」が格納されている。
FIG. 3 is a diagram showing in detail a part of the database 412 showing the configuration of the above-mentioned communication area on the server side. The database 51 indicating the configuration of the communication area includes a display 511 storing the communication area name, a table 512 storing information on fields forming the communication area, and a file area 52 storing the procedure program. The display 511 storing the communication area name is a display 512 storing the name of the communication area, the name of the procedure performed by the related server requested by the client, and the names (argument names and attributes) constituting the communication area.
Let the pointer to be an entry. A plurality of tables 512 storing argument names and attributes constituting communication areas are defined corresponding to each entry of the table 511 storing communication area names. The file area 52 stores files 521 to 522 that store procedures executed in response to a request from a client. The file area 52 contains all procedures defined on the server as files, but is omitted in FIG. A display 5 storing the communication area, that is, the argument names and attributes constituting the procedure for receiving the execution request.
Numeral 12 designates a field name as an argument name, a data type and a data size as attributes thereof, and a position (displacement) of each field in the communication area as an entry. In this embodiment, the communication area name “ZAIKOINF” and the procedure name “ZAIKOPROO” are stored in the table 511, and the field “C” is stored in the table 512.
"ODE", "PRICE", and "ZNUM" are defined. In the file area 52, the procedure program "ZAI
KOPRO ”is stored.

【0015】図4は、クライアント側の抽出された引数
を格納するデータ領域422、通信領域を識別するため
のポインタ423と通信領域管理表424の構成の詳細
を示している。通信領域即ち手続きを識別するためのポ
インタ423からは、通信領域の構成を示す通信領域管
理表424とクライアント側通信領域422がポイント
されている。通信領域管理表424はフィールド名、デ
ータのタイプ、データのサイズ、このフィールドの通信
領域422内での位置(変位)で構成される。本実施の
形態では、図1のサーバ通信オブジェクトの初期処理
(111から114)が完了した時点で、通信領域即ち
手続きを識別するためのポインタ423に通信領域名と
して「ZAIKOINF」、通信領域管理表424の属
性欄に「CODE」、「PRICE」、「ZNUM」の
各エントリの情報が格納されている。
FIG. 4 shows the details of the configuration of the data area 422 for storing the extracted arguments on the client side, the pointer 423 for identifying the communication area, and the communication area management table 424. From the pointer 423 for identifying the communication area, that is, the procedure, the communication area management table 424 indicating the configuration of the communication area and the client communication area 422 are pointed. The communication area management table 424 includes a field name, a data type, a data size, and a position (displacement) of this field in the communication area 422. In this embodiment, when the initial processing (111 to 114) of the server communication object in FIG. 1 is completed, the communication area, that is, the pointer 423 for identifying the procedure, has “ZAIKOINF” as the communication area name and the communication area management table. Information of each entry of “CODE”, “PRICE”, and “ZNUM” is stored in the attribute column 424.

【0016】次に動作について図1と図2を中心にして
説明する。クライアント側のプログラムが起動される
と、クライアントコンピュータ上に図2のクライアント
プログラムを構成する各オブジェクトがロードされ、各
オブジェクトの初期処理が実行される。図2のサーバ通
信オブジェクト421では、まず、図1の処理(ステッ
プ)111が実行される。サーバ通信オブジェクト42
1は定義された「属性」に従ってこの場合は依頼する手
続きを識別する通信領域名「ZAIKOINF」をサー
バに送信する。サーバ側ではクライアントからの送信デ
ータを受信すると処理(ステップ)125が実行され
る。処理125では図3に示した通信領域の構成を示す
データベース412を通信領域名「ZAIKOINF」
により検索して、表示512の構成情報(引数の名称で
あるフィールド名、その属性であるデータタイプ、サイ
ズ、通信領域内での位置(変位))を得て、クライアン
トに送信する。クライアントのサーバ通信オブジェクト
421はサーバから送信された通信領域の構成情報を受
信して(処理112)、図2に示した通信領域を識別す
るためのポインタ423、通信領域管理表424の為の
領域をメモリ上に獲得する。通信領域を識別するための
ポインタ423には通信領域管理表424へのポインタ
を格納する。さらに通信領域管理表424にはサーバか
ら受信したデータにより、「CODE」、「PRIC
E」、「ZNUM」の各エントリの情報を格納する(処
理113)。次に、クライアント側通信領域422のサ
イズを求め、メモリを獲得し、通信領域を識別するため
のポインタ423のフィールドに、クライアント側通信
領域422へのポインタを格納する(処理114)。
Next, the operation will be described mainly with reference to FIGS. When the client-side program is started, each object constituting the client program of FIG. 2 is loaded on the client computer, and the initial processing of each object is executed. In the server communication object 421 in FIG. 2, first, the process (step) 111 in FIG. 1 is executed. Server communication object 42
1 transmits a communication area name "ZAIKOINF" for identifying a requested procedure to the server in this case according to the defined "attribute". When the server receives the transmission data from the client, a process (step) 125 is executed. In the process 125, the database 412 indicating the configuration of the communication area shown in FIG. 3 is stored in the communication area name "ZAIKOINF".
To obtain the configuration information of the display 512 (the field name, which is the name of the argument, the data type, size, and the position (displacement) in the communication area), which are the attributes, and transmit it to the client. The server communication object 421 of the client receives the configuration information of the communication area transmitted from the server (process 112), and the pointer 423 for identifying the communication area shown in FIG. 2 and the area for the communication area management table 424. In the memory. The pointer to the communication area management table 424 is stored in the pointer 423 for identifying the communication area. Further, the communication area management table 424 stores “CODE”, “PRIC” according to the data received from the server.
The information of each entry of "E" and "ZNUM" is stored (step 113). Next, the size of the client-side communication area 422 is obtained, a memory is acquired, and a pointer to the client-side communication area 422 is stored in the field of the pointer 423 for identifying the communication area (step 114).

【0017】処理115ではクライアントプログラムを
構成するサーバ通信オブジェクト以外の入力オブジェク
ト425、表示オブジェクト1(426)、表示オブジ
ェクト2(427)、ボタンオブジェクト428の初期
処理として、クライアントコンピュータの画面43に、
図2に示したように入力用のフィールド431、表示用
のフィールド432、433、「実行」を指示するため
のボタン434の表示を行う。以上の各オブジェクト部
品の初期処理が完了した後、クライアントプログラムは
OSからのメッセージを待つ待機状態(処理116)と
なる。
In a process 115, as an initial process of the input object 425 other than the server communication object constituting the client program, the display object 1 (426), the display object 2 (427), and the button object 428, a screen 43 of the client computer is displayed.
As shown in FIG. 2, an input field 431, display fields 432 and 433, and a button 434 for instructing "execute" are displayed. After the above-described initial processing of each object component is completed, the client program enters a standby state (process 116) waiting for a message from the OS.

【0018】次にクライアントから入力した商品コード
に基づいてサーバ上のデータベースを検索し商品の価格
と在庫数を検索し、クライアントコンピュータの画面に
表示する処理について順を追って説明する。操作者が、
入力用のフィールド431に検索キーとなる商品コード
(例として“MMNN3456”)を入力すると、OS
よりメッセージ「キーボード入力完了」がクライアント
プログラム伝えられる。入力オブジェクトにこのメッセ
ージが伝えられると、入力オブジェクトは通信領域を識
別するためのポインタ423からポイントされる通信領
域管理表424を参照して自己の「属性」に定義された
引数名称「CODE」に対応するクライアント側通信領
域422の位置を求め、入力された値を引数として該当
位置に格納する(この例では“MMNN3456”でス
テップ119)。操作者がクライアントコンピュータの
画面上の「実行」ボタン434をクリックすると、OS
によりメッセージ「ボタンクリック」がクライアントプ
ログラム伝えられる。ボタンオブジェクト428にこの
メッセージが伝えられるとボタンオブジェクト428は
定義された「スクリプト」:「サーバ通信オブジェクト
の処理の起動」を実行する。これによりサーバ通信オブ
ジェクト421の処理(ステップ)122を起動する。
サーバ通信オブジェクトは、自己の「属性」に定義され
た通信領域名「ZAIKOINF」、手続き名称「ZA
IKOPRO」及びクライアント側通信領域422内の
抽出して集められた引数データをサーバへ送信する(処
理122)。
Next, a process of searching a database on a server based on a product code input from a client to search for a price and a stock quantity of a product and displaying the price on a screen of a client computer will be described step by step. The operator
When a product code (for example, “MMNN3456”) serving as a search key is input to the input field 431, the OS
A message "keyboard input complete" is transmitted to the client program. When this message is transmitted to the input object, the input object refers to the communication area management table 424 pointed by the pointer 423 for identifying the communication area, and enters the argument name “CODE” defined in its “attribute”. The position of the corresponding client-side communication area 422 is obtained, and the input value is stored in the position as an argument (in this example, "MMNN3456" and step 119). When the operator clicks an “execute” button 434 on the screen of the client computer, the OS
Transmits a message "button click" to the client program. When this message is transmitted to the button object 428, the button object 428 executes the defined “script”: “start processing of the server communication object”. This activates the process (step) 122 of the server communication object 421.
The server communication object has a communication area name “ZAIKOINF” defined in its “attribute” and a procedure name “ZAKOINF”.
IKOPRO ”and the argument data collected and extracted in the client side communication area 422 are transmitted to the server (process 122).

【0019】サーバ主プログラム411はサーバ側通信
領域413のためのメモリを獲得後、クライアントから
受信したクライアント側通信領域422内の引数データ
を格納する(処理126)。次にクライアントから指定
された手続き名称「ZAIKOPRO」にしたがって、
図3のファイル領域52から手続き「ZAIKOPR
O」を記述したファイル521をメモリ上に読み込み、
手続き「ZAIKOPRO」414を起動する(処理1
27)。手続き「ZAIKOPRO」414はサーバ側
通信領域413の内容のうち検索キーとなる「COD
E」のフィールドを参照して実際の検索キーである商品
コード:“MMNN3456”を得る。次にデータベー
ス「ZAIKODATA」を検索し、価格「PRIC
E」と在庫数「ZNUM」の値(各々“12580”と
“350”)を得る。手続き「ZAIKOPRO」41
4はこれらの値をサーバ側通信領域413の「PRIC
E」と「ZNUM」のフィールドに格納して処理を終了
する(処理128)。次にサーバ主プログラム411は
クライアントにサーバ側通信領域413の内容を送信す
る(処理またはステップ129)。クライアント側のサ
ーバ通信オブジェクト421はサーバ側通信領域413
の内容を受信し、クライアント側通信領域422に格納
する(処理123)。次にサーバ通信オブジェクト42
1はクライアントコンピュータの画面の再描画をOSに
指示する(処理124)。OSは再描画のために「画面
表示更新」メッセージを発行する。表示オブジェクトに
このメッセージが伝えられると、表示オブジェクト1及
び2は各々通信領域を識別するためのポインタ423か
らポイントされる通信領域管理表424を参照して自己
の「属性」に定義されたフィールド名「PRICE」と
「ZNUM」に対応するクライアント側通信領域422
の位置を求め、値を得て、クライアントコンピュータの
画面上の「価格」フィールドと「在庫数」フィールドに
表示する(処理120)。この例では画面上の各々の値
である“12580”と“350”が表示される。
After acquiring the memory for the server-side communication area 413, the server main program 411 stores the argument data in the client-side communication area 422 received from the client (step 126). Next, according to the procedure name "ZAIKOPRO" specified by the client,
From the file area 52 in FIG. 3, the procedure "ZAIKOPR"
The file 521 describing “O” is read into the memory,
Activate the procedure “ZAIKOPRO” 414 (Process 1
27). The procedure “ZAIKOPRO” 414 is a “COD” that is a search key among the contents of the server-side communication area 413.
The product code: "MMNN3456" which is an actual search key is obtained by referring to the field "E". Next, the database “ZAIKODATA” is searched and the price “PRIC” is searched.
E "and the value of the stock quantity" ZNUM "(" 12580 "and" 350 ", respectively). Procedure "ZAIKOPRO" 41
4 stores these values in the “PRIC” of the server-side communication area 413.
The processing is terminated after storing in the fields "E" and "ZNUM" (step 128). Next, the server main program 411 sends the contents of the server-side communication area 413 to the client (processing or step 129). The server communication object 421 on the client side has a server communication area 413.
Is received and stored in the client-side communication area 422 (process 123). Next, the server communication object 42
1 instructs the OS to redraw the screen of the client computer (process 124). The OS issues a “screen display update” message for redrawing. When this message is transmitted to the display object, each of the display objects 1 and 2 refers to the communication area management table 424 pointed by the pointer 423 for identifying the communication area, and the field name defined in its own “attribute” Client-side communication area 422 corresponding to "PRICE" and "ZNUM"
Is obtained, and a value is obtained and displayed in the "price" field and the "stock quantity" field on the screen of the client computer (process 120). In this example, “12580” and “350” which are the respective values on the screen are displayed.

【0020】操作者がクライアントコンピュータの画面
上の入力フィールドへ値を入力し、「実行」ボタンを押
すことを繰り返すと、クライアントのプログラムは以上
説明した処理を繰り返し実行する。その結果として、毎
回サーバ上の手続きが実行され、各回の商品コードの入
力値に対応した価格と在庫数がサーバ上のデータベース
から検索され、画面上に表示される。初期処理(図1の
111から114の処理)により、クライアントのプロ
グラムの実行に必要なインタフェース情報は全てメモリ
上に作成されており、それらは一括して処理122でサ
ーバへ送られるので、上記の繰り返し処理においてもイ
ンタフェース情報検索のために実効速度が低下すること
はない。一般に上記の例のようにサーバ上のデータベー
スを検索する業務プログラムでは時間あたりの処理数に
おいて高い性能を要求されることが多く、従来の技術で
述べた“アプリケーション結合方法、特開平5−289
871”のようにサーバ、クライアント双方からアクセ
ス可能なリンク管理テーブルを手続きの呼び出しの度に
参照する方式では高い性能要求に応えられない。また以
上説明したようにサーバ上において、通信領域の構成を
示すデータベース412が変更されたとしても、クライ
アントのプログラムには、実行時に変更後の通信領域の
構成が通知されるため、クライアントのプログラムをコ
ンパイルし直す必要はない。たとえば、図2において商
品コード「CODE」の「サイズ」が変更された場合、
「PRICE」以降の「通信領域内の位置」は変更され
るが、これらの変更は実行時にクライアント側に通知さ
れ、入力オブジェクト、表示オブジェクト1及び2は変
更後の位置情報で該当のフィールドを参照することがで
きる。
When the operator repeats inputting a value into an input field on the screen of the client computer and pressing an "execute" button, the client program repeatedly executes the processing described above. As a result, the procedure on the server is executed each time, and the price and the stock quantity corresponding to the input value of the product code each time are retrieved from the database on the server and displayed on the screen. As a result of the initial processing (the processing from 111 to 114 in FIG. 1), all the interface information necessary for executing the client program has been created in the memory, and these are sent to the server in the processing 122 in a lump. Even in the repetitive processing, the effective speed does not decrease due to the interface information search. In general, a business program for searching a database on a server as in the above-described example often requires high performance in terms of the number of processes per time, and the “application combining method” described in the prior art is disclosed in Japanese Patent Laid-Open No. 5-289.
871 ", a method of referring to a link management table accessible from both the server and the client each time a procedure is called cannot meet a high performance requirement. As described above, the configuration of the communication area on the server is Even if the database 412 shown is changed, the client program is notified of the changed configuration of the communication area at the time of execution, so that it is not necessary to recompile the client program. If the "size" of "CODE" is changed,
The "position in the communication area" after "PRICE" is changed, but these changes are notified to the client side at the time of execution, and the input object, the display objects 1 and 2 refer to the corresponding field in the changed position information. can do.

【0021】実施の形態2.実施の形態1では、クライ
アントプログラムから呼び出す手続きが一種類の場合で
あった。しかし、手続き名称はサーバ通信オブジェクト
の「属性」であるため、オブジェクト部品の性質によっ
て、実行時にその種類を動的に変更することができる。
例えば、先の実施の形態において、価格「PRICE」
の代わりに、同一商品の仕入れ価格が「IPRICE」
としてサーバ上のデータベースに登録されているとき
に、サーバ上で動作する別の手続きプログラム「ZAI
KO−IN」というプログラムで起動できて、このプロ
グラムが価格「PRICE」の代わりに仕入れ価格「I
PRICE」をデータベースから検索してクライアント
プログラムに送信すれば、クライアントコンピュータの
画面には「価格」の代わりに「仕入れ価格」を表示でき
る。図5は本実施の形態におけるクライアントプログラ
ム、サーバプログラムの構成を示したものである。図2
に示した通信領域を識別するためのポインタ423と通
信領域管理表424の構成に対し、図5に示したように
クライアントプログラムから呼び出すことのできる手続
き名のリスト429を追加することにより、同じ構成の
通信領域を利用する複数種類の手続きを選択して呼び出
すことが可能である。図7はサーバ側にある前記通信領
域の構成を示すデータベース412の構成を本実施の形
態に対応して変更したものである。先の実施の形態にお
けるデータベース51にさらに、サーバ上で呼び出すこ
とのできる手続きのリストを示した表53を追加したも
のである。表53には特定の通信領域名に対応して呼び
出すことのできる手続き名が登録される。登録された手
続きプログラムはファイル領域52に格納する。そし
て、通信領域名を格納した表511の手続き名を格納し
ていたフィールドを表53へのポインタに変更する。本
実施の形態では、表53に通信領域名[ZAIKOIN
F」に対応する手続き名称、「ZAIKOPRO」、
「ZAIKO−IN」が定義されている。
Embodiment 2 FIG. In the first embodiment, only one type of procedure is called from the client program. However, since the procedure name is an “attribute” of the server communication object, its type can be dynamically changed at the time of execution depending on the properties of the object component.
For example, in the above embodiment, the price “PRICE”
Instead of the purchase price of the same product is "IPRICE"
Is registered in the database on the server as the other procedure program "ZAI" that operates on the server.
KO-IN ”, which can be activated by the purchase price“ I ”instead of the price“ PRICE ”.
If "PRICE" is retrieved from the database and transmitted to the client program, "purchase price" can be displayed instead of "price" on the screen of the client computer. FIG. 5 shows a configuration of the client program and the server program in the present embodiment. FIG.
5 has the same configuration as that of the pointer 423 for identifying the communication area and the configuration of the communication area management table 424 by adding a list 429 of procedure names that can be called from the client program as shown in FIG. It is possible to select and call a plurality of types of procedures that use the communication area of. FIG. 7 shows a configuration of the database 412 indicating the configuration of the communication area on the server side, which is changed in accordance with the present embodiment. A table 53 showing a list of procedures that can be called on the server is added to the database 51 in the above embodiment. In the table 53, the names of procedures that can be called corresponding to specific communication area names are registered. The registered procedure program is stored in the file area 52. Then, the field storing the procedure name in the table 511 storing the communication area name is changed to a pointer to the table 53. In the present embodiment, the communication area name [ZAIKOIN
F ”,“ ZAIKOPRO ”,
"ZAIKO-IN" is defined.

【0022】本実施の形態における動作について図6の
フローを用いて説明する。サーバ通信オブジェクトの初
期処理において、通信領域名「ZAIKOINF」に対
しサーバから受信するデータにサーバ上で起動できる手
続き名のリストを追加する。このデータは図7に示した
拡張された通信領域の構成を示すデータベース(図5の
412)の表示53から検索されたものである。さらに
処理113において手続き名にリストを示す表429を
クライアントのメモリ上に追加作成する。これ以外の初
期処理は実施の形態1と同じである。操作者が「価格」
の代わりに「仕入れ価格」をサーバのデータベースから
検索する場合は、予めサーバ通信オブジェクトの属性で
ある「手続き名」を「ZAIKO−IN」に書き換えて
おく。この状態でクライアントコンピュータの画面上の
入力フィールドに値を入力し、「ボタン」をクリックす
ると、クライアントプログラムは実施の形態1で説明し
たように動作し、サーバ側の手続き「ZAIKO−I
N」を呼び出す。このプログラムは価格「PRICE」
の代わりに仕入れ価格「IPTRICE」をデータベー
スから検索するので、クライアントコンピュータの画面
上の「価格」フィールドには仕入れ価格が表示される。
以上説明したように本実施の形態によれば、クライアン
トプログラムにおける実行時の指定によって、サーバ上
で実行される手続きを容易に選択することができる。ま
たこの場合クライアントプログラムの実行に係る初期処
理の部分は手続きの選択の有無に係わらず共通であり、
呼び出す手続き毎にサーバに問い合わせを行いリンク管
理テーブルにエントリを作成する必要はない。
The operation in the present embodiment will be described with reference to the flow of FIG. In the initial processing of the server communication object, a list of procedure names that can be started on the server is added to the data received from the server for the communication area name “ZAIKOINF”. This data is retrieved from the display 53 of the database (412 in FIG. 5) indicating the configuration of the extended communication area shown in FIG. Further, in process 113, a table 429 showing a list of procedure names is additionally created on the memory of the client. Other initial processing is the same as in the first embodiment. Operator is "price"
When the “purchase price” is retrieved from the database of the server instead of “”, the “procedure name”, which is the attribute of the server communication object, is rewritten in advance to “ZAIKO-IN”. In this state, when a value is entered in the input field on the screen of the client computer and the "button" is clicked, the client program operates as described in the first embodiment, and the server-side procedure "ZAIKO-I"
N ". This program is price "PRICE"
Instead, the purchase price "IPTRICE" is retrieved from the database, and the purchase price is displayed in the "price" field on the screen of the client computer.
As described above, according to the present embodiment, it is possible to easily select a procedure to be executed on the server by designating the client program at the time of execution. Also, in this case, the part of the initial processing related to the execution of the client program is common regardless of the selection of the procedure,
It is not necessary to make an inquiry to the server for each calling procedure and create an entry in the link management table.

【0023】[0023]

【発明の効果】以上述べたように本発明によれば、動的
なインタフェース情報の検索のためにクライアント/サ
ーバの双方から参照できる特別な領域を設ける必要がな
い。また動的なインタフェースの情報の検索処理は初期
処理の時のみ行えばよく、2回目以降の繰り返しの処理
ではインタフェース情報の検索処理の要する実効速度の
低下は生じない。サーバプログラムの変更によって、ク
ライアントのプログラムを同期してコンパイルし直す必
要も生じない為、クライアントのプログラムの管理が容
易に行なえる効果がある。
As described above, according to the present invention, there is no need to provide a special area that can be referred to by both the client and the server for dynamic interface information retrieval. Further, the dynamic interface information search process only needs to be performed at the time of the initial process, and the effective speed required for the interface information search process does not decrease in the second and subsequent repetitive processes. Since there is no need to synchronize and recompile the client program by changing the server program, there is an effect that the management of the client program can be easily performed.

【0024】また更に、サーバ上で実行する手続きの選
択もクライアントプログラムにおいて容易に行える効果
がある。
Further, there is an effect that the procedure to be executed on the server can be easily selected in the client program.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の実施の形態1におけるクライアント
のプログラムとサーバのプログラムの処理手順を表すフ
ローチャート図である。
FIG. 1 is a flowchart illustrating a processing procedure of a client program and a server program according to Embodiment 1 of the present invention.

【図2】 実施の形態1におけるクライアント/サーバ
システムの構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of a client / server system according to the first embodiment.

【図3】 図2においてサーバ側に存在する通信領域の
構成情報を格納したデータベースの構成を示す図であ
る。
FIG. 3 is a diagram showing a configuration of a database storing configuration information of a communication area existing on a server side in FIG. 2;

【図4】 図2においてクライアント側に作成するデー
タ領域の構成を示す図である。
FIG. 4 is a diagram showing a configuration of a data area created on the client side in FIG. 2;

【図5】 本発明の実施の形態2におけるクライアント
/サーバシステムの構成例を示す図である。
FIG. 5 is a diagram showing a configuration example of a client / server system according to a second embodiment of the present invention.

【図6】 本発明の実施の形態2におけるクライアント
のプログラムとサーバのプログラムの処理手順を表すフ
ローチャート図である。
FIG. 6 is a flowchart illustrating a processing procedure of a client program and a server program according to the second embodiment of the present invention.

【図7】 図5においてサーバ側に存在する通信領域の
構成情報を格納したデータベースの構成を示す図であ
る。
FIG. 7 is a diagram showing a configuration of a database storing configuration information of a communication area existing on the server side in FIG. 5;

【図8】 従来のIDLを説明する図である。FIG. 8 is a diagram illustrating a conventional IDL.

【図9】 従来のアプリケーション結合方式での処理動
作を説明する図である。
FIG. 9 is a diagram illustrating a processing operation in a conventional application combination method.

【符号の説明】[Explanation of symbols]

11 クライアントプログラム・フロー、12 サーバ
プログラム・フロー、111,112,113,11
5,116 クライアントプログラムの初期処理、11
7,118 クライアントプログラムのメッセージ判別
処理、119,120,121,122,123,12
4 クライアントプログラムのオブジェクト部品の処
理、125 サーバプログラムの初期処理、126,1
27,128,129 サーバプログラムの処理、21
IDLソース、22 IDLコンパイラ、23 クラ
イアントプログラム、24 サーバプログラム、31
クライアント処理フロー、32 サーバ処理フロー、3
3 リンク管理テーブル、311,312,313,3
15 クライアントプログラム処理、314,316サ
ーバプログラム処理、41 サーバ側プログラムの構
成、412 通信領域の構成を示すデータベース、41
1 サーバ主プログラム、413 サーバ側通信領域、
414 クライアントより起動される手続き、415
サーバ側データベース、42 クライアントプログラム
の構成、421 サーバ通信オブジェクト、422 ク
ライアント側通信領域、423,424,429 通信
領域の構成情報、425 入力オブジェクト、426,
427 表示オブジェクト、428ボタンオブジェク
ト、43 クライアントコンピュータの画面、431,
432,433,434 各オブジェクト部品の表示、
51 通信領域の構成を示すデータベース、511 通
信領域名の表、512 通信領域を構成するフィールド
の表、52 手続きを格納するファイル領域、521,
522 手続きプログラムファイル、53 手続き名リ
スト表。
11 Client program flow, 12 Server program flow, 111, 112, 113, 11
5,116 Initial processing of client program, 11
7, 118 Message determination processing of client program, 119, 120, 121, 122, 123, 12
4 Processing of Object Parts of Client Program, 125 Initial Processing of Server Program, 126, 1
27, 128, 129 Processing of server program, 21
IDL source, 22 IDL compiler, 23 client program, 24 server program, 31
Client processing flow, 32 server processing flow, 3
3 link management table, 311, 312, 313, 3
15 Client program processing, 314, 316 server program processing, 41 Configuration of server-side program, 412 Database indicating configuration of communication area, 41
1 server main program, 413 server side communication area,
414 Procedure started by client 415
Server-side database, 42 client program configuration, 421 server communication object, 422 client-side communication area, 423, 424, 429 communication area configuration information, 425 input object, 426,
427 display object, 428 button object, 43 client computer screen, 431,
432, 433, 434 display of each object part,
51 Database indicating the configuration of the communication area, 511 Table of communication area names, 512 Table of fields forming the communication area, 52 File area for storing procedures, 521
522 procedure program file, 53 procedure name list table.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 手続き実行の依頼を受けるサーバと上記
手続きを依頼するクライアントで構成されるシステムに
おいて、 クライアントからサーバに処理を依頼する上記手続きを
識別する手続き名称相当を送信して依頼する手続きを確
定する名称通知ステップと、 サーバからクライアントに上記確定した手続き名称に対
応する引数の名称と属性の一覧を構成情報として送信す
る属性通知ステップと、 クライアントでは各種の機能オブジェクトから上記確定
した手続きに必要な所定の上記引数の名称と属性を抽出
する抽出ステップと、 上記抽出した引数の名称と属性を集めてクライアントか
らサーバに上記確定した手続き名称に対応して送信する
引数データ送信ステップと、 上記確定した手続きを上記送信された引数データ送信ス
テップのデータに基づいて所定の処理を実行した結果を
サーバからクライアントに返送する結果返送ステップと
を備えたことを特徴とするプログラム実行の依頼と結果
通知方法。
In a system comprising a server receiving a procedure execution request and a client requesting the above procedure, a procedure of transmitting a procedure name corresponding to the above procedure for requesting a process from the client to the server and requesting the server is described. A name notification step for determining, an attribute notification step for transmitting a list of argument names and attributes corresponding to the determined procedure name from the server to the client as configuration information, and a client required for the determined procedure from various functional objects. An extracting step of extracting the names and attributes of the predetermined arguments; an argument data transmitting step of collecting the extracted names and attributes of the arguments and transmitting from the client to the server in accordance with the determined procedure name; The procedure of the argument data transmission step Request a result notification method of a program execution, characterized in that a result return step of returning a client from the server a result of executing a predetermined process based on.
【請求項2】 サーバにおいては複数の手続きを集めて
通信領域名で識別するようにし、 クライアントから送信する名称通知ステップでは、通信
領域名で通知し、 サーバから送信する属性通知ステップでは、上記通信領
域名対応の複数の手続きの名称も一覧とした構成情報と
して送信する属性通知ステップとし、 クライアントでは、上記属性通知ステップで送信された
リストから所望の手続きを選択して、上記選択した手続
きに対応する引数を機能オブジェクトから抽出して、 クライアントから送信する引数データ送信ステップで
は、選択した手続きの名称と対応して抽出された引数を
集めて送信する引数データ送信ステップとしたことを特
徴とする請求項1記載のプログラム実行の依頼と結果通
知方法。
2. A server collects a plurality of procedures and identifies them by a communication area name. In a name notification step transmitted from a client, the server notifies the communication area name, and in an attribute notification step transmitted from the server, the communication step includes: An attribute notification step in which the names of a plurality of procedures corresponding to the area name are transmitted as configuration information as a list. The client selects a desired procedure from the list transmitted in the attribute notification step, and responds to the selected procedure. The argument data transmitting step of extracting an argument to be performed from the function object and transmitting from the client is an argument data transmitting step of collecting and transmitting the extracted arguments corresponding to the name of the selected procedure. Item 1. The program execution request and the result notification method according to item 1.
JP9093471A 1997-04-11 1997-04-11 Request for program execution and notification of result Expired - Lifetime JP2994299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9093471A JP2994299B2 (en) 1997-04-11 1997-04-11 Request for program execution and notification of result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9093471A JP2994299B2 (en) 1997-04-11 1997-04-11 Request for program execution and notification of result

Publications (2)

Publication Number Publication Date
JPH10289119A true JPH10289119A (en) 1998-10-27
JP2994299B2 JP2994299B2 (en) 1999-12-27

Family

ID=14083265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9093471A Expired - Lifetime JP2994299B2 (en) 1997-04-11 1997-04-11 Request for program execution and notification of result

Country Status (1)

Country Link
JP (1) JP2994299B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504621A (en) * 2007-11-02 2011-02-10 テルコーディア ライセンシング カンパニー, リミテッド ライアビリティ カンパニー Method and system for programming given policy

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504621A (en) * 2007-11-02 2011-02-10 テルコーディア ライセンシング カンパニー, リミテッド ライアビリティ カンパニー Method and system for programming given policy
US8448159B2 (en) 2007-11-02 2013-05-21 Tti Inventions C Llc Method and system for policy enabled programming

Also Published As

Publication number Publication date
JP2994299B2 (en) 1999-12-27

Similar Documents

Publication Publication Date Title
US9262245B2 (en) Computing system and method for processing user input in a world wide web application
US7962551B2 (en) Method, apparatus, and system for immediate posting of changes in a client server environment
US8146097B2 (en) Method, apparatus, and system for implementing view caching in a framework to support web-based applications
US7454759B2 (en) Method, apparatus, and system for implementing a framework to support a web-based application
US7203948B2 (en) Method, apparatus, and system for implementing caching of view custom options in a framework to support web-based applications
US7461119B2 (en) Method, apparatus, and system for managing status of requests in a client server environment
US20070250840A1 (en) Computing system and method to perform run-time extension for world wide web application
JPS62163155A (en) Information communication system
US8046343B2 (en) Computing system and method for automatic completion of pick field
US20080288918A1 (en) Web service tool based on business object layer
US7870492B2 (en) Method, apparatus, and system for managing commands in a client server environment
CN111459991B (en) Information query method and device
JP2994299B2 (en) Request for program execution and notification of result
US20070033597A1 (en) Method, apparatus, and system for implementing notifications in a framework to suppot web-based applications
JP2002157386A (en) Workflow management method, its device, its processing program and recording medium with its processing program stored
JPH09305366A (en) Screen display optimization method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071022

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081022

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091022

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091022

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101022

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111022

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121022

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 14

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term