JP3450791B2 - Function management device for program, function management method, and recording medium recording program for executing function management method - Google Patents

Function management device for program, function management method, and recording medium recording program for executing function management method

Info

Publication number
JP3450791B2
JP3450791B2 JP2000071388A JP2000071388A JP3450791B2 JP 3450791 B2 JP3450791 B2 JP 3450791B2 JP 2000071388 A JP2000071388 A JP 2000071388A JP 2000071388 A JP2000071388 A JP 2000071388A JP 3450791 B2 JP3450791 B2 JP 3450791B2
Authority
JP
Japan
Prior art keywords
function
parameter
program
actual
programming language
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.)
Expired - Lifetime
Application number
JP2000071388A
Other languages
Japanese (ja)
Other versions
JP2001265594A (en
Inventor
真 鬼塚
秀一 西岡
崇 芳西
淳一 黒岩
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000071388A priority Critical patent/JP3450791B2/en
Publication of JP2001265594A publication Critical patent/JP2001265594A/en
Application granted granted Critical
Publication of JP3450791B2 publication Critical patent/JP3450791B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、関数呼出し機能を
もつプログラム言語やデータベース管理システムにおけ
るユーザ定義関数で記述されるプログラムの関数管理装
置および方法に係り、特に関数の登録および実行に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a function management apparatus and method for a program described by a user-defined function in a programming language having a function calling function or a database management system, and more particularly to function registration and execution. .

【0002】[0002]

【従来の技術】関数呼出し機能をもつプログラム言語で
記述されるプログラムは、その関数管理部では、関数を
「返却型」、「関数名称」、「パラメータ型のリスト」
を用いて一意に特定していた。
2. Description of the Related Art In a program written in a programming language having a function calling function, the function management section defines a function as "return type", "function name", and "parameter type list".
Was uniquely identified using.

【0003】また、データベース管理システムにおける
ユーザ定義関数でも同様に記述される。
Further, the user-defined function in the database management system is similarly described.

【0004】[0004]

【発明が解決しようとする課題】このため、パラメータ
型やパラメータ数が少し異なるだけで、ほとんど内部の
実装が同じであるような関数であっても、異なる関数と
して実装しなければならない。
For this reason, even if the functions have almost the same internal implementation with only a slight difference in the parameter type and the number of parameters, they must be implemented as different functions.

【0005】この結果、重複プログラムが散在してしま
い、プログラムの修整が複雑になってしまうという問題
があった。
As a result, there is a problem that the duplicated programs are scattered and the modification of the programs becomes complicated.

【0006】本発明の目的は、従来技術で問題となる、
パラメータ型やパラメータ数が少し異なるだけで、異な
る関数として実装しなければならないという点を解決す
る関数管理装置および関数管理方法ならびに記録媒体を
提供することにある。
The object of the present invention is a problem with the prior art,
It is to provide a function management device, a function management method, and a recording medium that solve the problem that they have to be implemented as different functions with only slightly different parameter types and the number of parameters.

【0007】[0007]

【課題を解決するための手段】本発明は、前記の課題を
解決するため、以下のプログラムの関数管理装置および
関数管理方法ならびに記録媒体を特徴とする。
In order to solve the above-mentioned problems, the present invention is characterized by the following program function management device, function management method and recording medium.

【0008】(関数管理装置)関数呼出し機能を有する
プログラム言語で記述されるプログラムの関数管理装置
であって、関数を呼出す際に、プログラム言語内に記述
された呼出し関数の名を元に実関数を選択する関数選択
手段と、プログラム言語内に記述された呼出し関数のパ
ラメータ値リスト及びパラメータの表記形式および型の
対応表を用いて、個々のパラメータの型を決定するパラ
メータ型情報付加手段と、選択した実関数に対し、パラ
メータの値と型の組のリストを渡すことで実関数を実行
する関数実行手段とを備えたことを特徴とする。
(Function management device) A function management device for a program described in a programming language having a function calling function, and when calling a function, an actual function is based on the name of the calling function described in the programming language. A function selecting means for selecting, a parameter type information adding means for determining the type of each parameter by using the parameter value list of the calling function described in the programming language and the correspondence table of the notation format and type of the parameter, The present invention is characterized by comprising a function executing means for executing a real function by passing a list of pairs of parameter values and types to the selected real function.

【0009】また、前記関数選択手段は、実関数アドレ
スと関数の名称の対応表を記憶装置から読み出し、プロ
グラム言語内に記述された関数の名称を元にそれを実関
数アドレスに変換することを特徴とする。
Further, the function selecting means may read a correspondence table of real function addresses and function names from the storage device and convert it into a real function address based on the function name described in the programming language. Characterize.

【0010】また、前記パラメータ型情報付加手段は、
値の表記形式と型の対応表を読み出し、プログラム言語
内に記述された個々のパラメータ毎にその型を付加した
パラメータ値と型の組みのリストを得ることを特徴とす
る。
Further, the parameter type information adding means is
It is characterized in that the correspondence table of the notation format of values and the type is read, and a list of pairs of parameter values and types in which the type is added to each parameter described in the programming language is obtained.

【0011】また、前記実関数実行手段は、前記関数選
択手段が変換した実関数アドレスに対し、そのパラメー
タとして前記パラメータ型情報付加手段が得るパラメー
タ値と型の組みのリストを渡し、その実関数を呼出し、
呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする。
Further, the actual function executing means passes the actual function address converted by the function selecting means, as a parameter thereof, a list of pairs of parameter values and types obtained by the parameter type information adding means, and outputs the actual function. call,
The called real function is characterized by executing processing according to the type using the parameter value and the type information passed as parameters.

【0012】(関数管理方法)関数呼出し機能を有する
プログラム言語で記述されるプログラムの関数管理方法
であって、関数を呼出す際に、プログラム言語内に記述
された呼出し関数の名を元に実関数を選択する関数選択
過程と、プログラム言語内に記述された呼出し関数のパ
ラメータ値リスト及びパラメータの表記形式および型の
対応表を用いて、個々のパラメータの型を決定するパラ
メータ型情報付加過程と、選択した実関数に対し、パラ
メータの値と型の組のリストを渡すことで実関数を実行
する関数実行過程とによって関数管理することを特徴と
する。
(Function management method) This is a function management method for a program written in a programming language having a function calling function. When a function is called, the actual function is based on the name of the calling function written in the programming language. And a parameter type information addition process for determining the type of each parameter by using the function selection process for selecting, the parameter value list of the calling function described in the programming language, and the notation format and type correspondence table of parameters, It is characterized in that the selected real function is managed by a function execution process of executing the real function by passing a list of parameter value and type pairs.

【0013】また、前記関数選択過程は、実関数アドレ
スと関数の名称の対応表を記憶装置から読み出し、プロ
グラム言語内に記述された関数の名称を元にそれを実関
数アドレスに変換することを特徴とする。
In the function selecting process, a correspondence table of real function addresses and function names is read from the storage device and converted into real function addresses based on the function names described in the programming language. Characterize.

【0014】また、前記パラメータ型情報付加過程は、
値の表記形式と型の対応表を読み出し、プログラム言語
内に記述された個々のパラメータ毎にその型を付加した
パラメータ値と型の組みのリストを得ることを特徴とす
る。
The parameter type information adding process is
It is characterized in that the correspondence table of the notation format of values and the type is read, and a list of pairs of parameter values and types in which the type is added to each parameter described in the programming language is obtained.

【0015】また、前記実関数実行過程は、前記関数選
択過程が変換した実関数アドレスに対し、そのパラメー
タとして前記パラメータ型情報付加過程が得るパラメー
タ値と型の組みのリストを渡し、その実関数を呼出し、
呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする。
In the actual function execution process, the list of pairs of parameter values and types obtained by the parameter type information addition process is passed as a parameter to the actual function address converted by the function selection process, and the actual function is executed. call,
The called real function is characterized by executing processing according to the type using the parameter value and the type information passed as parameters.

【0016】(記録媒体)前記プログラムの関数管理方
法における処理手順をコンピュータに実行させるための
プログラムを、該コンピュータが読み取り可能な記録媒
体に記録したことを特徴とする。
(Recording Medium) A program for causing a computer to execute the processing procedure in the function management method of the program is recorded in a recording medium readable by the computer.

【0017】以上の装置、方法において、関数アドレス
/関数名対応表では、登録された実関数アドレスとその
実関数をプログラム言語の中でどのような名称で指定す
るかの対応を記憶装置に書込んでいる。そのために、プ
ログラムの中で指定された関数名称が決まれば、実関数
アドレスと関数の名称の対応表を記憶装置から読み出す
ことで、その実関数のアドレスが決定でき、実関数を実
行することが可能となる。
In the above apparatus and method, in the function address / function name correspondence table, the correspondence between the registered actual function address and the name of the actual function to be designated in the programming language is written in the storage device. I'm out. Therefore, if the function name specified in the program is determined, the address of the actual function can be determined by reading the correspondence table of the actual function address and the function name from the storage device, and the actual function can be executed. Becomes

【0018】関数選択手段は、プログラム言語内に記述
された関数の名称を元に関数アドレス/関数名対応表を
用いて、それを実関数アドレスに変換する。
The function selecting means uses the function address / function name correspondence table based on the name of the function described in the programming language to convert it into an actual function address.

【0019】一方、パラメータ型情報付加手段は、記憶
装置から値の表記形式と型の対応表を読み出し、プログ
ラム言語内に記述された関数の個々のパラメータについ
て、その型情報を付加するものとする。パラメータは複
数あるため、結果的には値と型の組みのリストが得られ
る。
On the other hand, the parameter type information adding means reads the correspondence table of the notation format of values and the types from the storage device, and adds the type information to each parameter of the function described in the programming language. . Since there are multiple parameters, the result is a list of value / type pairs.

【0020】一方、関数実行手段は、関数選択手段で得
られた実関数アドレスに対し、そのパラメータとしてパ
ラメータ型情報付加手段で得られた値と型の組みのリス
トを渡して、その実関数を呼出す。呼出された実関数側
では、パラメータとして渡された値と型の情報を用いて
型に応じて処理を実行する。
On the other hand, the function executing means calls the actual function address by passing the list of the set of values and types obtained by the parameter type information adding means as the parameter to the actual function address obtained by the function selecting means. . The called real function side executes processing according to the type using the value and type information passed as parameters.

【0021】したがって、実関数では値とその型の関数
のパラメータとしているため、異なるパラメータ型やパ
ラメータ数の関数群を1つの関数に集約することが可能
となり、その結果、重複プログラムが散在するのを防ぐ
ことができるため、プログラムの修整を簡略化すること
が可能となる。
Therefore, since the actual function uses the value and the parameter of the function of that type, it becomes possible to aggregate the function groups having different parameter types and the number of parameters into one function, and as a result, duplicate programs are scattered. Since it is possible to prevent, it is possible to simplify the modification of the program.

【0022】[0022]

【発明の実施の形態】本発明の実施形態が対象とするプ
ログラムは、 (1)呼出された関数では、パラメータとして与えられ
た値ごとにその型を付加する。値の型は、値の表記形式
から一意に決められるものとする。
BEST MODE FOR CARRYING OUT THE INVENTION The program targeted by the embodiments of the present invention is: (1) In a called function, its type is added to each value given as a parameter. The value type shall be uniquely determined from the value notation format.

【0023】(2)呼出された関数側では、値とその型
の組のリストを元にその関数を実装するものとする。
(2) The called function side implements the function based on the list of pairs of values and their types.

【0024】図1は、本発明の実施形態を示し、データ
と処理の関係ブロックである。プログラム1は、関数呼
出しを含む記述のプログラム言語によって記述されたプ
ログラムである。関数管理装置としては、表記形式/型
対応表2と、関数アドレス/関数名対応表3および関数
パラメータ情報(値、型)4とを備える。
FIG. 1 shows an embodiment of the present invention, which is a relational block of data and processing. The program 1 is a program written in a programming language including a function call. The function management device includes a notation format / type correspondence table 2, a function address / function name correspondence table 3, and function parameter information (value, type) 4.

【0025】表記形式/型対応表2は、プログラム1内
に記述されるパラメータ値の表記形式とそのパラメータ
型の対応関係を管理するためのものである。
The notation format / type correspondence table 2 is for managing the correspondence relationship between the notation format of the parameter values described in the program 1 and the parameter types.

【0026】関数アドレス/関数名対応表3は、プログ
ラム1内に記述された個々の関数のアドレスと関数名の
対応関係を管理するためのものであり、登録された実関
数アドレスとその実関数をプログラム言語の中でどのよ
うな名称で指定するかの対応を記憶装置に保存してい
る。
The function address / function name correspondence table 3 is for managing the correspondence relationship between the address of each function described in the program 1 and the function name, and shows the registered real function address and its actual function. The correspondence of what kind of name is used in the programming language is stored in the storage device.

【0027】関数パラメータ情報(値、型)4は、プロ
グラム1内に記述されたパラメータ値とその型の情報を
管理するものである。
The function parameter information (value, type) 4 manages the parameter value described in the program 1 and its type information.

【0028】関数実行コード5は、プログラム1内に記
述された関数を実行可能な形式に変換した結果である。
The function execution code 5 is the result of converting the function described in the program 1 into an executable form.

【0029】プログラム解釈手段6は、プログラム1を
入力し、関数アドレス/関数名対応表3と関数実行コー
ド5を出力する。また、プログラム解釈手段6は、プロ
グラム1と表記形式/型対応表2を入力とし、関数パラ
メータ情報(値、型)4を出力する。
The program interpreting means 6 inputs the program 1, and outputs the function address / function name correspondence table 3 and the function execution code 5. Further, the program interpreting means 6 inputs the program 1 and the notation format / type correspondence table 2, and outputs the function parameter information (value, type) 4.

【0030】具体例を以下に説明する。このときのプロ
グラム1の例として、下記の
A specific example will be described below. As an example of program 1 at this time,

【0031】[0031]

【表1】 を用いて説明する。また、表記形式/型対応表2とし
て、下記の例を用いる。
[Table 1] Will be explained. Further, the following example is used as the notation format / type correspondence table 2.

【0032】[0032]

【表2】 [Table 2]

【0033】図1中のプログラム解釈手段6を実行する
ことにより、関数アドレス/関数名対応表3は以下のよ
うに、「main」と「invoke」の2つの関数の関数アドレ
スと関数名の情報が生成される。
By executing the program interpreting means 6 in FIG. 1, the function address / function name correspondence table 3 is as follows, information on the function address and function name of the two functions "main" and "invoke". Is generated.

【0034】[0034]

【表3】 [Table 3]

【0035】同様に、関数パラメータ情報(値、型)4
では以下のように、2回呼出されている「invoke」につ
いての情報が生成される。
Similarly, function parameter information (value, type) 4
Then, information about "invoke" called twice is generated as follows.

【0036】[0036]

【表4】 [Table 4]

【0037】同様に、関数実行コード5では、「main」
と「invoke」の2つの関数の実行コードが生成される。
Similarly, in the function execution code 5, "main"
Execution code of two functions of "and invoke" is generated.

【0038】図2は、プログラム解釈手段6が具備する
関数呼出しの際の処理手順である。まず最初に、関数が
呼出される。関数が呼出される際には、図1のプログラ
ム1の例にあるように、その「関数名」と「パラメータ
の値」のリストが渡される。具体的には、下記のように
なる。
FIG. 2 shows a processing procedure when a function included in the program interpreting means 6 is called. First of all, the function is called. When the function is called, a list of its "function name" and "parameter value" is passed, as in the example of program 1 in FIG. Specifically, it is as follows.

【0039】[0039]

【表5】 [Table 5]

【0040】次に、関数選択手段61では、プログラム
言語内に記述された関数の名称を元に、個々の関数名ご
とに関数アドレス/関数名対応表3により、実関数アド
レスに変換する。具体的には、「main」関数のアドレス
が「0x138232」、「invoke」関数のアドレスが「0x1218
3」になるため、下記のようになる。
Next, the function selecting means 6 1 converts the function name described in the programming language into an actual function address according to the function address / function name correspondence table 3 for each function name. Specifically, the address of the "main" function is "0x138232" and the address of the "invoke" function is "0x1218".
As it becomes 3 ”, it becomes as follows.

【0041】[0041]

【表6】 [Table 6]

【0042】次に、パラメータ型情報付加手段62
は、プログラム言語内に記述された関数の個々のパラメ
ータについて、表記形式/型対応表2により、パラメー
タ値ごとに、パラメータ型情報を特定して付加する。パ
ラメータ値は複数あるため、結果的には値と型の組みの
リストを得る。具体的には、“5”と“4”は整数、“4.
0”は小数、“test”は文字列として型が決定され、下
記のようになる。
Next, the parameter type information adding means 6 2 specifies the parameter type information for each parameter value by the notation format / type correspondence table 2 for each parameter of the function described in the programming language. Add. Since there are multiple parameter values, the result is a list of value-type pairs. Specifically, “5” and “4” are integers, and “4.
The type is determined as a decimal number for "0" and a character string for "test", as shown below.

【0043】[0043]

【表7】 [Table 7]

【0044】最後に、関数実行手段63では、関数選択
手段61で得られた実関数アドレスに対し、そのパラメ
ータとしてパラメータ型情報付加手段62で得られたパ
ラメータ値とパラメータ型の組みのリストを関数実行コ
ード5に渡してその実関数を呼出し、パラメータとして
渡された値と型の情報を用いて型に応じて処理を実行す
る。
Finally, in the function executing means 6 3 , the set of the parameter value and the parameter type obtained by the parameter type information adding means 6 2 is used as the parameter for the actual function address obtained by the function selecting means 6 1 . The list is passed to the function execution code 5 to call the actual function, and the process is executed according to the type using the value and type information passed as the parameter.

【0045】なお、実施形態では、関数呼出し機能をも
つプログラム言語における関数管理装置および方法に適
用した場合を示すが、同様の方式でデータベース管理シ
ステムにおけるユーザ定義関数の登録および実行に適用
できる。
In the embodiment, the case where the present invention is applied to the function management device and method in the programming language having the function calling function is shown, but the same method can be applied to the registration and execution of the user-defined function in the database management system.

【0046】また、図1又は図2に示した装置または方
法の一部又は全部をコンピュータプログラムで記載して
それを実行できるようにし、それをコンピュータが読み
取り可能な記録媒体、例えば、FD(フロッピー(登録
商標)ディスク)や、MO、ROM、メモリカード、C
D、DVD、リムーバブルディスクなどに記録して提供
し、配布することが可能である。
Further, a part or all of the apparatus or method shown in FIG. 1 or 2 is described in a computer program so that the program can be executed, and the program can be executed by a computer-readable recording medium such as an FD (floppy). (Registered trademark) disk), MO, ROM, memory card, C
The data can be recorded on a D, a DVD, a removable disk, etc., provided, and distributed.

