JP2003122568A - Program supply method and recording medium used for the supply method - Google Patents

Program supply method and recording medium used for the supply method

Info

Publication number
JP2003122568A
JP2003122568A JP2001319466A JP2001319466A JP2003122568A JP 2003122568 A JP2003122568 A JP 2003122568A JP 2001319466 A JP2001319466 A JP 2001319466A JP 2001319466 A JP2001319466 A JP 2001319466A JP 2003122568 A JP2003122568 A JP 2003122568A
Authority
JP
Japan
Prior art keywords
file
program
replacement
character string
replaced
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.)
Pending
Application number
JP2001319466A
Other languages
Japanese (ja)
Inventor
Katsuhiro Kawaguchi
勝洋 川口
Takanori Nishio
高典 西尾
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001319466A priority Critical patent/JP2003122568A/en
Publication of JP2003122568A publication Critical patent/JP2003122568A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve such a problem with program supply method that, since there are a plurality of OEM buyers, OEM suppliers must replace product names for each OEM buyer and a large load is applied to an operation to inspect the replacement. SOLUTION: A program supplier supplies a program source file used to alter a part of the program at a program buyer and having replaced variables for specifying a portion to be replaced buried therein and a list file having the list of the replaced variables included in the source file to a program buyer. With the file and a replaced character string definition file prepared based on the list file and having the replaced variables in the list file and replaced character strings in correspondence with the replaced variables used as input parameters, a replacement program for converting the replaced variables in the source file into the corresponding replaced character strings is desirably be further supplied.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、OEM供給元から
供給先にアプリケーションプログラムを供給する場合に
おける、プログラムの供給方法およびこの供給方法に用
いる記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program supplying method and a recording medium used in the supplying method when an application program is supplied from an OEM supplier to a supplier.

【0002】[0002]

【従来の技術】図1に示すように、OEM(Original
Equipment Manufacturing)供給元11から供給先17
にアプリケーションプログラムに係るプログラム製品1
7aを供給する方法の一形態として、OEM供給元11
が、アプリケーションプログラムの主たる機能は同一の
まま、当該アプリケーションプログラムを起動した際に
ディスプレイに表示される文字列のうち、例えば、製品
名、メッセージ、および入力コマンドなどのOEM供給
先ごとに独自表記されるべき文字列のみを、OEM供給
先独自の文字列(以下、独自文字列と記す)に置換して
供給することがある。
2. Description of the Related Art As shown in FIG. 1, OEM (Original)
Equipment Manufacturing) Supplier 11 to Supplier 17
Products related to application programs
As one mode of the method for supplying 7a, the OEM supplier 11
However, while the main function of the application program remains the same, of the character strings displayed on the display when the application program is started, for example, product names, messages, and input commands are uniquely written for each OEM supplier. Only the character string to be supplied may be replaced with a character string unique to the OEM supplier (hereinafter referred to as a unique character string) and supplied.

【0003】この置換に際し、OEM供給元11は、例
えば、前記アプリケーションプログラムのソースファイ
ル中の、前記文字列に対応する置換候補部分(以下置換
候補文字列とも記す)を、テキストエディタにより前記
独自文字列に置換することにより行っている。さらに、
OEM供給元11は、この置換後、置換後のソースファ
イルをオブジェクトファイルにコンパイルするなどして
実行ファイルを生成し、この実行ファイルの機能面や、
前記置換に係る表示面での不具合を検査し、検査後、実
行ファイルをCD−ROMなどの記録媒体に複写し、こ
れをOEM供給先17ブランドのプログラム製品17a
としてOEM供給先17へ納品している。
At the time of this replacement, the OEM supplier 11 uses, for example, a text editor to replace the replacement candidate portion (hereinafter also referred to as replacement candidate character string) corresponding to the character string in the source file of the application program with the unique character. This is done by substituting columns. further,
After the replacement, the OEM supplier 11 generates an execution file by compiling the replaced source file into an object file, and the like.
The display surface related to the replacement is inspected for defects, and after the inspection, the execution file is copied to a recording medium such as a CD-ROM, which is an OEM supplier 17 brand program product 17a.
Is delivered to the OEM supplier 17.

【0004】[0004]

