JPH03257531A - Patch system - Google Patents

Patch system

Info

Publication number
JPH03257531A
JPH03257531A JP2056034A JP5603490A JPH03257531A JP H03257531 A JPH03257531 A JP H03257531A JP 2056034 A JP2056034 A JP 2056034A JP 5603490 A JP5603490 A JP 5603490A JP H03257531 A JPH03257531 A JP H03257531A
Authority
JP
Japan
Prior art keywords
patch
data
program
application
information
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
JP2056034A
Other languages
Japanese (ja)
Inventor
Noriyuki Oka
徳行 岡
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2056034A priority Critical patent/JPH03257531A/en
Publication of JPH03257531A publication Critical patent/JPH03257531A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要] プログラムに一部変更が生じたとき、パッチデータによ
り修正を行うパッチ方式に関しパッチの適用時期や適用
範囲の指定2個別パンチの管理等を可能にし、融通性の
あるパッチを実現することを目的とし。
[Detailed Description of the Invention] [Summary] When a partial change occurs in a program, it is possible to specify the timing and scope of application of a patch with regard to the patch method for making corrections using patch data. The purpose is to realize a patch with.

ファイル装置に格納されている複数のプログラムにより
制御され、パッチデータを用いてプログラムを修正する
パッチ処理機能をそなえた情報処理装置において、パッ
チデータの適用について。
Regarding the application of patch data in an information processing device that is controlled by multiple programs stored in a file device and has a patch processing function for modifying the programs using patch data.

適用時期、適用プログラム、適用対象機器等の制約条件
を指定するパッチ制御情報を設け、また上記パッチ処理
機能に、オペレータの介入によりパッチデータおよびパ
ッチ制御情報のファイルを作成する第1の機能と、オペ
レータによる指定時あるいはIMPL開始前に上記パッ
チ制御情報に基づいて パンチデータを通用する第2の
機能とを設けた構成をもつ。
a first function that provides patch control information that specifies constraint conditions such as application time, application program, and application target equipment; and that creates patch data and patch control information files through operator intervention in the patch processing function; The configuration includes a second function for passing punch data based on the patch control information when specified by the operator or before starting IMPL.

〔産業上の利用分野] 本発明は、ハードディスクや半導体記憶装置等のファイ
ル装置に格納されたプログラムをローディングして実行
する情報処理装置において、ファイル装置内のプログラ
ムに一部変更が生したとき。
[Industrial Application Field] The present invention is applicable to an information processing device that loads and executes a program stored in a file device such as a hard disk or a semiconductor storage device, when a partial change occurs in the program in the file device.

パッチデータにより修正を行うパッチ方式に関する。This invention relates to a patch method that performs corrections using patch data.

一般に情報処理装置では、プログラムに要修正箇所が発
生した場合9次にプログラムの改版が行われるまで、既
存のプログラムの要修正箇所のみを修正データ(パッチ
)でIき換えて実行するパッチ方式により対応している
のが普通である。これは、プログラムの修正要求は、運
用開始後もかなり高い頻度で発生する可能性があり、そ
のたびにプログラム改版で修正しようとすると、即応性
やコストの点で対応が難しくなるからである。このため
小さな修正については、修正データと修正位置をパッチ
データとして入力し、プログラム修正を行わせている。
In general, information processing devices use a patch method in which when a program has a section that requires modification, only the section that requires modification in the existing program is replaced with correction data (patch) until the next program revision is performed. It is normal that they are compatible. This is because requests to modify the program may occur quite frequently even after the start of operation, and if you try to modify the program by revising the program each time, it will be difficult to respond in terms of prompt response and cost. For this reason, for small corrections, the correction data and correction position are input as patch data and the program is corrected.

