JP2001265594A - Program function managing device, function managing method and recording medium with program for performing the method recorded thereon - Google Patents

Program function managing device, function managing method and recording medium with program for performing the method recorded thereon

Info

Publication number
JP2001265594A
JP2001265594A JP2000071388A JP2000071388A JP2001265594A JP 2001265594 A JP2001265594 A JP 2001265594A JP 2000071388 A JP2000071388 A JP 2000071388A JP 2000071388 A JP2000071388 A JP 2000071388A JP 2001265594 A JP2001265594 A JP 2001265594A
Authority
JP
Japan
Prior art keywords
function
parameter
type
program
real
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
JP2000071388A
Other languages
Japanese (ja)
Other versions
JP3450791B2 (en
Inventor
Makoto Onizuka
真 鬼塚
Shuichi Nishioka
秀一 西岡
Takashi Hozai
崇 芳西
Junichi Kuroiwa
淳一 黒岩
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

Abstract

PROBLEM TO BE SOLVED: To solve the problem that a function has to be mounted as a different function only when the form or the number of parameters is different a little since the function is specified uniquely by using 'returning type', 'function name' and 'the list of a parameter type' in the function management of a program. SOLUTION: A function selecting means 61 selects a real function from a function address/function name corresponding table 3 from a calling function name. A parameter type information adding means 62 decides the type of individual parameters from a parameter notation form/type corresponding table 2 from the parameter value list of a calling function. A function performing means 63 performs the real function by transferring a list of the value, type and the set of the parameter to the real function selected by a function performing code 5.

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 or a database management system having a function calling function, and more particularly to registration and execution of a function. .

【0002】[0002]

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

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

【0004】[0004]

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

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

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

【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, wherein a function is called based on a name of a calling function described in the programming language when a function is called. Function selection means for selecting a parameter value list of the call function described in the programming language and parameter type information adding means for determining the type of each parameter using a correspondence table of the notation form and type of the parameter, 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 is provided.

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

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

【0011】また、前記実関数実行手段は、前記関数選
択手段が変換した実関数アドレスに対し、そのパラメー
タとして前記パラメータ型情報付加手段が得るパラメー
タ値と型の組みのリストを渡し、その実関数を呼出し、
呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする。
The real function execution means passes a list of combinations of parameter values and types obtained by the parameter type information adding means as parameters to the real function address converted by the function selection means, and call,
The called real function executes 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 described in a programming language having a function calling function. When a function is called, an actual function is called based on the name of the calling function described in the programming language. A parameter selection process for determining the type of each parameter using a parameter value list of a calling function described in a programming language and a correspondence table of parameter notation formats and types, and For the selected real function, the function is managed by a function execution process of executing the real function by passing a list of pairs of parameter values and types.

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

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

【0015】また、前記実関数実行過程は、前記関数選
択過程が変換した実関数アドレスに対し、そのパラメー
タとして前記パラメータ型情報付加過程が得るパラメー
タ値と型の組みのリストを渡し、その実関数を呼出し、
呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする。
In the real function executing step, a list of pairs of parameter values and types obtained by the parameter type information adding step is passed as parameters to the real function address converted by the function selecting step, and the real function is call,
The called real function executes 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 on 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 real function address and the name of the real function specified in the programming language is written in the storage device. In. Therefore, once the function name specified in the program is determined, the address of the real function can be determined by reading the correspondence table of the real function address and the function name from the storage device, and the real function can be executed. Becomes

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

【0019】一方、パラメータ型情報付加手段は、記憶
装置から値の表記形式と型の対応表を読み出し、プログ
ラム言語内に記述された関数の個々のパラメータについ
て、その型情報を付加するものとする。パラメータは複
数あるため、結果的には値と型の組みのリストが得られ
る。
On the other hand, the parameter type information adding means reads out the correspondence table between the notation format of the value and the type 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 pairs of values and types.

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

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

【0022】[0022]

【発明の実施の形態】本発明の実施形態が対象とするプ
ログラムは、 (1)呼出された関数では、パラメータとして与えられ
た値ごとにその型を付加する。値の型は、値の表記形式
から一意に決められるものとする。
BEST MODE FOR CARRYING OUT THE INVENTION A program targeted by an embodiment of the present invention is as follows: (1) In a called function, the 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) It is assumed that the called function implements the function based on a list of pairs of values and their types.