【発明が解決しようとする課題】ところで、OEM供給
先17は通常複数存在するため、OEM供給元11は、
OEM供給先17ごとに製品名などを置換し、これを検
査する作業に多大な負担を強いられていた。また、プロ
グラム製品17aの納入後にOEM供給先17の都合に
より製品名などを変更したいような場合でも、OEM供
給先17に供給されているのがオブジェクトファイルの
みである場合には、OEM供給先17で独自に製品名な
どを変更することができず、このような場合には、OE
M供給元11に対して修正依頼をする必要があり、OE
M供給元11の手を煩わせるなどの不都合があった。
By the way, since there are usually a plurality of OEM supply destinations 17, the OEM supply source 11 is
A great burden has been imposed on the work of replacing the product name and the like for each OEM supplier 17 and inspecting the product name. Even if the OEM supplier 17 needs to change the product name or the like after the program product 17a is delivered, if the OEM supplier 17 includes only object files, the OEM supplier 17 may be changed. In such cases, you cannot change the product name etc. by yourself.
It is necessary to request correction from the M supplier 11,
There are inconveniences such as annoying the hand of the M supplier 11.

【0005】本発明はかかる従来の課題に鑑みて成され
たもので、プログラム中の置換候補部分の、OEM供給
先の独自文字列への置換をOEM供給先で行うことがで
き、また、プログラム供給元での負担を軽減することが
できるプログラムの供給方法およびこの供給方法に用い
る記録媒体を提供することを目的とする。
The present invention has been made in view of the above conventional problems, and the replacement candidate portion in the program can be replaced with the original character string of the OEM supply destination at the OEM supply destination. An object of the present invention is to provide a program supply method capable of reducing the burden on the supply source and a recording medium used in this supply method.

【0006】[0006]

【課題を解決するための手段】かかる目的を達成するた
めの、本発明の主たる発明は、プログラムの供給元が、
プログラムの供給先で当該プログラムの一部を改変する
のに利用され置換候補部分を指定する置換対象変数が埋
設された前記プログラムのソースファイルとこのソース
ファイルに含まれる前記置換対象変数の一覧を記載した
一覧ファイルとを、プログラムの供給先に供給するこ
と、を特徴とする。
To achieve the above object, the main invention of the present invention is that the program supplier is
A list of the source file of the program in which the substitution target variable that is used to modify a part of the program at the supply destination of the program and that specifies the replacement candidate portion is embedded, and the substitution target variable included in this source file is described And supplying the list file to the program supply destination.

【0007】[0007]

【発明の実施の形態】本発明に係るプログラムの供給方
法においては、図2に示すように、前記OEMによる製
品供給に際しOEM供給元11から供給先17に対し、
アプリケーションプログラムのソースファイルと、この
ソースファイル中の前記置換候補文字列を前記独自文字
列に置換するための各種置換用ファイルとを収容した記
録媒体を供給する。また、前記置換およびコンパイルな
どの処理は供給先17で行うようにし、OEM供給元1
1での前記置換および検査作業の負担を無くすようにし
ている。
BEST MODE FOR CARRYING OUT THE INVENTION In the method of supplying a program according to the present invention, as shown in FIG.
A recording medium containing a source file of an application program and various replacement files for replacing the replacement candidate character string in the source file with the unique character string is supplied. Further, the processing such as the replacement and the compilation is performed by the supplier 17, and the OEM supplier 1
The burden of the replacement and inspection work in No. 1 is eliminated.

【0008】記録媒体としては、例えばCD−ROMが
用いられる。このCD−ROM25には、図3に示すよ
うに、前記アプリケーションプログラムのソースファイ
ル31と、このアプリケーションプログラムの操作マニ
ュアルなどが記載されたドキュメントファイル32と、
これらソースファイル31およびドキュメントファイル
32中の置換候補文字列をOEM供給17先の独自文字
列に置換するのに用いられる一覧ファイル33,置換文
字列定義ファイル34,置換プログラム35と、前記置
換後のソースファイルをオブジェクトファイルにコンパ
イルするコンパイラ36と、オブジェクトファイルに、
このオブジェクトファイルに係るライブラリを結合する
リンカ37が格納されている。
A CD-ROM, for example, is used as the recording medium. As shown in FIG. 3, the CD-ROM 25 includes a source file 31 of the application program, a document file 32 in which an operation manual of the application program is written, and the like.
The list file 33, the replacement character string definition file 34, the replacement program 35 used to replace the replacement candidate character strings in the source file 31 and the document file 32 with the original character strings supplied to the OEM supplier 17, and the replacement file after the replacement. A compiler 36 that compiles source files into object files
A linker 37 for connecting the libraries related to this object file is stored.