しかし、パッチ方式も、パッチ数が増大すると管理ミス
によるエラーが発生しやす(なる。
However, even with the patch method, as the number of patches increases, errors are likely to occur due to management errors.

本発明は、管理が容易で融通性の高い効率的なパッチ方
式を提供する。
The present invention provides an efficient patching scheme that is easy to manage and highly flexible.

〔従来の技術] ・第4図に従来のパッチ方式の概要を示す。[Conventional technology] ・Figure 4 shows an overview of the conventional patch method.

第4図において、lはコンソール、2は情報処理装置、
3はメモリ、4はプログラムが格納されているファイル
装置、5−1ないし5−nはプログラム、6はパッチデ
ータが格納されているファイル装置である。
In FIG. 4, l is a console, 2 is an information processing device,
3 is a memory, 4 is a file device in which programs are stored, 5-1 to 5-n are programs, and 6 is a file device in which patch data is stored.

たとえばO8やファームウェアなどのシステムプログラ
ムに対するパッチデータの場合は、情報処理装置の製造
元からフロッピィ等で供給される。
For example, patch data for a system program such as O8 or firmware is supplied on a floppy disk or the like by the manufacturer of the information processing device.

パッチデータの形式を次に例示する。An example of the format of patch data is shown below.

オフセット  ○LD   N1入 “オフセット°゛は修正箇所の位置をプログラム上の相
対位置で示し5 “OL D ”は修正しようとする旧
データ、NEW”は修正データを示す。
Offset ○LD N1 entry "Offset °" indicates the position of the correction point in the relative position on the program. 5 "OLD" indicates the old data to be corrected, and NEW indicates the corrected data.

プログラム中にパッチデータによって修正すべき箇所(
斜線ブロックで示す)が存在するとき。
Areas that should be modified using patch data during the program (
(indicated by a diagonal block) exists.

修正処理は2■で示すようにメモリ3にローディングさ
れたプログラムに対して、あるいは■で示すようにファ
イル装置4に格納されているプログラムに対して実行さ
れる。
The modification process is executed on the program loaded into the memory 3 as shown in 2■, or on the program stored in the file device 4 as shown in 2).

パッチデータによるプログラムの修正は、その内容によ
って、無条件で修正したり、修正の開始時期や修正実施
期間、あるいは制御対象の)70機器などについて適用
に制約を設けることが必要とされる場合がある。
When modifying a program using patch data, depending on the content, it may be necessary to modify the program unconditionally or to impose restrictions on the start time of the modification, the modification implementation period, or the 70 devices to be controlled. be.

さらに各パッチデータの修正内容は、特定の版数のプロ
グラムに依存し、また同一版数のプログラムにおいても
、先行パッチデータによる修正処理が全て完了し、修正
済であることを前提としている。
Further, the modification content of each patch data depends on the specific version of the program, and it is assumed that even in the same version of the program, all the modification processing using the preceding patch data has been completed and the modification has been completed.

CE等のオペレータは、このような種々の制約条件を意
識して、コンソール1からパッチ処理の適切な指示を行
わなければならなかった。
Operators such as CEs had to be aware of these various constraints and give appropriate instructions for patch processing from the console 1.

またパッチデータは、標準的な情報処理装置の構成を対
象として適用を管理されており1個別のユーザが所有す
る装置については5共通の管理から外され、別個に適用
しなければならなかった。
Furthermore, application of patch data is managed for the configuration of standard information processing devices, and devices owned by individual users are excluded from common management and must be applied separately.

〔発明が解決しようとする課題] 従来のパッチ方式は、プログラムの総合的版数の管理に
基づいており、以前までのパンチが完全に適用されてい
ないと、新しいパッチは適用できないとか1個別ユーザ
の所有する装置にパンチを適用したい場合に、パンチの
管理外で実施しなければならない等の制約条件があり、
融通性の乏しいものであった。
[Problems to be Solved by the Invention] Conventional patching methods are based on managing the comprehensive version number of a program, and a new patch cannot be applied unless the previous punch has been completely applied. If you want to apply Punch to equipment owned by Punch, there are constraints such as having to do it outside of Punch's control.
It lacked flexibility.