【0024】図1は、本発明の実施形態を示し、データ
と処理の関係ブロックである。プログラム1は、関数呼
出しを含む記述のプログラム言語によって記述されたプ
ログラムである。関数管理装置としては、表記形式/型
対応表2と、関数アドレス/関数名対応表3および関数
パラメータ情報(値、型)4とを備える。
FIG. 1 shows an embodiment of the present invention and is a block diagram relating to data and processing. The program 1 is a program described 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 between the notation format of the parameter value described in the program 1 and the parameter type.

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

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

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

【0029】プログラム解釈手段6は、プログラム1を
入力し、関数アドレス/関数名対応表3と関数実行コー
ド5を出力する。また、プログラム解釈手段6は、プロ
グラム1と表記形式/型対応表2を入力とし、関数パラ
メータ情報(値、型)4を出力する。
The program interpreting means 6 receives the program 1 and outputs a function address / function name correspondence table 3 and a function execution code 5. The program interpreting means 6 receives the program 1 and the notation format / type correspondence table 2 as input, and outputs 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] This will be described with reference to FIG. 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 shows the information of the function addresses and function names of the two functions "main" and "invoke" as follows. Is generated.

【0034】[0034]

【表3】 [Table 3]

【0035】同様に、関数パラメータ情報(値、型)4
では以下のように、2回呼出されている「invoke」につ
いての情報が生成される。
Similarly, function parameter information (value, type) 4
Then, information on “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"
And "invoke" are generated.

【0038】図2は、プログラム解釈手段6が具備する
関数呼出しの際の処理手順である。まず最初に、関数が
呼出される。関数が呼出される際には、図1のプログラ
ム1の例にあるように、その「関数名」と「パラメータ
の値」のリストが渡される。具体的には、下記のように
なる。
FIG. 2 shows a procedure for calling a function of the program interpreting means 6. First, the function is called. When a function is called, a list of “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 61, based on the name of the function written in the program language, the function address / function name correspondence table 3 for each individual function name, into a real function address. Specifically, the address of the “main” function is “0x138232”, and the address of the “invoke” function is “0x1218”.
3 ”, so it is as follows.

【0041】[0041]

【表6】 [Table 6]

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

【0043】[0043]

【表7】 [Table 7]

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

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

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

【0047】[0047]

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

【0048】(2)関数を拡張(変更)し、パラメータ
の型や数を変更したい場合でも、新しいパラメータの処
理パターンを実関数側で追加して実装することで、既存
の関数の呼出し部分はする必要がなくなる。これに伴
い、プログラムのメンテナンス性を向上させることがで
きる。
(2) Even if it is desired to extend (change) the function and change the type or number of parameters, the processing part of the new function is added and implemented on the real function side, so that the calling part of the existing function can be changed. You don't have to. Along with this, the maintainability of the program can be improved.

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

【図1】本発明の実施形態を示すデータと処理の関係ブ
ロック図。
FIG. 1 is a block diagram showing the relationship 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.

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