【0009】このうち、ソースファイル31は、アプリ
ケーションプログラムが記載されたテキスト形式のファ
イルである。このソースファイル31中の前記置換候補
文字列の部分には、置換対象変数が埋設されている。こ
の置換候補文字列は、具体的には、アプリケーションプ
ログラムの起動時にディスプレイに表示される、製品名
や、エラーメッセージ、入力コマンドなどであり、置換
対象変数は、後述する当該置換対象変数の検索時に、ソ
ースファイル31中の他の文字列との区別がつくように
特徴的な識別子を用いて記載されている。具体的には、
置換対象変数33aは、図4に示すように5桁の文字列
で構成され、上位2桁には置換対象変数33aであるこ
とを示す$$が記載される。一方、下位3桁には、置換
対象変数33aごとに異なる文字が記される。
Of these, the source file 31 is a text format file in which an application program is described. A variable to be replaced is embedded in the replacement candidate character string portion of the source file 31. This replacement candidate character string is, specifically, a product name, an error message, an input command, or the like that is displayed on the display when the application program is started. , A unique identifier is used so that it can be distinguished from other character strings in the source file 31. In particular,
The substitution target variable 33a is composed of a 5-digit character string as shown in FIG. 4, and $$ indicating the substitution target variable 33a is described in the upper 2 digits. On the other hand, different characters are written in the lower three digits for each replacement target variable 33a.

【0010】前記CD−ROM25に含まれるドキュメ
ントファイル32は、アプリケーションプログラムに関
する操作マニュアルなどが記載されているテキスト形式
のファイルである。ドキュメントファイル32にも、ソ
ースファイル31と同様に、製品名といったOEM供給
先17の独自文字列に置換されるべき置換候補文字列が
存在し、該当箇所には置換対象変数33aが埋設されて
いる。
The document file 32 included in the CD-ROM 25 is a text file in which an operation manual for an application program is written. Similar to the source file 31, the document file 32 also has a replacement candidate character string to be replaced with an original character string of the OEM supplier 17, such as a product name, and a replacement target variable 33a is embedded in the relevant portion. .

【0011】また、前記CD−ROM25に含まれる一
覧ファイル33には、図4に示すように、ソースファイ
ル31およびドキュメントファイル33内に埋設された
置換対象変数33aの一覧が記載されている。これらの
置換対象変数33aは、置換プログラム35によりソー
スファイル31およびドキュメントファイル32中の置
換対象変数33aを検索する際に、検索キーとして用い
られる。
In the list file 33 included in the CD-ROM 25, as shown in FIG. 4, a list of substitution target variables 33a embedded in the source file 31 and the document file 33 is described. These replacement target variables 33a are used as search keys when the replacement program 35 searches for the replacement target variables 33a in the source file 31 and the document file 32.

【0012】また、前記CD−ROM25に含まれる置
換文字列定義ファイル34には、図5に示すように、一
覧ファイル33の置換対象変数33aに対応する置換対
象文字列34aが、置換対象変数33aに対応付けられ
て記載されている。このファイル34は、置換プログラ
ム35によって検索された、ソースファイル31および
ドキュメントファイル32中の置換対象変数33aを独
自文字列に変更する際に用いられる。置換対象文字列3
4aは、具体的には製品名やメッセージといった、OE
M供給先17ごとに独自に設定された独自文字列が定義
される。OEM供給元11は、OEM供給先17から提
示された独自文字列に基づいて、置換文字列定義ファイ
ル34の置換対象文字列のデフォルトを設定している。
Further, in the replacement character string definition file 34 included in the CD-ROM 25, as shown in FIG. 5, the replacement target character string 34a corresponding to the replacement target variable 33a of the list file 33 is replaced with the replacement target variable 33a. It is described in association with. The file 34 is used when changing the replacement target variable 33a in the source file 31 and the document file 32 searched by the replacement program 35 to a unique character string. Replacement target character string 3
4a is an OE such as a product name and a message.
A unique character string uniquely set for each of the M supply destinations 17 is defined. The OEM supplier 11 sets the default of the replacement target character string in the replacement character string definition file 34 based on the unique character string presented by the OEM supplier 17.

【0013】なお、置換文字列定義ファイル34におけ
る置換対象文字列34aは、書き換え可能になってお
り、CD−ROM25をOEM供給先17から供給され
た当該OEM供給先17は、自身で修正することができ
る。
The replacement target character string 34a in the replacement character string definition file 34 is rewritable, and the OEM supplier 17 supplied with the CD-ROM 25 from the OEM supplier 17 must correct it by itself. You can

【0014】さらに、前記CD−ROM25に含まれる
置換プログラム35は、ソースファイル31およびドキ
ュメントファイル32中に埋設された置換対象変数33
aを一覧ファイル33を参照して検索し、当該検索した
置換対象変数33aを、置換文字列定義ファイル34を
参照して対応する置換対象文字列34aに置換する機能
を備えている。
Further, the replacement program 35 included in the CD-ROM 25 has a replacement target variable 33 embedded in the source file 31 and the document file 32.
It has a function of searching the list file 33 for a, and replacing the searched replacement target variable 33a with the corresponding replacement target character string 34a by referring to the replacement character string definition file 34.