本発明は、パンチの適用時期や適用範囲の指定。The present invention specifies the timing and range of application of the punch.

個別パッチの管理等を可能にし、融通性のあるパッチを
実現することを目的とする。
The purpose is to enable management of individual patches and realize flexible patches.

〔課題を解決するための手段] 本発明は、情報処理装置のパンチ処理機能が。[Means to solve the problem] The present invention provides a punch processing function of an information processing device.

予め指定されているパッチ適用条件に基づいて自動的に
適切なパッチ処理を実行できるようにするものである。
This makes it possible to automatically execute appropriate patch processing based on prespecified patch application conditions.

そのため各パッチデータの適用について、適用時期2通
用プログラム、適用対象機器等の制約条件をパッチ制御
情報として設定するとともに、パッチ処理機能として、
オペレータによるパッチデータおよびパッチ制御情報の
ファイル作成を可能にするパンチ情報作成機能と、オペ
レータの指示あるいはIMPL(イニシアル・マイクロ
プログラム・ローディング)時にパッチ制御情報に基づ
くパッチ処理を行うパッチ適用機能とを設ける。
Therefore, regarding the application of each patch data, constraints such as the application time dual-use program and applicable devices are set as patch control information, and as a patch processing function,
Provides a punch information creation function that allows an operator to create a file of patch data and patch control information, and a patch application function that performs patch processing based on patch control information at the time of operator instructions or IMPL (Initial Microprogram Loading). .

第1図は1本発明の原理説明図である。FIG. 1 is a diagram explaining the principle of the present invention.

第1図において。In FIG.

11は コンソールであり、オペレータが情報処理装置
の運転監視制御に用いるが、ここではパッチデータおよ
びパッチ制御情報(以下では、この両者をパッチ情報と
いう)のファイルの作成とパッチ処理の指示に用いられ
る。
Reference numeral 11 denotes a console, which is used by the operator to monitor and control the operation of the information processing equipment, but here it is used to create files of patch data and patch control information (hereinafter both referred to as patch information) and to instruct patch processing. .

12は、情報処理装置である。12 is an information processing device.

13は、メモリである。13 is a memory.

14は、パッチ処理機能である。14 is a patch processing function.

15は、パッチ情報作s、m能であり、コンソール11
からのオペレータの介入に応して、パッチデータおよび
パッチ制御情報からなるパ・ンチ情報のファイルを作成
する。
15 is the patch information work s, m function, and the console 11
A file of punch information consisting of patch data and patch control information is created in response to operator intervention from.

16は、パッチ適用機能であり、オペレータによる指示
によりあるいはIMPL時に、パッチ制御情報の内容に
したがってパッチデータをプログラムに適用し、修正を
行う。
Reference numeral 16 denotes a patch application function, which applies patch data to a program according to the contents of patch control information and makes corrections according to instructions from an operator or during IMPL.

17は、ディスク等のファイル装置である。17 is a file device such as a disk.

18−1ないし18−nは、パッチ処理対象となるプロ
グラムファイルである。
18-1 to 18-n are program files to be patched.

19は パッチ情報ファイルである。19 is a patch information file.

20は、パッチデータであり、プログラム上のパッチ適
用位置、旧データ、新データを含む。
Patch data 20 includes a patch application position on the program, old data, and new data.

21は パッチ制御情報であり、パッチデータ20の各
々ごとにその適用時期、適用プログラム。
Reference numeral 21 indicates patch control information, which indicates the application period and application program for each piece of patch data 20.

通用対象機器等のパンチ適用に際しての制約条件を指定
する。
Specify the constraint conditions when applying the punch to applicable devices, etc.

〔作用〕[Effect]

