JP2006091960A - Program update system and program update method - Google Patents

Program update system and program update method Download PDF

Info

Publication number
JP2006091960A
JP2006091960A JP2004272923A JP2004272923A JP2006091960A JP 2006091960 A JP2006091960 A JP 2006091960A JP 2004272923 A JP2004272923 A JP 2004272923A JP 2004272923 A JP2004272923 A JP 2004272923A JP 2006091960 A JP2006091960 A JP 2006091960A
Authority
JP
Japan
Prior art keywords
information
program
version
program update
file
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
JP2004272923A
Other languages
Japanese (ja)
Inventor
Masaru Sato
勝 佐藤
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 Information Systems Ltd
Original Assignee
Hitachi Information Systems 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 Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2004272923A priority Critical patent/JP2006091960A/en
Publication of JP2006091960A publication Critical patent/JP2006091960A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program update process system for automatically updating a program at a source-code level. <P>SOLUTION: The program update system includes a vendor information downloading function 100 for obtaining new program update information including version information, a program name, conversion category, and character-string information from a new information delivery server located on a vendor homepage 050; a data file 101 for storing the new program update information obtained by means of the vendor information downloading function 100; a file 102 for storing old program update information; and a processing function 200 for comparing the version information, the program name, the conversion category, and the character-string information included in the file 101 with those included in the file 102, then changing, according to the result of this comparison, the version information included in the old program update information into the version information included in the new program update information, and then converting, according to the category included in the new program update information, the character-string information into a character string included in the new program update information. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ベンダーから提供されるプログラム更新情報を取込んでプログラムを自動的に更新することができるプログラム更新システム及びプログラム更新方法に係り、特にプログラムソースなどのソースデータを作成することなく、プログラムの追加・訂正・削除の更新処理を自動的に行うと共に、取得した変更情報の更新履歴管理も行うことができるプログラム更新システム及びプログラム更新方法に関する。   The present invention relates to a program update system and a program update method capable of automatically updating a program by taking in program update information provided by a vendor, and in particular, without creating source data such as a program source. The present invention relates to a program update system and a program update method capable of automatically performing update processing of addition, correction, and deletion of the information and managing update history of acquired change information.

一般に基幹業務統合型アプリケーションシステムパッケージは、顧客であるベンダーの商品販売のホームページをベンダー情報提供サーバに登録し、前記サーバとインターネット通信網を介して接続された業務管理サーバに登録されるものであるが、前記ホームページのプログラムは各種法的制度改定/顧客要望/市場の変化に伴い随時システムが更新されることが多々あり、このため従来から使用していたプログラムのバージョンが変更され、今まで使用していた業務管理サーバ側のプログラムが使用できなくなることが想定される。   In general, a core business integration type application system package is such that a vendor's product sales homepage is registered in a vendor information providing server and registered in a business management server connected to the server via an Internet communication network. However, the programs on the homepage are often updated as the various legal systems are revised / requested by customers / market changes, so the version of the program that has been used so far has been changed and used so far. It is assumed that the program on the business management server that has been used can no longer be used.

このため基幹業務統合型アプリケーションシステムパッケージは、ベンダーより提供された既存のプログラムのすべてに対して、変更有無の確認をすると共に変更対象プログラムには、追加・変更・削除というプログラム更新を行う必要がある。   For this reason, it is necessary for the core business integration type application system package to check for any changes to all existing programs provided by the vendor, and to update the programs to be changed such as addition, change, and deletion. is there.

このプログラムの更新管理の一手法としてはバージョン管理手法があり、例えば下記特許文献1に記載された如く、クライアント/サーバ方式のLANシステムにおいて、クライアントのソフトウェアのバージョンアップデータをサーバ上で一元的に管理し、クライアントソフトウェアのバージョンアップを行うものがある。具体的には、以前のバージョンアップデータを含んで作られた新たなバージョンアップデータをサーバに登録する際に、含まれているバージョンに対応するバージョンアップデータをサーバから削除するとともに、新たなバージョンアップデータをサーバに登録し、バージョンアップデータの連結を形成しなおすようにする事が記載されている。
特開2002−91776号公報
As one of the update management methods of this program, there is a version management method. For example, as described in Patent Document 1 below, in a client / server LAN system, client software version upgrade data is centrally managed on the server. Some versions of the client software are upgraded. Specifically, when registering new version update data created by including previous version update data in the server, the version update data corresponding to the included version is deleted from the server, and the new version update data is also stored in the server. And registering the version update data again.
JP 2002-91776 A

前述の従来技術によるプログラム更新方法は、ベンダーより提供された既存のプログラム全てに対して変更有無の確認と共に変更対象プログラムの追加・変更・削除を行うために、多大な工数と費用を要すると共にプログラムソースデータの作成ミスや変更・削除もれがあれば、システム障害の要因となると言う不具合があった。   The above-described program update method according to the prior art requires a large amount of man-hours and costs and adds / changes / deletes the program to be changed as well as checking whether all existing programs provided by the vendor are changed. There was a problem that if there was a mistake in the creation of source data or a change / deletion, it would cause a system failure.