【0015】つぎに、このCD−ROM25を供給され
た供給先17で行われる処理について図6のフローチャ
ートに従って説明する。まず、OEM供給先17の作業
者は、コンピュータにCD−ROM25をセットして置
換プログラム35を起動する(601)。すると、置換
プログラム35は、CD−ROM25からソースファイ
ル31、ドキュメントファイル32、一覧ファイル3
3、および置換文字列定義ファイル34をそれぞれ読み
込んで(602)、図7のように、ディスプレイに置換
対象変数33aと置換対象文字列34aとが対応付けら
れてなる置換対象文字列入力画面71を表示する。この
時、置換対象文字列34aの部分には、OEM供給元1
1にて予め入力されたOEM供給先17の独自文字列が
表示される。
Next, the processing performed by the supply destination 17 supplied with the CD-ROM 25 will be described with reference to the flowchart of FIG. First, the operator of the OEM supplier 17 sets the CD-ROM 25 in the computer and activates the replacement program 35 (601). Then, the replacement program 35 reads the source file 31, the document file 32, and the list file 3 from the CD-ROM 25.
3, and the replacement character string definition file 34 is read (602), and the replacement target character string input screen 71 in which the replacement target variable 33a and the replacement target character string 34a are associated with each other on the display is displayed as shown in FIG. indicate. At this time, in the portion of the replacement target character string 34a, the OEM supplier 1
The original character string of the OEM supplier 17 previously input in 1 is displayed.

【0016】作業者は、この画面に表示されている置換
対象文字列34aを編集する。作業者が編集を終えてO
Kボタン73をクリックすると、つぎに置換プログラム
35は、一覧ファイル33を参照してソースファイル3
1およびドキュメントファイル32中の各置換対象変数
33aを検索し、当該検索した置換対象変数33aを、
対応する置換対象文字列34aに置換する(603,6
04,605)。これにより、置換対象変数33aが独
自文字列34aに置換されたソースファイル31が生成
される。
The operator edits the replacement target character string 34a displayed on this screen. O after the worker has finished editing
When the K button 73 is clicked, the replacement program 35 next refers to the list file 33 and the source file 3
1 and each replacement target variable 33a in the document file 32 is searched, and the searched replacement target variable 33a is
Replace with the corresponding replacement target character string 34a (603, 6)
04,605). As a result, the source file 31 in which the replacement target variable 33a is replaced with the unique character string 34a is generated.

【0017】つぎに、作業者は、コンパイラ36により
置換後のソースファイル31をオブジェクトファイルに
コンパイルし、更に必要に応じてリンク処理などを行っ
て実行ファイルを生成する(606)。そして、前記実
行ファイルの機能および表示面を検査した後、当該実行
ファイルをCD−ROMなどの出荷用の記録媒体に適宜
複写し、一方、ドキュメントファイル32などを前記記
録媒体に格納する。これによりOEM供給先17ブラン
ドのプログラム製品17aが完成することになる。
Next, the worker compiles the source file 31 after replacement by the compiler 36 into an object file, and further performs link processing or the like as necessary to generate an execution file (606). Then, after inspecting the function and display surface of the execution file, the execution file is appropriately copied to a shipping recording medium such as a CD-ROM, while the document file 32 and the like are stored in the recording medium. As a result, the OEM supplier 17 brand program product 17a is completed.

【0018】以上に説明したように、OEM供給元11
は供給先17に、該アプリケーションプログラムのソー
スファイル31を供給する一方、該ソースファイル31
内に埋設された置換対象変数33aを前記独自文字列に
置換するための一覧ファイル33、置換文字列定義ファ
イル34、置換プログラム35も供給している。これに
よりOEM供給先17は、一覧ファイル33、置換文字
列定義ファイル34、置換プログラム35に基づいて、
ソースファイル31の置換対象変数33aを、OEM供
給先17ごとの独自文字列に置換して、ソースファイル
31を自己ブランドのプログラム製品17aに改変する
ことができる。
As explained above, the OEM supplier 11
Supplies the source file 31 of the application program to the supply destination 17, while the source file 31
The list file 33 for replacing the variable 33a to be replaced embedded in the inside with the unique character string, the replacement character string definition file 34, and the replacement program 35 are also supplied. As a result, the OEM supplier 17, based on the list file 33, the replacement character string definition file 34, and the replacement program 35,
The replacement target variable 33a of the source file 31 can be replaced with a unique character string for each OEM supplier 17, and the source file 31 can be modified to the self-brand program product 17a.