【0047】[0047]

【発明の効果】以上のとおり、本発明によれば、パラメ
ータの型やパラメータ数が異なる関数群を1つの関数に
集約することができる。この結果、 (1)類似するアルゴリズムを実装する関数を集約する
ことで重複コードを無くすことができる。
As described above, according to the present invention, a group of functions having different parameter types and different numbers of parameters can be integrated into one function. As a result, (1) duplicate codes can be eliminated by aggregating functions that implement similar algorithms.

【0048】(2)関数を拡張(変更)し、パラメータ
の型や数を変更したい場合でも、新しいパラメータの処
理パターンを実関数側で追加して実装することで、既存
の関数の呼出し部分はする必要がなくなる。これに伴
い、プログラムのメンテナンス性を向上させることがで
きる。
(2) Even when it is desired to extend (change) the function and change the type and number of parameters, by adding and implementing a new parameter processing pattern on the actual function side, the calling portion of the existing function can be There is no need to do it. Along with this, the maintainability of the program can be improved.

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

【図1】本発明の実施形態を示すデータと処理の関係ブ
ロック図。
FIG. 1 is a block diagram showing a relation between data and processing according to an embodiment of the present invention.

【図2】本発明における関数呼出しの際の処理手順図。FIG. 2 is a processing procedure diagram when a function is called in the present invention.