本発明によれば、ユーザが個々のパッチデータごとに適
用を開始する時期や、適用対象機器などの制約条件をパ
ッチ制御情報に任意に設定することができるため、柔軟
なパンチ適用を行うことができ、多数のパッチデータに
ついての2種々のプログラムや制御対象機器に対するど
のような複雑あるいは特殊な制約条件であっても、誤り
なく容易に実施することができる。
According to the present invention, since the user can arbitrarily set constraints such as the time to start application of each individual patch data and the applicable devices in the patch control information, it is possible to perform flexible punch application. Therefore, it is possible to easily implement two different programs for a large number of patch data or any complicated or special constraint conditions for the controlled device without any errors.

〔実施例〕〔Example〕

第2図および第3図を用いて9本発明の詳細な説明する
The present invention will be described in detail with reference to FIGS. 2 and 3.

第2図は、第1図に示されているパッチ情報ファイル1
9の実施例構成を示したものである。
Figure 2 shows the patch information file 1 shown in Figure 1.
This figure shows the configuration of a ninth embodiment.

パッチデータ20は、パッチ・アドレス、旧データ、新
データの3つで権威されている。パッチ・アドレスは、
プログラム上での修正すべき旧データの位置を示す。新
データは、旧データと置換する修正データである。
Patch data 20 is authoritatively divided into three parts: patch address, old data, and new data. The patch address is
Indicates the location of old data to be corrected on the program. The new data is modified data that replaces the old data.

パンチ制御情報21は、パッチ番号、パッチ適用プログ
ラムファイル名、適用時期フラグ、分類コード、同一コ
ード内シーケンス番号、適用条件2状態フラグの7つの
情報で権威される。
The punch control information 21 is authoritatively composed of seven pieces of information: a patch number, a patch application program file name, an application time flag, a classification code, a sequence number within the same code, and an application condition 2 state flag.

パッチ番号は、パッチデータを管理するIDとなる番号
である。
The patch number is a number that serves as an ID for managing patch data.

パッチ適用プログラムファイル名は、パンチを適用する
プログラムの指定情報である。
The patch application program file name is information specifying the program to which punch is applied.

適用時期フラグは、パッチを適用する時期の種別の指定
情報であり、以下に例を示す。
The application time flag is information specifying the type of time to apply the patch, and an example is shown below.

通用時期フラグ 0:パッチ指示時適用 (ファイル及びあればメモリ内) 1:次回IMPL処理前にファイルにパッチ通用 2:パッチ指示時、メモリのみ適用 ファイルには1次回TMPL処理前にパッチ通用 分類コードは1同時に実施しなくてはならない複数のパ
ッチの組を識別する情報(たとえばAB  C)であり
、同一の組内のパッチには同一のコード(たとえばA)
が設定される。
Validity period flag 0: Applied when a patch is specified (in the file and memory if there is one) 1: Patch applied to the file before the next IMPL process 2: Applicable only to the memory when a patch is specified The patch general classification code is applied to the file before the first TMPL process is information that identifies a set of multiple patches that must be implemented at the same time (for example, ABC), and patches within the same set have the same code (for example, A).
is set.

同一コード内シーケンス番号は、同一の組内のパンチの
実施順序を示している。たとえば分類コードAのパッチ
群は、パッチ番号2,4.1の順序で実施すべきことを
示している。
Sequence numbers within the same code indicate the order in which punches within the same set are performed. For example, the patch group with classification code A indicates that patches should be implemented in the order of patch numbers 2, 4.1.

適用条件は2通用対象機器あるいはその範囲を機番で指
定する情報であり、以下にその例を示す。
The application condition is information that specifies the dual-use target device or its range by machine number, and an example is shown below.

適用条件 LL :フィールドに存在する全装置にパッ チ適用 X  :X号機の装置にのみ適用 <X  :X未満号機の装置に適用 >x  :Xを越える号機の装置に適用<Y。Applicable condition LL : Patch all devices in the field. Apply X: Applicable only to equipment of unit X <X: Applicable to equipment of units less than X >x: Applicable to devices with machine numbers exceeding X<Y.