【0019】したがって、OEM供給元11は、置換作
業やこの作業により必要となる検査作業から開放され
て、その負担は大幅に軽減される。また、OEM供給先
17にあっても、置換対象変数33aを修正したい場合
には、プログラムの供給元11へ修正依頼をせずに、O
EM供給先17自身で修正することができるので便利で
ある。
Therefore, the OEM supplier 11 is freed from the replacement work and the inspection work required by this work, and the burden is greatly reduced. Further, even if the OEM supplier 17 wants to modify the variable 33a to be replaced, the operator does not request the supplier 11 of the program to modify it.
This is convenient because it can be corrected by the EM supplier 17 itself.

【0020】つぎに、アプリケーションプログラムのソ
ースファイル31がBASIC言語で記述されている場合を
例として、OEM供給先17が、置換プログラム35を
用いて、ソースファイル31中の置換対象変数33aを
独自文字列に置換する具体的な過程について説明する。
Next, taking the case where the source file 31 of the application program is written in the BASIC language as an example, the OEM supplier 17 uses the replacement program 35 to set the replacement target variable 33a in the source file 31 to the unique character. A specific process of substituting a column will be described.

【0021】OEM供給元11では、前記アプリケーシ
ョンプログラムのソースファイル31として以下のリス
トのプログラムを製造する。このソースファイル31に
は前記置換対象変数33aとして、$$XX1および$
$XX2が埋設されている。
The OEM supplier 11 manufactures the programs of the following list as the source file 31 of the application program. In the source file 31, the variables to be replaced 33a are $ XX1 and $ XX1.
$ XX2 is buried.

【0022】 ・ ・ ・ 510:PRINT”***$$XX1***” 520:PRINT”***$$XX2***” ・ ・ ・[0022] ・ ・ ・ 510: PRINT “*** $$ XX1 ***” 520: PRINT “*** $$ XX2 ***” ・ ・ ・

【0023】また、一覧ファイル33としては図4に示
す内容のファイルを、置換文字列定義ファイル34とし
ては図5に示す内容のファイルをそれぞれ製造する。こ
の置換文字列定義ファイル34中の置換対象変数33a
の$$XX1に対応する置換対象文字列34aには、製
品名を示す「ABC」という独自文字列が、$$XX2
には、OEM供給先17の会社名を示す「EFGH」と
いう独自文字列がそれぞれに定義されている。
A file having the contents shown in FIG. 4 is manufactured as the list file 33, and a file having the contents shown in FIG. 5 is manufactured as the replacement character string definition file 34. Replacement target variable 33a in this replacement character string definition file 34
In the replacement target character string 34a corresponding to $ XXXX, the unique character string "ABC" indicating the product name is $ XXXX2.
In the table, a unique character string “EFGH” indicating the company name of the OEM supplier 17 is defined.

【0024】これらファイル31,33,34,35を
収めたCD−ROM25を供給されたOEM供給先17
の作業者は、コンピュータに当該CD−ROM25をセ
ットし置換プログラム35を起動する。これにより、デ
ィスプレイに図7に示す置換対象文字列入力画面71が
表示され、前記作業者は、適宜置換対象文字列を必要に
応じて編集後、OKボタン73をクリックする。
An OEM supplier 17 supplied with a CD-ROM 25 containing these files 31, 33, 34, 35
The operator sets the CD-ROM 25 in the computer and activates the replacement program 35. As a result, the replacement target character string input screen 71 shown in FIG. 7 is displayed on the display, and the operator edits the replacement target character string as necessary and then clicks the OK button 73.

【0025】つぎに、置換プログラム35は、一覧ファ
イル33に従ってソースファイル31をその全体に亘り
検索し、さらに、前記リスト中の第510行目の置換対
象変数33a「$$XX1」および第520行目の「$
$YY1」を、それぞれ置換文字列定義ファイル34に
基づいて、「ABC」、「EFGH」に置換する。これ
により、以下に示すようなOEM供給先17の独自文字
列に置換されたソースファイル31が生成される。
Next, the replacement program 35 searches the entire source file 31 according to the list file 33, and further, replaces the variable 33a "$$ XX1" and the 520th line on the 510th line in the list. The eye "$
"$ YY1" is replaced with "ABC" and "EFGH" based on the replacement character string definition file 34, respectively. As a result, the source file 31 replaced with the unique character string of the OEM supply destination 17 as shown below is generated.

【0026】 ・ ・ ・ 510:PRINT”***ABC***” 520:PRINT”***EFGH***” ・ ・ ・[0026] ・ ・ ・ 510: PRINT “*** ABC ***” 520: PRINT "*** EFGH ***" ・ ・ ・