1…プログラム 2…表記形式/型対応表 3…関数アドレス/関数名対応表 4…関数パラメータ情報(値、型) 5…関数実行コード 6…プログラム解釈手段 61…関数選択手段 62…パラメータ型情報付加手段 63…関数実行手段DESCRIPTION OF SYMBOLS 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 interpretation means 6 1 ... Function selection means 6 2 ... Parameter Type information adding means 6 3 … Function executing means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 芳西 崇 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 黒岩 淳一 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B033 EA01  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Takashi Yoshinishi 2-3-1 Otemachi, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Corporation (72) Junichi Kuroiwa 2-3-3 Otemachi, Chiyoda-ku, Tokyo No. 1 Nippon Telegraph and Telephone Corporation F-term (reference) 5B033 EA01

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 関数呼出し機能を有するプログラム言語
で記述されるプログラムの関数管理装置であって、 関数を呼出す際に、プログラム言語内に記述された呼出
し関数の名を元に実関数を選択する関数選択手段と、 プログラム言語内に記述された呼出し関数のパラメータ
値リスト及びパラメータの表記形式および型の対応表を
用いて、個々のパラメータの型を決定するパラメータ型
情報付加手段と、 選択した実関数に対し、パラメータの値と型の組のリス
トを渡すことで実関数を実行する関数実行手段とを備え
たことを特徴とするプログラムの関数管理装置。
1. A function management device for a program described in a programming language having a function calling function, wherein when a function is called, an actual function is selected based on a name of a calling function described in the programming language. Function selecting means; parameter type information adding means for determining the type of each parameter using a parameter value list of the calling function described in the programming language and a correspondence table of parameter notation formats and types; A function management device for a program, comprising: function execution means for executing a real function by passing a list of pairs of parameter values and types to a function.
【請求項2】 前記関数選択手段は、実関数アドレスと
関数の名称の対応表を記憶装置から読み出し、プログラ
ム言語内に記述された関数の名称を元にそれを実関数ア
ドレスに変換することを特徴とする請求項1に記載のプ
ログラムの関数管理装置。
2. The function selecting means reads a correspondence table of real function addresses and function names from a storage device, and converts the correspondence table into real function addresses based on the function names described in a programming language. The function management device for a program according to claim 1, wherein:
【請求項3】 前記パラメータ型情報付加手段は、値の
表記形式と型の対応表を読み出し、プログラム言語内に
記述された個々のパラメータ毎にその型を付加したパラ
メータ値と型の組みのリストを得ることを特徴とする請
求項1に記載のプログラムの関数管理装置。
3. The parameter type information adding means reads out a correspondence table between a notation format of a value and a type, and lists a combination of a parameter value and a type in which the type is added for each parameter described in a programming language. The function management device for a program according to claim 1, wherein
【請求項4】 前記実関数実行手段は、前記関数選択手
段が変換した実関数アドレスに対し、そのパラメータと
して前記パラメータ型情報付加手段が得るパラメータ値
と型の組みのリストを渡し、その実関数を呼出し、 呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする請求項1〜3のいずれか1項に記載のプ
ログラムの関数管理装置。
4. The real function executing means passes a list of pairs of parameter values and types obtained by the parameter type information adding means as parameters to the real function address converted by the function selecting means, and The program according to any one of claims 1 to 3, wherein the called real function executes a process according to the type using the parameter value and the type information passed as parameters. Function management device.
【請求項5】 関数呼出し機能を有するプログラム言語
で記述されるプログラムの関数管理方法であって、 関数を呼出す際に、プログラム言語内に記述された呼出
し関数の名を元に実関数を選択する関数選択過程と、 プログラム言語内に記述された呼出し関数のパラメータ
値リスト及びパラメータの表記形式および型の対応表を
用いて、個々のパラメータの型を決定するパラメータ型
情報付加過程と、 選択した実関数に対し、パラメータの値と型の組のリス
トを渡すことで実関数を実行する関数実行過程とによっ
て関数管理することを特徴とするプログラムの関数管理
方法。
5. A function management method for a program described in a programming language having a function calling function, wherein when a function is called, an actual function is selected based on a name of a calling function described in the programming language. A function selection step, a parameter type information adding step of determining the type of each parameter using a parameter value list of the calling function described in the programming language and a correspondence table of the parameter notation form and type, and A function management method for a program, wherein a function is managed by a function execution process of executing a real function by passing a list of pairs of parameter values and types to the function.
【請求項6】 前記関数選択過程は、実関数アドレスと
関数の名称の対応表を記憶装置から読み出し、プログラ
ム言語内に記述された関数の名称を元にそれを実関数ア
ドレスに変換することを特徴とする請求項5に記載のプ
ログラムの関数管理方法。
6. The function selecting step includes reading out a correspondence table of real function addresses and function names from a storage device, and converting them into real function addresses based on function names described in a programming language. The method for managing functions of a program according to claim 5.
【請求項7】 前記パラメータ型情報付加過程は、値の
表記形式と型の対応表を読み出し、プログラム言語内に
記述された個々のパラメータ毎にその型を付加したパラ
メータ値と型の組みのリストを得ることを特徴とする請
求項5に記載のプログラムの関数管理方法。
7. The parameter type information adding step reads a correspondence table between a notation format of a value and a type, and lists a combination of a parameter value and a type in which the type is added for each individual parameter described in a programming language. 6. The method for managing functions of a program according to claim 5, wherein
【請求項8】 前記実関数実行過程は、前記関数選択過
程が変換した実関数アドレスに対し、そのパラメータと
して前記パラメータ型情報付加過程が得るパラメータ値
と型の組みのリストを渡し、その実関数を呼出し、 呼出された実関数は、パラメータとして渡されたパラメ
ータ値と型の情報を用いて型に応じて処理を実行するこ
とを特徴とする請求項5〜7のいずれか1項に記載のプ
ログラムの関数管理方法。
8. The real function execution step passes a list of combinations of parameter values and types obtained by the parameter type information adding step as parameters to the real function address converted by the function selection step, and The program according to any one of claims 5 to 7, wherein the called real function executes a process 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 a processing procedure in the method for managing functions of a program according to claim 5 on a computer-readable recording medium. Recording medium for recording a program for executing the function management method.
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 true JP2001265594A (en) 2001-09-28
JP3450791B2 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)