特に、統合業務パッケージのようにユーザ企業毎に個別にカスタマイズして使用するプログラムについては、同じバージョンであってもソースコードレベルで違いがあるため、複数のユーザ企業のプログラムに対して一律にバージョンアップを行うことができないと言う不具合もあった。   Especially for programs that are individually customized for each user company, such as integrated business packages, even if they are the same version, there are differences at the source code level. There was also a problem that it was not possible to perform up.

前記特許文献1に記載された技術は、クライアントコンピュータのバージョンアップデータをサーバ上で一元管理するものであるが、上述のように個別にカスタマイズされたプログラムに対するバージョンアップ管理については、全く考慮されていないと言う不具合があった。   The technique described in Patent Document 1 is used to centrally manage the upgrade data of the client computer on the server, but the upgrade management for the individually customized programs as described above is not considered at all. There was a problem.

本発明の目的は、前述の従来技術による不具合を除去することであり、ベンダ側から提供されるバージョン変更情報から、必要な情報のみを抽出し、抽出した情報に基づいて各プログラムの更新をソースコードレベルで自動的に行うことができるプログラム更新システム及びプログラム更新方法を提供することである。   An object of the present invention is to eliminate the above-mentioned problems caused by the prior art, and extracts only necessary information from the version change information provided from the vendor side, and updates each program based on the extracted information. To provide a program update system and a program update method that can be automatically performed at a code level.

前記目的を達成するために本発明は、情報の取込み機能・情報の比較機能・情報の更新機能を備えるプログラム更新システムにおいて、ベンダーホームページにある情報提供サーバから、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム更新情報を取得して格納する取込みデータファイルと、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム情報を格納するプログラム情報ファイルと、前記取込みデータファイルに格納したプログラム更新情報とプログラム情報ファイルに格納したプログラム情報とに含まれる、バージョン情報とプログラム名と変換区分と文字列情報とを比較し、該比較結果に基づき、プログラム情報に含まれるバージョン情報をプログラム更新情報に含まれるバージョン情報に変更すると共に、プログラム更新情報に含まれる区分に従ってプログラム情報に含まれる文字列情報の追加・訂正・削除を含む更新処理を行う処理部とを備えることを第1の特徴とする。   In order to achieve the above object, the present invention provides a program update system having an information capture function, an information comparison function, and an information update function, from an information providing server on a vendor homepage, and version information, a program name, a conversion category, A capture data file that acquires and stores program update information including character string information, a program information file that stores program information including version information, a program name, a conversion category, and character string information, and the capture data file The version information, the program name, the conversion classification, and the character string information included in the stored program update information and the program information stored in the program information file are compared, and the version information included in the program information is determined based on the comparison result. Versions included in program update information With change in the information, the first, comprising a processing unit for performing updating processing including add, correct or delete the character string information included in the program information in accordance with categories contained in the program update information.

更に本発明は、情報の取込み機能・情報の比較機能・情報の更新機能を備えるプログラム更新方法において、ベンダーホームページにある情報提供サーバから、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム更新情報を取得する第1ステップと、該第1ステップにより取得したプログラム更新情報とプログラム情報ファイルに格納したプログラム情報とに含まれる、バージョン情報とプログラム名と変換区分と文字列情報とを比較し、該比較結果に基づき、プログラム情報に含まれるバージョン情報をプログラム更新情報に含まれるバージョン情報に変更すると共に、プログラム更新情報に含まれる区分に従ってプログラム情報に含まれる文字列情報の追加・訂正・削除を行う第2ステップとを含むことを第2の特徴とする。   Furthermore, the present invention provides a program update method having an information fetch function, an information comparison function, and an information update function, and includes version information, a program name, a conversion category, and character string information from an information providing server on a vendor homepage. Comparing version information, program name, conversion classification, and character string information included in the first step of acquiring program update information and the program update information acquired in the first step and the program information stored in the program information file Then, based on the comparison result, the version information included in the program information is changed to the version information included in the program update information, and addition / correction of character string information included in the program information is performed according to the classification included in the program update information. Including a second step of performing the deletion And butterflies.

本発明によるプログラム更新システム及び更新方法は、旧プログラム更新情報に含まれるバージョン情報を新プログラム更新情報に含まれるバージョン情報に変更すると共に、新プログラム更新情報に含まれる区分に従って文字列情報を新プログラム更新情報に含まれる文字列に変換することにより、プログラムの追加・訂正・削除を含むプログラムの更新処理を行うことができる。   The program update system and the update method according to the present invention change the version information included in the old program update information to the version information included in the new program update information, and update the character string information according to the classification included in the new program update information. By converting to a character string included in the update information, a program update process including addition, correction, and deletion of the program can be performed.

