JPS60252952A - Version control system - Google Patents
Version control systemInfo
- Publication number
- JPS60252952A JPS60252952A JP59110369A JP11036984A JPS60252952A JP S60252952 A JPS60252952 A JP S60252952A JP 59110369 A JP59110369 A JP 59110369A JP 11036984 A JP11036984 A JP 11036984A JP S60252952 A JPS60252952 A JP S60252952A
- Authority
- JP
- Japan
- Prior art keywords
- version
- program
- module
- code
- main program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(al技術分野
この発明はメインプログラムと複数のモジュールとを組
合わせた全体プログラムのバージョン管理方式に関する
。DETAILED DESCRIPTION OF THE INVENTION (Al Technical Field) This invention relates to a version control system for an entire program that is a combination of a main program and a plurality of modules.
(′b)従来技術
近年コンピュータの処理能力の向上に対応してプログラ
ムも大規模している。大規模なプログラムは作成・保守
の効率化のため複数のモジュールを組合わせて作成され
るものが多くなっている。('b) Prior Art In recent years, programs have become larger in size in response to improvements in computer processing power. Many large-scale programs are created by combining multiple modules to improve the efficiency of creation and maintenance.
そのモジュールの各々についても改良・適合化等日々変
更されているのが現状である。ところが、全体プログラ
ムの利用者は個々のモジュールの所謂バージョンアップ
に対応しきれず、現在使用しているプログラムがどの程
度新しいプログラムであるのか、またモジュールのバー
ジョンアップの通知があっても本当にそれがなされてい
るのかはわからなかった。The current situation is that each module is undergoing daily changes such as improvements and adaptations. However, users of the overall program are unable to keep up with the so-called version upgrades of individual modules, and are unsure of how new the program they are currently using, or whether it has actually been updated even if they are notified of a module version update. I didn't know if it was there.
(C)発明の目的
この発明は上記現状に鑑み、全体プログラム自身がそれ
自身とそれを構成するメインプログラム及び個々のモジ
ュールのバージョン管理を行う方式を提供することを目
的とする。(C) Purpose of the Invention In view of the above-mentioned current situation, it is an object of the present invention to provide a system in which the overall program itself, the main program that constitutes it, and the individual modules are version-controlled.
+d1発明の構成
この発明は全体プログラム及びメインプログラムと各々
のモジュールとのバージョンを記憶するバージョンテー
ブルと、前記全体プログラムをロードした時メインプロ
グラム及び各モジュールの現在のバージョンと前記バー
ジョンテーブルに記憶されている各バージョンとを比較
するバージョン比較手段と、このバージョン比較手段で
いずれかのモジュール又はメインプログラムのバージョ
ンが変更されていることを検出した時前記バージョンテ
ーブルをその変更内容に応じて修正するとともに、全体
プログラムのバージョンを更新するバージョンテーブル
更新手段とを有することを特徴とする。+d1 Structure of the Invention This invention includes a version table that stores versions of the overall program, the main program, and each module, and a current version of the main program and each module that is stored in the version table when the overall program is loaded. a version comparison means for comparing each version of the existing version; and when the version comparison means detects that the version of any module or main program has been changed, the version table is corrected according to the change; The present invention is characterized by comprising a version table updating means for updating the version of the entire program.
tel実施例
第2図はこの発明の実施例であるバージョン管理方式を
使用する全体プログラム1はメインプログラム11とn
個のモジュール12〜14で構成されている。メインプ
ログラム11はモジュール制御部111.バージョン生
成部112から構成され、それぞれモジュールの連結と
制御及びバージョン管理を行う。tel Embodiment FIG. 2 shows an embodiment of the present invention in which the entire program 1 using the version control method is the main program 11 and n
It is composed of modules 12 to 14. The main program 11 is a module control section 111. It is composed of a version generation section 112, which performs module connection and control, and version management, respectively.
第3図は上記全体プログラムを処理装置のメモリの要部
構成図である。同図(A)は1個のモジュールの構成を
示す。エリアM21にはモジュールの名前が記憶されエ
リアM22.M23にはそれぞれこのモジュールのバー
ジョン符号と全体プログラム中での連結の順序を表す符
号が記憶されている。同図(B)はバージョンテーブル
の構成を示す。エリアM31には全体プログラムのバー
ジョン符号が記憶され、エリアM32にはメインプログ
ラムのバージョン符号が記憶されている。FIG. 3 is a diagram illustrating the main part of the memory of the apparatus for processing the entire program. Figure (A) shows the configuration of one module. The name of the module is stored in area M21, and area M22. Each M23 stores a version code of this module and a code representing the order of connection in the overall program. FIG. 3B shows the structure of the version table. Area M31 stores the version code of the entire program, and area M32 stores the version code of the main program.
エリアM33〜M35には各モジュールのバージョン符
号が記憶されている。エリアM36にはバージョンテー
ブル終了を示す符号が記憶されている。The version code of each module is stored in areas M33 to M35. Area M36 stores a code indicating the end of the version table.
第1図は前記メインプログラム11の動作手順を示すフ
ローチャートである。ステップnl(以下ステップni
を単にniと呼ぶ)ではこの全体のプログラムが初めて
ロードされるものであるがを判断し、初めてであれば第
3図(B)に示すバージョンテーブルを作成しくn2)
n3に進む、初めてのロードでなければ直接n3に進む
。n3では現在のプログラムのバージョンとバージョン
テーブルに記憶されているバージョンとの比較が必要か
どうかを判断し、必要でなければメインプログラム11
のモジュールが制御され本来の仕事を処理する(n4)
。比較の必要があれば処理をn5以下に進める。まずロ
ードされたメインプログラム及び各モジュールのバージ
ョン符号を読み取り(n5)、その符号とバージョンテ
ーブルに記憶されているそのメインプログラム又はモジ
ュールについてのバージョン符号とを比較する(n6)
。このn6がこの発明のバージョン比較手段に対応する
。FIG. 1 is a flowchart showing the operating procedure of the main program 11. As shown in FIG. Step nl (hereinafter step ni)
is simply called ni), determine if this entire program is being loaded for the first time, and if it is the first time, create the version table shown in Figure 3 (B).n2)
Proceed to n3. If this is not your first time loading, proceed directly to n3. In n3, it is determined whether it is necessary to compare the current program version with the version stored in the version table, and if it is not necessary, the main program 11 is
module is controlled and processes the original work (n4)
. If comparison is necessary, the process advances to n5 and below. First, the version code of the loaded main program and each module is read (n5), and the code is compared with the version code for the main program or module stored in the version table (n6).
. This n6 corresponds to the version comparison means of the present invention.
前記比較の内容が不一致であればn8に、一致していれ
ばn9に処理を進める(n7)。If the contents of the comparison do not match, the process proceeds to n8; if they match, the process proceeds to n9 (n7).
n8では不一致であったバージョンテーブル内の符号を
その時ロードされたメインプログラム又は、モジュール
のバージョン符号に修正し、不一致な箇所があったこと
を記憶する不一致フラグをオンにする(n8)。n9で
は比較が完了したかどうかを判断し完了していなければ
nloに処理を進める。nloでは前記比較の繰り返し
中に不一致が発生したかを判断し、不一致の発生があれ
ば全体プログラムのバージョン符号も更新する(n11
)。次に処理結果の印刷の要求があれば、印刷をして(
n12.n13)処理を終える。前記n8とnilとが
この発明のバージョン更新手段に対応する。At n8, the mismatched code in the version table is corrected to the version code of the main program or module loaded at that time, and a mismatch flag is turned on to record that there is a mismatched portion (n8). At n9, it is determined whether or not the comparison has been completed, and if it has not been completed, the process advances to nlo. In nlo, it is determined whether a mismatch has occurred during the repetition of the comparison, and if a mismatch has occurred, the version code of the entire program is also updated (n11
). Next, if there is a request to print the processing results, print them (
n12. n13) Finish the process. The n8 and nil correspond to the version update means of the present invention.
以上の構成のバージョン管理方式を複数のモジュールの
組合わせで構成される全体プログラムの管理に用いると
、その全体プログラムのロード毎にすべてのモジュール
及び全体プログラムのバージョン管理が自動的に行われ
る。When the version control method with the above configuration is used to manage an entire program composed of a combination of a plurality of modules, version control of all modules and the entire program is automatically performed each time the entire program is loaded.
ff1発明の効果
以上のようにこの発明によると、全体プログラム自身が
、それ自身とそれを構成するメインプログラム及び個々
のモジュールのバージョン管理を行うので、プログラム
利用者が使用しているプログラムのバージョンを的確に
把握できるという利点が生じる。ff1 Effects of the Invention As described above, according to this invention, the overall program itself performs version control of itself, the main program and individual modules that make up the program, so that the version of the program being used by the program user cannot be changed. This has the advantage of being able to be accurately grasped.
第1図はこの発明の実施例であるバージョン管理方式を
使用する処理装置の動作手順を示すフローチャートであ
る。第2図は前記実施例を使用する全体プログラムの構
成を示す図である。第3図は前記処理装置のメモリの要
部構成図である。
1−全体プログラム、11−メインプログラム、12.
13.14−モジュール、
111−モジュール制御部、
112−バージョン生成部。
出願人 立石電機株式会社
代理人 弁理士 小森久夫
第1図FIG. 1 is a flowchart showing the operating procedure of a processing device using a version management system according to an embodiment of the present invention. FIG. 2 is a diagram showing the structure of the entire program using the above embodiment. FIG. 3 is a diagram showing the main part of the memory of the processing device. 1-Overall program, 11-Main program, 12.
13.14-module, 111-module control unit, 112-version generation unit. Applicant Tateishi Electric Co., Ltd. Agent Patent Attorney Hisao Komori Figure 1
Claims (1)
た全体プログラムのバージョンを管理する方式であって
、全体プログラム及びメインプログラムと各々のモジュ
ールとのバージョンを記憶するバージョンテーブルと、
前記全体プログラムをロードした時メインプログラム及
び各モジュールの現在のバージョンと前記バージョンテ
ーブルに記憶されている各バージョンとを比較するバー
ジョン比較手段と、このバージョンに比較手段でいずれ
かのモジュール又はメインプログラムのバージョンが変
更されていることを検出した時前記バージョンテーブル
をその変更内容に応じて修正するとともに全体プログラ
ムのバージョンを更新するバージョンテーブル更新手段
とをそなえてなるバージョン管理方式。+l) A method for managing versions of an entire program that is a combination of a main program and a plurality of modules, including a version table that stores versions of the entire program, the main program, and each module;
version comparison means for comparing the current version of the main program and each module with each version stored in the version table when the entire program is loaded; A version management system comprising: a version table updating means for correcting the version table according to the changed content when detecting that the version has been changed, and updating the version of the entire program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59110369A JPS60252952A (en) | 1984-05-29 | 1984-05-29 | Version control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59110369A JPS60252952A (en) | 1984-05-29 | 1984-05-29 | Version control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60252952A true JPS60252952A (en) | 1985-12-13 |
Family
ID=14534043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59110369A Pending JPS60252952A (en) | 1984-05-29 | 1984-05-29 | Version control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60252952A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01229325A (en) * | 1988-03-09 | 1989-09-13 | Mitsubishi Electric Corp | Data processor |
JPH02101531A (en) * | 1988-10-11 | 1990-04-13 | Matsushita Electric Ind Co Ltd | Program controller |
US5978594A (en) * | 1994-09-30 | 1999-11-02 | Bmc Software, Inc. | System for managing computer resources across a distributed computing environment by first reading discovery information about how to determine system resources presence |
US6968183B2 (en) | 2001-11-02 | 2005-11-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Determining a multi-module dependent parameter at a telecommunication node |
US11133988B2 (en) | 2019-05-20 | 2021-09-28 | Nec Corporation | Wireless access network device, version management system, version management method, and program |
-
1984
- 1984-05-29 JP JP59110369A patent/JPS60252952A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01229325A (en) * | 1988-03-09 | 1989-09-13 | Mitsubishi Electric Corp | Data processor |
JPH02101531A (en) * | 1988-10-11 | 1990-04-13 | Matsushita Electric Ind Co Ltd | Program controller |
US5978594A (en) * | 1994-09-30 | 1999-11-02 | Bmc Software, Inc. | System for managing computer resources across a distributed computing environment by first reading discovery information about how to determine system resources presence |
US6968183B2 (en) | 2001-11-02 | 2005-11-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Determining a multi-module dependent parameter at a telecommunication node |
US11133988B2 (en) | 2019-05-20 | 2021-09-28 | Nec Corporation | Wireless access network device, version management system, version management method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115983173A (en) | Register model generation method and device, computer equipment and storage medium | |
JPS60252952A (en) | Version control system | |
CN111125148B (en) | Paging query method and device for database | |
CN110633258B (en) | Log insertion method, device, computer device and storage medium | |
JP2000078169A (en) | Server setting device | |
CN116467219A (en) | Test processing method and device | |
CN114579171A (en) | Code processing method and device, computer equipment and storage medium | |
TWI751706B (en) | Method and device for automatically generating development solution | |
JPH08286951A (en) | Information processor and trace information storage method | |
JP2525393B2 (en) | Logic simulation test coverage method | |
JPH01177616A (en) | System for storing key operation procedure | |
JPS6277660A (en) | computing device | |
CN116069385A (en) | Document generation method, device, electronic equipment and computer readable storage medium | |
JPH03160524A (en) | information processing equipment | |
CN117407014A (en) | Configuration updating method and device, storage medium and electronic equipment | |
JPS63282853A (en) | information processing equipment | |
JPH01112427A (en) | Patch automatic applying system | |
JPH04338820A (en) | Programming system using key word | |
JPH05197538A (en) | Exception generation line number display system of precompiler system | |
JPH11352278A (en) | Core controller | |
JPH1124908A (en) | Automatic software generating device | |
JPS62248035A (en) | Program correcting system | |
JPH09330242A (en) | Test instruction sequence generation method for information processing equipment | |
JPH05158741A (en) | Computer program test verification method | |
JPH05181706A (en) | Device for forming execution time information output debugger control sentence |