Cited By (1)

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

Cited By (2)

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

Also Published As

Publication number Publication date
JP3450791B2 (en) 2003-09-29

Similar Documents

Publication Publication Date Title
US20200183947A1 (en) Integration template generation
JP6534402B2 (en) Method for handling data quality exceptions, computer programs and exception engines
US20050004973A1 (en) Reflection-based processing of input parameters for commands
US8935288B2 (en) User specific logs in multi-user applications
KR101355273B1 (en) A computing system, a method for controlling thereof, and a computer-readable recording medium having a computer program for controlling thereof
CN112306881A (en) Simulation data generation method, device, equipment and storage medium
WO2020258492A1 (en) Information processing method and apparatus, storage medium and terminal device
CN111443901A (en) Business expansion method and device based on Java reflection
JP5398213B2 (en) Generating device, program, and generating method
CN113434482A (en) Data migration method and device, computer equipment and storage medium
CN110334103A (en) The update method of recommendation service provides device, access mechanism and recommender system
CN113407565B (en) Cross-database data query method, device and equipment
CN114358742A (en) Workflow execution method, device, equipment and storage medium
JP2020197873A (en) Information processing system and method for controlling information processing system
CN116204540A (en) Operation log recording method, device, equipment and storage medium
JP2001265594A (en) Program function managing device, function managing method and recording medium with program for performing the method recorded thereon
US20240095400A1 (en) Anonymization protocols
CN113474757A (en) Information processing apparatus, method, and program
JP2002351702A (en) Method and device for preparing terminal operation statistical data utilizing online
JP2020052451A (en) Computer system and pattern generation method of business flow
JP6588988B2 (en) Business program generation support system and business program generation support method
CN116360761B (en) Automatic marketing method and system for private domain and public domain based on data labels
JP4748009B2 (en) Data registration method
CN110597763B (en) Method and device for generating function index table
JPH05216799A (en) Name managing system

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