以下、本発明によるプログラム更新システム及びプログラム更新方法の一実施形態を図面を参照して詳細に説明する。図1は、本実施形態によるプログラム更新システムの全体構成図、図2は本実施形態によるベンダー情報取込み処理のフローチャート図、図3は本実施形態によるベンダー情報取込み処理イメージを示す図、図4は本実施形態によるベンダー情報取込みデータファイルを示す図、図5は本実施形態によるベンダー情報とユーザ情報突合せ並びにコンバージョン処理のフローチャート図、図6は本実施形態によるエラーチェックの概要を示す図、図7は本実施形態による新規追加の処理イメージ図、図8は本実施形態による挿入処理イメージ図、図9は本実施形態による変更及び削除処理イメージ図、図10は本実施形態による変更及び削除処理イメージ図である。   Hereinafter, an embodiment of a program update system and a program update method according to the present invention will be described in detail with reference to the drawings. FIG. 1 is an overall configuration diagram of a program update system according to the present embodiment, FIG. 2 is a flowchart of vendor information fetching processing according to the present embodiment, FIG. 3 is a diagram showing an image of vendor information fetching processing according to the present embodiment, and FIG. FIG. 5 is a diagram showing a vendor information fetching data file according to this embodiment, FIG. 5 is a flowchart of vendor information and user information matching and conversion processing according to this embodiment, and FIG. 6 is a diagram showing an outline of error checking according to this embodiment. FIG. 8 is a diagram of a new addition process according to this embodiment, FIG. 8 is a diagram of an insertion process according to this embodiment, FIG. 9 is a diagram of a change and deletion process according to this embodiment, and FIG. 10 is a chart of a change and deletion process according to this embodiment.

<構成説明>
本実施形態によるプログラム更新システムは、図1に示す如く、ベンダホームページを含むベンダ情報提供サーバ050と、該ベンダ情報提供サーバ050とインターネット回線網等のネットワークを介して接続され、バージョン変更対応プログラム変換システムを含む業務管理サーバとから構成され、該バージョン変更対応プログラム変換システムは、ベンダ情報取込み処理機能100と、ベンダ情報取込みデータファイル101と、現状のプログラム情報(変換前)ファイル102と、ベンダー情報・ユーザ情報突き合わせコンバージョン処理機能200と、開発機プログラム情報(変換後)ファイル201とを備える。
<Description of configuration>
As shown in FIG. 1, the program update system according to the present embodiment is connected to a vendor information providing server 050 including a vendor home page, and the vendor information providing server 050 via a network such as an Internet network, and version change compatible program conversion. The version change compatible program conversion system includes a vendor information capture processing function 100, a vendor information capture data file 101, a current program information (before conversion) file 102, and vendor information. A user information matching conversion processing function 200 and a development machine program information (after conversion) file 201 are provided.

本プログラム更新システムは、ベンダ情報取込み処理機能100を実行することにより、ベンダホームページのベンダ情報提供サーバ050からのベンダ情報を取得してベンダ情報取込みデータファイル101を作成し、この取込んだベンダ情報データファイル101と現状のプログラム情報(変換前)ファイル102とをベンダ情報・ユーザ情報突合せ&コンバージョン処理機能200を実行することによりベンダ情報取込みデータファイル101からの変更情報を取得し、バージョン並びにプログラムの更新を行い、プログラム情報(変換後)ファイル201を作成する様に動作する。   The program update system executes the vendor information fetch processing function 100 to acquire vendor information from the vendor information providing server 050 on the vendor home page and create a vendor information fetch data file 101. The fetched vendor information By executing the vendor information / user information matching & conversion processing function 200 for the data file 101 and the current program information (before conversion) file 102, change information from the vendor information capture data file 101 is obtained, and the version and program It operates to update and create a program information (after conversion) file 201.

前記ベンダ情報取り込み処理の詳細は、図2に示す如く、ベンダ情報取込み処理機能100が、ベンダ情報提供サーバ110からバージョン変更情報を抽出し(ステップ111)、この取込んだバージョン変更情報の「バージョン情報」を検出し、当該データに続く6バイトの英数字で始まる文字列(バージョン番号等)をベンダ情報取込みデータファイル120のバージョン情報として設定する(ステップ112)。   As shown in FIG. 2, the vendor information import processing function 100 extracts the version change information from the vendor information providing server 110 (step 111), and the “version” of the fetched version change information is shown in FIG. Information ”is detected, and a character string (version number or the like) starting with 6-byte alphanumeric characters following the data is set as version information of the vendor information fetch data file 120 (step 112).

次いで本システムは、取込んだバージョン変更情報の「プログラム名」文字列を検出して、当該文字列に続く8バイトの英数字で始まる文字列(プログラム名称)を、ベンダー情報取込データファイルのプログラム名として設定し(ステップ113)、該取り込んだバージョン変更情報の「区分」文字列を検出し、当該文字列に続く1バイトの英数字(A,I,R,D等の変換区分を示す文字)を、ベンダー情報取込データファイルの変換区分に設定し(ステップ114)、この取り込んだバージョン変更情報の「文字列情報1」文字列を検出して、当該文字列の英数字で始まる文字列を、変換区分の内容により、ベンダー情報取込データファイルの各項目に設定する(ステップ115)。尚、該ステップ115における変換区分「A」は「プログラムデータに設定」を意味し、変換区分「I」は「汎用モジュールに設定」を意味し、変換区分「R」は「旧文字列に設定」を意味し、変換区分「D」は「旧文字列に設定」を意味する。   Next, this system detects the “program name” character string of the imported version change information, and converts the character string (program name) beginning with the 8-byte alphanumeric character following the character string to the vendor information capture data file. Set as a program name (step 113), detect the "classification" character string of the imported version change information, and indicate the conversion classification of 1-byte alphanumeric characters (A, I, R, D, etc.) following the character string (Character) is set in the conversion category of the vendor information capture data file (step 114), and the "character string information 1" character string of the captured version change information is detected, and the characters starting with alphanumeric characters in the character string A column is set in each item of the vendor information capture data file according to the contents of the conversion category (step 115). The conversion category “A” in step 115 means “set to program data”, the conversion category “I” means “set to general-purpose module”, and the conversion category “R” is set to “old character string”. The conversion classification “D” means “set to old character string”.