>Z  :Y未満かつZを越える号機の装置に通用 状態フラグは、パッチ適用について、済みか未済か、あ
るいはメモリ内について済みでファイル内は未済、など
を示す情報であり、以下にその例を示す。
>Z: The status flag that is valid for devices whose number is less than Y and more than Z is information that indicates whether patch application has been completed or not, or whether it has been applied in memory but not in the file. An example of this is shown below. show.

状態フラグ P:パッチ適用済み R:パンチ未適用 (次回IMPL処理前処理用) M:メモリ内のみパンチ適用済み (ファイルには次回IMPL処理前処理用)第3図は、
第1図のパッチ処理機能14の実施例フローである6次
に簡単に動作を説明する。
Status flag P: Patch applied R: Punch not applied (for next IMPL pre-processing) M: Punch applied only in memory (file for next IMPL pre-processing) Figure 3 shows
The operation of the sixth embodiment of the patch processing function 14 shown in FIG. 1 will be briefly described below.

オペレータはパッチ情報ファイルを第2図のように作成
し、パッチ指示を行う。また既にパッチ情報ファイルが
作成されている場合には、情報処理装置を立上げて、I
MPLを開始する直前にパッチ情報ファイルに基づくパ
ッチ処理を実施する。
The operator creates a patch information file as shown in FIG. 2 and issues patch instructions. Also, if a patch information file has already been created, start up the information processing device and install it.
Patch processing based on the patch information file is performed immediately before starting MPL.

まずパンチ情報ファイルを、同一分類コードごとに、同
一コード内シーケンス番号にしたがってソートし、シー
ケンス番号の若い方から、適用条件をチエツクし、適用
条件に合致していれば状態フラグを調べ、状態フラグが
R(未適用)であればそのパンチを通用して、パンチ適
用がファイルに行われたかメモリに行われたかにより状
態フラグをPまたはMとする。
First, the punch information file is sorted by the same classification code according to the sequence number within the same code, and the applicable conditions are checked starting from the one with the lowest sequence number.If the applicable conditions are met, the status flag is checked, and the status flag is If it is R (not applied), that punch is used and the status flag is set to P or M depending on whether the punch was applied to the file or to the memory.

他方、適用条件に合致しない場合、すなわち適用条件を
満足する機番の装置が存在しない場合には、状態フラグ
をRとし、同一分類コード内の以降のシーケンス番号の
状態フラグを全てRとする。
On the other hand, if the applicable conditions are not met, that is, if there is no device with a machine number that satisfies the applicable conditions, the status flag is set to R, and all status flags of subsequent sequence numbers within the same classification code are set to R.

以上の処理を、各分類コードについて逐次実行する。The above processing is executed sequentially for each classification code.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、パッチ適用は、プログラムの版数管理
から独立して行うことができ、パッチの適用時期、適用
条件を、パッチごとに、他のパッチとは無関係にあるい
は関係づけて、任意に設定することができ、オペレータ
の負担を大幅に軽減できるとともに、プログラム修正の
柔軟化、迅速化および高信頼化を図ることができる。
According to the present invention, patch application can be performed independently of program version management, and patch application timing and application conditions can be arbitrarily set for each patch, independently or in relation to other patches. This can significantly reduce the burden on the operator, and also make program corrections more flexible, faster, and more reliable.

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

第1図は本発明の原理説明図、第2図はパンチ情報ファ
イルの実施例構成図、第3図はパンチ処理の実施例フロ
ー図、第4図は従来のパッチ方式の概要図である。 第1図中 11:コンソール 12:情報処理装置 13:メモリ 14:パッチ処理機能 15:パッチ情報作成機能 16:パッチ適用機能 17:ファイル装置 18−1〜18−nニブログラムファイル19:パッチ
情報ファイル 20;パッチデータ 21:パンチ制御情報
FIG. 1 is a diagram explaining the principle of the present invention, FIG. 2 is a configuration diagram of an embodiment of a punch information file, FIG. 3 is a flowchart of an embodiment of punch processing, and FIG. 4 is a schematic diagram of a conventional patch method. 11 in Figure 1: Console 12: Information processing device 13: Memory 14: Patch processing function 15: Patch information creation function 16: Patch application function 17: File device 18-1 to 18-n Niprogram file 19: Patch information File 20; Patch data 21: Punch control information