【0027】つぎに、前記作業者は、このように置換さ
れたソースファイル31を、前記コンパイルおよびリン
ケージの処理をして実行ファイルを生成する。そして、
これをCD−ROMなどの記録媒体に複写などして収め
た後、当該記録媒体をOEM供給先17ブランドのプロ
グラム製品17aとして出荷する。
Next, the worker performs the compiling and linkage processing on the source file 31 thus replaced to generate an execution file. And
After this is copied and stored in a recording medium such as a CD-ROM, the recording medium is shipped as a program product 17a of an OEM supplier 17 brand.

【0028】ところで、以上に説明した本実施形態に係
るソースファイル31は、新規に作成されるものである
ため、ソースファイル31の作成時に置換対象変数33
aを埋設することができるとともに、その際に一覧ファ
イル33および置換文字列定義ファイル34も作成する
ことができる。したがって、これから新規に開発するプ
ログラム製品に対しては、本発明に係るプログラムの供
給方法は問題なく適用することができる。
By the way, since the source file 31 according to the present embodiment described above is newly created, the substitution target variable 33 is created when the source file 31 is created.
A can be embedded, and at the same time, the list file 33 and the replacement character string definition file 34 can be created. Therefore, the program supply method according to the present invention can be applied to a newly developed program product without any problem.

【0029】しかしながら、新規に作成されたものでは
ない既存のソースファイルに対しては、当該ソースファ
イル中に置換対象変数33aが埋設されていないため、
前記供給方法を用いることができない。
However, for an existing source file that is not newly created, the substitution target variable 33a is not embedded in the source file,
The above supply method cannot be used.

【0030】ここで、このような場合には、以下の方法
により、ソースファイル中にあるOEM供給元11の独
自文字列に代えて置換対象変数33aを埋設し、また一
覧ファイル33および置換文字列定義ファイル34を作
成する。
Here, in such a case, the replacement target variable 33a is embedded in place of the original character string of the OEM supplier 11 in the source file by the following method, and the list file 33 and the replacement character string are embedded. The definition file 34 is created.

【0031】図8の処理フローチャートに示すように、
まずOEM供給元11のコンピュータは、OEM供給元
11の製品名などといった前記独自文字列にて記載され
たソースファイルをテキストエディタに読み込ませ、ソ
ースファイルの内容をディスプレイに表示する(80
1,802)。
As shown in the processing flow chart of FIG.
First, the computer of the OEM supplier 11 causes the text editor to read the source file described in the original character string such as the product name of the OEM supplier 11 and displays the contents of the source file on the display (80
1, 802).

【0032】つぎに、作業者は、コンピュータを用いて
独自文字列一覧ファイルを参照し、ソースファイル中に
おける独自文字列を検索する(803)。この独自文字
列一覧ファイルには、前記ソースファイル中に記載され
た置換対象のOEM供給元11の独自文字列が、一覧的
に記載されている。作業者は、当該検索した独自文字列
を、必要に応じて置換対象変数33aに置換していき、
当該置換に供した置換対象変数33aを一覧ファイル3
3に記録していく(804)。これにより、置換対象変
数33aが記載された一覧ファイル33が作成される。
Next, the worker refers to the unique character string list file using the computer and searches for the unique character string in the source file (803). In this unique character string list file, the unique character strings of the OEM supplier 11 to be replaced described in the source file are listed. The operator replaces the retrieved unique character string with the replacement target variable 33a as necessary,
The replacement target variable 33a provided for the replacement is listed in the list file 3
It records in 3 (804). As a result, the list file 33 in which the substitution target variable 33a is described is created.

【0033】つぎに作業者は、この置換をソースファイ
ルの全体に亘って行い(805)、当該置換対象変数3
3aに置換されたソースファイルと置換前のソースファ
イルとを比較して、置換対象変数33aに前記独自文字
列を対応付ける。このようにして、置換対象変数33a
および前記独自文字列を置換文字列定義ファイル34に
入力し、OEM供給元11用の置換文字列定義ファイル
34が作成されることになる(806)。
Next, the operator performs this replacement over the entire source file (805), and the replacement target variable 3
The source file replaced by 3a is compared with the source file before replacement, and the original character string is associated with the replacement target variable 33a. In this way, the substitution target variable 33a
Then, the original character string is input to the replacement character string definition file 34, and the replacement character string definition file 34 for the OEM supplier 11 is created (806).