更に本システムは、取り込んだバージョン変更情報の「文字列情報2」文字列を検出し、当該文字列の英数字で始まる文字列を、変換区分の内容により、ベンダー情報取込データファイルの各項目に設定する(ステップ116)。該ステップ116における変換区分「A」は「設定なし」を意味し、変換区分「I」は「プログラムデータに設定」を意味し、変換区分「R」は「新文字列に設定」を意味し、変換区分「D」は「設定なし」を意味する。   Furthermore, this system detects the “character string information 2” character string of the imported version change information, and converts the character string starting with alphanumeric characters of the character string into each item of the vendor information import data file according to the contents of the conversion classification. (Step 116). The conversion category “A” in step 116 means “not set”, the conversion category “I” means “set to program data”, and the conversion category “R” means “set to new character string”. The conversion category “D” means “no setting”.

次いで本システムは、前記ステップ114〜116で述べた処理を、バージョン変更情報が終了するまで繰り返し行い、ベンダー情報取込データファイル120に格納(ステップ117)して処理を終了する。   Next, the system repeats the processing described in steps 114 to 116 until the version change information is completed, and stores it in the vendor information capture data file 120 (step 117), and ends the processing.

即ち、本実施形態によるプログラム更新システムは、図2右側のベンダーからのバージョン変更情報に含まれる項目名、例えば「バージョン情報」/「プログラム名」/「区分」等の項目名を表す文字列を検出し、検出した項目名に続く所定バイト数のデータを、その項目名に対応する内容として抽出し、ベンダー情報取込データファイル120に格納する。   That is, the program update system according to the present embodiment uses an item name included in the version change information from the vendor on the right side of FIG. 2, for example, a character string representing an item name such as “version information” / “program name” / “category”. The data of a predetermined number of bytes following the detected item name is extracted as the content corresponding to the item name and stored in the vendor information capture data file 120.

この格納したベンダー情報取込データファイル120は、図3に示す如く、バージョン変更情報300が図中の符号a〜gて示すデータを含む場合、これらのデータa〜gを読み込んだ取込みベンダー情報取込データファイル450を作成する。即ち、本プログラム更新システムは、図3に示したバージョン変更情報を取り込んで、前記データa〜g毎にバージョン/区分/汎用モジュール名/旧文字列/新文字列/プログラムデータの各項目から構成される取込みベンダー情報取込データファイル450を作成する。   As shown in FIG. 3, the stored vendor information capture data file 120, when the version change information 300 includes data indicated by symbols a to g in the figure, captures the vendor information capture that has read these data a to g. Embedded data file 450 is created. That is, the program update system takes in the version change information shown in FIG. 3 and includes each item of version / section / general module name / old character string / new character string / program data for each of the data a to g. A data file 450 for capturing vendor information is created.

この取込みベンダー情報取込データファイル450のデータファイル様式は、図4に示す如く、バージョン情報が英数字6桁、変更区分が英数字1桁、プログラム名が英数字8桁、汎用モジュール名が英数字30桁、旧文字列が英数字30桁、新文字列が英数字30桁、プログラムデータが英数字80桁等の内容を格納する形式である。
<動作説明>
The data file format of the import vendor information import data file 450 is as follows. The version information is 6 alphanumeric characters, the change classification is 1 alphanumeric character, the program name is 8 alphanumeric characters, and the general module name is English. This is a format for storing contents such as 30 digits, an old character string of 30 alphanumeric characters, a new character string of 30 alphanumeric characters, and program data of 80 alphanumeric characters.
<Description of operation>

さて、前述のように構成されたプログラム更新システムのベンダー情報:ユーザ情報突合せ&コンバージョン処理は、図5に示す如く、処理Firstフラグ/READフラグをOFF/WORKエリアをSPACEクリアする初期化処理を行い(ステップ201)、ベンダー情報ファイルから1レコード読み込み(ステップ202)、ベンダー情報ファイルのデータが終了かを判定し(ステップ203)、該ステップ203においてベンダー情報ファイルのデータが終了と判定した場合、処理Firstフラグの内容を確認し、フラグOFFの時は、1件も処理されていない為、「0件エラー」を出力してプログラムを終了する(ステップ204〜205)。   Now, as shown in FIG. 5, the vendor information: user information matching & conversion process of the program update system configured as described above performs an initialization process to turn off the process first flag / READ flag / clear the SPACE area. (Step 201), one record is read from the vendor information file (Step 202), it is determined whether or not the data of the vendor information file is completed (Step 203). The contents of the First flag are confirmed. When the flag is OFF, since no case is processed, “0 case error” is output and the program is terminated (steps 204 to 205).

