JPS62224825A - Program correcting system - Google Patents

Program correcting system

Info

Publication number
JPS62224825A
JPS62224825A JP6807786A JP6807786A JPS62224825A JP S62224825 A JPS62224825 A JP S62224825A JP 6807786 A JP6807786 A JP 6807786A JP 6807786 A JP6807786 A JP 6807786A JP S62224825 A JPS62224825 A JP S62224825A
Authority
JP
Japan
Prior art keywords
module
program
instruction
correction
modification
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
JP6807786A
Other languages
Japanese (ja)
Inventor
Yoshihito Takahashi
高橋 由仁
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6807786A priority Critical patent/JPS62224825A/en
Publication of JPS62224825A publication Critical patent/JPS62224825A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce time for correcting work by preparing an execution form program including a correcting method instruction module that instructs method of correction in a correcting process module. CONSTITUTION:A program module group of an object form supplied to users are stored in a program module group storing file 1. Correction instruction data group consisting of the position of correction and the content of correction are inputted from a correction instruction inputting section 2 and converted to the data group of a form that can be processed easily by a correction process module by a correction instruction preparing section and stored in a corresponding file 4 as a correction instruction module. A module uniting section 6 selects and unites the module group that conform to the request of users from files 1 and 4 in accordance with the uniting instruction of a uniting instruction inputting section and prepares an execution form program and stores it in a corresponding storage file 7.

Description

【発明の詳細な説明】 発明の目的 産業上の利用分野 本発明は、電子計算機システムで実行されるプログラム
の修正方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for modifying a program executed in a computer system.

従来の技術 一般に電子計算機システムにおいては、プログラム・サ
イズの巨大化を回避しつつ多種多様なユーザーの要望に
応じるため、必須モジュール、任意選択モジュール、択
一モジュールなどから成るプログラム・モジュール群を
予め準備しておき、ユーザーの要望に合わせてそれらを
選択・結合することにより最適化された実行形式プログ
ラムを作成するというモジュール構造の手法が採用され
ている。
Conventional technology In general, in electronic computer systems, a group of program modules consisting of required modules, optional modules, alternative modules, etc. is prepared in advance in order to avoid increasing the program size and meet the needs of a wide variety of users. A modular structure method is adopted in which an optimized executable program is created by selecting and combining these programs in accordance with the user's needs.

従来、そのようなモジュール構造のプログラムを修正す
るには、各モジュールをソース・レベルで修正する方式
や、実行形式プログラム・レベルで修正するプログラム
・パッチによる方式が採用されている。
Conventionally, in order to modify a program having such a modular structure, a method has been adopted in which each module is modified at the source level, or a program patch method is used in which the program is modified at the executable program level.

発明が解決しようとする問題点 上記プログラムの修正方式のうちソース・レベルで修正
を行うものは、修正を行うユーザーの負担が大きくなる
と共に、利用者にソース・モジュ−ルを提供することが
必要になってプログラムの機密保持上の問題も生ずる。
Problems to be Solved by the Invention Of the above program modification methods, those that modify the program at the source level place a heavy burden on the user who performs the modification, and also require the user to be provided with the source module. This also raises the issue of program confidentiality.

また、プログラム・パッチによる方式は、利用者ごとに
モジュールの選択・結合状態が異なるため、その状態を
利用者ごとに管理しておく必要がある。このため、利用
者が多くなるにつれて管理の手間が過大となり、保守効
率が著しく低下するという問題がある。
Furthermore, in the program/patch method, the selection and combination status of modules differs for each user, so it is necessary to manage the status for each user. For this reason, there is a problem in that as the number of users increases, the effort required for management becomes excessive and maintenance efficiency is significantly reduced.