【符号の説明】 1…プログラム 2…表記形式/型対応表 3…関数アドレス/関数名対応表 4…関数パラメータ情報(値、型) 5…関数実行コード 6…プログラム解釈手段 61…関数選択手段 62…パラメータ型情報付加手段 63…関数実行手段[Explanation of Codes] 1 ... Program 2 ... Notation format / type correspondence table 3 ... Function address / function name correspondence table 4 ... Function parameter information (value, type) 5 ... Function execution code 6 ... Program interpreting means 6 1 ... Function selection Means 6 2 ... Parameter type information adding means 6 3 ... Function executing means

フロントページの続き (72)発明者 黒岩 淳一 東京都千代田区大手町二丁目3番1号 日本電信電話株式会社内 (56)参考文献 特開2001−5666(JP,A) 特開 平2−272627(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 9/40 G06F 9/44 Front Page Continuation (72) Inventor Junichi Kuroiwa 2-3-1, Otemachi, Chiyoda-ku, Tokyo Inside Nippon Telegraph and Telephone Corporation (56) Reference JP 2001-5666 (JP, A) JP 2-272627 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 9/40 G06F 9/44

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 関数呼出し機能を有するプログラム言語
で記述されるプログラムの関数管理装置であって、 関数を呼出す際に、プログラム言語内に記述された呼出
し関数の名を元に実関数を選択する関数選択手段と、 プログラム言語内に記述された呼出し関数のパラメータ
値リスト及びパラメータの表記形式および型の対応表を
用いて、個々のパラメータの型を決定するパラメータ型
情報付加手段と、 選択した実関数に対し、パラメータの値と型の組のリス
トを渡すことで実関数を実行する関数実行手段とを備え
たことを特徴とするプログラムの関数管理装置。
1. A function management device for a program written in a programming language having a function calling function, wherein when a function is called, an actual function is selected based on the name of the calling function described in the programming language. The function selecting means, the parameter value information adding means for determining the type of each parameter by using the parameter value list of the calling function described in the programming language and the correspondence table of the notation format and type of the parameter, and the selected actual A function managing device for a program, comprising: a function executing means for executing an actual function by passing a list of pairs of parameter values and types to the function.
【請求項2】 前記関数選択手段は、実関数アドレスと
関数の名称の対応表を記憶装置から読み出し、プログラ
ム言語内に記述された関数の名称を元にそれを実関数ア
ドレスに変換することを特徴とする請求項1に記載のプ
ログラムの関数管理装置。
2. The function selecting means reads out a correspondence table of real function addresses and function names from a storage device and converts it into a real function address based on a function name described in a programming language. The function management apparatus for a program according to claim 1, wherein the function management apparatus is a program function management apparatus.
【請求項3】 前記パラメータ型情報付加手段は、値の
表記形式と型の対応表を読み出し、プログラム言語内に
記述された個々のパラメータ毎にその型を付加したパラ
メータ値と型の組みのリストを得ることを特徴とする請
求項1に記載のプログラムの関数管理装置。
3. The parameter type information adding means reads a correspondence table of value notation formats and types, and adds a list for each parameter described in the programming language and lists the set of parameter values and types. The function management device for a program according to claim 1, wherein:
【請求項4】 前記実関数実行手段は、前記関数選択手
段が変換した実関数アドレスに対し、そのパラメータと
して前記パラメータ型情報付加手段が得るパラメータ値
と型の組みのリストを渡し、その実関数を呼出し、 呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする請求項1〜3のいずれか1項に記載のプ
ログラムの関数管理装置。
4. The actual function executing means passes a list of a set of parameter values and types obtained by the parameter type information adding means as a parameter to the actual function address converted by the function selecting means, and outputs the actual function. 4. The program according to any one of claims 1 to 3, wherein the called and called real function executes processing according to the type using the parameter value passed as a parameter and type information. Function management device.
【請求項5】 関数呼出し機能を有するプログラム言語
で記述されるプログラムの関数管理方法であって、 関数を呼出す際に、プログラム言語内に記述された呼出
し関数の名を元に実関数を選択する関数選択過程と、 プログラム言語内に記述された呼出し関数のパラメータ
値リスト及びパラメータの表記形式および型の対応表を
用いて、個々のパラメータの型を決定するパラメータ型
情報付加過程と、 選択した実関数に対し、パラメータの値と型の組のリス
トを渡すことで実関数を実行する関数実行過程とによっ
て関数管理することを特徴とするプログラムの関数管理
方法。
5. A method for managing a function of a program written in a programming language having a function calling function, wherein when a function is called, an actual function is selected based on the name of the calling function written in the programming language. The function selection process, the parameter type information addition process that determines the type of each parameter using the parameter value list of the calling function and the parameter notation format and type correspondence table described in the programming language, and the selected actual A function management method for a program, characterized in that a function is managed by a function execution process of executing an actual function by passing a list of pairs of parameter values and types to the function.
【請求項6】 前記関数選択過程は、実関数アドレスと
関数の名称の対応表を記憶装置から読み出し、プログラ
ム言語内に記述された関数の名称を元にそれを実関数ア
ドレスに変換することを特徴とする請求項5に記載のプ
ログラムの関数管理方法。
6. The function selecting step reads out a correspondence table of real function addresses and function names from a storage device, and converts it into a real function address based on a function name described in a programming language. The function management method for a program according to claim 5, characterized in that
【請求項7】 前記パラメータ型情報付加過程は、値の
表記形式と型の対応表を読み出し、プログラム言語内に
記述された個々のパラメータ毎にその型を付加したパラ
メータ値と型の組みのリストを得ることを特徴とする請
求項5に記載のプログラムの関数管理方法。
7. The parameter type information adding step reads a correspondence table of value notation formats and types, and adds a list for each parameter described in the programming language and a list of pairs of parameter values and types. The function management method for a program according to claim 5, wherein:
【請求項8】 前記実関数実行過程は、前記関数選択過
程が変換した実関数アドレスに対し、そのパラメータと
して前記パラメータ型情報付加過程が得るパラメータ値
と型の組みのリストを渡し、その実関数を呼出し、 呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする請求項5〜7のいずれか1項に記載のプ
ログラムの関数管理方法。
8. The actual function executing process passes a list of pairs of parameter values and types obtained by the parameter type information adding process as parameters to the actual function address converted by the function selecting process, 8. The program according to any one of claims 5 to 7, wherein the called and called real functions execute processing according to the type using the parameter value and the type information passed as parameters. Function management method.
【請求項9】 請求項5〜8のいずれか1項に記載のプ
ログラムの関数管理方法における処理手順をコンピュー
タに実行させるためのプログラムを、該コンピュータが
読み取り可能な記録媒体に記録したことを特徴とする関
数管理方法を実行するプログラムを記録した記録媒体。
9. A program for causing a computer to execute the processing procedure in the function management method for a program according to claim 5, recorded in a computer-readable recording medium. A recording medium on which a program for executing the function management method is recorded.
JP2000071388A 2000-03-15 2000-03-15 Function management device for program, function management method, and recording medium recording program for executing function management method Expired - Lifetime JP3450791B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000071388A JP3450791B2 (en) 2000-03-15 2000-03-15 Function management device for program, function management method, and recording medium recording program for executing function management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000071388A JP3450791B2 (en) 2000-03-15 2000-03-15 Function management device for program, function management method, and recording medium recording program for executing function management method

Publications (2)

Publication Number Publication Date
JP2001265594A JP2001265594A (en) 2001-09-28
JP3450791B2 true JP3450791B2 (en) 2003-09-29

Family

ID=18589980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000071388A Expired - Lifetime JP3450791B2 (en) 2000-03-15 2000-03-15 Function management device for program, function management method, and recording medium recording program for executing function management method

Country Status (1)

Country Link
JP (1) JP3450791B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684188B (en) * 2017-10-19 2022-04-12 北京京东尚科信息技术有限公司 Test method and device

Also Published As

Publication number Publication date
JP2001265594A (en) 2001-09-28

Similar Documents

Publication Publication Date Title
US7886041B2 (en) Design time validation of systems
JP4855656B2 (en) How to serialize multiple objects
US8359297B2 (en) Multiple source data management using a conflict rule
US20060224613A1 (en) Method and system for an administrative apparatus for creating a business rule set for dynamic transform and load
KR101201019B1 (en) Declarative sequenced report parameterization
JP2009525533A (en) XNA relationship management
CN111259067B (en) Method, device and equipment for realizing DAO interface based on Spring
US20040015865A1 (en) Component/web service data synthesis
CN111562953A (en) Interface calling method and device, computer device and readable storage medium
CN109816212A (en) Creation method, device, storage medium and the electronic equipment of task list
CN111443901A (en) Business expansion method and device based on Java reflection
US5765039A (en) Method for providing object database independence in a program written using the C++ programming language
JP3450791B2 (en) Function management device for program, function management method, and recording medium recording program for executing function management method
US7831958B2 (en) Systems and methods for distributing updated information
EP1498813A2 (en) Design time validation of systems
US6442572B2 (en) Method of and computer system for performing a transaction on a database
CN114741066B (en) Block chain application generation method and system
US20050015264A1 (en) Methods, systems, and a computer-readable medium for defining and evaluating business rules during runtime of a computer software application program
US6128772A (en) Object-oriented apparatus and method in a computer system for establishing/altering the ownership relationship between objects
CN115455059A (en) Method, device and related medium for analyzing user behavior based on underlying data
WO2004023301A2 (en) Adaptable resource model
JP3439449B2 (en) Profile information collection device and computer readable recording medium
JPH07230405A (en) Object-oriented data base management device
JP2006106866A (en) Apparatus for assisting in changing conversion rule and program for assisting in changing conversion rule
JPH04172529A (en) Automatic program generating system by data oriented software parts

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3450791

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120711

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130711

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term