前記ステップ203においてベンダー情報ファイルのデータが継続(終了していない)と判定した場合、処理Firstフラグがオンか否かを判定し(ステップ206)、処理FirstフラグがOFFの時は、読み込んだデータに対して、必須項目チェックを行い(ステップ207)、該ステップ207による必須項目チェックの結果によりエラーが発生したか否かを判定し(ステップ208)、エラーが発生した場合、「必須データエラー」を出力してプログラムを終了する。尚、該ステップ207におけるエラーチェック項目は、図6に示す如く、各情報がブランクか否かの判定を行う必須項目チェック601と、変換区分が所定の英字か否かを判定する区分値チェック602と、ベーンダー情報取り込みデータファイルにデータ未登録か否かを判定する0件チェック604と、変換区分値の相互の関連をチェックする変換区分関連チェック605の各項目である。   If it is determined in step 203 that the data in the vendor information file is continued (not finished), it is determined whether or not the processing first flag is on (step 206). If the processing first flag is off, the read data In response to the required item check (step 207), it is determined whether or not an error has occurred based on the result of the required item check in step 207 (step 208). Is output and the program is terminated. The error check items in step 207 are, as shown in FIG. 6, an essential item check 601 for determining whether each information is blank, and a segment value check 602 for determining whether the conversion category is a predetermined alphabetic character. And 0 item check 604 for determining whether data is not registered in the vendor information import data file, and a conversion category association check 605 for checking the mutual relationship of the conversion category values.

前記ステップ208において、エラーが発生しない場合、本処理は、READフラグの内容を確認し(ステップ209)、READフラグがOFFの時は、ベンダー情報ファイルに設定されているプログラム名に対応するプログラムを、変換前ファイルより取得し(ステップ210)、前項の取得に際して関連チェックを行い(ステップ211)、エラーの有無を判定する(ステップ212)。この関連チェックは、図6に示した各項目である。   If no error occurs in step 208, the process checks the content of the READ flag (step 209). If the READ flag is OFF, the process corresponds to the program name set in the vendor information file. Then, the file is acquired from the file before conversion (step 210), the related check is performed when acquiring the previous item (step 211), and the presence or absence of an error is determined (step 212). This association check is each item shown in FIG.

前記ステップ212において関連エラーが発生した場合、「データ関連エラー」を出力してプログラムを終了し、関連エラーが発生しない場合、本処理は、取得した変換前ファイルの内容をWORKエリアに全コピーを行う(ステップ213)。   If a related error occurs in step 212, a “data related error” is output and the program is terminated. If no related error occurs, this process copies all the contents of the acquired pre-conversion file to the WORK area. Perform (step 213).

前記ステップ208において、READフラグがオンのとき、本処理は、変換区分が「A」か否かを判定し(ステップ214)、該区分が「A」(新規追加)の時は「区分関連エラー」を出力してプログラムを終了する。このように本実施形態においては、前記ステップ209においてREADフラグがONと判定した状態は、同一プログラムを継続して処理中の為、挿入/変更/削除を行っているときに新規追加の処理は出来ない様にし、又、新規追加を行っている場合はバージョンが異なる為、同様に処理が出来ない事としている。   In step 208, when the READ flag is on, this process determines whether or not the conversion category is “A” (step 214), and when the category is “A” (new addition), “classification related error”. Is output and the program is terminated. As described above, in the present embodiment, when the READ flag is determined to be ON in the step 209, the same program is being continuously processed, so that the newly added process is performed when insertion / change / deletion is performed. In addition, when new additions are made, the version is different, so the same processing cannot be performed.

次いでプログラム更新システムは、前記ステップ213に続き、ベンダー情報ファイル上のバージョン、プログラム名、変更区分の内容をセーブすると共に処理FirstフラグをONとする(ステップ215〜216)。   Subsequently, following the step 213, the program update system saves the version, the program name, and the contents of the change classification in the vendor information file and turns on the processing first flag (steps 215 to 216).

他方、前記ステップ206において処理Firstフラグがオンと判定したとき、本システムは、読み込んだベンダー情報のバージョン、プログラム名とも、セーブ値と一致するか判定し(ステップ217)、バージョン、プログラム名とも一致する場合、読み込んだデータに対して、変換区分関連チェックを行い(ステップ218)、関連チェックエラーが発生した場合、「区分関連エラー」を出力してプログラムを終了する(ステップ219)。尚、前記ステップ218におけるチェック内容は前述の図6の通りである。   On the other hand, when it is determined in step 206 that the processing first flag is on, the system determines whether the read vendor information version and program name match the saved value (step 217), and the version and program name match. If so, a conversion classification related check is performed on the read data (step 218). If a related check error occurs, a "classification related error" is output and the program is terminated (step 219). The contents of the check in step 218 are as shown in FIG.

また本システムは、前記ステップ217においてベンダー情報のバージョン等がセーブ値とバージョン、プログラム名のいずれかが一致しない場合、WORKエリアの内容を変換後ファイルに設定後、書込みを行い(ステップ220)、処理FirstフラグをOFFとし(ステップ221)、更に読み込んだベンダー情報のプログラム名が、セーブ値と一致するかを判定し(ステップ222)、プログラム名が一致する場合にREADフラグをONとし(ステップ223)、一致しない場合はREADフラグをOFFとし(ステップ224)、WORKエリアもSPACEクリアし(ステップ)、前述のステップ206に戻る様に動作する。   If the version of the vendor information does not match the saved value, version, or program name in step 217, the system sets the contents of the WORK area in the converted file, and writes (step 220). The processing first flag is turned off (step 221), and it is further determined whether the read vendor information program name matches the saved value (step 222). If the program name matches, the READ flag is turned on (step 223). If they do not match, the READ flag is turned OFF (step 224), the WORK area is also cleared in SPACE (step), and the operation returns to step 206 described above.