発明の構成 問題点を解決するための手段 上記従来技術の問題点を解決する本発明のプログラムの
修正方式は、他のモジュールの修正処理を行う修正処理
モジュールとこの修正処理モジュールに修正方法を指示
する修正方法指示モジュールを含めて実行形式プログラ
ムを作成し、この実行形式プロゲラ・ムの実行に際し、
修正処理モジュール部分を最初に実行することによって
プログラムの修正を行うように構成されている。
Configuration of the Invention Means for Solving the Problems The program modification method of the present invention that solves the problems of the prior art described above includes a modification processing module that performs modification processing for other modules and instructions for a modification method to this modification processing module. Create an executable program including a modification method instruction module, and when running this executable program,
The program is configured to be modified by first executing the modification processing module portion.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1図は、本発明の一実施例を適用する電子計算機シス
テムのうちこの実施例に関連する部分の構成を示すブロ
ック図であり、1はプログラム・モジュール群格納ファ
イル、2は修正指示入力部、3は修正指示モジュール作
成部、4は修正指示モジュール格納ファイル、5は結合
指示入力部、6はモジュール結合部、7は実行形式プロ
グラム格納ファイル、8は実行部である。
Embodiment FIG. 1 is a block diagram showing the configuration of the parts related to this embodiment of a computer system to which an embodiment of the present invention is applied, 1 is a program module group storage file, 2 is a modification instruction 3 is a modification instruction module creation section; 4 is a modification instruction module storage file; 5 is a connection instruction input section; 6 is a module connection section; 7 is an executable program storage file; 8 is an execution section.

プログラム・モジュール群格納ファイル1には利用者に
提供されるオブジェクト形式のプログラム・モジュール
群が格納されており、それぞれがモジュール結合部6に
おいて、利用者の要求に応じて選択・結合され、最適化
された実行形式プログラムが作成される。
The program/module group storage file 1 stores a group of object-format programs/modules provided to the user, and each of them is selected/combined and optimized in the module combining unit 6 according to the user's request. An executable program is created.

第2図は、第1図のプログラム・モジュール格納ファイ
ル1の内容を例示する概念図である。各モジュールは、
定義外部名ABC・・・Yをモジュール白和対ゼロ番地
に設定している。ここで、定義外部名Yのモジュールは
、他のモジュールA−Wに対する修正処理を行うための
修正処理モジュールである。
FIG. 2 is a conceptual diagram illustrating the contents of the program module storage file 1 shown in FIG. Each module is
Definition external name ABC...Y is set at address zero of module white sum. Here, the module with the definition external name Y is a modification processing module for performing modification processing on other modules AW.

上記修正処理モジュールに修正方法を指示する修正指示
モジュールを作成するために、修正指示入力部2から修
正位置と修正内容から成る修正指示データ群が入力され
、修正指示作成部3によって修正処理モジュールが処理
し易い形式のデータ群に変換され、修正指示モジュール
として対応のファイル4に格納される。
In order to create a correction instruction module that instructs the correction processing module on a correction method, a correction instruction data group consisting of correction positions and correction contents is input from the correction instruction input section 2, and the correction processing module is executed by the correction instruction creation section 3. It is converted into a data group in a format that is easy to process, and stored in the corresponding file 4 as a modification instruction module.

すなわち、修正指示モジュール内の各修正指示データは
、第3図に示すように修正位置と修正内容から成り、修
正位置は、修正対象のモジュールをその定義外部名によ
って指定する参照外部名とこのモジュール内の相対番、
地がら構成されている。
That is, each modification instruction data in the modification instruction module consists of a modification position and modification contents as shown in FIG. relative number within,
It is made up of the ground.

修正内容は、命令部の修正かデータ部の修正かによって
その内容が異なる。命令部を修正する場合には、命令内
アドレス部について修正位置の場合と同様に、参照外部
名とモジュール内相対番地との関連付けが必要になる。
The content of the modification differs depending on whether the instruction part or the data part is modified. When modifying the instruction part, it is necessary to associate the reference external name with the relative address within the module, as in the case of the modification position for the address part within the instruction.

データ部を修正する場合には、修正内容はデータ値のみ
でよい。
When modifying the data section, the modification content only needs to be the data value.

第3図に示す実値の例では、定義外部名Aを持つモジュ
ールの相対300番地の内容を、定義外部名りを持つモ
ジュールの相対250番地へのジャンプ命令に修正する
場合と、データ値を1に修正する場合が示されている。
In the example of actual values shown in Figure 3, the contents of the relative address 300 of the module with the definition external name A are modified to a jump instruction to the relative address 250 of the module with the definition external name, and the data value is 1 is shown.