Claims (1)

【特許請求の範囲】 記憶装置に格納されている複数のプログラムにより制御
され、パッチデータを用いてプログラムを修正するパッ
チ処理機能をそなえた情報処理装置において、 パッチデータの適用について、適用時期、適用プログラ
ム、適用対象機器等の制約条件を指定するパッチ制御情
報を設け、 また上記パッチ処理機能に、オペレータの介入によりパ
ッチデータおよびパッチ制御情報のデータを作成する第
1の機能と、オペレータによる指定時あるいはIMPL
開始前に上記パッチ制御情報に基づいて、パッチデータ
を適用する第2の機能とを設け、 指定された制約条件にしたがってパッチ処理を実行する
ことを特徴とするパッチ方式。
[Claims] In an information processing device that is controlled by a plurality of programs stored in a storage device and has a patch processing function that modifies the program using patch data, application timing and application of patch data are provided. Patch control information that specifies constraints on programs, applicable devices, etc. is provided, and in addition to the patch processing function described above, there is a first function that creates patch data and patch control information data through operator intervention, and a first function that creates patch data and patch control information data when specified by the operator. Or IMPL
A patch method characterized in that a second function is provided to apply patch data based on the patch control information before the start of patch processing, and patch processing is executed according to specified constraint conditions.
JP2056034A 1990-03-07 1990-03-07 Patch system Pending JPH03257531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2056034A JPH03257531A (en) 1990-03-07 1990-03-07 Patch system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2056034A JPH03257531A (en) 1990-03-07 1990-03-07 Patch system

Publications (1)

Publication Number Publication Date
JPH03257531A true JPH03257531A (en) 1991-11-18

Family

ID=13015794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2056034A Pending JPH03257531A (en) 1990-03-07 1990-03-07 Patch system

Country Status (1)

Country Link
JP (1) JPH03257531A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236278A (en) * 1993-02-08 1994-08-23 Omron Corp How to install automatic processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236278A (en) * 1993-02-08 1994-08-23 Omron Corp How to install automatic processor

Similar Documents

Publication Publication Date Title
US5717950A (en) Input/output device information management system for multi-computer system
US20110302565A1 (en) Implicit workspace dependencies
US20120185682A1 (en) Method and system for post-build modification of firmware binaries to support different hardware configurations
JPH07319820A (en) Information processing system
US6915512B1 (en) Software editing with indication of format and processing state of each process of the software
CN110990018B (en) Compiling method and compiling system of embedded system
JPH03257531A (en) Patch system
JP2004252719A (en) Data management device, data management method, and data management program
US20090276779A1 (en) Job management apparatus
JPH11272451A (en) Software installation control system and method, and recording medium recording the program
JPH1091405A (en) Software maintenance method
JPH09258962A (en) Method for starting maintenance mode in electronic computer system
JPH0256666A (en) System for dynamically updating job network unitary control system generating information
JP5023169B2 (en) Required patch list creation apparatus and method
JPH0546378A (en) Correction processing method for program
JPH02114329A (en) Terminal software path execution system
JPH02224122A (en) Dynamic link system for memory patch data
JPH01255930A (en) Patch adapting system
JPH07219863A (en) Business distribution system
JP2647044B2 (en) History management method
CN119556892A (en) Template project, vehicle application construction method, device, equipment and storage medium
JP2001265572A (en) Source program management device and method, and recording medium recording the program
JPH05165615A (en) Patch revision management system for load module
JPH05307477A (en) Patch managing system
JPH0468438A (en) Program correcting system