さて前記ステップ219でエラーがない場合又は前記ステップ216に続き本システムは、ベンダー情報ファイル上の変換区分が、'R'(変更)または'D'(削除)か否かを判定し(ステップ225)、変換区分が、'R'(変更)または'D'(削除)の場合は、ベンダー情報ファイルの旧文字列情報と一致する文字列を、WORKエリア上から検索し(ステップ226)、この検索した結果、一致する文字列が存在するか否かの判定を行い(ステップ227)、一致するデータが存在する場合、再度、変換区分が、'R'(変更)かを判定し(ステップ228)、変換区分が、'R'(変更)の場合は、WORKエリア上で一致した文字列にベンダー情報ファイルの新文字列情報を置換し(ステップ229)、前記ステップ228において変換区分が'R'(変更)でない場合はWORKエリア上で一致した文字列を含んでいる行を削除する(ステップ230)。   If there is no error in step 219, or following step 216, the system determines whether the conversion category on the vendor information file is 'R' (change) or 'D' (delete) (step 225). ) If the conversion category is 'R' (change) or 'D' (delete), a character string that matches the old character string information in the vendor information file is searched from the WORK area (step 226). As a result of the search, it is determined whether or not there is a matching character string (step 227). If there is matching data, it is determined again whether the conversion category is 'R' (change) (step 228). ) If the conversion category is' R '(change), the new character string information in the vendor information file is replaced with the character string matched on the WORK area (step 229). In step 228, the conversion category is' If it is not R '(change), the line containing the matched character string on the WORK area is deleted (step 230).

また本システムは、前記ステップ225において変換区分が、'R'(変更)又は'D'(削除)でないと判定した場合、次に変換区分が、'A'(追加)であるか否かを判定し(ステップ231)、変換区分が、'A'(追加)であるとき、ベンダー情報ファイルのプログラムデータ(1行分)を、WORKエリア上の先頭行から順次追加する(ステップ232)。   In addition, when it is determined in step 225 that the conversion category is not “R” (change) or “D” (deletion), the system next determines whether the conversion category is “A” (addition). When the determination is made (step 231) and the conversion classification is 'A' (addition), the program data (one line) of the vendor information file is sequentially added from the first line on the WORK area (step 232).

前記ステップ231において変換区分が'A'(追加)でないとき、本システムは、変換区分が'I'(挿入)であるか否かを判定し(ステップ233)、変換区分が'I'(挿入)であるとき、ベンダー情報ファイルのプログラムデータ(1行分)をWORKエリア上の最終行に順次追加(挿入)し(ステップ234)、変換区分が'I'(挿入)でないとき、「区分値エラー」を出力してプログラムを終了する。   When the conversion category is not “A” (addition) in the step 231, the system determines whether or not the conversion category is “I” (insertion) (step 233), and the conversion category is “I” (insertion). ), The program data (one line) of the vendor information file is sequentially added (inserted) to the last line on the WORK area (step 234), and when the conversion classification is not 'I' (insertion), "Error" is output and the program is terminated.

前記ステップ232における追加処理が、図7に示すベンダー情報取り込みファイルの場合、変更前ファイル710が変更後ファイル720の如くプログラムデータ707内の全データが新規プログラムとして新規追加されるものである。   When the addition process in step 232 is the vendor information import file shown in FIG. 7, all the data in the program data 707 is newly added as a new program like the pre-change file 710 is the post-change file 720.

前記ステップ234における挿入処理は、図8に示すベンダー情報取り込みファイルの場合、変更前ファイル810に炊いて変更後ファイル820の如く変更前プログラムの後に追加プログラムが追加処理される。即ち、この挿入処理は、ベンダー情報取込みデータファイルのバージョン情報801と区分802とプログラム名803と汎用モジュール804とプログラムデータ807とから変換前ファイルの既存プログラムの最終行に汎用モジュールを挿入したプログラムとして、新たにプログラムを作成するものである。   In the case of the vendor information import file shown in FIG. 8, the insertion process in step 234 adds the additional program after the pre-change program as in the post-change file 820 using the pre-change file 810. That is, this insertion processing is performed as a program in which a general-purpose module is inserted into the last line of the existing program of the file before conversion from the version information 801 of the vendor information capture data file, the classification 802, the program name 803, the general-purpose module 804, and the program data 807. Create a new program.

前記ステップ229における新文字列情報の置換処理及びステップ230による削除処理は、図9に示す如く、ベンダー情報取り込みデータファイルが図3に示したデータa〜cに変更があったとき、変更前ファイル910のデータabcが変更後ファイル920の如く変更することによって行われる。即ち、この削除処理は、ベンダー情報取込みデータファイルのデータa〜cのバージョン情報901と区分902とプログラム名903と旧文字列905と新文字列906とを基に変換前ファイルの既存プログラムに対して、変更並びに削除したプログラムとして、新たにプログラムを作成するものである。   As shown in FIG. 9, the replacement process of the new character string information in step 229 and the deletion process in step 230 are performed when the vendor information import data file has changed in the data ac shown in FIG. This is done by changing the data abc of 910 as the changed file 920. That is, this deletion processing is performed for the existing program of the file before conversion based on the version information 901, the category 902, the program name 903, the old character string 905, and the new character string 906 of the data a to c of the vendor information capture data file. Thus, a new program is created as the changed and deleted program.