モジュール結合部6は、結合指示入力部5の結合指示に
従って、格納ファイル1と4から利用者の要求に合致す
るモジュール群を選択・結合して実行形式プログラムを
作成し、これを対応の格納ファイル7に格納する。
The module combination unit 6 selects and combines a group of modules that match the user's request from the storage files 1 and 4 according to the combination instruction from the combination instruction input unit 5, creates an executable program, and transfers this to the corresponding storage file. Store in 7.

第4図は、利用者の要求に応じて最適化された実行形式
プログラムの例を示している。プログラム・モジュール
群格納ファイル1から選択された定義外部名A、C,D
、、F・・・Wのモジュール及び定義外部名Yの修正処
理モジュールと、修正指示モジュール格納ファイル4か
ら選択された定義外部名Zの修正指示モジュールが結合
され、この実行形式プログラムが作成されている。また
、モジュール結合部6によって、第3図で説明した修正
指示モジュール内の参照外部名とこのモジュ−ル内の定
義外部名の関係付けが行われる。すなわち、実際のアド
レスが決定され、その結果が第4図の修正指示部として
格納される。
FIG. 4 shows an example of an executable program optimized according to the user's request. Definition external names A, C, D selected from program module group storage file 1
,,F...W modules and the modification processing module with the definition external name Y, and the modification instruction module with the definition external name Z selected from the modification instruction module storage file 4 are combined to create this executable program. There is. Furthermore, the module coupling section 6 establishes a relationship between the reference external name in the modification instruction module described in FIG. 3 and the defined external name in this module. That is, the actual address is determined, and the result is stored as the modification instruction section shown in FIG.

上記実行形成プログラムが対応のファイル7から読出さ
れて実行部において実行される際に、まず修正処理部が
実行されることにより、プログラムの修正が終了する。
When the execution forming program is read from the corresponding file 7 and executed by the execution section, the modification processing section is executed first, thereby completing the modification of the program.

次に、この修正済みプログラムの実行が開始される。Next, execution of this modified program begins.

発明の効果 以上詳細に説明したように、本発明の修正方式は、他の
モジュールの修正処理を行う修正処理モジュールとこの
修正処理モジュールに修正方法を指示する修正方法指示
モジュールを含めて実行形式プログラムを作成する構成
であるから、個々のモジュールに直接修正を加える従来
方式に比べて修正作業の手間が大幅に軽減される。
Effects of the Invention As explained in detail above, the modification method of the present invention is an executable program that includes a modification processing module that performs modification processing on other modules and a modification method instruction module that instructs this modification processing module on a modification method. Because it is configured to create , the effort required for modification work is greatly reduced compared to the conventional method in which modifications are made directly to individual modules.

また、本発明の修正方式は修正対象のプログラム自体に
自己修正機能を持たせる構成であるから、修正のための
専用のプログラムを別途用意する場合に比べてプログラ
ムの管理や実行の手間が軽減される。
Furthermore, since the modification method of the present invention is configured so that the program to be modified itself has a self-modification function, the effort required to manage and execute the program is reduced compared to the case where a dedicated program for modification is prepared separately. Ru.

さらに、本発明の修正方式はプログラムの実行時に自己
修正を行う構成であるから、まず自己修正部分のみを電
子計算機システムに実行させて修正済みの実行形式プロ
グラムを作成してこれを一部フアイルに保存し、その修
正済み実行形式プログラムをファイルから続出して実行
させる場合と異なり、修正のためだけにそのプログラム
の一部を実行させる必要がない。この結果、電子計算機
システムの使用効率も向上する。
Furthermore, since the modification method of the present invention is configured to perform self-modification when the program is executed, the computer system first executes only the self-modified part to create a modified executable program, and a part of this is saved as a file. Unlike the case where the modified executable program is saved and executed from a file one after another, there is no need to execute part of the program just to make corrections. As a result, the usage efficiency of the electronic computer system is also improved.

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