【0034】以上、本発明の一実施形態について説明し
たが、本発明は、かかる実施形態に限定されるものでは
なく、その要旨を逸脱しない範囲で以下に示すような変
形が可能である。本実施形態においては、記録媒体とし
てCD−ROM25を用いたが、ソースファイル31や
一覧ファイル33などを記録できればこれに限るもので
はなく、DVD(Digital Versatile Disc)、MOデ
ィスク(Magaeto-Optical disk)などを用いても良
い。また、ソースファイル31や一覧ファイル33をイ
ンターネットなどといった通信回線を介して供給元11
の操作端末から供給先17の操作端末へと供給しても良
い。
Although one embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and the following modifications can be made without departing from the scope of the invention. In the present embodiment, the CD-ROM 25 is used as the recording medium, but the present invention is not limited to this as long as the source file 31, the list file 33, etc. can be recorded, and a DVD (Digital Versatile Disc), an MO disc (Magaeto-Optical disk). Etc. may be used. In addition, the source file 31 and the list file 33 are supplied from the supplier 11 via a communication line such as the Internet.
May be supplied from the operation terminal of No. 1 to the operation terminal of the supply destination 17.

【0035】本実施形態においては、ソースファイル3
1からリンカ37に至るプログラムの供給に必要な全て
のファイルを一つの記録媒体に収めているが、この方法
に限られるわけではなく、複数の記録媒体に分散される
ようにしても良い。
In this embodiment, the source file 3
Although all the files necessary for supplying the programs from 1 to the linker 37 are stored in one recording medium, the present invention is not limited to this method, and may be dispersed in a plurality of recording media.

【0036】また、コンパイラ36およびリンカ37
が、プログラムの供給先17のコンピュータに既にセッ
トアップなどされている場合には、前記記録媒体などに
よって供給先17へ供給する必要はない。
Further, the compiler 36 and the linker 37
However, if the program is already set up in the computer of the supply destination 17, it is not necessary to supply the program to the supply destination 17 by the recording medium or the like.

【0037】[0037]

【発明の効果】以上説明したように、本発明によれば、
プログラム中の置換候補部分の、OEM供給先の独自文
字列への置換をOEM供給先で行うことができ、また、
プログラム供給元での負担を軽減することができる。
As described above, according to the present invention,
The replacement candidate part in the program can be replaced with the original character string of the OEM supply destination at the OEM supply destination.
The burden on the program supplier can be reduced.

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

【図1】OEMによる製品供給を説明する概念図であ
る。
FIG. 1 is a conceptual diagram illustrating product supply by OEM.

【図2】本発明に係るプログラムの供給方法の一実施形
態として、当該供給方法の、OEMによる製品供給への
適用例を示す概念図である。
FIG. 2 is a conceptual diagram showing an example of application of the supply method to product supply by an OEM, as one embodiment of a program supply method according to the present invention.

【図3】供給元から供給先へ供給される記憶媒体を示す
図である。
FIG. 3 is a diagram showing a storage medium supplied from a supply source to a supply destination.

【図4】一覧ファイルを示す図である。FIG. 4 is a diagram showing a list file.

【図5】置換文字列定義ファイルを示す図である。FIG. 5 is a diagram showing a replacement character string definition file.

【図6】OEM供給先でなされる処理を説明するフロー
チャートである。
FIG. 6 is a flowchart illustrating processing performed at an OEM supply destination.

【図7】置換対象文字列入力画面の一例を示す図であ
る。
FIG. 7 is a diagram showing an example of a replacement target character string input screen.

【図8】OEM供給元でなされるソースファイルへの置
換対象変数の埋設手順と一覧ファイル、置換文字列定義
ファイルの作成手順を示すフローチャートである。
FIG. 8 is a flowchart showing a procedure of embedding a variable to be replaced in a source file made by an OEM supplier, a list file, and a procedure of creating a replacement character string definition file.

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