またベンダー情報:ユーザ情報突合せ&コンバージョン変更&削除処理は、図10に示す如く、従来のプログラムのバージョン(1.0)から次のプログラムバージョン(1.1)へ、そして最新バージョン(1.2)へと言うように、バージョン間を跨る変更が行われた時の処理を行う。このバージョン間を跨る変更が行われた時の処理を行う理由は、基幹業務総合型アプリケーションシステムには、システム単位であるがバージョンを幾つ上げるかは、ユーザによる選択が可能であり、ユーザで要求するバージョンが利用されるプログラムのバージョンとなるためである。即ち、本処理は、ベンダー情報取込みデータファイルのd〜fのバージョン情報1001と区分1002とプログラム名1003と旧文字列1005と新文字列1006とから変換前ファイルの既存プログラムに対して、変更並びに削除したプログラムとして、新たにプログラムを作成するものである。この様にプログラムのバージョン(1.0)から次のプログラムバージョン(1.1)へ、そして次のバージョン(1.2)へとバージョン間を越えて新たなプログラムを作成する。   Also, vendor information: user information matching & conversion change & deletion processing is performed as shown in FIG. 10 from the conventional program version (1.0) to the next program version (1.1) and the latest version (1.2). ), Processing is performed when changes between versions are made. The reason for performing the processing when changes between versions are made is that the user can select the number of versions to be upgraded in the core business integrated application system. This is because the version to be used becomes the version of the program to be used. That is, this process changes the version information 1001 of the df information of the vendor information capture data file, the category 1002, the program name 1003, the old character string 1005, and the new character string 1006 from the existing program of the file before conversion. A new program is created as the deleted program. In this way, a new program is created across the versions from the program version (1.0) to the next program version (1.1) and then to the next version (1.2).

以上述べた如く本発明によるプログラム更新システム及び更新方法は、プログラム更新情報に含まれるバージョン情報をプログラム情報に含まれるバージョン情報に変更すると共に、プログラム更新情報に含まれる区分に従って文字列情報をプログラム情報に含まれる文字列に変換することにより、プログラムの追加・訂正・削除を含むプグラムの更新処理を行うことができる。   As described above, the program update system and the update method according to the present invention change the version information included in the program update information to the version information included in the program information, and change the character string information into the program information according to the classification included in the program update information. By converting to a character string included in the program, it is possible to perform program update processing including addition, correction, and deletion of programs.

本発明の一実施形態によるプログラム更新システムの全体構成図。1 is an overall configuration diagram of a program update system according to an embodiment of the present invention. 本実施形態によるベンダー情報取込み処理のフローチャート図。The flowchart figure of the vendor information taking-in process by this embodiment. 本実施形態によるベンダー情報取込み処理イメージを示す図。The figure which shows the vendor information taking-in image by this embodiment. 本実施形態によるベンダー情報取込みデータファイルを示す図。The figure which shows the vendor information taking-in data file by this embodiment. 本実施形態によるベンダー情報とユーザ情報突合せ並びにコンバージョン処理のフローチャート図。The flowchart figure of vendor information and user information matching and conversion processing by this embodiment. 本実施形態によるエラーチェックの概要を示す図。The figure which shows the outline | summary of the error check by this embodiment. 本実施形態による新規追加の処理イメージ図。The new addition process image figure by this embodiment. 本実施形態による挿入処理イメージ図。The insertion process image figure by this embodiment. 本実施形態による変更及び削除処理イメージ図。The change and deletion process image figure by this embodiment. 本実施形態による変更及び削除処理イメージ図。The change and deletion process image figure by this embodiment.

符号の説明Explanation of symbols

050:ベンダ情報提供サーバ、100:ベンダー情報取り込み処理機能、101:ベンダ情報データファイル、102:プログラム情報(変更前)ファイル、110:ベンダ情報提供サーバ、120:ベンダー情報取込データファイル、200:コンバージョン処理機能、300:バージョン変更情報、450:ベンダー情報取込データファイル、601:必須項目チェック、602:区分値チェック、604:0件チェック、605:変換区分関連チェック、707:プログラムデータ、710:変更前ファイル、720:変更後ファイル、801:バージョン情報、802:区分、803:プログラム名、804:汎用モジュール、807:プログラムデータ、810:変更前ファイル、820:変更後ファイル、901:バージョン情報、902:区分、903:プログラム名、905:旧文字列、906:新文字列、910:変更前ファイル、920:変更後ファイル、1001:バージョン情報、1002:区分、1003:プログラム名、1005:旧文字列。   050: Vendor information providing server, 100: Vendor information import processing function, 101: Vendor information data file, 102: Program information (before change) file, 110: Vendor information providing server, 120: Vendor information import data file, 200: Conversion processing function, 300: Version change information, 450: Vendor information import data file, 601: Mandatory item check, 602: Category value check, 604: 0 item check, 605: Conversion category related check, 707: Program data, 710 : File before change, 720: File after change, 801: Version information, 802: Classification, 803: Program name, 804: Function module, 807: Program data, 810: File before change, 820: File after change, 901: Version 902: Category, 903: Program name, 905: Old character string, 906: New character string, 910: File before change, 920: File after change, 1001: Version information, 1002: Category, 1003: Program name, 1005 : Old string.

Claims (2)

情報の取込み機能・情報の比較機能・情報の更新機能を備えるプログラム更新システムであって、
ベンダーホームページにある情報提供サーバから、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム更新情報を取得して格納する取込みデータファイルと、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム情報を格納するプログラム情報ファイルと、前記取込みデータファイルに格納したプログラム更新情報とプログラム情報ファイルに格納したプログラム情報とに含まれる、バージョン情報とプログラム名と変換区分と文字列情報とを比較し、該比較結果に基づき、プログラム情報に含まれるバージョン情報をプログラム更新情報に含まれるバージョン情報に変更すると共に、プログラム更新情報に含まれる区分に従ってプログラム情報に含まれる文字列情報の追加・訂正・削除を含む更新処理を行う処理部とを備えることを特徴とするプログラム更新システム。
A program update system having an information capture function, an information comparison function, and an information update function,
Captured data file for acquiring and storing program update information including version information, program name, conversion classification, and character string information from the information providing server on the vendor homepage, version information, program name, conversion classification, and character string information Version information, program name, conversion classification, and character string information included in a program information file that stores program information including: program update information stored in the capture data file and program information stored in the program information file Based on the comparison result, the version information included in the program information is changed to the version information included in the program update information, and the character string information included in the program information is added according to the classification included in the program update information. Includes corrections and deletions Program update system, comprising a processing unit for performing new processing.
情報の取込み機能・情報の比較機能・情報の更新機能を備えるプログラム更新方法であって、
ベンダーホームページにある情報提供サーバから、バージョン情報とプログラム名と変換区分と文字列情報とを含むプログラム更新情報を取得する第1ステップと、該第1ステップにより取得したプログラム更新情報とプログラム情報ファイルに格納したプログラム情報とに含まれる、バージョン情報とプログラム名と変換区分と文字列情報とを比較し、該比較結果に基づき、プログラム情報に含まれるバージョン情報をプログラム更新情報に含まれるバージョン情報に変更すると共に、プログラム更新情報に含まれる区分に従ってプログラム情報に含まれる文字列情報の追加・訂正・削除を行う第2ステップとを含むことを特徴とするプログラム更新方法。
A program update method having an information capture function, an information comparison function, and an information update function,
A first step of acquiring program update information including version information, a program name, a conversion classification, and character string information from an information providing server on the vendor homepage, and the program update information and the program information file acquired by the first step Compares the version information, program name, conversion classification, and character string information included in the stored program information, and changes the version information included in the program information to version information included in the program update information based on the comparison result. And a second step of adding, correcting, and deleting the character string information included in the program information according to the classification included in the program update information.
JP2004272923A 2004-09-21 2004-09-21 Program update system and program update method Pending JP2006091960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004272923A JP2006091960A (en) 2004-09-21 2004-09-21 Program update system and program update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004272923A JP2006091960A (en) 2004-09-21 2004-09-21 Program update system and program update method

Publications (1)

Publication Number Publication Date
JP2006091960A true JP2006091960A (en) 2006-04-06

Family

ID=36232915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004272923A Pending JP2006091960A (en) 2004-09-21 2004-09-21 Program update system and program update method

Country Status (1)

Country Link
JP (1) JP2006091960A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284123A (en) * 2017-07-21 2019-01-29 深圳市中兴微电子技术有限公司 It is a kind of to divide the method and system for realizing compressed version upgrading using version

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284123A (en) * 2017-07-21 2019-01-29 深圳市中兴微电子技术有限公司 It is a kind of to divide the method and system for realizing compressed version upgrading using version

Similar Documents

Publication Publication Date Title
US7617451B2 (en) Structuring data for word processing documents
CN100447740C (en) System and method for intra-package delta compression of data
US10621211B2 (en) Language tag management on international data storage
US9754242B2 (en) Deployment mechanism for non-versioning business process artifacts
CN108762743B (en) Data table operation code generation method and device
US20130055071A1 (en) Systems and methods for creating a customized website
JP5114932B2 (en) Document processing apparatus and document processing program
US20090307365A1 (en) Localization Of Resources Used By Applications In Hand-Held Electronic Devices And Methods Thereof
WO2006133053A2 (en) Structuring data for spreadsheet documents
US8387010B2 (en) Automatic software configuring system
KR20190095099A (en) Transaction system error detection method, apparatus, storage medium and computer device
US9934017B2 (en) Method and a system for merging several binary executables
CN112527738A (en) Project description file optimization method, system and storage medium
JPH11272654A (en) Document editing device and method
JP2006091960A (en) Program update system and program update method
Le Zou et al. On synchronizing with web service evolution
JP6588988B2 (en) Business program generation support system and business program generation support method
JP6018539B2 (en) Information processing apparatus, information processing method, and program
JP2003316581A (en) Software installation device
WO2006133136A2 (en) Structuring data for word processing documents
JP3624248B2 (en) Handling of input data
CN116339717B (en) Data execution method, device, equipment and medium
CN114089976B (en) Method, apparatus, and medium for generating database operation statements
JP2014059666A (en) Task input screen customization system
WO2024041358A1 (en) Configuration file updating method and apparatus, electronic device and readable storage medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070801

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080428

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090602