第1図は本発明の一実施例のプログラムの修正方式を適
用する電子計算機システムの構成を示すブロック図、第
2図乃至第4図は上記実施例におけるプログラム・モジ
ュール群、修正指示モジュール及び実行形式プログラム
の構成を例示する概念図である。 ■・・プログラム・モジュール群格納ファイル、2・・
修正指示入力部、3・・修正指示モジュール作成部、4
・・修正指示モジュール格納ファイル、5・・結合指示
入力部、6・・モジュール結合部、7・・実行形式プロ
グラム格納ファイル、8・・実行部。
FIG. 1 is a block diagram showing the configuration of an electronic computer system to which a program modification method according to an embodiment of the present invention is applied, and FIGS. 2 to 4 show a group of program modules, modification instruction modules, and execution in the above embodiment. FIG. 2 is a conceptual diagram illustrating the structure of a formal program. ■...Program module group storage file, 2...
Correction instruction input unit, 3... Correction instruction module creation unit, 4
... Modification instruction module storage file, 5. Connection instruction input section, 6. Module connection section, 7. Executable program storage file, 8. Execution section.

Claims (1)

【特許請求の範囲】 複数のモジュールから必要なものだけを選択・結合して
実行形式プログラムを作成し、実行する電子計算機シス
テムにおいて、 他のモジュールの修正処理を行う修正処理モジュールと
この修正処理モジュールに修正方法を指示する修正指示
モジュールを含めて前記実行形式プログラムを作成し、 この実行形式プログラムの実行に際し、前記修正処理モ
ジュール部分を最初に実行することによりプログラムの
修正を行うことを特徴とするプログラムの修正方式。
[Claims] In a computer system in which an executable program is created and executed by selecting and combining only necessary modules from a plurality of modules, a correction processing module that performs correction processing on other modules, and this correction processing module The executable program is created including a modification instruction module that instructs a modification method, and when the executable program is executed, the program is modified by first executing the modification processing module part. Program modification method.
JP6807786A 1986-03-26 1986-03-26 Program correcting system Pending JPS62224825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6807786A JPS62224825A (en) 1986-03-26 1986-03-26 Program correcting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6807786A JPS62224825A (en) 1986-03-26 1986-03-26 Program correcting system

Publications (1)

Publication Number Publication Date
JPS62224825A true JPS62224825A (en) 1987-10-02

Family

ID=13363339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6807786A Pending JPS62224825A (en) 1986-03-26 1986-03-26 Program correcting system

Country Status (1)

Country Link
JP (1) JPS62224825A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02109133A (en) * 1988-10-19 1990-04-20 Nec Corp Customizing system for package software
JP2009288858A (en) * 2008-05-27 2009-12-10 Fuji Xerox Co Ltd Additional executable information generation device, information processor, and program
JP2011040059A (en) * 2009-08-11 2011-02-24 Fisher-Rosemount Systems Inc Method and system for configuring process control, module template, and process control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02109133A (en) * 1988-10-19 1990-04-20 Nec Corp Customizing system for package software
JP2009288858A (en) * 2008-05-27 2009-12-10 Fuji Xerox Co Ltd Additional executable information generation device, information processor, and program
JP2011040059A (en) * 2009-08-11 2011-02-24 Fisher-Rosemount Systems Inc Method and system for configuring process control, module template, and process control system
US9256219B2 (en) 2009-08-11 2016-02-09 Fisher-Rosemount Systems, Inc. System configuration using templates

Similar Documents

Publication Publication Date Title
JPH07334572A (en) Information processing system
CN108734454A (en) Reimbursement processing method and system
JPS62224825A (en) Program correcting system
JPH043248A (en) Output specifications exemplification type information processing system
JP2607467B2 (en) Table conversion type software configuration method
JP2002517031A (en) Method and apparatus for sequence creation of numerically controlled machine tools
JPS585848A (en) Controlling system for program access
JP2500771B2 (en) Software modification method
JPH07121358A (en) Program customizing device
JPH11353168A (en) Interface matching method and recording medium where interface matching program is recorded
JP2555877B2 (en) Program specialization method
JPH03257531A (en) Patch system
JPH0887418A (en) Program convesion system
JPH01316823A (en) Operating system correcting system
JPS62151927A (en) Load module generation system
JPH04111020A (en) System s/w generation supporting device
JPH06119155A (en) Program generator
JP2000207473A (en) Device and method for workflow processing
JP2001175780A (en) Slip output selection system, slip output selection method and recording medium recording slip output selection procedure
JPS62209671A (en) Drawing control system
JPS63180129A (en) Program connection system
JPH01154260A (en) File correction and control system
JPH05298113A (en) List function preparing system
JPH09146807A (en) File editing system
JPH0883297A (en) Data conversion processing method in drawing control system