11 OEM供給元(プログラムの供給元) 13 消費者 17 OEM供給先(プログラムの供給先) 25 CD−ROM(記録媒体) 31 ソースファイル 32 ドキュメントファイル 33 一覧ファイル 34 置換文字列定義ファイル 35 置換プログラム 11 OEM Supplier (Program Supplier) 13 consumers 17 OEM supplier (program supplier) 25 CD-ROM (recording medium) 31 source files 32 document files 33 List file 34 Replacement character string definition file 35 Replacement Program

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの供給元が、プログラムの供
給先で当該プログラムの一部を改変するのに利用され置
換候補部分を指定する置換対象変数が埋設された前記プ
ログラムのソースファイルとこのソースファイルに含ま
れる前記置換対象変数の一覧を記載した一覧ファイルと
を、プログラムの供給先に供給すること、を特徴とする
プログラムの供給方法。
1. A source file of the program, in which a source of the program embeds a substitution target variable used for modifying a part of the program at the destination of the program and designating a replacement candidate portion, and the source file. And a list file in which a list of the variables to be replaced included in is supplied to a program supply destination.
【請求項2】 請求項1に記載のプログラムの供給方法
であって、前記ソースファイルと前記一覧ファイルに加
え、 前記一覧ファイルに基づいて作成され、前記一覧ファイ
ル中の前記置換対象変数とこの置換対象変数に対応づけ
られた置換対象文字列とが記述された置換文字列定義フ
ァイルを入力パラメータとして、前記ソースファイル中
の置換対象変数を対応する前記置換対象文字列に変換す
る置換プログラムを、前記プログラムの供給先に供給す
ること、を特徴とするプログラムの供給方法。
2. The method of supplying a program according to claim 1, wherein, in addition to the source file and the list file, the replacement target variable in the list file and the replacement are created based on the list file. The replacement program for converting the replacement target variable in the source file into the corresponding replacement target character string, using the replacement character string definition file in which the replacement target character string associated with the target variable is described as an input parameter, A method of supplying a program, comprising supplying the program to a destination.
【請求項3】 請求項1に記載のプログラムの供給方法
に用いられ、前記ソースファイルと、前記一覧ファイル
とが記録された記録媒体。
3. A recording medium used in the method of supplying a program according to claim 1, wherein the source file and the list file are recorded.
【請求項4】 請求項2に記載のプログラムの供給方法
に用いられ、前記ソースファイルと、前記一覧ファイル
と、前記置換文字列定義ファイルと、前記置換プログラ
ムとが記録された記録媒体。
4. A recording medium used in the program supply method according to claim 2, wherein the source file, the list file, the replacement character string definition file, and the replacement program are recorded.
【請求項5】 請求項1または2に記載のプログラムの
供給方法において、前記ソースファイルが、前記プログ
ラムに関するドキュメントが記載されたドキュメントフ
ァイルであることを特徴とするプログラムの供給方法。
5. The method of supplying a program according to claim 1, wherein the source file is a document file in which a document regarding the program is described.
【請求項6】 請求項3または4に記載の記録媒体にお
いて、前記ソースファイルが、前記プログラムに関する
ドキュメントが記載されたドキュメントファイルである
ことを特徴とする記録媒体。
6. The recording medium according to claim 3 or 4, wherein the source file is a document file in which a document regarding the program is described.
JP2001319466A 2001-10-17 2001-10-17 Program supply method and recording medium used for the supply method Pending JP2003122568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001319466A JP2003122568A (en) 2001-10-17 2001-10-17 Program supply method and recording medium used for the supply method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001319466A JP2003122568A (en) 2001-10-17 2001-10-17 Program supply method and recording medium used for the supply method

Publications (1)

Publication Number Publication Date
JP2003122568A true JP2003122568A (en) 2003-04-25

Family

ID=19137015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001319466A Pending JP2003122568A (en) 2001-10-17 2001-10-17 Program supply method and recording medium used for the supply method

Country Status (1)

Country Link
JP (1) JP2003122568A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011198313A (en) * 2010-03-24 2011-10-06 Hitachi Solutions Ltd Business document processor and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011198313A (en) * 2010-03-24 2011-10-06 Hitachi Solutions Ltd Business document processor and program

Similar Documents

Publication Publication Date Title
JP2002278754A (en) Management system of software component library, its method and management program of software component library
JP2004118403A (en) Software function test data preparation program, and software function test data preparation method
JP2010537325A (en) Interactive user interface definition
JP4997843B2 (en) Software correction omission confirmation system and method
JP5777837B2 (en) Program development support apparatus and method
JP5747698B2 (en) Requirements management support device
JP2003122568A (en) Program supply method and recording medium used for the supply method
JP2011059918A (en) Version management device and version management method
JP2010039901A (en) Operation verification device and operation verification program
JP2000215038A (en) Information management device and recording medium
JP4488226B2 (en) Macro program that realizes highly functional ladder program
JP2003288458A (en) Integrated project management tool
JP7094712B2 (en) Requirement calculator, requirement calculation method, and requirement calculation program
JP7228068B2 (en) Requirements calculation device, requirements calculation method, and requirements calculation program
JP2009080536A (en) Bom editing device, editing program, editing system and editing method
JP3417318B2 (en) Document creation management method and apparatus, and machine-readable recording medium recording program
JP4413810B2 (en) Product configuration management program, product configuration management method, and product configuration management apparatus
JP3424558B2 (en) Object management method
JP2008234379A (en) Software generation device and software generation method
JP2001117761A (en) Method and device for manufacturing picture program and recording medium stored with picture program manufacturing program
JP2009151727A (en) Document processing system
JP2003186670A (en) Automatic generation device, automatic generation method and automatic generation program for database access component
JP2005293403A (en) Design work support device
JP2000222192A (en) Document generator, document generation method and storage medium
JP3004709B2 (en) Error correction support system for knowledge editor

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040928