JP2010182060A - System and method for structuring macro-program and program - Google Patents

System and method for structuring macro-program and program Download PDF

Info

Publication number
JP2010182060A
JP2010182060A JP2009024543A JP2009024543A JP2010182060A JP 2010182060 A JP2010182060 A JP 2010182060A JP 2009024543 A JP2009024543 A JP 2009024543A JP 2009024543 A JP2009024543 A JP 2009024543A JP 2010182060 A JP2010182060 A JP 2010182060A
Authority
JP
Japan
Prior art keywords
macro
program
name
user
argument structure
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
JP2009024543A
Other languages
Japanese (ja)
Other versions
JP5356851B2 (en
Inventor
Masayuki Yutaka
昌幸 豊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC System Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC System Technologies Ltd filed Critical NEC System Technologies Ltd
Priority to JP2009024543A priority Critical patent/JP5356851B2/en
Publication of JP2010182060A publication Critical patent/JP2010182060A/en
Application granted granted Critical
Publication of JP5356851B2 publication Critical patent/JP5356851B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide the structuring system of a macro-program for visualizing macro-content by a plurality of formats with the high power of expression. <P>SOLUTION: The structuring system of a macro-program includes: a means for determining the model of an argument structure by referring to meta data describing macros corresponding to each of commands on a program and the specifications of an argument structure to the macros; a means for performing proper text conversion processing, and for recording it in an XML elements on the basis of the model of the argument structure; and an XSLT conversion means for securing a text corresponding to a symbol name described in the XML elements by inquiring resource data, and for performing name resolution that a user can understand. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、プログラム上のコマンド実行手順を記録して自動生成される、いわゆるマクロの記録技術に関する。   The present invention relates to a so-called macro recording technique in which a command execution procedure on a program is recorded and automatically generated.

マクロは利用者によるカスタムプログラミングを想定し専用のプログラム言語を用いて記述されている。
このため、コマンド実行手順の記録によるマクロの自動生成だけを対象にした場合でも、プログラム言語そのままのソースコードが記録されていた。
Macros are described using a dedicated programming language assuming custom programming by the user.
For this reason, even when only the automatic generation of a macro by recording the command execution procedure is targeted, the source code as it is in the program language is recorded.

自動生成されたマクロの内容を表示(もしくは印刷)しても、プログラムコードそのままの非構造なテキスト形式で出力されるだけであり、カスタムプログラミングを必要とせずプログラミング言語を知る必要のない利用者にとっては、マクロを実行して処理される内容を理解することが困難であった。   Even if the contents of the automatically generated macro are displayed (or printed), the program code is simply output as an unstructured text format, and for users who do not need custom programming and do not need to know the programming language. It was difficult to understand what was processed by executing the macro.

このような方式で記録されたマクロを視覚化する方法に関して言えば、プログラム言語仕様に基づくキーワードの語彙解析処理を実装してRitchTextFormatなどへ変換するなどで、フォントや色を変更することは可能であった。   With regard to the method of visualizing macros recorded in this way, it is possible to change the font and color by implementing keyword lexical analysis processing based on the programming language specification and converting it to RitchTextFormat, etc. there were.

関連技術として、ソースプログラムの論理構造を表すデータ構造、XMLのドキュメントオブジェクトモデルに変換し、テキストデータに変換して格納する技術が提案されている(例えば、特許文献1参照)。   As a related technique, a data structure representing a logical structure of a source program, a technique of converting to an XML document object model, converting to text data, and storing it have been proposed (for example, see Patent Document 1).

特開2002−182915号公報JP 2002-182915 A

しかしながら、上述の関連技術は、あくまで文字列そのものを表現することしかできず、例えばプログラムの実行ステップをブロック図化したり、表形式で一覧出力したりというプログラム言語を知らない利用者が理解しやすい表現構造への加工を行うには、プログラム言語の構文と構造を解析し定型のイメージに視覚化するための専用プログラムを開発する必要があった。   However, the related technology described above can only represent the character string itself, and for example, it is easy for a user who does not know the program language to block the program execution steps or to output a list in a tabular format. In order to process the expression structure, it was necessary to develop a dedicated program for analyzing the syntax and structure of the programming language and visualizing it into a fixed image.

本発明は、以上のような課題を解決するためになされたもので、表現力の高い複数の形式でマクロの内容を視覚化するマクロプログラムの構造化システムおよびマクロプログラムの構造化方法を提供することを目的とする。   The present invention has been made to solve the above problems, and provides a macro program structuring system and a macro program structuring method for visualizing the contents of a macro in a plurality of highly expressive formats. For the purpose.

本発明のマクロプログラムの構造化システムは、プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断する手段と、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録する手段と、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換手段とを備えることを特徴とする。
The macro program structuring system of the present invention refers to a macro that corresponds to each command on the program and metadata describing the specification of the argument structure to the macro, and means for determining the type of the argument structure;
Means for performing appropriate text conversion processing based on the type of the argument structure and recording it in an XML element;
XSLT conversion means for querying resource data, assigning text corresponding to the symbol name described in the XML element, and performing name resolution that can be understood by the user is provided.

また、本発明のマクロプログラムの構造化方法は、プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断するステップと、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録するステップと、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換ステップとを有することを特徴とする。
The macro program structuring method of the present invention includes a step of determining the type of the argument structure by referring to the metadata describing the macro corresponding to each command on the program and the specification of the argument structure to the macro, and ,
Performing appropriate text conversion processing based on the type of the argument structure and recording it in an XML element;
XSLT conversion step for querying resource data, assigning text corresponding to the symbol name described in the XML element, and performing name resolution that can be understood by the user.

また、本発明のプログラムは、コンピュータに、プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断する処理と、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録する処理と、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換処理とを実行させることを特徴とする。
Further, the program of the present invention refers to a computer that refers to metadata that describes the macro corresponding to each command on the program and the specification of the argument structure to the macro, and determines the type of the argument structure;
A process of performing an appropriate text conversion process based on the type of the argument structure and recording it in an XML element;
The resource data is inquired, text corresponding to the symbol name described in the XML element is assigned, and XSLT conversion processing for performing name resolution that can be understood by the user is executed.

本発明によれば、表現力の高い複数の形式でマクロの内容を視覚化することが可能となる。   According to the present invention, it is possible to visualize the contents of a macro in a plurality of formats with high expressive power.

本発明の実施の形態に係るシステム構成を示す図である。It is a figure which shows the system configuration | structure which concerns on embodiment of this invention. 本発明の実施の形態に係るマクロ記録の実施例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the Example of the macro recording based on embodiment of this invention. 本発明の実施の形態に係るマクロ仕様メタデータ120に記述されたメタデータ情報121の例を示す図である。It is a figure which shows the example of the metadata information 121 described in the macro specification metadata 120 which concerns on embodiment of this invention. 本発明の実施の形態に係るマクロソースコード131のXMLイメージ例を示す図である。It is a figure which shows the XML image example of the macro source code 131 which concerns on embodiment of this invention. 本発明の実施の形態に係るマクロファイルの視覚化の実施例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the Example of the visualization example of the macro file which concerns on embodiment of this invention. 本発明の実施の形態に係る名前リソース150の例を示す図である。It is a figure which shows the example of the name resource 150 which concerns on embodiment of this invention. 本発明の実施の形態に係るマクロソースコード131と名前リソース150の関係を示す図である。It is a figure which shows the relationship between the macro source code 131 and the name resource 150 which concern on embodiment of this invention. 本発明の実施の形態に係るHTMLでの出力形式が選択された場合のマクロ変換結果160の例を示す図である。It is a figure which shows the example of the macro conversion result 160 when the output format in HTML which concerns on embodiment of this invention is selected. 本発明の実施の形態に係る図8の例にあるマクロ変換結果160をWebブラウザで表示した場合の例を示す図である。It is a figure which shows the example at the time of displaying the macro conversion result 160 in the example of FIG. 8 which concerns on embodiment of this invention with a web browser.

以下、本発明の実施の形態について図面を参照して詳細に説明する。図1に示す本実施の形態におけるマクロプログラムの構造化システムは、コンピュータ端末やプリンタを指す入出力装置100と、利用者に提供するコマンドの実行手順を記録してマクロを自動生成できるプログラム110と、コマンドの実行ステップをマクロとして構築するための仕様が記述されたマクロ仕様メタデータ120と、プログラム110がマクロ記録による生成した結果であるマクロファイル130と、マクロファイル130の記述表現を視覚化用のフォーマットへ変換するためのスタイルと手順をXSLで記述した視覚化スタイルシート140と、マクロ記述のシンボル名に対応する名前テキストを格納する名前リソース150と、視覚化スタイルシート140を用いてマクロファイル130を変換した結果であるマクロ変換結果160から構成される。
なお、プログラム110は図示しない情報処理装置に組み込まれてその情報処理装置のCPU等の制御部により制御されて動作することであってもよい。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The macro program structuring system in this embodiment shown in FIG. 1 includes an input / output device 100 indicating a computer terminal or a printer, a program 110 capable of automatically generating a macro by recording an execution procedure of a command provided to a user, and The macro specification metadata 120 describing the specifications for constructing the command execution step as a macro, the macro file 130 generated by the macro recording by the program 110, and the description expression of the macro file 130 for visualization Visualization style sheet 140 describing in XSL the style and procedure for conversion to the format of the file, name resource 150 storing name text corresponding to the symbol name of the macro description, and macro file using the visualization style sheet 140 Macro change that is the result of converting 130 Result consists of 160.
The program 110 may be incorporated in an information processing apparatus (not shown) and operated by being controlled by a control unit such as a CPU of the information processing apparatus.

プログラム110は、利用者の操作対象となる画面を制御し実行コマンドを提供するユーザインタフェース手段111と、ユーザインタフェース手段111から利用者が要求したコマンドを解析するコマンド解析手段112と、要求されたコマンドの実行処理を行いユーザインタフェース手段111へ結果を返すコマンド実行手段113と、コマンド解析手段112で得られたコマンド名や実行引数などの情報からマクロの実行ステップとなるXMLデータを構築生成するマクロXML構築手段114と、構築生成されたXMLデータをマクロ実行単位に記録しマクロファイル130へ保存するマクロ記録手段115と、マクロファイル130と視覚化スタイルシート140を入力としてマクロ変換結果160を出力するXSLT変換手段とから構成される。   The program 110 includes a user interface unit 111 that controls a screen to be operated by the user and provides an execution command, a command analysis unit 112 that analyzes a command requested by the user from the user interface unit 111, and a requested command. A command execution unit 113 that executes the execution process and returns a result to the user interface unit 111, and a macro XML that constructs and generates XML data that is a macro execution step from information such as a command name and an execution argument obtained by the command analysis unit 112 The construction unit 114, the macro recording unit 115 that records the constructed and generated XML data in a macro execution unit and saves it in the macro file 130, and outputs the macro conversion result 160 with the macro file 130 and the visualization style sheet 140 as inputs. Conversion means and Et al constructed.

視覚化スタイルシート140は、マクロファイル130の記述をマクロ変換結果160へ変換するためのマクロ記述変換手段141と、マクロ記述のシンボル名をキーにして名前リソース150から名前テキストを引き当てる名前解決手段142とから構成される。   The visualization style sheet 140 includes a macro description conversion unit 141 for converting the description of the macro file 130 into a macro conversion result 160, and a name resolution unit 142 for assigning name text from the name resource 150 using the symbol name of the macro description as a key. It consists of.

プログラム110は、利用者に提供するマクロ変換結果160の種類に応じた画面上の出力形式選択オプションと、本オプションの種類に対応する複数の視覚化スタイルシート140をあらかじめ備えている。   The program 110 includes in advance an output format selection option on the screen corresponding to the type of the macro conversion result 160 provided to the user, and a plurality of visualization style sheets 140 corresponding to the type of this option.

次に、本実施の形態の動作について詳細に説明する。
まず最初に、マクロ記録の実施例について、図1及び図2のフローチャートを参照して説明する。
Next, the operation of the present embodiment will be described in detail.
First, an example of macro recording will be described with reference to the flowcharts of FIGS.

プログラム110の利用者は、ユーザインタフェース制御手段111を介して必要な引数情報を入力しコマンド実行を要求する。ユーザインタフェース制御手段111はコマンド解析手段112に対して実行するコマンドと引数データを供給する。引数データはコマンドと1対1の関係であり構造体型の形式を持つ。コマンド解析手段112では、コマンドに対するマクロ名と引数情報の型を示すシンボル名を認識する。コマンド解析手段112はマクロXML構築手段114に対してマクロ名と引数型シンボル名と引数データを供給する。   A user of the program 110 inputs necessary argument information via the user interface control unit 111 and requests command execution. The user interface control unit 111 supplies commands to be executed and argument data to the command analysis unit 112. The argument data has a one-to-one relationship with the command and has a structure type format. The command analysis unit 112 recognizes a macro name for the command and a symbol name indicating the type of argument information. The command analysis means 112 supplies the macro name, argument type symbol name, and argument data to the macro XML construction means 114.

マクロXML構築手段114は、まず引数型シンボル名をXML要素名として持つ要素ノードオブジェクトを生成して保持する(ステップA1)。ここで図3に、ステップA1で読み込まれるマクロ仕様メタデータ120に記述されたメタデータ情報121の例を示す。メタデータ情報121はXMLで記述されており、element要素は引数型の定義ブロックを示し、name属性が引数型シンボル名を示す。本例では"CreateTableArgument"が引数型シンボル名となる。attribute要素には引数型を構成する変数名と型が定義される。例えば"tableName"をname属性に持つattribute要素を見た場合、引数型上の対応する構成変数名は"tableName"であり、その型は"string"で示される文字列型であると認識される。   The macro XML constructing unit 114 first generates and holds an element node object having an argument type symbol name as an XML element name (step A1). Here, FIG. 3 shows an example of the metadata information 121 described in the macro specification metadata 120 read in step A1. The metadata information 121 is described in XML, the element element indicates an argument type definition block, and the name attribute indicates an argument type symbol name. In this example, "CreateTableArgument" is the argument type symbol name. The attribute element defines the variable name and type that make up the argument type. For example, when an attribute element having "tableName" as a name attribute is seen, the corresponding configuration variable name on the argument type is "tableName", and the type is recognized as the string type indicated by "string" .

マクロXML構築手段114はステップA1に続いて、マクロ仕様メタデータ120から引数型シンボル名をキーにして対応するメタデータ情報121を読み込む(ステップA2)。続いて、メタデータ情報121から引数型を構成する各変数の型情報を入手する(ステップA3)。次に、入手した型情報に基づいて引数データ上の変数値を文字列へ変換する(ステップA4)。次に、メタデータ情報121に記述された引数型を構成する各変数に対しての属性名と、ステップA4で変換した文字列を属性への値として、ステップA1で生成した要素ノードオブジェクトにXML属性として追加する(ステップA5)。次に、引数型を構成する各変数を全て処理したかを判断する(ステップA6)。引数型を構成する各変数を全て処理していた場合、マクロ記録手段115へ完成した要素ノードオブジェクトを供給する。一方、引数型を構成する各変数を全て処理できていない場合、ステップA3からステップA5を繰り返し処理する。   Following step A1, the macro XML construction unit 114 reads the corresponding metadata information 121 from the macro specification metadata 120 using the argument symbol name as a key (step A2). Subsequently, type information of each variable constituting the argument type is obtained from the metadata information 121 (step A3). Next, the variable value on the argument data is converted into a character string based on the obtained type information (step A4). Next, using the attribute name for each variable constituting the argument type described in the metadata information 121 and the character string converted in step A4 as the attribute value, the element node object generated in step A1 is XML. It adds as an attribute (step A5). Next, it is determined whether all the variables constituting the argument type have been processed (step A6). When all the variables constituting the argument type have been processed, the completed element node object is supplied to the macro recording means 115. On the other hand, when not all the variables constituting the argument type have been processed, the process from step A3 to step A5 is repeated.

マクロ記録手段115は、マクロの記録開始時にあらかじめ生成しておいたマクロ実行単位のXMLドキュメントオブジェクトに対して、マクロXML構築手段114から供給された要素ノードオブジェクトを追加する(ステップA7)。マクロ記録手段115は、利用者からマクロ記録の終了指示を受けてXMLドキュメントオブジェクトをマクロファイルへ保存する。   The macro recording means 115 adds the element node object supplied from the macro XML construction means 114 to the XML document object of the macro execution unit generated in advance at the start of macro recording (step A7). The macro recording means 115 receives the macro recording end instruction from the user and saves the XML document object in the macro file.

図4に、マクロXML構築手段114の結果として得られてマクロファイル130に追加されるマクロソースコード131のXMLイメージ例を示す。   FIG. 4 shows an XML image example of the macro source code 131 obtained as a result of the macro XML construction unit 114 and added to the macro file 130.

続いて、マクロファイルの視覚化の実施例について、図1及び図5のフローチャートを参照して説明する。   Next, an example of macro file visualization will be described with reference to the flowcharts of FIGS.

プログラム110の利用者は、ユーザインタフェース制御手段111を介してマクロファイルの内容を視覚化するためのコマンドを要求する。このときユーザインタフェース制御手段111では、プログラム110が提供している出力形式を選択することを利用者に促す。コマンド解析手段112は利用者からのコマンド要求がマクロファイルの視覚化であることを識別し、XSLT変換手段116へマクロファイル名と出力形式情報を供給する。XSLT変換手段116は、マクロファイル130と出力形式情報と対になる視覚化スタイルシート140を入力ファイルとしてXSLT変換を行い、その結果としてマクロ変換結果160を出力する。   The user of the program 110 requests a command for visualizing the contents of the macro file via the user interface control unit 111. At this time, the user interface control unit 111 prompts the user to select an output format provided by the program 110. The command analysis unit 112 identifies that the command request from the user is visualization of the macro file, and supplies the macro file name and output format information to the XSLT conversion unit 116. The XSLT conversion unit 116 performs XSLT conversion using the visualization style sheet 140 paired with the macro file 130 and output format information as an input file, and outputs a macro conversion result 160 as a result.

XSLT変換手段116がXSLT変換を行うと、視覚化スタイルシート140に記述されたマクロ記述変換手段141が実行される。マクロ記述変換手段141は、名前リソース150をXMLドキュメントオブジェクトとして内部変数に展開する(ステップB1)。ここで名前リソース150の例を図6に示す。次に、図4に示したマクロソースコード131の例にあるMacro要素のname属性の値と、内部変数に展開済みである名前リソース150のMacro要素のname属性の値とが一致するかを調べる(ステップB2およびステップB3)。name属性の値が一致した場合、名前リソース150のMacro要素への参照パスが名前解決手段142へ与えられる。一方、ステップB2の比較結果が一致しない場合には、現在の処理対象であるマクロソースコード131上のMacro要素の解析を終了する。   When the XSLT conversion unit 116 performs the XSLT conversion, the macro description conversion unit 141 described in the visualization style sheet 140 is executed. The macro description conversion unit 141 expands the name resource 150 into an internal variable as an XML document object (step B1). An example of the name resource 150 is shown in FIG. Next, it is checked whether the value of the name attribute of the Macro element in the example of the macro source code 131 shown in FIG. 4 matches the value of the name attribute of the Macro element of the name resource 150 that has been expanded to an internal variable. (Step B2 and Step B3). When the value of the name attribute matches, a reference path to the Macro element of the name resource 150 is given to the name resolution unit 142. On the other hand, if the comparison result of step B2 does not match, the analysis of the Macro element on the macro source code 131 that is the current processing object is terminated.

名前解決手段142は、図7に示すマクロソースコード131と名前リソース150の関係によって、マクロソースコード131のシンボル名から名前リソース150に定義されている名前文字列を引き当てる(ステップB4)。   The name resolution unit 142 assigns a name character string defined in the name resource 150 from the symbol name of the macro source code 131 based on the relationship between the macro source code 131 and the name resource 150 shown in FIG. 7 (step B4).

図8に、HTMLでの出力形式が選択された場合のマクロ変換結果160の例を示す。   FIG. 8 shows an example of the macro conversion result 160 when the HTML output format is selected.

図9に、図8の例にあるマクロ変換結果160をWebブラウザで表示した場合の例を示す。   FIG. 9 shows an example when the macro conversion result 160 in the example of FIG. 8 is displayed by a Web browser.

上記の本実施の形態によれば、以下の効果がある。
第1の効果は、マクロの内容を表示(もしくは印刷)出力する際に、XSLT技術を用いた構造変換を行うことが可能になることである。この結果HTML、SVG、XSL−Formatting−Object等、表現力の高い複数の形式でマクロの内容を視覚化することができる。
その理由は、コマンド実行情報に対応するマクロ仕様のメタデータ情報をあらかじめ定義し、これに基づいてコマンド実行引数データのテキスト変換を行い、マクロのソースコードをXML形式で記録しているためである。
According to the above embodiment, the following effects are obtained.
The first effect is that, when displaying (or printing) outputting the contents of a macro, it is possible to perform structure conversion using the XSLT technology. As a result, the contents of the macro can be visualized in a plurality of formats having high expressive power, such as HTML, SVG, and XSL-Formatting-Object.
The reason is that the metadata information of the macro specification corresponding to the command execution information is defined in advance, the text conversion of the command execution argument data is performed based on this, and the macro source code is recorded in the XML format. .

第2の効果は、プログラムのコマンド実行手順を記録して自動生成されるマクロに関して、プログラム言語を知る必要のない利用者が、マクロを実行して処理される内容を理解できるようになることである。
その理由は、マクロの内容を表示(もしくは印刷)出力する際のXSLT構造変換処理において、マクロに記述されたシンボル名を利用者が理解できる名前へ変換して出力しているためである。
The second effect is that a user who does not need to know the program language can understand the contents to be processed by executing the macro with respect to the macro automatically generated by recording the command execution procedure of the program. is there.
This is because, in the XSLT structure conversion process when displaying (or printing) the contents of the macro, the symbol name described in the macro is converted to a name that can be understood by the user and output.

なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々変更実施が可能である。   Each of the above-described embodiments is a preferred embodiment of the present invention, and various modifications can be made without departing from the scope of the present invention.

100 入出力装置
110 プログラム
120 マクロ仕様メタデータ
130 マクロファイル
140 視覚化スタイルシート
150 名前リソース
160 マクロ変換結果
100 I / O device 110 Program 120 Macro specification metadata 130 Macro file 140 Visualization style sheet 150 Name resource 160 Macro conversion result

Claims (6)

プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断する手段と、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録する手段と、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換手段とを備えることを特徴とするマクロプログラムの構造化システム。
Means for determining the type of the argument structure by referring to the metadata describing the macro corresponding to each command in the program and the specification of the argument structure to the macro;
Means for performing appropriate text conversion processing based on the type of the argument structure and recording it in an XML element;
A structuring system for a macro program, comprising: XSLT conversion means for querying resource data, assigning text corresponding to a symbol name described in an XML element, and performing name resolution that can be understood by a user.
前記リソースデータは、マクロに記述されたシンボル名から利用者が理解できる名前を引き当てるためのテキストを格納するリソースデータとしてあらかじめ準備しておくことを特徴とする請求項1記載のマクロプログラムの構造化システム。   2. The macro program structure according to claim 1, wherein the resource data is prepared in advance as resource data for storing text for assigning a name that can be understood by a user from a symbol name described in the macro. system. プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断するステップと、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録するステップと、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換ステップとを有することを特徴とするマクロプログラムの構造化方法。
Determining the type of the argument structure by referring to the macro corresponding to each command in the program and the metadata describing the specification of the argument structure to the macro;
Performing appropriate text conversion processing based on the type of the argument structure and recording it in an XML element;
A method of structuring a macro program, comprising: an XSLT conversion step for querying resource data, assigning text corresponding to a symbol name described in an XML element, and performing name resolution that can be understood by a user.
前記リソースデータを、マクロに記述されたシンボル名から利用者が理解できる名前を引き当てるためのテキストを格納するリソースデータとしてあらかじめ準備しておくステップを有することを特徴とする請求項3記載のマクロプログラムの構造化方法。   4. The macro program according to claim 3, further comprising the step of preparing the resource data as resource data for storing text for assigning a name that can be understood by a user from a symbol name described in the macro. Structuring method. コンピュータに、プログラム上の各コマンドに対応するマクロとマクロへの引数構造体の仕様を記述したメタデータを参照し、引数構造体の型を判断する処理と、
前記引数構造体の型に基づいて、適切なテキスト変換処理を行ってXML要素に記録する処理と、
リソースデータを照会してXML要素に記述されたシンボル名に対応するテキストを引き当て、利用者が理解できる名前解決を行うXSLT変換処理とを実行させることを特徴とするプログラム。
A process for determining the type of the argument structure by referring to the computer describing the macro corresponding to each command in the program and the metadata describing the specification of the argument structure to the macro,
A process of performing an appropriate text conversion process based on the type of the argument structure and recording it in an XML element;
A program characterized by inquiring resource data, assigning text corresponding to a symbol name described in an XML element, and executing XSLT conversion processing for name resolution that can be understood by a user.
前記リソースデータは、マクロに記述されたシンボル名から利用者が理解できる名前を引き当てるためのテキストを格納するリソースデータとしてあらかじめ準備されていることを特徴とする請求項5記載のプログラム。   6. The program according to claim 5, wherein the resource data is prepared in advance as resource data for storing text for assigning a name that can be understood by a user from a symbol name described in a macro.
JP2009024543A 2009-02-05 2009-02-05 Macro program structuring system, macro program structuring method, and program Expired - Fee Related JP5356851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009024543A JP5356851B2 (en) 2009-02-05 2009-02-05 Macro program structuring system, macro program structuring method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009024543A JP5356851B2 (en) 2009-02-05 2009-02-05 Macro program structuring system, macro program structuring method, and program

Publications (2)

Publication Number Publication Date
JP2010182060A true JP2010182060A (en) 2010-08-19
JP5356851B2 JP5356851B2 (en) 2013-12-04

Family

ID=42763614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009024543A Expired - Fee Related JP5356851B2 (en) 2009-02-05 2009-02-05 Macro program structuring system, macro program structuring method, and program

Country Status (1)

Country Link
JP (1) JP5356851B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408991A (en) * 2018-11-02 2019-03-01 严瑞强 A kind of model parameter visualization processing method based on FANUC PICTURE man-machine interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129446A (en) * 1993-11-05 1995-05-19 Canon Inc Data base access method
JPH11327976A (en) * 1998-05-13 1999-11-30 Mitsubishi Electric Corp Data base control method and device therefor
JP2000322295A (en) * 1999-05-12 2000-11-24 Nec Corp Method and device for programming support for data base stored sub-program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129446A (en) * 1993-11-05 1995-05-19 Canon Inc Data base access method
JPH11327976A (en) * 1998-05-13 1999-11-30 Mitsubishi Electric Corp Data base control method and device therefor
JP2000322295A (en) * 1999-05-12 2000-11-24 Nec Corp Method and device for programming support for data base stored sub-program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408991A (en) * 2018-11-02 2019-03-01 严瑞强 A kind of model parameter visualization processing method based on FANUC PICTURE man-machine interface
CN109408991B (en) * 2018-11-02 2022-12-09 宜宾职业技术学院 Model parameter visualization processing method based on FANUC PICTURE human-computer interface

Also Published As

Publication number Publication date
JP5356851B2 (en) 2013-12-04

Similar Documents

Publication Publication Date Title
JP2009271930A (en) Method, system and program for generating jdf by use of printer definition file
JP2010129057A (en) Information processor, display data translation method, and program
JP2004021791A (en) Method for describing existing data by natural language and program for the method
JP5466357B2 (en) Apparatus and method for supporting creation of electronic document
JP5028022B2 (en) Printing apparatus and document printing method
JP5356851B2 (en) Macro program structuring system, macro program structuring method, and program
JP2010267092A (en) Information processor and information processing method
JP2009015395A (en) Dictionary construction support device and dictionary construction support program
JP4203287B2 (en) Information processing apparatus, information processing method, and information processing system
JP2007183849A (en) Document processor
JP4354514B2 (en) Program automatic conversion method, program automatic conversion device, and program
JP2009151613A (en) Program source conversion apparatus
JP5844347B2 (en) Computer program generation device
JP2008299423A (en) Information processor and information processing program
JP2007279795A (en) System for deciding whether or not screen to be displayed by program satisfy specification
JP6062735B2 (en) Software development support device, software development support method, software development support program
JP4472768B2 (en) Program analysis apparatus, program analysis method, and program
JP2010152601A (en) Printer driver
JP2005157827A (en) Method and device for creating program
JP2009015753A (en) Display panel, screen editing method, and screen editing program
JP5552893B2 (en) Information processing device
JP4310401B2 (en) Knowledge code generation method and apparatus
JP5124660B2 (en) Program production method and production apparatus
CN113138730A (en) CSS rule-based transmission method of electronic template among multiple devices
JP6602234B2 (en) DATA GENERATION DEVICE, COMPUTER PROGRAM, AND DATA GENERATION METHOD

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120410

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120918

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130409

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130829

R150 Certificate of patent or registration of utility model

Ref document number: 5356851

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees